llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp3v9_mtqp.c' source_filename = "/tmp/tmp3v9_mtqp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09%d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 br label %8 8: ; preds = %11, %2 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 500 br i1 %10, label %11, label %18 11: ; preds = %8 %12 = call i32 (...) @getchar() store i32 %12, ptr %7, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %7, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %14) %16 = load i32, ptr %6, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %6, align 4 br label %8, !llvm.loop !6 18: ; preds = %8 ret i32 0 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3v9_mtqp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09%d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 500 br i1 %9, label %.lr.ph, label %19 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %10 %11 = call i32 (...) @getchar() store i32 %11, ptr %7, align 4 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13) %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %17, 500 br i1 %18, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %19 19: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8zv11hkw.c' source_filename = "/tmp/tmp8zv11hkw.c" target datalayout = "e-m:e-p270: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/tmp8zv11hkw.c" target datalayout = "e-m:e-p270: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/tmphz2ubkq8.c' source_filename = "/tmp/tmphz2ubkq8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.ifreq = type { %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } %struct.sockaddr_in = type { i32 } @IFNAMSIZ = dso_local global i64 0, align 8 @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @SIOCGIFADDR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @GetIpFromDevice(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca %struct.ifreq, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i64 @strlen(ptr noundef %8) %10 = load i64, ptr @IFNAMSIZ, align 8 %11 = icmp sle i64 %9, %10 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) %14 = load i32, ptr @AF_INET, align 4 %15 = load i32, ptr @SOCK_DGRAM, align 4 %16 = call i32 @socket(i32 noundef %14, i32 noundef %15, i32 noundef 0) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp sgt i32 %17, 0 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 1 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %4, align 8 %24 = load i64, ptr @IFNAMSIZ, align 8 %25 = call i32 @strncpy(i32 noundef %22, ptr noundef %23, i64 noundef %24) %26 = load i32, ptr @AF_INET, align 4 %27 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 0 %28 = getelementptr inbounds %struct.TYPE_2__, ptr %27, i32 0, i32 0 store i32 %26, ptr %28, align 4 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr @SIOCGIFADDR, align 4 %31 = call i64 @ioctl(i32 noundef %29, i32 noundef %30, ptr noundef %6) %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %39 33: ; preds = %2 %34 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 0 store ptr %34, ptr %7, align 8 %35 = load ptr, ptr %3, align 8 %36 = load ptr, ptr %7, align 8 %37 = getelementptr inbounds %struct.sockaddr_in, ptr %36, i32 0, i32 0 %38 = call i32 @memcpy(ptr noundef %35, ptr noundef %37, i32 noundef 4) br label %42 39: ; preds = %2 %40 = load ptr, ptr %3, align 8 %41 = call i32 @memset(ptr noundef %40, i32 noundef 0, i32 noundef 4) br label %42 42: ; preds = %39, %33 %43 = load i32, ptr %5, align 4 %44 = call i32 @close(i32 noundef %43) ret void } declare i32 @assert(i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @strncpy(i32 noundef, ptr noundef, i64 noundef) #1 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphz2ubkq8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.ifreq = type { %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } %struct.sockaddr_in = type { i32 } @IFNAMSIZ = dso_local global i64 0, align 8 @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @SIOCGIFADDR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @GetIpFromDevice(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca %struct.ifreq, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i64 @strlen(ptr noundef %8) %10 = load i64, ptr @IFNAMSIZ, align 8 %11 = icmp sle i64 %9, %10 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) %14 = load i32, ptr @AF_INET, align 4 %15 = load i32, ptr @SOCK_DGRAM, align 4 %16 = call i32 @socket(i32 noundef %14, i32 noundef %15, i32 noundef 0) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp sgt i32 %17, 0 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 1 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %4, align 8 %24 = load i64, ptr @IFNAMSIZ, align 8 %25 = call i32 @strncpy(i32 noundef %22, ptr noundef %23, i64 noundef %24) %26 = load i32, ptr @AF_INET, align 4 %27 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 0 %28 = getelementptr inbounds %struct.TYPE_2__, ptr %27, i32 0, i32 0 store i32 %26, ptr %28, align 4 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr @SIOCGIFADDR, align 4 %31 = call i64 @ioctl(i32 noundef %29, i32 noundef %30, ptr noundef %6) %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %39 33: ; preds = %2 %34 = getelementptr inbounds %struct.ifreq, ptr %6, i32 0, i32 0 store ptr %34, ptr %7, align 8 %35 = load ptr, ptr %3, align 8 %36 = load ptr, ptr %7, align 8 %37 = getelementptr inbounds %struct.sockaddr_in, ptr %36, i32 0, i32 0 %38 = call i32 @memcpy(ptr noundef %35, ptr noundef %37, i32 noundef 4) br label %42 39: ; preds = %2 %40 = load ptr, ptr %3, align 8 %41 = call i32 @memset(ptr noundef %40, i32 noundef 0, i32 noundef 4) br label %42 42: ; preds = %39, %33 %43 = load i32, ptr %5, align 4 %44 = call i32 @close(i32 noundef %43) ret void } declare i32 @assert(i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @strncpy(i32 noundef, ptr noundef, i64 noundef) #1 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_47na1sj.c' source_filename = "/tmp/tmp_47na1sj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @enddiff() #0 { %1 = call i32 (...) @end() ret void } declare i32 @end(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_47na1sj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @enddiff() #0 { %1 = call i32 (...) @end() ret void } declare i32 @end(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuy7p0k_i.c' source_filename = "/tmp/tmpuy7p0k_i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @optimize_merge_sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %5, align 8 %10 = alloca i32, i64 %8, align 16 store i64 %8, ptr %6, align 8 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %4, align 4 %13 = sub nsw i32 %12, 1 %14 = call i32 @_optimize_merge_sort(ptr noundef %11, ptr noundef %10, i32 noundef 0, i32 noundef %13) %15 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %15) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @_optimize_merge_sort(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuy7p0k_i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @optimize_merge_sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %5, align 8 %10 = alloca i32, i64 %8, align 16 store i64 %8, ptr %6, align 8 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %4, align 4 %13 = sub nsw i32 %12, 1 %14 = call i32 @_optimize_merge_sort(ptr noundef %11, ptr noundef %10, i32 noundef 0, i32 noundef %13) %15 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %15) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @_optimize_merge_sort(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprd47bwnm.c' source_filename = "/tmp/tmprd47bwnm.c" target datalayout = "e-m:e-p270: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/tmprd47bwnm.c" target datalayout = "e-m:e-p270: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/tmpv8sdr7gl.c' source_filename = "/tmp/tmpv8sdr7gl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"Can't open prob matrix file \22%s\22!\0A\00", align 1 @.str.2 = private unnamed_addr constant [55 x i8] c"Can't read sequence length from prob matrix file\22%s\22!\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"Can't read prob matrix!\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"Can't find end of prob matrix!\00", align 1 @.str.5 = private unnamed_addr constant [50 x i8] c"ERROR: can't read sequence from prob matrix file!\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [54 x i8] c"WARNING(%s): sequences differ for %s -> \22%s\22 != \22%s\22\0A\00", align 1 @.str.7 = private unnamed_addr constant [158 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/andreas-wilm/construct3/refs/heads/master/src/cs_wish/bp_prob_mat.c\00", align 1 @.str.8 = private unnamed_addr constant [42 x i8] c"Can't read command from prob matrix file!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ReadRnaFoldMat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca [200 x i8], align 16 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 16384, ptr %5, align 4 store ptr null, ptr %6, align 8 %17 = call ptr @llvm.stacksave() store ptr %17, ptr %7, align 8 %18 = alloca i8, i64 16384, align 16 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %19 = alloca i8, i64 16384, align 16 store ptr null, ptr %11, align 8 store i32 0, ptr %12, align 4 store ptr null, ptr %14, align 8 store ptr null, ptr %15, align 8 store i32 0, ptr %16, align 4 %20 = load ptr, ptr %3, align 8 %21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str) store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %6, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %28 24: ; preds = %2 %25 = load ptr, ptr %3, align 8 %26 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str.1, ptr noundef %25) %27 = call i32 @Die(ptr noundef %19) br label %28 28: ; preds = %24, %2 %29 = load ptr, ptr %6, align 8 %30 = call i32 @fileno(ptr noundef %29) %31 = call i32 (i32, ...) @read(i32 noundef %30, ptr noundef %12, i64 noundef 4) %32 = sext i32 %31 to i64 %33 = icmp ne i64 %32, 4 br i1 %33, label %34, label %38 34: ; preds = %28 %35 = load ptr, ptr %3, align 8 %36 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str.2, ptr noundef %35) %37 = call i32 @Die(ptr noundef %19) br label %38 38: ; preds = %34, %28 %39 = load i32, ptr %12, align 4 %40 = add nsw i32 %39, 1 %41 = load i32, ptr %12, align 4 %42 = add nsw i32 %41, 2 %43 = mul nsw i32 %40, %42 %44 = sdiv i32 %43, 2 store i32 %44, ptr %16, align 4 %45 = load i32, ptr %16, align 4 %46 = sext i32 %45 to i64 %47 = mul i64 4, %46 %48 = trunc i64 %47 to i32 store i32 %48, ptr %8, align 4 %49 = load i32, ptr %16, align 4 %50 = call i64 @Scalloc(i32 noundef %49, i64 noundef 4) %51 = inttoptr i64 %50 to ptr store ptr %51, ptr %14, align 8 %52 = load ptr, ptr %14, align 8 store ptr %52, ptr %15, align 8 br label %53 53: ; preds = %86, %38 br label %54 54: ; preds = %53 %55 = load i32, ptr %8, align 4 %56 = sext i32 %55 to i64 %57 = icmp ult i64 16384, %56 br i1 %57, label %58, label %59 58: ; preds = %54 br label %62 59: ; preds = %54 %60 = load i32, ptr %8, align 4 %61 = sext i32 %60 to i64 br label %62 62: ; preds = %59, %58 %63 = phi i64 [ 16384, %58 ], [ %61, %59 ] %64 = trunc i64 %63 to i32 store i32 %64, ptr %9, align 4 %65 = load ptr, ptr %6, align 8 %66 = call i32 @fileno(ptr noundef %65) %67 = load ptr, ptr %15, align 8 %68 = load i32, ptr %9, align 4 %69 = call i32 (i32, ...) @read(i32 noundef %66, ptr noundef %67, i32 noundef %68) %70 = load i32, ptr %9, align 4 %71 = icmp ne i32 %69, %70 br i1 %71, label %72, label %74 72: ; preds = %62 %73 = call i32 @Die(ptr noundef @.str.3) br label %74 74: ; preds = %72, %62 %75 = load i32, ptr %9, align 4 %76 = load i32, ptr %8, align 4 %77 = sub nsw i32 %76, %75 store i32 %77, ptr %8, align 4 %78 = load i32, ptr %8, align 4 %79 = icmp eq i32 %78, 0 br i1 %79, label %80, label %81 80: ; preds = %74 br label %92 81: ; preds = %74 %82 = load i32, ptr %8, align 4 %83 = icmp slt i32 %82, 0 br i1 %83, label %84, label %86 84: ; preds = %81 %85 = call i32 @Die(ptr noundef @.str.4) br label %86 86: ; preds = %84, %81 %87 = load i32, ptr %9, align 4 %88 = sext i32 %87 to i64 %89 = udiv i64 %88, 4 %90 = load ptr, ptr %15, align 8 %91 = getelementptr inbounds float, ptr %90, i64 %89 store ptr %91, ptr %15, align 8 br label %53 92: ; preds = %80 %93 = load i32, ptr %12, align 4 %94 = add nsw i32 %93, 1 %95 = sext i32 %94 to i64 %96 = mul i64 1, %95 %97 = call i64 @Scalloc(i32 noundef 1, i64 noundef %96) %98 = inttoptr i64 %97 to ptr store ptr %98, ptr %11, align 8 %99 = load ptr, ptr %6, align 8 %100 = call i32 @fileno(ptr noundef %99) %101 = load ptr, ptr %11, align 8 %102 = load i32, ptr %12, align 4 %103 = add nsw i32 %102, 1 %104 = sext i32 %103 to i64 %105 = mul i64 1, %104 %106 = call i32 (i32, ...) @read(i32 noundef %100, ptr noundef %101, i64 noundef %105) store i32 %106, ptr %10, align 4 %107 = load i32, ptr %10, align 4 %108 = sext i32 %107 to i64 %109 = load i32, ptr %12, align 4 %110 = add nsw i32 %109, 1 %111 = sext i32 %110 to i64 %112 = mul i64 1, %111 %113 = icmp ne i64 %108, %112 br i1 %113, label %114, label %116 114: ; preds = %92 %115 = call i32 @Die(ptr noundef @.str.5) br label %116 116: ; preds = %114, %92 %117 = load ptr, ptr %11, align 8 %118 = call i32 @StrTolower(ptr noundef %117) %119 = load ptr, ptr %4, align 8 %120 = load ptr, ptr %11, align 8 %121 = call i64 @strcmp(ptr noundef %119, ptr noundef %120) %122 = icmp eq i64 %121, 0 br i1 %122, label %129, label %123 123: ; preds = %116 %124 = load i32, ptr @stdout, align 4 %125 = load ptr, ptr %3, align 8 %126 = load ptr, ptr %11, align 8 %127 = load ptr, ptr %4, align 8 %128 = call i32 @printk(i32 noundef %124, i32 noundef 1, ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef %125, ptr noundef %126, ptr noundef %127) br label %129 129: ; preds = %123, %116 %130 = load ptr, ptr %6, align 8 %131 = call i32 @fileno(ptr noundef %130) %132 = getelementptr inbounds [200 x i8], ptr %13, i64 0, i64 0 %133 = call i32 (i32, ...) @read(i32 noundef %131, ptr noundef %132, i64 noundef 200) store i32 %133, ptr %10, align 4 %134 = load i32, ptr %10, align 4 %135 = sext i32 %134 to i64 %136 = icmp ne i64 %135, 200 br i1 %136, label %137, label %139 137: ; preds = %129 %138 = call i32 @Die(ptr noundef @.str.8) br label %139 139: ; preds = %137, %129 %140 = load ptr, ptr %6, align 8 %141 = call i32 @fclose(ptr noundef %140) %142 = load ptr, ptr %11, align 8 %143 = call i32 @free(ptr noundef %142) %144 = load ptr, ptr %14, align 8 %145 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %145) ret ptr %144 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @Die(ptr noundef) #2 declare i32 @read(i32 noundef, ...) #2 declare i32 @fileno(ptr noundef) #2 declare i64 @Scalloc(i32 noundef, i64 noundef) #2 declare i32 @StrTolower(ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @printk(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @free(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv8sdr7gl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"Can't open prob matrix file \22%s\22!\0A\00", align 1 @.str.2 = private unnamed_addr constant [55 x i8] c"Can't read sequence length from prob matrix file\22%s\22!\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"Can't read prob matrix!\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"Can't find end of prob matrix!\00", align 1 @.str.5 = private unnamed_addr constant [50 x i8] c"ERROR: can't read sequence from prob matrix file!\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [54 x i8] c"WARNING(%s): sequences differ for %s -> \22%s\22 != \22%s\22\0A\00", align 1 @.str.7 = private unnamed_addr constant [158 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/andreas-wilm/construct3/refs/heads/master/src/cs_wish/bp_prob_mat.c\00", align 1 @.str.8 = private unnamed_addr constant [42 x i8] c"Can't read command from prob matrix file!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ReadRnaFoldMat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca [200 x i8], align 16 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 16384, ptr %5, align 4 store ptr null, ptr %6, align 8 %17 = call ptr @llvm.stacksave() store ptr %17, ptr %7, align 8 %18 = alloca i8, i64 16384, align 16 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %19 = alloca i8, i64 16384, align 16 store ptr null, ptr %11, align 8 store i32 0, ptr %12, align 4 store ptr null, ptr %14, align 8 store ptr null, ptr %15, align 8 store i32 0, ptr %16, align 4 %20 = load ptr, ptr %3, align 8 %21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str) store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %6, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %28 24: ; preds = %2 %25 = load ptr, ptr %3, align 8 %26 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str.1, ptr noundef %25) %27 = call i32 @Die(ptr noundef %19) br label %28 28: ; preds = %24, %2 %29 = load ptr, ptr %6, align 8 %30 = call i32 @fileno(ptr noundef %29) %31 = call i32 (i32, ...) @read(i32 noundef %30, ptr noundef %12, i64 noundef 4) %32 = sext i32 %31 to i64 %33 = icmp ne i64 %32, 4 br i1 %33, label %34, label %38 34: ; preds = %28 %35 = load ptr, ptr %3, align 8 %36 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str.2, ptr noundef %35) %37 = call i32 @Die(ptr noundef %19) br label %38 38: ; preds = %34, %28 %39 = load i32, ptr %12, align 4 %40 = add nsw i32 %39, 1 %41 = load i32, ptr %12, align 4 %42 = add nsw i32 %41, 2 %43 = mul nsw i32 %40, %42 %44 = sdiv i32 %43, 2 store i32 %44, ptr %16, align 4 %45 = load i32, ptr %16, align 4 %46 = sext i32 %45 to i64 %47 = mul i64 4, %46 %48 = trunc i64 %47 to i32 store i32 %48, ptr %8, align 4 %49 = load i32, ptr %16, align 4 %50 = call i64 @Scalloc(i32 noundef %49, i64 noundef 4) %51 = inttoptr i64 %50 to ptr store ptr %51, ptr %14, align 8 %52 = load ptr, ptr %14, align 8 store ptr %52, ptr %15, align 8 br label %53 53: ; preds = %86, %38 br label %54 54: ; preds = %53 %55 = load i32, ptr %8, align 4 %56 = sext i32 %55 to i64 %57 = icmp ult i64 16384, %56 br i1 %57, label %58, label %59 58: ; preds = %54 br label %62 59: ; preds = %54 %60 = load i32, ptr %8, align 4 %61 = sext i32 %60 to i64 br label %62 62: ; preds = %59, %58 %63 = phi i64 [ 16384, %58 ], [ %61, %59 ] %64 = trunc i64 %63 to i32 store i32 %64, ptr %9, align 4 %65 = load ptr, ptr %6, align 8 %66 = call i32 @fileno(ptr noundef %65) %67 = load ptr, ptr %15, align 8 %68 = load i32, ptr %9, align 4 %69 = call i32 (i32, ...) @read(i32 noundef %66, ptr noundef %67, i32 noundef %68) %70 = load i32, ptr %9, align 4 %71 = icmp ne i32 %69, %70 br i1 %71, label %72, label %74 72: ; preds = %62 %73 = call i32 @Die(ptr noundef @.str.3) br label %74 74: ; preds = %72, %62 %75 = load i32, ptr %9, align 4 %76 = load i32, ptr %8, align 4 %77 = sub nsw i32 %76, %75 store i32 %77, ptr %8, align 4 %78 = load i32, ptr %8, align 4 %79 = icmp eq i32 %78, 0 br i1 %79, label %80, label %81 80: ; preds = %74 br label %92 81: ; preds = %74 %82 = load i32, ptr %8, align 4 %83 = icmp slt i32 %82, 0 br i1 %83, label %84, label %86 84: ; preds = %81 %85 = call i32 @Die(ptr noundef @.str.4) br label %86 86: ; preds = %84, %81 %87 = load i32, ptr %9, align 4 %88 = sext i32 %87 to i64 %89 = udiv i64 %88, 4 %90 = load ptr, ptr %15, align 8 %91 = getelementptr inbounds float, ptr %90, i64 %89 store ptr %91, ptr %15, align 8 br label %53 92: ; preds = %80 %93 = load i32, ptr %12, align 4 %94 = add nsw i32 %93, 1 %95 = sext i32 %94 to i64 %96 = mul i64 1, %95 %97 = call i64 @Scalloc(i32 noundef 1, i64 noundef %96) %98 = inttoptr i64 %97 to ptr store ptr %98, ptr %11, align 8 %99 = load ptr, ptr %6, align 8 %100 = call i32 @fileno(ptr noundef %99) %101 = load ptr, ptr %11, align 8 %102 = load i32, ptr %12, align 4 %103 = add nsw i32 %102, 1 %104 = sext i32 %103 to i64 %105 = mul i64 1, %104 %106 = call i32 (i32, ...) @read(i32 noundef %100, ptr noundef %101, i64 noundef %105) store i32 %106, ptr %10, align 4 %107 = load i32, ptr %10, align 4 %108 = sext i32 %107 to i64 %109 = load i32, ptr %12, align 4 %110 = add nsw i32 %109, 1 %111 = sext i32 %110 to i64 %112 = mul i64 1, %111 %113 = icmp ne i64 %108, %112 br i1 %113, label %114, label %116 114: ; preds = %92 %115 = call i32 @Die(ptr noundef @.str.5) br label %116 116: ; preds = %114, %92 %117 = load ptr, ptr %11, align 8 %118 = call i32 @StrTolower(ptr noundef %117) %119 = load ptr, ptr %4, align 8 %120 = load ptr, ptr %11, align 8 %121 = call i64 @strcmp(ptr noundef %119, ptr noundef %120) %122 = icmp eq i64 %121, 0 br i1 %122, label %129, label %123 123: ; preds = %116 %124 = load i32, ptr @stdout, align 4 %125 = load ptr, ptr %3, align 8 %126 = load ptr, ptr %11, align 8 %127 = load ptr, ptr %4, align 8 %128 = call i32 @printk(i32 noundef %124, i32 noundef 1, ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef %125, ptr noundef %126, ptr noundef %127) br label %129 129: ; preds = %123, %116 %130 = load ptr, ptr %6, align 8 %131 = call i32 @fileno(ptr noundef %130) %132 = getelementptr inbounds [200 x i8], ptr %13, i64 0, i64 0 %133 = call i32 (i32, ...) @read(i32 noundef %131, ptr noundef %132, i64 noundef 200) store i32 %133, ptr %10, align 4 %134 = load i32, ptr %10, align 4 %135 = sext i32 %134 to i64 %136 = icmp ne i64 %135, 200 br i1 %136, label %137, label %139 137: ; preds = %129 %138 = call i32 @Die(ptr noundef @.str.8) br label %139 139: ; preds = %137, %129 %140 = load ptr, ptr %6, align 8 %141 = call i32 @fclose(ptr noundef %140) %142 = load ptr, ptr %11, align 8 %143 = call i32 @free(ptr noundef %142) %144 = load ptr, ptr %14, align 8 %145 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %145) ret ptr %144 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @Die(ptr noundef) #2 declare i32 @read(i32 noundef, ...) #2 declare i32 @fileno(ptr noundef) #2 declare i64 @Scalloc(i32 noundef, i64 noundef) #2 declare i32 @StrTolower(ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @printk(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @free(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp794fyq14.c' source_filename = "/tmp/tmp794fyq14.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ccugt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gen_usigned_greater_than() #0 { %1 = call i32 (...) @gen_pop() %2 = call i32 @gen_call(ptr noundef @.str) ret void } declare i32 @gen_pop(...) #1 declare i32 @gen_call(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/tmp794fyq14.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ccugt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gen_usigned_greater_than() #0 { %1 = call i32 (...) @gen_pop() %2 = call i32 @gen_call(ptr noundef @.str) ret void } declare i32 @gen_pop(...) #1 declare i32 @gen_call(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/tmp3z651js7.c' source_filename = "/tmp/tmp3z651js7.c" target datalayout = "e-m:e-p270: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/tmp3z651js7.c" target datalayout = "e-m:e-p270: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/tmpz76m2ggo.c' source_filename = "/tmp/tmpz76m2ggo.c" target datalayout = "e-m:e-p270: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/tmpz76m2ggo.c" target datalayout = "e-m:e-p270: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/tmptu7du1m6.c' source_filename = "/tmp/tmptu7du1m6.c" target datalayout = "e-m:e-p270: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/tmptu7du1m6.c" target datalayout = "e-m:e-p270: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/tmp5kbg_e8a.c' source_filename = "/tmp/tmp5kbg_e8a.c" target datalayout = "e-m:e-p270: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/tmp5kbg_e8a.c" target datalayout = "e-m:e-p270: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/tmp796xccoc.c' source_filename = "/tmp/tmp796xccoc.c" target datalayout = "e-m:e-p270: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/tmp796xccoc.c" target datalayout = "e-m:e-p270: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/tmphwofwk_7.c' source_filename = "/tmp/tmphwofwk_7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" \09\0A;\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%%%d[^%s]\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%s: \00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"%*[\09 ;]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @getstrpar(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca [20 x i8], align 16 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %12 = load ptr, ptr %8, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %4 store ptr @.str, ptr %8, align 8 br label %15 15: ; preds = %14, %4 %16 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %17 = load i32, ptr %7, align 4 %18 = load ptr, ptr %8, align 8 %19 = call i32 @snprintf(ptr noundef %16, i32 noundef 20, ptr noundef @.str.1, i32 noundef %17, ptr noundef %18) br label %20 20: ; preds = %15, %47 %21 = call i32 (...) @testnl() store i32 %21, ptr %11, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %29 23: ; preds = %20 %24 = load ptr, ptr %5, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load ptr, ptr %5, align 8 %28 = call i32 @printf(ptr noundef @.str.2, ptr noundef %27) br label %29 29: ; preds = %26, %23, %20 %30 = load i32, ptr %11, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %29 %33 = call i32 (...) @getchar() br label %34 34: ; preds = %32, %29 %35 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3) %36 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %37 = load ptr, ptr %6, align 8 %38 = call i32 (ptr, ...) @scanf(ptr noundef %36, ptr noundef %37) store i32 %38, ptr %9, align 4 %39 = load i32, ptr %9, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %34 %42 = call i32 @exit(i32 noundef 1) #3 unreachable 43: ; preds = %34 %44 = load i32, ptr %9, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %43 ret void 47: ; preds = %43 br label %20 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @testnl(...) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @getchar(...) #1 declare i32 @scanf(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/tmphwofwk_7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" \09\0A;\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%%%d[^%s]\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%s: \00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"%*[\09 ;]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @getstrpar(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca [20 x i8], align 16 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %12 = load ptr, ptr %8, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %4 store ptr @.str, ptr %8, align 8 br label %15 15: ; preds = %14, %4 %16 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %17 = load i32, ptr %7, align 4 %18 = load ptr, ptr %8, align 8 %19 = call i32 @snprintf(ptr noundef %16, i32 noundef 20, ptr noundef @.str.1, i32 noundef %17, ptr noundef %18) br label %20 20: ; preds = %43, %15 %21 = call i32 (...) @testnl() store i32 %21, ptr %11, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %29 23: ; preds = %20 %24 = load ptr, ptr %5, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load ptr, ptr %5, align 8 %28 = call i32 @printf(ptr noundef @.str.2, ptr noundef %27) br label %29 29: ; preds = %26, %23, %20 %30 = load i32, ptr %11, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %29 %33 = call i32 (...) @getchar() br label %34 34: ; preds = %32, %29 %35 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3) %36 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %37 = load ptr, ptr %6, align 8 %38 = call i32 (ptr, ...) @scanf(ptr noundef %36, ptr noundef %37) store i32 %38, ptr %9, align 4 %39 = load i32, ptr %9, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %34 %42 = call i32 @exit(i32 noundef 1) #3 unreachable 43: ; preds = %34 %44 = load i32, ptr %9, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %20 46: ; preds = %43 ret void } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @testnl(...) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @getchar(...) #1 declare i32 @scanf(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/tmp_ycvz8pz.c' source_filename = "/tmp/tmp_ycvz8pz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ycvz8pz.c" target datalayout = "e-m:e-p270: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/tmpd1y3exmk.c' source_filename = "/tmp/tmpd1y3exmk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NETLINK_ROUTE = 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/tmpd1y3exmk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NETLINK_ROUTE = 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/tmplruxxbmc.c' source_filename = "/tmp/tmplruxxbmc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isConcealedSquare(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = srem i32 %5, 10 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %28 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = sdiv i32 %10, 100 store i32 %11, ptr %3, align 4 store i32 9, ptr %4, align 4 br label %12 12: ; preds = %24, %9 %13 = load i32, ptr %3, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %27 15: ; preds = %12 %16 = load i32, ptr %3, align 4 %17 = srem i32 %16, 10 %18 = load i32, ptr %4, align 4 %19 = icmp ne i32 %17, %18 br i1 %19, label %20, label %21 20: ; preds = %15 store i32 0, ptr %2, align 4 br label %28 21: ; preds = %15 %22 = load i32, ptr %3, align 4 %23 = sdiv i32 %22, 100 store i32 %23, ptr %3, align 4 br label %24 24: ; preds = %21 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %4, align 4 br label %12, !llvm.loop !6 27: ; preds = %12 store i32 1, ptr %2, align 4 br label %28 28: ; preds = %27, %20, %8 %29 = load i32, ptr %2, align 4 ret i32 %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 = '<stdin>' source_filename = "/tmp/tmplruxxbmc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isConcealedSquare(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = srem i32 %5, 10 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %29 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = sdiv i32 %10, 100 store i32 %11, ptr %3, align 4 store i32 9, ptr %4, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %.lr.ph, label %28 .lr.ph: ; preds = %9 br label %14 14: ; preds = %.lr.ph, %23 %15 = load i32, ptr %3, align 4 %16 = srem i32 %15, 10 %17 = load i32, ptr %4, align 4 %18 = icmp ne i32 %16, %17 br i1 %18, label %19, label %20 19: ; preds = %14 store i32 0, ptr %2, align 4 br label %29 20: ; preds = %14 %21 = load i32, ptr %3, align 4 %22 = sdiv i32 %21, 100 store i32 %22, ptr %3, align 4 br label %23 23: ; preds = %20 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %4, align 4 %26 = load i32, ptr %3, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %9 store i32 1, ptr %2, align 4 br label %29 29: ; preds = %28, %19, %8 %30 = load i32, ptr %2, align 4 ret i32 %30 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp9c9vfq9c.c' source_filename = "/tmp/tmp9c9vfq9c.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9c9vfq9c.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpch95rh8e.c' source_filename = "/tmp/tmpch95rh8e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mergeSort(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 %33 11: ; preds = %3 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %6, align 4 %14 = add nsw i32 %12, %13 %15 = sdiv i32 %14, 2 %16 = call i32 @floor(i32 noundef %15) store i32 %16, ptr %7, align 4 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %7, align 4 call void @mergeSort(ptr noundef %17, i32 noundef %18, 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 @mergeSort(ptr noundef %20, i32 noundef %22, i32 noundef %23) %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %6, align 4 %28 = call i32 @merge(ptr noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27) %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %6, align 4 %31 = load ptr, ptr %4, align 8 %32 = call i32 @imprime(i32 noundef %29, i32 noundef %30, ptr noundef %31) br label %33 33: ; preds = %11, %3 ret void } declare i32 @floor(i32 noundef) #1 declare i32 @merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @imprime(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/tmpch95rh8e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mergeSort(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 %33 11: ; preds = %3 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %6, align 4 %14 = add nsw i32 %12, %13 %15 = sdiv i32 %14, 2 %16 = call i32 @floor(i32 noundef %15) store i32 %16, ptr %7, align 4 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %7, align 4 call void @mergeSort(ptr noundef %17, i32 noundef %18, 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 @mergeSort(ptr noundef %20, i32 noundef %22, i32 noundef %23) %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %6, align 4 %28 = call i32 @merge(ptr noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27) %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %6, align 4 %31 = load ptr, ptr %4, align 8 %32 = call i32 @imprime(i32 noundef %29, i32 noundef %30, ptr noundef %31) br label %33 33: ; preds = %11, %3 ret void } declare i32 @floor(i32 noundef) #1 declare i32 @merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @imprime(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/tmpz1z4h8zf.c' source_filename = "/tmp/tmpz1z4h8zf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Setgpid error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Setpgid(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i64 @setpgid(i32 noundef %5, i32 noundef %6) %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 @unix_error(ptr noundef @.str) br label %11 11: ; preds = %9, %2 ret void } declare i64 @setpgid(i32 noundef, i32 noundef) #1 declare i32 @unix_error(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/tmpz1z4h8zf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Setgpid error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Setpgid(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i64 @setpgid(i32 noundef %5, i32 noundef %6) %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 @unix_error(ptr noundef @.str) br label %11 11: ; preds = %9, %2 ret void } declare i64 @setpgid(i32 noundef, i32 noundef) #1 declare i32 @unix_error(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/tmp66xwe9c_.c' source_filename = "/tmp/tmp66xwe9c_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ASN1_GENERALIZEDTIME_it = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ASN1_GENERALIZEDTIME_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @ASN1_item_free(ptr noundef %3, ptr noundef @ASN1_GENERALIZEDTIME_it) ret void } declare i32 @ASN1_item_free(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/tmp66xwe9c_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ASN1_GENERALIZEDTIME_it = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ASN1_GENERALIZEDTIME_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @ASN1_item_free(ptr noundef %3, ptr noundef @ASN1_GENERALIZEDTIME_it) ret void } declare i32 @ASN1_item_free(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/tmpfo9qdihm.c' source_filename = "/tmp/tmpfo9qdihm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_nop(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @ft_put_word(ptr noundef %3, i32 noundef 4) ret void } declare i32 @ft_put_word(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/tmpfo9qdihm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_nop(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @ft_put_word(ptr noundef %3, i32 noundef 4) ret void } declare i32 @ft_put_word(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/tmppu3_c4ky.c' source_filename = "/tmp/tmppu3_c4ky.c" target datalayout = "e-m:e-p270: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.target_theta.coeff = private unnamed_addr constant [21 x float] [float 0x3F0F459FE0000000, float 0xBFABD97AC0000000, float 0x3FB08B6B00000000, float 0xBF6B090A80000000, float 0x3F5265DB80000000, float 0x3F85EF0300000000, float 0xBF72475AA0000000, float 0xBF81A0EE20000000, float 0x3F7162EC60000000, float 0x3F1BC07100000000, float 0xBF2622C9A0000000, float 0xBF29BE6CE0000000, float 0x3F327F8000000000, float 0xBF3EA45F00000000, float 0xBF190CB540000000, float 0x3F42122260000000, float 0xBF43B5AC80000000, float 0xBF2549D1E0000000, float 0x3F41D3FCC0000000, float 0x3EDBBB57A0000000, float 0.000000e+00], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @target_theta(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca float, align 4 %9 = alloca [10 x float], align 16 %10 = alloca [10 x float], align 16 %11 = alloca [10 x float], align 16 %12 = alloca [21 x float], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca float, align 4 %20 = alloca float, align 4 %21 = alloca float, align 4 %22 = alloca float, align 4 %23 = alloca float, align 4 %24 = alloca float, align 4 %25 = alloca float, align 4 %26 = alloca float, align 4 %27 = alloca float, align 4 %28 = alloca float, align 4 %29 = alloca float, align 4 %30 = alloca float, align 4 %31 = alloca float, align 4 %32 = alloca float, align 4 %33 = alloca float, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 20, ptr %7, align 4 store float 0x3FB503D540000000, ptr %8, align 4 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false) %34 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0 store float -1.500000e+01, ptr %34, align 16 %35 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1 store float -1.500000e+01, ptr %35, align 4 %36 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2 store float -1.800000e+01, ptr %36, align 8 %37 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3 store float 0xC032045A20000000, ptr %37, align 4 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false) %38 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0 store float 1.500000e+01, ptr %38, align 16 %39 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1 store float 1.500000e+01, ptr %39, align 4 %40 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2 store float 1.800000e+01, ptr %40, align 8 %41 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3 store float 0x4031FC2900000000, ptr %41, align 4 call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_theta.coeff, i64 84, i1 false) store i32 0, ptr %13, align 4 %42 = load i32, ptr %13, align 4 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %80 44: ; preds = %3 store i32 1, ptr %13, align 4 store i32 0, ptr %14, align 4 br label %45 45: ; preds = %76, %44 %46 = load i32, ptr %14, align 4 %47 = load i32, ptr %6, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %79 49: ; preds = %45 %50 = load i32, ptr %14, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %51 %53 = load float, ptr %52, align 4 %54 = load i32, ptr %14, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %55 %57 = load float, ptr %56, align 4 %58 = fcmp oeq float %53, %57 br i1 %58, label %59, label %60 59: ; preds = %49 br label %76 60: ; preds = %49 %61 = load i32, ptr %14, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %62 %64 = load float, ptr %63, align 4 %65 = load i32, ptr %14, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %66 %68 = load float, ptr %67, align 4 %69 = fsub float %64, %68 %70 = fpext float %69 to double %71 = fdiv double 2.000000e+00, %70 %72 = fptrunc double %71 to float %73 = load i32, ptr %14, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %74 store float %72, ptr %75, align 4 br label %76 76: ; preds = %60, %59 %77 = load i32, ptr %14, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %14, align 4 br label %45, !llvm.loop !6 79: ; preds = %45 br label %80 80: ; preds = %79, %3 %81 = load ptr, ptr %4, align 8 %82 = getelementptr inbounds float, ptr %81, i64 0 %83 = load float, ptr %82, align 4 %84 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0 %85 = load float, ptr %84, align 16 %86 = fsub float %83, %85 %87 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0 %88 = load float, ptr %87, align 16 %89 = fmul float %86, %88 %90 = fpext float %89 to double %91 = fadd double 1.000000e+00, %90 %92 = fptrunc double %91 to float store float %92, ptr %15, align 4 %93 = load ptr, ptr %5, align 8 %94 = getelementptr inbounds float, ptr %93, i64 0 %95 = load float, ptr %94, align 4 %96 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0 %97 = load float, ptr %96, align 16 %98 = fmul float %95, %97 store float %98, ptr %16, align 4 %99 = load ptr, ptr %4, align 8 %100 = getelementptr inbounds float, ptr %99, i64 1 %101 = load float, ptr %100, align 4 %102 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1 %103 = load float, ptr %102, align 4 %104 = fsub float %101, %103 %105 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1 %106 = load float, ptr %105, align 4 %107 = fmul float %104, %106 %108 = fpext float %107 to double %109 = fadd double 1.000000e+00, %108 %110 = fptrunc double %109 to float store float %110, ptr %17, align 4 %111 = load ptr, ptr %5, align 8 %112 = getelementptr inbounds float, ptr %111, i64 1 %113 = load float, ptr %112, align 4 %114 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1 %115 = load float, ptr %114, align 4 %116 = fmul float %113, %115 store float %116, ptr %18, align 4 %117 = load ptr, ptr %4, align 8 %118 = getelementptr inbounds float, ptr %117, i64 2 %119 = load float, ptr %118, align 4 %120 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2 %121 = load float, ptr %120, align 8 %122 = fsub float %119, %121 %123 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2 %124 = load float, ptr %123, align 8 %125 = fmul float %122, %124 %126 = fpext float %125 to double %127 = fadd double 1.000000e+00, %126 %128 = fptrunc double %127 to float store float %128, ptr %19, align 4 %129 = load ptr, ptr %5, align 8 %130 = getelementptr inbounds float, ptr %129, i64 2 %131 = load float, ptr %130, align 4 %132 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2 %133 = load float, ptr %132, align 8 %134 = fmul float %131, %133 store float %134, ptr %20, align 4 %135 = load ptr, ptr %4, align 8 %136 = getelementptr inbounds float, ptr %135, i64 3 %137 = load float, ptr %136, align 4 %138 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3 %139 = load float, ptr %138, align 4 %140 = fsub float %137, %139 %141 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3 %142 = load float, ptr %141, align 4 %143 = fmul float %140, %142 %144 = fpext float %143 to double %145 = fadd double 1.000000e+00, %144 %146 = fptrunc double %145 to float store float %146, ptr %21, align 4 %147 = load ptr, ptr %5, align 8 %148 = getelementptr inbounds float, ptr %147, i64 3 %149 = load float, ptr %148, align 4 %150 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3 %151 = load float, ptr %150, align 4 %152 = fmul float %149, %151 store float %152, ptr %22, align 4 %153 = load float, ptr %15, align 4 store float %153, ptr %23, align 4 %154 = load float, ptr %23, align 4 %155 = load float, ptr %15, align 4 %156 = fmul float %154, %155 store float %156, ptr %24, align 4 %157 = load float, ptr %17, align 4 store float %157, ptr %25, align 4 %158 = load float, ptr %25, align 4 %159 = load float, ptr %17, align 4 %160 = fmul float %158, %159 store float %160, ptr %26, align 4 %161 = load float, ptr %19, align 4 store float %161, ptr %27, align 4 %162 = load float, ptr %27, align 4 %163 = load float, ptr %19, align 4 %164 = fmul float %162, %163 store float %164, ptr %28, align 4 %165 = load float, ptr %21, align 4 store float %165, ptr %29, align 4 %166 = load float, ptr %29, align 4 %167 = load float, ptr %21, align 4 %168 = fmul float %166, %167 store float %168, ptr %30, align 4 %169 = load float, ptr %8, align 4 %170 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 0 %171 = load float, ptr %170, align 16 %172 = fadd float %169, %171 %173 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1 %174 = load float, ptr %173, align 4 %175 = load float, ptr %25, align 4 %176 = call float @llvm.fmuladd.f32(float %174, float %175, float %172) %177 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2 %178 = load float, ptr %177, align 8 %179 = load float, ptr %29, align 4 %180 = call float @llvm.fmuladd.f32(float %178, float %179, float %176) %181 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3 %182 = load float, ptr %181, align 4 %183 = load float, ptr %24, align 4 %184 = call float @llvm.fmuladd.f32(float %182, float %183, float %180) %185 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4 %186 = load float, ptr %185, align 16 %187 = load float, ptr %26, align 4 %188 = call float @llvm.fmuladd.f32(float %186, float %187, float %184) %189 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5 %190 = load float, ptr %189, align 4 %191 = load float, ptr %23, align 4 %192 = fmul float %190, %191 %193 = load float, ptr %27, align 4 %194 = call float @llvm.fmuladd.f32(float %192, float %193, float %188) %195 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6 %196 = load float, ptr %195, align 8 %197 = load float, ptr %25, align 4 %198 = fmul float %196, %197 %199 = load float, ptr %29, align 4 %200 = call float @llvm.fmuladd.f32(float %198, float %199, float %194) %201 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7 %202 = load float, ptr %201, align 4 %203 = load float, ptr %28, align 4 %204 = call float @llvm.fmuladd.f32(float %202, float %203, float %200) store float %204, ptr %31, align 4 %205 = load float, ptr %31, align 4 %206 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8 %207 = load float, ptr %206, align 16 %208 = load float, ptr %30, align 4 %209 = call float @llvm.fmuladd.f32(float %207, float %208, float %205) %210 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9 %211 = load float, ptr %210, align 4 %212 = load float, ptr %23, align 4 %213 = call float @llvm.fmuladd.f32(float %211, float %212, float %209) %214 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10 %215 = load float, ptr %214, align 8 %216 = load float, ptr %27, align 4 %217 = call float @llvm.fmuladd.f32(float %215, float %216, float %213) %218 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11 %219 = load float, ptr %218, align 4 %220 = load float, ptr %23, align 4 %221 = fmul float %219, %220 %222 = load float, ptr %25, align 4 %223 = fmul float %221, %222 %224 = load float, ptr %27, align 4 %225 = call float @llvm.fmuladd.f32(float %223, float %224, float %217) %226 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12 %227 = load float, ptr %226, align 16 %228 = load float, ptr %25, align 4 %229 = fmul float %227, %228 %230 = load float, ptr %28, align 4 %231 = call float @llvm.fmuladd.f32(float %229, float %230, float %225) %232 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13 %233 = load float, ptr %232, align 4 %234 = load float, ptr %28, align 4 %235 = fmul float %233, %234 %236 = load float, ptr %30, align 4 %237 = call float @llvm.fmuladd.f32(float %235, float %236, float %231) %238 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14 %239 = load float, ptr %238, align 8 %240 = load float, ptr %24, align 4 %241 = fmul float %239, %240 %242 = load float, ptr %29, align 4 %243 = call float @llvm.fmuladd.f32(float %241, float %242, float %237) %244 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15 %245 = load float, ptr %244, align 4 %246 = load float, ptr %23, align 4 %247 = fmul float %245, %246 %248 = load float, ptr %27, align 4 %249 = fmul float %247, %248 %250 = load float, ptr %29, align 4 %251 = call float @llvm.fmuladd.f32(float %249, float %250, float %243) %252 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16 %253 = load float, ptr %252, align 16 %254 = load float, ptr %28, align 4 %255 = fmul float %253, %254 %256 = load float, ptr %29, align 4 %257 = call float @llvm.fmuladd.f32(float %255, float %256, float %251) store float %257, ptr %31, align 4 %258 = load float, ptr %31, align 4 %259 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17 %260 = load float, ptr %259, align 4 %261 = load float, ptr %24, align 4 %262 = fmul float %260, %261 %263 = load float, ptr %26, align 4 %264 = call float @llvm.fmuladd.f32(float %262, float %263, float %258) %265 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18 %266 = load float, ptr %265, align 8 %267 = load float, ptr %23, align 4 %268 = fmul float %266, %267 %269 = load float, ptr %25, align 4 %270 = fmul float %268, %269 %271 = load float, ptr %27, align 4 %272 = fmul float %270, %271 %273 = load float, ptr %29, align 4 %274 = call float @llvm.fmuladd.f32(float %272, float %273, float %264) %275 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19 %276 = load float, ptr %275, align 4 %277 = load float, ptr %26, align 4 %278 = fmul float %276, %277 %279 = load float, ptr %29, align 4 %280 = call float @llvm.fmuladd.f32(float %278, float %279, float %274) store float %280, ptr %31, align 4 %281 = load float, ptr %16, align 4 %282 = fadd float 0.000000e+00, %281 %283 = load float, ptr %18, align 4 %284 = fadd float %282, %283 %285 = load float, ptr %20, align 4 %286 = fadd float %284, %285 %287 = load float, ptr %22, align 4 %288 = fadd float %286, %287 store float %288, ptr %32, align 4 %289 = load float, ptr %32, align 4 %290 = fcmp oeq float %289, 0.000000e+00 br i1 %290, label %291, label %292 291: ; preds = %80 br label %502 292: ; preds = %80 %293 = load float, ptr %16, align 4 %294 = load float, ptr %16, align 4 %295 = fmul float %293, %294 %296 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3 %297 = load float, ptr %296, align 4 %298 = fmul float 2.000000e+00, %297 %299 = load float, ptr %23, align 4 %300 = call float @llvm.fmuladd.f32(float %298, float %299, float 0.000000e+00) %301 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5 %302 = load float, ptr %301, align 4 %303 = load float, ptr %27, align 4 %304 = call float @llvm.fmuladd.f32(float %302, float %303, float %300) %305 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9 %306 = load float, ptr %305, align 4 %307 = fadd float %304, %306 %308 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11 %309 = load float, ptr %308, align 4 %310 = load float, ptr %25, align 4 %311 = fmul float %309, %310 %312 = load float, ptr %27, align 4 %313 = call float @llvm.fmuladd.f32(float %311, float %312, float %307) %314 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14 %315 = load float, ptr %314, align 8 %316 = fmul float 2.000000e+00, %315 %317 = load float, ptr %23, align 4 %318 = fmul float %316, %317 %319 = load float, ptr %29, align 4 %320 = call float @llvm.fmuladd.f32(float %318, float %319, float %313) %321 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15 %322 = load float, ptr %321, align 4 %323 = load float, ptr %27, align 4 %324 = fmul float %322, %323 %325 = load float, ptr %29, align 4 %326 = call float @llvm.fmuladd.f32(float %324, float %325, float %320) %327 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17 %328 = load float, ptr %327, align 4 %329 = fmul float 2.000000e+00, %328 %330 = load float, ptr %23, align 4 %331 = fmul float %329, %330 %332 = load float, ptr %26, align 4 %333 = call float @llvm.fmuladd.f32(float %331, float %332, float %326) %334 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18 %335 = load float, ptr %334, align 8 %336 = load float, ptr %25, align 4 %337 = fmul float %335, %336 %338 = load float, ptr %27, align 4 %339 = fmul float %337, %338 %340 = load float, ptr %29, align 4 %341 = call float @llvm.fmuladd.f32(float %339, float %340, float %333) %342 = call float @pow(float noundef %341, i32 noundef 2) %343 = load float, ptr %18, align 4 %344 = load float, ptr %18, align 4 %345 = fmul float %343, %344 %346 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1 %347 = load float, ptr %346, align 4 %348 = fadd float 0.000000e+00, %347 %349 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4 %350 = load float, ptr %349, align 16 %351 = fmul float 2.000000e+00, %350 %352 = load float, ptr %25, align 4 %353 = call float @llvm.fmuladd.f32(float %351, float %352, float %348) %354 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6 %355 = load float, ptr %354, align 8 %356 = load float, ptr %29, align 4 %357 = call float @llvm.fmuladd.f32(float %355, float %356, float %353) %358 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11 %359 = load float, ptr %358, align 4 %360 = load float, ptr %23, align 4 %361 = fmul float %359, %360 %362 = load float, ptr %27, align 4 %363 = call float @llvm.fmuladd.f32(float %361, float %362, float %357) %364 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12 %365 = load float, ptr %364, align 16 %366 = load float, ptr %28, align 4 %367 = call float @llvm.fmuladd.f32(float %365, float %366, float %363) %368 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17 %369 = load float, ptr %368, align 4 %370 = fmul float 2.000000e+00, %369 %371 = load float, ptr %25, align 4 %372 = fmul float %370, %371 %373 = load float, ptr %24, align 4 %374 = call float @llvm.fmuladd.f32(float %372, float %373, float %367) %375 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18 %376 = load float, ptr %375, align 8 %377 = load float, ptr %23, align 4 %378 = fmul float %376, %377 %379 = load float, ptr %27, align 4 %380 = fmul float %378, %379 %381 = load float, ptr %29, align 4 %382 = call float @llvm.fmuladd.f32(float %380, float %381, float %374) %383 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19 %384 = load float, ptr %383, align 4 %385 = fmul float 2.000000e+00, %384 %386 = load float, ptr %25, align 4 %387 = fmul float %385, %386 %388 = load float, ptr %29, align 4 %389 = call float @llvm.fmuladd.f32(float %387, float %388, float %382) %390 = call float @pow(float noundef %389, i32 noundef 2) %391 = fmul float %345, %390 %392 = call float @llvm.fmuladd.f32(float %295, float %342, float %391) %393 = load float, ptr %20, align 4 %394 = load float, ptr %20, align 4 %395 = fmul float %393, %394 %396 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5 %397 = load float, ptr %396, align 4 %398 = load float, ptr %23, align 4 %399 = call float @llvm.fmuladd.f32(float %397, float %398, float 0.000000e+00) %400 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7 %401 = load float, ptr %400, align 4 %402 = fmul float 2.000000e+00, %401 %403 = load float, ptr %27, align 4 %404 = call float @llvm.fmuladd.f32(float %402, float %403, float %399) %405 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10 %406 = load float, ptr %405, align 8 %407 = fadd float %404, %406 %408 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11 %409 = load float, ptr %408, align 4 %410 = load float, ptr %23, align 4 %411 = fmul float %409, %410 %412 = load float, ptr %25, align 4 %413 = call float @llvm.fmuladd.f32(float %411, float %412, float %407) %414 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12 %415 = load float, ptr %414, align 16 %416 = fmul float 2.000000e+00, %415 %417 = load float, ptr %27, align 4 %418 = fmul float %416, %417 %419 = load float, ptr %25, align 4 %420 = call float @llvm.fmuladd.f32(float %418, float %419, float %413) %421 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13 %422 = load float, ptr %421, align 4 %423 = fmul float 2.000000e+00, %422 %424 = load float, ptr %27, align 4 %425 = fmul float %423, %424 %426 = load float, ptr %30, align 4 %427 = call float @llvm.fmuladd.f32(float %425, float %426, float %420) %428 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15 %429 = load float, ptr %428, align 4 %430 = load float, ptr %23, align 4 %431 = fmul float %429, %430 %432 = load float, ptr %29, align 4 %433 = call float @llvm.fmuladd.f32(float %431, float %432, float %427) %434 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16 %435 = load float, ptr %434, align 16 %436 = fmul float 2.000000e+00, %435 %437 = load float, ptr %27, align 4 %438 = fmul float %436, %437 %439 = load float, ptr %29, align 4 %440 = call float @llvm.fmuladd.f32(float %438, float %439, float %433) %441 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18 %442 = load float, ptr %441, align 8 %443 = load float, ptr %23, align 4 %444 = fmul float %442, %443 %445 = load float, ptr %25, align 4 %446 = fmul float %444, %445 %447 = load float, ptr %29, align 4 %448 = call float @llvm.fmuladd.f32(float %446, float %447, float %440) %449 = call float @pow(float noundef %448, i32 noundef 2) %450 = call float @llvm.fmuladd.f32(float %395, float %449, float %392) %451 = load float, ptr %22, align 4 %452 = load float, ptr %22, align 4 %453 = fmul float %451, %452 %454 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2 %455 = load float, ptr %454, align 8 %456 = fadd float 0.000000e+00, %455 %457 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6 %458 = load float, ptr %457, align 8 %459 = load float, ptr %25, align 4 %460 = call float @llvm.fmuladd.f32(float %458, float %459, float %456) %461 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8 %462 = load float, ptr %461, align 16 %463 = fmul float 2.000000e+00, %462 %464 = load float, ptr %29, align 4 %465 = call float @llvm.fmuladd.f32(float %463, float %464, float %460) %466 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13 %467 = load float, ptr %466, align 4 %468 = fmul float 2.000000e+00, %467 %469 = load float, ptr %29, align 4 %470 = fmul float %468, %469 %471 = load float, ptr %28, align 4 %472 = call float @llvm.fmuladd.f32(float %470, float %471, float %465) %473 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14 %474 = load float, ptr %473, align 8 %475 = load float, ptr %24, align 4 %476 = call float @llvm.fmuladd.f32(float %474, float %475, float %472) %477 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15 %478 = load float, ptr %477, align 4 %479 = load float, ptr %23, align 4 %480 = fmul float %478, %479 %481 = load float, ptr %27, align 4 %482 = call float @llvm.fmuladd.f32(float %480, float %481, float %476) %483 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16 %484 = load float, ptr %483, align 16 %485 = load float, ptr %28, align 4 %486 = call float @llvm.fmuladd.f32(float %484, float %485, float %482) %487 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18 %488 = load float, ptr %487, align 8 %489 = load float, ptr %23, align 4 %490 = fmul float %488, %489 %491 = load float, ptr %25, align 4 %492 = fmul float %490, %491 %493 = load float, ptr %27, align 4 %494 = call float @llvm.fmuladd.f32(float %492, float %493, float %486) %495 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19 %496 = load float, ptr %495, align 4 %497 = load float, ptr %26, align 4 %498 = call float @llvm.fmuladd.f32(float %496, float %497, float %494) %499 = call float @pow(float noundef %498, i32 noundef 2) %500 = call float @llvm.fmuladd.f32(float %453, float %499, float %450) %501 = call float @sqrt(float noundef %500) br label %502 502: ; preds = %292, %291 %503 = phi float [ 0.000000e+00, %291 ], [ %501, %292 ] store float %503, ptr %33, align 4 %504 = load float, ptr %33, align 4 %505 = load ptr, ptr %5, align 8 %506 = getelementptr inbounds float, ptr %505, i64 0 store float %504, ptr %506, align 4 %507 = load float, ptr %31, align 4 ret float %507 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare float @sqrt(float noundef) #4 declare float @pow(float noundef, i32 noundef) #4 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmppu3_c4ky.c" target datalayout = "e-m:e-p270: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.target_theta.coeff = private unnamed_addr constant [21 x float] [float 0x3F0F459FE0000000, float 0xBFABD97AC0000000, float 0x3FB08B6B00000000, float 0xBF6B090A80000000, float 0x3F5265DB80000000, float 0x3F85EF0300000000, float 0xBF72475AA0000000, float 0xBF81A0EE20000000, float 0x3F7162EC60000000, float 0x3F1BC07100000000, float 0xBF2622C9A0000000, float 0xBF29BE6CE0000000, float 0x3F327F8000000000, float 0xBF3EA45F00000000, float 0xBF190CB540000000, float 0x3F42122260000000, float 0xBF43B5AC80000000, float 0xBF2549D1E0000000, float 0x3F41D3FCC0000000, float 0x3EDBBB57A0000000, float 0.000000e+00], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @target_theta(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca float, align 4 %9 = alloca [10 x float], align 16 %10 = alloca [10 x float], align 16 %11 = alloca [10 x float], align 16 %12 = alloca [21 x float], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca float, align 4 %20 = alloca float, align 4 %21 = alloca float, align 4 %22 = alloca float, align 4 %23 = alloca float, align 4 %24 = alloca float, align 4 %25 = alloca float, align 4 %26 = alloca float, align 4 %27 = alloca float, align 4 %28 = alloca float, align 4 %29 = alloca float, align 4 %30 = alloca float, align 4 %31 = alloca float, align 4 %32 = alloca float, align 4 %33 = alloca float, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 20, ptr %7, align 4 store float 0x3FB503D540000000, ptr %8, align 4 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false) %34 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0 store float -1.500000e+01, ptr %34, align 16 %35 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1 store float -1.500000e+01, ptr %35, align 4 %36 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2 store float -1.800000e+01, ptr %36, align 8 %37 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3 store float 0xC032045A20000000, ptr %37, align 4 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false) %38 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0 store float 1.500000e+01, ptr %38, align 16 %39 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1 store float 1.500000e+01, ptr %39, align 4 %40 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2 store float 1.800000e+01, ptr %40, align 8 %41 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3 store float 0x4031FC2900000000, ptr %41, align 4 call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_theta.coeff, i64 84, i1 false) store i32 0, ptr %13, align 4 %42 = load i32, ptr %13, align 4 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %82 44: ; preds = %3 store i32 1, ptr %13, align 4 store i32 0, ptr %14, align 4 %45 = load i32, ptr %14, align 4 %46 = load i32, ptr %6, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %.lr.ph, label %81 .lr.ph: ; preds = %44 br label %48 48: ; preds = %.lr.ph, %75 %49 = load i32, ptr %14, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %50 %52 = load float, ptr %51, align 4 %53 = load i32, ptr %14, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %54 %56 = load float, ptr %55, align 4 %57 = fcmp oeq float %52, %56 br i1 %57, label %58, label %59 58: ; preds = %48 br label %75 59: ; preds = %48 %60 = load i32, ptr %14, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %61 %63 = load float, ptr %62, align 4 %64 = load i32, ptr %14, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %65 %67 = load float, ptr %66, align 4 %68 = fsub float %63, %67 %69 = fpext float %68 to double %70 = fdiv double 2.000000e+00, %69 %71 = fptrunc double %70 to float %72 = load i32, ptr %14, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %73 store float %71, ptr %74, align 4 br label %75 75: ; preds = %59, %58 %76 = load i32, ptr %14, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %14, align 4 %78 = load i32, ptr %14, align 4 %79 = load i32, ptr %6, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %48, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %75 br label %81 81: ; preds = %._crit_edge, %44 br label %82 82: ; preds = %81, %3 %83 = load ptr, ptr %4, align 8 %84 = getelementptr inbounds float, ptr %83, i64 0 %85 = load float, ptr %84, align 4 %86 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0 %87 = load float, ptr %86, align 16 %88 = fsub float %85, %87 %89 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0 %90 = load float, ptr %89, align 16 %91 = fmul float %88, %90 %92 = fpext float %91 to double %93 = fadd double 1.000000e+00, %92 %94 = fptrunc double %93 to float store float %94, ptr %15, align 4 %95 = load ptr, ptr %5, align 8 %96 = getelementptr inbounds float, ptr %95, i64 0 %97 = load float, ptr %96, align 4 %98 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0 %99 = load float, ptr %98, align 16 %100 = fmul float %97, %99 store float %100, ptr %16, align 4 %101 = load ptr, ptr %4, align 8 %102 = getelementptr inbounds float, ptr %101, i64 1 %103 = load float, ptr %102, align 4 %104 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1 %105 = load float, ptr %104, align 4 %106 = fsub float %103, %105 %107 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1 %108 = load float, ptr %107, align 4 %109 = fmul float %106, %108 %110 = fpext float %109 to double %111 = fadd double 1.000000e+00, %110 %112 = fptrunc double %111 to float store float %112, ptr %17, align 4 %113 = load ptr, ptr %5, align 8 %114 = getelementptr inbounds float, ptr %113, i64 1 %115 = load float, ptr %114, align 4 %116 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1 %117 = load float, ptr %116, align 4 %118 = fmul float %115, %117 store float %118, ptr %18, align 4 %119 = load ptr, ptr %4, align 8 %120 = getelementptr inbounds float, ptr %119, i64 2 %121 = load float, ptr %120, align 4 %122 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2 %123 = load float, ptr %122, align 8 %124 = fsub float %121, %123 %125 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2 %126 = load float, ptr %125, align 8 %127 = fmul float %124, %126 %128 = fpext float %127 to double %129 = fadd double 1.000000e+00, %128 %130 = fptrunc double %129 to float store float %130, ptr %19, align 4 %131 = load ptr, ptr %5, align 8 %132 = getelementptr inbounds float, ptr %131, i64 2 %133 = load float, ptr %132, align 4 %134 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2 %135 = load float, ptr %134, align 8 %136 = fmul float %133, %135 store float %136, ptr %20, align 4 %137 = load ptr, ptr %4, align 8 %138 = getelementptr inbounds float, ptr %137, i64 3 %139 = load float, ptr %138, align 4 %140 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3 %141 = load float, ptr %140, align 4 %142 = fsub float %139, %141 %143 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3 %144 = load float, ptr %143, align 4 %145 = fmul float %142, %144 %146 = fpext float %145 to double %147 = fadd double 1.000000e+00, %146 %148 = fptrunc double %147 to float store float %148, ptr %21, align 4 %149 = load ptr, ptr %5, align 8 %150 = getelementptr inbounds float, ptr %149, i64 3 %151 = load float, ptr %150, align 4 %152 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3 %153 = load float, ptr %152, align 4 %154 = fmul float %151, %153 store float %154, ptr %22, align 4 %155 = load float, ptr %15, align 4 store float %155, ptr %23, align 4 %156 = load float, ptr %23, align 4 %157 = load float, ptr %15, align 4 %158 = fmul float %156, %157 store float %158, ptr %24, align 4 %159 = load float, ptr %17, align 4 store float %159, ptr %25, align 4 %160 = load float, ptr %25, align 4 %161 = load float, ptr %17, align 4 %162 = fmul float %160, %161 store float %162, ptr %26, align 4 %163 = load float, ptr %19, align 4 store float %163, ptr %27, align 4 %164 = load float, ptr %27, align 4 %165 = load float, ptr %19, align 4 %166 = fmul float %164, %165 store float %166, ptr %28, align 4 %167 = load float, ptr %21, align 4 store float %167, ptr %29, align 4 %168 = load float, ptr %29, align 4 %169 = load float, ptr %21, align 4 %170 = fmul float %168, %169 store float %170, ptr %30, align 4 %171 = load float, ptr %8, align 4 %172 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 0 %173 = load float, ptr %172, align 16 %174 = fadd float %171, %173 %175 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1 %176 = load float, ptr %175, align 4 %177 = load float, ptr %25, align 4 %178 = call float @llvm.fmuladd.f32(float %176, float %177, float %174) %179 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2 %180 = load float, ptr %179, align 8 %181 = load float, ptr %29, align 4 %182 = call float @llvm.fmuladd.f32(float %180, float %181, float %178) %183 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3 %184 = load float, ptr %183, align 4 %185 = load float, ptr %24, align 4 %186 = call float @llvm.fmuladd.f32(float %184, float %185, float %182) %187 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4 %188 = load float, ptr %187, align 16 %189 = load float, ptr %26, align 4 %190 = call float @llvm.fmuladd.f32(float %188, float %189, float %186) %191 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5 %192 = load float, ptr %191, align 4 %193 = load float, ptr %23, align 4 %194 = fmul float %192, %193 %195 = load float, ptr %27, align 4 %196 = call float @llvm.fmuladd.f32(float %194, float %195, float %190) %197 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6 %198 = load float, ptr %197, align 8 %199 = load float, ptr %25, align 4 %200 = fmul float %198, %199 %201 = load float, ptr %29, align 4 %202 = call float @llvm.fmuladd.f32(float %200, float %201, float %196) %203 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7 %204 = load float, ptr %203, align 4 %205 = load float, ptr %28, align 4 %206 = call float @llvm.fmuladd.f32(float %204, float %205, float %202) store float %206, ptr %31, align 4 %207 = load float, ptr %31, align 4 %208 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8 %209 = load float, ptr %208, align 16 %210 = load float, ptr %30, align 4 %211 = call float @llvm.fmuladd.f32(float %209, float %210, float %207) %212 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9 %213 = load float, ptr %212, align 4 %214 = load float, ptr %23, align 4 %215 = call float @llvm.fmuladd.f32(float %213, float %214, float %211) %216 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10 %217 = load float, ptr %216, align 8 %218 = load float, ptr %27, align 4 %219 = call float @llvm.fmuladd.f32(float %217, float %218, float %215) %220 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11 %221 = load float, ptr %220, align 4 %222 = load float, ptr %23, align 4 %223 = fmul float %221, %222 %224 = load float, ptr %25, align 4 %225 = fmul float %223, %224 %226 = load float, ptr %27, align 4 %227 = call float @llvm.fmuladd.f32(float %225, float %226, float %219) %228 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12 %229 = load float, ptr %228, align 16 %230 = load float, ptr %25, align 4 %231 = fmul float %229, %230 %232 = load float, ptr %28, align 4 %233 = call float @llvm.fmuladd.f32(float %231, float %232, float %227) %234 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13 %235 = load float, ptr %234, align 4 %236 = load float, ptr %28, align 4 %237 = fmul float %235, %236 %238 = load float, ptr %30, align 4 %239 = call float @llvm.fmuladd.f32(float %237, float %238, float %233) %240 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14 %241 = load float, ptr %240, align 8 %242 = load float, ptr %24, align 4 %243 = fmul float %241, %242 %244 = load float, ptr %29, align 4 %245 = call float @llvm.fmuladd.f32(float %243, float %244, float %239) %246 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15 %247 = load float, ptr %246, align 4 %248 = load float, ptr %23, align 4 %249 = fmul float %247, %248 %250 = load float, ptr %27, align 4 %251 = fmul float %249, %250 %252 = load float, ptr %29, align 4 %253 = call float @llvm.fmuladd.f32(float %251, float %252, float %245) %254 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16 %255 = load float, ptr %254, align 16 %256 = load float, ptr %28, align 4 %257 = fmul float %255, %256 %258 = load float, ptr %29, align 4 %259 = call float @llvm.fmuladd.f32(float %257, float %258, float %253) store float %259, ptr %31, align 4 %260 = load float, ptr %31, align 4 %261 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17 %262 = load float, ptr %261, align 4 %263 = load float, ptr %24, align 4 %264 = fmul float %262, %263 %265 = load float, ptr %26, align 4 %266 = call float @llvm.fmuladd.f32(float %264, float %265, float %260) %267 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18 %268 = load float, ptr %267, align 8 %269 = load float, ptr %23, align 4 %270 = fmul float %268, %269 %271 = load float, ptr %25, align 4 %272 = fmul float %270, %271 %273 = load float, ptr %27, align 4 %274 = fmul float %272, %273 %275 = load float, ptr %29, align 4 %276 = call float @llvm.fmuladd.f32(float %274, float %275, float %266) %277 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19 %278 = load float, ptr %277, align 4 %279 = load float, ptr %26, align 4 %280 = fmul float %278, %279 %281 = load float, ptr %29, align 4 %282 = call float @llvm.fmuladd.f32(float %280, float %281, float %276) store float %282, ptr %31, align 4 %283 = load float, ptr %16, align 4 %284 = fadd float 0.000000e+00, %283 %285 = load float, ptr %18, align 4 %286 = fadd float %284, %285 %287 = load float, ptr %20, align 4 %288 = fadd float %286, %287 %289 = load float, ptr %22, align 4 %290 = fadd float %288, %289 store float %290, ptr %32, align 4 %291 = load float, ptr %32, align 4 %292 = fcmp oeq float %291, 0.000000e+00 br i1 %292, label %293, label %294 293: ; preds = %82 br label %504 294: ; preds = %82 %295 = load float, ptr %16, align 4 %296 = load float, ptr %16, align 4 %297 = fmul float %295, %296 %298 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3 %299 = load float, ptr %298, align 4 %300 = fmul float 2.000000e+00, %299 %301 = load float, ptr %23, align 4 %302 = call float @llvm.fmuladd.f32(float %300, float %301, float 0.000000e+00) %303 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5 %304 = load float, ptr %303, align 4 %305 = load float, ptr %27, align 4 %306 = call float @llvm.fmuladd.f32(float %304, float %305, float %302) %307 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9 %308 = load float, ptr %307, align 4 %309 = fadd float %306, %308 %310 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11 %311 = load float, ptr %310, align 4 %312 = load float, ptr %25, align 4 %313 = fmul float %311, %312 %314 = load float, ptr %27, align 4 %315 = call float @llvm.fmuladd.f32(float %313, float %314, float %309) %316 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14 %317 = load float, ptr %316, align 8 %318 = fmul float 2.000000e+00, %317 %319 = load float, ptr %23, align 4 %320 = fmul float %318, %319 %321 = load float, ptr %29, align 4 %322 = call float @llvm.fmuladd.f32(float %320, float %321, float %315) %323 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15 %324 = load float, ptr %323, align 4 %325 = load float, ptr %27, align 4 %326 = fmul float %324, %325 %327 = load float, ptr %29, align 4 %328 = call float @llvm.fmuladd.f32(float %326, float %327, float %322) %329 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17 %330 = load float, ptr %329, align 4 %331 = fmul float 2.000000e+00, %330 %332 = load float, ptr %23, align 4 %333 = fmul float %331, %332 %334 = load float, ptr %26, align 4 %335 = call float @llvm.fmuladd.f32(float %333, float %334, float %328) %336 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18 %337 = load float, ptr %336, align 8 %338 = load float, ptr %25, align 4 %339 = fmul float %337, %338 %340 = load float, ptr %27, align 4 %341 = fmul float %339, %340 %342 = load float, ptr %29, align 4 %343 = call float @llvm.fmuladd.f32(float %341, float %342, float %335) %344 = call float @pow(float noundef %343, i32 noundef 2) %345 = load float, ptr %18, align 4 %346 = load float, ptr %18, align 4 %347 = fmul float %345, %346 %348 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1 %349 = load float, ptr %348, align 4 %350 = fadd float 0.000000e+00, %349 %351 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4 %352 = load float, ptr %351, align 16 %353 = fmul float 2.000000e+00, %352 %354 = load float, ptr %25, align 4 %355 = call float @llvm.fmuladd.f32(float %353, float %354, float %350) %356 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6 %357 = load float, ptr %356, align 8 %358 = load float, ptr %29, align 4 %359 = call float @llvm.fmuladd.f32(float %357, float %358, float %355) %360 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11 %361 = load float, ptr %360, align 4 %362 = load float, ptr %23, align 4 %363 = fmul float %361, %362 %364 = load float, ptr %27, align 4 %365 = call float @llvm.fmuladd.f32(float %363, float %364, float %359) %366 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12 %367 = load float, ptr %366, align 16 %368 = load float, ptr %28, align 4 %369 = call float @llvm.fmuladd.f32(float %367, float %368, float %365) %370 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17 %371 = load float, ptr %370, align 4 %372 = fmul float 2.000000e+00, %371 %373 = load float, ptr %25, align 4 %374 = fmul float %372, %373 %375 = load float, ptr %24, align 4 %376 = call float @llvm.fmuladd.f32(float %374, float %375, float %369) %377 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18 %378 = load float, ptr %377, align 8 %379 = load float, ptr %23, align 4 %380 = fmul float %378, %379 %381 = load float, ptr %27, align 4 %382 = fmul float %380, %381 %383 = load float, ptr %29, align 4 %384 = call float @llvm.fmuladd.f32(float %382, float %383, float %376) %385 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19 %386 = load float, ptr %385, align 4 %387 = fmul float 2.000000e+00, %386 %388 = load float, ptr %25, align 4 %389 = fmul float %387, %388 %390 = load float, ptr %29, align 4 %391 = call float @llvm.fmuladd.f32(float %389, float %390, float %384) %392 = call float @pow(float noundef %391, i32 noundef 2) %393 = fmul float %347, %392 %394 = call float @llvm.fmuladd.f32(float %297, float %344, float %393) %395 = load float, ptr %20, align 4 %396 = load float, ptr %20, align 4 %397 = fmul float %395, %396 %398 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5 %399 = load float, ptr %398, align 4 %400 = load float, ptr %23, align 4 %401 = call float @llvm.fmuladd.f32(float %399, float %400, float 0.000000e+00) %402 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7 %403 = load float, ptr %402, align 4 %404 = fmul float 2.000000e+00, %403 %405 = load float, ptr %27, align 4 %406 = call float @llvm.fmuladd.f32(float %404, float %405, float %401) %407 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10 %408 = load float, ptr %407, align 8 %409 = fadd float %406, %408 %410 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11 %411 = load float, ptr %410, align 4 %412 = load float, ptr %23, align 4 %413 = fmul float %411, %412 %414 = load float, ptr %25, align 4 %415 = call float @llvm.fmuladd.f32(float %413, float %414, float %409) %416 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12 %417 = load float, ptr %416, align 16 %418 = fmul float 2.000000e+00, %417 %419 = load float, ptr %27, align 4 %420 = fmul float %418, %419 %421 = load float, ptr %25, align 4 %422 = call float @llvm.fmuladd.f32(float %420, float %421, float %415) %423 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13 %424 = load float, ptr %423, align 4 %425 = fmul float 2.000000e+00, %424 %426 = load float, ptr %27, align 4 %427 = fmul float %425, %426 %428 = load float, ptr %30, align 4 %429 = call float @llvm.fmuladd.f32(float %427, float %428, float %422) %430 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15 %431 = load float, ptr %430, align 4 %432 = load float, ptr %23, align 4 %433 = fmul float %431, %432 %434 = load float, ptr %29, align 4 %435 = call float @llvm.fmuladd.f32(float %433, float %434, float %429) %436 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16 %437 = load float, ptr %436, align 16 %438 = fmul float 2.000000e+00, %437 %439 = load float, ptr %27, align 4 %440 = fmul float %438, %439 %441 = load float, ptr %29, align 4 %442 = call float @llvm.fmuladd.f32(float %440, float %441, float %435) %443 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18 %444 = load float, ptr %443, align 8 %445 = load float, ptr %23, align 4 %446 = fmul float %444, %445 %447 = load float, ptr %25, align 4 %448 = fmul float %446, %447 %449 = load float, ptr %29, align 4 %450 = call float @llvm.fmuladd.f32(float %448, float %449, float %442) %451 = call float @pow(float noundef %450, i32 noundef 2) %452 = call float @llvm.fmuladd.f32(float %397, float %451, float %394) %453 = load float, ptr %22, align 4 %454 = load float, ptr %22, align 4 %455 = fmul float %453, %454 %456 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2 %457 = load float, ptr %456, align 8 %458 = fadd float 0.000000e+00, %457 %459 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6 %460 = load float, ptr %459, align 8 %461 = load float, ptr %25, align 4 %462 = call float @llvm.fmuladd.f32(float %460, float %461, float %458) %463 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8 %464 = load float, ptr %463, align 16 %465 = fmul float 2.000000e+00, %464 %466 = load float, ptr %29, align 4 %467 = call float @llvm.fmuladd.f32(float %465, float %466, float %462) %468 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13 %469 = load float, ptr %468, align 4 %470 = fmul float 2.000000e+00, %469 %471 = load float, ptr %29, align 4 %472 = fmul float %470, %471 %473 = load float, ptr %28, align 4 %474 = call float @llvm.fmuladd.f32(float %472, float %473, float %467) %475 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14 %476 = load float, ptr %475, align 8 %477 = load float, ptr %24, align 4 %478 = call float @llvm.fmuladd.f32(float %476, float %477, float %474) %479 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15 %480 = load float, ptr %479, align 4 %481 = load float, ptr %23, align 4 %482 = fmul float %480, %481 %483 = load float, ptr %27, align 4 %484 = call float @llvm.fmuladd.f32(float %482, float %483, float %478) %485 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16 %486 = load float, ptr %485, align 16 %487 = load float, ptr %28, align 4 %488 = call float @llvm.fmuladd.f32(float %486, float %487, float %484) %489 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18 %490 = load float, ptr %489, align 8 %491 = load float, ptr %23, align 4 %492 = fmul float %490, %491 %493 = load float, ptr %25, align 4 %494 = fmul float %492, %493 %495 = load float, ptr %27, align 4 %496 = call float @llvm.fmuladd.f32(float %494, float %495, float %488) %497 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19 %498 = load float, ptr %497, align 4 %499 = load float, ptr %26, align 4 %500 = call float @llvm.fmuladd.f32(float %498, float %499, float %496) %501 = call float @pow(float noundef %500, i32 noundef 2) %502 = call float @llvm.fmuladd.f32(float %455, float %501, float %452) %503 = call float @sqrt(float noundef %502) br label %504 504: ; preds = %294, %293 %505 = phi float [ 0.000000e+00, %293 ], [ %503, %294 ] store float %505, ptr %33, align 4 %506 = load float, ptr %33, align 4 %507 = load ptr, ptr %5, align 8 %508 = getelementptr inbounds float, ptr %507, i64 0 store float %506, ptr %508, align 4 %509 = load float, ptr %31, align 4 ret float %509 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare float @sqrt(float noundef) #4 declare float @pow(float noundef, i32 noundef) #4 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpjv8bszb_.c' source_filename = "/tmp/tmpjv8bszb_.c" target datalayout = "e-m:e-p270: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/tmpjv8bszb_.c" target datalayout = "e-m:e-p270: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/tmp8t0p03f8.c' source_filename = "/tmp/tmp8t0p03f8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage : %s <test>\0A\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c" Where <test> is one of the following:\0A\00", align 1 @.str.2 = private unnamed_addr constant [50 x i8] c" g721 - test G721 encoder and decoder\0A\00", align 1 @.str.3 = private unnamed_addr constant [50 x i8] c" g723 - test G721 encoder and decoder\0A\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c" all - perform all tests\0A\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"all\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"g721\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"g723\00", align 1 @.str.8 = private unnamed_addr constant [45 x i8] c"Mono : ************************************\0A\00", align 1 @.str.9 = private unnamed_addr constant [33 x i8] c"Mono : * No '%s' test defined.\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 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 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %20 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i32 @strcmp(ptr noundef %23, ptr noundef @.str.5) %25 = icmp ne i32 %24, 0 %26 = xor i1 %25, true %27 = zext i1 %26 to i32 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %36, label %30 30: ; preds = %20 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 1 %33 = load ptr, ptr %32, align 8 %34 = call i32 @strcmp(ptr noundef %33, ptr noundef @.str.6) %35 = icmp ne i32 %34, 0 br i1 %35, label %40, label %36 36: ; preds = %30, %20 %37 = call i32 (...) @g721_test() %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %40 40: ; preds = %36, %30 %41 = load i32, ptr %6, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %49, label %43 43: ; preds = %40 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 1 %46 = load ptr, ptr %45, align 8 %47 = call i32 @strcmp(ptr noundef %46, ptr noundef @.str.7) %48 = icmp ne i32 %47, 0 br i1 %48, label %53, label %49 49: ; preds = %43, %40 %50 = call i32 @g723_test(double noundef 5.300000e-01) %51 = load i32, ptr %7, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %7, align 4 br label %53 53: ; preds = %49, %43 %54 = load i32, ptr %7, align 4 %55 = icmp eq i32 %54, 0 br i1 %55, label %56, label %63 56: ; preds = %53 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds ptr, ptr %58, i64 1 %60 = load ptr, ptr %59, align 8 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %60) %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 1, ptr %3, align 4 br label %64 63: ; preds = %53 store i32 0, ptr %3, align 4 br label %64 64: ; preds = %63, %56 %65 = load i32, ptr %3, align 4 ret i32 %65 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @g721_test(...) #1 declare i32 @g723_test(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" } 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/tmp8t0p03f8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage : %s <test>\0A\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c" Where <test> is one of the following:\0A\00", align 1 @.str.2 = private unnamed_addr constant [50 x i8] c" g721 - test G721 encoder and decoder\0A\00", align 1 @.str.3 = private unnamed_addr constant [50 x i8] c" g723 - test G721 encoder and decoder\0A\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c" all - perform all tests\0A\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"all\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"g721\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"g723\00", align 1 @.str.8 = private unnamed_addr constant [45 x i8] c"Mono : ************************************\0A\00", align 1 @.str.9 = private unnamed_addr constant [33 x i8] c"Mono : * No '%s' test defined.\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 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 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %20 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i32 @strcmp(ptr noundef %23, ptr noundef @.str.5) %25 = icmp ne i32 %24, 0 %26 = xor i1 %25, true %27 = zext i1 %26 to i32 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %36, label %30 30: ; preds = %20 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 1 %33 = load ptr, ptr %32, align 8 %34 = call i32 @strcmp(ptr noundef %33, ptr noundef @.str.6) %35 = icmp ne i32 %34, 0 br i1 %35, label %40, label %36 36: ; preds = %30, %20 %37 = call i32 (...) @g721_test() %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %40 40: ; preds = %36, %30 %41 = load i32, ptr %6, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %49, label %43 43: ; preds = %40 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 1 %46 = load ptr, ptr %45, align 8 %47 = call i32 @strcmp(ptr noundef %46, ptr noundef @.str.7) %48 = icmp ne i32 %47, 0 br i1 %48, label %53, label %49 49: ; preds = %43, %40 %50 = call i32 @g723_test(double noundef 5.300000e-01) %51 = load i32, ptr %7, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %7, align 4 br label %53 53: ; preds = %49, %43 %54 = load i32, ptr %7, align 4 %55 = icmp eq i32 %54, 0 br i1 %55, label %56, label %63 56: ; preds = %53 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds ptr, ptr %58, i64 1 %60 = load ptr, ptr %59, align 8 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %60) %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 1, ptr %3, align 4 br label %64 63: ; preds = %53 store i32 0, ptr %3, align 4 br label %64 64: ; preds = %63, %56 %65 = load i32, ptr %3, align 4 ret i32 %65 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @g721_test(...) #1 declare i32 @g723_test(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" } 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/tmp2e0lk3sn.c' source_filename = "/tmp/tmp2e0lk3sn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @dAUX1bp3a(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @sinh(double noundef %3) #3 %5 = load double, ptr %2, align 8 %6 = load double, ptr %2, align 8 %7 = call double @cosh(double noundef %6) #3 %8 = fneg double %5 %9 = call double @llvm.fmuladd.f64(double %8, double %7, double %4) %10 = load double, ptr %2, align 8 %11 = call double @sinh(double noundef %10) #3 %12 = load double, ptr %2, align 8 %13 = call double @sinh(double noundef %12) #3 %14 = fmul double %11, %13 %15 = fdiv double %9, %14 ret double %15 } ; Function Attrs: nounwind declare double @sinh(double noundef) #1 ; Function Attrs: nounwind declare double @cosh(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2e0lk3sn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @dAUX1bp3a(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @sinh(double noundef %3) #3 %5 = load double, ptr %2, align 8 %6 = load double, ptr %2, align 8 %7 = call double @cosh(double noundef %6) #3 %8 = fneg double %5 %9 = call double @llvm.fmuladd.f64(double %8, double %7, double %4) %10 = load double, ptr %2, align 8 %11 = call double @sinh(double noundef %10) #3 %12 = load double, ptr %2, align 8 %13 = call double @sinh(double noundef %12) #3 %14 = fmul double %11, %13 %15 = fdiv double %9, %14 ret double %15 } ; Function Attrs: nounwind declare double @sinh(double noundef) #1 ; Function Attrs: nounwind declare double @cosh(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc91cj5_s.c' source_filename = "/tmp/tmpc91cj5_s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @merge_sort(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 %28 11: ; preds = %3 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %5, align 4 %14 = add nsw i32 %12, %13 %15 = sdiv i32 %14, 2 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 call void @merge_sort(ptr noundef %16, i32 noundef %17, i32 noundef %18) %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, 1 %22 = load i32, ptr %6, align 4 call void @merge_sort(ptr noundef %19, i32 noundef %21, i32 noundef %22) %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %6, align 4 %27 = call i32 @merge(ptr noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26) br label %28 28: ; preds = %11, %3 ret void } declare i32 @merge(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/tmpc91cj5_s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @merge_sort(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 %28 11: ; preds = %3 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %5, align 4 %14 = add nsw i32 %12, %13 %15 = sdiv i32 %14, 2 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 call void @merge_sort(ptr noundef %16, i32 noundef %17, i32 noundef %18) %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, 1 %22 = load i32, ptr %6, align 4 call void @merge_sort(ptr noundef %19, i32 noundef %21, i32 noundef %22) %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %6, align 4 %27 = call i32 @merge(ptr noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26) br label %28 28: ; preds = %11, %3 ret void } declare i32 @merge(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/tmpx_k498l2.c' source_filename = "/tmp/tmpx_k498l2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [7 x i8] c"Jolly\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"Not jolly\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 store i32 0, ptr %1, align 4 br label %7 7: ; preds = %104, %0 %8 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %9 = load i64, ptr @EOF, align 8 %10 = icmp ne i64 %8, %9 br i1 %10, label %11, label %107 11: ; preds = %7 %12 = load i32, ptr %2, align 4 %13 = sext i32 %12 to i64 %14 = mul i64 4, %13 %15 = trunc i64 %14 to i32 %16 = call i64 @malloc(i32 noundef %15) %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %3, align 8 %18 = load i32, ptr %2, align 4 %19 = sext i32 %18 to i64 %20 = mul i64 4, %19 %21 = trunc i64 %20 to i32 %22 = call i64 @malloc(i32 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %24 24: ; preds = %33, %11 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %36 28: ; preds = %24 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 store i32 0, ptr %32, align 4 br label %33 33: ; preds = %28 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 br label %24, !llvm.loop !6 36: ; preds = %24 store i32 0, ptr %5, align 4 br label %37 37: ; preds = %47, %36 %38 = load i32, ptr %5, align 4 %39 = load i32, ptr %2, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %50 41: ; preds = %37 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 %46 = call i64 @scanf(ptr noundef @.str, ptr noundef %45) br label %47 47: ; preds = %41 %48 = load i32, ptr %5, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %5, align 4 br label %37, !llvm.loop !8 50: ; preds = %37 store i32 0, ptr %5, align 4 br label %51 51: ; preds = %92, %50 %52 = load i32, ptr %5, align 4 %53 = load i32, ptr %2, align 4 %54 = sub nsw i32 %53, 1 %55 = icmp slt i32 %52, %54 br i1 %55, label %56, label %95 56: ; preds = %51 %57 = load ptr, ptr %3, align 8 %58 = load i32, ptr %5, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 %61 = load i32, ptr %60, align 4 %62 = load ptr, ptr %3, align 8 %63 = load i32, ptr %5, align 4 %64 = add nsw i32 %63, 1 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %62, i64 %65 %67 = load i32, ptr %66, align 4 %68 = sub nsw i32 %61, %67 %69 = call i32 @abs(i32 noundef %68) #3 store i32 %69, ptr %6, align 4 %70 = load i32, ptr %6, align 4 %71 = load i32, ptr %2, align 4 %72 = icmp sge i32 %70, %71 br i1 %72, label %76, label %73 73: ; preds = %56 %74 = load i32, ptr %6, align 4 %75 = icmp eq i32 %74, 0 br i1 %75, label %76, label %77 76: ; preds = %73, %56 br label %95 77: ; preds = %73 %78 = load ptr, ptr %4, align 8 %79 = load i32, ptr %6, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %78, i64 %80 %82 = load i32, ptr %81, align 4 %83 = icmp eq i32 %82, 0 br i1 %83, label %84, label %90 84: ; preds = %77 %85 = load i32, ptr %6, align 4 %86 = load ptr, ptr %4, align 8 %87 = load i32, ptr %6, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %86, i64 %88 store i32 %85, ptr %89, align 4 br label %91 90: ; preds = %77 br label %95 91: ; preds = %84 br label %92 92: ; preds = %91 %93 = load i32, ptr %5, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %5, align 4 br label %51, !llvm.loop !9 95: ; preds = %90, %76, %51 %96 = load i32, ptr %5, align 4 %97 = load i32, ptr %2, align 4 %98 = sub nsw i32 %97, 1 %99 = icmp slt i32 %96, %98 br i1 %99, label %102, label %100 100: ; preds = %95 %101 = call i32 @printf(ptr noundef @.str.1) br label %104 102: ; preds = %95 %103 = call i32 @printf(ptr noundef @.str.2) br label %104 104: ; preds = %102, %100 %105 = load ptr, ptr %3, align 8 %106 = call i32 @free(ptr noundef %105) br label %7, !llvm.loop !10 107: ; preds = %7 %108 = load i32, ptr %1, align 4 ret i32 %108 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #2 declare i32 @printf(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx_k498l2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [7 x i8] c"Jolly\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"Not jolly\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 store i32 0, ptr %1, align 4 %7 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %8 = load i64, ptr @EOF, align 8 %9 = icmp ne i64 %7, %8 br i1 %9, label %.lr.ph7, label %116 .lr.ph7: ; preds = %0 br label %10 10: ; preds = %.lr.ph7, %110 %11 = load i32, ptr %2, align 4 %12 = sext i32 %11 to i64 %13 = mul i64 4, %12 %14 = trunc i64 %13 to i32 %15 = call i64 @malloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %3, align 8 %17 = load i32, ptr %2, align 4 %18 = sext i32 %17 to i64 %19 = mul i64 4, %18 %20 = trunc i64 %19 to i32 %21 = call i64 @malloc(i32 noundef %20) %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %4, align 8 store i32 0, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph, label %37 .lr.ph: ; preds = %10 br label %26 26: ; preds = %.lr.ph, %31 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 store i32 0, ptr %30, align 4 br label %31 31: ; preds = %26 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = load i32, ptr %2, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %10 store i32 0, ptr %5, align 4 %38 = load i32, ptr %5, align 4 %39 = load i32, ptr %2, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %.lr.ph2, label %53 .lr.ph2: ; preds = %37 br label %41 41: ; preds = %.lr.ph2, %47 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 %46 = call i64 @scanf(ptr noundef @.str, ptr noundef %45) br label %47 47: ; preds = %41 %48 = load i32, ptr %5, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %5, align 4 %50 = load i32, ptr %5, align 4 %51 = load i32, ptr %2, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %41, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %47 br label %53 53: ; preds = %._crit_edge3, %37 store i32 0, ptr %5, align 4 %54 = load i32, ptr %5, align 4 %55 = load i32, ptr %2, align 4 %56 = sub nsw i32 %55, 1 %57 = icmp slt i32 %54, %56 br i1 %57, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %53 br label %58 58: ; preds = %.lr.ph5, %94 %59 = load ptr, ptr %3, align 8 %60 = load i32, ptr %5, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 %63 = load i32, ptr %62, align 4 %64 = load ptr, ptr %3, align 8 %65 = load i32, ptr %5, align 4 %66 = add nsw i32 %65, 1 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %64, i64 %67 %69 = load i32, ptr %68, align 4 %70 = sub nsw i32 %63, %69 %71 = call i32 @abs(i32 noundef %70) #3 store i32 %71, ptr %6, align 4 %72 = load i32, ptr %6, align 4 %73 = load i32, ptr %2, align 4 %74 = icmp sge i32 %72, %73 br i1 %74, label %78, label %75 75: ; preds = %58 %76 = load i32, ptr %6, align 4 %77 = icmp eq i32 %76, 0 br i1 %77, label %78, label %79 78: ; preds = %75, %58 br label %101 79: ; preds = %75 %80 = load ptr, ptr %4, align 8 %81 = load i32, ptr %6, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %80, i64 %82 %84 = load i32, ptr %83, align 4 %85 = icmp eq i32 %84, 0 br i1 %85, label %86, label %92 86: ; preds = %79 %87 = load i32, ptr %6, align 4 %88 = load ptr, ptr %4, align 8 %89 = load i32, ptr %6, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %88, i64 %90 store i32 %87, ptr %91, align 4 br label %93 92: ; preds = %79 br label %101 93: ; preds = %86 br label %94 94: ; preds = %93 %95 = load i32, ptr %5, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %5, align 4 %97 = load i32, ptr %5, align 4 %98 = load i32, ptr %2, align 4 %99 = sub nsw i32 %98, 1 %100 = icmp slt i32 %97, %99 br i1 %100, label %58, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %94 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %53 br label %101 101: ; preds = %.loopexit, %92, %78 %102 = load i32, ptr %5, align 4 %103 = load i32, ptr %2, align 4 %104 = sub nsw i32 %103, 1 %105 = icmp slt i32 %102, %104 br i1 %105, label %108, label %106 106: ; preds = %101 %107 = call i32 @printf(ptr noundef @.str.1) br label %110 108: ; preds = %101 %109 = call i32 @printf(ptr noundef @.str.2) br label %110 110: ; preds = %108, %106 %111 = load ptr, ptr %3, align 8 %112 = call i32 @free(ptr noundef %111) %113 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %114 = load i64, ptr @EOF, align 8 %115 = icmp ne i64 %113, %114 br i1 %115, label %10, label %._crit_edge8, !llvm.loop !10 ._crit_edge8: ; preds = %110 br label %116 116: ; preds = %._crit_edge8, %0 %117 = load i32, ptr %1, align 4 ret i32 %117 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #2 declare i32 @printf(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp9x5_23x3.c' source_filename = "/tmp/tmp9x5_23x3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hdlc_set_uint16_low_first(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = and i32 %5, 255 %7 = zext i32 %6 to i64 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i64, ptr %8, i64 0 store i64 %7, ptr %9, align 8 %10 = load i32, ptr %4, align 4 %11 = ashr i32 %10, 8 %12 = and i32 %11, 255 %13 = zext i32 %12 to i64 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i64, ptr %14, i64 1 store i64 %13, ptr %15, 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/tmp9x5_23x3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hdlc_set_uint16_low_first(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = and i32 %5, 255 %7 = zext i32 %6 to i64 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i64, ptr %8, i64 0 store i64 %7, ptr %9, align 8 %10 = load i32, ptr %4, align 4 %11 = ashr i32 %10, 8 %12 = and i32 %11, 255 %13 = zext i32 %12 to i64 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i64, ptr %14, i64 1 store i64 %13, ptr %15, 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/tmpfrwkxnm4.c' source_filename = "/tmp/tmpfrwkxnm4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [35 x i32], align 16 %3 = alloca [35 x i32], align 16 %4 = alloca [35 x i32], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 %10 = getelementptr inbounds [35 x i32], ptr %2, i64 0, i64 0 store i32 0, ptr %10, align 16 %11 = getelementptr inbounds [35 x i32], ptr %3, i64 0, i64 0 store i32 0, ptr %11, align 16 %12 = getelementptr inbounds [35 x i32], ptr %4, i64 0, i64 0 store i32 0, ptr %12, align 16 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %13 = getelementptr inbounds [35 x i32], ptr %2, i64 0, i64 0 %14 = call i32 @acceptArray(ptr noundef %13, ptr noundef %5) %15 = getelementptr inbounds [35 x i32], ptr %2, i64 0, i64 0 %16 = call i32 @sortArray(ptr noundef %15, ptr noundef %5) %17 = getelementptr inbounds [35 x i32], ptr %2, i64 0, i64 0 %18 = getelementptr inbounds [35 x i32], ptr %3, i64 0, i64 0 %19 = getelementptr inbounds [35 x i32], ptr %4, i64 0, i64 0 %20 = call i32 @separateData(ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %5, ptr noundef %6, ptr noundef %7) %21 = getelementptr inbounds [35 x i32], ptr %2, i64 0, i64 0 %22 = call i32 @convertToPrime(ptr noundef %21, ptr noundef %5) %23 = getelementptr inbounds [35 x i32], ptr %2, i64 0, i64 0 %24 = call i32 @findDuplicates(ptr noundef %23, ptr noundef %5, ptr noundef %8) %25 = getelementptr inbounds [35 x i32], ptr %2, i64 0, i64 0 %26 = call i32 @checkSort(ptr noundef %25, ptr noundef %5, ptr noundef %9) %27 = getelementptr inbounds [35 x i32], ptr %3, i64 0, i64 0 %28 = call i32 @sortArray(ptr noundef %27, ptr noundef %6) %29 = getelementptr inbounds [35 x i32], ptr %4, i64 0, i64 0 %30 = call i32 @sortArray(ptr noundef %29, ptr noundef %7) %31 = getelementptr inbounds [35 x i32], ptr %2, i64 0, i64 0 %32 = getelementptr inbounds [35 x i32], ptr %3, i64 0, i64 0 %33 = getelementptr inbounds [35 x i32], ptr %4, i64 0, i64 0 %34 = call i32 @printResults(ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) ret i32 0 } declare i32 @acceptArray(ptr noundef, ptr noundef) #1 declare i32 @sortArray(ptr noundef, ptr noundef) #1 declare i32 @separateData(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @convertToPrime(ptr noundef, ptr noundef) #1 declare i32 @findDuplicates(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @checkSort(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printResults(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfrwkxnm4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [35 x i32], align 16 %3 = alloca [35 x i32], align 16 %4 = alloca [35 x i32], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 %10 = getelementptr inbounds [35 x i32], ptr %2, i64 0, i64 0 store i32 0, ptr %10, align 16 %11 = getelementptr inbounds [35 x i32], ptr %3, i64 0, i64 0 store i32 0, ptr %11, align 16 %12 = getelementptr inbounds [35 x i32], ptr %4, i64 0, i64 0 store i32 0, ptr %12, align 16 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %13 = getelementptr inbounds [35 x i32], ptr %2, i64 0, i64 0 %14 = call i32 @acceptArray(ptr noundef %13, ptr noundef %5) %15 = getelementptr inbounds [35 x i32], ptr %2, i64 0, i64 0 %16 = call i32 @sortArray(ptr noundef %15, ptr noundef %5) %17 = getelementptr inbounds [35 x i32], ptr %2, i64 0, i64 0 %18 = getelementptr inbounds [35 x i32], ptr %3, i64 0, i64 0 %19 = getelementptr inbounds [35 x i32], ptr %4, i64 0, i64 0 %20 = call i32 @separateData(ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %5, ptr noundef %6, ptr noundef %7) %21 = getelementptr inbounds [35 x i32], ptr %2, i64 0, i64 0 %22 = call i32 @convertToPrime(ptr noundef %21, ptr noundef %5) %23 = getelementptr inbounds [35 x i32], ptr %2, i64 0, i64 0 %24 = call i32 @findDuplicates(ptr noundef %23, ptr noundef %5, ptr noundef %8) %25 = getelementptr inbounds [35 x i32], ptr %2, i64 0, i64 0 %26 = call i32 @checkSort(ptr noundef %25, ptr noundef %5, ptr noundef %9) %27 = getelementptr inbounds [35 x i32], ptr %3, i64 0, i64 0 %28 = call i32 @sortArray(ptr noundef %27, ptr noundef %6) %29 = getelementptr inbounds [35 x i32], ptr %4, i64 0, i64 0 %30 = call i32 @sortArray(ptr noundef %29, ptr noundef %7) %31 = getelementptr inbounds [35 x i32], ptr %2, i64 0, i64 0 %32 = getelementptr inbounds [35 x i32], ptr %3, i64 0, i64 0 %33 = getelementptr inbounds [35 x i32], ptr %4, i64 0, i64 0 %34 = call i32 @printResults(ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) ret i32 0 } declare i32 @acceptArray(ptr noundef, ptr noundef) #1 declare i32 @sortArray(ptr noundef, ptr noundef) #1 declare i32 @separateData(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @convertToPrime(ptr noundef, ptr noundef) #1 declare i32 @findDuplicates(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @checkSort(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printResults(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnyya5cu4.c' source_filename = "/tmp/tmpnyya5cu4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @pre2dec(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [3 x i32], align 4 %12 = alloca [3 x i32], align 4 %13 = alloca [3 x i32], align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca double, align 8 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %18 = load i32, ptr %6, align 4 %19 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 0 store i32 %18, ptr %19, align 4 %20 = load i32, ptr %7, align 4 %21 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 1 store i32 %20, ptr %21, align 4 %22 = load i32, ptr %8, align 4 %23 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 2 store i32 %22, ptr %23, align 4 %24 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 0 store i32 16, ptr %24, align 4 %25 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 1 store i32 15, ptr %25, align 4 %26 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 2 store i32 13, ptr %26, align 4 %27 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 1 %28 = load i32, ptr %27, align 4 %29 = mul nsw i32 1, %28 %30 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 2 %31 = load i32, ptr %30, align 4 %32 = mul nsw i32 %29, %31 %33 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 0 store i32 %32, ptr %33, align 4 %34 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 0 %35 = load i32, ptr %34, align 4 %36 = mul nsw i32 1, %35 %37 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 2 %38 = load i32, ptr %37, align 4 %39 = mul nsw i32 %36, %38 %40 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 1 store i32 %39, ptr %40, align 4 %41 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 0 %42 = load i32, ptr %41, align 4 %43 = mul nsw i32 1, %42 %44 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 1 %45 = load i32, ptr %44, align 4 %46 = mul nsw i32 %43, %45 %47 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 2 store i32 %46, ptr %47, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 store i32 0, ptr %15, align 4 br label %48 48: ; preds = %83, %5 %49 = load i32, ptr %15, align 4 %50 = icmp slt i32 %49, 3 br i1 %50, label %51, label %86 51: ; preds = %48 store i32 1, ptr %16, align 4 br label %52 52: ; preds = %66, %51 %53 = load i32, ptr %15, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 %54 %56 = load i32, ptr %55, align 4 %57 = load i32, ptr %16, align 4 %58 = mul nsw i32 %56, %57 %59 = load i32, ptr %15, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 %60 %62 = load i32, ptr %61, align 4 %63 = srem i32 %58, %62 %64 = icmp eq i32 %63, 1 %65 = xor i1 %64, true br i1 %65, label %66, label %69 66: ; preds = %52 %67 = load i32, ptr %16, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %16, align 4 br label %52, !llvm.loop !6 69: ; preds = %52 %70 = load i32, ptr %15, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 %71 %73 = load i32, ptr %72, align 4 %74 = load i32, ptr %16, align 4 %75 = mul nsw i32 %73, %74 %76 = load i32, ptr %15, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 %77 %79 = load i32, ptr %78, align 4 %80 = mul nsw i32 %75, %79 %81 = load i32, ptr %14, align 4 %82 = add nsw i32 %81, %80 store i32 %82, ptr %14, align 4 br label %83 83: ; preds = %69 %84 = load i32, ptr %15, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %15, align 4 br label %48, !llvm.loop !8 86: ; preds = %48 br label %87 87: ; preds = %98, %86 %88 = load i32, ptr %14, align 4 %89 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 0 %90 = load i32, ptr %89, align 4 %91 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 1 %92 = load i32, ptr %91, align 4 %93 = mul nsw i32 %90, %92 %94 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 2 %95 = load i32, ptr %94, align 4 %96 = mul nsw i32 %93, %95 %97 = icmp sgt i32 %88, %96 br i1 %97, label %98, label %109 98: ; preds = %87 %99 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 0 %100 = load i32, ptr %99, align 4 %101 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 1 %102 = load i32, ptr %101, align 4 %103 = mul nsw i32 %100, %102 %104 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 2 %105 = load i32, ptr %104, align 4 %106 = mul nsw i32 %103, %105 %107 = load i32, ptr %14, align 4 %108 = sub nsw i32 %107, %106 store i32 %108, ptr %14, align 4 br label %87, !llvm.loop !9 109: ; preds = %87 %110 = load i32, ptr %14, align 4 %111 = sitofp i32 %110 to double store double %111, ptr %17, align 8 %112 = load i32, ptr %9, align 4 %113 = sub nsw i32 0, %112 %114 = call double @pow(i32 noundef 10, i32 noundef %113) %115 = load double, ptr %17, align 8 %116 = fmul double %115, %114 store double %116, ptr %17, align 8 %117 = load i32, ptr %10, align 4 %118 = icmp eq i32 %117, 0 br i1 %118, label %119, label %122 119: ; preds = %109 %120 = load double, ptr %17, align 8 %121 = fneg double %120 store double %121, ptr %17, align 8 br label %122 122: ; preds = %119, %109 %123 = load double, ptr %17, align 8 ret double %123 } declare double @pow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpnyya5cu4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @pre2dec(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [3 x i32], align 4 %12 = alloca [3 x i32], align 4 %13 = alloca [3 x i32], align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca double, align 8 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %18 = load i32, ptr %6, align 4 %19 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 0 store i32 %18, ptr %19, align 4 %20 = load i32, ptr %7, align 4 %21 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 1 store i32 %20, ptr %21, align 4 %22 = load i32, ptr %8, align 4 %23 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 2 store i32 %22, ptr %23, align 4 %24 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 0 store i32 16, ptr %24, align 4 %25 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 1 store i32 15, ptr %25, align 4 %26 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 2 store i32 13, ptr %26, align 4 %27 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 1 %28 = load i32, ptr %27, align 4 %29 = mul nsw i32 1, %28 %30 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 2 %31 = load i32, ptr %30, align 4 %32 = mul nsw i32 %29, %31 %33 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 0 store i32 %32, ptr %33, align 4 %34 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 0 %35 = load i32, ptr %34, align 4 %36 = mul nsw i32 1, %35 %37 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 2 %38 = load i32, ptr %37, align 4 %39 = mul nsw i32 %36, %38 %40 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 1 store i32 %39, ptr %40, align 4 %41 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 0 %42 = load i32, ptr %41, align 4 %43 = mul nsw i32 1, %42 %44 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 1 %45 = load i32, ptr %44, align 4 %46 = mul nsw i32 %43, %45 %47 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 2 store i32 %46, ptr %47, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 store i32 0, ptr %15, align 4 %48 = load i32, ptr %15, align 4 %49 = icmp slt i32 %48, 3 br i1 %49, label %.lr.ph2, label %99 .lr.ph2: ; preds = %5 br label %50 50: ; preds = %.lr.ph2, %94 store i32 1, ptr %16, align 4 %51 = load i32, ptr %15, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 %52 %54 = load i32, ptr %53, align 4 %55 = load i32, ptr %16, align 4 %56 = mul nsw i32 %54, %55 %57 = load i32, ptr %15, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 %58 %60 = load i32, ptr %59, align 4 %61 = srem i32 %56, %60 %62 = icmp eq i32 %61, 1 %63 = xor i1 %62, true br i1 %63, label %.lr.ph, label %80 .lr.ph: ; preds = %50 br label %64 64: ; preds = %.lr.ph, %64 %65 = load i32, ptr %16, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %16, align 4 %67 = load i32, ptr %15, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 %68 %70 = load i32, ptr %69, align 4 %71 = load i32, ptr %16, align 4 %72 = mul nsw i32 %70, %71 %73 = load i32, ptr %15, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 %74 %76 = load i32, ptr %75, align 4 %77 = srem i32 %72, %76 %78 = icmp eq i32 %77, 1 %79 = xor i1 %78, true br i1 %79, label %64, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %64 br label %80 80: ; preds = %._crit_edge, %50 %81 = load i32, ptr %15, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 %82 %84 = load i32, ptr %83, align 4 %85 = load i32, ptr %16, align 4 %86 = mul nsw i32 %84, %85 %87 = load i32, ptr %15, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 %88 %90 = load i32, ptr %89, align 4 %91 = mul nsw i32 %86, %90 %92 = load i32, ptr %14, align 4 %93 = add nsw i32 %92, %91 store i32 %93, ptr %14, align 4 br label %94 94: ; preds = %80 %95 = load i32, ptr %15, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %15, align 4 %97 = load i32, ptr %15, align 4 %98 = icmp slt i32 %97, 3 br i1 %98, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %94 br label %99 99: ; preds = %._crit_edge3, %5 %100 = load i32, ptr %14, align 4 %101 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 0 %102 = load i32, ptr %101, align 4 %103 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 1 %104 = load i32, ptr %103, align 4 %105 = mul nsw i32 %102, %104 %106 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 2 %107 = load i32, ptr %106, align 4 %108 = mul nsw i32 %105, %107 %109 = icmp sgt i32 %100, %108 br i1 %109, label %.lr.ph5, label %128 .lr.ph5: ; preds = %99 br label %110 110: ; preds = %.lr.ph5, %110 %111 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 0 %112 = load i32, ptr %111, align 4 %113 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 1 %114 = load i32, ptr %113, align 4 %115 = mul nsw i32 %112, %114 %116 = getelementptr inbounds [3 x i32], ptr %12, i64 0, i64 2 %117 = load i32, ptr %116, align 4 %118 = mul nsw i32 %115, %117 %119 = load i32, ptr %14, align 4 %120 = sub nsw i32 %119, %118 store i32 %120, ptr %14, align 4 %121 = load i32, ptr %14, align 4 %122 = load i32, ptr %101, align 4 %123 = load i32, ptr %103, align 4 %124 = mul nsw i32 %122, %123 %125 = load i32, ptr %106, align 4 %126 = mul nsw i32 %124, %125 %127 = icmp sgt i32 %121, %126 br i1 %127, label %110, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %110 br label %128 128: ; preds = %._crit_edge6, %99 %129 = load i32, ptr %14, align 4 %130 = sitofp i32 %129 to double store double %130, ptr %17, align 8 %131 = load i32, ptr %9, align 4 %132 = sub nsw i32 0, %131 %133 = call double @pow(i32 noundef 10, i32 noundef %132) %134 = load double, ptr %17, align 8 %135 = fmul double %134, %133 store double %135, ptr %17, align 8 %136 = load i32, ptr %10, align 4 %137 = icmp eq i32 %136, 0 br i1 %137, label %138, label %141 138: ; preds = %128 %139 = load double, ptr %17, align 8 %140 = fneg double %139 store double %140, ptr %17, align 8 br label %141 141: ; preds = %138, %128 %142 = load double, ptr %17, align 8 ret double %142 } declare double @pow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpkw6rtwmy.c' source_filename = "/tmp/tmpkw6rtwmy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uex_memcpy_toio(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i64 0, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %8, align 8 br label %10 10: ; preds = %14, %3 %11 = load i64, ptr %7, align 8 %12 = load i64, ptr %6, align 8 %13 = icmp ult i64 %11, %12 br i1 %13, label %14, label %25 14: ; preds = %10 %15 = load ptr, ptr %8, align 8 %16 = load i64, ptr %7, align 8 %17 = getelementptr inbounds i32, ptr %15, i64 %16 %18 = load i32, ptr %17, align 4 %19 = load ptr, ptr %4, align 8 %20 = load i64, ptr %7, align 8 %21 = getelementptr i8, ptr %19, i64 %20 %22 = call i32 @uex_iowrite8(i32 noundef %18, ptr noundef %21) %23 = load i64, ptr %7, align 8 %24 = add i64 %23, 1 store i64 %24, ptr %7, align 8 br label %10, !llvm.loop !6 25: ; preds = %10 ret void } declare i32 @uex_iowrite8(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkw6rtwmy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uex_memcpy_toio(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i64 0, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %8, align 8 %10 = load i64, ptr %7, align 8 %11 = load i64, ptr %6, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %.lr.ph, label %27 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %13 %14 = load ptr, ptr %8, align 8 %15 = load i64, ptr %7, align 8 %16 = getelementptr inbounds i32, ptr %14, i64 %15 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %4, align 8 %19 = load i64, ptr %7, align 8 %20 = getelementptr i8, ptr %18, i64 %19 %21 = call i32 @uex_iowrite8(i32 noundef %17, ptr noundef %20) %22 = load i64, ptr %7, align 8 %23 = add i64 %22, 1 store i64 %23, ptr %7, align 8 %24 = load i64, ptr %7, align 8 %25 = load i64, ptr %6, align 8 %26 = icmp ult i64 %24, %25 br i1 %26, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %27 27: ; preds = %._crit_edge, %3 ret void } declare i32 @uex_iowrite8(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpz34nvs9a.c' source_filename = "/tmp/tmpz34nvs9a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz34nvs9a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeudr_ufa.c' source_filename = "/tmp/tmpeudr_ufa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @ENOENT = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @qfile_mkdir(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = call i64 @mkdir(ptr noundef %9, i32 noundef %10) %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %3 store i32 1, ptr %4, align 4 br label %42 14: ; preds = %3 %15 = load i32, ptr %7, align 4 %16 = icmp eq i32 %15, 1 br i1 %16, label %17, label %41 17: ; preds = %14 %18 = load i64, ptr @errno, align 8 %19 = load i64, ptr @ENOENT, align 8 %20 = icmp eq i64 %18, %19 br i1 %20, label %21, label %41 21: ; preds = %17 %22 = load ptr, ptr %5, align 8 %23 = call ptr @qfile_get_dir(ptr noundef %22) store ptr %23, ptr %8, align 8 %24 = load ptr, ptr %8, align 8 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %7, align 4 %27 = call i32 @qfile_mkdir(ptr noundef %24, i32 noundef %25, i32 noundef %26) %28 = icmp eq i32 %27, 1 br i1 %28, label %29, label %38 29: ; preds = %21 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %7, align 4 %33 = call i32 @qfile_mkdir(ptr noundef %30, i32 noundef %31, i32 noundef %32) %34 = icmp eq i32 %33, 1 br i1 %34, label %35, label %38 35: ; preds = %29 %36 = load ptr, ptr %8, align 8 %37 = call i32 @free(ptr noundef %36) store i32 1, ptr %4, align 4 br label %42 38: ; preds = %29, %21 %39 = load ptr, ptr %8, align 8 %40 = call i32 @free(ptr noundef %39) br label %41 41: ; preds = %38, %17, %14 store i32 0, ptr %4, align 4 br label %42 42: ; preds = %41, %35, %13 %43 = load i32, ptr %4, align 4 ret i32 %43 } declare i64 @mkdir(ptr noundef, i32 noundef) #1 declare ptr @qfile_get_dir(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/tmpeudr_ufa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @ENOENT = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @qfile_mkdir(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = call i64 @mkdir(ptr noundef %9, i32 noundef %10) %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %3 store i32 1, ptr %4, align 4 br label %42 14: ; preds = %3 %15 = load i32, ptr %7, align 4 %16 = icmp eq i32 %15, 1 br i1 %16, label %17, label %41 17: ; preds = %14 %18 = load i64, ptr @errno, align 8 %19 = load i64, ptr @ENOENT, align 8 %20 = icmp eq i64 %18, %19 br i1 %20, label %21, label %41 21: ; preds = %17 %22 = load ptr, ptr %5, align 8 %23 = call ptr @qfile_get_dir(ptr noundef %22) store ptr %23, ptr %8, align 8 %24 = load ptr, ptr %8, align 8 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %7, align 4 %27 = call i32 @qfile_mkdir(ptr noundef %24, i32 noundef %25, i32 noundef %26) %28 = icmp eq i32 %27, 1 br i1 %28, label %29, label %38 29: ; preds = %21 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %7, align 4 %33 = call i32 @qfile_mkdir(ptr noundef %30, i32 noundef %31, i32 noundef %32) %34 = icmp eq i32 %33, 1 br i1 %34, label %35, label %38 35: ; preds = %29 %36 = load ptr, ptr %8, align 8 %37 = call i32 @free(ptr noundef %36) store i32 1, ptr %4, align 4 br label %42 38: ; preds = %29, %21 %39 = load ptr, ptr %8, align 8 %40 = call i32 @free(ptr noundef %39) br label %41 41: ; preds = %38, %17, %14 store i32 0, ptr %4, align 4 br label %42 42: ; preds = %41, %35, %13 %43 = load i32, ptr %4, align 4 ret i32 %43 } declare i64 @mkdir(ptr noundef, i32 noundef) #1 declare ptr @qfile_get_dir(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/tmp8hc6lxjf.c' source_filename = "/tmp/tmp8hc6lxjf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_float() #0 { %1 = call i32 (...) @mt_rand_double_1() %2 = mul nsw i32 %1, 1000 %3 = sitofp i32 %2 to float ret float %3 } declare i32 @mt_rand_double_1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8hc6lxjf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_float() #0 { %1 = call i32 (...) @mt_rand_double_1() %2 = mul nsw i32 %1, 1000 %3 = sitofp i32 %2 to float ret float %3 } declare i32 @mt_rand_double_1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp4fcy28j.c' source_filename = "/tmp/tmpp4fcy28j.c" target datalayout = "e-m:e-p270: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/tmpp4fcy28j.c" target datalayout = "e-m:e-p270: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/tmpbehzlx8j.c' source_filename = "/tmp/tmpbehzlx8j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Celsius\09Fahr\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%d\09%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"\0A\0AFahr\09Celsius\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 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %2, align 4 br label %5 5: ; preds = %14, %0 %6 = load i32, ptr %2, align 4 %7 = icmp sle i32 %6, 300 br i1 %7, label %8, label %17 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = call i32 @conv_temp_fahr(i32 noundef %9) store i32 %10, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11, i32 noundef %12) br label %14 14: ; preds = %8 %15 = load i32, ptr %2, align 4 %16 = add nsw i32 %15, 20 store i32 %16, ptr %2, align 4 br label %5, !llvm.loop !6 17: ; preds = %5 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %19 19: ; preds = %28, %17 %20 = load i32, ptr %3, align 4 %21 = icmp sle i32 %20, 300 br i1 %21, label %22, label %31 22: ; preds = %19 %23 = load i32, ptr %3, align 4 %24 = call i32 @conv_temp_celsius(i32 noundef %23) store i32 %24, ptr %2, align 4 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %2, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %25, i32 noundef %26) br label %28 28: ; preds = %22 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 20 store i32 %30, ptr %3, align 4 br label %19, !llvm.loop !8 31: ; preds = %19 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @conv_temp_fahr(i32 noundef) #1 declare i32 @conv_temp_celsius(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/tmpbehzlx8j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Celsius\09Fahr\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%d\09%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"\0A\0AFahr\09Celsius\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 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp sle i32 %5, 300 br i1 %6, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %13 %8 = load i32, ptr %2, align 4 %9 = call i32 @conv_temp_fahr(i32 noundef %8) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10, i32 noundef %11) br label %13 13: ; preds = %7 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 20 store i32 %15, ptr %2, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp sle i32 %16, 300 br i1 %17, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %0 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp sle i32 %20, 300 br i1 %21, label %.lr.ph2, label %33 .lr.ph2: ; preds = %18 br label %22 22: ; preds = %.lr.ph2, %28 %23 = load i32, ptr %3, align 4 %24 = call i32 @conv_temp_celsius(i32 noundef %23) store i32 %24, ptr %2, align 4 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %2, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %25, i32 noundef %26) br label %28 28: ; preds = %22 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 20 store i32 %30, ptr %3, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp sle i32 %31, 300 br i1 %32, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %28 br label %33 33: ; preds = %._crit_edge3, %18 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @conv_temp_fahr(i32 noundef) #1 declare i32 @conv_temp_celsius(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/tmplwz7_3nq.c' source_filename = "/tmp/tmplwz7_3nq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Enter number of lines:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"I\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 0, ptr %3, align 4 br label %8 8: ; preds = %43, %0 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %12, label %46 12: ; preds = %8 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = sub nsw i32 %13, %14 store i32 %15, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %16 16: ; preds = %38, %12 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %2, align 4 %19 = mul nsw i32 %18, 2 %20 = icmp slt i32 %17, %19 br i1 %20, label %21, label %41 21: ; preds = %16 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp sge i32 %22, %23 br i1 %24, label %25, label %35 25: ; preds = %21 %26 = load i32, ptr %2, align 4 %27 = mul nsw i32 %26, 2 %28 = sub nsw i32 %27, 1 %29 = load i32, ptr %5, align 4 %30 = sub nsw i32 %28, %29 %31 = load i32, ptr %4, align 4 %32 = icmp sgt i32 %30, %31 br i1 %32, label %33, label %35 33: ; preds = %25 %34 = call i32 @printf(ptr noundef @.str.2) br label %37 35: ; preds = %25, %21 %36 = call i32 @printf(ptr noundef @.str.3) br label %37 37: ; preds = %35, %33 br label %38 38: ; preds = %37 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %5, align 4 br label %16, !llvm.loop !6 41: ; preds = %16 %42 = call i32 @printf(ptr noundef @.str.4) br label %43 43: ; preds = %41 %44 = load i32, ptr %3, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %3, align 4 br label %8, !llvm.loop !8 46: ; preds = %8 %47 = load i32, ptr %1, align 4 ret i32 %47 } 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplwz7_3nq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Enter number of lines:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"I\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp sle i32 %8, %9 br i1 %10, label %.lr.ph2, label %51 .lr.ph2: ; preds = %0 br label %11 11: ; preds = %.lr.ph2, %45 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = sub nsw i32 %12, %13 store i32 %14, ptr %4, align 4 store i32 0, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %2, align 4 %17 = mul nsw i32 %16, 2 %18 = icmp slt i32 %15, %17 br i1 %18, label %.lr.ph, label %43 .lr.ph: ; preds = %11 br label %19 19: ; preds = %.lr.ph, %36 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp sge i32 %20, %21 br i1 %22, label %23, label %33 23: ; preds = %19 %24 = load i32, ptr %2, align 4 %25 = mul nsw i32 %24, 2 %26 = sub nsw i32 %25, 1 %27 = load i32, ptr %5, align 4 %28 = sub nsw i32 %26, %27 %29 = load i32, ptr %4, align 4 %30 = icmp sgt i32 %28, %29 br i1 %30, label %31, label %33 31: ; preds = %23 %32 = call i32 @printf(ptr noundef @.str.2) br label %35 33: ; preds = %23, %19 %34 = call i32 @printf(ptr noundef @.str.3) br label %35 35: ; preds = %33, %31 br label %36 36: ; preds = %35 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %5, align 4 %39 = load i32, ptr %5, align 4 %40 = load i32, ptr %2, align 4 %41 = mul nsw i32 %40, 2 %42 = icmp slt i32 %39, %41 br i1 %42, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %43 43: ; preds = %._crit_edge, %11 %44 = call i32 @printf(ptr noundef @.str.4) br label %45 45: ; preds = %43 %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 %2, align 4 %50 = icmp sle i32 %48, %49 br i1 %50, label %11, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %45 br label %51 51: ; preds = %._crit_edge3, %0 %52 = load i32, ptr %1, align 4 ret i32 %52 } 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpcdk5f57k.c' source_filename = "/tmp/tmpcdk5f57k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TracebackContextPreemptionCallGo(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @TracebackContextPreemptionGoFunction(i32 noundef %3) ret void } declare i32 @TracebackContextPreemptionGoFunction(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/tmpcdk5f57k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TracebackContextPreemptionCallGo(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @TracebackContextPreemptionGoFunction(i32 noundef %3) ret void } declare i32 @TracebackContextPreemptionGoFunction(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/tmp8y360ucr.c' source_filename = "/tmp/tmp8y360ucr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msleep(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 br label %3 3: ; preds = %8, %1 %4 = load i32, ptr %2, align 4 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %11 6: ; preds = %3 %7 = call i32 @usleep(i32 noundef 1000) br label %8 8: ; preds = %6 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, -1 store i32 %10, ptr %2, align 4 br label %3, !llvm.loop !6 11: ; preds = %3 ret void } declare i32 @usleep(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/tmp8y360ucr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msleep(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sgt i32 %3, 0 br i1 %4, label %.lr.ph, label %12 .lr.ph: ; preds = %1 br label %5 5: ; preds = %.lr.ph, %7 %6 = call i32 @usleep(i32 noundef 1000) br label %7 7: ; preds = %5 %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, -1 store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %12 12: ; preds = %._crit_edge, %1 ret void } declare i32 @usleep(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/tmp4fe14utv.c' source_filename = "/tmp/tmp4fe14utv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%%%d.%df\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"float - result is: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @float2BCD(float noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca float, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca [20 x i8], align 16 %12 = alloca [20 x i8], align 16 store float %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %13 = getelementptr inbounds [20 x i8], ptr %12, i64 0, i64 0 %14 = load i32, ptr %7, align 4 %15 = sitofp i32 %14 to float %16 = load i32, ptr %8, align 4 %17 = call i32 (ptr, ptr, float, ...) @sprintf(ptr noundef %13, ptr noundef @.str, float noundef %15, i32 noundef %16) %18 = getelementptr inbounds [20 x i8], ptr %11, i64 0, i64 0 %19 = getelementptr inbounds [20 x i8], ptr %12, i64 0, i64 0 %20 = load float, ptr %6, align 4 %21 = call i32 (ptr, ptr, float, ...) @sprintf(ptr noundef %18, ptr noundef %19, float noundef %20) %22 = getelementptr inbounds [20 x i8], ptr %11, i64 0, i64 0 %23 = call i32 @printf(ptr noundef @.str.1, ptr noundef %22) br label %24 24: ; preds = %35, %5 %25 = getelementptr inbounds [20 x i8], ptr %11, i64 0, i64 0 %26 = load i8, ptr %25, align 16 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %36 29: ; preds = %24 %30 = getelementptr inbounds [20 x i8], ptr %11, i64 0, i64 0 %31 = load i8, ptr %30, align 16 %32 = sext i8 %31 to i32 switch i32 %32, label %35 [ i32 48, label %33 i32 49, label %33 i32 50, label %33 i32 51, label %33 i32 52, label %33 i32 53, label %33 i32 54, label %33 i32 55, label %33 i32 56, label %33 i32 57, label %33 i32 46, label %34 i32 44, label %34 ] 33: ; preds = %29, %29, %29, %29, %29, %29, %29, %29, %29, %29 br label %35 34: ; preds = %29, %29 br label %35 35: ; preds = %29, %34, %33 br label %24, !llvm.loop !6 36: ; preds = %24 ret i32 0 } declare i32 @sprintf(ptr noundef, ptr noundef, float noundef, ...) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4fe14utv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%%%d.%df\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"float - result is: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @float2BCD(float noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca float, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca [20 x i8], align 16 %12 = alloca [20 x i8], align 16 store float %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %13 = getelementptr inbounds [20 x i8], ptr %12, i64 0, i64 0 %14 = load i32, ptr %7, align 4 %15 = sitofp i32 %14 to float %16 = load i32, ptr %8, align 4 %17 = call i32 (ptr, ptr, float, ...) @sprintf(ptr noundef %13, ptr noundef @.str, float noundef %15, i32 noundef %16) %18 = getelementptr inbounds [20 x i8], ptr %11, i64 0, i64 0 %19 = getelementptr inbounds [20 x i8], ptr %12, i64 0, i64 0 %20 = load float, ptr %6, align 4 %21 = call i32 (ptr, ptr, float, ...) @sprintf(ptr noundef %18, ptr noundef %19, float noundef %20) %22 = getelementptr inbounds [20 x i8], ptr %11, i64 0, i64 0 %23 = call i32 @printf(ptr noundef @.str.1, ptr noundef %22) %24 = getelementptr inbounds [20 x i8], ptr %11, i64 0, i64 0 %25 = load i8, ptr %24, align 16 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 0 br i1 %27, label %.lr.ph, label %28 .lr.ph: ; preds = %5 br label %._crit_edge ._crit_edge: ; preds = %.lr.ph br label %28 28: ; preds = %._crit_edge, %5 ret i32 0 } declare i32 @sprintf(ptr noundef, ptr noundef, float noundef, ...) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9_jkuedg.c' source_filename = "/tmp/tmp9_jkuedg.c" target datalayout = "e-m:e-p270: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/tmp9_jkuedg.c" target datalayout = "e-m:e-p270: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/tmp3128wsci.c' source_filename = "/tmp/tmp3128wsci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_lines(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %17, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %20 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds ptr, ptr %11, i64 %13 %15 = load ptr, ptr %14, align 8 %16 = call i32 @printf(ptr noundef @.str, ptr noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 br label %6, !llvm.loop !6 20: ; preds = %6 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3128wsci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_lines(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %16 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds ptr, ptr %10, i64 %12 %14 = load ptr, ptr %13, align 8 %15 = call i32 @printf(ptr noundef @.str, ptr noundef %14) br label %16 16: ; preds = %9 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmps0xjyvm6.c' source_filename = "/tmp/tmps0xjyvm6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"This is thread 1 running.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @thread1() #0 { %1 = alloca ptr, align 8 %2 = call i32 @sleep(i32 noundef 5) %3 = call i32 @printf(ptr noundef @.str) %4 = load ptr, ptr %1, align 8 ret ptr %4 } declare i32 @sleep(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps0xjyvm6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"This is thread 1 running.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @thread1() #0 { %1 = alloca ptr, align 8 %2 = call i32 @sleep(i32 noundef 5) %3 = call i32 @printf(ptr noundef @.str) %4 = load ptr, ptr %1, align 8 ret ptr %4 } declare i32 @sleep(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqxqmr_cg.c' source_filename = "/tmp/tmpqxqmr_cg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"AllFlagsSet\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"AllFlagsClear\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @DoTest(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %11 [ i32 0, label %5 i32 1, label %8 ] 5: ; preds = %1 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 (...) @SetAppFlagsAndSegv_asm() store i32 1, ptr %2, align 4 br label %12 8: ; preds = %1 %9 = call i32 @printf(ptr noundef @.str.1) %10 = call i32 (...) @ClearAppFlagsAndSegv_asm() store i32 1, ptr %2, align 4 br label %12 11: ; preds = %1 store i32 0, ptr %2, align 4 br label %12 12: ; preds = %11, %8, %5 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i32 @printf(ptr noundef) #1 declare i32 @SetAppFlagsAndSegv_asm(...) #1 declare i32 @ClearAppFlagsAndSegv_asm(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqxqmr_cg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"AllFlagsSet\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"AllFlagsClear\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @DoTest(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %11 [ i32 0, label %5 i32 1, label %8 ] 5: ; preds = %1 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 (...) @SetAppFlagsAndSegv_asm() store i32 1, ptr %2, align 4 br label %12 8: ; preds = %1 %9 = call i32 @printf(ptr noundef @.str.1) %10 = call i32 (...) @ClearAppFlagsAndSegv_asm() store i32 1, ptr %2, align 4 br label %12 11: ; preds = %1 store i32 0, ptr %2, align 4 br label %12 12: ; preds = %11, %8, %5 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i32 @printf(ptr noundef) #1 declare i32 @SetAppFlagsAndSegv_asm(...) #1 declare i32 @ClearAppFlagsAndSegv_asm(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwb7ti9zj.c' source_filename = "/tmp/tmpwb7ti9zj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @M_Print(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 br label %7 7: ; preds = %11, %3 %8 = load ptr, ptr %6, align 8 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %11, label %24 11: ; preds = %7 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %5, align 4 %14 = load ptr, ptr %6, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = add nsw i32 %16, 128 %18 = trunc i32 %17 to i8 %19 = call i32 @M_DrawCharacter(i32 noundef %12, i32 noundef %13, i8 noundef signext %18) %20 = load ptr, ptr %6, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %6, align 8 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 8 store i32 %23, ptr %4, align 4 br label %7, !llvm.loop !6 24: ; preds = %7 ret void } declare i32 @M_DrawCharacter(i32 noundef, i32 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/tmpwb7ti9zj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @M_Print(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = load i8, ptr %7, align 1 %9 = icmp ne i8 %8, 0 br i1 %9, label %.lr.ph, label %26 .lr.ph: ; preds = %3 br label %10 10: ; preds = %.lr.ph, %10 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %5, align 4 %13 = load ptr, ptr %6, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = add nsw i32 %15, 128 %17 = trunc i32 %16 to i8 %18 = call i32 @M_DrawCharacter(i32 noundef %11, i32 noundef %12, i8 noundef signext %17) %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %6, align 8 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 8 store i32 %22, ptr %4, align 4 %23 = load ptr, ptr %6, align 8 %24 = load i8, ptr %23, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %26 26: ; preds = %._crit_edge, %3 ret void } declare i32 @M_DrawCharacter(i32 noundef, i32 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/tmpbt50up_t.c' source_filename = "/tmp/tmpbt50up_t.c" target datalayout = "e-m:e-p270: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/tmpbt50up_t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_zrka3p9.c' source_filename = "/tmp/tmp_zrka3p9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @readn(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %10, align 8 store i64 0, ptr %9, align 8 br label %12 12: ; preds = %36, %34, %3 %13 = load i64, ptr %9, align 8 %14 = load i64, ptr %7, align 8 %15 = icmp ult i64 %13, %14 br i1 %15, label %16, label %43 16: ; preds = %12 %17 = load i32, ptr %5, align 4 %18 = load ptr, ptr %10, align 8 %19 = load i64, ptr %7, align 8 %20 = load i64, ptr %9, align 8 %21 = sub i64 %19, %20 %22 = call i64 @read(i32 noundef %17, ptr noundef %18, i64 noundef %21) store i64 %22, ptr %8, align 8 %23 = load i64, ptr %8, align 8 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %16 %26 = load i64, ptr %9, align 8 store i64 %26, ptr %4, align 8 br label %45 27: ; preds = %16 %28 = load i64, ptr %8, align 8 %29 = icmp eq i64 %28, -1 br i1 %29, label %30, label %36 30: ; preds = %27 %31 = load i64, ptr @errno, align 8 %32 = load i64, ptr @EINTR, align 8 %33 = icmp eq i64 %31, %32 br i1 %33, label %34, label %35 34: ; preds = %30 br label %12, !llvm.loop !6 35: ; preds = %30 store i64 -1, ptr %4, align 8 br label %45 36: ; preds = %27 %37 = load i64, ptr %8, align 8 %38 = load i64, ptr %9, align 8 %39 = add i64 %38, %37 store i64 %39, ptr %9, align 8 %40 = load i64, ptr %8, align 8 %41 = load ptr, ptr %10, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 %40 store ptr %42, ptr %10, align 8 br label %12, !llvm.loop !6 43: ; preds = %12 %44 = load i64, ptr %9, align 8 store i64 %44, ptr %4, align 8 br label %45 45: ; preds = %43, %35, %25 %46 = load i64, ptr %4, align 8 ret i64 %46 } declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_zrka3p9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @readn(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %10, align 8 store i64 0, ptr %9, align 8 %12 = load i64, ptr %9, align 8 %13 = load i64, ptr %7, align 8 %14 = icmp ult i64 %12, %13 br i1 %14, label %.lr.ph, label %45 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %.backedge %16 = load i32, ptr %5, align 4 %17 = load ptr, ptr %10, align 8 %18 = load i64, ptr %7, align 8 %19 = load i64, ptr %9, align 8 %20 = sub i64 %18, %19 %21 = call i64 @read(i32 noundef %16, ptr noundef %17, i64 noundef %20) store i64 %21, ptr %8, align 8 %22 = load i64, ptr %8, align 8 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %15 %25 = load i64, ptr %9, align 8 store i64 %25, ptr %4, align 8 br label %47 26: ; preds = %15 %27 = load i64, ptr %8, align 8 %28 = icmp eq i64 %27, -1 br i1 %28, label %29, label %38 29: ; preds = %26 %30 = load i64, ptr @errno, align 8 %31 = load i64, ptr @EINTR, align 8 %32 = icmp eq i64 %30, %31 br i1 %32, label %33, label %37 33: ; preds = %29 br label %.backedge .backedge: ; preds = %33, %38 %34 = load i64, ptr %9, align 8 %35 = load i64, ptr %7, align 8 %36 = icmp ult i64 %34, %35 br i1 %36, label %15, label %._crit_edge, !llvm.loop !6 37: ; preds = %29 store i64 -1, ptr %4, align 8 br label %47 38: ; preds = %26 %39 = load i64, ptr %8, align 8 %40 = load i64, ptr %9, align 8 %41 = add i64 %40, %39 store i64 %41, ptr %9, align 8 %42 = load i64, ptr %8, align 8 %43 = load ptr, ptr %10, align 8 %44 = getelementptr inbounds i8, ptr %43, i64 %42 store ptr %44, ptr %10, align 8 br label %.backedge ._crit_edge: ; preds = %.backedge br label %45 45: ; preds = %._crit_edge, %3 %46 = load i64, ptr %9, align 8 store i64 %46, ptr %4, align 8 br label %47 47: ; preds = %45, %37, %24 %48 = load i64, ptr %4, align 8 ret i64 %48 } declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqt0uh3a6.c' source_filename = "/tmp/tmpqt0uh3a6.c" target datalayout = "e-m:e-p270: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/tmpqt0uh3a6.c" target datalayout = "e-m:e-p270: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/tmp6kbcbjec.c' source_filename = "/tmp/tmp6kbcbjec.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @return_statement_expression() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i64 (...) @unknown() %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %10 5: ; preds = %0 br label %6 6: ; preds = %7, %5 br i1 false, label %7, label %8 7: ; preds = %6 br label %6 8: ; preds = %6 store i32 0, ptr %2, align 4 %9 = load i32, ptr %2, align 4 store i32 %9, ptr %1, align 4 br label %11 10: ; preds = %0 store i32 0, ptr %1, align 4 br label %11 11: ; preds = %10, %8 %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i64 @unknown(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6kbcbjec.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @return_statement_expression() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i64 (...) @unknown() %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %0 br label %6 6: ; preds = %5 store i32 0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 store i32 %7, ptr %1, align 4 br label %9 8: ; preds = %0 store i32 0, ptr %1, align 4 br label %9 9: ; preds = %8, %6 %10 = load i32, ptr %1, align 4 ret i32 %10 } declare i64 @unknown(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwtsvyn_5.c' source_filename = "/tmp/tmpwtsvyn_5.c" target datalayout = "e-m:e-p270: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/tmpwtsvyn_5.c" target datalayout = "e-m:e-p270: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/tmpnerrztev.c' source_filename = "/tmp/tmpnerrztev.c" target datalayout = "e-m:e-p270: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 @stdin = 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/tmpnerrztev.c" target datalayout = "e-m:e-p270: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 @stdin = 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/tmpku1b8gc2.c' source_filename = "/tmp/tmpku1b8gc2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"Usage: myar {Adqtvx} archive-file file...\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c" commands:\0A\00", align 1 @.str.2 = private unnamed_addr constant [67 x i8] c" A\09- quick append all \22regular\22 file(s) in the current directory\0A\00", align 1 @.str.3 = private unnamed_addr constant [39 x i8] c" d\09- delete file(s) from the archive\0A\00", align 1 @.str.4 = private unnamed_addr constant [44 x i8] c" q\09- quick append file(s) to the archive\0A\00", align 1 @.str.5 = private unnamed_addr constant [56 x i8] c" t\09- print a concise table of contents in the archive\0A\00", align 1 @.str.6 = private unnamed_addr constant [56 x i8] c" v\09- print a verbose table of contents in the archive\0A\00", align 1 @.str.7 = private unnamed_addr constant [27 x i8] c" x\09- extract named files\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = 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/tmpku1b8gc2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"Usage: myar {Adqtvx} archive-file file...\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c" commands:\0A\00", align 1 @.str.2 = private unnamed_addr constant [67 x i8] c" A\09- quick append all \22regular\22 file(s) in the current directory\0A\00", align 1 @.str.3 = private unnamed_addr constant [39 x i8] c" d\09- delete file(s) from the archive\0A\00", align 1 @.str.4 = private unnamed_addr constant [44 x i8] c" q\09- quick append file(s) to the archive\0A\00", align 1 @.str.5 = private unnamed_addr constant [56 x i8] c" t\09- print a concise table of contents in the archive\0A\00", align 1 @.str.6 = private unnamed_addr constant [56 x i8] c" v\09- print a verbose table of contents in the archive\0A\00", align 1 @.str.7 = private unnamed_addr constant [27 x i8] c" x\09- extract named files\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = 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/tmp4k13a3e6.c' source_filename = "/tmp/tmp4k13a3e6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"repl\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"help\00", align 1 @.str.2 = private unnamed_addr constant [75 x i8] c"Look I haven't made another mode yet so just freakin run \22clocjure repl\22!\0A\00", align 1 @.str.3 = private unnamed_addr constant [56 x i8] c"Invalid arguments. Run \22clocure help\22 for a help menu.\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 3, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %10 9: ; preds = %2 store i32 0, ptr %6, align 4 br label %32 10: ; preds = %2 %11 = load i32, ptr %4, align 4 %12 = icmp eq i32 %11, 2 br i1 %12, label %13, label %20 13: ; preds = %10 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %13 store i32 0, ptr %6, align 4 br label %31 20: ; preds = %13, %10 %21 = load i32, ptr %4, align 4 %22 = icmp eq i32 %21, 2 br i1 %22, label %23, label %30 23: ; preds = %20 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str.1) %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %23 store i32 2, ptr %6, align 4 br label %30 30: ; preds = %29, %23, %20 br label %31 31: ; preds = %30, %19 br label %32 32: ; preds = %31, %9 %33 = load i32, ptr %6, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %32 %36 = call i32 (...) @runRepl() store i32 %36, ptr %3, align 4 br label %44 37: ; preds = %32 %38 = load i32, ptr %6, align 4 %39 = icmp eq i32 %38, 2 br i1 %39, label %40, label %42 40: ; preds = %37 %41 = call i32 @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %44 42: ; preds = %37 %43 = call i32 @printf(ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %44 44: ; preds = %42, %40, %35 %45 = load i32, ptr %3, align 4 ret i32 %45 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @runRepl(...) #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/tmp4k13a3e6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"repl\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"help\00", align 1 @.str.2 = private unnamed_addr constant [75 x i8] c"Look I haven't made another mode yet so just freakin run \22clocjure repl\22!\0A\00", align 1 @.str.3 = private unnamed_addr constant [56 x i8] c"Invalid arguments. Run \22clocure help\22 for a help menu.\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 3, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %10 9: ; preds = %2 store i32 0, ptr %6, align 4 br label %32 10: ; preds = %2 %11 = load i32, ptr %4, align 4 %12 = icmp eq i32 %11, 2 br i1 %12, label %13, label %20 13: ; preds = %10 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %13 store i32 0, ptr %6, align 4 br label %31 20: ; preds = %13, %10 %21 = load i32, ptr %4, align 4 %22 = icmp eq i32 %21, 2 br i1 %22, label %23, label %30 23: ; preds = %20 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str.1) %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %23 store i32 2, ptr %6, align 4 br label %30 30: ; preds = %29, %23, %20 br label %31 31: ; preds = %30, %19 br label %32 32: ; preds = %31, %9 %33 = load i32, ptr %6, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %32 %36 = call i32 (...) @runRepl() store i32 %36, ptr %3, align 4 br label %44 37: ; preds = %32 %38 = load i32, ptr %6, align 4 %39 = icmp eq i32 %38, 2 br i1 %39, label %40, label %42 40: ; preds = %37 %41 = call i32 @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %44 42: ; preds = %37 %43 = call i32 @printf(ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %44 44: ; preds = %42, %40, %35 %45 = load i32, ptr %3, align 4 ret i32 %45 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @runRepl(...) #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/tmpnjswq_s7.c' source_filename = "/tmp/tmpnjswq_s7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %7, %0 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 10 br i1 %6, label %7, label %13 7: ; preds = %4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, %8 store i32 %10, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 br label %4, !llvm.loop !6 13: ; preds = %4 %14 = load i32, ptr %2, align 4 %15 = icmp eq i32 %14, 10 %16 = zext i1 %15 to i32 %17 = call i32 @test_assert(i32 noundef %16) ret i32 0 } declare i32 @test_assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnjswq_s7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 10 br i1 %5, label %.lr.ph, label %14 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %6 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, %7 store i32 %9, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %12, 10 br i1 %13, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %14 14: ; preds = %._crit_edge, %0 %15 = load i32, ptr %2, align 4 %16 = icmp eq i32 %15, 10 %17 = zext i1 %16 to i32 %18 = call i32 @test_assert(i32 noundef %17) ret i32 0 } declare i32 @test_assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp42z7hnsl.c' source_filename = "/tmp/tmp42z7hnsl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isr() #0 { %1 = call i32 (...) @foo() ret void } declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp42z7hnsl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isr() #0 { %1 = call i32 (...) @foo() ret void } declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn2rxd9hc.c' source_filename = "/tmp/tmpn2rxd9hc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [70 x i8] c"Input to current_time() was either smaller than zero or larger than 5\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @current_time(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %17 [ i32 0, label %5 i32 1, label %7 i32 2, label %9 i32 3, label %11 i32 4, label %13 i32 5, label %15 ] 5: ; preds = %1 %6 = call i32 (...) @rtc_get_second() store i32 %6, ptr %2, align 4 br label %20 7: ; preds = %1 %8 = call i32 (...) @rtc_get_minute() store i32 %8, ptr %2, align 4 br label %20 9: ; preds = %1 %10 = call i32 (...) @rtc_get_hour() store i32 %10, ptr %2, align 4 br label %20 11: ; preds = %1 %12 = call i32 (...) @rtc_get_day() store i32 %12, ptr %2, align 4 br label %20 13: ; preds = %1 %14 = call i32 (...) @rtc_get_month() store i32 %14, ptr %2, align 4 br label %20 15: ; preds = %1 %16 = call i32 (...) @rtc_get_year() store i32 %16, ptr %2, align 4 br label %20 17: ; preds = %1 %18 = call i32 @panic(ptr noundef @.str) br label %19 19: ; preds = %17 store i32 0, ptr %2, align 4 br label %20 20: ; preds = %19, %15, %13, %11, %9, %7, %5 %21 = load i32, ptr %2, align 4 ret i32 %21 } declare i32 @rtc_get_second(...) #1 declare i32 @rtc_get_minute(...) #1 declare i32 @rtc_get_hour(...) #1 declare i32 @rtc_get_day(...) #1 declare i32 @rtc_get_month(...) #1 declare i32 @rtc_get_year(...) #1 declare i32 @panic(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/tmpn2rxd9hc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [70 x i8] c"Input to current_time() was either smaller than zero or larger than 5\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @current_time(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %17 [ i32 0, label %5 i32 1, label %7 i32 2, label %9 i32 3, label %11 i32 4, label %13 i32 5, label %15 ] 5: ; preds = %1 %6 = call i32 (...) @rtc_get_second() store i32 %6, ptr %2, align 4 br label %20 7: ; preds = %1 %8 = call i32 (...) @rtc_get_minute() store i32 %8, ptr %2, align 4 br label %20 9: ; preds = %1 %10 = call i32 (...) @rtc_get_hour() store i32 %10, ptr %2, align 4 br label %20 11: ; preds = %1 %12 = call i32 (...) @rtc_get_day() store i32 %12, ptr %2, align 4 br label %20 13: ; preds = %1 %14 = call i32 (...) @rtc_get_month() store i32 %14, ptr %2, align 4 br label %20 15: ; preds = %1 %16 = call i32 (...) @rtc_get_year() store i32 %16, ptr %2, align 4 br label %20 17: ; preds = %1 %18 = call i32 @panic(ptr noundef @.str) br label %19 19: ; preds = %17 store i32 0, ptr %2, align 4 br label %20 20: ; preds = %19, %15, %13, %11, %9, %7, %5 %21 = load i32, ptr %2, align 4 ret i32 %21 } declare i32 @rtc_get_second(...) #1 declare i32 @rtc_get_minute(...) #1 declare i32 @rtc_get_hour(...) #1 declare i32 @rtc_get_day(...) #1 declare i32 @rtc_get_month(...) #1 declare i32 @rtc_get_year(...) #1 declare i32 @panic(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/tmpb8c36pe1.c' source_filename = "/tmp/tmpb8c36pe1.c" target datalayout = "e-m:e-p270: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/tmpb8c36pe1.c" target datalayout = "e-m:e-p270: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/tmpm4ouhzg1.c' source_filename = "/tmp/tmpm4ouhzg1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @adder(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @adder(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/tmpm4ouhzg1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @adder(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @adder(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/tmpiqqrft8_.c' source_filename = "/tmp/tmpiqqrft8_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f292(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @f291(ptr noundef %3) ret i32 %4 } declare i32 @f291(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/tmpiqqrft8_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f292(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @f291(ptr noundef %3) ret i32 %4 } declare i32 @f291(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/tmprxmrcg0v.c' source_filename = "/tmp/tmprxmrcg0v.c" target datalayout = "e-m:e-p270: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/tmprxmrcg0v.c" target datalayout = "e-m:e-p270: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/tmp2eh754cu.c' source_filename = "/tmp/tmp2eh754cu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"iscntrl should be 0 for 0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_iscntrl_0x30() #0 { %1 = call i64 @iscntrl(i32 noundef 48) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 245, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @iscntrl(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/tmp2eh754cu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"iscntrl should be 0 for 0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_iscntrl_0x30() #0 { %1 = call i64 @iscntrl(i32 noundef 48) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 245, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @iscntrl(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/tmp26r6sc77.c' source_filename = "/tmp/tmp26r6sc77.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"missing argument\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @O_DIRECTORY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"open()\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"fchdir()\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"getcwd()\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %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 %10 = load i32, ptr @PATH_MAX, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %6, align 8 %13 = alloca i8, i64 %11, align 16 store i64 %11, ptr %7, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 2 br i1 %15, label %16, label %21 16: ; preds = %2 %17 = load i32, ptr @stderr, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str) %19 = load i32, ptr @EXIT_FAILURE, align 4 %20 = call i32 @exit(i32 noundef %19) #4 unreachable 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = load i32, ptr @O_DIRECTORY, align 4 %26 = call i32 @open(ptr noundef %24, i32 noundef %25) store i32 %26, ptr %9, align 4 %27 = load i32, ptr %9, align 4 %28 = icmp slt i32 %27, 0 br i1 %28, label %29, label %33 29: ; preds = %21 %30 = call i32 @perror(ptr noundef @.str.1) %31 = load i32, ptr @EXIT_FAILURE, align 4 %32 = call i32 @exit(i32 noundef %31) #4 unreachable 33: ; preds = %21 %34 = load i32, ptr %9, align 4 %35 = call i32 @fchdir(i32 noundef %34) store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %42 38: ; preds = %33 %39 = call i32 @perror(ptr noundef @.str.2) %40 = load i32, ptr @EXIT_FAILURE, align 4 %41 = call i32 @exit(i32 noundef %40) #4 unreachable 42: ; preds = %33 %43 = load i32, ptr @PATH_MAX, align 4 %44 = call ptr @getcwd(ptr noundef %13, i32 noundef %43) %45 = icmp eq ptr %44, null br i1 %45, label %46, label %50 46: ; preds = %42 %47 = call i32 @perror(ptr noundef @.str.3) %48 = load i32, ptr @EXIT_FAILURE, align 4 %49 = call i32 @exit(i32 noundef %48) #4 unreachable 50: ; preds = %42 %51 = call ptr (...) @get_current_dir_name() %52 = call i32 @printf(ptr noundef @.str.4, ptr noundef %51) %53 = load i32, ptr @EXIT_SUCCESS, align 4 %54 = call i32 @exit(i32 noundef %53) #4 unreachable } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @fprintf(i32 noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @open(ptr noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 declare i32 @fchdir(i32 noundef) #2 declare ptr @getcwd(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare ptr @get_current_dir_name(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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 #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp26r6sc77.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"missing argument\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @O_DIRECTORY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"open()\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"fchdir()\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"getcwd()\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %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 %10 = load i32, ptr @PATH_MAX, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %6, align 8 %13 = alloca i8, i64 %11, align 16 store i64 %11, ptr %7, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 2 br i1 %15, label %16, label %21 16: ; preds = %2 %17 = load i32, ptr @stderr, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str) %19 = load i32, ptr @EXIT_FAILURE, align 4 %20 = call i32 @exit(i32 noundef %19) #4 unreachable 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = load i32, ptr @O_DIRECTORY, align 4 %26 = call i32 @open(ptr noundef %24, i32 noundef %25) store i32 %26, ptr %9, align 4 %27 = load i32, ptr %9, align 4 %28 = icmp slt i32 %27, 0 br i1 %28, label %29, label %33 29: ; preds = %21 %30 = call i32 @perror(ptr noundef @.str.1) %31 = load i32, ptr @EXIT_FAILURE, align 4 %32 = call i32 @exit(i32 noundef %31) #4 unreachable 33: ; preds = %21 %34 = load i32, ptr %9, align 4 %35 = call i32 @fchdir(i32 noundef %34) store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %42 38: ; preds = %33 %39 = call i32 @perror(ptr noundef @.str.2) %40 = load i32, ptr @EXIT_FAILURE, align 4 %41 = call i32 @exit(i32 noundef %40) #4 unreachable 42: ; preds = %33 %43 = load i32, ptr @PATH_MAX, align 4 %44 = call ptr @getcwd(ptr noundef %13, i32 noundef %43) %45 = icmp eq ptr %44, null br i1 %45, label %46, label %50 46: ; preds = %42 %47 = call i32 @perror(ptr noundef @.str.3) %48 = load i32, ptr @EXIT_FAILURE, align 4 %49 = call i32 @exit(i32 noundef %48) #4 unreachable 50: ; preds = %42 %51 = call ptr (...) @get_current_dir_name() %52 = call i32 @printf(ptr noundef @.str.4, ptr noundef %51) %53 = load i32, ptr @EXIT_SUCCESS, align 4 %54 = call i32 @exit(i32 noundef %53) #4 unreachable } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @fprintf(i32 noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @open(ptr noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 declare i32 @fchdir(i32 noundef) #2 declare ptr @getcwd(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare ptr @get_current_dir_name(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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 #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfu0v4fu6.c' source_filename = "/tmp/tmpfu0v4fu6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @io_file_read(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, 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 i64 %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr @O_RDONLY, align 4 %12 = call i32 @open(ptr noundef %10, i32 noundef %11) store i32 %12, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %3 store i32 -1, ptr %4, align 4 br label %24 16: ; preds = %3 %17 = load i32, ptr %8, align 4 %18 = load ptr, ptr %6, align 8 %19 = load i64, ptr %7, align 8 %20 = call i32 @io_read(i32 noundef %17, ptr noundef %18, i64 noundef %19) store i32 %20, ptr %9, align 4 %21 = load i32, ptr %8, align 4 %22 = call i32 @close(i32 noundef %21) %23 = load i32, ptr %9, align 4 store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %16, %15 %25 = load i32, ptr %4, align 4 ret i32 %25 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @io_read(i32 noundef, ptr noundef, i64 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/tmpfu0v4fu6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @io_file_read(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, 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 i64 %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr @O_RDONLY, align 4 %12 = call i32 @open(ptr noundef %10, i32 noundef %11) store i32 %12, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %3 store i32 -1, ptr %4, align 4 br label %24 16: ; preds = %3 %17 = load i32, ptr %8, align 4 %18 = load ptr, ptr %6, align 8 %19 = load i64, ptr %7, align 8 %20 = call i32 @io_read(i32 noundef %17, ptr noundef %18, i64 noundef %19) store i32 %20, ptr %9, align 4 %21 = load i32, ptr %8, align 4 %22 = call i32 @close(i32 noundef %21) %23 = load i32, ptr %9, align 4 store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %16, %15 %25 = load i32, ptr %4, align 4 ret i32 %25 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @io_read(i32 noundef, ptr noundef, i64 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/tmpoc9mbp9f.c' source_filename = "/tmp/tmpoc9mbp9f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Cannot open hex file\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%x\0A\00", align 1 @EOF = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @readhexfile(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %7, align 4 store i32 65536, ptr %8, align 4 %10 = load ptr, ptr %3, align 8 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str) store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %5, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %16, label %14 14: ; preds = %2 %15 = call i32 @error(ptr noundef @.str.1) br label %16 16: ; preds = %14, %2 %17 = load i32, ptr %8, align 4 %18 = mul i32 %17, 4 %19 = call i64 @malloc(i32 noundef %18) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr %6, align 8 br label %21 21: ; preds = %45, %16 %22 = load ptr, ptr %5, align 8 %23 = call i64 @fscanf(ptr noundef %22, ptr noundef @.str.2, ptr noundef %9) %24 = load i64, ptr @EOF, align 8 %25 = icmp ne i64 %23, %24 br i1 %25, label %26, label %46 26: ; preds = %21 %27 = load i32, ptr %9, align 4 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %7, align 4 %30 = add i32 %29, 1 store i32 %30, ptr %7, align 4 %31 = zext i32 %29 to i64 %32 = getelementptr inbounds i32, ptr %28, i64 %31 store i32 %27, ptr %32, align 4 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %8, align 4 %35 = sub i32 %34, 10 %36 = icmp ugt i32 %33, %35 br i1 %36, label %37, label %45 37: ; preds = %26 %38 = load i32, ptr %8, align 4 %39 = mul i32 %38, 2 store i32 %39, ptr %8, align 4 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %8, align 4 %42 = mul i32 %41, 4 %43 = call i64 @realloc(ptr noundef %40, i32 noundef %42) %44 = inttoptr i64 %43 to ptr store ptr %44, ptr %6, align 8 br label %45 45: ; preds = %37, %26 br label %21, !llvm.loop !6 46: ; preds = %21 %47 = load ptr, ptr %5, align 8 %48 = call i32 @fclose(ptr noundef %47) %49 = load i32, ptr %7, align 4 %50 = load ptr, ptr %4, align 8 store i32 %49, ptr %50, align 4 %51 = load ptr, ptr %6, align 8 ret ptr %51 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @error(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @realloc(ptr 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/tmpoc9mbp9f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Cannot open hex file\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%x\0A\00", align 1 @EOF = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @readhexfile(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %7, align 4 store i32 65536, ptr %8, align 4 %10 = load ptr, ptr %3, align 8 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str) store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %5, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %16, label %14 14: ; preds = %2 %15 = call i32 @error(ptr noundef @.str.1) br label %16 16: ; preds = %14, %2 %17 = load i32, ptr %8, align 4 %18 = mul i32 %17, 4 %19 = call i64 @malloc(i32 noundef %18) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr %6, align 8 %21 = load ptr, ptr %5, align 8 %22 = call i64 @fscanf(ptr noundef %21, ptr noundef @.str.2, ptr noundef %9) %23 = load i64, ptr @EOF, align 8 %24 = icmp ne i64 %22, %23 br i1 %24, label %.lr.ph, label %49 .lr.ph: ; preds = %16 br label %25 25: ; preds = %.lr.ph, %44 %26 = load i32, ptr %9, align 4 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %7, align 4 %29 = add i32 %28, 1 store i32 %29, ptr %7, align 4 %30 = zext i32 %28 to i64 %31 = getelementptr inbounds i32, ptr %27, i64 %30 store i32 %26, ptr %31, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %8, align 4 %34 = sub i32 %33, 10 %35 = icmp ugt i32 %32, %34 br i1 %35, label %36, label %44 36: ; preds = %25 %37 = load i32, ptr %8, align 4 %38 = mul i32 %37, 2 store i32 %38, ptr %8, align 4 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %8, align 4 %41 = mul i32 %40, 4 %42 = call i64 @realloc(ptr noundef %39, i32 noundef %41) %43 = inttoptr i64 %42 to ptr store ptr %43, ptr %6, align 8 br label %44 44: ; preds = %36, %25 %45 = load ptr, ptr %5, align 8 %46 = call i64 @fscanf(ptr noundef %45, ptr noundef @.str.2, ptr noundef %9) %47 = load i64, ptr @EOF, align 8 %48 = icmp ne i64 %46, %47 br i1 %48, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %49 49: ; preds = %._crit_edge, %16 %50 = load ptr, ptr %5, align 8 %51 = call i32 @fclose(ptr noundef %50) %52 = load i32, ptr %7, align 4 %53 = load ptr, ptr %4, align 8 store i32 %52, ptr %53, align 4 %54 = load ptr, ptr %6, align 8 ret ptr %54 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @error(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @realloc(ptr 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/tmp35k7i7ij.c' source_filename = "/tmp/tmp35k7i7ij.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ioctl_decode(ptr noundef %0, i64 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 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %8 = load i64, ptr %6, align 8 %9 = ashr i64 %8, 8 %10 = and i64 %9, 255 switch i64 %10, label %51 [ i64 84, label %11 i64 137, label %16 i64 112, label %21 i64 3, label %26 i64 18, label %26 i64 34, label %31 i64 76, label %36 i64 77, label %41 i64 111, label %46 i64 79, label %46 ] 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = load i64, ptr %6, align 8 %14 = load i64, ptr %7, align 8 %15 = call i32 @term_ioctl(ptr noundef %12, i64 noundef %13, i64 noundef %14) store i32 %15, ptr %4, align 4 br label %53 16: ; preds = %3 %17 = load ptr, ptr %5, align 8 %18 = load i64, ptr %6, align 8 %19 = load i64, ptr %7, align 8 %20 = call i32 @sock_ioctl(ptr noundef %17, i64 noundef %18, i64 noundef %19) store i32 %20, ptr %4, align 4 br label %53 21: ; preds = %3 %22 = load ptr, ptr %5, align 8 %23 = load i64, ptr %6, align 8 %24 = load i64, ptr %7, align 8 %25 = call i32 @rtc_ioctl(ptr noundef %22, i64 noundef %23, i64 noundef %24) store i32 %25, ptr %4, align 4 br label %53 26: ; preds = %3, %3 %27 = load ptr, ptr %5, align 8 %28 = load i64, ptr %6, align 8 %29 = load i64, ptr %7, align 8 %30 = call i32 @block_ioctl(ptr noundef %27, i64 noundef %28, i64 noundef %29) store i32 %30, ptr %4, align 4 br label %53 31: ; preds = %3 %32 = load ptr, ptr %5, align 8 %33 = load i64, ptr %6, align 8 %34 = load i64, ptr %7, align 8 %35 = call i32 @scsi_ioctl(ptr noundef %32, i64 noundef %33, i64 noundef %34) store i32 %35, ptr %4, align 4 br label %53 36: ; preds = %3 %37 = load ptr, ptr %5, align 8 %38 = load i64, ptr %6, align 8 %39 = load i64, ptr %7, align 8 %40 = call i32 @loop_ioctl(ptr noundef %37, i64 noundef %38, i64 noundef %39) store i32 %40, ptr %4, align 4 br label %53 41: ; preds = %3 %42 = load ptr, ptr %5, align 8 %43 = load i64, ptr %6, align 8 %44 = load i64, ptr %7, align 8 %45 = call i32 @mtd_ioctl(ptr noundef %42, i64 noundef %43, i64 noundef %44) store i32 %45, ptr %4, align 4 br label %53 46: ; preds = %3, %3 %47 = load ptr, ptr %5, align 8 %48 = load i64, ptr %6, align 8 %49 = load i64, ptr %7, align 8 %50 = call i32 @ubi_ioctl(ptr noundef %47, i64 noundef %48, i64 noundef %49) store i32 %50, ptr %4, align 4 br label %53 51: ; preds = %3 br label %52 52: ; preds = %51 store i32 0, ptr %4, align 4 br label %53 53: ; preds = %52, %46, %41, %36, %31, %26, %21, %16, %11 %54 = load i32, ptr %4, align 4 ret i32 %54 } declare i32 @term_ioctl(ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @sock_ioctl(ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @rtc_ioctl(ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @block_ioctl(ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @scsi_ioctl(ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @loop_ioctl(ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @mtd_ioctl(ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @ubi_ioctl(ptr noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp35k7i7ij.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ioctl_decode(ptr noundef %0, i64 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 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %8 = load i64, ptr %6, align 8 %9 = ashr i64 %8, 8 %10 = and i64 %9, 255 switch i64 %10, label %51 [ i64 84, label %11 i64 137, label %16 i64 112, label %21 i64 3, label %26 i64 18, label %26 i64 34, label %31 i64 76, label %36 i64 77, label %41 i64 111, label %46 i64 79, label %46 ] 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = load i64, ptr %6, align 8 %14 = load i64, ptr %7, align 8 %15 = call i32 @term_ioctl(ptr noundef %12, i64 noundef %13, i64 noundef %14) store i32 %15, ptr %4, align 4 br label %53 16: ; preds = %3 %17 = load ptr, ptr %5, align 8 %18 = load i64, ptr %6, align 8 %19 = load i64, ptr %7, align 8 %20 = call i32 @sock_ioctl(ptr noundef %17, i64 noundef %18, i64 noundef %19) store i32 %20, ptr %4, align 4 br label %53 21: ; preds = %3 %22 = load ptr, ptr %5, align 8 %23 = load i64, ptr %6, align 8 %24 = load i64, ptr %7, align 8 %25 = call i32 @rtc_ioctl(ptr noundef %22, i64 noundef %23, i64 noundef %24) store i32 %25, ptr %4, align 4 br label %53 26: ; preds = %3, %3 %27 = load ptr, ptr %5, align 8 %28 = load i64, ptr %6, align 8 %29 = load i64, ptr %7, align 8 %30 = call i32 @block_ioctl(ptr noundef %27, i64 noundef %28, i64 noundef %29) store i32 %30, ptr %4, align 4 br label %53 31: ; preds = %3 %32 = load ptr, ptr %5, align 8 %33 = load i64, ptr %6, align 8 %34 = load i64, ptr %7, align 8 %35 = call i32 @scsi_ioctl(ptr noundef %32, i64 noundef %33, i64 noundef %34) store i32 %35, ptr %4, align 4 br label %53 36: ; preds = %3 %37 = load ptr, ptr %5, align 8 %38 = load i64, ptr %6, align 8 %39 = load i64, ptr %7, align 8 %40 = call i32 @loop_ioctl(ptr noundef %37, i64 noundef %38, i64 noundef %39) store i32 %40, ptr %4, align 4 br label %53 41: ; preds = %3 %42 = load ptr, ptr %5, align 8 %43 = load i64, ptr %6, align 8 %44 = load i64, ptr %7, align 8 %45 = call i32 @mtd_ioctl(ptr noundef %42, i64 noundef %43, i64 noundef %44) store i32 %45, ptr %4, align 4 br label %53 46: ; preds = %3, %3 %47 = load ptr, ptr %5, align 8 %48 = load i64, ptr %6, align 8 %49 = load i64, ptr %7, align 8 %50 = call i32 @ubi_ioctl(ptr noundef %47, i64 noundef %48, i64 noundef %49) store i32 %50, ptr %4, align 4 br label %53 51: ; preds = %3 br label %52 52: ; preds = %51 store i32 0, ptr %4, align 4 br label %53 53: ; preds = %52, %46, %41, %36, %31, %26, %21, %16, %11 %54 = load i32, ptr %4, align 4 ret i32 %54 } declare i32 @term_ioctl(ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @sock_ioctl(ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @rtc_ioctl(ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @block_ioctl(ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @scsi_ioctl(ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @loop_ioctl(ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @mtd_ioctl(ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @ubi_ioctl(ptr noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvk5a2v6i.c' source_filename = "/tmp/tmpvk5a2v6i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @STDIN_FILENO = dso_local global i32 0, align 4 @TCSAFLUSH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @restaure_term(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load i32, ptr @STDIN_FILENO, align 4 %5 = load i32, ptr @TCSAFLUSH, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i64 @tcsetattr(i32 noundef %4, i32 noundef %5, ptr noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %1 store i32 -1, ptr %2, align 4 br label %11 10: ; preds = %1 store i32 0, ptr %2, align 4 br label %11 11: ; preds = %10, %9 %12 = load i32, ptr %2, align 4 ret i32 %12 } declare i64 @tcsetattr(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/tmpvk5a2v6i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @STDIN_FILENO = dso_local global i32 0, align 4 @TCSAFLUSH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @restaure_term(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load i32, ptr @STDIN_FILENO, align 4 %5 = load i32, ptr @TCSAFLUSH, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i64 @tcsetattr(i32 noundef %4, i32 noundef %5, ptr noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %1 store i32 -1, ptr %2, align 4 br label %11 10: ; preds = %1 store i32 0, ptr %2, align 4 br label %11 11: ; preds = %10, %9 %12 = load i32, ptr %2, align 4 ret i32 %12 } declare i64 @tcsetattr(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/tmp3_14a8kb.c' source_filename = "/tmp/tmp3_14a8kb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Descriptor_length = 0x%x\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"country_code = 0x%x : %c%c%c\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"rating = 0x%x\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"******END******\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @x55_Tag_DescriptorParser(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store ptr null, ptr %7, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp eq ptr null, %8 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 -1, ptr %3, align 4 br label %104 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 0 %15 = load i8, ptr %14, align 1 %16 = call i32 @Parser_DisplayTagInfo(i32 noundef %12, i8 noundef zeroext %15) %17 = load i32, ptr %4, align 4 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 1 %20 = load i8, ptr %19, align 1 %21 = zext i8 %20 to i32 %22 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %17, ptr noundef @.str, i32 noundef %21) %23 = load ptr, ptr %5, align 8 store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 2 store ptr %25, ptr %7, align 8 store i32 0, ptr %6, align 4 br label %26 26: ; preds = %94, %11 %27 = load i32, ptr %6, align 4 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 1 %30 = load i8, ptr %29, align 1 %31 = zext i8 %30 to i32 %32 = icmp ult i32 %27, %31 br i1 %32, label %33, label %97 33: ; preds = %26 %34 = load i32, ptr %4, align 4 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %6, align 4 %37 = zext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = zext i8 %39 to i32 %41 = and i32 %40, 255 %42 = shl i32 %41, 16 %43 = load ptr, ptr %7, align 8 %44 = load i32, ptr %6, align 4 %45 = add i32 %44, 1 %46 = zext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %43, i64 %46 %48 = load i8, ptr %47, align 1 %49 = zext i8 %48 to i32 %50 = and i32 %49, 255 %51 = shl i32 %50, 8 %52 = or i32 %42, %51 %53 = load ptr, ptr %7, align 8 %54 = load i32, ptr %6, align 4 %55 = add i32 %54, 2 %56 = zext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %53, i64 %56 %58 = load i8, ptr %57, align 1 %59 = zext i8 %58 to i32 %60 = and i32 %59, 255 %61 = or i32 %52, %60 %62 = load ptr, ptr %7, align 8 %63 = load i32, ptr %6, align 4 %64 = zext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 %66 = load i8, ptr %65, align 1 %67 = zext i8 %66 to i32 %68 = load ptr, ptr %7, align 8 %69 = load i32, ptr %6, align 4 %70 = add i32 %69, 1 %71 = zext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %68, i64 %71 %73 = load i8, ptr %72, align 1 %74 = zext i8 %73 to i32 %75 = load ptr, ptr %7, align 8 %76 = load i32, ptr %6, align 4 %77 = add i32 %76, 2 %78 = zext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %75, i64 %78 %80 = load i8, ptr %79, align 1 %81 = zext i8 %80 to i32 %82 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %34, ptr noundef @.str.1, i32 noundef %61, i32 noundef %67, i32 noundef %74, i32 noundef %81) %83 = load i32, ptr %4, align 4 %84 = load ptr, ptr %7, align 8 %85 = load i32, ptr %6, align 4 %86 = add i32 %85, 3 %87 = zext i32 %86 to i64 %88 = getelementptr inbounds i8, ptr %84, i64 %87 %89 = load i8, ptr %88, align 1 %90 = zext i8 %89 to i32 %91 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %83, ptr noundef @.str.2, i32 noundef %90) %92 = load ptr, ptr %7, align 8 %93 = getelementptr inbounds i8, ptr %92, i64 4 store ptr %93, ptr %7, align 8 br label %94 94: ; preds = %33 %95 = load i32, ptr %6, align 4 %96 = add i32 %95, 4 store i32 %96, ptr %6, align 4 br label %26, !llvm.loop !6 97: ; preds = %26 %98 = load i32, ptr %4, align 4 %99 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %98, ptr noundef @.str.3) %100 = load ptr, ptr %5, align 8 %101 = getelementptr inbounds i8, ptr %100, i64 1 %102 = load i8, ptr %101, align 1 %103 = zext i8 %102 to i32 store i32 %103, ptr %3, align 4 br label %104 104: ; preds = %97, %10 %105 = load i32, ptr %3, align 4 ret i32 %105 } declare i32 @Parser_DisplayTagInfo(i32 noundef, i8 noundef zeroext) #1 declare i32 @Parser_TsPacketLog(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3_14a8kb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Descriptor_length = 0x%x\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"country_code = 0x%x : %c%c%c\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"rating = 0x%x\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"******END******\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @x55_Tag_DescriptorParser(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store ptr null, ptr %7, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp eq ptr null, %8 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 -1, ptr %3, align 4 br label %109 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 0 %15 = load i8, ptr %14, align 1 %16 = call i32 @Parser_DisplayTagInfo(i32 noundef %12, i8 noundef zeroext %15) %17 = load i32, ptr %4, align 4 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 1 %20 = load i8, ptr %19, align 1 %21 = zext i8 %20 to i32 %22 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %17, ptr noundef @.str, i32 noundef %21) %23 = load ptr, ptr %5, align 8 store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 2 store ptr %25, ptr %7, align 8 store i32 0, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = icmp ult i32 %26, %30 br i1 %31, label %.lr.ph, label %102 .lr.ph: ; preds = %11 br label %32 32: ; preds = %.lr.ph, %93 %33 = load i32, ptr %4, align 4 %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %6, align 4 %36 = zext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = zext i8 %38 to i32 %40 = and i32 %39, 255 %41 = shl i32 %40, 16 %42 = load ptr, ptr %7, align 8 %43 = load i32, ptr %6, align 4 %44 = add i32 %43, 1 %45 = zext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %42, i64 %45 %47 = load i8, ptr %46, align 1 %48 = zext i8 %47 to i32 %49 = and i32 %48, 255 %50 = shl i32 %49, 8 %51 = or i32 %41, %50 %52 = load ptr, ptr %7, align 8 %53 = load i32, ptr %6, align 4 %54 = add i32 %53, 2 %55 = zext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %52, i64 %55 %57 = load i8, ptr %56, align 1 %58 = zext i8 %57 to i32 %59 = and i32 %58, 255 %60 = or i32 %51, %59 %61 = load ptr, ptr %7, align 8 %62 = load i32, ptr %6, align 4 %63 = zext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 %65 = load i8, ptr %64, align 1 %66 = zext i8 %65 to i32 %67 = load ptr, ptr %7, align 8 %68 = load i32, ptr %6, align 4 %69 = add i32 %68, 1 %70 = zext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %67, i64 %70 %72 = load i8, ptr %71, align 1 %73 = zext i8 %72 to i32 %74 = load ptr, ptr %7, align 8 %75 = load i32, ptr %6, align 4 %76 = add i32 %75, 2 %77 = zext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %74, i64 %77 %79 = load i8, ptr %78, align 1 %80 = zext i8 %79 to i32 %81 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %33, ptr noundef @.str.1, i32 noundef %60, i32 noundef %66, i32 noundef %73, i32 noundef %80) %82 = load i32, ptr %4, align 4 %83 = load ptr, ptr %7, align 8 %84 = load i32, ptr %6, align 4 %85 = add i32 %84, 3 %86 = zext i32 %85 to i64 %87 = getelementptr inbounds i8, ptr %83, i64 %86 %88 = load i8, ptr %87, align 1 %89 = zext i8 %88 to i32 %90 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %82, ptr noundef @.str.2, i32 noundef %89) %91 = load ptr, ptr %7, align 8 %92 = getelementptr inbounds i8, ptr %91, i64 4 store ptr %92, ptr %7, align 8 br label %93 93: ; preds = %32 %94 = load i32, ptr %6, align 4 %95 = add i32 %94, 4 store i32 %95, ptr %6, align 4 %96 = load i32, ptr %6, align 4 %97 = load ptr, ptr %5, align 8 %98 = getelementptr inbounds i8, ptr %97, i64 1 %99 = load i8, ptr %98, align 1 %100 = zext i8 %99 to i32 %101 = icmp ult i32 %96, %100 br i1 %101, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %93 br label %102 102: ; preds = %._crit_edge, %11 %103 = load i32, ptr %4, align 4 %104 = call i32 (i32, ptr, ...) @Parser_TsPacketLog(i32 noundef %103, ptr noundef @.str.3) %105 = load ptr, ptr %5, align 8 %106 = getelementptr inbounds i8, ptr %105, i64 1 %107 = load i8, ptr %106, align 1 %108 = zext i8 %107 to i32 store i32 %108, ptr %3, align 4 br label %109 109: ; preds = %102, %10 %110 = load i32, ptr %3, align 4 ret i32 %110 } declare i32 @Parser_DisplayTagInfo(i32 noundef, i8 noundef zeroext) #1 declare i32 @Parser_TsPacketLog(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6pozqdtn.c' source_filename = "/tmp/tmp6pozqdtn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; 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 [8 x i32], align 16 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) 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, 8 br i1 %8, label %9, label %20 9: ; preds = %6 %10 = load i32, ptr %3, align 4 %11 = and i32 %10, 1 %12 = load i32, ptr %2, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %13 store i32 %11, ptr %14, align 4 %15 = load i32, ptr %3, align 4 %16 = ashr i32 %15, 1 store i32 %16, ptr %3, align 4 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 store i32 0, ptr %2, align 4 br label %21 21: ; preds = %31, %20 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %22, 8 br i1 %23, label %24, label %34 24: ; preds = %21 %25 = load i32, ptr %2, align 4 %26 = sub nsw i32 7, %25 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %27 %29 = load i32, ptr %28, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %29) br label %31 31: ; preds = %24 %32 = load i32, ptr %2, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %2, align 4 br label %21, !llvm.loop !8 34: ; preds = %21 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6pozqdtn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; 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 [8 x i32], align 16 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 8 br i1 %7, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %16 %9 = load i32, ptr %3, align 4 %10 = and i32 %9, 1 %11 = load i32, ptr %2, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %12 store i32 %10, ptr %13, align 4 %14 = load i32, ptr %3, align 4 %15 = ashr i32 %14, 1 store i32 %15, ptr %3, align 4 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, 8 br i1 %20, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %0 store i32 0, ptr %2, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %22, 8 br i1 %23, label %.lr.ph2, label %36 .lr.ph2: ; preds = %21 br label %24 24: ; preds = %.lr.ph2, %31 %25 = load i32, ptr %2, align 4 %26 = sub nsw i32 7, %25 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %27 %29 = load i32, ptr %28, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %29) br label %31 31: ; preds = %24 %32 = load i32, ptr %2, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %2, align 4 %34 = load i32, ptr %2, align 4 %35 = icmp slt i32 %34, 8 br i1 %35, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %31 br label %36 36: ; preds = %._crit_edge3, %21 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpkfb3d7p_.c' source_filename = "/tmp/tmpkfb3d7p_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @to_lowercase(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %26, %1 %5 = load ptr, ptr %2, align 8 %6 = load ptr, ptr %5, align 8 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i8, ptr %6, i64 %8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %29 13: ; preds = %4 %14 = load ptr, ptr %2, align 8 %15 = load ptr, ptr %14, align 8 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = call signext i8 @tolower(i8 noundef signext %19) %21 = load ptr, ptr %2, align 8 %22 = load ptr, ptr %21, align 8 %23 = load i32, ptr %3, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 store i8 %20, ptr %25, align 1 br label %26 26: ; preds = %13 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 br label %4, !llvm.loop !6 29: ; preds = %4 ret void } declare signext i8 @tolower(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/tmpkfb3d7p_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @to_lowercase(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph, label %36 .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %25 %13 = load ptr, ptr %2, align 8 %14 = load ptr, ptr %13, align 8 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = call signext i8 @tolower(i8 noundef signext %18) %20 = load ptr, ptr %2, align 8 %21 = load ptr, ptr %20, align 8 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 store i8 %19, ptr %24, align 1 br label %25 25: ; preds = %12 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %3, align 4 %28 = load ptr, ptr %2, align 8 %29 = load ptr, ptr %28, align 8 %30 = load i32, ptr %3, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp ne i32 %34, 0 br i1 %35, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %36 36: ; preds = %._crit_edge, %1 ret void } declare signext i8 @tolower(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/tmpne33fikr.c' source_filename = "/tmp/tmpne33fikr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AFMT_S16_LE = dso_local global i32 0, align 4 @AFMT_U8 = dso_local global i32 0, align 4 @EAGAIN = dso_local global i64 0, align 8 @O_RDONLY = dso_local global i32 0, align 4 @SNDCTL_DSP_SETFMT = dso_local global i32 0, align 4 @SNDCTL_DSP_SPEED = dso_local global i32 0, align 4 @SNDCTL_DSP_STEREO = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 @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/tmpne33fikr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AFMT_S16_LE = dso_local global i32 0, align 4 @AFMT_U8 = dso_local global i32 0, align 4 @EAGAIN = dso_local global i64 0, align 8 @O_RDONLY = dso_local global i32 0, align 4 @SNDCTL_DSP_SETFMT = dso_local global i32 0, align 4 @SNDCTL_DSP_SPEED = dso_local global i32 0, align 4 @SNDCTL_DSP_STEREO = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 @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/tmpvtvz3n0o.c' source_filename = "/tmp/tmpvtvz3n0o.c" target datalayout = "e-m:e-p270: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/tmpvtvz3n0o.c" target datalayout = "e-m:e-p270: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/tmp4scr3ux_.c' source_filename = "/tmp/tmp4scr3ux_.c" target datalayout = "e-m:e-p270: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.player = private unnamed_addr constant [13 x i32] [i32 6, i32 12, i32 18, i32 24, i32 30, i32 36, i32 30, i32 30, i32 25, i32 30, i32 40, i32 50, i32 30], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [13 x i32], align 16 %4 = alloca [5 x i32], align 16 store i32 0, ptr %1, align 4 %5 = call i32 (...) @menu() call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.player, i64 52, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 20, i1 false) %6 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0 %7 = call i32 @rollDice(ptr noundef %6) store i32 0, ptr %2, align 4 br label %8 8: ; preds = %17, %0 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 5 br i1 %10, label %11, label %20 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %11 %18 = load i32, ptr %2, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %2, align 4 br label %8, !llvm.loop !6 20: ; preds = %8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @menu(...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 declare i32 @rollDice(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4scr3ux_.c" target datalayout = "e-m:e-p270: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.player = private unnamed_addr constant [13 x i32] [i32 6, i32 12, i32 18, i32 24, i32 30, i32 36, i32 30, i32 30, i32 25, i32 30, i32 40, i32 50, i32 30], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [13 x i32], align 16 %4 = alloca [5 x i32], align 16 store i32 0, ptr %1, align 4 %5 = call i32 (...) @menu() call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.player, i64 52, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 20, i1 false) %6 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0 %7 = call i32 @rollDice(ptr noundef %6) store i32 0, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %8, 5 br i1 %9, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %16 %11 = load i32, ptr %2, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %10 %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, 5 br i1 %20, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %0 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @menu(...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 declare i32 @rollDice(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwcvtwdcn.c' source_filename = "/tmp/tmpwcvtwdcn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0x11\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isodigit_0x11() #0 { %1 = call i64 @isodigit(i32 noundef 17) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 90, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isodigit(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/tmpwcvtwdcn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0x11\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isodigit_0x11() #0 { %1 = call i64 @isodigit(i32 noundef 17) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 90, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isodigit(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/tmp7lifjua7.c' source_filename = "/tmp/tmp7lifjua7.c" target datalayout = "e-m:e-p270: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 @read_options(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 0 %7 = load i8, ptr %6, align 1 %8 = zext i8 %7 to i32 store i32 %8, ptr %3, align 4 br label %9 9: ; preds = %18, %1 %10 = load i32, ptr %3, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr @EOF, align 4 %15 = icmp ne i32 %13, %14 br label %16 16: ; preds = %12, %9 %17 = phi i1 [ false, %9 ], [ %15, %12 ] br i1 %17, label %18, label %30 18: ; preds = %16 %19 = load i32, ptr %3, align 4 %20 = and i32 %19, 255 store i32 %20, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, %21 store i32 %23, ptr %4, align 4 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 store i32 %29, ptr %3, align 4 br label %9, !llvm.loop !6 30: ; preds = %16 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %4, align 4 ret i32 %32 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp7lifjua7.c" target datalayout = "e-m:e-p270: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 @read_options(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 0 %7 = load i8, ptr %6, align 1 %8 = zext i8 %7 to i32 store i32 %8, ptr %3, align 4 br label %9 9: ; preds = %18, %1 %10 = load i32, ptr %3, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr @EOF, align 4 %15 = icmp ne i32 %13, %14 br label %16 16: ; preds = %12, %9 %17 = phi i1 [ false, %9 ], [ %15, %12 ] br i1 %17, label %18, label %30 18: ; preds = %16 %19 = load i32, ptr %3, align 4 %20 = and i32 %19, 255 store i32 %20, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, %21 store i32 %23, ptr %4, align 4 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 store i32 %29, ptr %3, align 4 br label %9, !llvm.loop !6 30: ; preds = %16 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %4, align 4 ret i32 %32 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp8v8sh0sh.c' source_filename = "/tmp/tmp8v8sh0sh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fixtype(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 ptr @fixit(ptr noundef %3, ptr noundef %4) ret ptr %5 } declare ptr @fixit(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/tmp8v8sh0sh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fixtype(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 ptr @fixit(ptr noundef %3, ptr noundef %4) ret ptr %5 } declare ptr @fixit(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/tmp4a0pzcom.c' source_filename = "/tmp/tmp4a0pzcom.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"base addr: 0x%08x\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"limit: 0x%05x\0A\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"g %d, db %d, p %d, dpl %x, s %d, type %x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_segdesc(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds i32, ptr %12, i32 1 store ptr %13, ptr %2, align 8 %14 = load i32, ptr %12, align 4 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 store i32 %15, ptr %4, align 4 %16 = load ptr, ptr %2, align 8 %17 = getelementptr inbounds i32, ptr %16, i32 1 store ptr %17, ptr %2, align 8 %18 = load i32, ptr %16, align 4 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = shl i32 %19, 8 %21 = load i32, ptr %4, align 4 %22 = or i32 %21, %20 store i32 %22, ptr %4, align 4 %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds i32, ptr %23, i32 1 store ptr %24, ptr %2, align 8 %25 = load i32, ptr %23, align 4 store i32 %25, ptr %5, align 4 %26 = load i32, ptr %5, align 4 store i32 %26, ptr %3, align 4 %27 = load ptr, ptr %2, align 8 %28 = getelementptr inbounds i32, ptr %27, i32 1 store ptr %28, ptr %2, align 8 %29 = load i32, ptr %27, align 4 store i32 %29, ptr %5, align 4 %30 = load i32, ptr %5, align 4 %31 = shl i32 %30, 8 %32 = load i32, ptr %3, align 4 %33 = or i32 %32, %31 store i32 %33, ptr %3, align 4 %34 = load ptr, ptr %2, align 8 %35 = getelementptr inbounds i32, ptr %34, i32 1 store ptr %35, ptr %2, align 8 %36 = load i32, ptr %34, align 4 store i32 %36, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = shl i32 %37, 16 %39 = load i32, ptr %3, align 4 %40 = or i32 %39, %38 store i32 %40, ptr %3, align 4 %41 = load ptr, ptr %2, align 8 %42 = getelementptr inbounds i32, ptr %41, i32 1 store ptr %42, ptr %2, align 8 %43 = load i32, ptr %41, align 4 store i32 %43, ptr %5, align 4 %44 = load i32, ptr %5, align 4 %45 = and i32 %44, 15 store i32 %45, ptr %11, align 4 %46 = load i32, ptr %5, align 4 %47 = ashr i32 %46, 4 %48 = and i32 %47, 1 store i32 %48, ptr %10, align 4 %49 = load i32, ptr %5, align 4 %50 = ashr i32 %49, 5 %51 = and i32 %50, 3 store i32 %51, ptr %9, align 4 %52 = load i32, ptr %5, align 4 %53 = ashr i32 %52, 7 %54 = and i32 %53, 1 store i32 %54, ptr %8, align 4 %55 = load ptr, ptr %2, align 8 %56 = getelementptr inbounds i32, ptr %55, i32 1 store ptr %56, ptr %2, align 8 %57 = load i32, ptr %55, align 4 store i32 %57, ptr %5, align 4 %58 = load i32, ptr %5, align 4 %59 = and i32 %58, 15 %60 = shl i32 %59, 16 %61 = load i32, ptr %4, align 4 %62 = or i32 %61, %60 store i32 %62, ptr %4, align 4 %63 = load i32, ptr %5, align 4 %64 = ashr i32 %63, 6 %65 = and i32 %64, 1 store i32 %65, ptr %7, align 4 %66 = load i32, ptr %5, align 4 %67 = ashr i32 %66, 7 %68 = and i32 %67, 1 store i32 %68, ptr %6, align 4 %69 = load ptr, ptr %2, align 8 %70 = getelementptr inbounds i32, ptr %69, i32 1 store ptr %70, ptr %2, align 8 %71 = load i32, ptr %69, align 4 store i32 %71, ptr %5, align 4 %72 = load i32, ptr %5, align 4 %73 = shl i32 %72, 24 %74 = load i32, ptr %3, align 4 %75 = or i32 %74, %73 store i32 %75, ptr %3, align 4 %76 = load i32, ptr %3, align 4 %77 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %76) %78 = load i32, ptr %4, align 4 %79 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %78) %80 = load i32, ptr %6, align 4 %81 = load i32, ptr %7, align 4 %82 = load i32, ptr %8, align 4 %83 = load i32, ptr %9, align 4 %84 = load i32, ptr %10, align 4 %85 = load i32, ptr %11, align 4 %86 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %80, i32 noundef %81, i32 noundef %82, i32 noundef %83, i32 noundef %84, i32 noundef %85) ret void } 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/tmp4a0pzcom.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"base addr: 0x%08x\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"limit: 0x%05x\0A\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"g %d, db %d, p %d, dpl %x, s %d, type %x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_segdesc(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds i32, ptr %12, i32 1 store ptr %13, ptr %2, align 8 %14 = load i32, ptr %12, align 4 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 store i32 %15, ptr %4, align 4 %16 = load ptr, ptr %2, align 8 %17 = getelementptr inbounds i32, ptr %16, i32 1 store ptr %17, ptr %2, align 8 %18 = load i32, ptr %16, align 4 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = shl i32 %19, 8 %21 = load i32, ptr %4, align 4 %22 = or i32 %21, %20 store i32 %22, ptr %4, align 4 %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds i32, ptr %23, i32 1 store ptr %24, ptr %2, align 8 %25 = load i32, ptr %23, align 4 store i32 %25, ptr %5, align 4 %26 = load i32, ptr %5, align 4 store i32 %26, ptr %3, align 4 %27 = load ptr, ptr %2, align 8 %28 = getelementptr inbounds i32, ptr %27, i32 1 store ptr %28, ptr %2, align 8 %29 = load i32, ptr %27, align 4 store i32 %29, ptr %5, align 4 %30 = load i32, ptr %5, align 4 %31 = shl i32 %30, 8 %32 = load i32, ptr %3, align 4 %33 = or i32 %32, %31 store i32 %33, ptr %3, align 4 %34 = load ptr, ptr %2, align 8 %35 = getelementptr inbounds i32, ptr %34, i32 1 store ptr %35, ptr %2, align 8 %36 = load i32, ptr %34, align 4 store i32 %36, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = shl i32 %37, 16 %39 = load i32, ptr %3, align 4 %40 = or i32 %39, %38 store i32 %40, ptr %3, align 4 %41 = load ptr, ptr %2, align 8 %42 = getelementptr inbounds i32, ptr %41, i32 1 store ptr %42, ptr %2, align 8 %43 = load i32, ptr %41, align 4 store i32 %43, ptr %5, align 4 %44 = load i32, ptr %5, align 4 %45 = and i32 %44, 15 store i32 %45, ptr %11, align 4 %46 = load i32, ptr %5, align 4 %47 = ashr i32 %46, 4 %48 = and i32 %47, 1 store i32 %48, ptr %10, align 4 %49 = load i32, ptr %5, align 4 %50 = ashr i32 %49, 5 %51 = and i32 %50, 3 store i32 %51, ptr %9, align 4 %52 = load i32, ptr %5, align 4 %53 = ashr i32 %52, 7 %54 = and i32 %53, 1 store i32 %54, ptr %8, align 4 %55 = load ptr, ptr %2, align 8 %56 = getelementptr inbounds i32, ptr %55, i32 1 store ptr %56, ptr %2, align 8 %57 = load i32, ptr %55, align 4 store i32 %57, ptr %5, align 4 %58 = load i32, ptr %5, align 4 %59 = and i32 %58, 15 %60 = shl i32 %59, 16 %61 = load i32, ptr %4, align 4 %62 = or i32 %61, %60 store i32 %62, ptr %4, align 4 %63 = load i32, ptr %5, align 4 %64 = ashr i32 %63, 6 %65 = and i32 %64, 1 store i32 %65, ptr %7, align 4 %66 = load i32, ptr %5, align 4 %67 = ashr i32 %66, 7 %68 = and i32 %67, 1 store i32 %68, ptr %6, align 4 %69 = load ptr, ptr %2, align 8 %70 = getelementptr inbounds i32, ptr %69, i32 1 store ptr %70, ptr %2, align 8 %71 = load i32, ptr %69, align 4 store i32 %71, ptr %5, align 4 %72 = load i32, ptr %5, align 4 %73 = shl i32 %72, 24 %74 = load i32, ptr %3, align 4 %75 = or i32 %74, %73 store i32 %75, ptr %3, align 4 %76 = load i32, ptr %3, align 4 %77 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %76) %78 = load i32, ptr %4, align 4 %79 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %78) %80 = load i32, ptr %6, align 4 %81 = load i32, ptr %7, align 4 %82 = load i32, ptr %8, align 4 %83 = load i32, ptr %9, align 4 %84 = load i32, ptr %10, align 4 %85 = load i32, ptr %11, align 4 %86 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %80, i32 noundef %81, i32 noundef %82, i32 noundef %83, i32 noundef %84, i32 noundef %85) ret void } 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/tmphrtoqkc8.c' source_filename = "/tmp/tmphrtoqkc8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 store i64 0, ptr %8, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load i64, ptr %6, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %29 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %29 15: ; preds = %12 br label %16 16: ; preds = %20, %15 %17 = load i64, ptr %8, align 8 %18 = load i64, ptr %6, align 8 %19 = icmp ult i64 %17, %18 br i1 %19, label %20, label %28 20: ; preds = %16 %21 = load i32, ptr %5, align 4 %22 = trunc i32 %21 to i8 %23 = load ptr, ptr %7, align 8 %24 = load i64, ptr %8, align 8 %25 = getelementptr inbounds i8, ptr %23, i64 %24 store i8 %22, ptr %25, align 1 %26 = load i64, ptr %8, align 8 %27 = add i64 %26, 1 store i64 %27, ptr %8, align 8 br label %16, !llvm.loop !6 28: ; preds = %16 br label %29 29: ; preds = %28, %12, %3 %30 = load ptr, ptr %4, align 8 ret ptr %30 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmphrtoqkc8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 store i64 0, ptr %8, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load i64, ptr %6, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %31 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %31 15: ; preds = %12 %16 = load i64, ptr %8, align 8 %17 = load i64, ptr %6, align 8 %18 = icmp ult i64 %16, %17 br i1 %18, label %.lr.ph, label %30 .lr.ph: ; preds = %15 br label %19 19: ; preds = %.lr.ph, %19 %20 = load i32, ptr %5, align 4 %21 = trunc i32 %20 to i8 %22 = load ptr, ptr %7, align 8 %23 = load i64, ptr %8, align 8 %24 = getelementptr inbounds i8, ptr %22, i64 %23 store i8 %21, ptr %24, align 1 %25 = load i64, ptr %8, align 8 %26 = add i64 %25, 1 store i64 %26, ptr %8, align 8 %27 = load i64, ptr %8, align 8 %28 = load i64, ptr %6, align 8 %29 = icmp ult i64 %27, %28 br i1 %29, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %30 30: ; preds = %._crit_edge, %15 br label %31 31: ; preds = %30, %12, %3 %32 = load ptr, ptr %4, align 8 ret ptr %32 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp97jqen3p.c' source_filename = "/tmp/tmp97jqen3p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @the_function() %2 = call i32 (...) @the_static_function() %3 = call i32 (...) @the_used_function() %4 = call i32 (...) @the_hidden_function() %5 = call i32 (...) @the_visible_function() ret i32 0 } declare i32 @the_function(...) #1 declare i32 @the_static_function(...) #1 declare i32 @the_used_function(...) #1 declare i32 @the_hidden_function(...) #1 declare i32 @the_visible_function(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp97jqen3p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @the_function() %2 = call i32 (...) @the_static_function() %3 = call i32 (...) @the_used_function() %4 = call i32 (...) @the_hidden_function() %5 = call i32 (...) @the_visible_function() ret i32 0 } declare i32 @the_function(...) #1 declare i32 @the_static_function(...) #1 declare i32 @the_used_function(...) #1 declare i32 @the_hidden_function(...) #1 declare i32 @the_visible_function(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk5lsh2t2.c' source_filename = "/tmp/tmpk5lsh2t2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @all_erlang_tests() #0 { %1 = call i32 (...) @test_erlang_comments() %2 = call i32 (...) @test_erlang_comment_entities() ret void } declare i32 @test_erlang_comments(...) #1 declare i32 @test_erlang_comment_entities(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk5lsh2t2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @all_erlang_tests() #0 { %1 = call i32 (...) @test_erlang_comments() %2 = call i32 (...) @test_erlang_comment_entities() ret void } declare i32 @test_erlang_comments(...) #1 declare i32 @test_erlang_comment_entities(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq55fu8qw.c' source_filename = "/tmp/tmpq55fu8qw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @LOG_DAEMON = dso_local global i32 0, align 4 @LOG_PID = dso_local global i32 0, align 4 @SIGCHLD = dso_local global i32 0, align 4 @SIGHUP = dso_local global i32 0, align 4 @SIG_IGN = dso_local global i32 0, align 4 @_SC_OPEN_MAX = 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/tmpq55fu8qw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @LOG_DAEMON = dso_local global i32 0, align 4 @LOG_PID = dso_local global i32 0, align 4 @SIGCHLD = dso_local global i32 0, align 4 @SIGHUP = dso_local global i32 0, align 4 @SIG_IGN = dso_local global i32 0, align 4 @_SC_OPEN_MAX = 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/tmph1_wtizk.c' source_filename = "/tmp/tmph1_wtizk.c" target datalayout = "e-m:e-p270: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/tmph1_wtizk.c" target datalayout = "e-m:e-p270: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/tmpbrul56vn.c' source_filename = "/tmp/tmpbrul56vn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"error %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 20, ptr %6, align 4 store i32 20, ptr %7, align 4 %13 = call i64 @_mm_malloc(i32 noundef 1600, i32 noundef 16) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %9, align 8 %15 = call i64 @_mm_malloc(i32 noundef 1600, i32 noundef 16) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %10, align 8 %17 = call i64 @_mm_malloc(i32 noundef 1600, i32 noundef 16) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %11, align 8 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %29, %2 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 400 br i1 %21, label %22, label %32 22: ; preds = %19 %23 = load i32, ptr %8, align 4 %24 = sitofp i32 %23 to float %25 = load ptr, ptr %9, align 8 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds float, ptr %25, i64 %27 store float %24, ptr %28, align 4 br label %29 29: ; preds = %22 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %8, align 4 br label %19, !llvm.loop !6 32: ; preds = %19 %33 = load ptr, ptr %9, align 8 %34 = load ptr, ptr %10, align 8 %35 = call i32 @gaussian_blur(ptr noundef %33, ptr noundef %34, i32 noundef 20, i32 noundef 20, float noundef 1.000000e+00, i32 noundef 1) %36 = load ptr, ptr %9, align 8 %37 = load ptr, ptr %11, align 8 %38 = call i32 @gaussian_blur(ptr noundef %36, ptr noundef %37, i32 noundef 20, i32 noundef 20, float noundef 1.000000e+00, i32 noundef 4) %39 = load ptr, ptr %10, align 8 %40 = load ptr, ptr %11, align 8 %41 = call i32 @compare(ptr noundef %39, ptr noundef %40, i32 noundef 400) store i32 %41, ptr %12, align 4 %42 = load i32, ptr %12, align 4 %43 = call i32 @printf(ptr noundef @.str, i32 noundef %42) %44 = load ptr, ptr %9, align 8 %45 = call i32 @_mm_free(ptr noundef %44) %46 = load ptr, ptr %10, align 8 %47 = call i32 @_mm_free(ptr noundef %46) %48 = load ptr, ptr %11, align 8 %49 = call i32 @_mm_free(ptr noundef %48) ret i32 0 } declare i64 @_mm_malloc(i32 noundef, i32 noundef) #1 declare i32 @gaussian_blur(ptr noundef, ptr noundef, i32 noundef, i32 noundef, float noundef, i32 noundef) #1 declare i32 @compare(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @_mm_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbrul56vn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"error %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 20, ptr %6, align 4 store i32 20, ptr %7, align 4 %13 = call i64 @_mm_malloc(i32 noundef 1600, i32 noundef 16) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %9, align 8 %15 = call i64 @_mm_malloc(i32 noundef 1600, i32 noundef 16) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %10, align 8 %17 = call i64 @_mm_malloc(i32 noundef 1600, i32 noundef 16) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %11, align 8 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 400 br i1 %20, label %.lr.ph, label %33 .lr.ph: ; preds = %2 br label %21 21: ; preds = %.lr.ph, %28 %22 = load i32, ptr %8, align 4 %23 = sitofp i32 %22 to float %24 = load ptr, ptr %9, align 8 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds float, ptr %24, i64 %26 store float %23, ptr %27, align 4 br label %28 28: ; preds = %21 %29 = load i32, ptr %8, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = icmp slt i32 %31, 400 br i1 %32, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %33 33: ; preds = %._crit_edge, %2 %34 = load ptr, ptr %9, align 8 %35 = load ptr, ptr %10, align 8 %36 = call i32 @gaussian_blur(ptr noundef %34, ptr noundef %35, i32 noundef 20, i32 noundef 20, float noundef 1.000000e+00, i32 noundef 1) %37 = load ptr, ptr %9, align 8 %38 = load ptr, ptr %11, align 8 %39 = call i32 @gaussian_blur(ptr noundef %37, ptr noundef %38, i32 noundef 20, i32 noundef 20, float noundef 1.000000e+00, i32 noundef 4) %40 = load ptr, ptr %10, align 8 %41 = load ptr, ptr %11, align 8 %42 = call i32 @compare(ptr noundef %40, ptr noundef %41, i32 noundef 400) store i32 %42, ptr %12, align 4 %43 = load i32, ptr %12, align 4 %44 = call i32 @printf(ptr noundef @.str, i32 noundef %43) %45 = load ptr, ptr %9, align 8 %46 = call i32 @_mm_free(ptr noundef %45) %47 = load ptr, ptr %10, align 8 %48 = call i32 @_mm_free(ptr noundef %47) %49 = load ptr, ptr %11, align 8 %50 = call i32 @_mm_free(ptr noundef %49) ret i32 0 } declare i64 @_mm_malloc(i32 noundef, i32 noundef) #1 declare i32 @gaussian_blur(ptr noundef, ptr noundef, i32 noundef, i32 noundef, float noundef, i32 noundef) #1 declare i32 @compare(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @_mm_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqb_wybk0.c' source_filename = "/tmp/tmpqb_wybk0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bxor(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 = icmp ne i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %18 10: ; preds = %7, %2 %11 = load i32, ptr %3, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 0 br label %16 16: ; preds = %13, %10 %17 = phi i1 [ false, %10 ], [ %15, %13 ] br label %18 18: ; preds = %16, %7 %19 = phi i1 [ true, %7 ], [ %17, %16 ] %20 = zext i1 %19 to i32 ret i32 %20 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqb_wybk0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bxor(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 = icmp ne i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %18 10: ; preds = %7, %2 %11 = load i32, ptr %3, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 0 br label %16 16: ; preds = %13, %10 %17 = phi i1 [ false, %10 ], [ %15, %13 ] br label %18 18: ; preds = %16, %7 %19 = phi i1 [ true, %7 ], [ %17, %16 ] %20 = zext i1 %19 to i32 ret i32 %20 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzq62_uz1.c' source_filename = "/tmp/tmpzq62_uz1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_password(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store ptr null, ptr %3, align 8 store i64 0, ptr %4, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @printf(ptr noundef %6) %8 = call i32 (...) @disable_echo() %9 = load i32, ptr @stdin, align 4 %10 = call i32 @getline(ptr noundef %3, ptr noundef %4, i32 noundef %9) store i32 %10, ptr %5, align 4 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = call i32 @strip_newline(ptr noundef %11, i32 noundef %12) %14 = call i32 @printf(ptr noundef @.str) %15 = call i32 (...) @enable_echo() %16 = load ptr, ptr %3, align 8 ret ptr %16 } declare i32 @printf(ptr noundef) #1 declare i32 @disable_echo(...) #1 declare i32 @getline(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strip_newline(ptr noundef, i32 noundef) #1 declare i32 @enable_echo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzq62_uz1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_password(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store ptr null, ptr %3, align 8 store i64 0, ptr %4, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @printf(ptr noundef %6) %8 = call i32 (...) @disable_echo() %9 = load i32, ptr @stdin, align 4 %10 = call i32 @getline(ptr noundef %3, ptr noundef %4, i32 noundef %9) store i32 %10, ptr %5, align 4 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = call i32 @strip_newline(ptr noundef %11, i32 noundef %12) %14 = call i32 @printf(ptr noundef @.str) %15 = call i32 (...) @enable_echo() %16 = load ptr, ptr %3, align 8 ret ptr %16 } declare i32 @printf(ptr noundef) #1 declare i32 @disable_echo(...) #1 declare i32 @getline(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strip_newline(ptr noundef, i32 noundef) #1 declare i32 @enable_echo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk1zl9t02.c' source_filename = "/tmp/tmpk1zl9t02.c" target datalayout = "e-m:e-p270: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/tmpk1zl9t02.c" target datalayout = "e-m:e-p270: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/tmp58funtui.c' source_filename = "/tmp/tmp58funtui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @smf3low(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i32 0, ptr %13, align 4 br label %16 16: ; preds = %51, %6 %17 = load i32, ptr %13, align 4 %18 = load i32, ptr %8, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %54 20: ; preds = %16 %21 = load ptr, ptr %11, align 8 %22 = load i32, ptr %13, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds float, ptr %21, i64 %23 %25 = load float, ptr %24, align 4 %26 = call float @smff2w_2(float noundef %25) store float %26, ptr %15, align 4 %27 = load ptr, ptr %7, align 8 %28 = load ptr, ptr %10, align 8 %29 = load i32, ptr %13, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds float, ptr %28, i64 %30 %32 = load float, ptr %31, align 4 %33 = load float, ptr %15, align 4 %34 = call float @smf1lowv(ptr noundef %27, float noundef %32, float noundef %33) store float %34, ptr %14, align 4 %35 = load ptr, ptr %7, align 8 %36 = getelementptr inbounds float, ptr %35, i64 1 %37 = load float, ptr %14, align 4 %38 = load float, ptr %15, align 4 %39 = load ptr, ptr %12, align 8 %40 = load i32, ptr %13, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds float, ptr %39, i64 %41 %43 = load float, ptr %42, align 4 %44 = fsub float 1.000000e+00, %43 %45 = fmul float 1.000000e+00, %44 %46 = call float @smf2lowv(ptr noundef %36, float noundef %37, float noundef %38, float noundef %45) %47 = load ptr, ptr %9, align 8 %48 = load i32, ptr %13, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds float, ptr %47, i64 %49 store float %46, ptr %50, align 4 br label %51 51: ; preds = %20 %52 = load i32, ptr %13, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %13, align 4 br label %16, !llvm.loop !6 54: ; preds = %16 ret void } declare float @smff2w_2(float noundef) #1 declare float @smf1lowv(ptr noundef, float noundef, float noundef) #1 declare float @smf2lowv(ptr noundef, float noundef, float noundef, 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/tmp58funtui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @smf3low(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i32 0, ptr %13, align 4 %16 = load i32, ptr %13, align 4 %17 = load i32, ptr %8, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %56 .lr.ph: ; preds = %6 br label %19 19: ; preds = %.lr.ph, %50 %20 = load ptr, ptr %11, align 8 %21 = load i32, ptr %13, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds float, ptr %20, i64 %22 %24 = load float, ptr %23, align 4 %25 = call float @smff2w_2(float noundef %24) store float %25, ptr %15, align 4 %26 = load ptr, ptr %7, align 8 %27 = load ptr, ptr %10, align 8 %28 = load i32, ptr %13, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds float, ptr %27, i64 %29 %31 = load float, ptr %30, align 4 %32 = load float, ptr %15, align 4 %33 = call float @smf1lowv(ptr noundef %26, float noundef %31, float noundef %32) store float %33, ptr %14, align 4 %34 = load ptr, ptr %7, align 8 %35 = getelementptr inbounds float, ptr %34, i64 1 %36 = load float, ptr %14, align 4 %37 = load float, ptr %15, align 4 %38 = load ptr, ptr %12, align 8 %39 = load i32, ptr %13, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds float, ptr %38, i64 %40 %42 = load float, ptr %41, align 4 %43 = fsub float 1.000000e+00, %42 %44 = fmul float 1.000000e+00, %43 %45 = call float @smf2lowv(ptr noundef %35, float noundef %36, float noundef %37, float noundef %44) %46 = load ptr, ptr %9, align 8 %47 = load i32, ptr %13, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds float, ptr %46, i64 %48 store float %45, ptr %49, align 4 br label %50 50: ; preds = %19 %51 = load i32, ptr %13, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %13, align 4 %53 = load i32, ptr %13, align 4 %54 = load i32, ptr %8, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %56 56: ; preds = %._crit_edge, %6 ret void } declare float @smff2w_2(float noundef) #1 declare float @smf1lowv(ptr noundef, float noundef, float noundef) #1 declare float @smf2lowv(ptr noundef, float noundef, float noundef, 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/tmpeycb30q7.c' source_filename = "/tmp/tmpeycb30q7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"M82_f(const char *s) is not yet implemented!\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @M82_f(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @debug(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4) ret i32 1 } declare i32 @debug(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/tmpeycb30q7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"M82_f(const char *s) is not yet implemented!\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @M82_f(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @debug(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4) ret i32 1 } declare i32 @debug(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/tmpxegdbc05.c' source_filename = "/tmp/tmpxegdbc05.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MALLOC(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call ptr @malloc(i64 noundef %3) #2 ret ptr %4 } ; Function Attrs: allocsize(0) declare ptr @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 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxegdbc05.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MALLOC(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call ptr @malloc(i64 noundef %3) #2 ret ptr %4 } ; Function Attrs: allocsize(0) declare ptr @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 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6xw0w121.c' source_filename = "/tmp/tmp6xw0w121.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"largest factor = %d\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 i32, align 4 store i32 0, ptr %1, align 4 store i64 600851475143, ptr %2, align 8 store i32 2, ptr %3, align 4 br label %4 4: ; preds = %21, %0 %5 = load i64, ptr %2, align 8 %6 = icmp ugt i64 %5, 1 br i1 %6, label %7, label %22 7: ; preds = %4 %8 = load i64, ptr %2, align 8 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = urem i64 %8, %10 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %18 13: ; preds = %7 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = load i64, ptr %2, align 8 %17 = udiv i64 %16, %15 store i64 %17, ptr %2, align 8 br label %21 18: ; preds = %7 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %21 21: ; preds = %18, %13 br label %4, !llvm.loop !6 22: ; preds = %4 %23 = load i32, ptr %3, align 4 %24 = call i32 @printf(ptr noundef @.str, i32 noundef %23) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6xw0w121.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"largest factor = %d\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 i32, align 4 store i32 0, ptr %1, align 4 store i64 600851475143, ptr %2, align 8 store i32 2, ptr %3, align 4 %4 = load i64, ptr %2, align 8 %5 = icmp ugt i64 %4, 1 br i1 %5, label %.lr.ph, label %23 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %20 %7 = load i64, ptr %2, align 8 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = urem i64 %7, %9 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %17 12: ; preds = %6 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = load i64, ptr %2, align 8 %16 = udiv i64 %15, %14 store i64 %16, ptr %2, align 8 br label %20 17: ; preds = %6 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 br label %20 20: ; preds = %17, %12 %21 = load i64, ptr %2, align 8 %22 = icmp ugt i64 %21, 1 br i1 %22, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %23 23: ; preds = %._crit_edge, %0 %24 = load i32, ptr %3, align 4 %25 = call i32 @printf(ptr noundef @.str, i32 noundef %24) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpam1cu1ej.c' source_filename = "/tmp/tmpam1cu1ej.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MatrixExp3(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [3 x double], align 16 %6 = alloca [3 x double], align 16 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [3 x [3 x double]], align 16 %12 = alloca [3 x [3 x double]], align 16 %13 = alloca [3 x [3 x double]], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 24, i1 false) store double 0.000000e+00, ptr %7, align 8 store i32 0, ptr %8, align 4 call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 72, i1 false) %14 = getelementptr inbounds [3 x [3 x double]], ptr %11, i32 0, i32 0 %15 = getelementptr inbounds [3 x double], ptr %14, i32 0, i32 0 store double 1.000000e+00, ptr %15, align 16 %16 = getelementptr inbounds [3 x [3 x double]], ptr %11, i32 0, i32 1 %17 = getelementptr inbounds [3 x double], ptr %16, i32 0, i32 1 store double 1.000000e+00, ptr %17, align 8 %18 = getelementptr inbounds [3 x [3 x double]], ptr %11, i32 0, i32 2 %19 = getelementptr inbounds [3 x double], ptr %18, i32 0, i32 2 store double 1.000000e+00, ptr %19, align 16 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds [3 x double], ptr %5, i64 0, i64 0 %22 = call i32 @so3ToVec(ptr noundef %20, ptr noundef %21) %23 = getelementptr inbounds [3 x double], ptr %5, i64 0, i64 0 %24 = getelementptr inbounds [3 x double], ptr %6, i64 0, i64 0 %25 = call i32 @AxisAng3(ptr noundef %23, ptr noundef %24, ptr noundef %7) %26 = load double, ptr %7, align 8 %27 = fcmp olt double %26, 0x3EB0C6F7A0B5ED8D br i1 %27, label %28, label %32 28: ; preds = %2 %29 = getelementptr inbounds [3 x [3 x double]], ptr %11, i64 0, i64 0 %30 = load ptr, ptr %4, align 8 %31 = call i32 @Matrix3Equal(ptr noundef %29, ptr noundef %30) br label %99 32: ; preds = %2 %33 = load ptr, ptr %3, align 8 %34 = load double, ptr %7, align 8 %35 = fdiv double 1.000000e+00, %34 %36 = getelementptr inbounds [3 x [3 x double]], ptr %12, i64 0, i64 0 %37 = call i32 @Matrix3MultValue(ptr noundef %33, double noundef %35, ptr noundef %36) %38 = getelementptr inbounds [3 x [3 x double]], ptr %12, i64 0, i64 0 %39 = getelementptr inbounds [3 x [3 x double]], ptr %12, i64 0, i64 0 %40 = getelementptr inbounds [3 x [3 x double]], ptr %13, i64 0, i64 0 %41 = call i32 @Matrix3Mult(ptr noundef %38, ptr noundef %39, ptr noundef %40) store i32 0, ptr %9, align 4 br label %42 42: ; preds = %94, %32 %43 = load i32, ptr %9, align 4 %44 = icmp slt i32 %43, 3 br i1 %44, label %45, label %97 45: ; preds = %42 store i32 0, ptr %10, align 4 br label %46 46: ; preds = %90, %45 %47 = load i32, ptr %10, align 4 %48 = icmp slt i32 %47, 3 br i1 %48, label %49, label %93 49: ; preds = %46 %50 = load i32, ptr %9, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [3 x [3 x double]], ptr %11, i64 0, i64 %51 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [3 x double], ptr %52, i64 0, i64 %54 %56 = load double, ptr %55, align 8 %57 = load double, ptr %7, align 8 %58 = call double @sin(double noundef %57) #5 %59 = load ptr, ptr %3, align 8 %60 = load i32, ptr %9, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [3 x double], ptr %59, i64 %61 %63 = load i32, ptr %10, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [3 x double], ptr %62, i64 0, i64 %64 %66 = load double, ptr %65, align 8 %67 = fmul double %58, %66 %68 = load double, ptr %7, align 8 %69 = fdiv double %67, %68 %70 = fadd double %56, %69 %71 = load double, ptr %7, align 8 %72 = call i32 @cos(double noundef %71) %73 = sub nsw i32 1, %72 %74 = sitofp i32 %73 to double %75 = load i32, ptr %9, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [3 x [3 x double]], ptr %13, i64 0, i64 %76 %78 = load i32, ptr %10, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [3 x double], ptr %77, i64 0, i64 %79 %81 = load double, ptr %80, align 8 %82 = call double @llvm.fmuladd.f64(double %74, double %81, double %70) %83 = load ptr, ptr %4, align 8 %84 = load i32, ptr %9, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [3 x double], ptr %83, i64 %85 %87 = load i32, ptr %10, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [3 x double], ptr %86, i64 0, i64 %88 store double %82, ptr %89, align 8 br label %90 90: ; preds = %49 %91 = load i32, ptr %10, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %10, align 4 br label %46, !llvm.loop !6 93: ; preds = %46 br label %94 94: ; preds = %93 %95 = load i32, ptr %9, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %9, align 4 br label %42, !llvm.loop !8 97: ; preds = %42 br label %98 98: ; preds = %97 br label %99 99: ; preds = %98, %28 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @so3ToVec(ptr noundef, ptr noundef) #2 declare i32 @AxisAng3(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @Matrix3Equal(ptr noundef, ptr noundef) #2 declare i32 @Matrix3MultValue(ptr noundef, double noundef, ptr noundef) #2 declare i32 @Matrix3Mult(ptr noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nounwind declare double @sin(double noundef) #3 declare i32 @cos(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #4 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #5 = { 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/tmpam1cu1ej.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MatrixExp3(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [3 x double], align 16 %6 = alloca [3 x double], align 16 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [3 x [3 x double]], align 16 %12 = alloca [3 x [3 x double]], align 16 %13 = alloca [3 x [3 x double]], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 24, i1 false) store double 0.000000e+00, ptr %7, align 8 store i32 0, ptr %8, align 4 call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 72, i1 false) %14 = getelementptr inbounds [3 x [3 x double]], ptr %11, i32 0, i32 0 %15 = getelementptr inbounds [3 x double], ptr %14, i32 0, i32 0 store double 1.000000e+00, ptr %15, align 16 %16 = getelementptr inbounds [3 x [3 x double]], ptr %11, i32 0, i32 1 %17 = getelementptr inbounds [3 x double], ptr %16, i32 0, i32 1 store double 1.000000e+00, ptr %17, align 8 %18 = getelementptr inbounds [3 x [3 x double]], ptr %11, i32 0, i32 2 %19 = getelementptr inbounds [3 x double], ptr %18, i32 0, i32 2 store double 1.000000e+00, ptr %19, align 16 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds [3 x double], ptr %5, i64 0, i64 0 %22 = call i32 @so3ToVec(ptr noundef %20, ptr noundef %21) %23 = getelementptr inbounds [3 x double], ptr %5, i64 0, i64 0 %24 = getelementptr inbounds [3 x double], ptr %6, i64 0, i64 0 %25 = call i32 @AxisAng3(ptr noundef %23, ptr noundef %24, ptr noundef %7) %26 = load double, ptr %7, align 8 %27 = fcmp olt double %26, 0x3EB0C6F7A0B5ED8D br i1 %27, label %28, label %32 28: ; preds = %2 %29 = getelementptr inbounds [3 x [3 x double]], ptr %11, i64 0, i64 0 %30 = load ptr, ptr %4, align 8 %31 = call i32 @Matrix3Equal(ptr noundef %29, ptr noundef %30) br label %101 32: ; preds = %2 %33 = load ptr, ptr %3, align 8 %34 = load double, ptr %7, align 8 %35 = fdiv double 1.000000e+00, %34 %36 = getelementptr inbounds [3 x [3 x double]], ptr %12, i64 0, i64 0 %37 = call i32 @Matrix3MultValue(ptr noundef %33, double noundef %35, ptr noundef %36) %38 = getelementptr inbounds [3 x [3 x double]], ptr %12, i64 0, i64 0 %39 = getelementptr inbounds [3 x [3 x double]], ptr %12, i64 0, i64 0 %40 = getelementptr inbounds [3 x [3 x double]], ptr %13, i64 0, i64 0 %41 = call i32 @Matrix3Mult(ptr noundef %38, ptr noundef %39, ptr noundef %40) store i32 0, ptr %9, align 4 %42 = load i32, ptr %9, align 4 %43 = icmp slt i32 %42, 3 br i1 %43, label %.lr.ph2, label %99 .lr.ph2: ; preds = %32 br label %44 44: ; preds = %.lr.ph2, %94 store i32 0, ptr %10, align 4 %45 = load i32, ptr %10, align 4 %46 = icmp slt i32 %45, 3 br i1 %46, label %.lr.ph, label %93 .lr.ph: ; preds = %44 br label %47 47: ; preds = %.lr.ph, %88 %48 = load i32, ptr %9, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [3 x [3 x double]], ptr %11, i64 0, i64 %49 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [3 x double], ptr %50, i64 0, i64 %52 %54 = load double, ptr %53, align 8 %55 = load double, ptr %7, align 8 %56 = call double @sin(double noundef %55) #5 %57 = load ptr, ptr %3, align 8 %58 = load i32, ptr %9, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [3 x double], ptr %57, i64 %59 %61 = load i32, ptr %10, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [3 x double], ptr %60, i64 0, i64 %62 %64 = load double, ptr %63, align 8 %65 = fmul double %56, %64 %66 = load double, ptr %7, align 8 %67 = fdiv double %65, %66 %68 = fadd double %54, %67 %69 = load double, ptr %7, align 8 %70 = call i32 @cos(double noundef %69) %71 = sub nsw i32 1, %70 %72 = sitofp i32 %71 to double %73 = load i32, ptr %9, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [3 x [3 x double]], ptr %13, i64 0, i64 %74 %76 = load i32, ptr %10, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [3 x double], ptr %75, i64 0, i64 %77 %79 = load double, ptr %78, align 8 %80 = call double @llvm.fmuladd.f64(double %72, double %79, double %68) %81 = load ptr, ptr %4, align 8 %82 = load i32, ptr %9, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [3 x double], ptr %81, i64 %83 %85 = load i32, ptr %10, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [3 x double], ptr %84, i64 0, i64 %86 store double %80, ptr %87, align 8 br label %88 88: ; preds = %47 %89 = load i32, ptr %10, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %10, align 4 %91 = load i32, ptr %10, align 4 %92 = icmp slt i32 %91, 3 br i1 %92, label %47, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %88 br label %93 93: ; preds = %._crit_edge, %44 br label %94 94: ; preds = %93 %95 = load i32, ptr %9, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %9, align 4 %97 = load i32, ptr %9, align 4 %98 = icmp slt i32 %97, 3 br i1 %98, label %44, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %94 br label %99 99: ; preds = %._crit_edge3, %32 br label %100 100: ; preds = %99 br label %101 101: ; preds = %100, %28 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @so3ToVec(ptr noundef, ptr noundef) #2 declare i32 @AxisAng3(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @Matrix3Equal(ptr noundef, ptr noundef) #2 declare i32 @Matrix3MultValue(ptr noundef, double noundef, ptr noundef) #2 declare i32 @Matrix3Mult(ptr noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nounwind declare double @sin(double noundef) #3 declare i32 @cos(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #4 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #5 = { 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/tmpiti2s1r8.c' source_filename = "/tmp/tmpiti2s1r8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @pow(float noundef %3, double noundef 2.000000e+00) %5 = load float, ptr %2, align 4 %6 = call float @sin(float noundef %5) %7 = fmul float %4, %6 ret float %7 } declare float @pow(float noundef, double noundef) #1 declare float @sin(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiti2s1r8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @pow(float noundef %3, double noundef 2.000000e+00) %5 = load float, ptr %2, align 4 %6 = call float @sin(float noundef %5) %7 = fmul float %4, %6 ret float %7 } declare float @pow(float noundef, double noundef) #1 declare float @sin(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkrye7ze9.c' source_filename = "/tmp/tmpkrye7ze9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @REOProblem_set_initial_assignment(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @REOProblem_reset_variables(ptr noundef %3) ret void } declare i32 @REOProblem_reset_variables(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/tmpkrye7ze9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @REOProblem_set_initial_assignment(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @REOProblem_reset_variables(ptr noundef %3) ret void } declare i32 @REOProblem_reset_variables(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/tmp588c618l.c' source_filename = "/tmp/tmp588c618l.c" target datalayout = "e-m:e-p270: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/tmp588c618l.c" target datalayout = "e-m:e-p270: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/tmpq3ecyhse.c' source_filename = "/tmp/tmpq3ecyhse.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq3ecyhse.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp__39_1su.c' source_filename = "/tmp/tmp__39_1su.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g5_set_xmjMC_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %11, align 4 %13 = load ptr, ptr %7, align 8 %14 = load i32, ptr %13, align 4 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %15, align 4 %17 = load ptr, ptr %9, align 8 %18 = load ptr, ptr %10, align 8 %19 = call i32 @g5_set_xmjMC(i32 noundef %12, i32 noundef %14, i32 noundef %16, ptr noundef %17, ptr noundef %18) ret void } declare i32 @g5_set_xmjMC(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp__39_1su.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g5_set_xmjMC_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %11, align 4 %13 = load ptr, ptr %7, align 8 %14 = load i32, ptr %13, align 4 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %15, align 4 %17 = load ptr, ptr %9, align 8 %18 = load ptr, ptr %10, align 8 %19 = call i32 @g5_set_xmjMC(i32 noundef %12, i32 noundef %14, i32 noundef %16, ptr noundef %17, ptr noundef %18) ret void } declare i32 @g5_set_xmjMC(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2wc45k9x.c' source_filename = "/tmp/tmp2wc45k9x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"grades.csv\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [24 x i8] c"%s: Cannot open %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"HW2\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [100 x [256 x i8]], align 16 %8 = alloca i32, align 4 %9 = alloca [256 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [5 x i32], align 16 %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 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %26 18: ; preds = %2 %19 = load i32, ptr @stderr, align 4 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 0 %22 = load ptr, ptr %21, align 8 %23 = load i32, ptr @errno, align 4 %24 = call ptr @strerror(i32 noundef %23) %25 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.2, ptr noundef %22, ptr noundef @.str, ptr noundef %24) store i32 -1, ptr %3, align 4 br label %179 26: ; preds = %2 store i32 0, ptr %8, align 4 br label %27 27: ; preds = %36, %26 %28 = load i32, ptr %8, align 4 %29 = icmp slt i32 %28, 100 br i1 %29, label %30, label %39 30: ; preds = %27 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [100 x [256 x i8]], ptr %7, i64 0, i64 %32 %34 = getelementptr inbounds [256 x i8], ptr %33, i64 0, i64 0 %35 = call i32 @strcpy(ptr noundef %34, ptr noundef @.str.3) br label %36 36: ; preds = %30 %37 = load i32, ptr %8, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %8, align 4 br label %27, !llvm.loop !6 39: ; preds = %27 store i32 0, ptr %8, align 4 br label %40 40: ; preds = %77, %39 %41 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %42 = load ptr, ptr %6, align 8 %43 = call i64 @fgets(ptr noundef %41, i32 noundef 256, ptr noundef %42) %44 = icmp ne i64 %43, 0 br i1 %44, label %45, label %78 45: ; preds = %40 %46 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %47 = call i64 @strstr(ptr noundef %46, ptr noundef @.str.4) %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %77 49: ; preds = %45 %50 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %51 = call i32 @strlen(ptr noundef %50) store i32 %51, ptr %10, align 4 store i32 2, ptr %11, align 4 %52 = load i32, ptr %10, align 4 %53 = sub nsw i32 %52, 1 store i32 %53, ptr %12, align 4 br label %54 54: ; preds = %71, %49 %55 = load i32, ptr %12, align 4 %56 = load i32, ptr %10, align 4 %57 = sub nsw i32 %56, 4 %58 = icmp sgt i32 %55, %57 br i1 %58, label %59, label %74 59: ; preds = %54 %60 = load i32, ptr %12, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 %61 %63 = load i8, ptr %62, align 1 %64 = load i32, ptr %8, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [100 x [256 x i8]], ptr %7, i64 0, i64 %65 %67 = load i32, ptr %11, align 4 %68 = add nsw i32 %67, -1 store i32 %68, ptr %11, align 4 %69 = sext i32 %67 to i64 %70 = getelementptr inbounds [256 x i8], ptr %66, i64 0, i64 %69 store i8 %63, ptr %70, align 1 br label %71 71: ; preds = %59 %72 = load i32, ptr %12, align 4 %73 = add nsw i32 %72, -1 store i32 %73, ptr %12, align 4 br label %54, !llvm.loop !8 74: ; preds = %54 %75 = load i32, ptr %8, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %8, align 4 br label %77 77: ; preds = %74, %45 br label %40, !llvm.loop !9 78: ; preds = %40 store i32 0, ptr %8, align 4 br label %79 79: ; preds = %162, %78 %80 = load i32, ptr %8, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [100 x [256 x i8]], ptr %7, i64 0, i64 %81 %83 = getelementptr inbounds [256 x i8], ptr %82, i64 0, i64 0 %84 = call i64 @strcmp(ptr noundef %83, ptr noundef @.str.3) %85 = icmp ne i64 %84, 0 br i1 %85, label %86, label %165 86: ; preds = %79 %87 = load i32, ptr %8, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [100 x [256 x i8]], ptr %7, i64 0, i64 %88 %90 = getelementptr inbounds [256 x i8], ptr %89, i64 0, i64 0 %91 = call i32 @atoi(ptr noundef %90) store i32 %91, ptr %14, align 4 %92 = load i32, ptr %14, align 4 %93 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 0 %94 = load i32, ptr %93, align 16 %95 = icmp sgt i32 %92, %94 br i1 %95, label %96, label %111 96: ; preds = %86 %97 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 3 %98 = load i32, ptr %97, align 4 %99 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 4 store i32 %98, ptr %99, align 16 %100 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 2 %101 = load i32, ptr %100, align 8 %102 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 3 store i32 %101, ptr %102, align 4 %103 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 1 %104 = load i32, ptr %103, align 4 %105 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 2 store i32 %104, ptr %105, align 8 %106 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 0 %107 = load i32, ptr %106, align 16 %108 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 1 store i32 %107, ptr %108, align 4 %109 = load i32, ptr %14, align 4 %110 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 0 store i32 %109, ptr %110, align 16 br label %162 111: ; preds = %86 %112 = load i32, ptr %14, align 4 %113 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 1 %114 = load i32, ptr %113, align 4 %115 = icmp sgt i32 %112, %114 br i1 %115, label %116, label %128 116: ; preds = %111 %117 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 3 %118 = load i32, ptr %117, align 4 %119 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 4 store i32 %118, ptr %119, align 16 %120 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 2 %121 = load i32, ptr %120, align 8 %122 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 3 store i32 %121, ptr %122, align 4 %123 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 1 %124 = load i32, ptr %123, align 4 %125 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 2 store i32 %124, ptr %125, align 8 %126 = load i32, ptr %14, align 4 %127 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 1 store i32 %126, ptr %127, align 4 br label %162 128: ; preds = %111 %129 = load i32, ptr %14, align 4 %130 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 2 %131 = load i32, ptr %130, align 8 %132 = icmp sgt i32 %129, %131 br i1 %132, label %133, label %142 133: ; preds = %128 %134 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 3 %135 = load i32, ptr %134, align 4 %136 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 4 store i32 %135, ptr %136, align 16 %137 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 2 %138 = load i32, ptr %137, align 8 %139 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 3 store i32 %138, ptr %139, align 4 %140 = load i32, ptr %14, align 4 %141 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 2 store i32 %140, ptr %141, align 8 br label %162 142: ; preds = %128 %143 = load i32, ptr %14, align 4 %144 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 3 %145 = load i32, ptr %144, align 4 %146 = icmp sgt i32 %143, %145 br i1 %146, label %147, label %153 147: ; preds = %142 %148 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 3 %149 = load i32, ptr %148, align 4 %150 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 4 store i32 %149, ptr %150, align 16 %151 = load i32, ptr %14, align 4 %152 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 3 store i32 %151, ptr %152, align 4 br label %162 153: ; preds = %142 %154 = load i32, ptr %14, align 4 %155 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 4 %156 = load i32, ptr %155, align 16 %157 = icmp sgt i32 %154, %156 br i1 %157, label %158, label %161 158: ; preds = %153 %159 = load i32, ptr %14, align 4 %160 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 4 store i32 %159, ptr %160, align 16 br label %162 161: ; preds = %153 br label %162 162: ; preds = %161, %158, %147, %133, %116, %96 %163 = load i32, ptr %8, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %8, align 4 br label %79, !llvm.loop !10 165: ; preds = %79 store i32 0, ptr %8, align 4 br label %166 166: ; preds = %175, %165 %167 = load i32, ptr %8, align 4 %168 = icmp slt i32 %167, 5 br i1 %168, label %169, label %178 169: ; preds = %166 %170 = load i32, ptr %8, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 %171 %173 = load i32, ptr %172, align 4 %174 = call i32 @printf(ptr noundef @.str.5, i32 noundef %173) br label %175 175: ; preds = %169 %176 = load i32, ptr %8, align 4 %177 = add nsw i32 %176, 1 store i32 %177, ptr %8, align 4 br label %166, !llvm.loop !11 178: ; preds = %166 store i32 0, ptr %3, align 4 br label %179 179: ; preds = %178, %18 %180 = load i32, ptr %3, align 4 ret i32 %180 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @atoi(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} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2wc45k9x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"grades.csv\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [24 x i8] c"%s: Cannot open %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"HW2\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [100 x [256 x i8]], align 16 %8 = alloca i32, align 4 %9 = alloca [256 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [5 x i32], align 16 %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 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %26 18: ; preds = %2 %19 = load i32, ptr @stderr, align 4 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 0 %22 = load ptr, ptr %21, align 8 %23 = load i32, ptr @errno, align 4 %24 = call ptr @strerror(i32 noundef %23) %25 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.2, ptr noundef %22, ptr noundef @.str, ptr noundef %24) store i32 -1, ptr %3, align 4 br label %190 26: ; preds = %2 store i32 0, ptr %8, align 4 %27 = load i32, ptr %8, align 4 %28 = icmp slt i32 %27, 100 br i1 %28, label %.lr.ph, label %40 .lr.ph: ; preds = %26 br label %29 29: ; preds = %.lr.ph, %35 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [100 x [256 x i8]], ptr %7, i64 0, i64 %31 %33 = getelementptr inbounds [256 x i8], ptr %32, i64 0, i64 0 %34 = call i32 @strcpy(ptr noundef %33, ptr noundef @.str.3) br label %35 35: ; preds = %29 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %8, align 4 %38 = load i32, ptr %8, align 4 %39 = icmp slt i32 %38, 100 br i1 %39, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %40 40: ; preds = %._crit_edge, %26 store i32 0, ptr %8, align 4 %41 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %42 = load ptr, ptr %6, align 8 %43 = call i64 @fgets(ptr noundef %41, i32 noundef 256, ptr noundef %42) %44 = icmp ne i64 %43, 0 br i1 %44, label %.lr.ph5, label %84 .lr.ph5: ; preds = %40 br label %45 45: ; preds = %.lr.ph5, %80 %46 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %47 = call i64 @strstr(ptr noundef %46, ptr noundef @.str.4) %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %80 49: ; preds = %45 %50 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %51 = call i32 @strlen(ptr noundef %50) store i32 %51, ptr %10, align 4 store i32 2, ptr %11, align 4 %52 = load i32, ptr %10, align 4 %53 = sub nsw i32 %52, 1 store i32 %53, ptr %12, align 4 %54 = load i32, ptr %12, align 4 %55 = load i32, ptr %10, align 4 %56 = sub nsw i32 %55, 4 %57 = icmp sgt i32 %54, %56 br i1 %57, label %.lr.ph2, label %77 .lr.ph2: ; preds = %49 br label %58 58: ; preds = %.lr.ph2, %70 %59 = load i32, ptr %12, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 %60 %62 = load i8, ptr %61, align 1 %63 = load i32, ptr %8, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [100 x [256 x i8]], ptr %7, i64 0, i64 %64 %66 = load i32, ptr %11, align 4 %67 = add nsw i32 %66, -1 store i32 %67, ptr %11, align 4 %68 = sext i32 %66 to i64 %69 = getelementptr inbounds [256 x i8], ptr %65, i64 0, i64 %68 store i8 %62, ptr %69, align 1 br label %70 70: ; preds = %58 %71 = load i32, ptr %12, align 4 %72 = add nsw i32 %71, -1 store i32 %72, ptr %12, align 4 %73 = load i32, ptr %12, align 4 %74 = load i32, ptr %10, align 4 %75 = sub nsw i32 %74, 4 %76 = icmp sgt i32 %73, %75 br i1 %76, label %58, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %70 br label %77 77: ; preds = %._crit_edge3, %49 %78 = load i32, ptr %8, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %8, align 4 br label %80 80: ; preds = %77, %45 %81 = load ptr, ptr %6, align 8 %82 = call i64 @fgets(ptr noundef %41, i32 noundef 256, ptr noundef %81) %83 = icmp ne i64 %82, 0 br i1 %83, label %45, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %80 br label %84 84: ; preds = %._crit_edge6, %40 store i32 0, ptr %8, align 4 %85 = load i32, ptr %8, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [100 x [256 x i8]], ptr %7, i64 0, i64 %86 %88 = call i64 @strcmp(ptr noundef %87, ptr noundef @.str.3) %89 = icmp ne i64 %88, 0 br i1 %89, label %.lr.ph8, label %175 .lr.ph8: ; preds = %84 br label %90 90: ; preds = %.lr.ph8, %166 %91 = load i32, ptr %8, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [100 x [256 x i8]], ptr %7, i64 0, i64 %92 %94 = getelementptr inbounds [256 x i8], ptr %93, i64 0, i64 0 %95 = call i32 @atoi(ptr noundef %94) store i32 %95, ptr %14, align 4 %96 = load i32, ptr %14, align 4 %97 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 0 %98 = load i32, ptr %97, align 16 %99 = icmp sgt i32 %96, %98 br i1 %99, label %100, label %115 100: ; preds = %90 %101 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 3 %102 = load i32, ptr %101, align 4 %103 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 4 store i32 %102, ptr %103, align 16 %104 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 2 %105 = load i32, ptr %104, align 8 %106 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 3 store i32 %105, ptr %106, align 4 %107 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 1 %108 = load i32, ptr %107, align 4 %109 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 2 store i32 %108, ptr %109, align 8 %110 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 0 %111 = load i32, ptr %110, align 16 %112 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 1 store i32 %111, ptr %112, align 4 %113 = load i32, ptr %14, align 4 %114 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 0 store i32 %113, ptr %114, align 16 br label %166 115: ; preds = %90 %116 = load i32, ptr %14, align 4 %117 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 1 %118 = load i32, ptr %117, align 4 %119 = icmp sgt i32 %116, %118 br i1 %119, label %120, label %132 120: ; preds = %115 %121 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 3 %122 = load i32, ptr %121, align 4 %123 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 4 store i32 %122, ptr %123, align 16 %124 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 2 %125 = load i32, ptr %124, align 8 %126 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 3 store i32 %125, ptr %126, align 4 %127 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 1 %128 = load i32, ptr %127, align 4 %129 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 2 store i32 %128, ptr %129, align 8 %130 = load i32, ptr %14, align 4 %131 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 1 store i32 %130, ptr %131, align 4 br label %166 132: ; preds = %115 %133 = load i32, ptr %14, align 4 %134 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 2 %135 = load i32, ptr %134, align 8 %136 = icmp sgt i32 %133, %135 br i1 %136, label %137, label %146 137: ; preds = %132 %138 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 3 %139 = load i32, ptr %138, align 4 %140 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 4 store i32 %139, ptr %140, align 16 %141 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 2 %142 = load i32, ptr %141, align 8 %143 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 3 store i32 %142, ptr %143, align 4 %144 = load i32, ptr %14, align 4 %145 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 2 store i32 %144, ptr %145, align 8 br label %166 146: ; preds = %132 %147 = load i32, ptr %14, align 4 %148 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 3 %149 = load i32, ptr %148, align 4 %150 = icmp sgt i32 %147, %149 br i1 %150, label %151, label %157 151: ; preds = %146 %152 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 3 %153 = load i32, ptr %152, align 4 %154 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 4 store i32 %153, ptr %154, align 16 %155 = load i32, ptr %14, align 4 %156 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 3 store i32 %155, ptr %156, align 4 br label %166 157: ; preds = %146 %158 = load i32, ptr %14, align 4 %159 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 4 %160 = load i32, ptr %159, align 16 %161 = icmp sgt i32 %158, %160 br i1 %161, label %162, label %165 162: ; preds = %157 %163 = load i32, ptr %14, align 4 %164 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 4 store i32 %163, ptr %164, align 16 br label %166 165: ; preds = %157 br label %166 166: ; preds = %165, %162, %151, %137, %120, %100 %167 = load i32, ptr %8, align 4 %168 = add nsw i32 %167, 1 store i32 %168, ptr %8, align 4 %169 = load i32, ptr %8, align 4 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds [100 x [256 x i8]], ptr %7, i64 0, i64 %170 %172 = getelementptr inbounds [256 x i8], ptr %171, i64 0, i64 0 %173 = call i64 @strcmp(ptr noundef %172, ptr noundef @.str.3) %174 = icmp ne i64 %173, 0 br i1 %174, label %90, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %166 br label %175 175: ; preds = %._crit_edge9, %84 store i32 0, ptr %8, align 4 %176 = load i32, ptr %8, align 4 %177 = icmp slt i32 %176, 5 br i1 %177, label %.lr.ph11, label %189 .lr.ph11: ; preds = %175 br label %178 178: ; preds = %.lr.ph11, %184 %179 = load i32, ptr %8, align 4 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds [5 x i32], ptr %13, i64 0, i64 %180 %182 = load i32, ptr %181, align 4 %183 = call i32 @printf(ptr noundef @.str.5, i32 noundef %182) br label %184 184: ; preds = %178 %185 = load i32, ptr %8, align 4 %186 = add nsw i32 %185, 1 store i32 %186, ptr %8, align 4 %187 = load i32, ptr %8, align 4 %188 = icmp slt i32 %187, 5 br i1 %188, label %178, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %184 br label %189 189: ; preds = %._crit_edge12, %175 store i32 0, ptr %3, align 4 br label %190 190: ; preds = %189, %18 %191 = load i32, ptr %3, align 4 ret i32 %191 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @atoi(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} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmphvy88z8l.c' source_filename = "/tmp/tmphvy88z8l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__getutxent() #0 { %1 = call i64 (...) @__getutent() %2 = inttoptr i64 %1 to ptr ret ptr %2 } declare i64 @__getutent(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphvy88z8l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__getutxent() #0 { %1 = call i64 (...) @__getutent() %2 = inttoptr i64 %1 to ptr ret ptr %2 } declare i64 @__getutent(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphuhyh0ea.c' source_filename = "/tmp/tmphuhyh0ea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp ne i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 (...) @bar() br label %7 7: ; preds = %5, %1 ret void } declare i32 @bar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphuhyh0ea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp ne i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 (...) @bar() br label %7 7: ; preds = %5, %1 ret void } declare i32 @bar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8gbiwdvy.c' source_filename = "/tmp/tmp8gbiwdvy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"SHELL\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"/bin/bash\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"Enter a command to execute using %s: \00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c" %[^\0A]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @apps_opt_cmdline() #0 { %1 = alloca [128 x i8], align 16 %2 = alloca ptr, align 8 call void @llvm.memset.p0.i64(ptr align 16 %1, i8 0, i64 128, i1 false) %3 = call ptr @getenv(ptr noundef @.str) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %7 6: ; preds = %0 store ptr @.str.1, ptr %2, align 8 br label %7 7: ; preds = %6, %0 %8 = load ptr, ptr %2, align 8 %9 = call i32 @printf(ptr noundef @.str.2, ptr noundef %8) %10 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %1) %11 = call i32 @util_shellCmd(ptr noundef %1) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @getenv(ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i32 @util_shellCmd(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8gbiwdvy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"SHELL\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"/bin/bash\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"Enter a command to execute using %s: \00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c" %[^\0A]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @apps_opt_cmdline() #0 { %1 = alloca [128 x i8], align 16 %2 = alloca ptr, align 8 call void @llvm.memset.p0.i64(ptr align 16 %1, i8 0, i64 128, i1 false) %3 = call ptr @getenv(ptr noundef @.str) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %7 6: ; preds = %0 store ptr @.str.1, ptr %2, align 8 br label %7 7: ; preds = %6, %0 %8 = load ptr, ptr %2, align 8 %9 = call i32 @printf(ptr noundef @.str.2, ptr noundef %8) %10 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %1) %11 = call i32 @util_shellCmd(ptr noundef %1) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @getenv(ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i32 @util_shellCmd(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}