llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpzidnnvhf.c' source_filename = "/tmp/tmpzidnnvhf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @EINTR = dso_local global i32 0, align 4 @EAGAIN = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"%s:%d:%d:%s: \00", align 1 @.str.1 = private unnamed_addr constant [136 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Dwylkz/dlib/refs/heads/master/src/dlib_comm.c\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"ERR\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"%d: read: msg=(%s)\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"DBG\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"read time: cnt=%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dlib_so_read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %10 10: ; preds = %3, %27 %11 = load i32, ptr %9, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %9, align 4 %13 = load i32, ptr %5, align 4 %14 = load ptr, ptr %6, align 8 %15 = load i64, ptr %7, align 8 %16 = call i32 @read(i32 noundef %13, ptr noundef %14, i64 noundef %15) store i32 %16, ptr %8, align 4 %17 = load i32, ptr %8, align 4 %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %41 19: ; preds = %10 %20 = load i32, ptr @errno, align 4 %21 = load i32, ptr @EINTR, align 4 %22 = icmp eq i32 %20, %21 br i1 %22, label %27, label %23 23: ; preds = %19 %24 = load i32, ptr @errno, align 4 %25 = load i32, ptr @EAGAIN, align 4 %26 = icmp eq i32 %24, %25 br i1 %26, label %27, label %28 27: ; preds = %23, %19 br label %10 28: ; preds = %23 br label %29 29: ; preds = %28 %30 = load i32, ptr @stderr, align 4 %31 = call i32 (...) @getpid() %32 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 232, i32 noundef %31, ptr noundef @.str.2) %33 = load i32, ptr @stderr, align 4 %34 = load i32, ptr @errno, align 4 %35 = call ptr (...) @dlib_syserr() %36 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.3, i32 noundef %34, ptr noundef %35) %37 = load i32, ptr @stderr, align 4 %38 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.4) br label %39 39: ; preds = %29 %40 = load i32, ptr @errno, align 4 store i32 %40, ptr %4, align 4 br label %54 41: ; preds = %10 br label %42 42: ; preds = %41 br label %43 43: ; preds = %42 %44 = load i32, ptr @stderr, align 4 %45 = call i32 (...) @getpid() %46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 238, i32 noundef %45, ptr noundef @.str.5) %47 = load i32, ptr @stderr, align 4 %48 = load i32, ptr %9, align 4 %49 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %47, ptr noundef @.str.6, i32 noundef %48) %50 = load i32, ptr @stderr, align 4 %51 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %50, ptr noundef @.str.4) br label %52 52: ; preds = %43 %53 = load i32, ptr %8, align 4 store i32 %53, ptr %4, align 4 br label %54 54: ; preds = %52, %39 %55 = load i32, ptr %4, align 4 ret i32 %55 } declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare ptr @dlib_syserr(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzidnnvhf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @EINTR = dso_local global i32 0, align 4 @EAGAIN = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"%s:%d:%d:%s: \00", align 1 @.str.1 = private unnamed_addr constant [136 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Dwylkz/dlib/refs/heads/master/src/dlib_comm.c\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"ERR\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"%d: read: msg=(%s)\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"DBG\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"read time: cnt=%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dlib_so_read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %9, align 4 %12 = load i32, ptr %5, align 4 %13 = load ptr, ptr %6, align 8 %14 = load i64, ptr %7, align 8 %15 = call i32 @read(i32 noundef %12, ptr noundef %13, i64 noundef %14) store i32 %15, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = icmp eq i32 %16, -1 br i1 %17, label %.lr.ph, label %48 .lr.ph: ; preds = %3 br label %18 18: ; preds = %.lr.ph, %26 %19 = load i32, ptr @errno, align 4 %20 = load i32, ptr @EINTR, align 4 %21 = icmp eq i32 %19, %20 br i1 %21, label %26, label %22 22: ; preds = %18 %23 = load i32, ptr @errno, align 4 %24 = load i32, ptr @EAGAIN, align 4 %25 = icmp eq i32 %23, %24 br i1 %25, label %26, label %35 26: ; preds = %22, %18 %27 = load i32, ptr %9, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %9, align 4 %29 = load i32, ptr %5, align 4 %30 = load ptr, ptr %6, align 8 %31 = load i64, ptr %7, align 8 %32 = call i32 @read(i32 noundef %29, ptr noundef %30, i64 noundef %31) store i32 %32, ptr %8, align 4 %33 = load i32, ptr %8, align 4 %34 = icmp eq i32 %33, -1 br i1 %34, label %18, label %._crit_edge 35: ; preds = %22 br label %36 36: ; preds = %35 %37 = load i32, ptr @stderr, align 4 %38 = call i32 (...) @getpid() %39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 232, i32 noundef %38, ptr noundef @.str.2) %40 = load i32, ptr @stderr, align 4 %41 = load i32, ptr @errno, align 4 %42 = call ptr (...) @dlib_syserr() %43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.3, i32 noundef %41, ptr noundef %42) %44 = load i32, ptr @stderr, align 4 %45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str.4) br label %46 46: ; preds = %36 %47 = load i32, ptr @errno, align 4 store i32 %47, ptr %4, align 4 br label %61 ._crit_edge: ; preds = %26 br label %48 48: ; preds = %._crit_edge, %3 br label %49 49: ; preds = %48 br label %50 50: ; preds = %49 %51 = load i32, ptr @stderr, align 4 %52 = call i32 (...) @getpid() %53 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %51, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 238, i32 noundef %52, ptr noundef @.str.5) %54 = load i32, ptr @stderr, align 4 %55 = load i32, ptr %9, align 4 %56 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.6, i32 noundef %55) %57 = load i32, ptr @stderr, align 4 %58 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %57, ptr noundef @.str.4) br label %59 59: ; preds = %50 %60 = load i32, ptr %8, align 4 store i32 %60, ptr %4, align 4 br label %61 61: ; preds = %59, %46 %62 = load i32, ptr %4, align 4 ret i32 %62 } declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare ptr @dlib_syserr(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxvodgib6.c' source_filename = "/tmp/tmpxvodgib6.c" target datalayout = "e-m:e-p270: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/tmpxvodgib6.c" target datalayout = "e-m:e-p270: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/tmpzvf1xwf9.c' source_filename = "/tmp/tmpzvf1xwf9.c" target datalayout = "e-m:e-p270: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 = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.sockaddr, align 4 %3 = alloca i32, align 4 store i32 4, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = call i32 @getsockname(i32 noundef %4, ptr noundef %2, ptr noundef %3) ret i32 %5 } declare i32 @getsockname(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzvf1xwf9.c" target datalayout = "e-m:e-p270: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 = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.sockaddr, align 4 %3 = alloca i32, align 4 store i32 4, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = call i32 @getsockname(i32 noundef %4, ptr noundef %2, ptr noundef %3) ret i32 %5 } declare i32 @getsockname(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsn0ntyae.c' source_filename = "/tmp/tmpsn0ntyae.c" target datalayout = "e-m:e-p270: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 [72 x i8] c"mosquitto_passwd is a tool for managing password files for mosquitto.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [57 x i8] c"Usage: mosquitto_passwd [-c | -D] passwordfile username\0A\00", align 1 @.str.2 = private unnamed_addr constant [41 x i8] c" mosquitto_passwd -U passwordfile\0A\00", align 1 @.str.3 = private unnamed_addr constant [71 x i8] c" -c : create a new password file. This will overwrite existing files.\0A\00", align 1 @.str.4 = private unnamed_addr constant [69 x i8] c" -D : delete the username rather than adding/updating its password.\0A\00", align 1 @.str.5 = private unnamed_addr constant [66 x i8] c" -U : update a plain text password file to use hashed passwords.\0A\00", align 1 @.str.6 = private unnamed_addr constant [51 x i8] c"\0ASee http://mosquitto.org/ for more information.\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_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) 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/tmpsn0ntyae.c" target datalayout = "e-m:e-p270: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 [72 x i8] c"mosquitto_passwd is a tool for managing password files for mosquitto.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [57 x i8] c"Usage: mosquitto_passwd [-c | -D] passwordfile username\0A\00", align 1 @.str.2 = private unnamed_addr constant [41 x i8] c" mosquitto_passwd -U passwordfile\0A\00", align 1 @.str.3 = private unnamed_addr constant [71 x i8] c" -c : create a new password file. This will overwrite existing files.\0A\00", align 1 @.str.4 = private unnamed_addr constant [69 x i8] c" -D : delete the username rather than adding/updating its password.\0A\00", align 1 @.str.5 = private unnamed_addr constant [66 x i8] c" -U : update a plain text password file to use hashed passwords.\0A\00", align 1 @.str.6 = private unnamed_addr constant [51 x i8] c"\0ASee http://mosquitto.org/ for more information.\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_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) 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/tmp6_od3__x.c' source_filename = "/tmp/tmp6_od3__x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"expr\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"4\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"+\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"5\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @execlp(ptr noundef @.str, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef null) ret i32 0 } declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6_od3__x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"expr\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"4\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"+\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"5\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @execlp(ptr noundef @.str, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef null) ret i32 0 } declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx_kbs2or.c' source_filename = "/tmp/tmpx_kbs2or.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_un = type { i32, i32 } @AF_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @LOG_ERR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"Could not create socket.\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [28 x i8] c"Could not listen at socket.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @client_socket(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca %struct.sockaddr_un, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load i32, ptr @AF_UNIX, align 4 %9 = load i32, ptr @SOCK_STREAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %19 13: ; preds = %2 %14 = load i32, ptr @LOG_ERR, align 4 %15 = call i32 @syslog(i32 noundef %14, ptr noundef @.str) %16 = call i32 (...) @report_error() %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %2 %20 = load i32, ptr @AF_UNIX, align 4 %21 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 1 store i32 %20, ptr %21, align 4 %22 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 0 %23 = load i32, ptr %22, align 4 %24 = load ptr, ptr %3, align 8 %25 = call i32 @strcpy(i32 noundef %23, ptr noundef %24) %26 = load i32, ptr %6, align 4 %27 = call i32 @connect(i32 noundef %26, ptr noundef %5, i32 noundef 8) 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 = %19 %31 = load i32, ptr @LOG_ERR, align 4 %32 = call i32 @syslog(i32 noundef %31, ptr noundef @.str.1) %33 = call i32 (...) @report_error() %34 = load i32, ptr @EXIT_FAILURE, align 4 %35 = call i32 @exit(i32 noundef %34) #3 unreachable 36: ; preds = %19 %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %6, align 4 call void %37(i32 noundef %38) %39 = load i32, ptr %6, align 4 %40 = call i32 @close(i32 noundef %39) ret void } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef) #1 declare i32 @report_error(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpx_kbs2or.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_un = type { i32, i32 } @AF_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @LOG_ERR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"Could not create socket.\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [28 x i8] c"Could not listen at socket.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @client_socket(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca %struct.sockaddr_un, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load i32, ptr @AF_UNIX, align 4 %9 = load i32, ptr @SOCK_STREAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %19 13: ; preds = %2 %14 = load i32, ptr @LOG_ERR, align 4 %15 = call i32 @syslog(i32 noundef %14, ptr noundef @.str) %16 = call i32 (...) @report_error() %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %2 %20 = load i32, ptr @AF_UNIX, align 4 %21 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 1 store i32 %20, ptr %21, align 4 %22 = getelementptr inbounds %struct.sockaddr_un, ptr %5, i32 0, i32 0 %23 = load i32, ptr %22, align 4 %24 = load ptr, ptr %3, align 8 %25 = call i32 @strcpy(i32 noundef %23, ptr noundef %24) %26 = load i32, ptr %6, align 4 %27 = call i32 @connect(i32 noundef %26, ptr noundef %5, i32 noundef 8) 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 = %19 %31 = load i32, ptr @LOG_ERR, align 4 %32 = call i32 @syslog(i32 noundef %31, ptr noundef @.str.1) %33 = call i32 (...) @report_error() %34 = load i32, ptr @EXIT_FAILURE, align 4 %35 = call i32 @exit(i32 noundef %34) #3 unreachable 36: ; preds = %19 %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %6, align 4 call void %37(i32 noundef %38) %39 = load i32, ptr %6, align 4 %40 = call i32 @close(i32 noundef %39) ret void } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef) #1 declare i32 @report_error(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpbywn6_84.c' source_filename = "/tmp/tmpbywn6_84.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c" (c) testmatch_test_1\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @testmatch_test_1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) ret i32 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/tmpbywn6_84.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c" (c) testmatch_test_1\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @testmatch_test_1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) ret i32 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/tmpp9m9pidt.c' source_filename = "/tmp/tmpp9m9pidt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [100001 x i32], align 16 store i32 0, ptr %1, align 4 store i32 2, ptr %7, align 4 br label %9 9: ; preds = %18, %0 %10 = load i32, ptr %7, align 4 %11 = icmp slt i32 %10, 100001 br i1 %11, label %12, label %21 12: ; preds = %9 %13 = load i32, ptr %7, align 4 %14 = call i32 @kp(i32 noundef %13) %15 = load i32, ptr %7, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [100001 x i32], ptr %8, i64 0, i64 %16 store i32 %14, ptr %17, align 4 br label %18 18: ; preds = %12 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %7, align 4 br label %9, !llvm.loop !6 21: ; preds = %9 %22 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) br label %23 23: ; preds = %49, %21 %24 = load i32, ptr %2, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %2, align 4 %26 = icmp ne i32 %24, 0 br i1 %26, label %27, label %52 27: ; preds = %23 %28 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4, ptr noundef %5) store i32 0, ptr %6, align 4 %29 = load i32, ptr %4, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %4, align 4 br label %31 31: ; preds = %46, %27 %32 = load i32, ptr %3, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %49 35: ; preds = %31 %36 = load i32, ptr %3, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [100001 x i32], ptr %8, i64 0, i64 %37 %39 = load i32, ptr %38, align 4 %40 = load i32, ptr %5, align 4 %41 = icmp eq i32 %39, %40 br i1 %41, label %42, label %45 42: ; preds = %35 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %6, align 4 br label %45 45: ; preds = %42, %35 br label %46 46: ; preds = %45 %47 = load i32, ptr %3, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %3, align 4 br label %31, !llvm.loop !8 49: ; preds = %31 %50 = load i32, ptr %6, align 4 %51 = call i32 @printf(ptr noundef @.str.2, i32 noundef %50) br label %23, !llvm.loop !9 52: ; preds = %23 ret i32 0 } declare i32 @kp(i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp9m9pidt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [100001 x i32], align 16 store i32 0, ptr %1, align 4 store i32 2, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = icmp slt i32 %9, 100001 br i1 %10, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %17 %12 = load i32, ptr %7, align 4 %13 = call i32 @kp(i32 noundef %12) %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [100001 x i32], ptr %8, i64 0, i64 %15 store i32 %13, ptr %16, align 4 br label %17 17: ; preds = %11 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 100001 br i1 %21, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 %23 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %24 = load i32, ptr %2, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %2, align 4 %26 = icmp ne i32 %24, 0 br i1 %26, label %.lr.ph5, label %57 .lr.ph5: ; preds = %22 br label %27 27: ; preds = %.lr.ph5, %51 %28 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4, ptr noundef %5) store i32 0, ptr %6, align 4 %29 = load i32, ptr %4, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %4, align 4 %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph2, label %51 .lr.ph2: ; preds = %27 br label %34 34: ; preds = %.lr.ph2, %45 %35 = load i32, ptr %3, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [100001 x i32], ptr %8, i64 0, i64 %36 %38 = load i32, ptr %37, align 4 %39 = load i32, ptr %5, align 4 %40 = icmp eq i32 %38, %39 br i1 %40, label %41, label %44 41: ; preds = %34 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 br label %44 44: ; preds = %41, %34 br label %45 45: ; preds = %44 %46 = load i32, ptr %3, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %3, align 4 %48 = load i32, ptr %3, align 4 %49 = load i32, ptr %4, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %45 br label %51 51: ; preds = %._crit_edge3, %27 %52 = load i32, ptr %6, align 4 %53 = call i32 @printf(ptr noundef @.str.2, i32 noundef %52) %54 = load i32, ptr %2, align 4 %55 = add nsw i32 %54, -1 store i32 %55, ptr %2, align 4 %56 = icmp ne i32 %54, 0 br i1 %56, label %27, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %51 br label %57 57: ; preds = %._crit_edge6, %22 ret i32 0 } declare i32 @kp(i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpxzlfxei2.c' source_filename = "/tmp/tmpxzlfxei2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ffc2x(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store ptr %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 %15 = load ptr, ptr %8, align 8 %16 = load ptr, ptr %9, align 8 %17 = load ptr, ptr %14, align 8 %18 = call i32 @ffdtyp(ptr noundef %15, ptr noundef %16, ptr noundef %17) %19 = load ptr, ptr %9, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 73 br i1 %22, label %23, label %28 23: ; preds = %7 %24 = load ptr, ptr %8, align 8 %25 = load ptr, ptr %10, align 8 %26 = load ptr, ptr %14, align 8 %27 = call i32 @ffc2ii(ptr noundef %24, ptr noundef %25, ptr noundef %26) br label %55 28: ; preds = %7 %29 = load ptr, ptr %9, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 70 br i1 %32, label %33, label %38 33: ; preds = %28 %34 = load ptr, ptr %8, align 8 %35 = load ptr, ptr %13, align 8 %36 = load ptr, ptr %14, align 8 %37 = call i32 @ffc2dd(ptr noundef %34, ptr noundef %35, ptr noundef %36) br label %54 38: ; preds = %28 %39 = load ptr, ptr %9, align 8 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 76 br i1 %42, label %43, label %48 43: ; preds = %38 %44 = load ptr, ptr %8, align 8 %45 = load ptr, ptr %11, align 8 %46 = load ptr, ptr %14, align 8 %47 = call i32 @ffc2ll(ptr noundef %44, ptr noundef %45, ptr noundef %46) br label %53 48: ; preds = %38 %49 = load ptr, ptr %8, align 8 %50 = load ptr, ptr %12, align 8 %51 = load ptr, ptr %14, align 8 %52 = call i32 @ffc2s(ptr noundef %49, ptr noundef %50, ptr noundef %51) br label %53 53: ; preds = %48, %43 br label %54 54: ; preds = %53, %33 br label %55 55: ; preds = %54, %23 %56 = load ptr, ptr %14, align 8 %57 = load i32, ptr %56, align 4 ret i32 %57 } declare i32 @ffdtyp(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @ffc2ii(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @ffc2dd(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @ffc2ll(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @ffc2s(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/tmpxzlfxei2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ffc2x(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store ptr %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 %15 = load ptr, ptr %8, align 8 %16 = load ptr, ptr %9, align 8 %17 = load ptr, ptr %14, align 8 %18 = call i32 @ffdtyp(ptr noundef %15, ptr noundef %16, ptr noundef %17) %19 = load ptr, ptr %9, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 73 br i1 %22, label %23, label %28 23: ; preds = %7 %24 = load ptr, ptr %8, align 8 %25 = load ptr, ptr %10, align 8 %26 = load ptr, ptr %14, align 8 %27 = call i32 @ffc2ii(ptr noundef %24, ptr noundef %25, ptr noundef %26) br label %55 28: ; preds = %7 %29 = load ptr, ptr %9, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 70 br i1 %32, label %33, label %38 33: ; preds = %28 %34 = load ptr, ptr %8, align 8 %35 = load ptr, ptr %13, align 8 %36 = load ptr, ptr %14, align 8 %37 = call i32 @ffc2dd(ptr noundef %34, ptr noundef %35, ptr noundef %36) br label %54 38: ; preds = %28 %39 = load ptr, ptr %9, align 8 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 76 br i1 %42, label %43, label %48 43: ; preds = %38 %44 = load ptr, ptr %8, align 8 %45 = load ptr, ptr %11, align 8 %46 = load ptr, ptr %14, align 8 %47 = call i32 @ffc2ll(ptr noundef %44, ptr noundef %45, ptr noundef %46) br label %53 48: ; preds = %38 %49 = load ptr, ptr %8, align 8 %50 = load ptr, ptr %12, align 8 %51 = load ptr, ptr %14, align 8 %52 = call i32 @ffc2s(ptr noundef %49, ptr noundef %50, ptr noundef %51) br label %53 53: ; preds = %48, %43 br label %54 54: ; preds = %53, %33 br label %55 55: ; preds = %54, %23 %56 = load ptr, ptr %14, align 8 %57 = load i32, ptr %56, align 4 ret i32 %57 } declare i32 @ffdtyp(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @ffc2ii(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @ffc2dd(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @ffc2ll(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @ffc2s(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/tmplk9lknkv.c' source_filename = "/tmp/tmplk9lknkv.c" target datalayout = "e-m:e-p270: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"foobar1\00", align 1 @S_IREAD = dso_local global i32 0, align 4 @S_IWRITE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [8 x i8] c"foobar2\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"..\00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr @S_IREAD, align 4 %4 = load i32, ptr @S_IWRITE, align 4 %5 = or i32 %3, %4 %6 = call i32 @creat(ptr noundef @.str, i32 noundef %5) store i32 %6, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call i32 @close(i32 noundef %7) %9 = call i32 @unlink(ptr noundef @.str) %10 = call i32 @unlink(ptr noundef @.str) %11 = call i32 @unlink(ptr noundef @.str.1) %12 = call i32 @unlink(ptr noundef null) %13 = call i32 @unlink(ptr noundef @.str.2) %14 = call i32 @unlink(ptr noundef @.str.3) ret i32 0 } declare i32 @creat(ptr noundef, i32 noundef) #1 declare i32 @close(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/tmplk9lknkv.c" target datalayout = "e-m:e-p270: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"foobar1\00", align 1 @S_IREAD = dso_local global i32 0, align 4 @S_IWRITE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [8 x i8] c"foobar2\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"..\00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr @S_IREAD, align 4 %4 = load i32, ptr @S_IWRITE, align 4 %5 = or i32 %3, %4 %6 = call i32 @creat(ptr noundef @.str, i32 noundef %5) store i32 %6, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call i32 @close(i32 noundef %7) %9 = call i32 @unlink(ptr noundef @.str) %10 = call i32 @unlink(ptr noundef @.str) %11 = call i32 @unlink(ptr noundef @.str.1) %12 = call i32 @unlink(ptr noundef null) %13 = call i32 @unlink(ptr noundef @.str.2) %14 = call i32 @unlink(ptr noundef @.str.3) ret i32 0 } declare i32 @creat(ptr noundef, i32 noundef) #1 declare i32 @close(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/tmpb4d37yfd.c' source_filename = "/tmp/tmpb4d37yfd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERA = dso_local global i32 0, align 4 @ALT_DIGITS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"LANGUAGE=ja_JP\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"LANG=ja_JP\00", align 1 @LC_ALL = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"locale \22%s\22\0A\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"key %#X %p '%s'\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c" %d %p '%s'\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c" %02X\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = load i32, ptr @ERA, align 4 store i32 %8, ptr %2, align 4 %9 = load i32, ptr @ALT_DIGITS, align 4 store i32 %9, ptr %2, align 4 %10 = call i32 @putenv(ptr noundef @.str) %11 = call i32 @putenv(ptr noundef @.str.1) %12 = load i32, ptr @LC_ALL, align 4 %13 = call ptr @setlocale(i32 noundef %12, ptr noundef @.str.2) store ptr %13, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %14) %16 = load i32, ptr %2, align 4 %17 = call ptr @nl_langinfo(i32 noundef %16) store ptr %17, ptr %3, align 8 %18 = load i32, ptr %2, align 4 %19 = load ptr, ptr %3, align 8 %20 = load ptr, ptr %3, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %18, ptr noundef %19, ptr noundef %20) store i32 0, ptr %6, align 4 br label %22 22: ; preds = %55, %0 %23 = load ptr, ptr %3, align 8 %24 = call i32 @strlen(ptr noundef %23) store i32 %24, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %22 br label %58 28: ; preds = %22 %29 = load i32, ptr %6, align 4 %30 = load ptr, ptr %3, align 8 %31 = load ptr, ptr %3, align 8 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %29, ptr noundef %30, ptr noundef %31) store i32 0, ptr %5, align 4 br label %33 33: ; preds = %45, %28 %34 = load i32, ptr %5, align 4 %35 = load i32, ptr %7, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %48 37: ; preds = %33 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %5, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = load i8, ptr %41, align 1 %43 = zext i8 %42 to i32 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %43) br label %45 45: ; preds = %37 %46 = load i32, ptr %5, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %5, align 4 br label %33, !llvm.loop !6 48: ; preds = %33 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, 1 %52 = load ptr, ptr %3, align 8 %53 = sext i32 %51 to i64 %54 = getelementptr inbounds i8, ptr %52, i64 %53 store ptr %54, ptr %3, align 8 br label %55 55: ; preds = %48 %56 = load i32, ptr %6, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %6, align 4 br label %22 58: ; preds = %27 ret i32 0 } declare i32 @putenv(ptr noundef) #1 declare ptr @setlocale(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @nl_langinfo(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb4d37yfd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERA = dso_local global i32 0, align 4 @ALT_DIGITS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"LANGUAGE=ja_JP\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"LANG=ja_JP\00", align 1 @LC_ALL = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"locale \22%s\22\0A\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"key %#X %p '%s'\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c" %d %p '%s'\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c" %02X\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = load i32, ptr @ERA, align 4 store i32 %8, ptr %2, align 4 %9 = load i32, ptr @ALT_DIGITS, align 4 store i32 %9, ptr %2, align 4 %10 = call i32 @putenv(ptr noundef @.str) %11 = call i32 @putenv(ptr noundef @.str.1) %12 = load i32, ptr @LC_ALL, align 4 %13 = call ptr @setlocale(i32 noundef %12, ptr noundef @.str.2) store ptr %13, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %14) %16 = load i32, ptr %2, align 4 %17 = call ptr @nl_langinfo(i32 noundef %16) store ptr %17, ptr %3, align 8 %18 = load i32, ptr %2, align 4 %19 = load ptr, ptr %3, align 8 %20 = load ptr, ptr %3, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %18, ptr noundef %19, ptr noundef %20) store i32 0, ptr %6, align 4 %22 = load ptr, ptr %3, align 8 %23 = call i32 @strlen(ptr noundef %22) store i32 %23, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %.lr.ph2 .lr.ph2: ; preds = %0 br label %27 ._crit_edge3: ; preds = %56 br label %26 26: ; preds = %._crit_edge3, %0 br label %63 27: ; preds = %.lr.ph2, %56 %28 = load i32, ptr %6, align 4 %29 = load ptr, ptr %3, align 8 %30 = load ptr, ptr %3, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %28, ptr noundef %29, ptr noundef %30) store i32 0, ptr %5, align 4 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %7, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph, label %49 .lr.ph: ; preds = %27 br label %35 35: ; preds = %.lr.ph, %43 %36 = load ptr, ptr %3, align 8 %37 = load i32, ptr %5, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = zext i8 %40 to i32 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %41) br label %43 43: ; preds = %35 %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %5, align 4 %46 = load i32, ptr %5, align 4 %47 = load i32, ptr %7, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %49 49: ; preds = %._crit_edge, %27 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %51 = load i32, ptr %7, align 4 %52 = add nsw i32 %51, 1 %53 = load ptr, ptr %3, align 8 %54 = sext i32 %52 to i64 %55 = getelementptr inbounds i8, ptr %53, i64 %54 store ptr %55, ptr %3, align 8 br label %56 56: ; preds = %49 %57 = load i32, ptr %6, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %6, align 4 %59 = load ptr, ptr %3, align 8 %60 = call i32 @strlen(ptr noundef %59) store i32 %60, ptr %7, align 4 %61 = load i32, ptr %7, align 4 %62 = icmp eq i32 %61, 0 br i1 %62, label %._crit_edge3, label %27 63: ; preds = %26 ret i32 0 } declare i32 @putenv(ptr noundef) #1 declare ptr @setlocale(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @nl_langinfo(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0w8pmsb7.c' source_filename = "/tmp/tmp0w8pmsb7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i64, ptr %7, align 8 %12 = load i32, ptr %8, align 4 %13 = call i32 @sendto(i32 noundef %9, ptr noundef %10, i64 noundef %11, i32 noundef %12, ptr noundef null, i32 noundef 0) ret i32 %13 } declare i32 @sendto(i32 noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0w8pmsb7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i64, ptr %7, align 8 %12 = load i32, ptr %8, align 4 %13 = call i32 @sendto(i32 noundef %9, ptr noundef %10, i64 noundef %11, i32 noundef %12, ptr noundef null, i32 noundef 0) ret i32 %13 } declare i32 @sendto(i32 noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi9jfonar.c' source_filename = "/tmp/tmpi9jfonar.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %union.anon = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @swap_float_from_little(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %union.anon, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @swap_long_from_little(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load float, ptr %3, align 4 ret float %6 } declare i32 @swap_long_from_little(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/tmpi9jfonar.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %union.anon = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @swap_float_from_little(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %union.anon, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @swap_long_from_little(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load float, ptr %3, align 4 ret float %6 } declare i32 @swap_long_from_little(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/tmpwd_7ccfs.c' source_filename = "/tmp/tmpwd_7ccfs.c" target datalayout = "e-m:e-p270: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"task.in\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"task.out\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"%d&%d=%d\0A\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"%d|%d=%d\0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"%d^%d=%d\0A\00", align 1 @.str.8 = private unnamed_addr constant [11 x i8] c"%d<<%d=%d\0A\00", align 1 @.str.9 = private unnamed_addr constant [11 x i8] c"%d>>%d=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %2, align 8 %7 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %2, align 8 %9 = call i32 @fscanf(ptr noundef %8, ptr noundef @.str.4, ptr noundef %4, ptr noundef %5) %10 = load ptr, ptr %2, align 8 %11 = call i32 @fclose(ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %5, align 4 %17 = and i32 %15, %16 %18 = call i32 @fprintf(ptr noundef %12, ptr noundef @.str.5, i32 noundef %13, i32 noundef %14, i32 noundef %17) %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %5, align 4 %24 = or i32 %22, %23 %25 = call i32 @fprintf(ptr noundef %19, ptr noundef @.str.6, i32 noundef %20, i32 noundef %21, i32 noundef %24) %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %5, align 4 %31 = xor i32 %29, %30 %32 = call i32 @fprintf(ptr noundef %26, ptr noundef @.str.7, i32 noundef %27, i32 noundef %28, i32 noundef %31) %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %4, align 4 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %5, align 4 %38 = shl i32 %36, %37 %39 = call i32 @fprintf(ptr noundef %33, ptr noundef @.str.8, i32 noundef %34, i32 noundef %35, i32 noundef %38) %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %4, align 4 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %4, align 4 %44 = load i32, ptr %5, align 4 %45 = ashr i32 %43, %44 %46 = call i32 @fprintf(ptr noundef %40, ptr noundef @.str.9, i32 noundef %41, i32 noundef %42, i32 noundef %45) %47 = load ptr, ptr %3, align 8 %48 = call i32 @fclose(ptr noundef %47) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwd_7ccfs.c" target datalayout = "e-m:e-p270: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"task.in\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"task.out\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"%d&%d=%d\0A\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"%d|%d=%d\0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"%d^%d=%d\0A\00", align 1 @.str.8 = private unnamed_addr constant [11 x i8] c"%d<<%d=%d\0A\00", align 1 @.str.9 = private unnamed_addr constant [11 x i8] c"%d>>%d=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %2, align 8 %7 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %2, align 8 %9 = call i32 @fscanf(ptr noundef %8, ptr noundef @.str.4, ptr noundef %4, ptr noundef %5) %10 = load ptr, ptr %2, align 8 %11 = call i32 @fclose(ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %5, align 4 %17 = and i32 %15, %16 %18 = call i32 @fprintf(ptr noundef %12, ptr noundef @.str.5, i32 noundef %13, i32 noundef %14, i32 noundef %17) %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %5, align 4 %24 = or i32 %22, %23 %25 = call i32 @fprintf(ptr noundef %19, ptr noundef @.str.6, i32 noundef %20, i32 noundef %21, i32 noundef %24) %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %5, align 4 %31 = xor i32 %29, %30 %32 = call i32 @fprintf(ptr noundef %26, ptr noundef @.str.7, i32 noundef %27, i32 noundef %28, i32 noundef %31) %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %4, align 4 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %5, align 4 %38 = shl i32 %36, %37 %39 = call i32 @fprintf(ptr noundef %33, ptr noundef @.str.8, i32 noundef %34, i32 noundef %35, i32 noundef %38) %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %4, align 4 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %4, align 4 %44 = load i32, ptr %5, align 4 %45 = ashr i32 %43, %44 %46 = call i32 @fprintf(ptr noundef %40, ptr noundef @.str.9, i32 noundef %41, i32 noundef %42, i32 noundef %45) %47 = load ptr, ptr %3, align 8 %48 = call i32 @fclose(ptr noundef %47) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplo7wfy2a.c' source_filename = "/tmp/tmplo7wfy2a.c" target datalayout = "e-m:e-p270: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, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fsize(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 eq i64 %6, 0 br i1 %7, label %8, label %19 8: ; preds = %1 %9 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 1 %10 = load i32, ptr %9, align 4 %11 = call i64 @S_ISDIR(i32 noundef %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %8 br label %17 14: ; preds = %8 %15 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %16 = load i32, ptr %15, align 4 br label %17 17: ; preds = %14, %13 %18 = phi i32 [ 0, %13 ], [ %16, %14 ] store i32 %18, ptr %2, align 4 br label %20 19: ; preds = %1 store i32 -1, ptr %2, align 4 br label %20 20: ; preds = %19, %17 %21 = load i32, ptr %2, align 4 ret i32 %21 } declare i64 @stat(ptr noundef, ptr noundef) #1 declare i64 @S_ISDIR(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/tmplo7wfy2a.c" target datalayout = "e-m:e-p270: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, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fsize(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 eq i64 %6, 0 br i1 %7, label %8, label %19 8: ; preds = %1 %9 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 1 %10 = load i32, ptr %9, align 4 %11 = call i64 @S_ISDIR(i32 noundef %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %8 br label %17 14: ; preds = %8 %15 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %16 = load i32, ptr %15, align 4 br label %17 17: ; preds = %14, %13 %18 = phi i32 [ 0, %13 ], [ %16, %14 ] store i32 %18, ptr %2, align 4 br label %20 19: ; preds = %1 store i32 -1, ptr %2, align 4 br label %20 20: ; preds = %19, %17 %21 = load i32, ptr %2, align 4 ret i32 %21 } declare i64 @stat(ptr noundef, ptr noundef) #1 declare i64 @S_ISDIR(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/tmpt34xxm45.c' source_filename = "/tmp/tmpt34xxm45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i2c_write_byte(i8 noundef zeroext %0, i8 noundef signext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %5 = load i8, ptr %3, align 1 %6 = call i32 @i2c_write_array(i8 noundef zeroext %5, ptr noundef %4, i32 noundef 1) ret i32 %6 } declare i32 @i2c_write_array(i8 noundef zeroext, 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/tmpt34xxm45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i2c_write_byte(i8 noundef zeroext %0, i8 noundef signext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %5 = load i8, ptr %3, align 1 %6 = call i32 @i2c_write_array(i8 noundef zeroext %5, ptr noundef %4, i32 noundef 1) ret i32 %6 } declare i32 @i2c_write_array(i8 noundef zeroext, 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/tmp8lhl0lov.c' source_filename = "/tmp/tmp8lhl0lov.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"contributors\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @bioImageContributors(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call ptr @submissionSetPart(ptr noundef %5, i32 noundef %6, ptr noundef @.str) ret ptr %7 } declare ptr @submissionSetPart(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8lhl0lov.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"contributors\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @bioImageContributors(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call ptr @submissionSetPart(ptr noundef %5, i32 noundef %6, ptr noundef @.str) ret ptr %7 } declare ptr @submissionSetPart(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvrxx1090.c' source_filename = "/tmp/tmpvrxx1090.c" target datalayout = "e-m:e-p270: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"sizeof(pid_t) = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 4, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) 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/tmpvrxx1090.c" target datalayout = "e-m:e-p270: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"sizeof(pid_t) = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 4, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) 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/tmp42llmig5.c' source_filename = "/tmp/tmp42llmig5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @XCB_PROP_MODE_REPLACE = dso_local global i32 0, align 4 @XCB_ATOM_WINDOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xcb_icccm_set_wm_colormap_windows_checked(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr @XCB_PROP_MODE_REPLACE, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = load i32, ptr @XCB_ATOM_WINDOW, align 4 %16 = load i32, ptr %9, align 4 %17 = load ptr, ptr %10, align 8 %18 = call i32 @xcb_change_property_checked(ptr noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef 32, i32 noundef %16, ptr noundef %17) ret i32 %18 } declare i32 @xcb_change_property_checked(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp42llmig5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @XCB_PROP_MODE_REPLACE = dso_local global i32 0, align 4 @XCB_ATOM_WINDOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xcb_icccm_set_wm_colormap_windows_checked(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr @XCB_PROP_MODE_REPLACE, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = load i32, ptr @XCB_ATOM_WINDOW, align 4 %16 = load i32, ptr %9, align 4 %17 = load ptr, ptr %10, align 8 %18 = call i32 @xcb_change_property_checked(ptr noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef 32, i32 noundef %16, ptr noundef %17) ret i32 %18 } declare i32 @xcb_change_property_checked(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 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"}
; ModuleID = '/tmp/tmps74wjybq.c' source_filename = "/tmp/tmps74wjybq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dec2num(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %7 6: ; preds = %1 store i32 0, ptr %2, align 4 br label %10 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strtol(ptr noundef %8, ptr noundef null, i32 noundef 10) store i32 %9, ptr %2, align 4 br label %10 10: ; preds = %7, %6 %11 = load i32, ptr %2, align 4 ret i32 %11 } declare i32 @strtol(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/tmps74wjybq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dec2num(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %7 6: ; preds = %1 store i32 0, ptr %2, align 4 br label %10 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strtol(ptr noundef %8, ptr noundef null, i32 noundef 10) store i32 %9, ptr %2, align 4 br label %10 10: ; preds = %7, %6 %11 = load i32, ptr %2, align 4 ret i32 %11 } declare i32 @strtol(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/tmpga40xv3n.c' source_filename = "/tmp/tmpga40xv3n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"string\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"String\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"strinG\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"\09 strinG\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"strinG\09 \00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c" \09 tOkEn \00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"toKEN\00", align 1 @.str.7 = private unnamed_addr constant [21 x i8] c"not token\09, tOkEn \00", align 1 @.str.8 = private unnamed_addr constant [31 x i8] c"not token,\09 tOkEn, more token\00", align 1 @.str.9 = private unnamed_addr constant [32 x i8] c"not token,\09 tOkEn\09, more token\00", align 1 @.str.10 = private unnamed_addr constant [15 x i8] c",,,,,,test,,,,\00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c"TESt\00", align 1 @.str.12 = private unnamed_addr constant [16 x i8] c",,,,,\09,test,,,,\00", align 1 @.str.13 = private unnamed_addr constant [16 x i8] c",,,,,,test, ,,,\00", align 1 @.str.14 = private unnamed_addr constant [16 x i8] c",,,,,, test,,,,\00", align 1 @.str.15 = private unnamed_addr constant [23 x i8] c",,,,,, test not,test,,\00", align 1 @.str.16 = private unnamed_addr constant [24 x i8] c",,,,,, test not,,test,,\00", align 1 @.str.17 = private unnamed_addr constant [24 x i8] c",,,,,, test not ,test,,\00", align 1 @.str.18 = private unnamed_addr constant [12 x i8] c",,,,,, test\00", align 1 @.str.19 = private unnamed_addr constant [18 x i8] c",,,,,, test \00", align 1 @.str.20 = private unnamed_addr constant [25 x i8] c"no test,,,,,, test \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_match() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i64 @expect_found_n(ptr noundef @.str, ptr noundef @.str, i32 noundef 6) %3 = load i32, ptr %1, align 4 %4 = sext i32 %3 to i64 %5 = add nsw i64 %4, %2 %6 = trunc i64 %5 to i32 store i32 %6, ptr %1, align 4 %7 = call i64 @expect_found_n(ptr noundef @.str.1, ptr noundef @.str, i32 noundef 6) %8 = load i32, ptr %1, align 4 %9 = sext i32 %8 to i64 %10 = add nsw i64 %9, %7 %11 = trunc i64 %10 to i32 store i32 %11, ptr %1, align 4 %12 = call i64 @expect_found_n(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 6) %13 = load i32, ptr %1, align 4 %14 = sext i32 %13 to i64 %15 = add nsw i64 %14, %12 %16 = trunc i64 %15 to i32 store i32 %16, ptr %1, align 4 %17 = call i64 @expect_found_n(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 6) %18 = load i32, ptr %1, align 4 %19 = sext i32 %18 to i64 %20 = add nsw i64 %19, %17 %21 = trunc i64 %20 to i32 store i32 %21, ptr %1, align 4 %22 = call i64 @expect_found_n(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 6) %23 = load i32, ptr %1, align 4 %24 = sext i32 %23 to i64 %25 = add nsw i64 %24, %22 %26 = trunc i64 %25 to i32 store i32 %26, ptr %1, align 4 %27 = call i64 @expect_found_n(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 6) %28 = load i32, ptr %1, align 4 %29 = sext i32 %28 to i64 %30 = add nsw i64 %29, %27 %31 = trunc i64 %30 to i32 store i32 %31, ptr %1, align 4 %32 = call i64 @expect_found_n(ptr noundef @.str.5, ptr noundef @.str.6, i32 noundef 5) %33 = load i32, ptr %1, align 4 %34 = sext i32 %33 to i64 %35 = add nsw i64 %34, %32 %36 = trunc i64 %35 to i32 store i32 %36, ptr %1, align 4 %37 = call i64 @expect_found_n(ptr noundef @.str.7, ptr noundef @.str.6, i32 noundef 5) %38 = load i32, ptr %1, align 4 %39 = sext i32 %38 to i64 %40 = add nsw i64 %39, %37 %41 = trunc i64 %40 to i32 store i32 %41, ptr %1, align 4 %42 = call i64 @expect_found_n(ptr noundef @.str.8, ptr noundef @.str.6, i32 noundef 5) %43 = load i32, ptr %1, align 4 %44 = sext i32 %43 to i64 %45 = add nsw i64 %44, %42 %46 = trunc i64 %45 to i32 store i32 %46, ptr %1, align 4 %47 = call i64 @expect_found_n(ptr noundef @.str.9, ptr noundef @.str.6, i32 noundef 5) %48 = load i32, ptr %1, align 4 %49 = sext i32 %48 to i64 %50 = add nsw i64 %49, %47 %51 = trunc i64 %50 to i32 store i32 %51, ptr %1, align 4 %52 = call i64 @expect_found_n(ptr noundef @.str.10, ptr noundef @.str.11, i32 noundef 4) %53 = load i32, ptr %1, align 4 %54 = sext i32 %53 to i64 %55 = add nsw i64 %54, %52 %56 = trunc i64 %55 to i32 store i32 %56, ptr %1, align 4 %57 = call i64 @expect_found_n(ptr noundef @.str.12, ptr noundef @.str.11, i32 noundef 4) %58 = load i32, ptr %1, align 4 %59 = sext i32 %58 to i64 %60 = add nsw i64 %59, %57 %61 = trunc i64 %60 to i32 store i32 %61, ptr %1, align 4 %62 = call i64 @expect_found_n(ptr noundef @.str.13, ptr noundef @.str.11, i32 noundef 4) %63 = load i32, ptr %1, align 4 %64 = sext i32 %63 to i64 %65 = add nsw i64 %64, %62 %66 = trunc i64 %65 to i32 store i32 %66, ptr %1, align 4 %67 = call i64 @expect_found_n(ptr noundef @.str.14, ptr noundef @.str.11, i32 noundef 4) %68 = load i32, ptr %1, align 4 %69 = sext i32 %68 to i64 %70 = add nsw i64 %69, %67 %71 = trunc i64 %70 to i32 store i32 %71, ptr %1, align 4 %72 = call i64 @expect_found_n(ptr noundef @.str.15, ptr noundef @.str.11, i32 noundef 4) %73 = load i32, ptr %1, align 4 %74 = sext i32 %73 to i64 %75 = add nsw i64 %74, %72 %76 = trunc i64 %75 to i32 store i32 %76, ptr %1, align 4 %77 = call i64 @expect_found_n(ptr noundef @.str.16, ptr noundef @.str.11, i32 noundef 4) %78 = load i32, ptr %1, align 4 %79 = sext i32 %78 to i64 %80 = add nsw i64 %79, %77 %81 = trunc i64 %80 to i32 store i32 %81, ptr %1, align 4 %82 = call i64 @expect_found_n(ptr noundef @.str.17, ptr noundef @.str.11, i32 noundef 4) %83 = load i32, ptr %1, align 4 %84 = sext i32 %83 to i64 %85 = add nsw i64 %84, %82 %86 = trunc i64 %85 to i32 store i32 %86, ptr %1, align 4 %87 = call i64 @expect_found_n(ptr noundef @.str.18, ptr noundef @.str.11, i32 noundef 4) %88 = load i32, ptr %1, align 4 %89 = sext i32 %88 to i64 %90 = add nsw i64 %89, %87 %91 = trunc i64 %90 to i32 store i32 %91, ptr %1, align 4 %92 = call i64 @expect_found_n(ptr noundef @.str.19, ptr noundef @.str.11, i32 noundef 4) %93 = load i32, ptr %1, align 4 %94 = sext i32 %93 to i64 %95 = add nsw i64 %94, %92 %96 = trunc i64 %95 to i32 store i32 %96, ptr %1, align 4 %97 = call i64 @expect_found_n(ptr noundef @.str.20, ptr noundef @.str.11, i32 noundef 4) %98 = load i32, ptr %1, align 4 %99 = sext i32 %98 to i64 %100 = add nsw i64 %99, %97 %101 = trunc i64 %100 to i32 store i32 %101, ptr %1, align 4 %102 = load i32, ptr %1, align 4 ret i32 %102 } declare i64 @expect_found_n(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/tmpga40xv3n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"string\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"String\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"strinG\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"\09 strinG\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"strinG\09 \00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c" \09 tOkEn \00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"toKEN\00", align 1 @.str.7 = private unnamed_addr constant [21 x i8] c"not token\09, tOkEn \00", align 1 @.str.8 = private unnamed_addr constant [31 x i8] c"not token,\09 tOkEn, more token\00", align 1 @.str.9 = private unnamed_addr constant [32 x i8] c"not token,\09 tOkEn\09, more token\00", align 1 @.str.10 = private unnamed_addr constant [15 x i8] c",,,,,,test,,,,\00", align 1 @.str.11 = private unnamed_addr constant [5 x i8] c"TESt\00", align 1 @.str.12 = private unnamed_addr constant [16 x i8] c",,,,,\09,test,,,,\00", align 1 @.str.13 = private unnamed_addr constant [16 x i8] c",,,,,,test, ,,,\00", align 1 @.str.14 = private unnamed_addr constant [16 x i8] c",,,,,, test,,,,\00", align 1 @.str.15 = private unnamed_addr constant [23 x i8] c",,,,,, test not,test,,\00", align 1 @.str.16 = private unnamed_addr constant [24 x i8] c",,,,,, test not,,test,,\00", align 1 @.str.17 = private unnamed_addr constant [24 x i8] c",,,,,, test not ,test,,\00", align 1 @.str.18 = private unnamed_addr constant [12 x i8] c",,,,,, test\00", align 1 @.str.19 = private unnamed_addr constant [18 x i8] c",,,,,, test \00", align 1 @.str.20 = private unnamed_addr constant [25 x i8] c"no test,,,,,, test \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_match() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i64 @expect_found_n(ptr noundef @.str, ptr noundef @.str, i32 noundef 6) %3 = load i32, ptr %1, align 4 %4 = sext i32 %3 to i64 %5 = add nsw i64 %4, %2 %6 = trunc i64 %5 to i32 store i32 %6, ptr %1, align 4 %7 = call i64 @expect_found_n(ptr noundef @.str.1, ptr noundef @.str, i32 noundef 6) %8 = load i32, ptr %1, align 4 %9 = sext i32 %8 to i64 %10 = add nsw i64 %9, %7 %11 = trunc i64 %10 to i32 store i32 %11, ptr %1, align 4 %12 = call i64 @expect_found_n(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 6) %13 = load i32, ptr %1, align 4 %14 = sext i32 %13 to i64 %15 = add nsw i64 %14, %12 %16 = trunc i64 %15 to i32 store i32 %16, ptr %1, align 4 %17 = call i64 @expect_found_n(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 6) %18 = load i32, ptr %1, align 4 %19 = sext i32 %18 to i64 %20 = add nsw i64 %19, %17 %21 = trunc i64 %20 to i32 store i32 %21, ptr %1, align 4 %22 = call i64 @expect_found_n(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 6) %23 = load i32, ptr %1, align 4 %24 = sext i32 %23 to i64 %25 = add nsw i64 %24, %22 %26 = trunc i64 %25 to i32 store i32 %26, ptr %1, align 4 %27 = call i64 @expect_found_n(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 6) %28 = load i32, ptr %1, align 4 %29 = sext i32 %28 to i64 %30 = add nsw i64 %29, %27 %31 = trunc i64 %30 to i32 store i32 %31, ptr %1, align 4 %32 = call i64 @expect_found_n(ptr noundef @.str.5, ptr noundef @.str.6, i32 noundef 5) %33 = load i32, ptr %1, align 4 %34 = sext i32 %33 to i64 %35 = add nsw i64 %34, %32 %36 = trunc i64 %35 to i32 store i32 %36, ptr %1, align 4 %37 = call i64 @expect_found_n(ptr noundef @.str.7, ptr noundef @.str.6, i32 noundef 5) %38 = load i32, ptr %1, align 4 %39 = sext i32 %38 to i64 %40 = add nsw i64 %39, %37 %41 = trunc i64 %40 to i32 store i32 %41, ptr %1, align 4 %42 = call i64 @expect_found_n(ptr noundef @.str.8, ptr noundef @.str.6, i32 noundef 5) %43 = load i32, ptr %1, align 4 %44 = sext i32 %43 to i64 %45 = add nsw i64 %44, %42 %46 = trunc i64 %45 to i32 store i32 %46, ptr %1, align 4 %47 = call i64 @expect_found_n(ptr noundef @.str.9, ptr noundef @.str.6, i32 noundef 5) %48 = load i32, ptr %1, align 4 %49 = sext i32 %48 to i64 %50 = add nsw i64 %49, %47 %51 = trunc i64 %50 to i32 store i32 %51, ptr %1, align 4 %52 = call i64 @expect_found_n(ptr noundef @.str.10, ptr noundef @.str.11, i32 noundef 4) %53 = load i32, ptr %1, align 4 %54 = sext i32 %53 to i64 %55 = add nsw i64 %54, %52 %56 = trunc i64 %55 to i32 store i32 %56, ptr %1, align 4 %57 = call i64 @expect_found_n(ptr noundef @.str.12, ptr noundef @.str.11, i32 noundef 4) %58 = load i32, ptr %1, align 4 %59 = sext i32 %58 to i64 %60 = add nsw i64 %59, %57 %61 = trunc i64 %60 to i32 store i32 %61, ptr %1, align 4 %62 = call i64 @expect_found_n(ptr noundef @.str.13, ptr noundef @.str.11, i32 noundef 4) %63 = load i32, ptr %1, align 4 %64 = sext i32 %63 to i64 %65 = add nsw i64 %64, %62 %66 = trunc i64 %65 to i32 store i32 %66, ptr %1, align 4 %67 = call i64 @expect_found_n(ptr noundef @.str.14, ptr noundef @.str.11, i32 noundef 4) %68 = load i32, ptr %1, align 4 %69 = sext i32 %68 to i64 %70 = add nsw i64 %69, %67 %71 = trunc i64 %70 to i32 store i32 %71, ptr %1, align 4 %72 = call i64 @expect_found_n(ptr noundef @.str.15, ptr noundef @.str.11, i32 noundef 4) %73 = load i32, ptr %1, align 4 %74 = sext i32 %73 to i64 %75 = add nsw i64 %74, %72 %76 = trunc i64 %75 to i32 store i32 %76, ptr %1, align 4 %77 = call i64 @expect_found_n(ptr noundef @.str.16, ptr noundef @.str.11, i32 noundef 4) %78 = load i32, ptr %1, align 4 %79 = sext i32 %78 to i64 %80 = add nsw i64 %79, %77 %81 = trunc i64 %80 to i32 store i32 %81, ptr %1, align 4 %82 = call i64 @expect_found_n(ptr noundef @.str.17, ptr noundef @.str.11, i32 noundef 4) %83 = load i32, ptr %1, align 4 %84 = sext i32 %83 to i64 %85 = add nsw i64 %84, %82 %86 = trunc i64 %85 to i32 store i32 %86, ptr %1, align 4 %87 = call i64 @expect_found_n(ptr noundef @.str.18, ptr noundef @.str.11, i32 noundef 4) %88 = load i32, ptr %1, align 4 %89 = sext i32 %88 to i64 %90 = add nsw i64 %89, %87 %91 = trunc i64 %90 to i32 store i32 %91, ptr %1, align 4 %92 = call i64 @expect_found_n(ptr noundef @.str.19, ptr noundef @.str.11, i32 noundef 4) %93 = load i32, ptr %1, align 4 %94 = sext i32 %93 to i64 %95 = add nsw i64 %94, %92 %96 = trunc i64 %95 to i32 store i32 %96, ptr %1, align 4 %97 = call i64 @expect_found_n(ptr noundef @.str.20, ptr noundef @.str.11, i32 noundef 4) %98 = load i32, ptr %1, align 4 %99 = sext i32 %98 to i64 %100 = add nsw i64 %99, %97 %101 = trunc i64 %100 to i32 store i32 %101, ptr %1, align 4 %102 = load i32, ptr %1, align 4 ret i32 %102 } declare i64 @expect_found_n(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/tmpk4hpocm7.c' source_filename = "/tmp/tmpk4hpocm7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Enter a, b, and n\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"With n = %d trapezoids, our estimate\0A\00", align 1 @.str.4 = private unnamed_addr constant [39 x i8] c"of the integral from %f to %f = %.15f\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 double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4) %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %5) %11 = load double, ptr %4, align 8 %12 = load double, ptr %3, align 8 %13 = fsub double %11, %12 %14 = load i32, ptr %5, align 4 %15 = sitofp i32 %14 to double %16 = fdiv double %13, %15 store double %16, ptr %6, align 8 %17 = load double, ptr %3, align 8 %18 = load double, ptr %4, align 8 %19 = load i32, ptr %5, align 4 %20 = load double, ptr %6, align 8 %21 = call double @Trap(double noundef %17, double noundef %18, i32 noundef %19, double noundef %20) store double %21, ptr %2, align 8 %22 = load i32, ptr %5, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %22) %24 = load double, ptr %3, align 8 %25 = load double, ptr %4, align 8 %26 = load double, ptr %2, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %24, double noundef %25, double noundef %26) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare double @Trap(double noundef, double noundef, i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk4hpocm7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Enter a, b, and n\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"With n = %d trapezoids, our estimate\0A\00", align 1 @.str.4 = private unnamed_addr constant [39 x i8] c"of the integral from %f to %f = %.15f\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 double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4) %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %5) %11 = load double, ptr %4, align 8 %12 = load double, ptr %3, align 8 %13 = fsub double %11, %12 %14 = load i32, ptr %5, align 4 %15 = sitofp i32 %14 to double %16 = fdiv double %13, %15 store double %16, ptr %6, align 8 %17 = load double, ptr %3, align 8 %18 = load double, ptr %4, align 8 %19 = load i32, ptr %5, align 4 %20 = load double, ptr %6, align 8 %21 = call double @Trap(double noundef %17, double noundef %18, i32 noundef %19, double noundef %20) store double %21, ptr %2, align 8 %22 = load i32, ptr %5, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %22) %24 = load double, ptr %3, align 8 %25 = load double, ptr %4, align 8 %26 = load double, ptr %2, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %24, double noundef %25, double noundef %26) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare double @Trap(double noundef, double noundef, i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2xq70suu.c' source_filename = "/tmp/tmp2xq70suu.c" target datalayout = "e-m:e-p270: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/tmp2xq70suu.c" target datalayout = "e-m:e-p270: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/tmpiz5ai29q.c' source_filename = "/tmp/tmpiz5ai29q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lh_kv_uint32(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = 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 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %6, align 8 %13 = call ptr @lh_kv_string(ptr noundef %11, ptr noundef %12, ptr noundef null) store ptr %13, ptr %8, align 8 %14 = load ptr, ptr %8, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %22, label %16 16: ; preds = %3 %17 = load ptr, ptr %7, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %21 19: ; preds = %16 %20 = load ptr, ptr %7, align 8 store i32 1, ptr %20, align 4 br label %21 21: ; preds = %19, %16 store i32 0, ptr %4, align 4 br label %42 22: ; preds = %3 store ptr null, ptr %9, align 8 %23 = load ptr, ptr %8, align 8 %24 = call i32 @strtoul(ptr noundef %23, ptr noundef %9, i32 noundef 0) store i32 %24, ptr %10, align 4 %25 = load ptr, ptr %8, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %36 29: ; preds = %22 %30 = load ptr, ptr %9, align 8 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %29 %35 = load i32, ptr %10, align 4 store i32 %35, ptr %4, align 4 br label %42 36: ; preds = %29, %22 %37 = load ptr, ptr %7, align 8 %38 = icmp ne ptr %37, null br i1 %38, label %39, label %41 39: ; preds = %36 %40 = load ptr, ptr %7, align 8 store i32 1, ptr %40, align 4 br label %41 41: ; preds = %39, %36 store i32 0, ptr %4, align 4 br label %42 42: ; preds = %41, %34, %21 %43 = load i32, ptr %4, align 4 ret i32 %43 } declare ptr @lh_kv_string(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strtoul(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/tmpiz5ai29q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lh_kv_uint32(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = 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 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %6, align 8 %13 = call ptr @lh_kv_string(ptr noundef %11, ptr noundef %12, ptr noundef null) store ptr %13, ptr %8, align 8 %14 = load ptr, ptr %8, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %22, label %16 16: ; preds = %3 %17 = load ptr, ptr %7, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %21 19: ; preds = %16 %20 = load ptr, ptr %7, align 8 store i32 1, ptr %20, align 4 br label %21 21: ; preds = %19, %16 store i32 0, ptr %4, align 4 br label %42 22: ; preds = %3 store ptr null, ptr %9, align 8 %23 = load ptr, ptr %8, align 8 %24 = call i32 @strtoul(ptr noundef %23, ptr noundef %9, i32 noundef 0) store i32 %24, ptr %10, align 4 %25 = load ptr, ptr %8, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %36 29: ; preds = %22 %30 = load ptr, ptr %9, align 8 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %29 %35 = load i32, ptr %10, align 4 store i32 %35, ptr %4, align 4 br label %42 36: ; preds = %29, %22 %37 = load ptr, ptr %7, align 8 %38 = icmp ne ptr %37, null br i1 %38, label %39, label %41 39: ; preds = %36 %40 = load ptr, ptr %7, align 8 store i32 1, ptr %40, align 4 br label %41 41: ; preds = %39, %36 store i32 0, ptr %4, align 4 br label %42 42: ; preds = %41, %34, %21 %43 = load i32, ptr %4, align 4 ret i32 %43 } declare ptr @lh_kv_string(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strtoul(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/tmpyzi7hn17.c' source_filename = "/tmp/tmpyzi7hn17.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__writeHex(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca i8, align 1 store i64 %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %6 6: ; preds = %29, %1 %7 = load i32, ptr %3, align 4 %8 = icmp ult i32 %7, 16 br i1 %8, label %9, label %32 9: ; preds = %6 %10 = load i64, ptr %2, align 8 %11 = and i64 %10, -1152921504606846976 %12 = lshr i64 %11, 60 store i64 %12, ptr %4, align 8 %13 = load i64, ptr %4, align 8 %14 = icmp ult i64 %13, 10 br i1 %14, label %15, label %18 15: ; preds = %9 %16 = load i64, ptr %4, align 8 %17 = add i64 48, %16 br label %22 18: ; preds = %9 %19 = load i64, ptr %4, align 8 %20 = add i64 65, %19 %21 = sub i64 %20, 10 br label %22 22: ; preds = %18, %15 %23 = phi i64 [ %17, %15 ], [ %21, %18 ] %24 = trunc i64 %23 to i8 store i8 %24, ptr %5, align 1 %25 = load i8, ptr %5, align 1 %26 = call i32 @__writeUARTChar(i8 noundef signext %25) %27 = load i64, ptr %2, align 8 %28 = shl i64 %27, 4 store i64 %28, ptr %2, align 8 br label %29 29: ; preds = %22 %30 = load i32, ptr %3, align 4 %31 = add i32 %30, 1 store i32 %31, ptr %3, align 4 br label %6, !llvm.loop !6 32: ; preds = %6 ret void } declare i32 @__writeUARTChar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyzi7hn17.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__writeHex(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca i8, align 1 store i64 %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp ult i32 %6, 16 br i1 %7, label %.lr.ph, label %33 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %28 %9 = load i64, ptr %2, align 8 %10 = and i64 %9, -1152921504606846976 %11 = lshr i64 %10, 60 store i64 %11, ptr %4, align 8 %12 = load i64, ptr %4, align 8 %13 = icmp ult i64 %12, 10 br i1 %13, label %14, label %17 14: ; preds = %8 %15 = load i64, ptr %4, align 8 %16 = add i64 48, %15 br label %21 17: ; preds = %8 %18 = load i64, ptr %4, align 8 %19 = add i64 65, %18 %20 = sub i64 %19, 10 br label %21 21: ; preds = %17, %14 %22 = phi i64 [ %16, %14 ], [ %20, %17 ] %23 = trunc i64 %22 to i8 store i8 %23, ptr %5, align 1 %24 = load i8, ptr %5, align 1 %25 = call i32 @__writeUARTChar(i8 noundef signext %24) %26 = load i64, ptr %2, align 8 %27 = shl i64 %26, 4 store i64 %27, ptr %2, align 8 br label %28 28: ; preds = %21 %29 = load i32, ptr %3, align 4 %30 = add i32 %29, 1 store i32 %30, ptr %3, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp ult i32 %31, 16 br i1 %32, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %33 33: ; preds = %._crit_edge, %1 ret void } declare i32 @__writeUARTChar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpyswz4mjf.c' source_filename = "/tmp/tmpyswz4mjf.c" target datalayout = "e-m:e-p270: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"%zu\00", align 1 @.str.1 = private unnamed_addr constant [160 x i8] c"HTTP/1.1 200 OK\0D\0AAccess-Control-Allow-Origin: *\0D\0AContent-Type: application/json\0D\0AServer: ukahoot-token-server\0D\0AKeep-Alive: timeout=15,max=100\0D\0AContent-Length: \00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"\0D\0A\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @__get_http_response(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = call ptr @malloc(i32 noundef 1024) store ptr %5, ptr %3, align 8 %6 = call ptr @malloc(i32 noundef 20) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %2, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str, i32 noundef %9) %11 = load ptr, ptr %3, align 8 %12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str.1) %13 = load ptr, ptr %3, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i32 @strcat(ptr noundef %13, ptr noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call i32 @free(ptr noundef %16) %18 = load ptr, ptr %3, align 8 %19 = call i32 @strcat(ptr noundef %18, ptr noundef @.str.2) %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %2, align 8 %22 = call i32 @strcat(ptr noundef %20, ptr noundef %21) %23 = load ptr, ptr %2, align 8 %24 = call i32 @free(ptr noundef %23) %25 = load ptr, ptr %3, align 8 ret ptr %25 } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyswz4mjf.c" target datalayout = "e-m:e-p270: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"%zu\00", align 1 @.str.1 = private unnamed_addr constant [160 x i8] c"HTTP/1.1 200 OK\0D\0AAccess-Control-Allow-Origin: *\0D\0AContent-Type: application/json\0D\0AServer: ukahoot-token-server\0D\0AKeep-Alive: timeout=15,max=100\0D\0AContent-Length: \00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"\0D\0A\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @__get_http_response(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = call ptr @malloc(i32 noundef 1024) store ptr %5, ptr %3, align 8 %6 = call ptr @malloc(i32 noundef 20) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %2, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str, i32 noundef %9) %11 = load ptr, ptr %3, align 8 %12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str.1) %13 = load ptr, ptr %3, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i32 @strcat(ptr noundef %13, ptr noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call i32 @free(ptr noundef %16) %18 = load ptr, ptr %3, align 8 %19 = call i32 @strcat(ptr noundef %18, ptr noundef @.str.2) %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %2, align 8 %22 = call i32 @strcat(ptr noundef %20, ptr noundef %21) %23 = load ptr, ptr %2, align 8 %24 = call i32 @free(ptr noundef %23) %25 = load ptr, ptr %3, align 8 ret ptr %25 } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9zw3iery.c' source_filename = "/tmp/tmp9zw3iery.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tun_addroute(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %7, align 8 %12 = load ptr, ptr %8, align 8 %13 = call i32 @tun_route(ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef 0) ret i32 %13 } declare i32 @tun_route(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9zw3iery.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tun_addroute(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %7, align 8 %12 = load ptr, ptr %8, align 8 %13 = call i32 @tun_route(ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef 0) ret i32 %13 } declare i32 @tun_route(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpywx4v62e.c' source_filename = "/tmp/tmpywx4v62e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @R_distance(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %8, align 4 switch i32 %9, label %28 [ i32 1, label %10 i32 2, label %15 i32 3, label %19 i32 4, label %23 i32 5, label %23 ] 10: ; preds = %3 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %6, align 4 %13 = sub nsw i32 %11, %12 %14 = call i32 @abs(i32 noundef %13) #2 store i32 %14, ptr %7, align 4 br label %28 15: ; preds = %3 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = sub nsw i32 %16, %17 store i32 %18, ptr %7, align 4 br label %28 19: ; preds = %3 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = mul nsw i32 %20, %21 store i32 %22, ptr %7, align 4 br label %28 23: ; preds = %3, %3 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp eq i32 %24, %25 %27 = zext i1 %26 to i32 store i32 %27, ptr %7, align 4 br label %28 28: ; preds = %3, %23, %19, %15, %10 %29 = load i32, ptr %7, align 4 ret i32 %29 } ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpywx4v62e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @R_distance(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %8, align 4 switch i32 %9, label %28 [ i32 1, label %10 i32 2, label %15 i32 3, label %19 i32 4, label %23 i32 5, label %23 ] 10: ; preds = %3 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %6, align 4 %13 = sub nsw i32 %11, %12 %14 = call i32 @abs(i32 noundef %13) #2 store i32 %14, ptr %7, align 4 br label %28 15: ; preds = %3 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = sub nsw i32 %16, %17 store i32 %18, ptr %7, align 4 br label %28 19: ; preds = %3 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = mul nsw i32 %20, %21 store i32 %22, ptr %7, align 4 br label %28 23: ; preds = %3, %3 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp eq i32 %24, %25 %27 = zext i1 %26 to i32 store i32 %27, ptr %7, align 4 br label %28 28: ; preds = %23, %19, %15, %10, %3 %29 = load i32, ptr %7, align 4 ret i32 %29 } ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9ct_g5nr.c' source_filename = "/tmp/tmp9ct_g5nr.c" target datalayout = "e-m:e-p270: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/tmp9ct_g5nr.c" target datalayout = "e-m:e-p270: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/tmp0gtdgga1.c' source_filename = "/tmp/tmp0gtdgga1.c" target datalayout = "e-m:e-p270: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/tmp0gtdgga1.c" target datalayout = "e-m:e-p270: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/tmpv0uj6iuf.c' source_filename = "/tmp/tmpv0uj6iuf.c" target datalayout = "e-m:e-p270: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/tmpv0uj6iuf.c" target datalayout = "e-m:e-p270: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/tmpxjm1i3uo.c' source_filename = "/tmp/tmpxjm1i3uo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Para ingresar al sistema, \0A\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"por favor ingresa la clave secreta: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"Tus oportunidades se agotaron.\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"Has accedido..\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @password() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 246, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %17, %0 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @printf(ptr noundef @.str.1) %7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %1) %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %3, align 4 br label %10 10: ; preds = %4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %11, 3 br i1 %12, label %13, label %17 13: ; preds = %10 %14 = load i32, ptr %1, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp ne i32 %14, %15 br label %17 17: ; preds = %13, %10 %18 = phi i1 [ false, %10 ], [ %16, %13 ] br i1 %18, label %4, label %19, !llvm.loop !6 19: ; preds = %17 %20 = load i32, ptr %1, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp ne i32 %20, %21 br i1 %22, label %23, label %25 23: ; preds = %19 %24 = call i32 @printf(ptr noundef @.str.3) br label %27 25: ; preds = %19 %26 = call i32 @printf(ptr noundef @.str.4) br label %27 27: ; preds = %25, %23 ret void } 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/tmpxjm1i3uo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Para ingresar al sistema, \0A\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"por favor ingresa la clave secreta: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"Tus oportunidades se agotaron.\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"Has accedido..\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @password() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 246, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %17, %0 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @printf(ptr noundef @.str.1) %7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %1) %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %3, align 4 br label %10 10: ; preds = %4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %11, 3 br i1 %12, label %13, label %17 13: ; preds = %10 %14 = load i32, ptr %1, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp ne i32 %14, %15 br label %17 17: ; preds = %13, %10 %18 = phi i1 [ false, %10 ], [ %16, %13 ] br i1 %18, label %4, label %19, !llvm.loop !6 19: ; preds = %17 %20 = load i32, ptr %1, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp ne i32 %20, %21 br i1 %22, label %23, label %25 23: ; preds = %19 %24 = call i32 @printf(ptr noundef @.str.3) br label %27 25: ; preds = %19 %26 = call i32 @printf(ptr noundef @.str.4) br label %27 27: ; preds = %25, %23 ret void } 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/tmpqftosesi.c' source_filename = "/tmp/tmpqftosesi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"helipad_lax\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"helipad_smo\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"helipad_ucla\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"helipad_cat\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"helipad_uscg\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Get_Location_Symbol(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 %5 = call i64 @calloc(i32 noundef 64, i32 noundef 1) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %1 store ptr null, ptr %2, align 8 br label %35 10: ; preds = %1 %11 = load i32, ptr %3, align 4 switch i32 %11, label %30 [ i32 0, label %12 i32 1, label %15 i32 2, label %18 i32 3, label %21 i32 4, label %24 i32 5, label %27 ] 12: ; preds = %10 %13 = load ptr, ptr %4, align 8 %14 = call i32 @free(ptr noundef %13) store ptr null, ptr %4, align 8 br label %33 15: ; preds = %10 %16 = load ptr, ptr %4, align 8 %17 = call i32 @strcpy(ptr noundef %16, ptr noundef @.str) br label %33 18: ; preds = %10 %19 = load ptr, ptr %4, align 8 %20 = call i32 @strcpy(ptr noundef %19, ptr noundef @.str.1) br label %33 21: ; preds = %10 %22 = load ptr, ptr %4, align 8 %23 = call i32 @strcpy(ptr noundef %22, ptr noundef @.str.2) br label %33 24: ; preds = %10 %25 = load ptr, ptr %4, align 8 %26 = call i32 @strcpy(ptr noundef %25, ptr noundef @.str.3) br label %33 27: ; preds = %10 %28 = load ptr, ptr %4, align 8 %29 = call i32 @strcpy(ptr noundef %28, ptr noundef @.str.4) br label %33 30: ; preds = %10 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 0 store i8 0, ptr %32, align 1 br label %33 33: ; preds = %30, %27, %24, %21, %18, %15, %12 %34 = load ptr, ptr %4, align 8 store ptr %34, ptr %2, align 8 br label %35 35: ; preds = %33, %9 %36 = load ptr, ptr %2, align 8 ret ptr %36 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @free(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/tmpqftosesi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"helipad_lax\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"helipad_smo\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"helipad_ucla\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"helipad_cat\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"helipad_uscg\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Get_Location_Symbol(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 %5 = call i64 @calloc(i32 noundef 64, i32 noundef 1) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %1 store ptr null, ptr %2, align 8 br label %35 10: ; preds = %1 %11 = load i32, ptr %3, align 4 switch i32 %11, label %30 [ i32 0, label %12 i32 1, label %15 i32 2, label %18 i32 3, label %21 i32 4, label %24 i32 5, label %27 ] 12: ; preds = %10 %13 = load ptr, ptr %4, align 8 %14 = call i32 @free(ptr noundef %13) store ptr null, ptr %4, align 8 br label %33 15: ; preds = %10 %16 = load ptr, ptr %4, align 8 %17 = call i32 @strcpy(ptr noundef %16, ptr noundef @.str) br label %33 18: ; preds = %10 %19 = load ptr, ptr %4, align 8 %20 = call i32 @strcpy(ptr noundef %19, ptr noundef @.str.1) br label %33 21: ; preds = %10 %22 = load ptr, ptr %4, align 8 %23 = call i32 @strcpy(ptr noundef %22, ptr noundef @.str.2) br label %33 24: ; preds = %10 %25 = load ptr, ptr %4, align 8 %26 = call i32 @strcpy(ptr noundef %25, ptr noundef @.str.3) br label %33 27: ; preds = %10 %28 = load ptr, ptr %4, align 8 %29 = call i32 @strcpy(ptr noundef %28, ptr noundef @.str.4) br label %33 30: ; preds = %10 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 0 store i8 0, ptr %32, align 1 br label %33 33: ; preds = %30, %27, %24, %21, %18, %15, %12 %34 = load ptr, ptr %4, align 8 store ptr %34, ptr %2, align 8 br label %35 35: ; preds = %33, %9 %36 = load ptr, ptr %2, align 8 ret ptr %36 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @free(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/tmp62d71bsl.c' source_filename = "/tmp/tmp62d71bsl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"Cannot open \22%s\22 for reading: %s\0A\00", align 1 @errno = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [44 x i8] c"Cannot open temporary file for writing: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"Error reading: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"Error writing: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @convert(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [1024 x i8], align 16 %6 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %18, label %11 11: ; preds = %1 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %2, align 8 %14 = load i64, ptr @errno, align 8 %15 = call ptr @strerror(i64 noundef %14) %16 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.1, ptr noundef %13, ptr noundef %15) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %1 %19 = call ptr (...) @tmpfile() store ptr %19, ptr %4, align 8 %20 = load ptr, ptr %4, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %28, label %22 22: ; preds = %18 %23 = load i32, ptr @stderr, align 4 %24 = load i64, ptr @errno, align 8 %25 = call ptr @strerror(i64 noundef %24) %26 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.2, ptr noundef %25) %27 = call i32 @exit(i32 noundef 1) #3 unreachable 28: ; preds = %18 %29 = load ptr, ptr %4, align 8 %30 = load ptr, ptr %3, align 8 %31 = load ptr, ptr %2, align 8 %32 = call i32 @dump_to_pie(ptr noundef %29, ptr noundef %30, ptr noundef %31) %33 = load ptr, ptr %3, align 8 %34 = call i32 @fclose(ptr noundef %33) %35 = load ptr, ptr %4, align 8 %36 = call i32 @rewind(ptr noundef %35) %37 = load ptr, ptr %2, align 8 %38 = call ptr @fopen(ptr noundef %37, ptr noundef @.str.3) store ptr %38, ptr %3, align 8 br label %39 39: ; preds = %54, %28 %40 = load ptr, ptr %4, align 8 %41 = call i32 @feof(ptr noundef %40) %42 = icmp ne i32 %41, 0 br i1 %42, label %52, label %43 43: ; preds = %39 %44 = load ptr, ptr %3, align 8 %45 = call i64 @ferror(ptr noundef %44) %46 = icmp ne i64 %45, 0 br i1 %46, label %52, label %47 47: ; preds = %43 %48 = load ptr, ptr %4, align 8 %49 = call i64 @ferror(ptr noundef %48) %50 = icmp ne i64 %49, 0 %51 = xor i1 %50, true br label %52 52: ; preds = %47, %43, %39 %53 = phi i1 [ false, %43 ], [ false, %39 ], [ %51, %47 ] br i1 %53, label %54, label %62 54: ; preds = %52 %55 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %56 = load ptr, ptr %4, align 8 %57 = call i64 @fread(ptr noundef %55, i32 noundef 1, i32 noundef 1024, ptr noundef %56) store i64 %57, ptr %6, align 8 %58 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %59 = load i64, ptr %6, align 8 %60 = load ptr, ptr %3, align 8 %61 = call i32 @fwrite(ptr noundef %58, i64 noundef %59, i32 noundef 1, ptr noundef %60) br label %39, !llvm.loop !6 62: ; preds = %52 %63 = load ptr, ptr %4, align 8 %64 = call i64 @ferror(ptr noundef %63) %65 = icmp ne i64 %64, 0 br i1 %65, label %66, label %72 66: ; preds = %62 %67 = load i32, ptr @stderr, align 4 %68 = load ptr, ptr %4, align 8 %69 = call i64 @ferror(ptr noundef %68) %70 = call ptr @strerror(i64 noundef %69) %71 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %67, ptr noundef @.str.4, ptr noundef %70) br label %72 72: ; preds = %66, %62 %73 = load ptr, ptr %3, align 8 %74 = call i64 @ferror(ptr noundef %73) %75 = icmp ne i64 %74, 0 br i1 %75, label %76, label %82 76: ; preds = %72 %77 = load i32, ptr @stderr, align 4 %78 = load ptr, ptr %3, align 8 %79 = call i64 @ferror(ptr noundef %78) %80 = call ptr @strerror(i64 noundef %79) %81 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %77, ptr noundef @.str.5, ptr noundef %80) br label %82 82: ; preds = %76, %72 %83 = load ptr, ptr %3, align 8 %84 = call i32 @fclose(ptr noundef %83) %85 = load ptr, ptr %4, align 8 %86 = call i32 @fclose(ptr noundef %85) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @strerror(i64 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @tmpfile(...) #1 declare i32 @dump_to_pie(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i64 @ferror(ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i64 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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp62d71bsl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"Cannot open \22%s\22 for reading: %s\0A\00", align 1 @errno = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [44 x i8] c"Cannot open temporary file for writing: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"Error reading: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"Error writing: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @convert(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [1024 x i8], align 16 %6 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %18, label %11 11: ; preds = %1 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %2, align 8 %14 = load i64, ptr @errno, align 8 %15 = call ptr @strerror(i64 noundef %14) %16 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.1, ptr noundef %13, ptr noundef %15) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %1 %19 = call ptr (...) @tmpfile() store ptr %19, ptr %4, align 8 %20 = load ptr, ptr %4, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %28, label %22 22: ; preds = %18 %23 = load i32, ptr @stderr, align 4 %24 = load i64, ptr @errno, align 8 %25 = call ptr @strerror(i64 noundef %24) %26 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.2, ptr noundef %25) %27 = call i32 @exit(i32 noundef 1) #3 unreachable 28: ; preds = %18 %29 = load ptr, ptr %4, align 8 %30 = load ptr, ptr %3, align 8 %31 = load ptr, ptr %2, align 8 %32 = call i32 @dump_to_pie(ptr noundef %29, ptr noundef %30, ptr noundef %31) %33 = load ptr, ptr %3, align 8 %34 = call i32 @fclose(ptr noundef %33) %35 = load ptr, ptr %4, align 8 %36 = call i32 @rewind(ptr noundef %35) %37 = load ptr, ptr %2, align 8 %38 = call ptr @fopen(ptr noundef %37, ptr noundef @.str.3) store ptr %38, ptr %3, align 8 br label %39 39: ; preds = %54, %28 %40 = load ptr, ptr %4, align 8 %41 = call i32 @feof(ptr noundef %40) %42 = icmp ne i32 %41, 0 br i1 %42, label %52, label %43 43: ; preds = %39 %44 = load ptr, ptr %3, align 8 %45 = call i64 @ferror(ptr noundef %44) %46 = icmp ne i64 %45, 0 br i1 %46, label %52, label %47 47: ; preds = %43 %48 = load ptr, ptr %4, align 8 %49 = call i64 @ferror(ptr noundef %48) %50 = icmp ne i64 %49, 0 %51 = xor i1 %50, true br label %52 52: ; preds = %47, %43, %39 %53 = phi i1 [ false, %43 ], [ false, %39 ], [ %51, %47 ] br i1 %53, label %54, label %62 54: ; preds = %52 %55 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %56 = load ptr, ptr %4, align 8 %57 = call i64 @fread(ptr noundef %55, i32 noundef 1, i32 noundef 1024, ptr noundef %56) store i64 %57, ptr %6, align 8 %58 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %59 = load i64, ptr %6, align 8 %60 = load ptr, ptr %3, align 8 %61 = call i32 @fwrite(ptr noundef %58, i64 noundef %59, i32 noundef 1, ptr noundef %60) br label %39, !llvm.loop !6 62: ; preds = %52 %63 = load ptr, ptr %4, align 8 %64 = call i64 @ferror(ptr noundef %63) %65 = icmp ne i64 %64, 0 br i1 %65, label %66, label %72 66: ; preds = %62 %67 = load i32, ptr @stderr, align 4 %68 = load ptr, ptr %4, align 8 %69 = call i64 @ferror(ptr noundef %68) %70 = call ptr @strerror(i64 noundef %69) %71 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %67, ptr noundef @.str.4, ptr noundef %70) br label %72 72: ; preds = %66, %62 %73 = load ptr, ptr %3, align 8 %74 = call i64 @ferror(ptr noundef %73) %75 = icmp ne i64 %74, 0 br i1 %75, label %76, label %82 76: ; preds = %72 %77 = load i32, ptr @stderr, align 4 %78 = load ptr, ptr %3, align 8 %79 = call i64 @ferror(ptr noundef %78) %80 = call ptr @strerror(i64 noundef %79) %81 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %77, ptr noundef @.str.5, ptr noundef %80) br label %82 82: ; preds = %76, %72 %83 = load ptr, ptr %3, align 8 %84 = call i32 @fclose(ptr noundef %83) %85 = load ptr, ptr %4, align 8 %86 = call i32 @fclose(ptr noundef %85) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @strerror(i64 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @tmpfile(...) #1 declare i32 @dump_to_pie(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i64 @ferror(ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i64 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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpibtfolc2.c' source_filename = "/tmp/tmpibtfolc2.c" target datalayout = "e-m:e-p270: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/tmpibtfolc2.c" target datalayout = "e-m:e-p270: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/tmp4qnn8ak6.c' source_filename = "/tmp/tmp4qnn8ak6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"read() failed\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"[recv %d bytes] %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @read_routine(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [1024 x i8], align 16 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 br label %5 5: ; preds = %1, %18 %6 = load i32, ptr %2, align 4 %7 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %8 = call i32 @read(i32 noundef %6, ptr noundef %7, i32 noundef 1024) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %5 %12 = call i32 @perror(ptr noundef @.str) br label %25 13: ; preds = %5 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %13 br label %25 17: ; preds = %13 br label %18 18: ; preds = %17 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %20 store i8 0, ptr %21, align 1 %22 = load i32, ptr %4, align 4 %23 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %24 = call i32 @printf(ptr noundef @.str.1, i32 noundef %22, ptr noundef %23) br label %5 25: ; preds = %16, %11 ret void } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4qnn8ak6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"read() failed\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"[recv %d bytes] %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @read_routine(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [1024 x i8], align 16 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %7 = call i32 @read(i32 noundef %5, ptr noundef %6, i32 noundef 1024) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %.lr.ph .lr.ph: ; preds = %1 br label %12 ._crit_edge: ; preds = %17 br label %10 10: ; preds = %._crit_edge, %1 %11 = call i32 @perror(ptr noundef @.str) br label %28 12: ; preds = %.lr.ph, %17 %13 = load i32, ptr %4, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %12 br label %28 16: ; preds = %12 br label %17 17: ; preds = %16 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %19 store i8 0, ptr %20, align 1 %21 = load i32, ptr %4, align 4 %22 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %23 = call i32 @printf(ptr noundef @.str.1, i32 noundef %21, ptr noundef %22) %24 = load i32, ptr %2, align 4 %25 = call i32 @read(i32 noundef %24, ptr noundef %6, i32 noundef 1024) store i32 %25, ptr %4, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %._crit_edge, label %12 28: ; preds = %15, %10 ret void } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9acse3i6.c' source_filename = "/tmp/tmp9acse3i6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hp1() #0 { %1 = call i32 (...) @hp2() ret void } declare i32 @hp2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9acse3i6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hp1() #0 { %1 = call i32 (...) @hp2() ret void } declare i32 @hp2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4y5oc9vd.c' source_filename = "/tmp/tmp4y5oc9vd.c" target datalayout = "e-m:e-p270: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"::fuzzmethod_getopt3_usage::\0A\00", align 1 @.str.1 = private unnamed_addr constant [86 x i8] c"\09ifuzz 3 directory/ <-o optstring> [-e extra-args] [-f first_arg] [-l last_arg] [-s]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fuzzmethod_getopt3_usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4y5oc9vd.c" target datalayout = "e-m:e-p270: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"::fuzzmethod_getopt3_usage::\0A\00", align 1 @.str.1 = private unnamed_addr constant [86 x i8] c"\09ifuzz 3 directory/ <-o optstring> [-e extra-args] [-f first_arg] [-l last_arg] [-s]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fuzzmethod_getopt3_usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplvug3ufr.c' source_filename = "/tmp/tmplvug3ufr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"--More--\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @more(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [80 x i8], align 16 store ptr %0, ptr %3, align 8 store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %8 8: ; preds = %76, %48, %1 %9 = load ptr, ptr %3, align 8 %10 = call i32 @fgetc(ptr noundef %9) store i32 %10, ptr %4, align 4 %11 = load i32, ptr @EOF, align 4 %12 = icmp ne i32 %10, %11 br i1 %12, label %13, label %77 13: ; preds = %8 %14 = load i32, ptr %4, align 4 switch i32 %14, label %31 [ i32 13, label %15 i32 10, label %16 i32 9, label %19 i32 8, label %24 ] 15: ; preds = %13 store i32 0, ptr %6, align 4 br label %34 16: ; preds = %13 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %34 19: ; preds = %13 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 %22 = or i32 %21, 7 %23 = add nsw i32 %22, 1 store i32 %23, ptr %6, align 4 br label %34 24: ; preds = %13 %25 = load i32, ptr %6, align 4 %26 = icmp sgt i32 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %24 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, -1 store i32 %29, ptr %6, align 4 br label %30 30: ; preds = %27, %24 br label %34 31: ; preds = %13 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 br label %34 34: ; preds = %31, %30, %19, %16, %15 %35 = load i32, ptr %4, align 4 %36 = trunc i32 %35 to i8 %37 = call i32 @putchar(i8 noundef signext %36) %38 = load i32, ptr %6, align 4 %39 = icmp sge i32 %38, 80 br i1 %39, label %40, label %45 40: ; preds = %34 %41 = load i32, ptr %6, align 4 %42 = sub nsw i32 %41, 80 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %5, align 4 br label %45 45: ; preds = %40, %34 %46 = load i32, ptr %5, align 4 %47 = icmp slt i32 %46, 24 br i1 %47, label %48, label %49 48: ; preds = %45 br label %8, !llvm.loop !6 49: ; preds = %45 %50 = load i32, ptr %6, align 4 %51 = icmp sgt i32 %50, 0 br i1 %51, label %52, label %54 52: ; preds = %49 %53 = call i32 @putchar(i8 noundef signext 10) br label %54 54: ; preds = %52, %49 %55 = call i32 @printf(ptr noundef @.str) %56 = load i32, ptr @stdout, align 4 %57 = call i32 @fflush(i32 noundef %56) %58 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %59 = call i64 @read(i32 noundef 0, ptr noundef %58, i32 noundef 80) %60 = icmp slt i64 %59, 0 br i1 %60, label %61, label %62 61: ; preds = %54 store i32 0, ptr %2, align 4 br label %78 62: ; preds = %54 %63 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %64 = load i8, ptr %63, align 16 %65 = sext i8 %64 to i32 store i32 %65, ptr %4, align 4 %66 = load i32, ptr %4, align 4 %67 = icmp eq i32 %66, 58 br i1 %67, label %68, label %72 68: ; preds = %62 %69 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 1 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 store i32 %71, ptr %4, align 4 br label %72 72: ; preds = %68, %62 %73 = load i32, ptr %4, align 4 switch i32 %73, label %76 [ i32 78, label %74 i32 110, label %74 i32 81, label %75 i32 113, label %75 ] 74: ; preds = %72, %72 store i32 1, ptr %2, align 4 br label %78 75: ; preds = %72, %72 store i32 0, ptr %2, align 4 br label %78 76: ; preds = %72 store i32 0, ptr %6, align 4 store i32 1, ptr %5, align 4 br label %8, !llvm.loop !6 77: ; preds = %8 store i32 1, ptr %2, align 4 br label %78 78: ; preds = %77, %75, %74, %61 %79 = load i32, ptr %2, align 4 ret i32 %79 } declare i32 @fgetc(ptr noundef) #1 declare i32 @putchar(i8 noundef signext) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplvug3ufr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"--More--\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @more(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [80 x i8], align 16 store ptr %0, ptr %3, align 8 store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = load ptr, ptr %3, align 8 %9 = call i32 @fgetc(ptr noundef %8) store i32 %9, ptr %4, align 4 %10 = load i32, ptr @EOF, align 4 %11 = icmp ne i32 %9, %10 br i1 %11, label %.lr.ph, label %80 .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %.backedge %13 = load i32, ptr %4, align 4 switch i32 %13, label %30 [ i32 13, label %14 i32 10, label %15 i32 9, label %18 i32 8, label %23 ] 14: ; preds = %12 store i32 0, ptr %6, align 4 br label %33 15: ; preds = %12 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %33 18: ; preds = %12 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 %21 = or i32 %20, 7 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 br label %33 23: ; preds = %12 %24 = load i32, ptr %6, align 4 %25 = icmp sgt i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, -1 store i32 %28, ptr %6, align 4 br label %29 29: ; preds = %26, %23 br label %33 30: ; preds = %12 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %6, align 4 br label %33 33: ; preds = %30, %29, %18, %15, %14 %34 = load i32, ptr %4, align 4 %35 = trunc i32 %34 to i8 %36 = call i32 @putchar(i8 noundef signext %35) %37 = load i32, ptr %6, align 4 %38 = icmp sge i32 %37, 80 br i1 %38, label %39, label %44 39: ; preds = %33 %40 = load i32, ptr %6, align 4 %41 = sub nsw i32 %40, 80 store i32 %41, ptr %6, align 4 %42 = load i32, ptr %5, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %5, align 4 br label %44 44: ; preds = %39, %33 %45 = load i32, ptr %5, align 4 %46 = icmp slt i32 %45, 24 br i1 %46, label %47, label %52 47: ; preds = %44 br label %.backedge .backedge: ; preds = %47, %79 %48 = load ptr, ptr %3, align 8 %49 = call i32 @fgetc(ptr noundef %48) store i32 %49, ptr %4, align 4 %50 = load i32, ptr @EOF, align 4 %51 = icmp ne i32 %49, %50 br i1 %51, label %12, label %._crit_edge, !llvm.loop !6 52: ; preds = %44 %53 = load i32, ptr %6, align 4 %54 = icmp sgt i32 %53, 0 br i1 %54, label %55, label %57 55: ; preds = %52 %56 = call i32 @putchar(i8 noundef signext 10) br label %57 57: ; preds = %55, %52 %58 = call i32 @printf(ptr noundef @.str) %59 = load i32, ptr @stdout, align 4 %60 = call i32 @fflush(i32 noundef %59) %61 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %62 = call i64 @read(i32 noundef 0, ptr noundef %61, i32 noundef 80) %63 = icmp slt i64 %62, 0 br i1 %63, label %64, label %65 64: ; preds = %57 store i32 0, ptr %2, align 4 br label %81 65: ; preds = %57 %66 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %67 = load i8, ptr %66, align 16 %68 = sext i8 %67 to i32 store i32 %68, ptr %4, align 4 %69 = load i32, ptr %4, align 4 %70 = icmp eq i32 %69, 58 br i1 %70, label %71, label %75 71: ; preds = %65 %72 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 1 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 store i32 %74, ptr %4, align 4 br label %75 75: ; preds = %71, %65 %76 = load i32, ptr %4, align 4 switch i32 %76, label %79 [ i32 78, label %77 i32 110, label %77 i32 81, label %78 i32 113, label %78 ] 77: ; preds = %75, %75 store i32 1, ptr %2, align 4 br label %81 78: ; preds = %75, %75 store i32 0, ptr %2, align 4 br label %81 79: ; preds = %75 store i32 0, ptr %6, align 4 store i32 1, ptr %5, align 4 br label %.backedge ._crit_edge: ; preds = %.backedge br label %80 80: ; preds = %._crit_edge, %1 store i32 1, ptr %2, align 4 br label %81 81: ; preds = %80, %78, %77, %64 %82 = load i32, ptr %2, align 4 ret i32 %82 } declare i32 @fgetc(ptr noundef) #1 declare i32 @putchar(i8 noundef signext) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphvqkb54j.c' source_filename = "/tmp/tmphvqkb54j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_uivector(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add i32 %3, 1 %5 = zext i32 %4 to i64 %6 = mul i64 %5, 4 %7 = call i64 @malloc(i64 noundef %6) %8 = inttoptr i64 %7 to ptr ret ptr %8 } declare i64 @malloc(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/tmphvqkb54j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_uivector(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add i32 %3, 1 %5 = zext i32 %4 to i64 %6 = mul i64 %5, 4 %7 = call i64 @malloc(i64 noundef %6) %8 = inttoptr i64 %7 to ptr ret ptr %8 } declare i64 @malloc(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/tmp_ba6j4s_.c' source_filename = "/tmp/tmp_ba6j4s_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Calibration file \22%s\22\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"Cannot open calibration file \0A\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"%s %d %d %d %s %d %d %d %s %d %d\00", align 1 @.str.4 = private unnamed_addr constant [50 x i8] c"0x%04x 0x%04x 0x%04x 0x%04x 0x%04x 0x%04x %2d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [256 x i8], align 16 %9 = alloca [32 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i64, align 8 %19 = alloca i64, align 8 %20 = alloca i64, align 8 %21 = alloca i64, align 8 %22 = alloca i64, align 8 %23 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %24, 2 br i1 %25, label %26, label %28 26: ; preds = %2 %27 = call i32 (...) @usage() store i32 0, ptr %3, align 4 br label %90 28: ; preds = %2 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 store ptr %31, ptr %6, align 8 %32 = load i32, ptr @stderr, align 4 %33 = load ptr, ptr %6, align 8 %34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @.str, ptr noundef %33) %35 = load ptr, ptr %6, align 8 %36 = call ptr @fopen(ptr noundef %35, ptr noundef @.str.1) store ptr %36, ptr %7, align 8 %37 = load ptr, ptr %7, align 8 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %42 39: ; preds = %28 %40 = load i32, ptr @stderr, align 4 %41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %90 42: ; preds = %28 br label %43 43: ; preds = %86, %42 %44 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %45 = load ptr, ptr %7, align 8 %46 = call ptr @fgets(ptr noundef %44, i32 noundef 256, ptr noundef %45) %47 = icmp ne ptr %46, null br i1 %47, label %48, label %87 48: ; preds = %43 %49 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %50 = load i8, ptr %49, align 16 %51 = sext i8 %50 to i32 %52 = icmp eq i32 %51, 71 br i1 %52, label %53, label %86 53: ; preds = %48 %54 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %55 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0 %56 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0 %57 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0 %58 = call i32 @sscanf(ptr noundef %54, ptr noundef @.str.3, ptr noundef %55, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %56, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %57, ptr noundef %16, ptr noundef %17) %59 = load i32, ptr %10, align 4 %60 = sext i32 %59 to i64 store i64 %60, ptr %18, align 8 %61 = load i32, ptr %11, align 4 %62 = sext i32 %61 to i64 store i64 %62, ptr %19, align 8 %63 = load i32, ptr %12, align 4 %64 = sext i32 %63 to i64 store i64 %64, ptr %20, align 8 %65 = load i32, ptr %13, align 4 %66 = sext i32 %65 to i64 store i64 %66, ptr %21, align 8 %67 = load i32, ptr %14, align 4 %68 = sext i32 %67 to i64 store i64 %68, ptr %22, align 8 %69 = load i32, ptr %15, align 4 %70 = sext i32 %69 to i64 store i64 %70, ptr %23, align 8 %71 = load i64, ptr %18, align 8 %72 = trunc i64 %71 to i32 %73 = load i64, ptr %19, align 8 %74 = trunc i64 %73 to i32 %75 = load i64, ptr %20, align 8 %76 = trunc i64 %75 to i32 %77 = load i64, ptr %21, align 8 %78 = trunc i64 %77 to i32 %79 = load i64, ptr %22, align 8 %80 = trunc i64 %79 to i32 %81 = load i64, ptr %23, align 8 %82 = trunc i64 %81 to i32 %83 = load i32, ptr %16, align 4 %84 = load i32, ptr %17, align 4 %85 = call i32 @printf(ptr noundef @.str.4, i32 noundef %72, i32 noundef %74, i32 noundef %76, i32 noundef %78, i32 noundef %80, i32 noundef %82, i32 noundef %83, i32 noundef %84) br label %86 86: ; preds = %53, %48 br label %43, !llvm.loop !6 87: ; preds = %43 %88 = load ptr, ptr %7, align 8 %89 = call i32 @fclose(ptr noundef %88) store i32 0, ptr %3, align 4 br label %90 90: ; preds = %87, %39, %26 %91 = load i32, ptr %3, align 4 ret i32 %91 } declare i32 @usage(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ba6j4s_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Calibration file \22%s\22\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"Cannot open calibration file \0A\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"%s %d %d %d %s %d %d %d %s %d %d\00", align 1 @.str.4 = private unnamed_addr constant [50 x i8] c"0x%04x 0x%04x 0x%04x 0x%04x 0x%04x 0x%04x %2d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [256 x i8], align 16 %9 = alloca [32 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i64, align 8 %19 = alloca i64, align 8 %20 = alloca i64, align 8 %21 = alloca i64, align 8 %22 = alloca i64, align 8 %23 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %24, 2 br i1 %25, label %26, label %28 26: ; preds = %2 %27 = call i32 (...) @usage() store i32 0, ptr %3, align 4 br label %92 28: ; preds = %2 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 store ptr %31, ptr %6, align 8 %32 = load i32, ptr @stderr, align 4 %33 = load ptr, ptr %6, align 8 %34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @.str, ptr noundef %33) %35 = load ptr, ptr %6, align 8 %36 = call ptr @fopen(ptr noundef %35, ptr noundef @.str.1) store ptr %36, ptr %7, align 8 %37 = load ptr, ptr %7, align 8 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %42 39: ; preds = %28 %40 = load i32, ptr @stderr, align 4 %41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %92 42: ; preds = %28 %43 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %44 = load ptr, ptr %7, align 8 %45 = call ptr @fgets(ptr noundef %43, i32 noundef 256, ptr noundef %44) %46 = icmp ne ptr %45, null br i1 %46, label %.lr.ph, label %89 .lr.ph: ; preds = %42 br label %47 47: ; preds = %.lr.ph, %85 %48 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %49 = load i8, ptr %48, align 16 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 71 br i1 %51, label %52, label %85 52: ; preds = %47 %53 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %54 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0 %55 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0 %56 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0 %57 = call i32 @sscanf(ptr noundef %53, ptr noundef @.str.3, ptr noundef %54, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %55, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %56, ptr noundef %16, ptr noundef %17) %58 = load i32, ptr %10, align 4 %59 = sext i32 %58 to i64 store i64 %59, ptr %18, align 8 %60 = load i32, ptr %11, align 4 %61 = sext i32 %60 to i64 store i64 %61, ptr %19, align 8 %62 = load i32, ptr %12, align 4 %63 = sext i32 %62 to i64 store i64 %63, ptr %20, align 8 %64 = load i32, ptr %13, align 4 %65 = sext i32 %64 to i64 store i64 %65, ptr %21, align 8 %66 = load i32, ptr %14, align 4 %67 = sext i32 %66 to i64 store i64 %67, ptr %22, align 8 %68 = load i32, ptr %15, align 4 %69 = sext i32 %68 to i64 store i64 %69, ptr %23, align 8 %70 = load i64, ptr %18, align 8 %71 = trunc i64 %70 to i32 %72 = load i64, ptr %19, align 8 %73 = trunc i64 %72 to i32 %74 = load i64, ptr %20, align 8 %75 = trunc i64 %74 to i32 %76 = load i64, ptr %21, align 8 %77 = trunc i64 %76 to i32 %78 = load i64, ptr %22, align 8 %79 = trunc i64 %78 to i32 %80 = load i64, ptr %23, align 8 %81 = trunc i64 %80 to i32 %82 = load i32, ptr %16, align 4 %83 = load i32, ptr %17, align 4 %84 = call i32 @printf(ptr noundef @.str.4, i32 noundef %71, i32 noundef %73, i32 noundef %75, i32 noundef %77, i32 noundef %79, i32 noundef %81, i32 noundef %82, i32 noundef %83) br label %85 85: ; preds = %52, %47 %86 = load ptr, ptr %7, align 8 %87 = call ptr @fgets(ptr noundef %43, i32 noundef 256, ptr noundef %86) %88 = icmp ne ptr %87, null br i1 %88, label %47, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %85 br label %89 89: ; preds = %._crit_edge, %42 %90 = load ptr, ptr %7, align 8 %91 = call i32 @fclose(ptr noundef %90) store i32 0, ptr %3, align 4 br label %92 92: ; preds = %89, %39, %26 %93 = load i32, ptr %3, align 4 ret i32 %93 } declare i32 @usage(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpm52n9qts.c' source_filename = "/tmp/tmpm52n9qts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"i=%d x=%f z=%f\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"time=%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i64 1, ptr %2, align 8 br label %7 7: ; preds = %22, %0 %8 = load i64, ptr %2, align 8 %9 = icmp ult i64 %8, 100000000 br i1 %9, label %10, label %25 10: ; preds = %7 %11 = load i64, ptr %2, align 8 %12 = uitofp i64 %11 to double %13 = fmul double 3.000000e+00, %12 store double %13, ptr %3, align 8 %14 = load double, ptr %3, align 8 %15 = call i64 @sqrt(double noundef %14) %16 = sitofp i64 %15 to double store double %16, ptr %4, align 8 %17 = load double, ptr %3, align 8 %18 = load i64, ptr %2, align 8 %19 = uitofp i64 %18 to double %20 = fdiv double %17, %19 store double %20, ptr %3, align 8 %21 = call i32 @time(ptr noundef %5) br label %22 22: ; preds = %10 %23 = load i64, ptr %2, align 8 %24 = add i64 %23, 1 store i64 %24, ptr %2, align 8 br label %7, !llvm.loop !6 25: ; preds = %7 %26 = call ptr @localtime(ptr noundef %5) store ptr %26, ptr %6, align 8 %27 = load i64, ptr %2, align 8 %28 = load double, ptr %3, align 8 %29 = load double, ptr %4, align 8 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %27, double noundef %28, double noundef %29) %31 = load ptr, ptr %6, align 8 %32 = call ptr @asctime(ptr noundef %31) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %32) ret i32 0 } declare i64 @sqrt(double noundef) #1 declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @asctime(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/tmpm52n9qts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"i=%d x=%f z=%f\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"time=%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i64 1, ptr %2, align 8 %7 = load i64, ptr %2, align 8 %8 = icmp ult i64 %7, 100000000 br i1 %8, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %21 %10 = load i64, ptr %2, align 8 %11 = uitofp i64 %10 to double %12 = fmul double 3.000000e+00, %11 store double %12, ptr %3, align 8 %13 = load double, ptr %3, align 8 %14 = call i64 @sqrt(double noundef %13) %15 = sitofp i64 %14 to double store double %15, ptr %4, align 8 %16 = load double, ptr %3, align 8 %17 = load i64, ptr %2, align 8 %18 = uitofp i64 %17 to double %19 = fdiv double %16, %18 store double %19, ptr %3, align 8 %20 = call i32 @time(ptr noundef %5) br label %21 21: ; preds = %9 %22 = load i64, ptr %2, align 8 %23 = add i64 %22, 1 store i64 %23, ptr %2, align 8 %24 = load i64, ptr %2, align 8 %25 = icmp ult i64 %24, 100000000 br i1 %25, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %0 %27 = call ptr @localtime(ptr noundef %5) store ptr %27, ptr %6, align 8 %28 = load i64, ptr %2, align 8 %29 = load double, ptr %3, align 8 %30 = load double, ptr %4, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %28, double noundef %29, double noundef %30) %32 = load ptr, ptr %6, align 8 %33 = call ptr @asctime(ptr noundef %32) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %33) ret i32 0 } declare i64 @sqrt(double noundef) #1 declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @asctime(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/tmpr1tj3zy9.c' source_filename = "/tmp/tmpr1tj3zy9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stage_cu() #0 { %1 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 0) %2 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1207566308) %3 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 4) %4 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1082064896) %5 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 0) %6 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 41) %7 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 41) %8 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 47) %9 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 34) %10 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1) %11 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 16) %12 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 42) %13 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 38) %14 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 36) %15 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 13) %16 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1) %17 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 32) %18 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 1) %19 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 8) %20 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 0) %21 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 0) %22 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1) ret void } declare i32 @Xil_Out32(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/tmpr1tj3zy9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stage_cu() #0 { %1 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 0) %2 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1207566308) %3 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 4) %4 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1082064896) %5 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 0) %6 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 41) %7 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 41) %8 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 47) %9 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 34) %10 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1) %11 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 16) %12 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 42) %13 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 38) %14 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 36) %15 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 13) %16 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1) %17 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 32) %18 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 1) %19 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 8) %20 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 0) %21 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 0) %22 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1) ret void } declare i32 @Xil_Out32(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/tmpkykxjkpc.c' source_filename = "/tmp/tmpkykxjkpc.c" target datalayout = "e-m:e-p270: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.prompt = private unnamed_addr constant [22 x i8] c"Enter the card_name: \00", align 16 @.str = private unnamed_addr constant [19 x i8] c"Current count: %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x i8], align 1 %3 = alloca [22 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.prompt, i64 22, i1 false) store i32 0, ptr %4, align 4 br label %7 7: ; preds = %21, %20, %0 %8 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 88 br i1 %11, label %12, label %26 12: ; preds = %7 store i32 0, ptr %5, align 4 %13 = getelementptr inbounds [22 x i8], ptr %3, i64 0, i64 0 %14 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0 %15 = call i32 @get_card_name(ptr noundef %13, ptr noundef %14) %16 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0 %17 = call i32 @get_value(ptr noundef %16, ptr noundef %5) store i32 %17, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %12 br label %7, !llvm.loop !6 21: ; preds = %12 %22 = load i32, ptr %5, align 4 %23 = call i32 @update_count(i32 noundef %22, ptr noundef %4) %24 = load i32, ptr %4, align 4 %25 = call i32 @printf(ptr noundef @.str, i32 noundef %24) br label %7, !llvm.loop !6 26: ; preds = %7 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @get_card_name(ptr noundef, ptr noundef) #2 declare i32 @get_value(ptr noundef, ptr noundef) #2 declare i32 @update_count(i32 noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkykxjkpc.c" target datalayout = "e-m:e-p270: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.prompt = private unnamed_addr constant [22 x i8] c"Enter the card_name: \00", align 16 @.str = private unnamed_addr constant [19 x i8] c"Current count: %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x i8], align 1 %3 = alloca [22 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.prompt, i64 22, i1 false) store i32 0, ptr %4, align 4 %7 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 88 br i1 %10, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %.backedge store i32 0, ptr %5, align 4 %12 = getelementptr inbounds [22 x i8], ptr %3, i64 0, i64 0 %13 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0 %14 = call i32 @get_card_name(ptr noundef %12, ptr noundef %13) %15 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0 %16 = call i32 @get_value(ptr noundef %15, ptr noundef %5) store i32 %16, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %11 br label %.backedge .backedge: ; preds = %19, %23 %20 = load i8, ptr %7, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 88 br i1 %22, label %11, label %._crit_edge, !llvm.loop !6 23: ; preds = %11 %24 = load i32, ptr %5, align 4 %25 = call i32 @update_count(i32 noundef %24, ptr noundef %4) %26 = load i32, ptr %4, align 4 %27 = call i32 @printf(ptr noundef @.str, i32 noundef %26) br label %.backedge ._crit_edge: ; preds = %.backedge br label %28 28: ; preds = %._crit_edge, %0 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @get_card_name(ptr noundef, ptr noundef) #2 declare i32 @get_value(ptr noundef, ptr noundef) #2 declare i32 @update_count(i32 noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphlu0vw_d.c' source_filename = "/tmp/tmphlu0vw_d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yil_exit(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sgt i32 %6, 1 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @atoi(ptr noundef %11) store i32 %12, ptr %5, align 4 br label %13 13: ; preds = %8, %2 %14 = load i32, ptr %5, align 4 %15 = call i32 @exit(i32 noundef %14) #3 unreachable } declare i32 @atoi(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphlu0vw_d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yil_exit(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sgt i32 %6, 1 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @atoi(ptr noundef %11) store i32 %12, ptr %5, align 4 br label %13 13: ; preds = %8, %2 %14 = load i32, ptr %5, align 4 %15 = call i32 @exit(i32 noundef %14) #3 unreachable } declare i32 @atoi(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3fxlpnf2.c' source_filename = "/tmp/tmp3fxlpnf2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Value of c : %c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i8 65, ptr %2, align 1 store ptr %2, ptr %3, align 8 store ptr %3, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %5, align 8 store i8 66, ptr %6, align 1 %7 = load i8, ptr %2, align 1 %8 = call i32 @printf(ptr noundef @.str, i8 noundef signext %7) %9 = load ptr, ptr %3, align 8 %10 = load i8, ptr %9, align 1 %11 = call i32 @printf(ptr noundef @.str, i8 noundef signext %10) %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %12, align 8 %14 = load i8, ptr %13, align 1 %15 = call i32 @printf(ptr noundef @.str, i8 noundef signext %14) ret i32 0 } declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3fxlpnf2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Value of c : %c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i8 65, ptr %2, align 1 store ptr %2, ptr %3, align 8 store ptr %3, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %5, align 8 store i8 66, ptr %6, align 1 %7 = load i8, ptr %2, align 1 %8 = call i32 @printf(ptr noundef @.str, i8 noundef signext %7) %9 = load ptr, ptr %3, align 8 %10 = load i8, ptr %9, align 1 %11 = call i32 @printf(ptr noundef @.str, i8 noundef signext %10) %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %12, align 8 %14 = load i8, ptr %13, align 1 %15 = call i32 @printf(ptr noundef @.str, i8 noundef signext %14) ret i32 0 } declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmzo0ns89.c' source_filename = "/tmp/tmpmzo0ns89.c" target datalayout = "e-m:e-p270: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"%s:%i: OK %s == %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [135 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/arsv/sninit/refs/heads/master/test/pintlen.c\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"pintlen(1)\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"%s:%i: FAIL %s = %i != %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"pintlen(12)\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"2\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"pintlen(123)\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"3\00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c"pintlen(1234)\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"4\00", align 1 @.str.11 = private unnamed_addr constant [15 x i8] c"pintlen(12345)\00", align 1 @.str.12 = private unnamed_addr constant [2 x i8] c"5\00", align 1 @.str.13 = private unnamed_addr constant [11 x i8] c"pintlen(0)\00", align 1 @.str.14 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.15 = private unnamed_addr constant [12 x i8] c"pintlen(-1)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @pintlen(i32 noundef 1) %3 = icmp eq i32 %2, 1 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 10, ptr noundef @.str.2, ptr noundef @.str.3) br label %9 6: ; preds = %0 %7 = call i32 @pintlen(i32 noundef 1) %8 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 10, ptr noundef @.str.2, i32 noundef %7, ptr noundef @.str.3) br label %9 9: ; preds = %6, %4 %10 = call i32 @pintlen(i32 noundef 12) %11 = icmp eq i32 %10, 2 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 11, ptr noundef @.str.5, ptr noundef @.str.6) br label %17 14: ; preds = %9 %15 = call i32 @pintlen(i32 noundef 12) %16 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 11, ptr noundef @.str.5, i32 noundef %15, ptr noundef @.str.6) br label %17 17: ; preds = %14, %12 %18 = call i32 @pintlen(i32 noundef 123) %19 = icmp eq i32 %18, 3 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 12, ptr noundef @.str.7, ptr noundef @.str.8) br label %25 22: ; preds = %17 %23 = call i32 @pintlen(i32 noundef 123) %24 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 12, ptr noundef @.str.7, i32 noundef %23, ptr noundef @.str.8) br label %25 25: ; preds = %22, %20 %26 = call i32 @pintlen(i32 noundef 1234) %27 = icmp eq i32 %26, 4 br i1 %27, label %28, label %30 28: ; preds = %25 %29 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 13, ptr noundef @.str.9, ptr noundef @.str.10) br label %33 30: ; preds = %25 %31 = call i32 @pintlen(i32 noundef 1234) %32 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 13, ptr noundef @.str.9, i32 noundef %31, ptr noundef @.str.10) br label %33 33: ; preds = %30, %28 %34 = call i32 @pintlen(i32 noundef 12345) %35 = icmp eq i32 %34, 5 br i1 %35, label %36, label %38 36: ; preds = %33 %37 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 14, ptr noundef @.str.11, ptr noundef @.str.12) br label %41 38: ; preds = %33 %39 = call i32 @pintlen(i32 noundef 12345) %40 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 14, ptr noundef @.str.11, i32 noundef %39, ptr noundef @.str.12) br label %41 41: ; preds = %38, %36 %42 = call i32 @pintlen(i32 noundef 0) %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %46 44: ; preds = %41 %45 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 15, ptr noundef @.str.13, ptr noundef @.str.14) br label %49 46: ; preds = %41 %47 = call i32 @pintlen(i32 noundef 0) %48 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 15, ptr noundef @.str.13, i32 noundef %47, ptr noundef @.str.14) br label %49 49: ; preds = %46, %44 %50 = call i32 @pintlen(i32 noundef -1) %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %54 52: ; preds = %49 %53 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 16, ptr noundef @.str.15, ptr noundef @.str.14) br label %57 54: ; preds = %49 %55 = call i32 @pintlen(i32 noundef -1) %56 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 16, ptr noundef @.str.15, i32 noundef %55, ptr noundef @.str.14) br label %57 57: ; preds = %54, %52 ret i32 0 } declare i32 @pintlen(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmzo0ns89.c" target datalayout = "e-m:e-p270: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"%s:%i: OK %s == %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [135 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/arsv/sninit/refs/heads/master/test/pintlen.c\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"pintlen(1)\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"%s:%i: FAIL %s = %i != %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"pintlen(12)\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"2\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"pintlen(123)\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"3\00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c"pintlen(1234)\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"4\00", align 1 @.str.11 = private unnamed_addr constant [15 x i8] c"pintlen(12345)\00", align 1 @.str.12 = private unnamed_addr constant [2 x i8] c"5\00", align 1 @.str.13 = private unnamed_addr constant [11 x i8] c"pintlen(0)\00", align 1 @.str.14 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.15 = private unnamed_addr constant [12 x i8] c"pintlen(-1)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @pintlen(i32 noundef 1) %3 = icmp eq i32 %2, 1 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 10, ptr noundef @.str.2, ptr noundef @.str.3) br label %9 6: ; preds = %0 %7 = call i32 @pintlen(i32 noundef 1) %8 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 10, ptr noundef @.str.2, i32 noundef %7, ptr noundef @.str.3) br label %9 9: ; preds = %6, %4 %10 = call i32 @pintlen(i32 noundef 12) %11 = icmp eq i32 %10, 2 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 11, ptr noundef @.str.5, ptr noundef @.str.6) br label %17 14: ; preds = %9 %15 = call i32 @pintlen(i32 noundef 12) %16 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 11, ptr noundef @.str.5, i32 noundef %15, ptr noundef @.str.6) br label %17 17: ; preds = %14, %12 %18 = call i32 @pintlen(i32 noundef 123) %19 = icmp eq i32 %18, 3 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 12, ptr noundef @.str.7, ptr noundef @.str.8) br label %25 22: ; preds = %17 %23 = call i32 @pintlen(i32 noundef 123) %24 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 12, ptr noundef @.str.7, i32 noundef %23, ptr noundef @.str.8) br label %25 25: ; preds = %22, %20 %26 = call i32 @pintlen(i32 noundef 1234) %27 = icmp eq i32 %26, 4 br i1 %27, label %28, label %30 28: ; preds = %25 %29 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 13, ptr noundef @.str.9, ptr noundef @.str.10) br label %33 30: ; preds = %25 %31 = call i32 @pintlen(i32 noundef 1234) %32 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 13, ptr noundef @.str.9, i32 noundef %31, ptr noundef @.str.10) br label %33 33: ; preds = %30, %28 %34 = call i32 @pintlen(i32 noundef 12345) %35 = icmp eq i32 %34, 5 br i1 %35, label %36, label %38 36: ; preds = %33 %37 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 14, ptr noundef @.str.11, ptr noundef @.str.12) br label %41 38: ; preds = %33 %39 = call i32 @pintlen(i32 noundef 12345) %40 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 14, ptr noundef @.str.11, i32 noundef %39, ptr noundef @.str.12) br label %41 41: ; preds = %38, %36 %42 = call i32 @pintlen(i32 noundef 0) %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %46 44: ; preds = %41 %45 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 15, ptr noundef @.str.13, ptr noundef @.str.14) br label %49 46: ; preds = %41 %47 = call i32 @pintlen(i32 noundef 0) %48 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 15, ptr noundef @.str.13, i32 noundef %47, ptr noundef @.str.14) br label %49 49: ; preds = %46, %44 %50 = call i32 @pintlen(i32 noundef -1) %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %54 52: ; preds = %49 %53 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 16, ptr noundef @.str.15, ptr noundef @.str.14) br label %57 54: ; preds = %49 %55 = call i32 @pintlen(i32 noundef -1) %56 = call i32 (ptr, ptr, i32, ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 16, ptr noundef @.str.15, i32 noundef %55, ptr noundef @.str.14) br label %57 57: ; preds = %54, %52 ret i32 0 } declare i32 @pintlen(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp753hp74l.c' source_filename = "/tmp/tmp753hp74l.c" target datalayout = "e-m:e-p270: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"Pass\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = call i64 (...) @rb_test() %2 = icmp ne i64 %1, 0 br i1 %2, label %3, label %5 3: ; preds = %0 %4 = call i32 @printf(ptr noundef @.str) br label %5 5: ; preds = %3, %0 ret void } declare i64 @rb_test(...) #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/tmp753hp74l.c" target datalayout = "e-m:e-p270: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"Pass\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = call i64 (...) @rb_test() %2 = icmp ne i64 %1, 0 br i1 %2, label %3, label %5 3: ; preds = %0 %4 = call i32 @printf(ptr noundef @.str) br label %5 5: ; preds = %3, %0 ret void } declare i64 @rb_test(...) #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/tmp9vqbdtfw.c' source_filename = "/tmp/tmp9vqbdtfw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @geom_matinv3f(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [9 x float], align 16 %4 = alloca float, align 4 store ptr %0, ptr %2, align 8 %5 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 0 %6 = load ptr, ptr %2, align 8 %7 = call i32 @memcpy(ptr noundef %5, ptr noundef %6, i32 noundef 36) %8 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 0 %9 = load float, ptr %8, align 16 %10 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 4 %11 = load float, ptr %10, align 16 %12 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 8 %13 = load float, ptr %12, align 16 %14 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 5 %15 = load float, ptr %14, align 4 %16 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 7 %17 = load float, ptr %16, align 4 %18 = fmul float %15, %17 %19 = fneg float %18 %20 = call float @llvm.fmuladd.f32(float %11, float %13, float %19) %21 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 3 %22 = load float, ptr %21, align 4 %23 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 1 %24 = load float, ptr %23, align 4 %25 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 8 %26 = load float, ptr %25, align 16 %27 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 7 %28 = load float, ptr %27, align 4 %29 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 2 %30 = load float, ptr %29, align 8 %31 = fmul float %28, %30 %32 = fneg float %31 %33 = call float @llvm.fmuladd.f32(float %24, float %26, float %32) %34 = fmul float %22, %33 %35 = fneg float %34 %36 = call float @llvm.fmuladd.f32(float %9, float %20, float %35) %37 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 6 %38 = load float, ptr %37, align 8 %39 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 1 %40 = load float, ptr %39, align 4 %41 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 5 %42 = load float, ptr %41, align 4 %43 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 4 %44 = load float, ptr %43, align 16 %45 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 2 %46 = load float, ptr %45, align 8 %47 = fmul float %44, %46 %48 = fneg float %47 %49 = call float @llvm.fmuladd.f32(float %40, float %42, float %48) %50 = call float @llvm.fmuladd.f32(float %38, float %49, float %36) %51 = fdiv float 1.000000e+00, %50 store float %51, ptr %4, align 4 %52 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 4 %53 = load float, ptr %52, align 16 %54 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 8 %55 = load float, ptr %54, align 16 %56 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 5 %57 = load float, ptr %56, align 4 %58 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 7 %59 = load float, ptr %58, align 4 %60 = fmul float %57, %59 %61 = fneg float %60 %62 = call float @llvm.fmuladd.f32(float %53, float %55, float %61) %63 = load float, ptr %4, align 4 %64 = fmul float %62, %63 %65 = load ptr, ptr %2, align 8 %66 = getelementptr inbounds float, ptr %65, i64 0 store float %64, ptr %66, align 4 %67 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 1 %68 = load float, ptr %67, align 4 %69 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 8 %70 = load float, ptr %69, align 16 %71 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 7 %72 = load float, ptr %71, align 4 %73 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 2 %74 = load float, ptr %73, align 8 %75 = fmul float %72, %74 %76 = fneg float %75 %77 = call float @llvm.fmuladd.f32(float %68, float %70, float %76) %78 = fneg float %77 %79 = load float, ptr %4, align 4 %80 = fmul float %78, %79 %81 = load ptr, ptr %2, align 8 %82 = getelementptr inbounds float, ptr %81, i64 1 store float %80, ptr %82, align 4 %83 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 1 %84 = load float, ptr %83, align 4 %85 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 5 %86 = load float, ptr %85, align 4 %87 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 2 %88 = load float, ptr %87, align 8 %89 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 4 %90 = load float, ptr %89, align 16 %91 = fmul float %88, %90 %92 = fneg float %91 %93 = call float @llvm.fmuladd.f32(float %84, float %86, float %92) %94 = load float, ptr %4, align 4 %95 = fmul float %93, %94 %96 = load ptr, ptr %2, align 8 %97 = getelementptr inbounds float, ptr %96, i64 2 store float %95, ptr %97, align 4 %98 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 3 %99 = load float, ptr %98, align 4 %100 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 8 %101 = load float, ptr %100, align 16 %102 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 6 %103 = load float, ptr %102, align 8 %104 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 5 %105 = load float, ptr %104, align 4 %106 = fmul float %103, %105 %107 = fneg float %106 %108 = call float @llvm.fmuladd.f32(float %99, float %101, float %107) %109 = fneg float %108 %110 = load float, ptr %4, align 4 %111 = fmul float %109, %110 %112 = load ptr, ptr %2, align 8 %113 = getelementptr inbounds float, ptr %112, i64 3 store float %111, ptr %113, align 4 %114 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 0 %115 = load float, ptr %114, align 16 %116 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 8 %117 = load float, ptr %116, align 16 %118 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 6 %119 = load float, ptr %118, align 8 %120 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 2 %121 = load float, ptr %120, align 8 %122 = fmul float %119, %121 %123 = fneg float %122 %124 = call float @llvm.fmuladd.f32(float %115, float %117, float %123) %125 = load float, ptr %4, align 4 %126 = fmul float %124, %125 %127 = load ptr, ptr %2, align 8 %128 = getelementptr inbounds float, ptr %127, i64 4 store float %126, ptr %128, align 4 %129 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 0 %130 = load float, ptr %129, align 16 %131 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 5 %132 = load float, ptr %131, align 4 %133 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 2 %134 = load float, ptr %133, align 8 %135 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 3 %136 = load float, ptr %135, align 4 %137 = fmul float %134, %136 %138 = fneg float %137 %139 = call float @llvm.fmuladd.f32(float %130, float %132, float %138) %140 = fneg float %139 %141 = load float, ptr %4, align 4 %142 = fmul float %140, %141 %143 = load ptr, ptr %2, align 8 %144 = getelementptr inbounds float, ptr %143, i64 5 store float %142, ptr %144, align 4 %145 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 3 %146 = load float, ptr %145, align 4 %147 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 7 %148 = load float, ptr %147, align 4 %149 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 6 %150 = load float, ptr %149, align 8 %151 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 4 %152 = load float, ptr %151, align 16 %153 = fmul float %150, %152 %154 = fneg float %153 %155 = call float @llvm.fmuladd.f32(float %146, float %148, float %154) %156 = load float, ptr %4, align 4 %157 = fmul float %155, %156 %158 = load ptr, ptr %2, align 8 %159 = getelementptr inbounds float, ptr %158, i64 6 store float %157, ptr %159, align 4 %160 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 0 %161 = load float, ptr %160, align 16 %162 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 7 %163 = load float, ptr %162, align 4 %164 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 1 %165 = load float, ptr %164, align 4 %166 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 6 %167 = load float, ptr %166, align 8 %168 = fmul float %165, %167 %169 = fneg float %168 %170 = call float @llvm.fmuladd.f32(float %161, float %163, float %169) %171 = fneg float %170 %172 = load float, ptr %4, align 4 %173 = fmul float %171, %172 %174 = load ptr, ptr %2, align 8 %175 = getelementptr inbounds float, ptr %174, i64 7 store float %173, ptr %175, align 4 %176 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 0 %177 = load float, ptr %176, align 16 %178 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 4 %179 = load float, ptr %178, align 16 %180 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 1 %181 = load float, ptr %180, align 4 %182 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 3 %183 = load float, ptr %182, align 4 %184 = fmul float %181, %183 %185 = fneg float %184 %186 = call float @llvm.fmuladd.f32(float %177, float %179, float %185) %187 = load float, ptr %4, align 4 %188 = fmul float %186, %187 %189 = load ptr, ptr %2, align 8 %190 = getelementptr inbounds float, ptr %189, i64 8 store float %188, ptr %190, align 4 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9vqbdtfw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @geom_matinv3f(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [9 x float], align 16 %4 = alloca float, align 4 store ptr %0, ptr %2, align 8 %5 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 0 %6 = load ptr, ptr %2, align 8 %7 = call i32 @memcpy(ptr noundef %5, ptr noundef %6, i32 noundef 36) %8 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 0 %9 = load float, ptr %8, align 16 %10 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 4 %11 = load float, ptr %10, align 16 %12 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 8 %13 = load float, ptr %12, align 16 %14 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 5 %15 = load float, ptr %14, align 4 %16 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 7 %17 = load float, ptr %16, align 4 %18 = fmul float %15, %17 %19 = fneg float %18 %20 = call float @llvm.fmuladd.f32(float %11, float %13, float %19) %21 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 3 %22 = load float, ptr %21, align 4 %23 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 1 %24 = load float, ptr %23, align 4 %25 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 8 %26 = load float, ptr %25, align 16 %27 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 7 %28 = load float, ptr %27, align 4 %29 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 2 %30 = load float, ptr %29, align 8 %31 = fmul float %28, %30 %32 = fneg float %31 %33 = call float @llvm.fmuladd.f32(float %24, float %26, float %32) %34 = fmul float %22, %33 %35 = fneg float %34 %36 = call float @llvm.fmuladd.f32(float %9, float %20, float %35) %37 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 6 %38 = load float, ptr %37, align 8 %39 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 1 %40 = load float, ptr %39, align 4 %41 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 5 %42 = load float, ptr %41, align 4 %43 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 4 %44 = load float, ptr %43, align 16 %45 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 2 %46 = load float, ptr %45, align 8 %47 = fmul float %44, %46 %48 = fneg float %47 %49 = call float @llvm.fmuladd.f32(float %40, float %42, float %48) %50 = call float @llvm.fmuladd.f32(float %38, float %49, float %36) %51 = fdiv float 1.000000e+00, %50 store float %51, ptr %4, align 4 %52 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 4 %53 = load float, ptr %52, align 16 %54 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 8 %55 = load float, ptr %54, align 16 %56 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 5 %57 = load float, ptr %56, align 4 %58 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 7 %59 = load float, ptr %58, align 4 %60 = fmul float %57, %59 %61 = fneg float %60 %62 = call float @llvm.fmuladd.f32(float %53, float %55, float %61) %63 = load float, ptr %4, align 4 %64 = fmul float %62, %63 %65 = load ptr, ptr %2, align 8 %66 = getelementptr inbounds float, ptr %65, i64 0 store float %64, ptr %66, align 4 %67 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 1 %68 = load float, ptr %67, align 4 %69 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 8 %70 = load float, ptr %69, align 16 %71 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 7 %72 = load float, ptr %71, align 4 %73 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 2 %74 = load float, ptr %73, align 8 %75 = fmul float %72, %74 %76 = fneg float %75 %77 = call float @llvm.fmuladd.f32(float %68, float %70, float %76) %78 = fneg float %77 %79 = load float, ptr %4, align 4 %80 = fmul float %78, %79 %81 = load ptr, ptr %2, align 8 %82 = getelementptr inbounds float, ptr %81, i64 1 store float %80, ptr %82, align 4 %83 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 1 %84 = load float, ptr %83, align 4 %85 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 5 %86 = load float, ptr %85, align 4 %87 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 2 %88 = load float, ptr %87, align 8 %89 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 4 %90 = load float, ptr %89, align 16 %91 = fmul float %88, %90 %92 = fneg float %91 %93 = call float @llvm.fmuladd.f32(float %84, float %86, float %92) %94 = load float, ptr %4, align 4 %95 = fmul float %93, %94 %96 = load ptr, ptr %2, align 8 %97 = getelementptr inbounds float, ptr %96, i64 2 store float %95, ptr %97, align 4 %98 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 3 %99 = load float, ptr %98, align 4 %100 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 8 %101 = load float, ptr %100, align 16 %102 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 6 %103 = load float, ptr %102, align 8 %104 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 5 %105 = load float, ptr %104, align 4 %106 = fmul float %103, %105 %107 = fneg float %106 %108 = call float @llvm.fmuladd.f32(float %99, float %101, float %107) %109 = fneg float %108 %110 = load float, ptr %4, align 4 %111 = fmul float %109, %110 %112 = load ptr, ptr %2, align 8 %113 = getelementptr inbounds float, ptr %112, i64 3 store float %111, ptr %113, align 4 %114 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 0 %115 = load float, ptr %114, align 16 %116 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 8 %117 = load float, ptr %116, align 16 %118 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 6 %119 = load float, ptr %118, align 8 %120 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 2 %121 = load float, ptr %120, align 8 %122 = fmul float %119, %121 %123 = fneg float %122 %124 = call float @llvm.fmuladd.f32(float %115, float %117, float %123) %125 = load float, ptr %4, align 4 %126 = fmul float %124, %125 %127 = load ptr, ptr %2, align 8 %128 = getelementptr inbounds float, ptr %127, i64 4 store float %126, ptr %128, align 4 %129 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 0 %130 = load float, ptr %129, align 16 %131 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 5 %132 = load float, ptr %131, align 4 %133 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 2 %134 = load float, ptr %133, align 8 %135 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 3 %136 = load float, ptr %135, align 4 %137 = fmul float %134, %136 %138 = fneg float %137 %139 = call float @llvm.fmuladd.f32(float %130, float %132, float %138) %140 = fneg float %139 %141 = load float, ptr %4, align 4 %142 = fmul float %140, %141 %143 = load ptr, ptr %2, align 8 %144 = getelementptr inbounds float, ptr %143, i64 5 store float %142, ptr %144, align 4 %145 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 3 %146 = load float, ptr %145, align 4 %147 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 7 %148 = load float, ptr %147, align 4 %149 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 6 %150 = load float, ptr %149, align 8 %151 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 4 %152 = load float, ptr %151, align 16 %153 = fmul float %150, %152 %154 = fneg float %153 %155 = call float @llvm.fmuladd.f32(float %146, float %148, float %154) %156 = load float, ptr %4, align 4 %157 = fmul float %155, %156 %158 = load ptr, ptr %2, align 8 %159 = getelementptr inbounds float, ptr %158, i64 6 store float %157, ptr %159, align 4 %160 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 0 %161 = load float, ptr %160, align 16 %162 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 7 %163 = load float, ptr %162, align 4 %164 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 1 %165 = load float, ptr %164, align 4 %166 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 6 %167 = load float, ptr %166, align 8 %168 = fmul float %165, %167 %169 = fneg float %168 %170 = call float @llvm.fmuladd.f32(float %161, float %163, float %169) %171 = fneg float %170 %172 = load float, ptr %4, align 4 %173 = fmul float %171, %172 %174 = load ptr, ptr %2, align 8 %175 = getelementptr inbounds float, ptr %174, i64 7 store float %173, ptr %175, align 4 %176 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 0 %177 = load float, ptr %176, align 16 %178 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 4 %179 = load float, ptr %178, align 16 %180 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 1 %181 = load float, ptr %180, align 4 %182 = getelementptr inbounds [9 x float], ptr %3, i64 0, i64 3 %183 = load float, ptr %182, align 4 %184 = fmul float %181, %183 %185 = fneg float %184 %186 = call float @llvm.fmuladd.f32(float %177, float %179, float %185) %187 = load float, ptr %4, align 4 %188 = fmul float %186, %187 %189 = load ptr, ptr %2, align 8 %190 = getelementptr inbounds float, ptr %189, i64 8 store float %188, ptr %190, align 4 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk6t_gsrs.c' source_filename = "/tmp/tmpk6t_gsrs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %11, %0 %4 = call i32 (...) @getchar() store i32 %4, ptr %2, align 4 %5 = load i32, ptr @EOF, align 4 %6 = icmp ne i32 %4, %5 br i1 %6, label %7, label %12 7: ; preds = %3 %8 = load i32, ptr %2, align 4 %9 = icmp sgt i32 %8, 127 br i1 %9, label %10, label %11 10: ; preds = %7 store i32 1, ptr %1, align 4 br label %13 11: ; preds = %7 br label %3, !llvm.loop !6 12: ; preds = %3 store i32 0, ptr %1, align 4 br label %13 13: ; preds = %12, %10 %14 = load i32, ptr %1, align 4 ret i32 %14 } declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk6t_gsrs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @getchar() store i32 %3, ptr %2, align 4 %4 = load i32, ptr @EOF, align 4 %5 = icmp ne i32 %3, %4 br i1 %5, label %.lr.ph, label %14 .lr.ph: ; preds = %0 br label %10 6: ; preds = %10 %7 = call i32 (...) @getchar() store i32 %7, ptr %2, align 4 %8 = load i32, ptr @EOF, align 4 %9 = icmp ne i32 %7, %8 br i1 %9, label %10, label %._crit_edge, !llvm.loop !6 10: ; preds = %.lr.ph, %6 %11 = load i32, ptr %2, align 4 %12 = icmp sgt i32 %11, 127 br i1 %12, label %13, label %6 13: ; preds = %10 store i32 1, ptr %1, align 4 br label %15 ._crit_edge: ; preds = %6 br label %14 14: ; preds = %._crit_edge, %0 store i32 0, ptr %1, align 4 br label %15 15: ; preds = %14, %13 %16 = load i32, ptr %1, align 4 ret i32 %16 } declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpm8d_w4hz.c' source_filename = "/tmp/tmpm8d_w4hz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"please input device\0A\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"open device error!!\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"open success!!\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"write %d data\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 [20 x i8], align 16 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %9, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %46 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = load i32, ptr @O_RDWR, align 4 %19 = call i32 @open(ptr noundef %17, i32 noundef %18) store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %14 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %46 24: ; preds = %14 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %9, align 4 br label %26 26: ; preds = %35, %24 %27 = load i32, ptr %9, align 4 %28 = icmp slt i32 %27, 20 br i1 %28, label %29, label %38 29: ; preds = %26 %30 = load i32, ptr %9, align 4 %31 = trunc i32 %30 to i8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %33 store i8 %31, ptr %34, align 1 br label %35 35: ; preds = %29 %36 = load i32, ptr %9, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %9, align 4 br label %26, !llvm.loop !6 38: ; preds = %26 %39 = load i32, ptr %7, align 4 %40 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0 %41 = call i32 @write(i32 noundef %39, ptr noundef %40, i32 noundef 20) store i32 %41, ptr %6, align 4 %42 = load i32, ptr %6, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %42) %44 = load i32, ptr %7, align 4 %45 = call i32 @close(i32 noundef %44) store i32 0, ptr %3, align 4 br label %46 46: ; preds = %38, %22, %12 %47 = load i32, ptr %3, align 4 ret i32 %47 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm8d_w4hz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"please input device\0A\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"open device error!!\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"open success!!\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"write %d data\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 [20 x i8], align 16 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %9, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %47 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = load i32, ptr @O_RDWR, align 4 %19 = call i32 @open(ptr noundef %17, i32 noundef %18) store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %14 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %47 24: ; preds = %14 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %9, align 4 %26 = load i32, ptr %9, align 4 %27 = icmp slt i32 %26, 20 br i1 %27, label %.lr.ph, label %39 .lr.ph: ; preds = %24 br label %28 28: ; preds = %.lr.ph, %34 %29 = load i32, ptr %9, align 4 %30 = trunc i32 %29 to i8 %31 = load i32, ptr %9, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %32 store i8 %30, ptr %33, align 1 br label %34 34: ; preds = %28 %35 = load i32, ptr %9, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %9, align 4 %37 = load i32, ptr %9, align 4 %38 = icmp slt i32 %37, 20 br i1 %38, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %39 39: ; preds = %._crit_edge, %24 %40 = load i32, ptr %7, align 4 %41 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0 %42 = call i32 @write(i32 noundef %40, ptr noundef %41, i32 noundef 20) store i32 %42, ptr %6, align 4 %43 = load i32, ptr %6, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %43) %45 = load i32, ptr %7, align 4 %46 = call i32 @close(i32 noundef %45) store i32 0, ptr %3, align 4 br label %47 47: ; preds = %39, %22, %12 %48 = load i32, ptr %3, align 4 ret i32 %48 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpmak2dh0j.c' source_filename = "/tmp/tmpmak2dh0j.c" target datalayout = "e-m:e-p270: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/tmpmak2dh0j.c" target datalayout = "e-m:e-p270: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/tmpqslpjj_f.c' source_filename = "/tmp/tmpqslpjj_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @play_music() #0 { %1 = call i32 (...) @pt3_decode() %2 = call i32 (...) @pt3_play() ret void } declare i32 @pt3_decode(...) #1 declare i32 @pt3_play(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqslpjj_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @play_music() #0 { %1 = call i32 (...) @pt3_decode() %2 = call i32 (...) @pt3_play() ret void } declare i32 @pt3_decode(...) #1 declare i32 @pt3_play(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4gx0ys2z.c' source_filename = "/tmp/tmp4gx0ys2z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s/\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @link_pathname(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %15 = load ptr, ptr %7, align 8 store ptr null, ptr %15, align 8 %16 = load ptr, ptr %8, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %22 18: ; preds = %5 %19 = load ptr, ptr %8, align 8 %20 = call i32 @strlen(ptr noundef %19) store i32 %20, ptr %12, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18, %5 store i32 -1, ptr %6, align 4 br label %162 23: ; preds = %18 %24 = load ptr, ptr %8, align 8 %25 = call i64 @slash_followed(ptr noundef %24) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %23 %28 = load i32, ptr %12, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %12, align 4 br label %30 30: ; preds = %27, %23 %31 = load ptr, ptr %9, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %33, label %52 33: ; preds = %30 %34 = load ptr, ptr %9, align 8 %35 = call i32 @strlen(ptr noundef %34) %36 = load i32, ptr %12, align 4 %37 = add nsw i32 %36, %35 store i32 %37, ptr %12, align 4 %38 = load ptr, ptr %9, align 8 %39 = call i32 @slash_preceded(ptr noundef %38) %40 = icmp eq i32 %39, 1 br i1 %40, label %41, label %44 41: ; preds = %33 %42 = load i32, ptr %12, align 4 %43 = add nsw i32 %42, -1 store i32 %43, ptr %12, align 4 br label %44 44: ; preds = %41, %33 %45 = load ptr, ptr %9, align 8 %46 = call i64 @slash_followed(ptr noundef %45) %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %44 %49 = load i32, ptr %12, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %12, align 4 br label %51 51: ; preds = %48, %44 br label %52 52: ; preds = %51, %30 %53 = load ptr, ptr %10, align 8 %54 = icmp ne ptr %53, null br i1 %54, label %55, label %67 55: ; preds = %52 %56 = load ptr, ptr %10, align 8 %57 = call i32 @strlen(ptr noundef %56) %58 = load i32, ptr %12, align 4 %59 = add nsw i32 %58, %57 store i32 %59, ptr %12, align 4 %60 = load ptr, ptr %10, align 8 %61 = call i32 @slash_preceded(ptr noundef %60) %62 = icmp eq i32 %61, 1 br i1 %62, label %63, label %66 63: ; preds = %55 %64 = load i32, ptr %12, align 4 %65 = add nsw i32 %64, -1 store i32 %65, ptr %12, align 4 br label %66 66: ; preds = %63, %55 br label %67 67: ; preds = %66, %52 %68 = load ptr, ptr %11, align 8 %69 = icmp ne ptr %68, null br i1 %69, label %70, label %75 70: ; preds = %67 %71 = load ptr, ptr %11, align 8 %72 = call i32 @strlen(ptr noundef %71) %73 = load i32, ptr %12, align 4 %74 = add nsw i32 %73, %72 store i32 %74, ptr %12, align 4 br label %75 75: ; preds = %70, %67 %76 = load i32, ptr %12, align 4 %77 = add nsw i32 %76, 1 %78 = call i64 @malloc(i32 noundef %77) %79 = inttoptr i64 %78 to ptr store ptr %79, ptr %13, align 8 %80 = load ptr, ptr %13, align 8 %81 = icmp ne ptr %80, null br i1 %81, label %84, label %82 82: ; preds = %75 %83 = load ptr, ptr %7, align 8 store ptr null, ptr %83, align 8 store i32 -1, ptr %6, align 4 br label %162 84: ; preds = %75 %85 = load ptr, ptr %8, align 8 %86 = call i64 @slash_followed(ptr noundef %85) %87 = icmp eq i64 %86, 0 %88 = zext i1 %87 to i64 %89 = select i1 %87, ptr @.str, ptr @.str.1 store ptr %89, ptr %14, align 8 %90 = load ptr, ptr %13, align 8 %91 = load ptr, ptr %14, align 8 %92 = load ptr, ptr %8, align 8 %93 = call i32 @sprintf(ptr noundef %90, ptr noundef %91, ptr noundef %92) store i32 %93, ptr %12, align 4 %94 = load ptr, ptr %9, align 8 %95 = icmp ne ptr %94, null br i1 %95, label %96, label %124 96: ; preds = %84 %97 = load ptr, ptr %9, align 8 %98 = call i32 @slash_preceded(ptr noundef %97) %99 = icmp eq i32 %98, 1 br i1 %99, label %100, label %103 100: ; preds = %96 %101 = load ptr, ptr %9, align 8 %102 = getelementptr inbounds i8, ptr %101, i32 1 store ptr %102, ptr %9, align 8 br label %103 103: ; preds = %100, %96 %104 = load ptr, ptr %9, align 8 %105 = load i8, ptr %104, align 1 %106 = sext i8 %105 to i32 %107 = icmp ne i32 %106, 0 br i1 %107, label %108, label %123 108: ; preds = %103 %109 = load ptr, ptr %9, align 8 %110 = call i64 @slash_followed(ptr noundef %109) %111 = icmp eq i64 %110, 0 %112 = zext i1 %111 to i64 %113 = select i1 %111, ptr @.str, ptr @.str.1 store ptr %113, ptr %14, align 8 %114 = load ptr, ptr %13, align 8 %115 = load i32, ptr %12, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds i8, ptr %114, i64 %116 %118 = load ptr, ptr %14, align 8 %119 = load ptr, ptr %9, align 8 %120 = call i32 @sprintf(ptr noundef %117, ptr noundef %118, ptr noundef %119) %121 = load i32, ptr %12, align 4 %122 = add nsw i32 %121, %120 store i32 %122, ptr %12, align 4 br label %123 123: ; preds = %108, %103 br label %124 124: ; preds = %123, %84 %125 = load ptr, ptr %10, align 8 %126 = icmp ne ptr %125, null br i1 %126, label %127, label %143 127: ; preds = %124 %128 = load ptr, ptr %10, align 8 %129 = call i32 @slash_preceded(ptr noundef %128) %130 = icmp eq i32 %129, 1 br i1 %130, label %131, label %134 131: ; preds = %127 %132 = load ptr, ptr %10, align 8 %133 = getelementptr inbounds i8, ptr %132, i32 1 store ptr %133, ptr %10, align 8 br label %134 134: ; preds = %131, %127 %135 = load ptr, ptr %13, align 8 %136 = load i32, ptr %12, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds i8, ptr %135, i64 %137 %139 = load ptr, ptr %10, align 8 %140 = call i32 @sprintf(ptr noundef %138, ptr noundef @.str.1, ptr noundef %139) %141 = load i32, ptr %12, align 4 %142 = add nsw i32 %141, %140 store i32 %142, ptr %12, align 4 br label %143 143: ; preds = %134, %124 %144 = load ptr, ptr %11, align 8 %145 = icmp ne ptr %144, null br i1 %145, label %146, label %155 146: ; preds = %143 %147 = load ptr, ptr %13, align 8 %148 = load i32, ptr %12, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds i8, ptr %147, i64 %149 %151 = load ptr, ptr %11, align 8 %152 = call i32 @sprintf(ptr noundef %150, ptr noundef @.str.1, ptr noundef %151) %153 = load i32, ptr %12, align 4 %154 = add nsw i32 %153, %152 store i32 %154, ptr %12, align 4 br label %155 155: ; preds = %146, %143 %156 = load ptr, ptr %13, align 8 %157 = load i32, ptr %12, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds i8, ptr %156, i64 %158 store i8 0, ptr %159, align 1 %160 = load ptr, ptr %13, align 8 %161 = load ptr, ptr %7, align 8 store ptr %160, ptr %161, align 8 store i32 0, ptr %6, align 4 br label %162 162: ; preds = %155, %82, %22 %163 = load i32, ptr %6, align 4 ret i32 %163 } declare i32 @strlen(ptr noundef) #1 declare i64 @slash_followed(ptr noundef) #1 declare i32 @slash_preceded(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @sprintf(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/tmp4gx0ys2z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s/\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @link_pathname(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %15 = load ptr, ptr %7, align 8 store ptr null, ptr %15, align 8 %16 = load ptr, ptr %8, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %22 18: ; preds = %5 %19 = load ptr, ptr %8, align 8 %20 = call i32 @strlen(ptr noundef %19) store i32 %20, ptr %12, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18, %5 store i32 -1, ptr %6, align 4 br label %162 23: ; preds = %18 %24 = load ptr, ptr %8, align 8 %25 = call i64 @slash_followed(ptr noundef %24) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %23 %28 = load i32, ptr %12, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %12, align 4 br label %30 30: ; preds = %27, %23 %31 = load ptr, ptr %9, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %33, label %52 33: ; preds = %30 %34 = load ptr, ptr %9, align 8 %35 = call i32 @strlen(ptr noundef %34) %36 = load i32, ptr %12, align 4 %37 = add nsw i32 %36, %35 store i32 %37, ptr %12, align 4 %38 = load ptr, ptr %9, align 8 %39 = call i32 @slash_preceded(ptr noundef %38) %40 = icmp eq i32 %39, 1 br i1 %40, label %41, label %44 41: ; preds = %33 %42 = load i32, ptr %12, align 4 %43 = add nsw i32 %42, -1 store i32 %43, ptr %12, align 4 br label %44 44: ; preds = %41, %33 %45 = load ptr, ptr %9, align 8 %46 = call i64 @slash_followed(ptr noundef %45) %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %44 %49 = load i32, ptr %12, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %12, align 4 br label %51 51: ; preds = %48, %44 br label %52 52: ; preds = %51, %30 %53 = load ptr, ptr %10, align 8 %54 = icmp ne ptr %53, null br i1 %54, label %55, label %67 55: ; preds = %52 %56 = load ptr, ptr %10, align 8 %57 = call i32 @strlen(ptr noundef %56) %58 = load i32, ptr %12, align 4 %59 = add nsw i32 %58, %57 store i32 %59, ptr %12, align 4 %60 = load ptr, ptr %10, align 8 %61 = call i32 @slash_preceded(ptr noundef %60) %62 = icmp eq i32 %61, 1 br i1 %62, label %63, label %66 63: ; preds = %55 %64 = load i32, ptr %12, align 4 %65 = add nsw i32 %64, -1 store i32 %65, ptr %12, align 4 br label %66 66: ; preds = %63, %55 br label %67 67: ; preds = %66, %52 %68 = load ptr, ptr %11, align 8 %69 = icmp ne ptr %68, null br i1 %69, label %70, label %75 70: ; preds = %67 %71 = load ptr, ptr %11, align 8 %72 = call i32 @strlen(ptr noundef %71) %73 = load i32, ptr %12, align 4 %74 = add nsw i32 %73, %72 store i32 %74, ptr %12, align 4 br label %75 75: ; preds = %70, %67 %76 = load i32, ptr %12, align 4 %77 = add nsw i32 %76, 1 %78 = call i64 @malloc(i32 noundef %77) %79 = inttoptr i64 %78 to ptr store ptr %79, ptr %13, align 8 %80 = load ptr, ptr %13, align 8 %81 = icmp ne ptr %80, null br i1 %81, label %84, label %82 82: ; preds = %75 %83 = load ptr, ptr %7, align 8 store ptr null, ptr %83, align 8 store i32 -1, ptr %6, align 4 br label %162 84: ; preds = %75 %85 = load ptr, ptr %8, align 8 %86 = call i64 @slash_followed(ptr noundef %85) %87 = icmp eq i64 %86, 0 %88 = zext i1 %87 to i64 %89 = select i1 %87, ptr @.str, ptr @.str.1 store ptr %89, ptr %14, align 8 %90 = load ptr, ptr %13, align 8 %91 = load ptr, ptr %14, align 8 %92 = load ptr, ptr %8, align 8 %93 = call i32 @sprintf(ptr noundef %90, ptr noundef %91, ptr noundef %92) store i32 %93, ptr %12, align 4 %94 = load ptr, ptr %9, align 8 %95 = icmp ne ptr %94, null br i1 %95, label %96, label %124 96: ; preds = %84 %97 = load ptr, ptr %9, align 8 %98 = call i32 @slash_preceded(ptr noundef %97) %99 = icmp eq i32 %98, 1 br i1 %99, label %100, label %103 100: ; preds = %96 %101 = load ptr, ptr %9, align 8 %102 = getelementptr inbounds i8, ptr %101, i32 1 store ptr %102, ptr %9, align 8 br label %103 103: ; preds = %100, %96 %104 = load ptr, ptr %9, align 8 %105 = load i8, ptr %104, align 1 %106 = sext i8 %105 to i32 %107 = icmp ne i32 %106, 0 br i1 %107, label %108, label %123 108: ; preds = %103 %109 = load ptr, ptr %9, align 8 %110 = call i64 @slash_followed(ptr noundef %109) %111 = icmp eq i64 %110, 0 %112 = zext i1 %111 to i64 %113 = select i1 %111, ptr @.str, ptr @.str.1 store ptr %113, ptr %14, align 8 %114 = load ptr, ptr %13, align 8 %115 = load i32, ptr %12, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds i8, ptr %114, i64 %116 %118 = load ptr, ptr %14, align 8 %119 = load ptr, ptr %9, align 8 %120 = call i32 @sprintf(ptr noundef %117, ptr noundef %118, ptr noundef %119) %121 = load i32, ptr %12, align 4 %122 = add nsw i32 %121, %120 store i32 %122, ptr %12, align 4 br label %123 123: ; preds = %108, %103 br label %124 124: ; preds = %123, %84 %125 = load ptr, ptr %10, align 8 %126 = icmp ne ptr %125, null br i1 %126, label %127, label %143 127: ; preds = %124 %128 = load ptr, ptr %10, align 8 %129 = call i32 @slash_preceded(ptr noundef %128) %130 = icmp eq i32 %129, 1 br i1 %130, label %131, label %134 131: ; preds = %127 %132 = load ptr, ptr %10, align 8 %133 = getelementptr inbounds i8, ptr %132, i32 1 store ptr %133, ptr %10, align 8 br label %134 134: ; preds = %131, %127 %135 = load ptr, ptr %13, align 8 %136 = load i32, ptr %12, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds i8, ptr %135, i64 %137 %139 = load ptr, ptr %10, align 8 %140 = call i32 @sprintf(ptr noundef %138, ptr noundef @.str.1, ptr noundef %139) %141 = load i32, ptr %12, align 4 %142 = add nsw i32 %141, %140 store i32 %142, ptr %12, align 4 br label %143 143: ; preds = %134, %124 %144 = load ptr, ptr %11, align 8 %145 = icmp ne ptr %144, null br i1 %145, label %146, label %155 146: ; preds = %143 %147 = load ptr, ptr %13, align 8 %148 = load i32, ptr %12, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds i8, ptr %147, i64 %149 %151 = load ptr, ptr %11, align 8 %152 = call i32 @sprintf(ptr noundef %150, ptr noundef @.str.1, ptr noundef %151) %153 = load i32, ptr %12, align 4 %154 = add nsw i32 %153, %152 store i32 %154, ptr %12, align 4 br label %155 155: ; preds = %146, %143 %156 = load ptr, ptr %13, align 8 %157 = load i32, ptr %12, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds i8, ptr %156, i64 %158 store i8 0, ptr %159, align 1 %160 = load ptr, ptr %13, align 8 %161 = load ptr, ptr %7, align 8 store ptr %160, ptr %161, align 8 store i32 0, ptr %6, align 4 br label %162 162: ; preds = %155, %82, %22 %163 = load i32, ptr %6, align 4 ret i32 %163 } declare i32 @strlen(ptr noundef) #1 declare i64 @slash_followed(ptr noundef) #1 declare i32 @slash_preceded(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @sprintf(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/tmpi0s2ff_n.c' source_filename = "/tmp/tmpi0s2ff_n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printsafe(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = call i32 @write(i32 noundef 0, ptr noundef %3, i32 noundef %5) ret void } declare i32 @write(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/tmpi0s2ff_n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printsafe(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = call i32 @write(i32 noundef 0, ptr noundef %3, i32 noundef %5) ret void } declare i32 @write(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/tmp2b_f4qqt.c' source_filename = "/tmp/tmp2b_f4qqt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prj_get_numprelinkcommands() #0 { %1 = call i64 (...) @prj_get_prelinkcommands() %2 = inttoptr i64 %1 to ptr %3 = call i32 @prj_getlistsize(ptr noundef %2) ret i32 %3 } declare i32 @prj_getlistsize(ptr noundef) #1 declare i64 @prj_get_prelinkcommands(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2b_f4qqt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prj_get_numprelinkcommands() #0 { %1 = call i64 (...) @prj_get_prelinkcommands() %2 = inttoptr i64 %1 to ptr %3 = call i32 @prj_getlistsize(ptr noundef %2) ret i32 %3 } declare i32 @prj_getlistsize(ptr noundef) #1 declare i64 @prj_get_prelinkcommands(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj0roxud6.c' source_filename = "/tmp/tmpj0roxud6.c" target datalayout = "e-m:e-p270: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 [39 x i8] c"Fahrenheit\09Celsius\0A----------\09-------\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"%10.0f\09%7.1f\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 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 0.000000e+00, ptr %4, align 4 store float 3.000000e+02, ptr %5, align 4 store float 2.000000e+01, ptr %6, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = load float, ptr %4, align 4 store float %8, ptr %2, align 4 br label %9 9: ; preds = %13, %0 %10 = load float, ptr %2, align 4 %11 = load float, ptr %5, align 4 %12 = fcmp ole float %10, %11 br i1 %12, label %13, label %24 13: ; preds = %9 %14 = load float, ptr %2, align 4 %15 = call float @fahr_to_celsius(float noundef %14) store float %15, ptr %3, align 4 %16 = load float, ptr %2, align 4 %17 = fpext float %16 to double %18 = load float, ptr %3, align 4 %19 = fpext float %18 to double %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %17, double noundef %19) %21 = load float, ptr %2, align 4 %22 = load float, ptr %6, align 4 %23 = fadd float %21, %22 store float %23, ptr %2, align 4 br label %9, !llvm.loop !6 24: ; preds = %9 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare float @fahr_to_celsius(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj0roxud6.c" target datalayout = "e-m:e-p270: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 [39 x i8] c"Fahrenheit\09Celsius\0A----------\09-------\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"%10.0f\09%7.1f\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 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 0.000000e+00, ptr %4, align 4 store float 3.000000e+02, ptr %5, align 4 store float 2.000000e+01, ptr %6, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = load float, ptr %4, align 4 store float %8, ptr %2, align 4 %9 = load float, ptr %2, align 4 %10 = load float, ptr %5, align 4 %11 = fcmp ole float %9, %10 br i1 %11, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %12 %13 = load float, ptr %2, align 4 %14 = call float @fahr_to_celsius(float noundef %13) store float %14, ptr %3, align 4 %15 = load float, ptr %2, align 4 %16 = fpext float %15 to double %17 = load float, ptr %3, align 4 %18 = fpext float %17 to double %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %16, double noundef %18) %20 = load float, ptr %2, align 4 %21 = load float, ptr %6, align 4 %22 = fadd float %20, %21 store float %22, ptr %2, align 4 %23 = load float, ptr %2, align 4 %24 = load float, ptr %5, align 4 %25 = fcmp ole float %23, %24 br i1 %25, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %26 26: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare float @fahr_to_celsius(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0pzssv34.c' source_filename = "/tmp/tmp0pzssv34.c" target datalayout = "e-m:e-p270: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"TN\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"NN\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @covecef(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 [9 x double], align 16 %8 = alloca [9 x double], align 16 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 %4, align 8 %10 = getelementptr inbounds [9 x double], ptr %7, i64 0, i64 0 %11 = call i32 @xyz2enu(ptr noundef %9, ptr noundef %10) %12 = getelementptr inbounds [9 x double], ptr %7, i64 0, i64 0 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds [9 x double], ptr %8, i64 0, i64 0 %15 = call i32 @matmul(ptr noundef @.str, i32 noundef 3, i32 noundef 3, i32 noundef 3, double noundef 1.000000e+00, ptr noundef %12, ptr noundef %13, double noundef 0.000000e+00, ptr noundef %14) %16 = getelementptr inbounds [9 x double], ptr %8, i64 0, i64 0 %17 = getelementptr inbounds [9 x double], ptr %7, i64 0, i64 0 %18 = load ptr, ptr %6, align 8 %19 = call i32 @matmul(ptr noundef @.str.1, i32 noundef 3, i32 noundef 3, i32 noundef 3, double noundef 1.000000e+00, ptr noundef %16, ptr noundef %17, double noundef 0.000000e+00, ptr noundef %18) ret void } declare i32 @xyz2enu(ptr noundef, ptr noundef) #1 declare i32 @matmul(ptr noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, ptr noundef, ptr noundef, double 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/tmp0pzssv34.c" target datalayout = "e-m:e-p270: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"TN\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"NN\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @covecef(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 [9 x double], align 16 %8 = alloca [9 x double], align 16 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 %4, align 8 %10 = getelementptr inbounds [9 x double], ptr %7, i64 0, i64 0 %11 = call i32 @xyz2enu(ptr noundef %9, ptr noundef %10) %12 = getelementptr inbounds [9 x double], ptr %7, i64 0, i64 0 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds [9 x double], ptr %8, i64 0, i64 0 %15 = call i32 @matmul(ptr noundef @.str, i32 noundef 3, i32 noundef 3, i32 noundef 3, double noundef 1.000000e+00, ptr noundef %12, ptr noundef %13, double noundef 0.000000e+00, ptr noundef %14) %16 = getelementptr inbounds [9 x double], ptr %8, i64 0, i64 0 %17 = getelementptr inbounds [9 x double], ptr %7, i64 0, i64 0 %18 = load ptr, ptr %6, align 8 %19 = call i32 @matmul(ptr noundef @.str.1, i32 noundef 3, i32 noundef 3, i32 noundef 3, double noundef 1.000000e+00, ptr noundef %16, ptr noundef %17, double noundef 0.000000e+00, ptr noundef %18) ret void } declare i32 @xyz2enu(ptr noundef, ptr noundef) #1 declare i32 @matmul(ptr noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, ptr noundef, ptr noundef, double 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/tmp52hf19eo.c' source_filename = "/tmp/tmp52hf19eo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %union.anon = type { [4 x i32] } @.str = private unnamed_addr constant [65 x i8] c"%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @generate_msmuid(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca %union.anon, align 4 %7 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %15, %2 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 4 br i1 %10, label %11, label %18 11: ; preds = %8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 %13 store i32 1, ptr %14, align 4 br label %15 15: ; preds = %11 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %5, align 4 br label %8, !llvm.loop !6 18: ; preds = %8 store i32 0, ptr %5, align 4 br label %19 19: ; preds = %84, %18 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %26, label %87 26: ; preds = %19 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 store i8 %31, ptr %7, align 1 %32 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0 %33 = load i32, ptr %32, align 4 %34 = add i32 %33, 858362130 %35 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2 %36 = load i32, ptr %35, align 4 %37 = load i8, ptr %7, align 1 %38 = zext i8 %37 to i32 %39 = mul i32 %36, %38 %40 = add i32 %34, %39 %41 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 3 %42 = load i32, ptr %41, align 4 %43 = xor i32 %40, %42 %44 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0 store i32 %43, ptr %44, align 4 %45 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1 %46 = load i32, ptr %45, align 4 %47 = add i32 %46, 323333922 %48 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 3 %49 = load i32, ptr %48, align 4 %50 = load i8, ptr %7, align 1 %51 = zext i8 %50 to i32 %52 = mul i32 %49, %51 %53 = add i32 %47, %52 %54 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2 %55 = load i32, ptr %54, align 4 %56 = xor i32 %53, %55 %57 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1 store i32 %56, ptr %57, align 4 %58 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2 %59 = load i32, ptr %58, align 4 %60 = add i32 %59, 1940464434 %61 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0 %62 = load i32, ptr %61, align 4 %63 = load i8, ptr %7, align 1 %64 = zext i8 %63 to i32 %65 = mul i32 %62, %64 %66 = add i32 %60, %65 %67 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1 %68 = load i32, ptr %67, align 4 %69 = xor i32 %66, %68 %70 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2 store i32 %69, ptr %70, align 4 %71 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 3 %72 = load i32, ptr %71, align 4 %73 = add i32 %72, 1361292225 %74 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1 %75 = load i32, ptr %74, align 4 %76 = load i8, ptr %7, align 1 %77 = zext i8 %76 to i32 %78 = mul i32 %75, %77 %79 = add i32 %73, %78 %80 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0 %81 = load i32, ptr %80, align 4 %82 = xor i32 %79, %81 %83 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 3 store i32 %82, ptr %83, align 4 br label %84 84: ; preds = %26 %85 = load i32, ptr %5, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %5, align 4 br label %19, !llvm.loop !8 87: ; preds = %19 %88 = load ptr, ptr %3, align 8 %89 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %90 = load i8, ptr %89, align 4 %91 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 1 %92 = load i8, ptr %91, align 1 %93 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 2 %94 = load i8, ptr %93, align 2 %95 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 3 %96 = load i8, ptr %95, align 1 %97 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 4 %98 = load i8, ptr %97, align 4 %99 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 5 %100 = load i8, ptr %99, align 1 %101 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 6 %102 = load i8, ptr %101, align 2 %103 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 7 %104 = load i8, ptr %103, align 1 %105 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 8 %106 = load i8, ptr %105, align 4 %107 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 9 %108 = load i8, ptr %107, align 1 %109 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 10 %110 = load i8, ptr %109, align 2 %111 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 11 %112 = load i8, ptr %111, align 1 %113 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 12 %114 = load i8, ptr %113, align 4 %115 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 13 %116 = load i8, ptr %115, align 1 %117 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 14 %118 = load i8, ptr %117, align 2 %119 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 15 %120 = load i8, ptr %119, align 1 %121 = call i32 @sprintf(ptr noundef %88, ptr noundef @.str, i8 noundef zeroext %90, i8 noundef zeroext %92, i8 noundef zeroext %94, i8 noundef zeroext %96, i8 noundef zeroext %98, i8 noundef zeroext %100, i8 noundef zeroext %102, i8 noundef zeroext %104, i8 noundef zeroext %106, i8 noundef zeroext %108, i8 noundef zeroext %110, i8 noundef zeroext %112, i8 noundef zeroext %114, i8 noundef zeroext %116, i8 noundef zeroext %118, i8 noundef zeroext %120) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp52hf19eo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %union.anon = type { [4 x i32] } @.str = private unnamed_addr constant [65 x i8] c"%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @generate_msmuid(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca %union.anon, align 4 %7 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 4 br i1 %9, label %.lr.ph, label %19 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %14 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 %12 store i32 1, ptr %13, align 4 br label %14 14: ; preds = %10 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %17, 4 br i1 %18, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %2 store i32 0, ptr %5, align 4 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %.lr.ph2, label %93 .lr.ph2: ; preds = %19 br label %26 26: ; preds = %.lr.ph2, %84 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 store i8 %31, ptr %7, align 1 %32 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0 %33 = load i32, ptr %32, align 4 %34 = add i32 %33, 858362130 %35 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2 %36 = load i32, ptr %35, align 4 %37 = load i8, ptr %7, align 1 %38 = zext i8 %37 to i32 %39 = mul i32 %36, %38 %40 = add i32 %34, %39 %41 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 3 %42 = load i32, ptr %41, align 4 %43 = xor i32 %40, %42 %44 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0 store i32 %43, ptr %44, align 4 %45 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1 %46 = load i32, ptr %45, align 4 %47 = add i32 %46, 323333922 %48 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 3 %49 = load i32, ptr %48, align 4 %50 = load i8, ptr %7, align 1 %51 = zext i8 %50 to i32 %52 = mul i32 %49, %51 %53 = add i32 %47, %52 %54 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2 %55 = load i32, ptr %54, align 4 %56 = xor i32 %53, %55 %57 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1 store i32 %56, ptr %57, align 4 %58 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2 %59 = load i32, ptr %58, align 4 %60 = add i32 %59, 1940464434 %61 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0 %62 = load i32, ptr %61, align 4 %63 = load i8, ptr %7, align 1 %64 = zext i8 %63 to i32 %65 = mul i32 %62, %64 %66 = add i32 %60, %65 %67 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1 %68 = load i32, ptr %67, align 4 %69 = xor i32 %66, %68 %70 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2 store i32 %69, ptr %70, align 4 %71 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 3 %72 = load i32, ptr %71, align 4 %73 = add i32 %72, 1361292225 %74 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1 %75 = load i32, ptr %74, align 4 %76 = load i8, ptr %7, align 1 %77 = zext i8 %76 to i32 %78 = mul i32 %75, %77 %79 = add i32 %73, %78 %80 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 0 %81 = load i32, ptr %80, align 4 %82 = xor i32 %79, %81 %83 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 3 store i32 %82, ptr %83, align 4 br label %84 84: ; preds = %26 %85 = load i32, ptr %5, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %5, align 4 %87 = load ptr, ptr %4, align 8 %88 = load i32, ptr %5, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %87, i64 %89 %91 = load i8, ptr %90, align 1 %92 = icmp ne i8 %91, 0 br i1 %92, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %84 br label %93 93: ; preds = %._crit_edge3, %19 %94 = load ptr, ptr %3, align 8 %95 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %96 = load i8, ptr %95, align 4 %97 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 1 %98 = load i8, ptr %97, align 1 %99 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 2 %100 = load i8, ptr %99, align 2 %101 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 3 %102 = load i8, ptr %101, align 1 %103 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 4 %104 = load i8, ptr %103, align 4 %105 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 5 %106 = load i8, ptr %105, align 1 %107 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 6 %108 = load i8, ptr %107, align 2 %109 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 7 %110 = load i8, ptr %109, align 1 %111 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 8 %112 = load i8, ptr %111, align 4 %113 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 9 %114 = load i8, ptr %113, align 1 %115 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 10 %116 = load i8, ptr %115, align 2 %117 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 11 %118 = load i8, ptr %117, align 1 %119 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 12 %120 = load i8, ptr %119, align 4 %121 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 13 %122 = load i8, ptr %121, align 1 %123 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 14 %124 = load i8, ptr %123, align 2 %125 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 15 %126 = load i8, ptr %125, align 1 %127 = call i32 @sprintf(ptr noundef %94, ptr noundef @.str, i8 noundef zeroext %96, i8 noundef zeroext %98, i8 noundef zeroext %100, i8 noundef zeroext %102, i8 noundef zeroext %104, i8 noundef zeroext %106, i8 noundef zeroext %108, i8 noundef zeroext %110, i8 noundef zeroext %112, i8 noundef zeroext %114, i8 noundef zeroext %116, i8 noundef zeroext %118, i8 noundef zeroext %120, i8 noundef zeroext %122, i8 noundef zeroext %124, i8 noundef zeroext %126) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpf9fnk4ze.c' source_filename = "/tmp/tmpf9fnk4ze.c" target datalayout = "e-m:e-p270: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/tmpf9fnk4ze.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq_qyywdt.c' source_filename = "/tmp/tmpq_qyywdt.c" target datalayout = "e-m:e-p270: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"xterm\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-e\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"./echocli\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"4\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @execlp(ptr noundef @.str, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef null) %3 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq_qyywdt.c" target datalayout = "e-m:e-p270: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"xterm\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-e\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"./echocli\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"4\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @execlp(ptr noundef @.str, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef null) %3 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe0ofz6pt.c' source_filename = "/tmp/tmpe0ofz6pt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @inv_read_temp_q16.scale = internal global i16 0, align 2 @inv_read_temp_q16.offset = internal global i16 0, align 2 @inv_read_temp_q16.first_read = internal global i8 1, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @inv_read_temp_q16(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 i32, align 4 %8 = alloca i16, align 2 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 %9 = load i8, ptr @inv_read_temp_q16.first_read, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %11, label %24 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = call i64 @inv_read_temp_scale(ptr noundef %12, ptr noundef @inv_read_temp_q16.scale) %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = add nsw i64 %15, %13 %17 = trunc i64 %16 to i32 store i32 %17, ptr %7, align 4 %18 = load ptr, ptr %4, align 8 %19 = call i64 @inv_read_temp_offset(ptr noundef %18, ptr noundef @inv_read_temp_q16.offset) %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = add nsw i64 %21, %19 %23 = trunc i64 %22 to i32 store i32 %23, ptr %7, align 4 store i8 0, ptr @inv_read_temp_q16.first_read, align 1 br label %24 24: ; preds = %11, %3 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %6, align 8 %27 = call i64 @inv_read_temperature_raw(ptr noundef %25, ptr noundef %8, ptr noundef %26) %28 = load i32, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = add nsw i64 %29, %27 %31 = trunc i64 %30 to i32 store i32 %31, ptr %7, align 4 %32 = load i16, ptr %8, align 2 %33 = sext i16 %32 to i32 %34 = load i16, ptr @inv_read_temp_q16.offset, align 2 %35 = sext i16 %34 to i32 %36 = sub nsw i32 %33, %35 %37 = sitofp i32 %36 to float %38 = load i16, ptr @inv_read_temp_q16.scale, align 2 %39 = sext i16 %38 to i32 %40 = sitofp i32 %39 to float %41 = fdiv float %37, %40 %42 = fadd float 3.500000e+01, %41 %43 = fmul float %42, 6.553600e+04 %44 = fptosi float %43 to i64 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds i64, ptr %45, i64 0 store i64 %44, ptr %46, align 8 %47 = load i32, ptr %7, align 4 ret i32 %47 } declare i64 @inv_read_temp_scale(ptr noundef, ptr noundef) #1 declare i64 @inv_read_temp_offset(ptr noundef, ptr noundef) #1 declare i64 @inv_read_temperature_raw(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/tmpe0ofz6pt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @inv_read_temp_q16.scale = internal global i16 0, align 2 @inv_read_temp_q16.offset = internal global i16 0, align 2 @inv_read_temp_q16.first_read = internal global i8 1, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @inv_read_temp_q16(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 i32, align 4 %8 = alloca i16, align 2 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 %9 = load i8, ptr @inv_read_temp_q16.first_read, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %11, label %24 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = call i64 @inv_read_temp_scale(ptr noundef %12, ptr noundef @inv_read_temp_q16.scale) %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = add nsw i64 %15, %13 %17 = trunc i64 %16 to i32 store i32 %17, ptr %7, align 4 %18 = load ptr, ptr %4, align 8 %19 = call i64 @inv_read_temp_offset(ptr noundef %18, ptr noundef @inv_read_temp_q16.offset) %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = add nsw i64 %21, %19 %23 = trunc i64 %22 to i32 store i32 %23, ptr %7, align 4 store i8 0, ptr @inv_read_temp_q16.first_read, align 1 br label %24 24: ; preds = %11, %3 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %6, align 8 %27 = call i64 @inv_read_temperature_raw(ptr noundef %25, ptr noundef %8, ptr noundef %26) %28 = load i32, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = add nsw i64 %29, %27 %31 = trunc i64 %30 to i32 store i32 %31, ptr %7, align 4 %32 = load i16, ptr %8, align 2 %33 = sext i16 %32 to i32 %34 = load i16, ptr @inv_read_temp_q16.offset, align 2 %35 = sext i16 %34 to i32 %36 = sub nsw i32 %33, %35 %37 = sitofp i32 %36 to float %38 = load i16, ptr @inv_read_temp_q16.scale, align 2 %39 = sext i16 %38 to i32 %40 = sitofp i32 %39 to float %41 = fdiv float %37, %40 %42 = fadd float 3.500000e+01, %41 %43 = fmul float %42, 6.553600e+04 %44 = fptosi float %43 to i64 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds i64, ptr %45, i64 0 store i64 %44, ptr %46, align 8 %47 = load i32, ptr %7, align 4 ret i32 %47 } declare i64 @inv_read_temp_scale(ptr noundef, ptr noundef) #1 declare i64 @inv_read_temp_offset(ptr noundef, ptr noundef) #1 declare i64 @inv_read_temperature_raw(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/tmpw1_23l7x.c' source_filename = "/tmp/tmpw1_23l7x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xfree(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %6, label %5 5: ; preds = %1 br label %9 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @free(ptr noundef %7) br label %9 9: ; preds = %6, %5 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/tmpw1_23l7x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xfree(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %6, label %5 5: ; preds = %1 br label %9 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @free(ptr noundef %7) br label %9 9: ; preds = %6, %5 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/tmp19yvze6v.c' source_filename = "/tmp/tmp19yvze6v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stat(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @open(ptr noundef %8, i32 noundef 0) store i32 %9, ptr %6, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = load i32, ptr %6, align 4 store i32 %12, ptr %3, align 4 br label %20 13: ; preds = %2 %14 = load i32, ptr %6, align 4 %15 = load ptr, ptr %5, align 8 %16 = call i32 @fstat(i32 noundef %14, ptr noundef %15) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %6, align 4 %18 = call i32 @close(i32 noundef %17) %19 = load i32, ptr %7, align 4 store i32 %19, ptr %3, align 4 br label %20 20: ; preds = %13, %11 %21 = load i32, ptr %3, align 4 ret i32 %21 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp19yvze6v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stat(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @open(ptr noundef %8, i32 noundef 0) store i32 %9, ptr %6, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = load i32, ptr %6, align 4 store i32 %12, ptr %3, align 4 br label %20 13: ; preds = %2 %14 = load i32, ptr %6, align 4 %15 = load ptr, ptr %5, align 8 %16 = call i32 @fstat(i32 noundef %14, ptr noundef %15) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %6, align 4 %18 = call i32 @close(i32 noundef %17) %19 = load i32, ptr %7, align 4 store i32 %19, ptr %3, align 4 br label %20 20: ; preds = %13, %11 %21 = load i32, ptr %3, align 4 ret i32 %21 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpitq7qjur.c' source_filename = "/tmp/tmpitq7qjur.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @et_avg(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 store i32 100, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %18, %1 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %21 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = call i64 @analog_et(i32 noundef %11) %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = add nsw i64 %14, %12 %16 = trunc i64 %15 to i32 store i32 %16, ptr %4, align 4 %17 = call i32 @msleep(i32 noundef 2) br label %18 18: ; preds = %10 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 br label %6, !llvm.loop !6 21: ; preds = %6 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %3, align 4 %24 = sdiv i32 %22, %23 ret i32 %24 } declare i64 @analog_et(i32 noundef) #1 declare i32 @msleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpitq7qjur.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @et_avg(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 store i32 100, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %23 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %17 %10 = load i32, ptr %2, align 4 %11 = call i64 @analog_et(i32 noundef %10) %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = add nsw i64 %13, %11 %15 = trunc i64 %14 to i32 store i32 %15, ptr %4, align 4 %16 = call i32 @msleep(i32 noundef 2) br label %17 17: ; preds = %9 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %1 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %3, align 4 %26 = sdiv i32 %24, %25 ret i32 %26 } declare i64 @analog_et(i32 noundef) #1 declare i32 @msleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbtoq95v8.c' source_filename = "/tmp/tmpbtoq95v8.c" target datalayout = "e-m:e-p270: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/tmpbtoq95v8.c" target datalayout = "e-m:e-p270: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/tmplb5ddops.c' source_filename = "/tmp/tmplb5ddops.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_subfolder(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %21, %2 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %6, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %13, %19 br i1 %20, label %21, label %24 21: ; preds = %7 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %6, align 4 br label %7, !llvm.loop !6 24: ; preds = %7 %25 = load i32, ptr %6, align 4 %26 = load ptr, ptr %4, align 8 %27 = call i32 @strlen(ptr noundef %26) %28 = icmp eq i32 %25, %27 br i1 %28, label %29, label %43 29: ; preds = %24 %30 = load i32, ptr %6, align 4 %31 = load ptr, ptr %5, align 8 %32 = call i32 @strlen(ptr noundef %31) %33 = icmp slt i32 %30, %32 br i1 %33, label %34, label %43 34: ; preds = %29 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %6, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 47 br i1 %41, label %42, label %43 42: ; preds = %34 store i32 1, ptr %3, align 4 br label %44 43: ; preds = %34, %29, %24 store i32 0, ptr %3, align 4 br label %44 44: ; preds = %43, %42 %45 = load i32, ptr %3, align 4 ret i32 %45 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplb5ddops.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_subfolder(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %6, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %7, i64 %9 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %12, %18 br i1 %19, label %.lr.ph, label %36 .lr.ph: ; preds = %2 br label %20 20: ; preds = %.lr.ph, %20 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %28, %34 br i1 %35, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %36 36: ; preds = %._crit_edge, %2 %37 = load i32, ptr %6, align 4 %38 = load ptr, ptr %4, align 8 %39 = call i32 @strlen(ptr noundef %38) %40 = icmp eq i32 %37, %39 br i1 %40, label %41, label %55 41: ; preds = %36 %42 = load i32, ptr %6, align 4 %43 = load ptr, ptr %5, align 8 %44 = call i32 @strlen(ptr noundef %43) %45 = icmp slt i32 %42, %44 br i1 %45, label %46, label %55 46: ; preds = %41 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %6, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp eq i32 %52, 47 br i1 %53, label %54, label %55 54: ; preds = %46 store i32 1, ptr %3, align 4 br label %56 55: ; preds = %46, %41, %36 store i32 0, ptr %3, align 4 br label %56 56: ; preds = %55, %54 %57 = load i32, ptr %3, align 4 ret i32 %57 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_u3utkv5.c' source_filename = "/tmp/tmp_u3utkv5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @psi.dx0 = internal global double 0x3FF762D86356BE3F, align 8 @psi.piov4 = internal global double 0x3FE921FB54442D15, align 8 @psi.p1 = internal global [7 x double] [double 0x3F8256656F48699E, double 0x40131C4A9683808F, double 0x4061CE21770AC9CA, double 0x409289CEDAF54CA6, double 0x40AC630974A56E4E, double 0x40B02A1A034A0CF8, double 0x4094666929BCD620], align 16 @psi.p2 = internal global [4 x double] [double 0xC00109053372AB83, double 0xC01C112CC0803F36, double 0xC011F1D55A56E5C7, double 0xBFE4BDB40227D903], align 16 @psi.q1 = internal global [6 x double] [double 0x40466C3164826835, double 0x40804605AD0C0695, double 0x40A14404179711D3, double 0x40AC728C06FC3E58, double 0x409DD13E396EBF2E, double 0x3EDCFC8A5A3E14AF], align 16 @psi.q2 = internal global [4 x double] [double 0x4040229ACEF6E519, double 0x405652B14692466E, double 0x404B4E4E9AADF0A9, double 0x401F1C8E033C6093], align 16 @psi.K1 = internal global i32 3, align 4 @psi.K2 = internal global i32 1, align 4 @psi.psi = internal global double 0.000000e+00, align 8 @psi.aug = internal global double 0.000000e+00, align 8 @psi.den = internal global double 0.000000e+00, align 8 @psi.sgn = internal global double 0.000000e+00, align 8 @psi.upper = internal global double 0.000000e+00, align 8 @psi.w = internal global double 0.000000e+00, align 8 @psi.x = internal global double 0.000000e+00, align 8 @psi.xmax1 = internal global double 0.000000e+00, align 8 @psi.xmx0 = internal global double 0.000000e+00, align 8 @psi.xsmall = internal global double 0.000000e+00, align 8 @psi.z = internal global double 0.000000e+00, align 8 @psi.i = internal global i32 0, align 4 @psi.m = internal global i32 0, align 4 @psi.n = internal global i32 0, align 4 @psi.nq = internal global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @psi(ptr noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = call double @ipmpar(ptr noundef @psi.K1) store double %4, ptr @psi.xmax1, align 8 %5 = load double, ptr @psi.xmax1, align 8 %6 = call double @spmpar(ptr noundef @psi.K2) %7 = fdiv double 1.000000e+00, %6 %8 = call double @fifdmin1(double noundef %5, double noundef %7) store double %8, ptr @psi.xmax1, align 8 store double 1.000000e-09, ptr @psi.xsmall, align 8 %9 = load ptr, ptr %3, align 8 %10 = load double, ptr %9, align 8 store double %10, ptr @psi.x, align 8 store double 0.000000e+00, ptr @psi.aug, align 8 %11 = load double, ptr @psi.x, align 8 %12 = fcmp oge double %11, 5.000000e-01 br i1 %12, label %13, label %14 13: ; preds = %1 br label %123 14: ; preds = %1 %15 = load double, ptr @psi.x, align 8 %16 = call double @llvm.fabs.f64(double %15) %17 = load double, ptr @psi.xsmall, align 8 %18 = fcmp ogt double %16, %17 br i1 %18, label %19, label %20 19: ; preds = %14 br label %28 20: ; preds = %14 %21 = load double, ptr @psi.x, align 8 %22 = fcmp oeq double %21, 0.000000e+00 br i1 %22, label %23, label %24 23: ; preds = %20 br label %231 24: ; preds = %20 %25 = load double, ptr @psi.x, align 8 %26 = fdiv double 1.000000e+00, %25 %27 = fneg double %26 store double %27, ptr @psi.aug, align 8 br label %120 28: ; preds = %19 %29 = load double, ptr @psi.x, align 8 %30 = fneg double %29 store double %30, ptr @psi.w, align 8 %31 = load double, ptr @psi.piov4, align 8 store double %31, ptr @psi.sgn, align 8 %32 = load double, ptr @psi.w, align 8 %33 = fcmp ogt double %32, 0.000000e+00 br i1 %33, label %34, label %35 34: ; preds = %28 br label %40 35: ; preds = %28 %36 = load double, ptr @psi.w, align 8 %37 = fneg double %36 store double %37, ptr @psi.w, align 8 %38 = load double, ptr @psi.sgn, align 8 %39 = fneg double %38 store double %39, ptr @psi.sgn, align 8 br label %40 40: ; preds = %35, %34 %41 = load double, ptr @psi.w, align 8 %42 = load double, ptr @psi.xmax1, align 8 %43 = fcmp oge double %41, %42 br i1 %43, label %44, label %45 44: ; preds = %40 br label %231 45: ; preds = %40 %46 = load double, ptr @psi.w, align 8 %47 = call i32 @fifidint(double noundef %46) store i32 %47, ptr @psi.nq, align 4 %48 = load i32, ptr @psi.nq, align 4 %49 = sitofp i32 %48 to double %50 = load double, ptr @psi.w, align 8 %51 = fsub double %50, %49 store double %51, ptr @psi.w, align 8 %52 = load double, ptr @psi.w, align 8 %53 = fmul double %52, 4.000000e+00 %54 = call i32 @fifidint(double noundef %53) store i32 %54, ptr @psi.nq, align 4 %55 = load double, ptr @psi.w, align 8 %56 = load i32, ptr @psi.nq, align 4 %57 = sitofp i32 %56 to double %58 = fneg double %57 %59 = call double @llvm.fmuladd.f64(double %58, double 2.500000e-01, double %55) %60 = fmul double 4.000000e+00, %59 store double %60, ptr @psi.w, align 8 %61 = load i32, ptr @psi.nq, align 4 %62 = sdiv i32 %61, 2 store i32 %62, ptr @psi.n, align 4 %63 = load i32, ptr @psi.n, align 4 %64 = load i32, ptr @psi.n, align 4 %65 = add nsw i32 %63, %64 %66 = load i32, ptr @psi.nq, align 4 %67 = icmp ne i32 %65, %66 br i1 %67, label %68, label %71 68: ; preds = %45 %69 = load double, ptr @psi.w, align 8 %70 = fsub double 1.000000e+00, %69 store double %70, ptr @psi.w, align 8 br label %71 71: ; preds = %68, %45 %72 = load double, ptr @psi.piov4, align 8 %73 = load double, ptr @psi.w, align 8 %74 = fmul double %72, %73 store double %74, ptr @psi.z, align 8 %75 = load i32, ptr @psi.n, align 4 %76 = sdiv i32 %75, 2 store i32 %76, ptr @psi.m, align 4 %77 = load i32, ptr @psi.m, align 4 %78 = load i32, ptr @psi.m, align 4 %79 = add nsw i32 %77, %78 %80 = load i32, ptr @psi.n, align 4 %81 = icmp ne i32 %79, %80 br i1 %81, label %82, label %85 82: ; preds = %71 %83 = load double, ptr @psi.sgn, align 8 %84 = fneg double %83 store double %84, ptr @psi.sgn, align 8 br label %85 85: ; preds = %82, %71 %86 = load i32, ptr @psi.nq, align 4 %87 = add nsw i32 %86, 1 %88 = sdiv i32 %87, 2 store i32 %88, ptr @psi.n, align 4 %89 = load i32, ptr @psi.n, align 4 %90 = sdiv i32 %89, 2 store i32 %90, ptr @psi.m, align 4 %91 = load i32, ptr @psi.m, align 4 %92 = load i32, ptr @psi.m, align 4 %93 = add nsw i32 %92, %91 store i32 %93, ptr @psi.m, align 4 %94 = load i32, ptr @psi.m, align 4 %95 = load i32, ptr @psi.n, align 4 %96 = icmp ne i32 %94, %95 br i1 %96, label %97, label %98 97: ; preds = %85 br label %111 98: ; preds = %85 %99 = load double, ptr @psi.z, align 8 %100 = fcmp oeq double %99, 0.000000e+00 br i1 %100, label %101, label %102 101: ; preds = %98 br label %231 102: ; preds = %98 %103 = load double, ptr @psi.sgn, align 8 %104 = load double, ptr @psi.z, align 8 %105 = call double @cos(double noundef %104) #4 %106 = load double, ptr @psi.z, align 8 %107 = call double @sin(double noundef %106) #4 %108 = fdiv double %105, %107 %109 = fmul double %108, 4.000000e+00 %110 = fmul double %103, %109 store double %110, ptr @psi.aug, align 8 br label %120 111: ; preds = %97 %112 = load double, ptr @psi.sgn, align 8 %113 = load double, ptr @psi.z, align 8 %114 = call double @sin(double noundef %113) #4 %115 = load double, ptr @psi.z, align 8 %116 = call double @cos(double noundef %115) #4 %117 = fdiv double %114, %116 %118 = fmul double %117, 4.000000e+00 %119 = fmul double %112, %118 store double %119, ptr @psi.aug, align 8 br label %120 120: ; preds = %111, %102, %24 %121 = load double, ptr @psi.x, align 8 %122 = fsub double 1.000000e+00, %121 store double %122, ptr @psi.x, align 8 br label %123 123: ; preds = %120, %13 %124 = load double, ptr @psi.x, align 8 %125 = fcmp ogt double %124, 3.000000e+00 br i1 %125, label %126, label %127 126: ; preds = %123 br label %174 127: ; preds = %123 %128 = load double, ptr @psi.x, align 8 store double %128, ptr @psi.den, align 8 %129 = load double, ptr @psi.p1, align 16 %130 = load double, ptr @psi.x, align 8 %131 = fmul double %129, %130 store double %131, ptr @psi.upper, align 8 store i32 1, ptr @psi.i, align 4 br label %132 132: ; preds = %155, %127 %133 = load i32, ptr @psi.i, align 4 %134 = icmp sle i32 %133, 5 br i1 %134, label %135, label %158 135: ; preds = %132 %136 = load double, ptr @psi.den, align 8 %137 = load i32, ptr @psi.i, align 4 %138 = sub nsw i32 %137, 1 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds [6 x double], ptr @psi.q1, i64 0, i64 %139 %141 = load double, ptr %140, align 8 %142 = fadd double %136, %141 %143 = load double, ptr @psi.x, align 8 %144 = fmul double %142, %143 store double %144, ptr @psi.den, align 8 %145 = load double, ptr @psi.upper, align 8 %146 = load i32, ptr @psi.i, align 4 %147 = add nsw i32 %146, 1 %148 = sub nsw i32 %147, 1 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds [7 x double], ptr @psi.p1, i64 0, i64 %149 %151 = load double, ptr %150, align 8 %152 = fadd double %145, %151 %153 = load double, ptr @psi.x, align 8 %154 = fmul double %152, %153 store double %154, ptr @psi.upper, align 8 br label %155 155: ; preds = %135 %156 = load i32, ptr @psi.i, align 4 %157 = add nsw i32 %156, 1 store i32 %157, ptr @psi.i, align 4 br label %132, !llvm.loop !6 158: ; preds = %132 %159 = load double, ptr @psi.upper, align 8 %160 = load double, ptr getelementptr inbounds ([7 x double], ptr @psi.p1, i64 0, i64 6), align 16 %161 = fadd double %159, %160 %162 = load double, ptr @psi.den, align 8 %163 = load double, ptr getelementptr inbounds ([6 x double], ptr @psi.q1, i64 0, i64 5), align 8 %164 = fadd double %162, %163 %165 = fdiv double %161, %164 store double %165, ptr @psi.den, align 8 %166 = load double, ptr @psi.x, align 8 %167 = load double, ptr @psi.dx0, align 8 %168 = fsub double %166, %167 store double %168, ptr @psi.xmx0, align 8 %169 = load double, ptr @psi.den, align 8 %170 = load double, ptr @psi.xmx0, align 8 %171 = load double, ptr @psi.aug, align 8 %172 = call double @llvm.fmuladd.f64(double %169, double %170, double %171) store double %172, ptr @psi.psi, align 8 %173 = load double, ptr @psi.psi, align 8 store double %173, ptr %2, align 8 br label %233 174: ; preds = %126 %175 = load double, ptr @psi.x, align 8 %176 = load double, ptr @psi.xmax1, align 8 %177 = fcmp oge double %175, %176 br i1 %177, label %178, label %179 178: ; preds = %174 br label %225 179: ; preds = %174 %180 = load double, ptr @psi.x, align 8 %181 = load double, ptr @psi.x, align 8 %182 = fmul double %180, %181 %183 = fdiv double 1.000000e+00, %182 store double %183, ptr @psi.w, align 8 %184 = load double, ptr @psi.w, align 8 store double %184, ptr @psi.den, align 8 %185 = load double, ptr @psi.p2, align 16 %186 = load double, ptr @psi.w, align 8 %187 = fmul double %185, %186 store double %187, ptr @psi.upper, align 8 store i32 1, ptr @psi.i, align 4 br label %188 188: ; preds = %211, %179 %189 = load i32, ptr @psi.i, align 4 %190 = icmp sle i32 %189, 3 br i1 %190, label %191, label %214 191: ; preds = %188 %192 = load double, ptr @psi.den, align 8 %193 = load i32, ptr @psi.i, align 4 %194 = sub nsw i32 %193, 1 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds [4 x double], ptr @psi.q2, i64 0, i64 %195 %197 = load double, ptr %196, align 8 %198 = fadd double %192, %197 %199 = load double, ptr @psi.w, align 8 %200 = fmul double %198, %199 store double %200, ptr @psi.den, align 8 %201 = load double, ptr @psi.upper, align 8 %202 = load i32, ptr @psi.i, align 4 %203 = add nsw i32 %202, 1 %204 = sub nsw i32 %203, 1 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds [4 x double], ptr @psi.p2, i64 0, i64 %205 %207 = load double, ptr %206, align 8 %208 = fadd double %201, %207 %209 = load double, ptr @psi.w, align 8 %210 = fmul double %208, %209 store double %210, ptr @psi.upper, align 8 br label %211 211: ; preds = %191 %212 = load i32, ptr @psi.i, align 4 %213 = add nsw i32 %212, 1 store i32 %213, ptr @psi.i, align 4 br label %188, !llvm.loop !8 214: ; preds = %188 %215 = load double, ptr @psi.upper, align 8 %216 = load double, ptr @psi.den, align 8 %217 = load double, ptr getelementptr inbounds ([4 x double], ptr @psi.q2, i64 0, i64 3), align 8 %218 = fadd double %216, %217 %219 = fdiv double %215, %218 %220 = load double, ptr @psi.x, align 8 %221 = fdiv double 5.000000e-01, %220 %222 = fsub double %219, %221 %223 = load double, ptr @psi.aug, align 8 %224 = fadd double %222, %223 store double %224, ptr @psi.aug, align 8 br label %225 225: ; preds = %214, %178 %226 = load double, ptr @psi.aug, align 8 %227 = load double, ptr @psi.x, align 8 %228 = call double @log(double noundef %227) #4 %229 = fadd double %226, %228 store double %229, ptr @psi.psi, align 8 %230 = load double, ptr @psi.psi, align 8 store double %230, ptr %2, align 8 br label %233 231: ; preds = %101, %44, %23 store double 0.000000e+00, ptr @psi.psi, align 8 %232 = load double, ptr @psi.psi, align 8 store double %232, ptr %2, align 8 br label %233 233: ; preds = %231, %225, %158 %234 = load double, ptr %2, align 8 ret double %234 } declare double @ipmpar(ptr noundef) #1 declare double @fifdmin1(double noundef, double noundef) #1 declare double @spmpar(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 declare i32 @fifidint(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #3 ; Function Attrs: nounwind declare double @sin(double noundef) #3 ; Function Attrs: nounwind declare double @log(double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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/tmp_u3utkv5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @psi.dx0 = internal global double 0x3FF762D86356BE3F, align 8 @psi.piov4 = internal global double 0x3FE921FB54442D15, align 8 @psi.p1 = internal global [7 x double] [double 0x3F8256656F48699E, double 0x40131C4A9683808F, double 0x4061CE21770AC9CA, double 0x409289CEDAF54CA6, double 0x40AC630974A56E4E, double 0x40B02A1A034A0CF8, double 0x4094666929BCD620], align 16 @psi.p2 = internal global [4 x double] [double 0xC00109053372AB83, double 0xC01C112CC0803F36, double 0xC011F1D55A56E5C7, double 0xBFE4BDB40227D903], align 16 @psi.q1 = internal global [6 x double] [double 0x40466C3164826835, double 0x40804605AD0C0695, double 0x40A14404179711D3, double 0x40AC728C06FC3E58, double 0x409DD13E396EBF2E, double 0x3EDCFC8A5A3E14AF], align 16 @psi.q2 = internal global [4 x double] [double 0x4040229ACEF6E519, double 0x405652B14692466E, double 0x404B4E4E9AADF0A9, double 0x401F1C8E033C6093], align 16 @psi.K1 = internal global i32 3, align 4 @psi.K2 = internal global i32 1, align 4 @psi.psi = internal global double 0.000000e+00, align 8 @psi.aug = internal global double 0.000000e+00, align 8 @psi.den = internal global double 0.000000e+00, align 8 @psi.sgn = internal global double 0.000000e+00, align 8 @psi.upper = internal global double 0.000000e+00, align 8 @psi.w = internal global double 0.000000e+00, align 8 @psi.x = internal global double 0.000000e+00, align 8 @psi.xmax1 = internal global double 0.000000e+00, align 8 @psi.xmx0 = internal global double 0.000000e+00, align 8 @psi.xsmall = internal global double 0.000000e+00, align 8 @psi.z = internal global double 0.000000e+00, align 8 @psi.i = internal global i32 0, align 4 @psi.m = internal global i32 0, align 4 @psi.n = internal global i32 0, align 4 @psi.nq = internal global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @psi(ptr noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = call double @ipmpar(ptr noundef @psi.K1) store double %4, ptr @psi.xmax1, align 8 %5 = load double, ptr @psi.xmax1, align 8 %6 = call double @spmpar(ptr noundef @psi.K2) %7 = fdiv double 1.000000e+00, %6 %8 = call double @fifdmin1(double noundef %5, double noundef %7) store double %8, ptr @psi.xmax1, align 8 store double 1.000000e-09, ptr @psi.xsmall, align 8 %9 = load ptr, ptr %3, align 8 %10 = load double, ptr %9, align 8 store double %10, ptr @psi.x, align 8 store double 0.000000e+00, ptr @psi.aug, align 8 %11 = load double, ptr @psi.x, align 8 %12 = fcmp oge double %11, 5.000000e-01 br i1 %12, label %13, label %14 13: ; preds = %1 br label %123 14: ; preds = %1 %15 = load double, ptr @psi.x, align 8 %16 = call double @llvm.fabs.f64(double %15) %17 = load double, ptr @psi.xsmall, align 8 %18 = fcmp ogt double %16, %17 br i1 %18, label %19, label %20 19: ; preds = %14 br label %28 20: ; preds = %14 %21 = load double, ptr @psi.x, align 8 %22 = fcmp oeq double %21, 0.000000e+00 br i1 %22, label %23, label %24 23: ; preds = %20 br label %233 24: ; preds = %20 %25 = load double, ptr @psi.x, align 8 %26 = fdiv double 1.000000e+00, %25 %27 = fneg double %26 store double %27, ptr @psi.aug, align 8 br label %120 28: ; preds = %19 %29 = load double, ptr @psi.x, align 8 %30 = fneg double %29 store double %30, ptr @psi.w, align 8 %31 = load double, ptr @psi.piov4, align 8 store double %31, ptr @psi.sgn, align 8 %32 = load double, ptr @psi.w, align 8 %33 = fcmp ogt double %32, 0.000000e+00 br i1 %33, label %34, label %35 34: ; preds = %28 br label %40 35: ; preds = %28 %36 = load double, ptr @psi.w, align 8 %37 = fneg double %36 store double %37, ptr @psi.w, align 8 %38 = load double, ptr @psi.sgn, align 8 %39 = fneg double %38 store double %39, ptr @psi.sgn, align 8 br label %40 40: ; preds = %35, %34 %41 = load double, ptr @psi.w, align 8 %42 = load double, ptr @psi.xmax1, align 8 %43 = fcmp oge double %41, %42 br i1 %43, label %44, label %45 44: ; preds = %40 br label %233 45: ; preds = %40 %46 = load double, ptr @psi.w, align 8 %47 = call i32 @fifidint(double noundef %46) store i32 %47, ptr @psi.nq, align 4 %48 = load i32, ptr @psi.nq, align 4 %49 = sitofp i32 %48 to double %50 = load double, ptr @psi.w, align 8 %51 = fsub double %50, %49 store double %51, ptr @psi.w, align 8 %52 = load double, ptr @psi.w, align 8 %53 = fmul double %52, 4.000000e+00 %54 = call i32 @fifidint(double noundef %53) store i32 %54, ptr @psi.nq, align 4 %55 = load double, ptr @psi.w, align 8 %56 = load i32, ptr @psi.nq, align 4 %57 = sitofp i32 %56 to double %58 = fneg double %57 %59 = call double @llvm.fmuladd.f64(double %58, double 2.500000e-01, double %55) %60 = fmul double 4.000000e+00, %59 store double %60, ptr @psi.w, align 8 %61 = load i32, ptr @psi.nq, align 4 %62 = sdiv i32 %61, 2 store i32 %62, ptr @psi.n, align 4 %63 = load i32, ptr @psi.n, align 4 %64 = load i32, ptr @psi.n, align 4 %65 = add nsw i32 %63, %64 %66 = load i32, ptr @psi.nq, align 4 %67 = icmp ne i32 %65, %66 br i1 %67, label %68, label %71 68: ; preds = %45 %69 = load double, ptr @psi.w, align 8 %70 = fsub double 1.000000e+00, %69 store double %70, ptr @psi.w, align 8 br label %71 71: ; preds = %68, %45 %72 = load double, ptr @psi.piov4, align 8 %73 = load double, ptr @psi.w, align 8 %74 = fmul double %72, %73 store double %74, ptr @psi.z, align 8 %75 = load i32, ptr @psi.n, align 4 %76 = sdiv i32 %75, 2 store i32 %76, ptr @psi.m, align 4 %77 = load i32, ptr @psi.m, align 4 %78 = load i32, ptr @psi.m, align 4 %79 = add nsw i32 %77, %78 %80 = load i32, ptr @psi.n, align 4 %81 = icmp ne i32 %79, %80 br i1 %81, label %82, label %85 82: ; preds = %71 %83 = load double, ptr @psi.sgn, align 8 %84 = fneg double %83 store double %84, ptr @psi.sgn, align 8 br label %85 85: ; preds = %82, %71 %86 = load i32, ptr @psi.nq, align 4 %87 = add nsw i32 %86, 1 %88 = sdiv i32 %87, 2 store i32 %88, ptr @psi.n, align 4 %89 = load i32, ptr @psi.n, align 4 %90 = sdiv i32 %89, 2 store i32 %90, ptr @psi.m, align 4 %91 = load i32, ptr @psi.m, align 4 %92 = load i32, ptr @psi.m, align 4 %93 = add nsw i32 %92, %91 store i32 %93, ptr @psi.m, align 4 %94 = load i32, ptr @psi.m, align 4 %95 = load i32, ptr @psi.n, align 4 %96 = icmp ne i32 %94, %95 br i1 %96, label %97, label %98 97: ; preds = %85 br label %111 98: ; preds = %85 %99 = load double, ptr @psi.z, align 8 %100 = fcmp oeq double %99, 0.000000e+00 br i1 %100, label %101, label %102 101: ; preds = %98 br label %233 102: ; preds = %98 %103 = load double, ptr @psi.sgn, align 8 %104 = load double, ptr @psi.z, align 8 %105 = call double @cos(double noundef %104) #4 %106 = load double, ptr @psi.z, align 8 %107 = call double @sin(double noundef %106) #4 %108 = fdiv double %105, %107 %109 = fmul double %108, 4.000000e+00 %110 = fmul double %103, %109 store double %110, ptr @psi.aug, align 8 br label %120 111: ; preds = %97 %112 = load double, ptr @psi.sgn, align 8 %113 = load double, ptr @psi.z, align 8 %114 = call double @sin(double noundef %113) #4 %115 = load double, ptr @psi.z, align 8 %116 = call double @cos(double noundef %115) #4 %117 = fdiv double %114, %116 %118 = fmul double %117, 4.000000e+00 %119 = fmul double %112, %118 store double %119, ptr @psi.aug, align 8 br label %120 120: ; preds = %111, %102, %24 %121 = load double, ptr @psi.x, align 8 %122 = fsub double 1.000000e+00, %121 store double %122, ptr @psi.x, align 8 br label %123 123: ; preds = %120, %13 %124 = load double, ptr @psi.x, align 8 %125 = fcmp ogt double %124, 3.000000e+00 br i1 %125, label %126, label %127 126: ; preds = %123 br label %175 127: ; preds = %123 %128 = load double, ptr @psi.x, align 8 store double %128, ptr @psi.den, align 8 %129 = load double, ptr @psi.p1, align 16 %130 = load double, ptr @psi.x, align 8 %131 = fmul double %129, %130 store double %131, ptr @psi.upper, align 8 store i32 1, ptr @psi.i, align 4 %132 = load i32, ptr @psi.i, align 4 %133 = icmp sle i32 %132, 5 br i1 %133, label %.lr.ph, label %159 .lr.ph: ; preds = %127 br label %134 134: ; preds = %.lr.ph, %154 %135 = load double, ptr @psi.den, align 8 %136 = load i32, ptr @psi.i, align 4 %137 = sub nsw i32 %136, 1 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds [6 x double], ptr @psi.q1, i64 0, i64 %138 %140 = load double, ptr %139, align 8 %141 = fadd double %135, %140 %142 = load double, ptr @psi.x, align 8 %143 = fmul double %141, %142 store double %143, ptr @psi.den, align 8 %144 = load double, ptr @psi.upper, align 8 %145 = load i32, ptr @psi.i, align 4 %146 = add nsw i32 %145, 1 %147 = sub nsw i32 %146, 1 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds [7 x double], ptr @psi.p1, i64 0, i64 %148 %150 = load double, ptr %149, align 8 %151 = fadd double %144, %150 %152 = load double, ptr @psi.x, align 8 %153 = fmul double %151, %152 store double %153, ptr @psi.upper, align 8 br label %154 154: ; preds = %134 %155 = load i32, ptr @psi.i, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr @psi.i, align 4 %157 = load i32, ptr @psi.i, align 4 %158 = icmp sle i32 %157, 5 br i1 %158, label %134, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %154 br label %159 159: ; preds = %._crit_edge, %127 %160 = load double, ptr @psi.upper, align 8 %161 = load double, ptr getelementptr inbounds ([7 x double], ptr @psi.p1, i64 0, i64 6), align 16 %162 = fadd double %160, %161 %163 = load double, ptr @psi.den, align 8 %164 = load double, ptr getelementptr inbounds ([6 x double], ptr @psi.q1, i64 0, i64 5), align 8 %165 = fadd double %163, %164 %166 = fdiv double %162, %165 store double %166, ptr @psi.den, align 8 %167 = load double, ptr @psi.x, align 8 %168 = load double, ptr @psi.dx0, align 8 %169 = fsub double %167, %168 store double %169, ptr @psi.xmx0, align 8 %170 = load double, ptr @psi.den, align 8 %171 = load double, ptr @psi.xmx0, align 8 %172 = load double, ptr @psi.aug, align 8 %173 = call double @llvm.fmuladd.f64(double %170, double %171, double %172) store double %173, ptr @psi.psi, align 8 %174 = load double, ptr @psi.psi, align 8 store double %174, ptr %2, align 8 br label %235 175: ; preds = %126 %176 = load double, ptr @psi.x, align 8 %177 = load double, ptr @psi.xmax1, align 8 %178 = fcmp oge double %176, %177 br i1 %178, label %179, label %180 179: ; preds = %175 br label %227 180: ; preds = %175 %181 = load double, ptr @psi.x, align 8 %182 = load double, ptr @psi.x, align 8 %183 = fmul double %181, %182 %184 = fdiv double 1.000000e+00, %183 store double %184, ptr @psi.w, align 8 %185 = load double, ptr @psi.w, align 8 store double %185, ptr @psi.den, align 8 %186 = load double, ptr @psi.p2, align 16 %187 = load double, ptr @psi.w, align 8 %188 = fmul double %186, %187 store double %188, ptr @psi.upper, align 8 store i32 1, ptr @psi.i, align 4 %189 = load i32, ptr @psi.i, align 4 %190 = icmp sle i32 %189, 3 br i1 %190, label %.lr.ph2, label %216 .lr.ph2: ; preds = %180 br label %191 191: ; preds = %.lr.ph2, %211 %192 = load double, ptr @psi.den, align 8 %193 = load i32, ptr @psi.i, align 4 %194 = sub nsw i32 %193, 1 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds [4 x double], ptr @psi.q2, i64 0, i64 %195 %197 = load double, ptr %196, align 8 %198 = fadd double %192, %197 %199 = load double, ptr @psi.w, align 8 %200 = fmul double %198, %199 store double %200, ptr @psi.den, align 8 %201 = load double, ptr @psi.upper, align 8 %202 = load i32, ptr @psi.i, align 4 %203 = add nsw i32 %202, 1 %204 = sub nsw i32 %203, 1 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds [4 x double], ptr @psi.p2, i64 0, i64 %205 %207 = load double, ptr %206, align 8 %208 = fadd double %201, %207 %209 = load double, ptr @psi.w, align 8 %210 = fmul double %208, %209 store double %210, ptr @psi.upper, align 8 br label %211 211: ; preds = %191 %212 = load i32, ptr @psi.i, align 4 %213 = add nsw i32 %212, 1 store i32 %213, ptr @psi.i, align 4 %214 = load i32, ptr @psi.i, align 4 %215 = icmp sle i32 %214, 3 br i1 %215, label %191, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %211 br label %216 216: ; preds = %._crit_edge3, %180 %217 = load double, ptr @psi.upper, align 8 %218 = load double, ptr @psi.den, align 8 %219 = load double, ptr getelementptr inbounds ([4 x double], ptr @psi.q2, i64 0, i64 3), align 8 %220 = fadd double %218, %219 %221 = fdiv double %217, %220 %222 = load double, ptr @psi.x, align 8 %223 = fdiv double 5.000000e-01, %222 %224 = fsub double %221, %223 %225 = load double, ptr @psi.aug, align 8 %226 = fadd double %224, %225 store double %226, ptr @psi.aug, align 8 br label %227 227: ; preds = %216, %179 %228 = load double, ptr @psi.aug, align 8 %229 = load double, ptr @psi.x, align 8 %230 = call double @log(double noundef %229) #4 %231 = fadd double %228, %230 store double %231, ptr @psi.psi, align 8 %232 = load double, ptr @psi.psi, align 8 store double %232, ptr %2, align 8 br label %235 233: ; preds = %101, %44, %23 store double 0.000000e+00, ptr @psi.psi, align 8 %234 = load double, ptr @psi.psi, align 8 store double %234, ptr %2, align 8 br label %235 235: ; preds = %233, %227, %159 %236 = load double, ptr %2, align 8 ret double %236 } declare double @ipmpar(ptr noundef) #1 declare double @fifdmin1(double noundef, double noundef) #1 declare double @spmpar(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 declare i32 @fifidint(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @cos(double noundef) #3 ; Function Attrs: nounwind declare double @sin(double noundef) #3 ; Function Attrs: nounwind declare double @log(double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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/tmpmpbtprjk.c' source_filename = "/tmp/tmpmpbtprjk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_i16_i32_i16_2(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias 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 %9 = 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 store i32 0, ptr %9, align 4 br label %10 10: ; preds = %33, %4 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %8, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %36 14: ; preds = %10 %15 = load ptr, ptr %7, align 8 %16 = load i32, ptr %9, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i64, ptr %15, i64 %17 %19 = load i64, ptr %18, align 8 %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %32 21: ; preds = %14 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %9, align 4 %24 = mul nsw i32 %23, 2 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i64, ptr %22, i64 %25 %27 = load i64, ptr %26, align 8 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %9, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i64, ptr %28, i64 %30 store i64 %27, ptr %31, align 8 br label %32 32: ; preds = %21, %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 br label %10, !llvm.loop !6 36: ; preds = %10 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmpbtprjk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_i16_i32_i16_2(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias 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 %9 = 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 store i32 0, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = load i32, ptr %8, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %38 .lr.ph: ; preds = %4 br label %13 13: ; preds = %.lr.ph, %32 %14 = load ptr, ptr %7, align 8 %15 = load i32, ptr %9, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i64, ptr %14, i64 %16 %18 = load i64, ptr %17, align 8 %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %31 20: ; preds = %13 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %9, align 4 %23 = mul nsw i32 %22, 2 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i64, ptr %21, i64 %24 %26 = load i64, ptr %25, 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 i64, ptr %27, i64 %29 store i64 %26, ptr %30, align 8 br label %31 31: ; preds = %20, %13 br label %32 32: ; preds = %31 %33 = load i32, ptr %9, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %9, align 4 %35 = load i32, ptr %9, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpk5785n_e.c' source_filename = "/tmp/tmpk5785n_e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"%s header\0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c" %02X%02X%02X%02X%02X%02X%02X%02X\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump_metis_buffer(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 i32, ptr @stderr, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8) %10 = load i32, ptr @stderr, align 4 %11 = load ptr, ptr %6, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 0 %13 = load i8, ptr %12, align 1 %14 = zext i8 %13 to i32 %15 = load ptr, ptr %6, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 1 %17 = load i8, ptr %16, align 1 %18 = zext i8 %17 to i32 %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 2 %21 = load i8, ptr %20, align 1 %22 = zext i8 %21 to i32 %23 = load ptr, ptr %6, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 3 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 4 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 5 %33 = load i8, ptr %32, align 1 %34 = zext i8 %33 to i32 %35 = load ptr, ptr %6, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 6 %37 = load i8, ptr %36, align 1 %38 = zext i8 %37 to i32 %39 = load ptr, ptr %6, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 7 %41 = load i8, ptr %40, align 1 %42 = zext i8 %41 to i32 %43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.1, i32 noundef %14, i32 noundef %18, i32 noundef %22, i32 noundef %26, i32 noundef %30, i32 noundef %34, i32 noundef %38, i32 noundef %42) %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr %5, align 4 %46 = load ptr, ptr %6, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 8 %48 = call i32 @dump_ozy_buffer(ptr noundef %44, i32 noundef %45, ptr noundef %47) %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %5, align 4 %51 = load ptr, ptr %6, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 520 %53 = call i32 @dump_ozy_buffer(ptr noundef %49, i32 noundef %50, ptr noundef %52) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @dump_ozy_buffer(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk5785n_e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"%s header\0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c" %02X%02X%02X%02X%02X%02X%02X%02X\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump_metis_buffer(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 i32, ptr @stderr, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8) %10 = load i32, ptr @stderr, align 4 %11 = load ptr, ptr %6, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 0 %13 = load i8, ptr %12, align 1 %14 = zext i8 %13 to i32 %15 = load ptr, ptr %6, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 1 %17 = load i8, ptr %16, align 1 %18 = zext i8 %17 to i32 %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 2 %21 = load i8, ptr %20, align 1 %22 = zext i8 %21 to i32 %23 = load ptr, ptr %6, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 3 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 4 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 5 %33 = load i8, ptr %32, align 1 %34 = zext i8 %33 to i32 %35 = load ptr, ptr %6, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 6 %37 = load i8, ptr %36, align 1 %38 = zext i8 %37 to i32 %39 = load ptr, ptr %6, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 7 %41 = load i8, ptr %40, align 1 %42 = zext i8 %41 to i32 %43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.1, i32 noundef %14, i32 noundef %18, i32 noundef %22, i32 noundef %26, i32 noundef %30, i32 noundef %34, i32 noundef %38, i32 noundef %42) %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr %5, align 4 %46 = load ptr, ptr %6, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 8 %48 = call i32 @dump_ozy_buffer(ptr noundef %44, i32 noundef %45, ptr noundef %47) %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %5, align 4 %51 = load ptr, ptr %6, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 520 %53 = call i32 @dump_ozy_buffer(ptr noundef %49, i32 noundef %50, ptr noundef %52) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @dump_ozy_buffer(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_w8g0_ts.c' source_filename = "/tmp/tmp_w8g0_ts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"^[0-9a-fA-F]{8}$\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @validate_hex32(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %7, label %6 6: ; preds = %1 store i32 0, ptr %2, align 4 br label %10 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call i32 @re_match(ptr noundef %8, ptr noundef @.str) store i32 %9, ptr %2, align 4 br label %10 10: ; preds = %7, %6 %11 = load i32, ptr %2, align 4 ret i32 %11 } declare i32 @re_match(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_w8g0_ts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"^[0-9a-fA-F]{8}$\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @validate_hex32(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %7, label %6 6: ; preds = %1 store i32 0, ptr %2, align 4 br label %10 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call i32 @re_match(ptr noundef %8, ptr noundef @.str) store i32 %9, ptr %2, align 4 br label %10 10: ; preds = %7, %6 %11 = load i32, ptr %2, align 4 ret i32 %11 } declare i32 @re_match(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/tmpcramaczg.c' source_filename = "/tmp/tmpcramaczg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Please enter n and k with interval: \00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%llu %llu\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) store i64 1, ptr %5, align 8 store i64 1, ptr %6, align 8 %9 = load i64, ptr %3, align 8 %10 = add i64 %9, 1 %11 = trunc i64 %10 to i32 store i32 %11, ptr %4, align 4 br label %12 12: ; preds = %25, %0 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = load i64, ptr %2, align 8 %16 = icmp ule i64 %14, %15 br i1 %16, label %17, label %28 17: ; preds = %12 %18 = load i64, ptr %5, align 8 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = mul i64 %18, %20 %22 = load i64, ptr %6, align 8 %23 = add i64 %22, 1 store i64 %23, ptr %6, align 8 %24 = udiv i64 %21, %22 store i64 %24, ptr %5, align 8 br label %25 25: ; preds = %17 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %4, align 4 br label %12, !llvm.loop !6 28: ; preds = %12 %29 = load i64, ptr %5, align 8 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %29) 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/tmpcramaczg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Please enter n and k with interval: \00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%llu %llu\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) store i64 1, ptr %5, align 8 store i64 1, ptr %6, align 8 %9 = load i64, ptr %3, align 8 %10 = add i64 %9, 1 %11 = trunc i64 %10 to i32 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = load i64, ptr %2, align 8 %15 = icmp ule i64 %13, %14 br i1 %15, label %.lr.ph, label %31 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %24 %17 = load i64, ptr %5, align 8 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = mul i64 %17, %19 %21 = load i64, ptr %6, align 8 %22 = add i64 %21, 1 store i64 %22, ptr %6, align 8 %23 = udiv i64 %20, %21 store i64 %23, ptr %5, align 8 br label %24 24: ; preds = %16 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %4, align 4 %27 = load i32, ptr %4, align 4 %28 = sext i32 %27 to i64 %29 = load i64, ptr %2, align 8 %30 = icmp ule i64 %28, %29 br i1 %30, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %31 31: ; preds = %._crit_edge, %0 %32 = load i64, ptr %5, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %32) 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/tmp15hc8b_o.c' source_filename = "/tmp/tmp15hc8b_o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%c,%c\0A\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i8 65, ptr %4, align 1 br label %5 5: ; preds = %26, %0 %6 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %7 = load i64, ptr @EOF, align 8 %8 = icmp ne i64 %6, %7 br i1 %8, label %9, label %27 9: ; preds = %5 %10 = load i8, ptr %4, align 1 %11 = sext i8 %10 to i32 %12 = load i8, ptr %2, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %11, %13 br i1 %14, label %15, label %17 15: ; preds = %9 %16 = load i8, ptr %3, align 1 store i8 %16, ptr %4, align 1 br label %26 17: ; preds = %9 %18 = load i8, ptr %4, align 1 %19 = sext i8 %18 to i32 %20 = load i8, ptr %3, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %19, %21 br i1 %22, label %23, label %25 23: ; preds = %17 %24 = load i8, ptr %2, align 1 store i8 %24, ptr %4, align 1 br label %25 25: ; preds = %23, %17 br label %26 26: ; preds = %25, %15 br label %5, !llvm.loop !6 27: ; preds = %5 %28 = load i8, ptr %4, align 1 %29 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %28) ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp15hc8b_o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%c,%c\0A\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i8 65, ptr %4, align 1 %5 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %6 = load i64, ptr @EOF, align 8 %7 = icmp ne i64 %5, %6 br i1 %7, label %.lr.ph, label %29 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %25 %9 = load i8, ptr %4, align 1 %10 = sext i8 %9 to i32 %11 = load i8, ptr %2, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %10, %12 br i1 %13, label %14, label %16 14: ; preds = %8 %15 = load i8, ptr %3, align 1 store i8 %15, ptr %4, align 1 br label %25 16: ; preds = %8 %17 = load i8, ptr %4, align 1 %18 = sext i8 %17 to i32 %19 = load i8, ptr %3, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %18, %20 br i1 %21, label %22, label %24 22: ; preds = %16 %23 = load i8, ptr %2, align 1 store i8 %23, ptr %4, align 1 br label %24 24: ; preds = %22, %16 br label %25 25: ; preds = %24, %14 %26 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %27 = load i64, ptr @EOF, align 8 %28 = icmp ne i64 %26, %27 br i1 %28, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %29 29: ; preds = %._crit_edge, %0 %30 = load i8, ptr %4, align 1 %31 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %30) ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4qk7ku9u.c' source_filename = "/tmp/tmp4qk7ku9u.c" target datalayout = "e-m:e-p270: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/tmp4qk7ku9u.c" target datalayout = "e-m:e-p270: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/tmpdo934dg1.c' source_filename = "/tmp/tmpdo934dg1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lte_int32_t(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 = icmp sle i32 %5, %6 %8 = zext i1 %7 to i32 ret i32 %8 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdo934dg1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lte_int32_t(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 = icmp sle i32 %5, %6 %8 = zext i1 %7 to i32 ret i32 %8 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvhfniiq7.c' source_filename = "/tmp/tmpvhfniiq7.c" target datalayout = "e-m:e-p270: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/tmpvhfniiq7.c" target datalayout = "e-m:e-p270: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/tmpb1pkzsks.c' source_filename = "/tmp/tmpb1pkzsks.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"ALGKJDLSJGLKDSJ\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getMem2(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %8 7: ; preds = %1 store i32 -1, ptr %2, align 4 br label %19 8: ; preds = %1 %9 = call i64 @malloc(i32 noundef 100) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %8 store i32 -2, ptr %2, align 4 br label %19 14: ; preds = %8 %15 = load ptr, ptr %4, align 8 %16 = call i32 @strcpy(ptr noundef %15, ptr noundef @.str) %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %3, align 8 store ptr %17, ptr %18, align 8 store i32 0, ptr %2, align 4 br label %19 19: ; preds = %14, %13, %7 %20 = load i32, ptr %2, align 4 ret i32 %20 } declare i64 @malloc(i32 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/tmpb1pkzsks.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"ALGKJDLSJGLKDSJ\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getMem2(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %8 7: ; preds = %1 store i32 -1, ptr %2, align 4 br label %19 8: ; preds = %1 %9 = call i64 @malloc(i32 noundef 100) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %8 store i32 -2, ptr %2, align 4 br label %19 14: ; preds = %8 %15 = load ptr, ptr %4, align 8 %16 = call i32 @strcpy(ptr noundef %15, ptr noundef @.str) %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %3, align 8 store ptr %17, ptr %18, align 8 store i32 0, ptr %2, align 4 br label %19 19: ; preds = %14, %13, %7 %20 = load i32, ptr %2, align 4 ret i32 %20 } declare i64 @malloc(i32 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/tmpp3r1qj3b.c' source_filename = "/tmp/tmpp3r1qj3b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"The product 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 store i32 1000, ptr %5, align 4 store i32 1, ptr %2, align 4 br label %6 6: ; preds = %47, %0 %7 = load i32, ptr %2, align 4 %8 = icmp sle i32 %7, 1000 br i1 %8, label %9, label %50 9: ; preds = %6 %10 = load i32, ptr %2, align 4 store i32 %10, ptr %3, align 4 br label %11 11: ; preds = %43, %9 %12 = load i32, ptr %3, align 4 %13 = icmp sle i32 %12, 1000 br i1 %13, label %14, label %46 14: ; preds = %11 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %2, align 4 %17 = sub nsw i32 %15, %16 %18 = load i32, ptr %3, align 4 %19 = sub nsw i32 %17, %18 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %2, align 4 %21 = load i32, ptr %2, align 4 %22 = mul nsw i32 %20, %21 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = mul nsw i32 %23, %24 %26 = add nsw i32 %22, %25 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %4, align 4 %29 = mul nsw i32 %27, %28 %30 = icmp eq i32 %26, %29 br i1 %30, label %31, label %42 31: ; preds = %14 %32 = load i32, ptr %2, align 4 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %4, align 4 %35 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %32, i32 noundef %33, i32 noundef %34) %36 = load i32, ptr %2, align 4 %37 = load i32, ptr %3, align 4 %38 = mul nsw i32 %36, %37 %39 = load i32, ptr %4, align 4 %40 = mul nsw i32 %38, %39 %41 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %40) br label %42 42: ; preds = %31, %14 br label %43 43: ; preds = %42 %44 = load i32, ptr %3, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %3, align 4 br label %11, !llvm.loop !6 46: ; preds = %11 br label %47 47: ; preds = %46 %48 = load i32, ptr %2, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %2, align 4 br label %6, !llvm.loop !8 50: ; preds = %6 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp3r1qj3b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"The product 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 store i32 1000, ptr %5, align 4 store i32 1, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp sle i32 %6, 1000 br i1 %7, label %.lr.ph2, label %52 .lr.ph2: ; preds = %0 br label %8 8: ; preds = %.lr.ph2, %47 %9 = load i32, ptr %2, align 4 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp sle i32 %10, 1000 br i1 %11, label %.lr.ph, label %46 .lr.ph: ; preds = %8 br label %12 12: ; preds = %.lr.ph, %41 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %2, align 4 %15 = sub nsw i32 %13, %14 %16 = load i32, ptr %3, align 4 %17 = sub nsw i32 %15, %16 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = mul nsw i32 %18, %19 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %3, align 4 %23 = mul nsw i32 %21, %22 %24 = add nsw i32 %20, %23 %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %4, align 4 %27 = mul nsw i32 %25, %26 %28 = icmp eq i32 %24, %27 br i1 %28, label %29, label %40 29: ; preds = %12 %30 = load i32, ptr %2, align 4 %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %4, align 4 %33 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %30, i32 noundef %31, i32 noundef %32) %34 = load i32, ptr %2, align 4 %35 = load i32, ptr %3, align 4 %36 = mul nsw i32 %34, %35 %37 = load i32, ptr %4, align 4 %38 = mul nsw i32 %36, %37 %39 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %38) br label %40 40: ; preds = %29, %12 br label %41 41: ; preds = %40 %42 = load i32, ptr %3, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %3, align 4 %44 = load i32, ptr %3, align 4 %45 = icmp sle i32 %44, 1000 br i1 %45, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %46 46: ; preds = %._crit_edge, %8 br label %47 47: ; preds = %46 %48 = load i32, ptr %2, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %2, align 4 %50 = load i32, ptr %2, align 4 %51 = icmp sle i32 %50, 1000 br i1 %51, label %8, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %47 br label %52 52: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp9ykk6ap_.c' source_filename = "/tmp/tmp9ykk6ap_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fc8150_i2c_byteread(ptr noundef %0, i16 noundef zeroext %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i16, align 2 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store i16 %1, ptr %5, align 2 store ptr %2, ptr %6, align 8 store i8 1, ptr %8, align 1 %9 = call i32 (...) @OAL_OBTAIN_SEMAPHORE() %10 = load ptr, ptr %4, align 8 %11 = call i32 @i2c_bulkwrite(ptr noundef %10, i32 noundef 88, i32 noundef 0, ptr noundef %5, i32 noundef 2) store i32 %11, ptr %7, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 @i2c_bulkwrite(ptr noundef %12, i32 noundef 88, i32 noundef 1, ptr noundef %8, i32 noundef 1) %14 = load i32, ptr %7, align 4 %15 = or i32 %14, %13 store i32 %15, ptr %7, align 4 %16 = load ptr, ptr %4, align 8 %17 = load ptr, ptr %6, align 8 %18 = call i32 @i2c_bulkread(ptr noundef %16, i32 noundef 88, i32 noundef 2, ptr noundef %17, i32 noundef 1) %19 = load i32, ptr %7, align 4 %20 = or i32 %19, %18 store i32 %20, ptr %7, align 4 %21 = call i32 (...) @OAL_RELEASE_SEMAPHORE() %22 = load i32, ptr %7, align 4 ret i32 %22 } declare i32 @OAL_OBTAIN_SEMAPHORE(...) #1 declare i32 @i2c_bulkwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @i2c_bulkread(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @OAL_RELEASE_SEMAPHORE(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9ykk6ap_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fc8150_i2c_byteread(ptr noundef %0, i16 noundef zeroext %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i16, align 2 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store i16 %1, ptr %5, align 2 store ptr %2, ptr %6, align 8 store i8 1, ptr %8, align 1 %9 = call i32 (...) @OAL_OBTAIN_SEMAPHORE() %10 = load ptr, ptr %4, align 8 %11 = call i32 @i2c_bulkwrite(ptr noundef %10, i32 noundef 88, i32 noundef 0, ptr noundef %5, i32 noundef 2) store i32 %11, ptr %7, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 @i2c_bulkwrite(ptr noundef %12, i32 noundef 88, i32 noundef 1, ptr noundef %8, i32 noundef 1) %14 = load i32, ptr %7, align 4 %15 = or i32 %14, %13 store i32 %15, ptr %7, align 4 %16 = load ptr, ptr %4, align 8 %17 = load ptr, ptr %6, align 8 %18 = call i32 @i2c_bulkread(ptr noundef %16, i32 noundef 88, i32 noundef 2, ptr noundef %17, i32 noundef 1) %19 = load i32, ptr %7, align 4 %20 = or i32 %19, %18 store i32 %20, ptr %7, align 4 %21 = call i32 (...) @OAL_RELEASE_SEMAPHORE() %22 = load i32, ptr %7, align 4 ret i32 %22 } declare i32 @OAL_OBTAIN_SEMAPHORE(...) #1 declare i32 @i2c_bulkwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @i2c_bulkread(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @OAL_RELEASE_SEMAPHORE(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpag1_yq3e.c' source_filename = "/tmp/tmpag1_yq3e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Hello world\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @vain() #0 { %1 = alloca i32, align 4 store i32 5, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpag1_yq3e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Hello world\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @vain() #0 { %1 = alloca i32, align 4 store i32 5, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1r5j9gcx.c' source_filename = "/tmp/tmp1r5j9gcx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 32, ptr %2, align 4 store i32 -2147483648, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) store i32 0, ptr %5, align 4 br label %7 7: ; preds = %23, %0 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 32 br i1 %9, label %10, label %26 10: ; preds = %7 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %3, align 4 %13 = and i32 %11, %12 %14 = icmp ne i32 %13, 0 %15 = zext i1 %14 to i64 %16 = select i1 %14, i32 1, i32 0 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) %18 = load i32, ptr %3, align 4 %19 = ashr i32 %18, 1 %20 = load i32, ptr %3, align 4 %21 = xor i32 %20, -1 %22 = and i32 %19, %21 store i32 %22, ptr %3, align 4 br label %23 23: ; preds = %10 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 br label %7, !llvm.loop !6 26: ; preds = %7 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1r5j9gcx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 32, ptr %2, align 4 store i32 -2147483648, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 32 br i1 %8, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %22 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %3, align 4 %12 = and i32 %10, %11 %13 = icmp ne i32 %12, 0 %14 = zext i1 %13 to i64 %15 = select i1 %13, i32 1, i32 0 %16 = call i32 @printf(ptr noundef @.str, i32 noundef %15) %17 = load i32, ptr %3, align 4 %18 = ashr i32 %17, 1 %19 = load i32, ptr %3, align 4 %20 = xor i32 %19, -1 %21 = and i32 %18, %20 store i32 %21, ptr %3, align 4 br label %22 22: ; preds = %9 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %25, 32 br i1 %26, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp69c8zvrj.c' source_filename = "/tmp/tmp69c8zvrj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %24 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = call i32 @qsort_partition(ptr noundef %12, i32 noundef %13, i32 noundef %14) store i32 %15, ptr %7, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %7, align 4 %19 = sub nsw i32 %18, 1 call void @qsort(ptr noundef %16, i32 noundef %17, i32 noundef %19) %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 1 %23 = load i32, ptr %6, align 4 call void @qsort(ptr noundef %20, i32 noundef %22, i32 noundef %23) br label %24 24: ; preds = %11, %3 ret void } declare i32 @qsort_partition(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp69c8zvrj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %24 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = call i32 @qsort_partition(ptr noundef %12, i32 noundef %13, i32 noundef %14) store i32 %15, ptr %7, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %7, align 4 %19 = sub nsw i32 %18, 1 call void @qsort(ptr noundef %16, i32 noundef %17, i32 noundef %19) %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 1 %23 = load i32, ptr %6, align 4 call void @qsort(ptr noundef %20, i32 noundef %22, i32 noundef %23) br label %24 24: ; preds = %11, %3 ret void } declare i32 @qsort_partition(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps5do8knd.c' source_filename = "/tmp/tmps5do8knd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PM_mean(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %19, %2 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %22 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, %16 store i32 %18, ptr %5, align 4 br label %19 19: ; preds = %11 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %6, align 4 br label %7, !llvm.loop !6 22: ; preds = %7 %23 = load i32, ptr %5, align 4 %24 = sitofp i32 %23 to float %25 = load i32, ptr %4, align 4 %26 = sitofp i32 %25 to float %27 = fdiv float %24, %26 ret float %27 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmps5do8knd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PM_mean(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %18 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %6, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, %15 store i32 %17, ptr %5, align 4 br label %18 18: ; preds = %10 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %2 %25 = load i32, ptr %5, align 4 %26 = sitofp i32 %25 to float %27 = load i32, ptr %4, align 4 %28 = sitofp i32 %27 to float %29 = fdiv float %26, %28 ret float %29 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmprntyekv6.c' source_filename = "/tmp/tmprntyekv6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @folder(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %45, %2 %8 = call i32 (...) @getchar() store i32 %8, ptr %6, align 4 %9 = load i32, ptr @EOF, align 4 %10 = icmp ne i32 %8, %9 br i1 %10, label %11, label %46 11: ; preds = %7 %12 = load i32, ptr %6, align 4 %13 = icmp eq i32 %12, 10 br i1 %13, label %14, label %17 14: ; preds = %11 store i32 0, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 @putchar(i32 noundef %15) br label %45 17: ; preds = %11 %18 = load i32, ptr %6, align 4 %19 = icmp eq i32 %18, 9 br i1 %19, label %20, label %33 20: ; preds = %17 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, %21 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp sgt i32 %24, %25 br i1 %26, label %27, label %30 27: ; preds = %20 %28 = call i32 @putchar(i32 noundef 10) %29 = load i32, ptr %3, align 4 store i32 %29, ptr %5, align 4 br label %30 30: ; preds = %27, %20 %31 = load i32, ptr %6, align 4 %32 = call i32 @putchar(i32 noundef %31) br label %44 33: ; preds = %17 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %4, align 4 %38 = icmp sge i32 %36, %37 br i1 %38, label %39, label %41 39: ; preds = %33 %40 = call i32 @putchar(i32 noundef 10) store i32 1, ptr %5, align 4 br label %41 41: ; preds = %39, %33 %42 = load i32, ptr %6, align 4 %43 = call i32 @putchar(i32 noundef %42) br label %44 44: ; preds = %41, %30 br label %45 45: ; preds = %44, %14 br label %7, !llvm.loop !6 46: ; preds = %7 ret void } declare i32 @getchar(...) #1 declare i32 @putchar(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprntyekv6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @folder(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = call i32 (...) @getchar() store i32 %7, ptr %6, align 4 %8 = load i32, ptr @EOF, align 4 %9 = icmp ne i32 %7, %8 br i1 %9, label %.lr.ph, label %48 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %44 %11 = load i32, ptr %6, align 4 %12 = icmp eq i32 %11, 10 br i1 %12, label %13, label %16 13: ; preds = %10 store i32 0, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = call i32 @putchar(i32 noundef %14) br label %44 16: ; preds = %10 %17 = load i32, ptr %6, align 4 %18 = icmp eq i32 %17, 9 br i1 %18, label %19, label %32 19: ; preds = %16 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, %20 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp sgt i32 %23, %24 br i1 %25, label %26, label %29 26: ; preds = %19 %27 = call i32 @putchar(i32 noundef 10) %28 = load i32, ptr %3, align 4 store i32 %28, ptr %5, align 4 br label %29 29: ; preds = %26, %19 %30 = load i32, ptr %6, align 4 %31 = call i32 @putchar(i32 noundef %30) br label %43 32: ; preds = %16 %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 = load i32, ptr %4, align 4 %37 = icmp sge i32 %35, %36 br i1 %37, label %38, label %40 38: ; preds = %32 %39 = call i32 @putchar(i32 noundef 10) store i32 1, ptr %5, align 4 br label %40 40: ; preds = %38, %32 %41 = load i32, ptr %6, align 4 %42 = call i32 @putchar(i32 noundef %41) br label %43 43: ; preds = %40, %29 br label %44 44: ; preds = %43, %13 %45 = call i32 (...) @getchar() store i32 %45, ptr %6, align 4 %46 = load i32, ptr @EOF, align 4 %47 = icmp ne i32 %45, %46 br i1 %47, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %48 48: ; preds = %._crit_edge, %2 ret void } declare i32 @getchar(...) #1 declare i32 @putchar(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpn0ore1t_.c' source_filename = "/tmp/tmpn0ore1t_.c" target datalayout = "e-m:e-p270: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"%f \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 void @mat_print(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 1, ptr %7, align 4 br label %9 9: ; preds = %37, %3 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %13, label %40 13: ; preds = %9 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %8, align 4 br label %15 15: ; preds = %32, %13 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %19, label %35 19: ; preds = %15 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %8, align 4 %22 = sub nsw i32 %21, 1 %23 = load i32, ptr %5, align 4 %24 = mul nsw i32 %22, %23 %25 = load i32, ptr %7, align 4 %26 = sub nsw i32 %25, 1 %27 = add nsw i32 %24, %26 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds double, ptr %20, i64 %28 %30 = load double, ptr %29, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %30) br label %32 32: ; preds = %19 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 br label %15, !llvm.loop !6 35: ; preds = %15 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %37 37: ; preds = %35 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %9, !llvm.loop !8 40: ; preds = %9 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn0ore1t_.c" target datalayout = "e-m:e-p270: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"%f \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 void @mat_print(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 1, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %.lr.ph2, label %44 .lr.ph2: ; preds = %3 br label %12 12: ; preds = %.lr.ph2, %38 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp sle i32 %14, %15 br i1 %16, label %.lr.ph, label %36 .lr.ph: ; preds = %12 br label %17 17: ; preds = %.lr.ph, %30 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %8, align 4 %20 = sub nsw i32 %19, 1 %21 = load i32, ptr %5, align 4 %22 = mul nsw i32 %20, %21 %23 = load i32, ptr %7, align 4 %24 = sub nsw i32 %23, 1 %25 = add nsw i32 %22, %24 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds double, ptr %18, i64 %26 %28 = load double, ptr %27, align 8 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %28) br label %30 30: ; preds = %17 %31 = load i32, ptr %8, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %8, align 4 %33 = load i32, ptr %8, align 4 %34 = load i32, ptr %6, align 4 %35 = icmp sle i32 %33, %34 br i1 %35, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %36 36: ; preds = %._crit_edge, %12 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %38 38: ; preds = %36 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %7, align 4 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr %5, align 4 %43 = icmp sle i32 %41, %42 br i1 %43, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %38 br label %44 44: ; preds = %._crit_edge3, %3 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpjhocjld7.c' source_filename = "/tmp/tmpjhocjld7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vox_get_ticks() #0 { %1 = call i32 (...) @sv_get_ticks() ret i32 %1 } declare i32 @sv_get_ticks(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjhocjld7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vox_get_ticks() #0 { %1 = call i32 (...) @sv_get_ticks() ret i32 %1 } declare i32 @sv_get_ticks(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3cclf823.c' source_filename = "/tmp/tmp3cclf823.c" target datalayout = "e-m:e-p270: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 { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @RC2_decrypt(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i64, ptr %15, i64 0 %17 = load i64, ptr %16, align 8 store i64 %17, ptr %14, align 8 %18 = load i64, ptr %14, align 8 %19 = trunc i64 %18 to i32 %20 = and i32 %19, 65535 store i32 %20, ptr %9, align 4 %21 = load i64, ptr %14, align 8 %22 = lshr i64 %21, 16 %23 = trunc i64 %22 to i32 store i32 %23, ptr %10, align 4 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds i64, ptr %24, i64 1 %26 = load i64, ptr %25, align 8 store i64 %26, ptr %14, align 8 %27 = load i64, ptr %14, align 8 %28 = trunc i64 %27 to i32 %29 = and i32 %28, 65535 store i32 %29, ptr %11, align 4 %30 = load i64, ptr %14, align 8 %31 = lshr i64 %30, 16 %32 = trunc i64 %31 to i32 store i32 %32, ptr %12, align 4 store i32 3, ptr %6, align 4 store i32 5, ptr %5, align 4 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds %struct.TYPE_3__, ptr %33, i32 0, i32 0 %35 = load ptr, ptr %34, align 8 %36 = getelementptr inbounds i32, ptr %35, i64 63 store ptr %36, ptr %7, align 8 %37 = load ptr, ptr %4, align 8 %38 = getelementptr inbounds %struct.TYPE_3__, ptr %37, i32 0, i32 0 %39 = load ptr, ptr %38, align 8 %40 = getelementptr inbounds i32, ptr %39, i64 0 store ptr %40, ptr %8, align 8 br label %41 41: ; preds = %175, %2 %42 = load i32, ptr %12, align 4 %43 = shl i32 %42, 11 %44 = load i32, ptr %12, align 4 %45 = ashr i32 %44, 5 %46 = or i32 %43, %45 %47 = and i32 %46, 65535 store i32 %47, ptr %13, align 4 %48 = load i32, ptr %13, align 4 %49 = load i32, ptr %9, align 4 %50 = load i32, ptr %11, align 4 %51 = xor i32 %50, -1 %52 = and i32 %49, %51 %53 = sub nsw i32 %48, %52 %54 = load i32, ptr %10, align 4 %55 = load i32, ptr %11, align 4 %56 = and i32 %54, %55 %57 = sub nsw i32 %53, %56 %58 = load ptr, ptr %7, align 8 %59 = getelementptr inbounds i32, ptr %58, i32 -1 store ptr %59, ptr %7, align 8 %60 = load i32, ptr %58, align 4 %61 = sub nsw i32 %57, %60 %62 = and i32 %61, 65535 store i32 %62, ptr %12, align 4 %63 = load i32, ptr %11, align 4 %64 = shl i32 %63, 13 %65 = load i32, ptr %11, align 4 %66 = ashr i32 %65, 3 %67 = or i32 %64, %66 %68 = and i32 %67, 65535 store i32 %68, ptr %13, align 4 %69 = load i32, ptr %13, align 4 %70 = load i32, ptr %12, align 4 %71 = load i32, ptr %10, align 4 %72 = xor i32 %71, -1 %73 = and i32 %70, %72 %74 = sub nsw i32 %69, %73 %75 = load i32, ptr %9, align 4 %76 = load i32, ptr %10, align 4 %77 = and i32 %75, %76 %78 = sub nsw i32 %74, %77 %79 = load ptr, ptr %7, align 8 %80 = getelementptr inbounds i32, ptr %79, i32 -1 store ptr %80, ptr %7, align 8 %81 = load i32, ptr %79, align 4 %82 = sub nsw i32 %78, %81 %83 = and i32 %82, 65535 store i32 %83, ptr %11, align 4 %84 = load i32, ptr %10, align 4 %85 = shl i32 %84, 14 %86 = load i32, ptr %10, align 4 %87 = ashr i32 %86, 2 %88 = or i32 %85, %87 %89 = and i32 %88, 65535 store i32 %89, ptr %13, align 4 %90 = load i32, ptr %13, align 4 %91 = load i32, ptr %11, align 4 %92 = load i32, ptr %9, align 4 %93 = xor i32 %92, -1 %94 = and i32 %91, %93 %95 = sub nsw i32 %90, %94 %96 = load i32, ptr %12, align 4 %97 = load i32, ptr %9, align 4 %98 = and i32 %96, %97 %99 = sub nsw i32 %95, %98 %100 = load ptr, ptr %7, align 8 %101 = getelementptr inbounds i32, ptr %100, i32 -1 store ptr %101, ptr %7, align 8 %102 = load i32, ptr %100, align 4 %103 = sub nsw i32 %99, %102 %104 = and i32 %103, 65535 store i32 %104, ptr %10, align 4 %105 = load i32, ptr %9, align 4 %106 = shl i32 %105, 15 %107 = load i32, ptr %9, align 4 %108 = ashr i32 %107, 1 %109 = or i32 %106, %108 %110 = and i32 %109, 65535 store i32 %110, ptr %13, align 4 %111 = load i32, ptr %13, align 4 %112 = load i32, ptr %10, align 4 %113 = load i32, ptr %12, align 4 %114 = xor i32 %113, -1 %115 = and i32 %112, %114 %116 = sub nsw i32 %111, %115 %117 = load i32, ptr %11, align 4 %118 = load i32, ptr %12, align 4 %119 = and i32 %117, %118 %120 = sub nsw i32 %116, %119 %121 = load ptr, ptr %7, align 8 %122 = getelementptr inbounds i32, ptr %121, i32 -1 store ptr %122, ptr %7, align 8 %123 = load i32, ptr %121, align 4 %124 = sub nsw i32 %120, %123 %125 = and i32 %124, 65535 store i32 %125, ptr %9, align 4 %126 = load i32, ptr %5, align 4 %127 = add nsw i32 %126, -1 store i32 %127, ptr %5, align 4 %128 = icmp eq i32 %127, 0 br i1 %128, label %129, label %175 129: ; preds = %41 %130 = load i32, ptr %6, align 4 %131 = add nsw i32 %130, -1 store i32 %131, ptr %6, align 4 %132 = icmp eq i32 %131, 0 br i1 %132, label %133, label %134 133: ; preds = %129 br label %176 134: ; preds = %129 %135 = load i32, ptr %6, align 4 %136 = icmp eq i32 %135, 2 %137 = zext i1 %136 to i64 %138 = select i1 %136, i32 6, i32 5 store i32 %138, ptr %5, align 4 %139 = load i32, ptr %12, align 4 %140 = load ptr, ptr %8, align 8 %141 = load i32, ptr %11, align 4 %142 = and i32 %141, 63 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds i32, ptr %140, i64 %143 %145 = load i32, ptr %144, align 4 %146 = sub nsw i32 %139, %145 %147 = and i32 %146, 65535 store i32 %147, ptr %12, align 4 %148 = load i32, ptr %11, align 4 %149 = load ptr, ptr %8, align 8 %150 = load i32, ptr %10, align 4 %151 = and i32 %150, 63 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds i32, ptr %149, i64 %152 %154 = load i32, ptr %153, align 4 %155 = sub nsw i32 %148, %154 %156 = and i32 %155, 65535 store i32 %156, ptr %11, align 4 %157 = load i32, ptr %10, align 4 %158 = load ptr, ptr %8, align 8 %159 = load i32, ptr %9, align 4 %160 = and i32 %159, 63 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds i32, ptr %158, i64 %161 %163 = load i32, ptr %162, align 4 %164 = sub nsw i32 %157, %163 %165 = and i32 %164, 65535 store i32 %165, ptr %10, align 4 %166 = load i32, ptr %9, align 4 %167 = load ptr, ptr %8, align 8 %168 = load i32, ptr %12, align 4 %169 = and i32 %168, 63 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds i32, ptr %167, i64 %170 %172 = load i32, ptr %171, align 4 %173 = sub nsw i32 %166, %172 %174 = and i32 %173, 65535 store i32 %174, ptr %9, align 4 br label %175 175: ; preds = %134, %41 br label %41 176: ; preds = %133 %177 = load i32, ptr %9, align 4 %178 = and i32 %177, 65535 %179 = sext i32 %178 to i64 %180 = load i32, ptr %10, align 4 %181 = and i32 %180, 65535 %182 = sext i32 %181 to i64 %183 = shl i64 %182, 16 %184 = or i64 %179, %183 %185 = load ptr, ptr %3, align 8 %186 = getelementptr inbounds i64, ptr %185, i64 0 store i64 %184, ptr %186, align 8 %187 = load i32, ptr %11, align 4 %188 = and i32 %187, 65535 %189 = sext i32 %188 to i64 %190 = load i32, ptr %12, align 4 %191 = and i32 %190, 65535 %192 = sext i32 %191 to i64 %193 = shl i64 %192, 16 %194 = or i64 %189, %193 %195 = load ptr, ptr %3, align 8 %196 = getelementptr inbounds i64, ptr %195, i64 1 store i64 %194, ptr %196, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3cclf823.c" target datalayout = "e-m:e-p270: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 { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @RC2_decrypt(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i64, ptr %15, i64 0 %17 = load i64, ptr %16, align 8 store i64 %17, ptr %14, align 8 %18 = load i64, ptr %14, align 8 %19 = trunc i64 %18 to i32 %20 = and i32 %19, 65535 store i32 %20, ptr %9, align 4 %21 = load i64, ptr %14, align 8 %22 = lshr i64 %21, 16 %23 = trunc i64 %22 to i32 store i32 %23, ptr %10, align 4 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds i64, ptr %24, i64 1 %26 = load i64, ptr %25, align 8 store i64 %26, ptr %14, align 8 %27 = load i64, ptr %14, align 8 %28 = trunc i64 %27 to i32 %29 = and i32 %28, 65535 store i32 %29, ptr %11, align 4 %30 = load i64, ptr %14, align 8 %31 = lshr i64 %30, 16 %32 = trunc i64 %31 to i32 store i32 %32, ptr %12, align 4 store i32 3, ptr %6, align 4 store i32 5, ptr %5, align 4 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds %struct.TYPE_3__, ptr %33, i32 0, i32 0 %35 = load ptr, ptr %34, align 8 %36 = getelementptr inbounds i32, ptr %35, i64 63 store ptr %36, ptr %7, align 8 %37 = load ptr, ptr %4, align 8 %38 = getelementptr inbounds %struct.TYPE_3__, ptr %37, i32 0, i32 0 %39 = load ptr, ptr %38, align 8 %40 = getelementptr inbounds i32, ptr %39, i64 0 store ptr %40, ptr %8, align 8 br label %41 41: ; preds = %175, %2 %42 = load i32, ptr %12, align 4 %43 = shl i32 %42, 11 %44 = load i32, ptr %12, align 4 %45 = ashr i32 %44, 5 %46 = or i32 %43, %45 %47 = and i32 %46, 65535 store i32 %47, ptr %13, align 4 %48 = load i32, ptr %13, align 4 %49 = load i32, ptr %9, align 4 %50 = load i32, ptr %11, align 4 %51 = xor i32 %50, -1 %52 = and i32 %49, %51 %53 = sub nsw i32 %48, %52 %54 = load i32, ptr %10, align 4 %55 = load i32, ptr %11, align 4 %56 = and i32 %54, %55 %57 = sub nsw i32 %53, %56 %58 = load ptr, ptr %7, align 8 %59 = getelementptr inbounds i32, ptr %58, i32 -1 store ptr %59, ptr %7, align 8 %60 = load i32, ptr %58, align 4 %61 = sub nsw i32 %57, %60 %62 = and i32 %61, 65535 store i32 %62, ptr %12, align 4 %63 = load i32, ptr %11, align 4 %64 = shl i32 %63, 13 %65 = load i32, ptr %11, align 4 %66 = ashr i32 %65, 3 %67 = or i32 %64, %66 %68 = and i32 %67, 65535 store i32 %68, ptr %13, align 4 %69 = load i32, ptr %13, align 4 %70 = load i32, ptr %12, align 4 %71 = load i32, ptr %10, align 4 %72 = xor i32 %71, -1 %73 = and i32 %70, %72 %74 = sub nsw i32 %69, %73 %75 = load i32, ptr %9, align 4 %76 = load i32, ptr %10, align 4 %77 = and i32 %75, %76 %78 = sub nsw i32 %74, %77 %79 = load ptr, ptr %7, align 8 %80 = getelementptr inbounds i32, ptr %79, i32 -1 store ptr %80, ptr %7, align 8 %81 = load i32, ptr %79, align 4 %82 = sub nsw i32 %78, %81 %83 = and i32 %82, 65535 store i32 %83, ptr %11, align 4 %84 = load i32, ptr %10, align 4 %85 = shl i32 %84, 14 %86 = load i32, ptr %10, align 4 %87 = ashr i32 %86, 2 %88 = or i32 %85, %87 %89 = and i32 %88, 65535 store i32 %89, ptr %13, align 4 %90 = load i32, ptr %13, align 4 %91 = load i32, ptr %11, align 4 %92 = load i32, ptr %9, align 4 %93 = xor i32 %92, -1 %94 = and i32 %91, %93 %95 = sub nsw i32 %90, %94 %96 = load i32, ptr %12, align 4 %97 = load i32, ptr %9, align 4 %98 = and i32 %96, %97 %99 = sub nsw i32 %95, %98 %100 = load ptr, ptr %7, align 8 %101 = getelementptr inbounds i32, ptr %100, i32 -1 store ptr %101, ptr %7, align 8 %102 = load i32, ptr %100, align 4 %103 = sub nsw i32 %99, %102 %104 = and i32 %103, 65535 store i32 %104, ptr %10, align 4 %105 = load i32, ptr %9, align 4 %106 = shl i32 %105, 15 %107 = load i32, ptr %9, align 4 %108 = ashr i32 %107, 1 %109 = or i32 %106, %108 %110 = and i32 %109, 65535 store i32 %110, ptr %13, align 4 %111 = load i32, ptr %13, align 4 %112 = load i32, ptr %10, align 4 %113 = load i32, ptr %12, align 4 %114 = xor i32 %113, -1 %115 = and i32 %112, %114 %116 = sub nsw i32 %111, %115 %117 = load i32, ptr %11, align 4 %118 = load i32, ptr %12, align 4 %119 = and i32 %117, %118 %120 = sub nsw i32 %116, %119 %121 = load ptr, ptr %7, align 8 %122 = getelementptr inbounds i32, ptr %121, i32 -1 store ptr %122, ptr %7, align 8 %123 = load i32, ptr %121, align 4 %124 = sub nsw i32 %120, %123 %125 = and i32 %124, 65535 store i32 %125, ptr %9, align 4 %126 = load i32, ptr %5, align 4 %127 = add nsw i32 %126, -1 store i32 %127, ptr %5, align 4 %128 = icmp eq i32 %127, 0 br i1 %128, label %129, label %175 129: ; preds = %41 %130 = load i32, ptr %6, align 4 %131 = add nsw i32 %130, -1 store i32 %131, ptr %6, align 4 %132 = icmp eq i32 %131, 0 br i1 %132, label %133, label %134 133: ; preds = %129 br label %176 134: ; preds = %129 %135 = load i32, ptr %6, align 4 %136 = icmp eq i32 %135, 2 %137 = zext i1 %136 to i64 %138 = select i1 %136, i32 6, i32 5 store i32 %138, ptr %5, align 4 %139 = load i32, ptr %12, align 4 %140 = load ptr, ptr %8, align 8 %141 = load i32, ptr %11, align 4 %142 = and i32 %141, 63 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds i32, ptr %140, i64 %143 %145 = load i32, ptr %144, align 4 %146 = sub nsw i32 %139, %145 %147 = and i32 %146, 65535 store i32 %147, ptr %12, align 4 %148 = load i32, ptr %11, align 4 %149 = load ptr, ptr %8, align 8 %150 = load i32, ptr %10, align 4 %151 = and i32 %150, 63 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds i32, ptr %149, i64 %152 %154 = load i32, ptr %153, align 4 %155 = sub nsw i32 %148, %154 %156 = and i32 %155, 65535 store i32 %156, ptr %11, align 4 %157 = load i32, ptr %10, align 4 %158 = load ptr, ptr %8, align 8 %159 = load i32, ptr %9, align 4 %160 = and i32 %159, 63 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds i32, ptr %158, i64 %161 %163 = load i32, ptr %162, align 4 %164 = sub nsw i32 %157, %163 %165 = and i32 %164, 65535 store i32 %165, ptr %10, align 4 %166 = load i32, ptr %9, align 4 %167 = load ptr, ptr %8, align 8 %168 = load i32, ptr %12, align 4 %169 = and i32 %168, 63 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds i32, ptr %167, i64 %170 %172 = load i32, ptr %171, align 4 %173 = sub nsw i32 %166, %172 %174 = and i32 %173, 65535 store i32 %174, ptr %9, align 4 br label %175 175: ; preds = %134, %41 br label %41 176: ; preds = %133 %177 = load i32, ptr %9, align 4 %178 = and i32 %177, 65535 %179 = sext i32 %178 to i64 %180 = load i32, ptr %10, align 4 %181 = and i32 %180, 65535 %182 = sext i32 %181 to i64 %183 = shl i64 %182, 16 %184 = or i64 %179, %183 %185 = load ptr, ptr %3, align 8 %186 = getelementptr inbounds i64, ptr %185, i64 0 store i64 %184, ptr %186, align 8 %187 = load i32, ptr %11, align 4 %188 = and i32 %187, 65535 %189 = sext i32 %188 to i64 %190 = load i32, ptr %12, align 4 %191 = and i32 %190, 65535 %192 = sext i32 %191 to i64 %193 = shl i64 %192, 16 %194 = or i64 %189, %193 %195 = load ptr, ptr %3, align 8 %196 = getelementptr inbounds i64, ptr %195, i64 1 store i64 %194, ptr %196, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp9u_utd3.c' source_filename = "/tmp/tmpp9u_utd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @recv_line(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i64 0, ptr %7, align 8 store i32 1, ptr %8, align 4 br label %9 9: ; preds = %35, %3 %10 = load i64, ptr %7, align 8 %11 = load i64, ptr %6, align 8 %12 = sub i64 %11, 1 %13 = icmp ult i64 %10, %12 br i1 %13, label %14, label %17 14: ; preds = %9 %15 = load i32, ptr %8, align 4 %16 = icmp eq i32 %15, 1 br label %17 17: ; preds = %14, %9 %18 = phi i1 [ false, %9 ], [ %16, %14 ] br i1 %18, label %19, label %36 19: ; preds = %17 %20 = load i32, ptr %4, align 4 %21 = load ptr, ptr %5, align 8 %22 = load i64, ptr %7, align 8 %23 = getelementptr inbounds i8, ptr %21, i64 %22 %24 = call i32 @recv(i32 noundef %20, ptr noundef %23, i32 noundef 1, i32 noundef 0) store i32 %24, ptr %8, align 4 %25 = load ptr, ptr %5, align 8 %26 = load i64, ptr %7, align 8 %27 = getelementptr inbounds i8, ptr %25, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 10 br i1 %30, label %31, label %32 31: ; preds = %19 br label %36 32: ; preds = %19 %33 = load i64, ptr %7, align 8 %34 = add i64 %33, 1 store i64 %34, ptr %7, align 8 br label %35 35: ; preds = %32 br label %9, !llvm.loop !6 36: ; preds = %31, %17 %37 = load i64, ptr %7, align 8 %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %50 39: ; preds = %36 %40 = load ptr, ptr %5, align 8 %41 = load i64, ptr %7, align 8 %42 = sub i64 %41, 1 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 13 br i1 %46, label %47, label %50 47: ; preds = %39 %48 = load i64, ptr %7, align 8 %49 = add i64 %48, -1 store i64 %49, ptr %7, align 8 br label %50 50: ; preds = %47, %39, %36 %51 = load ptr, ptr %5, align 8 %52 = load i64, ptr %7, align 8 %53 = getelementptr inbounds i8, ptr %51, i64 %52 store i8 0, ptr %53, align 1 %54 = load i64, ptr %7, align 8 %55 = trunc i64 %54 to i32 ret i32 %55 } declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp9u_utd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @recv_line(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i64 0, ptr %7, align 8 store i32 1, ptr %8, align 4 br label %9 9: ; preds = %35, %3 %10 = load i64, ptr %7, align 8 %11 = load i64, ptr %6, align 8 %12 = sub i64 %11, 1 %13 = icmp ult i64 %10, %12 br i1 %13, label %14, label %17 14: ; preds = %9 %15 = load i32, ptr %8, align 4 %16 = icmp eq i32 %15, 1 br label %17 17: ; preds = %14, %9 %18 = phi i1 [ false, %9 ], [ %16, %14 ] br i1 %18, label %19, label %.loopexit 19: ; preds = %17 %20 = load i32, ptr %4, align 4 %21 = load ptr, ptr %5, align 8 %22 = load i64, ptr %7, align 8 %23 = getelementptr inbounds i8, ptr %21, i64 %22 %24 = call i32 @recv(i32 noundef %20, ptr noundef %23, i32 noundef 1, i32 noundef 0) store i32 %24, ptr %8, align 4 %25 = load ptr, ptr %5, align 8 %26 = load i64, ptr %7, align 8 %27 = getelementptr inbounds i8, ptr %25, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 10 br i1 %30, label %31, label %32 31: ; preds = %19 br label %36 32: ; preds = %19 %33 = load i64, ptr %7, align 8 %34 = add i64 %33, 1 store i64 %34, ptr %7, align 8 br label %35 35: ; preds = %32 br label %9, !llvm.loop !6 .loopexit: ; preds = %17 br label %36 36: ; preds = %.loopexit, %31 %37 = load i64, ptr %7, align 8 %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %50 39: ; preds = %36 %40 = load ptr, ptr %5, align 8 %41 = load i64, ptr %7, align 8 %42 = sub i64 %41, 1 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 13 br i1 %46, label %47, label %50 47: ; preds = %39 %48 = load i64, ptr %7, align 8 %49 = add i64 %48, -1 store i64 %49, ptr %7, align 8 br label %50 50: ; preds = %47, %39, %36 %51 = load ptr, ptr %5, align 8 %52 = load i64, ptr %7, align 8 %53 = getelementptr inbounds i8, ptr %51, i64 %52 store i8 0, ptr %53, align 1 %54 = load i64, ptr %7, align 8 %55 = trunc i64 %54 to i32 ret i32 %55 } declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpoezh5yhb.c' source_filename = "/tmp/tmpoezh5yhb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 15 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = call i32 @isort(ptr noundef %12, i32 noundef %13) br label %133 15: ; preds = %2 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %4, align 4 %18 = ashr i32 %17, 1 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %16, i64 %19 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %4, align 4 %24 = ashr i32 %23, 2 %25 = add nsw i32 %24, 2 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %22, i64 %26 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %4, align 4 %31 = load i32, ptr %4, align 4 %32 = ashr i32 %31, 1 %33 = sub nsw i32 %30, %32 %34 = sub nsw i32 %33, 2 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %29, i64 %35 %37 = load i32, ptr %36, align 4 %38 = call i32 @med3(i32 noundef %21, i32 noundef %28, i32 noundef %37) store i32 %38, ptr %5, align 4 store i32 0, ptr %6, align 4 %39 = load i32, ptr %4, align 4 %40 = sub nsw i32 %39, 1 store i32 %40, ptr %7, align 4 br label %41 41: ; preds = %107, %15 %42 = load i32, ptr %6, align 4 %43 = load i32, ptr %7, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %45, label %108 45: ; preds = %41 br label %46 46: ; preds = %60, %45 %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %7, align 4 %49 = icmp sle i32 %47, %48 br i1 %49, label %50, label %58 50: ; preds = %46 %51 = load ptr, ptr %3, align 8 %52 = load i32, ptr %6, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 %55 = load i32, ptr %54, align 4 %56 = load i32, ptr %5, align 4 %57 = icmp slt i32 %55, %56 br label %58 58: ; preds = %50, %46 %59 = phi i1 [ false, %46 ], [ %57, %50 ] br i1 %59, label %60, label %63 60: ; preds = %58 %61 = load i32, ptr %6, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %6, align 4 br label %46, !llvm.loop !6 63: ; preds = %58 br label %64 64: ; preds = %78, %63 %65 = load i32, ptr %6, align 4 %66 = load i32, ptr %7, align 4 %67 = icmp sle i32 %65, %66 br i1 %67, label %68, label %76 68: ; preds = %64 %69 = load ptr, ptr %3, align 8 %70 = load i32, ptr %7, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %69, i64 %71 %73 = load i32, ptr %72, align 4 %74 = load i32, ptr %5, align 4 %75 = icmp sgt i32 %73, %74 br label %76 76: ; preds = %68, %64 %77 = phi i1 [ false, %64 ], [ %75, %68 ] br i1 %77, label %78, label %81 78: ; preds = %76 %79 = load i32, ptr %7, align 4 %80 = add nsw i32 %79, -1 store i32 %80, ptr %7, align 4 br label %64, !llvm.loop !8 81: ; preds = %76 %82 = load i32, ptr %6, align 4 %83 = load i32, ptr %7, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %85, label %107 85: ; preds = %81 %86 = load ptr, ptr %3, align 8 %87 = load i32, ptr %6, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %86, i64 %88 %90 = load i32, ptr %89, align 4 store i32 %90, ptr %8, align 4 %91 = load ptr, ptr %3, align 8 %92 = load i32, ptr %7, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %91, i64 %93 %95 = load i32, ptr %94, align 4 %96 = load ptr, ptr %3, align 8 %97 = load i32, ptr %6, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %6, align 4 %99 = sext i32 %97 to i64 %100 = getelementptr inbounds i32, ptr %96, i64 %99 store i32 %95, ptr %100, align 4 %101 = load i32, ptr %8, align 4 %102 = load ptr, ptr %3, align 8 %103 = load i32, ptr %7, align 4 %104 = add nsw i32 %103, -1 store i32 %104, ptr %7, align 4 %105 = sext i32 %103 to i64 %106 = getelementptr inbounds i32, ptr %102, i64 %105 store i32 %101, ptr %106, align 4 br label %107 107: ; preds = %85, %81 br label %41, !llvm.loop !9 108: ; preds = %41 %109 = load i32, ptr %6, align 4 %110 = load i32, ptr %7, align 4 %111 = icmp eq i32 %109, %110 br i1 %111, label %112, label %123 112: ; preds = %108 %113 = load ptr, ptr %3, align 8 %114 = load i32, ptr %6, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i32, ptr %113, i64 %115 %117 = load i32, ptr %116, align 4 %118 = load i32, ptr %5, align 4 %119 = icmp slt i32 %117, %118 br i1 %119, label %120, label %123 120: ; preds = %112 %121 = load i32, ptr %6, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %6, align 4 br label %123 123: ; preds = %120, %112, %108 %124 = load ptr, ptr %3, align 8 %125 = load i32, ptr %6, align 4 call void @quicksort(ptr noundef %124, i32 noundef %125) %126 = load ptr, ptr %3, align 8 %127 = load i32, ptr %6, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds i32, ptr %126, i64 %128 %130 = load i32, ptr %4, align 4 %131 = load i32, ptr %6, align 4 %132 = sub nsw i32 %130, %131 call void @quicksort(ptr noundef %129, i32 noundef %132) br label %133 133: ; preds = %123, %11 ret void } declare i32 @isort(ptr noundef, i32 noundef) #1 declare i32 @med3(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoezh5yhb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 15 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = call i32 @isort(ptr noundef %12, i32 noundef %13) br label %135 15: ; preds = %2 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %4, align 4 %18 = ashr i32 %17, 1 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %16, i64 %19 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %4, align 4 %24 = ashr i32 %23, 2 %25 = add nsw i32 %24, 2 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %22, i64 %26 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %4, align 4 %31 = load i32, ptr %4, align 4 %32 = ashr i32 %31, 1 %33 = sub nsw i32 %30, %32 %34 = sub nsw i32 %33, 2 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %29, i64 %35 %37 = load i32, ptr %36, align 4 %38 = call i32 @med3(i32 noundef %21, i32 noundef %28, i32 noundef %37) store i32 %38, ptr %5, align 4 store i32 0, ptr %6, align 4 %39 = load i32, ptr %4, align 4 %40 = sub nsw i32 %39, 1 store i32 %40, ptr %7, align 4 %41 = load i32, ptr %6, align 4 %42 = load i32, ptr %7, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %.lr.ph, label %110 .lr.ph: ; preds = %15 br label %44 44: ; preds = %.lr.ph, %106 br label %45 45: ; preds = %59, %44 %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %7, align 4 %48 = icmp sle i32 %46, %47 br i1 %48, label %49, label %57 49: ; preds = %45 %50 = load ptr, ptr %3, align 8 %51 = load i32, ptr %6, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 %54 = load i32, ptr %53, align 4 %55 = load i32, ptr %5, align 4 %56 = icmp slt i32 %54, %55 br label %57 57: ; preds = %49, %45 %58 = phi i1 [ false, %45 ], [ %56, %49 ] br i1 %58, label %59, label %62 59: ; preds = %57 %60 = load i32, ptr %6, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %6, align 4 br label %45, !llvm.loop !6 62: ; preds = %57 br label %63 63: ; preds = %77, %62 %64 = load i32, ptr %6, align 4 %65 = load i32, ptr %7, align 4 %66 = icmp sle i32 %64, %65 br i1 %66, label %67, label %75 67: ; preds = %63 %68 = load ptr, ptr %3, align 8 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %68, i64 %70 %72 = load i32, ptr %71, align 4 %73 = load i32, ptr %5, align 4 %74 = icmp sgt i32 %72, %73 br label %75 75: ; preds = %67, %63 %76 = phi i1 [ false, %63 ], [ %74, %67 ] br i1 %76, label %77, label %80 77: ; preds = %75 %78 = load i32, ptr %7, align 4 %79 = add nsw i32 %78, -1 store i32 %79, ptr %7, align 4 br label %63, !llvm.loop !8 80: ; preds = %75 %81 = load i32, ptr %6, align 4 %82 = load i32, ptr %7, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %84, label %106 84: ; preds = %80 %85 = load ptr, ptr %3, align 8 %86 = load i32, ptr %6, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i32, ptr %85, i64 %87 %89 = load i32, ptr %88, align 4 store i32 %89, ptr %8, align 4 %90 = load ptr, ptr %3, align 8 %91 = load i32, ptr %7, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i32, ptr %90, i64 %92 %94 = load i32, ptr %93, align 4 %95 = load ptr, ptr %3, align 8 %96 = load i32, ptr %6, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %6, align 4 %98 = sext i32 %96 to i64 %99 = getelementptr inbounds i32, ptr %95, i64 %98 store i32 %94, ptr %99, align 4 %100 = load i32, ptr %8, align 4 %101 = load ptr, ptr %3, align 8 %102 = load i32, ptr %7, align 4 %103 = add nsw i32 %102, -1 store i32 %103, ptr %7, align 4 %104 = sext i32 %102 to i64 %105 = getelementptr inbounds i32, ptr %101, i64 %104 store i32 %100, ptr %105, align 4 br label %106 106: ; preds = %84, %80 %107 = load i32, ptr %6, align 4 %108 = load i32, ptr %7, align 4 %109 = icmp slt i32 %107, %108 br i1 %109, label %44, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %106 br label %110 110: ; preds = %._crit_edge, %15 %111 = load i32, ptr %6, align 4 %112 = load i32, ptr %7, align 4 %113 = icmp eq i32 %111, %112 br i1 %113, label %114, label %125 114: ; preds = %110 %115 = load ptr, ptr %3, align 8 %116 = load i32, ptr %6, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i32, ptr %115, i64 %117 %119 = load i32, ptr %118, align 4 %120 = load i32, ptr %5, align 4 %121 = icmp slt i32 %119, %120 br i1 %121, label %122, label %125 122: ; preds = %114 %123 = load i32, ptr %6, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %6, align 4 br label %125 125: ; preds = %122, %114, %110 %126 = load ptr, ptr %3, align 8 %127 = load i32, ptr %6, align 4 call void @quicksort(ptr noundef %126, i32 noundef %127) %128 = load ptr, ptr %3, align 8 %129 = load i32, ptr %6, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds i32, ptr %128, i64 %130 %132 = load i32, ptr %4, align 4 %133 = load i32, ptr %6, align 4 %134 = sub nsw i32 %132, %133 call void @quicksort(ptr noundef %131, i32 noundef %134) br label %135 135: ; preds = %125, %11 ret void } declare i32 @isort(ptr noundef, i32 noundef) #1 declare i32 @med3(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmprjzemut5.c' source_filename = "/tmp/tmprjzemut5.c" target datalayout = "e-m:e-p270: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/tmprjzemut5.c" target datalayout = "e-m:e-p270: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/tmpjz5jgir_.c' source_filename = "/tmp/tmpjz5jgir_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Good String\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"Not Good String\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 ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %9 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = mul i64 %12, 1 %14 = trunc i64 %13 to i32 %15 = call i64 @malloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %5, align 8 %18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %17) %19 = load i32, ptr %2, align 4 %20 = add nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = mul i64 %21, 1 %23 = trunc i64 %22 to i32 %24 = call i64 @malloc(i32 noundef %23) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %6, align 8 store i32 0, ptr %3, align 4 br label %26 26: ; preds = %43, %0 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %2, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %46 30: ; preds = %26 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %2, align 4 %33 = sub nsw i32 %32, 1 %34 = load i32, ptr %3, align 4 %35 = sub nsw i32 %33, %34 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %31, i64 %36 %38 = load i8, ptr %37, align 1 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %3, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 store i8 %38, ptr %42, align 1 br label %43 43: ; preds = %30 %44 = load i32, ptr %3, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %3, align 4 br label %26, !llvm.loop !6 46: ; preds = %26 %47 = load i32, ptr %2, align 4 %48 = icmp eq i32 %47, 1 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = call i32 @printf(ptr noundef @.str.2) br label %109 51: ; preds = %46 store i32 1, ptr %3, align 4 br label %52 52: ; preds = %96, %51 %53 = load i32, ptr %3, align 4 %54 = load i32, ptr %2, align 4 %55 = icmp sle i32 %53, %54 br i1 %55, label %56, label %99 56: ; preds = %52 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %3, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = load ptr, ptr %5, align 8 %64 = load i32, ptr %3, align 4 %65 = sub nsw i32 %64, 1 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %63, i64 %66 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = sub nsw i32 %62, %69 %71 = trunc i32 %70 to i8 %72 = call i32 @mod(i8 noundef signext %71) store i32 %72, ptr %7, align 4 %73 = load ptr, ptr %6, align 8 %74 = load i32, ptr %3, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i8, ptr %73, i64 %75 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = load ptr, ptr %6, align 8 %80 = load i32, ptr %3, align 4 %81 = sub nsw i32 %80, 1 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %79, i64 %82 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = sub nsw i32 %78, %85 %87 = trunc i32 %86 to i8 %88 = call i32 @mod(i8 noundef signext %87) store i32 %88, ptr %8, align 4 %89 = load i32, ptr %7, align 4 %90 = load i32, ptr %8, align 4 %91 = icmp eq i32 %89, %90 br i1 %91, label %92, label %95 92: ; preds = %56 %93 = load i32, ptr %4, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %4, align 4 br label %95 95: ; preds = %92, %56 br label %96 96: ; preds = %95 %97 = load i32, ptr %3, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %3, align 4 br label %52, !llvm.loop !8 99: ; preds = %52 %100 = load i32, ptr %4, align 4 %101 = load i32, ptr %2, align 4 %102 = sub nsw i32 %101, 1 %103 = icmp eq i32 %100, %102 br i1 %103, label %104, label %106 104: ; preds = %99 %105 = call i32 @printf(ptr noundef @.str.2) br label %108 106: ; preds = %99 %107 = call i32 @printf(ptr noundef @.str.3) br label %108 108: ; preds = %106, %104 br label %109 109: ; preds = %108, %49 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @mod(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjz5jgir_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Good String\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"Not Good String\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 ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %9 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = mul i64 %12, 1 %14 = trunc i64 %13 to i32 %15 = call i64 @malloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %5, align 8 %18 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %17) %19 = load i32, ptr %2, align 4 %20 = add nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = mul i64 %21, 1 %23 = trunc i64 %22 to i32 %24 = call i64 @malloc(i32 noundef %23) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %6, align 8 store i32 0, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph, label %48 .lr.ph: ; preds = %0 br label %29 29: ; preds = %.lr.ph, %42 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %2, align 4 %32 = sub nsw i32 %31, 1 %33 = load i32, ptr %3, align 4 %34 = sub nsw i32 %32, %33 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %30, i64 %35 %37 = load i8, ptr %36, align 1 %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %3, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 store i8 %37, ptr %41, align 1 br label %42 42: ; preds = %29 %43 = load i32, ptr %3, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %3, align 4 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %2, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %48 48: ; preds = %._crit_edge, %0 %49 = load i32, ptr %2, align 4 %50 = icmp eq i32 %49, 1 br i1 %50, label %51, label %53 51: ; preds = %48 %52 = call i32 @printf(ptr noundef @.str.2) br label %113 53: ; preds = %48 store i32 1, ptr %3, align 4 %54 = load i32, ptr %3, align 4 %55 = load i32, ptr %2, align 4 %56 = icmp sle i32 %54, %55 br i1 %56, label %.lr.ph2, label %103 .lr.ph2: ; preds = %53 br label %57 57: ; preds = %.lr.ph2, %97 %58 = load ptr, ptr %5, align 8 %59 = load i32, ptr %3, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = load ptr, ptr %5, align 8 %65 = load i32, ptr %3, align 4 %66 = sub nsw i32 %65, 1 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %64, i64 %67 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = sub nsw i32 %63, %70 %72 = trunc i32 %71 to i8 %73 = call i32 @mod(i8 noundef signext %72) store i32 %73, ptr %7, align 4 %74 = load ptr, ptr %6, align 8 %75 = load i32, ptr %3, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %74, i64 %76 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = load ptr, ptr %6, align 8 %81 = load i32, ptr %3, align 4 %82 = sub nsw i32 %81, 1 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i8, ptr %80, i64 %83 %85 = load i8, ptr %84, align 1 %86 = sext i8 %85 to i32 %87 = sub nsw i32 %79, %86 %88 = trunc i32 %87 to i8 %89 = call i32 @mod(i8 noundef signext %88) store i32 %89, ptr %8, align 4 %90 = load i32, ptr %7, align 4 %91 = load i32, ptr %8, align 4 %92 = icmp eq i32 %90, %91 br i1 %92, label %93, label %96 93: ; preds = %57 %94 = load i32, ptr %4, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %4, align 4 br label %96 96: ; preds = %93, %57 br label %97 97: ; preds = %96 %98 = load i32, ptr %3, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %3, align 4 %100 = load i32, ptr %3, align 4 %101 = load i32, ptr %2, align 4 %102 = icmp sle i32 %100, %101 br i1 %102, label %57, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %97 br label %103 103: ; preds = %._crit_edge3, %53 %104 = load i32, ptr %4, align 4 %105 = load i32, ptr %2, align 4 %106 = sub nsw i32 %105, 1 %107 = icmp eq i32 %104, %106 br i1 %107, label %108, label %110 108: ; preds = %103 %109 = call i32 @printf(ptr noundef @.str.2) br label %112 110: ; preds = %103 %111 = call i32 @printf(ptr noundef @.str.3) br label %112 112: ; preds = %110, %108 br label %113 113: ; preds = %112, %51 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @mod(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpsp8pgdxu.c' source_filename = "/tmp/tmpsp8pgdxu.c" target datalayout = "e-m:e-p270: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"Oops!\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"Thank you and goodbye\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 double, align 8 store i32 0, ptr %1, align 4 br label %5 5: ; preds = %16, %0 %6 = call i32 (...) @menu() store i32 %6, ptr %3, align 4 %7 = icmp ne i32 %6, 5 br i1 %7, label %8, label %21 8: ; preds = %5 %9 = load i32, ptr %3, align 4 switch i32 %9, label %14 [ i32 1, label %10 i32 2, label %11 i32 3, label %12 i32 4, label %13 ] 10: ; preds = %8 store double 1.800000e+02, ptr %4, align 8 br label %16 11: ; preds = %8 store double 2.250000e+02, ptr %4, align 8 br label %16 12: ; preds = %8 store double 2.550000e+02, ptr %4, align 8 br label %16 13: ; preds = %8 store double 3.550000e+02, ptr %4, align 8 br label %16 14: ; preds = %8 store double 0.000000e+00, ptr %4, align 8 %15 = call i32 @printf(ptr noundef @.str) br label %16 16: ; preds = %14, %13, %12, %11, %10 %17 = call i32 (...) @getnights() store i32 %17, ptr %2, align 4 %18 = load double, ptr %4, align 8 %19 = load i32, ptr %2, align 4 %20 = call i32 @showprice(double noundef %18, i32 noundef %19) br label %5, !llvm.loop !6 21: ; preds = %5 %22 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @menu(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @getnights(...) #1 declare i32 @showprice(double noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsp8pgdxu.c" target datalayout = "e-m:e-p270: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"Oops!\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"Thank you and goodbye\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 double, align 8 store i32 0, ptr %1, align 4 %5 = call i32 (...) @menu() store i32 %5, ptr %3, align 4 %6 = icmp ne i32 %5, 5 br i1 %6, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %15 %8 = load i32, ptr %3, align 4 switch i32 %8, label %13 [ i32 1, label %9 i32 2, label %10 i32 3, label %11 i32 4, label %12 ] 9: ; preds = %7 store double 1.800000e+02, ptr %4, align 8 br label %15 10: ; preds = %7 store double 2.250000e+02, ptr %4, align 8 br label %15 11: ; preds = %7 store double 2.550000e+02, ptr %4, align 8 br label %15 12: ; preds = %7 store double 3.550000e+02, ptr %4, align 8 br label %15 13: ; preds = %7 store double 0.000000e+00, ptr %4, align 8 %14 = call i32 @printf(ptr noundef @.str) br label %15 15: ; preds = %13, %12, %11, %10, %9 %16 = call i32 (...) @getnights() store i32 %16, ptr %2, align 4 %17 = load double, ptr %4, align 8 %18 = load i32, ptr %2, align 4 %19 = call i32 @showprice(double noundef %17, i32 noundef %18) %20 = call i32 (...) @menu() store i32 %20, ptr %3, align 4 %21 = icmp ne i32 %20, 5 br i1 %21, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %22 22: ; preds = %._crit_edge, %0 %23 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @menu(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @getnights(...) #1 declare i32 @showprice(double noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkq2p28ly.c' source_filename = "/tmp/tmpkq2p28ly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @stdin = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"Discrete.\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"The top math track.\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"The best BCA students.\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"The cr\C3\A8me de la cr\C3\A8me.\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"We have high expectations.\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"Answer all the questions correctly.\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"Do not disappoint us.\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"> \00", align 1 @.str.8 = private unnamed_addr constant [16 x i8] c"i will get an A\00", align 1 @.str.9 = private unnamed_addr constant [54 x i8] c"I'm sorry, but you obviously don't care about grades.\00", align 1 @.str.10 = private unnamed_addr constant [59 x i8] c"Therefore, you aren't motivated enough to be in our class.\00", align 1 @.str.11 = private unnamed_addr constant [9 x i8] c"Goodbye.\00", align 1 @.str.12 = private unnamed_addr constant [41 x i8] c"Your quiz have been posted to Schoology.\00", align 1 @.str.13 = private unnamed_addr constant [25 x i8] c"You have twenty minutes.\00", align 1 @.str.14 = private unnamed_addr constant [11 x i8] c"Good luck.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [50 x i8], align 16 %2 = load i32, ptr @stdout, align 4 %3 = call i32 @setbuf(i32 noundef %2, ptr noundef null) %4 = load i32, ptr @stdin, align 4 %5 = call i32 @setbuf(i32 noundef %4, ptr noundef null) %6 = load i32, ptr @stderr, align 4 %7 = call i32 @setbuf(i32 noundef %6, ptr noundef null) %8 = call i32 @puts(ptr noundef @.str) %9 = call i32 @puts(ptr noundef @.str.1) %10 = call i32 @puts(ptr noundef @.str.2) %11 = call i32 @puts(ptr noundef @.str.3) %12 = call i32 @puts(ptr noundef @.str.4) %13 = call i32 @puts(ptr noundef @.str.5) %14 = call i32 @puts(ptr noundef @.str.6) %15 = call i32 @printf(ptr noundef @.str.7) %16 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 0 %17 = call i32 @gets(ptr noundef %16) %18 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 0 %19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str.8) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %0 %22 = call i32 @puts(ptr noundef @.str.9) %23 = call i32 @puts(ptr noundef @.str.10) %24 = call i32 @puts(ptr noundef @.str.11) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %0 %27 = call i32 @puts(ptr noundef @.str.12) %28 = call i32 @puts(ptr noundef @.str.13) %29 = call i32 @puts(ptr noundef @.str.14) ret i32 0 } declare i32 @setbuf(i32 noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @gets(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkq2p28ly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @stdin = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"Discrete.\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"The top math track.\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"The best BCA students.\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"The cr\C3\A8me de la cr\C3\A8me.\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"We have high expectations.\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"Answer all the questions correctly.\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"Do not disappoint us.\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"> \00", align 1 @.str.8 = private unnamed_addr constant [16 x i8] c"i will get an A\00", align 1 @.str.9 = private unnamed_addr constant [54 x i8] c"I'm sorry, but you obviously don't care about grades.\00", align 1 @.str.10 = private unnamed_addr constant [59 x i8] c"Therefore, you aren't motivated enough to be in our class.\00", align 1 @.str.11 = private unnamed_addr constant [9 x i8] c"Goodbye.\00", align 1 @.str.12 = private unnamed_addr constant [41 x i8] c"Your quiz have been posted to Schoology.\00", align 1 @.str.13 = private unnamed_addr constant [25 x i8] c"You have twenty minutes.\00", align 1 @.str.14 = private unnamed_addr constant [11 x i8] c"Good luck.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [50 x i8], align 16 %2 = load i32, ptr @stdout, align 4 %3 = call i32 @setbuf(i32 noundef %2, ptr noundef null) %4 = load i32, ptr @stdin, align 4 %5 = call i32 @setbuf(i32 noundef %4, ptr noundef null) %6 = load i32, ptr @stderr, align 4 %7 = call i32 @setbuf(i32 noundef %6, ptr noundef null) %8 = call i32 @puts(ptr noundef @.str) %9 = call i32 @puts(ptr noundef @.str.1) %10 = call i32 @puts(ptr noundef @.str.2) %11 = call i32 @puts(ptr noundef @.str.3) %12 = call i32 @puts(ptr noundef @.str.4) %13 = call i32 @puts(ptr noundef @.str.5) %14 = call i32 @puts(ptr noundef @.str.6) %15 = call i32 @printf(ptr noundef @.str.7) %16 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 0 %17 = call i32 @gets(ptr noundef %16) %18 = getelementptr inbounds [50 x i8], ptr %1, i64 0, i64 0 %19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str.8) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %0 %22 = call i32 @puts(ptr noundef @.str.9) %23 = call i32 @puts(ptr noundef @.str.10) %24 = call i32 @puts(ptr noundef @.str.11) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %0 %27 = call i32 @puts(ptr noundef @.str.12) %28 = call i32 @puts(ptr noundef @.str.13) %29 = call i32 @puts(ptr noundef @.str.14) ret i32 0 } declare i32 @setbuf(i32 noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @gets(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2je6n3i0.c' source_filename = "/tmp/tmp2je6n3i0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [10 x i8] c"max = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"%f %d\0A\00", align 1 @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i64, align 8 %14 = 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 %15 = load i32, ptr %4, align 4 %16 = icmp eq i32 %15, 1 br i1 %16, label %17, label %19 17: ; preds = %2 %18 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %9) br label %26 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 @atoi(ptr noundef %22) store i32 %23, ptr %9, align 4 %24 = call i32 @time(ptr noundef null) %25 = call i32 @srand(i32 noundef %24) br label %26 26: ; preds = %19, %17 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = mul i64 8, %28 %30 = trunc i64 %29 to i32 %31 = call i64 @malloc(i32 noundef %30) %32 = inttoptr i64 %31 to ptr store ptr %32, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %33 33: ; preds = %48, %26 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %9, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %51 37: ; preds = %33 %38 = load i32, ptr %9, align 4 %39 = sext i32 %38 to i64 %40 = mul i64 4, %39 %41 = trunc i64 %40 to i32 %42 = call i64 @malloc(i32 noundef %41) %43 = inttoptr i64 %42 to ptr %44 = load ptr, ptr %6, align 8 %45 = load i32, ptr %7, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds ptr, ptr %44, i64 %46 store ptr %43, ptr %47, align 8 br label %48 48: ; preds = %37 %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %7, align 4 br label %33, !llvm.loop !6 51: ; preds = %33 %52 = load i32, ptr %4, align 4 %53 = icmp eq i32 %52, 1 br i1 %53, label %54, label %82 54: ; preds = %51 store i32 1, ptr %12, align 4 br label %55 55: ; preds = %80, %54 %56 = load i32, ptr %12, align 4 %57 = icmp sgt i32 %56, 0 br i1 %57, label %58, label %81 58: ; preds = %55 %59 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %10, ptr noundef %11, ptr noundef %12) %60 = load i32, ptr %10, align 4 %61 = load i32, ptr %9, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %63, label %80 63: ; preds = %58 %64 = load i32, ptr %11, align 4 %65 = load i32, ptr %9, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %67, label %80 67: ; preds = %63 %68 = load i32, ptr %12, align 4 %69 = icmp sgt i32 %68, 0 br i1 %69, label %70, label %80 70: ; preds = %67 %71 = load i32, ptr %12, align 4 %72 = load ptr, ptr %6, align 8 %73 = load i32, ptr %10, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds ptr, ptr %72, i64 %74 %76 = load ptr, ptr %75, align 8 %77 = load i32, ptr %11, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i32, ptr %76, i64 %78 store i32 %71, ptr %79, align 4 br label %80 80: ; preds = %70, %67, %63, %58 br label %55, !llvm.loop !8 81: ; preds = %55 br label %161 82: ; preds = %51 %83 = load i32, ptr %4, align 4 %84 = icmp eq i32 %83, 2 br i1 %84, label %85, label %121 85: ; preds = %82 store i32 0, ptr %7, align 4 br label %86 86: ; preds = %117, %85 %87 = load i32, ptr %7, align 4 %88 = load i32, ptr %9, align 4 %89 = icmp slt i32 %87, %88 br i1 %89, label %90, label %120 90: ; preds = %86 store i32 0, ptr %8, align 4 br label %91 91: ; preds = %113, %90 %92 = load i32, ptr %8, align 4 %93 = load i32, ptr %9, align 4 %94 = icmp slt i32 %92, %93 br i1 %94, label %95, label %116 95: ; preds = %91 %96 = load i32, ptr %7, align 4 %97 = load i32, ptr %8, align 4 %98 = icmp ne i32 %96, %97 br i1 %98, label %99, label %102 99: ; preds = %95 %100 = call i32 (...) @rand() %101 = srem i32 %100, 20 br label %103 102: ; preds = %95 br label %103 103: ; preds = %102, %99 %104 = phi i32 [ %101, %99 ], [ 0, %102 ] %105 = load ptr, ptr %6, align 8 %106 = load i32, ptr %7, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds ptr, ptr %105, i64 %107 %109 = load ptr, ptr %108, align 8 %110 = load i32, ptr %8, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds i32, ptr %109, i64 %111 store i32 %104, ptr %112, align 4 br label %113 113: ; preds = %103 %114 = load i32, ptr %8, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %8, align 4 br label %91, !llvm.loop !9 116: ; preds = %91 br label %117 117: ; preds = %116 %118 = load i32, ptr %7, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %7, align 4 br label %86, !llvm.loop !10 120: ; preds = %86 br label %160 121: ; preds = %82 %122 = load i32, ptr %4, align 4 %123 = icmp eq i32 %122, 3 br i1 %123, label %124, label %159 124: ; preds = %121 %125 = load ptr, ptr %5, align 8 %126 = getelementptr inbounds ptr, ptr %125, i64 2 %127 = load ptr, ptr %126, align 8 %128 = call i32 @atoi(ptr noundef %127) store i32 %128, ptr %12, align 4 br label %129 129: ; preds = %146, %124 %130 = load i32, ptr %12, align 4 %131 = icmp sgt i32 %130, 0 br i1 %131, label %132, label %158 132: ; preds = %129 %133 = call i32 (...) @rand() %134 = load i32, ptr %9, align 4 %135 = srem i32 %133, %134 store i32 %135, ptr %10, align 4 %136 = call i32 (...) @rand() %137 = load i32, ptr %9, align 4 %138 = srem i32 %136, %137 store i32 %138, ptr %11, align 4 %139 = load i32, ptr %10, align 4 %140 = load i32, ptr %8, align 4 %141 = icmp ne i32 %139, %140 br i1 %141, label %142, label %145 142: ; preds = %132 %143 = call i32 (...) @rand() %144 = srem i32 %143, 20 br label %146 145: ; preds = %132 br label %146 146: ; preds = %145, %142 %147 = phi i32 [ %144, %142 ], [ 0, %145 ] %148 = load ptr, ptr %6, align 8 %149 = load i32, ptr %10, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds ptr, ptr %148, i64 %150 %152 = load ptr, ptr %151, align 8 %153 = load i32, ptr %11, align 4 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds i32, ptr %152, i64 %154 store i32 %147, ptr %155, align 4 %156 = load i32, ptr %12, align 4 %157 = add nsw i32 %156, -1 store i32 %157, ptr %12, align 4 br label %129, !llvm.loop !11 158: ; preds = %129 br label %159 159: ; preds = %158, %121 br label %160 160: ; preds = %159, %120 br label %161 161: ; preds = %160, %81 %162 = call i64 (...) @clock() store i64 %162, ptr %13, align 8 %163 = load ptr, ptr %6, align 8 %164 = load i32, ptr %9, align 4 %165 = load i32, ptr %9, align 4 %166 = sub nsw i32 %165, 1 %167 = call i32 @max_path_sum(ptr noundef %163, i32 noundef %164, i32 noundef 0, i32 noundef %166) store i32 %167, ptr %14, align 4 %168 = call i64 (...) @clock() %169 = load i64, ptr %13, align 8 %170 = sub nsw i64 %168, %169 store i64 %170, ptr %13, align 8 %171 = load i32, ptr @stderr, align 4 %172 = load i32, ptr %14, align 4 %173 = call i32 @fprintf(i32 noundef %171, ptr noundef @.str.2, i32 noundef %172) %174 = load i64, ptr %13, align 8 %175 = sitofp i64 %174 to double %176 = load double, ptr @CLOCKS_PER_SEC, align 8 %177 = fdiv double %175, %176 %178 = load i32, ptr %9, align 4 %179 = call i32 @printf(ptr noundef @.str.3, double noundef %177, i32 noundef %178) %180 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %180 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @rand(...) #1 declare i64 @clock(...) #1 declare i32 @max_path_sum(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, double 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} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2je6n3i0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [10 x i8] c"max = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"%f %d\0A\00", align 1 @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i64, align 8 %14 = 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 %15 = load i32, ptr %4, align 4 %16 = icmp eq i32 %15, 1 br i1 %16, label %17, label %19 17: ; preds = %2 %18 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %9) br label %26 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 @atoi(ptr noundef %22) store i32 %23, ptr %9, align 4 %24 = call i32 @time(ptr noundef null) %25 = call i32 @srand(i32 noundef %24) br label %26 26: ; preds = %19, %17 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = mul i64 8, %28 %30 = trunc i64 %29 to i32 %31 = call i64 @malloc(i32 noundef %30) %32 = inttoptr i64 %31 to ptr store ptr %32, ptr %6, align 8 store i32 0, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %9, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %.lr.ph, label %53 .lr.ph: ; preds = %26 br label %36 36: ; preds = %.lr.ph, %47 %37 = load i32, ptr %9, align 4 %38 = sext i32 %37 to i64 %39 = mul i64 4, %38 %40 = trunc i64 %39 to i32 %41 = call i64 @malloc(i32 noundef %40) %42 = inttoptr i64 %41 to ptr %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %7, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds ptr, ptr %43, i64 %45 store ptr %42, ptr %46, align 8 br label %47 47: ; preds = %36 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %7, align 4 %50 = load i32, ptr %7, align 4 %51 = load i32, ptr %9, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %36, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %47 br label %53 53: ; preds = %._crit_edge, %26 %54 = load i32, ptr %4, align 4 %55 = icmp eq i32 %54, 1 br i1 %55, label %56, label %85 56: ; preds = %53 store i32 1, ptr %12, align 4 %57 = load i32, ptr %12, align 4 %58 = icmp sgt i32 %57, 0 br i1 %58, label %.lr.ph11, label %84 .lr.ph11: ; preds = %56 br label %59 59: ; preds = %.lr.ph11, %81 %60 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %10, ptr noundef %11, ptr noundef %12) %61 = load i32, ptr %10, align 4 %62 = load i32, ptr %9, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %64, label %81 64: ; preds = %59 %65 = load i32, ptr %11, align 4 %66 = load i32, ptr %9, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %68, label %81 68: ; preds = %64 %69 = load i32, ptr %12, align 4 %70 = icmp sgt i32 %69, 0 br i1 %70, label %71, label %81 71: ; preds = %68 %72 = load i32, ptr %12, align 4 %73 = load ptr, ptr %6, align 8 %74 = load i32, ptr %10, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds ptr, ptr %73, i64 %75 %77 = load ptr, ptr %76, align 8 %78 = load i32, ptr %11, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %77, i64 %79 store i32 %72, ptr %80, align 4 br label %81 81: ; preds = %71, %68, %64, %59 %82 = load i32, ptr %12, align 4 %83 = icmp sgt i32 %82, 0 br i1 %83, label %59, label %._crit_edge12, !llvm.loop !8 ._crit_edge12: ; preds = %81 br label %84 84: ; preds = %._crit_edge12, %56 br label %169 85: ; preds = %53 %86 = load i32, ptr %4, align 4 %87 = icmp eq i32 %86, 2 br i1 %87, label %88, label %128 88: ; preds = %85 store i32 0, ptr %7, align 4 %89 = load i32, ptr %7, align 4 %90 = load i32, ptr %9, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %.lr.ph8, label %127 .lr.ph8: ; preds = %88 br label %92 92: ; preds = %.lr.ph8, %121 store i32 0, ptr %8, align 4 %93 = load i32, ptr %8, align 4 %94 = load i32, ptr %9, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %.lr.ph5, label %120 .lr.ph5: ; preds = %92 br label %96 96: ; preds = %.lr.ph5, %114 %97 = load i32, ptr %7, align 4 %98 = load i32, ptr %8, align 4 %99 = icmp ne i32 %97, %98 br i1 %99, label %100, label %103 100: ; preds = %96 %101 = call i32 (...) @rand() %102 = srem i32 %101, 20 br label %104 103: ; preds = %96 br label %104 104: ; preds = %103, %100 %105 = phi i32 [ %102, %100 ], [ 0, %103 ] %106 = load ptr, ptr %6, align 8 %107 = load i32, ptr %7, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds ptr, ptr %106, i64 %108 %110 = load ptr, ptr %109, align 8 %111 = load i32, ptr %8, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i32, ptr %110, i64 %112 store i32 %105, ptr %113, align 4 br label %114 114: ; preds = %104 %115 = load i32, ptr %8, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %8, align 4 %117 = load i32, ptr %8, align 4 %118 = load i32, ptr %9, align 4 %119 = icmp slt i32 %117, %118 br i1 %119, label %96, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %114 br label %120 120: ; preds = %._crit_edge6, %92 br label %121 121: ; preds = %120 %122 = load i32, ptr %7, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %7, align 4 %124 = load i32, ptr %7, align 4 %125 = load i32, ptr %9, align 4 %126 = icmp slt i32 %124, %125 br i1 %126, label %92, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %121 br label %127 127: ; preds = %._crit_edge9, %88 br label %168 128: ; preds = %85 %129 = load i32, ptr %4, align 4 %130 = icmp eq i32 %129, 3 br i1 %130, label %131, label %167 131: ; preds = %128 %132 = load ptr, ptr %5, align 8 %133 = getelementptr inbounds ptr, ptr %132, i64 2 %134 = load ptr, ptr %133, align 8 %135 = call i32 @atoi(ptr noundef %134) store i32 %135, ptr %12, align 4 %136 = load i32, ptr %12, align 4 %137 = icmp sgt i32 %136, 0 br i1 %137, label %.lr.ph2, label %166 .lr.ph2: ; preds = %131 br label %138 138: ; preds = %.lr.ph2, %152 %139 = call i32 (...) @rand() %140 = load i32, ptr %9, align 4 %141 = srem i32 %139, %140 store i32 %141, ptr %10, align 4 %142 = call i32 (...) @rand() %143 = load i32, ptr %9, align 4 %144 = srem i32 %142, %143 store i32 %144, ptr %11, align 4 %145 = load i32, ptr %10, align 4 %146 = load i32, ptr %8, align 4 %147 = icmp ne i32 %145, %146 br i1 %147, label %148, label %151 148: ; preds = %138 %149 = call i32 (...) @rand() %150 = srem i32 %149, 20 br label %152 151: ; preds = %138 br label %152 152: ; preds = %151, %148 %153 = phi i32 [ %150, %148 ], [ 0, %151 ] %154 = load ptr, ptr %6, align 8 %155 = load i32, ptr %10, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds ptr, ptr %154, i64 %156 %158 = load ptr, ptr %157, align 8 %159 = load i32, ptr %11, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds i32, ptr %158, i64 %160 store i32 %153, ptr %161, align 4 %162 = load i32, ptr %12, align 4 %163 = add nsw i32 %162, -1 store i32 %163, ptr %12, align 4 %164 = load i32, ptr %12, align 4 %165 = icmp sgt i32 %164, 0 br i1 %165, label %138, label %._crit_edge3, !llvm.loop !11 ._crit_edge3: ; preds = %152 br label %166 166: ; preds = %._crit_edge3, %131 br label %167 167: ; preds = %166, %128 br label %168 168: ; preds = %167, %127 br label %169 169: ; preds = %168, %84 %170 = call i64 (...) @clock() store i64 %170, ptr %13, align 8 %171 = load ptr, ptr %6, align 8 %172 = load i32, ptr %9, align 4 %173 = load i32, ptr %9, align 4 %174 = sub nsw i32 %173, 1 %175 = call i32 @max_path_sum(ptr noundef %171, i32 noundef %172, i32 noundef 0, i32 noundef %174) store i32 %175, ptr %14, align 4 %176 = call i64 (...) @clock() %177 = load i64, ptr %13, align 8 %178 = sub nsw i64 %176, %177 store i64 %178, ptr %13, align 8 %179 = load i32, ptr @stderr, align 4 %180 = load i32, ptr %14, align 4 %181 = call i32 @fprintf(i32 noundef %179, ptr noundef @.str.2, i32 noundef %180) %182 = load i64, ptr %13, align 8 %183 = sitofp i64 %182 to double %184 = load double, ptr @CLOCKS_PER_SEC, align 8 %185 = fdiv double %183, %184 %186 = load i32, ptr %9, align 4 %187 = call i32 @printf(ptr noundef @.str.3, double noundef %185, i32 noundef %186) %188 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %188 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @rand(...) #1 declare i64 @clock(...) #1 declare i32 @max_path_sum(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, double 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} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpo67o7qq3.c' source_filename = "/tmp/tmpo67o7qq3.c" target datalayout = "e-m:e-p270: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 [83 x i8] c"[0-9]+ ([A-Z][a-z]{2}[ ]+[0-9]+ [0-9]+:[0-9]+|[A-Z][a-z]{2}[ ]+[0-9]+[ ]+[0-9]{4})\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_time(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store ptr @.str, ptr %4, align 8 %5 = load ptr, ptr %2, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @capture(ptr noundef %5, ptr noundef %6) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 ret ptr %8 } declare ptr @capture(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/tmpo67o7qq3.c" target datalayout = "e-m:e-p270: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 [83 x i8] c"[0-9]+ ([A-Z][a-z]{2}[ ]+[0-9]+ [0-9]+:[0-9]+|[A-Z][a-z]{2}[ ]+[0-9]+[ ]+[0-9]{4})\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_time(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store ptr @.str, ptr %4, align 8 %5 = load ptr, ptr %2, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @capture(ptr noundef %5, ptr noundef %6) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 ret ptr %8 } declare ptr @capture(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/tmp5kj65n9v.c' source_filename = "/tmp/tmp5kj65n9v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ErrorHandler() #0 { %1 = call i32 (...) @FatalErrorHandler() ret void } declare i32 @FatalErrorHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5kj65n9v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ErrorHandler() #0 { %1 = call i32 (...) @FatalErrorHandler() ret void } declare i32 @FatalErrorHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm1b3x3yy.c' source_filename = "/tmp/tmpm1b3x3yy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [100 x double], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) store i32 0, ptr %2, align 4 br label %6 6: ; preds = %17, %0 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 100 br i1 %8, label %9, label %20 9: ; preds = %6 %10 = call double (...) @rand() %11 = fmul double %10, 1.000000e+00 %12 = load double, ptr @RAND_MAX, align 8 %13 = fdiv double %11, %12 %14 = load i32, ptr %2, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [100 x double], ptr %1, i64 0, i64 %15 store double %13, ptr %16, align 8 br label %17 17: ; preds = %9 %18 = load i32, ptr %2, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %2, align 4 br label %6, !llvm.loop !6 20: ; preds = %6 %21 = getelementptr inbounds [100 x double], ptr %1, i64 0, i64 0 %22 = call i32 @printArray(ptr noundef %21, i32 noundef 0, i32 noundef 99) %23 = getelementptr inbounds [100 x double], ptr %1, i64 0, i64 0 %24 = call i32 @merge_sort(ptr noundef %23, i32 noundef 0, i32 noundef 99) %25 = getelementptr inbounds [100 x double], ptr %1, i64 0, i64 0 %26 = call i32 @printArray(ptr noundef %25, i32 noundef 0, i32 noundef 99) ret void } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare double @rand(...) #1 declare i32 @printArray(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @merge_sort(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm1b3x3yy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [100 x double], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) store i32 0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 100 br i1 %7, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %16 %9 = call double (...) @rand() %10 = fmul double %9, 1.000000e+00 %11 = load double, ptr @RAND_MAX, align 8 %12 = fdiv double %10, %11 %13 = load i32, ptr %2, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [100 x double], ptr %1, i64 0, i64 %14 store double %12, ptr %15, align 8 br label %16 16: ; preds = %8 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %19, 100 br i1 %20, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %0 %22 = getelementptr inbounds [100 x double], ptr %1, i64 0, i64 0 %23 = call i32 @printArray(ptr noundef %22, i32 noundef 0, i32 noundef 99) %24 = getelementptr inbounds [100 x double], ptr %1, i64 0, i64 0 %25 = call i32 @merge_sort(ptr noundef %24, i32 noundef 0, i32 noundef 99) %26 = getelementptr inbounds [100 x double], ptr %1, i64 0, i64 0 %27 = call i32 @printArray(ptr noundef %26, i32 noundef 0, i32 noundef 99) ret void } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare double @rand(...) #1 declare i32 @printArray(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @merge_sort(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpse7sleqt.c' source_filename = "/tmp/tmpse7sleqt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Enter how many numbers are there : \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Enter the numbers: \0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"The sorted numbers are : \0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.5 = 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 [1000 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %8 8: ; preds = %17, %0 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %20 12: ; preds = %8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %14 %16 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %15) br label %17 17: ; preds = %12 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 br label %8, !llvm.loop !6 20: ; preds = %8 %21 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 0 %22 = load i32, ptr %4, align 4 %23 = call i32 @insertionSort(ptr noundef %21, i32 noundef %22) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %3, align 4 br label %25 25: ; preds = %35, %20 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %38 29: ; preds = %25 %30 = load i32, ptr %3, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %33) br label %35 35: ; preds = %29 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %3, align 4 br label %25, !llvm.loop !8 38: ; preds = %25 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %40 = load i32, ptr %1, align 4 ret i32 %40 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @insertionSort(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpse7sleqt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Enter how many numbers are there : \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Enter the numbers: \0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"The sorted numbers are : \0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.5 = 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 [1000 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %16 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %13 %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %14) br label %16 16: ; preds = %11 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %0 %23 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 0 %24 = load i32, ptr %4, align 4 %25 = call i32 @insertionSort(ptr noundef %23, i32 noundef %24) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %3, align 4 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph2, label %42 .lr.ph2: ; preds = %22 br label %30 30: ; preds = %.lr.ph2, %36 %31 = load i32, ptr %3, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1000 x i32], ptr %2, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %34) br label %36 36: ; preds = %30 %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 %4, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %42 42: ; preds = %._crit_edge3, %22 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %44 = load i32, ptr %1, align 4 ret i32 %44 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @insertionSort(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpt1b3l4g3.c' source_filename = "/tmp/tmpt1b3l4g3.c" target datalayout = "e-m:e-p270: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.timeval = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_reattach_child() #0 { %1 = alloca %struct.timeval, align 8 %2 = call i64 (...) @READ() %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 @e(i32 noundef 100) br label %6 6: ; preds = %4, %0 %7 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 store i32 2, ptr %7, align 8 %8 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 store i64 0, ptr %8, align 8 %9 = call i64 @select(i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %1) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %6 %12 = call i32 @e(i32 noundef 101) br label %13 13: ; preds = %11, %6 %14 = call i32 @exit(i32 noundef 42) #3 unreachable } declare i64 @READ(...) #1 declare i32 @e(i32 noundef) #1 declare i64 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt1b3l4g3.c" target datalayout = "e-m:e-p270: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.timeval = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_reattach_child() #0 { %1 = alloca %struct.timeval, align 8 %2 = call i64 (...) @READ() %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 @e(i32 noundef 100) br label %6 6: ; preds = %4, %0 %7 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 store i32 2, ptr %7, align 8 %8 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 store i64 0, ptr %8, align 8 %9 = call i64 @select(i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %1) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %6 %12 = call i32 @e(i32 noundef 101) br label %13 13: ; preds = %11, %6 %14 = call i32 @exit(i32 noundef 42) #3 unreachable } declare i64 @READ(...) #1 declare i32 @e(i32 noundef) #1 declare i64 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvwsdoiz6.c' source_filename = "/tmp/tmpvwsdoiz6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getgid() #0 { %1 = call i32 @__syscall(i32 noundef 200) ret i32 %1 } declare i32 @__syscall(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/tmpvwsdoiz6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getgid() #0 { %1 = call i32 @__syscall(i32 noundef 200) ret i32 %1 } declare i32 @__syscall(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"}