llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp32wvgyzu.c' source_filename = "/tmp/tmp32wvgyzu.c" target datalayout = "e-m:e-p270: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.statfs = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fstatvfs(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.statfs, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @fstatfs(i32 noundef %7, ptr noundef %6) %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 -1, ptr %3, align 4 br label %14 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = call i32 @__statvfs_cvt(ptr noundef %6, ptr noundef %12) store i32 0, ptr %3, align 4 br label %14 14: ; preds = %11, %10 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare i32 @fstatfs(i32 noundef, ptr noundef) #1 declare i32 @__statvfs_cvt(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/tmp32wvgyzu.c" target datalayout = "e-m:e-p270: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.statfs = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fstatvfs(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.statfs, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @fstatfs(i32 noundef %7, ptr noundef %6) %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 -1, ptr %3, align 4 br label %14 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = call i32 @__statvfs_cvt(ptr noundef %6, ptr noundef %12) store i32 0, ptr %3, align 4 br label %14 14: ; preds = %11, %10 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare i32 @fstatfs(i32 noundef, ptr noundef) #1 declare i32 @__statvfs_cvt(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/tmp5_fkxk4d.c' source_filename = "/tmp/tmp5_fkxk4d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SQLITE_IOCAP_IMMUTABLE = 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/tmp5_fkxk4d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SQLITE_IOCAP_IMMUTABLE = 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/tmpexvv_q_2.c' source_filename = "/tmp/tmpexvv_q_2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SI_QUEUE = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpexvv_q_2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SI_QUEUE = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2bud4ipv.c' source_filename = "/tmp/tmp2bud4ipv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @od_copy_8x8_16_c(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %10 10: ; preds = %25, %4 %11 = load i32, ptr %9, align 4 %12 = icmp slt i32 %11, 8 br i1 %12, label %13, label %28 13: ; preds = %10 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %7, align 8 %16 = call i32 @memcpy(ptr noundef %14, ptr noundef %15, i32 noundef 16) %17 = load i32, ptr %6, align 4 %18 = load ptr, ptr %5, align 8 %19 = sext i32 %17 to i64 %20 = getelementptr inbounds i8, ptr %18, i64 %19 store ptr %20, ptr %5, align 8 %21 = load i32, ptr %8, align 4 %22 = load ptr, ptr %7, align 8 %23 = sext i32 %21 to i64 %24 = getelementptr inbounds i8, ptr %22, i64 %23 store ptr %24, ptr %7, align 8 br label %25 25: ; preds = %13 %26 = load i32, ptr %9, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %9, align 4 br label %10, !llvm.loop !6 28: ; preds = %10 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2bud4ipv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @od_copy_8x8_16_c(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = icmp slt i32 %10, 8 br i1 %11, label %.lr.ph, label %29 .lr.ph: ; preds = %4 br label %12 12: ; preds = %.lr.ph, %24 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %7, align 8 %15 = call i32 @memcpy(ptr noundef %13, ptr noundef %14, i32 noundef 16) %16 = load i32, ptr %6, align 4 %17 = load ptr, ptr %5, align 8 %18 = sext i32 %16 to i64 %19 = getelementptr inbounds i8, ptr %17, i64 %18 store ptr %19, ptr %5, align 8 %20 = load i32, ptr %8, align 4 %21 = load ptr, ptr %7, align 8 %22 = sext i32 %20 to i64 %23 = getelementptr inbounds i8, ptr %21, i64 %22 store ptr %23, ptr %7, align 8 br label %24 24: ; preds = %12 %25 = load i32, ptr %9, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %9, align 4 %27 = load i32, ptr %9, align 4 %28 = icmp slt i32 %27, 8 br i1 %28, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %4 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpl6uegz6l.c' source_filename = "/tmp/tmpl6uegz6l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 20, ptr %2, align 4 store i32 1, ptr %3, align 4 br label %5 5: ; preds = %27, %0 store i32 1, ptr %4, align 4 br label %6 6: ; preds = %23, %5 %7 = load i32, ptr %4, align 4 %8 = icmp sle i32 %7, 20 br i1 %8, label %9, label %26 9: ; preds = %6 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = srem i32 %10, %11 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %9 br label %26 15: ; preds = %9 %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %16, 20 br i1 %17, label %18, label %21 18: ; preds = %15 %19 = load i32, ptr %3, align 4 %20 = call i32 @printf(ptr noundef @.str, i32 noundef %19) ret i32 0 21: ; preds = %15 br label %22 22: ; preds = %21 br label %23 23: ; preds = %22 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 br label %6, !llvm.loop !6 26: ; preds = %14, %6 br label %27 27: ; preds = %26 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 br label %5 } 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/tmpl6uegz6l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 20, ptr %2, align 4 store i32 1, ptr %3, align 4 br label %5 5: ; preds = %28, %0 store i32 1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp sle i32 %6, 20 br i1 %7, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %5 br label %8 8: ; preds = %.lr.ph, %22 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = srem i32 %9, %10 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %8 br label %27 14: ; preds = %8 %15 = load i32, ptr %4, align 4 %16 = icmp eq i32 %15, 20 br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i32, ptr %3, align 4 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) ret i32 0 20: ; preds = %14 br label %21 21: ; preds = %20 br label %22 22: ; preds = %21 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp sle i32 %25, 20 br i1 %26, label %8, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %22 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %5 br label %27 27: ; preds = %.loopexit, %13 br label %28 28: ; preds = %27 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 br label %5 } 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/tmpzgwqiy1n.c' source_filename = "/tmp/tmpzgwqiy1n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Read: \00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"0x00\09\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"size of report\00", align 1 @.str.5 = private unnamed_addr constant [61 x i8] c"\0AUp, Down, Left, Right, Start, Back, Left Stick, Right Stick\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"LB, RB, XBOX, A, B, X, Y\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"\0ALT\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"RT\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"\0Aleft stick x - l\09\00", align 1 @.str.10 = private unnamed_addr constant [11 x i8] c"\09 - r\09\00", align 1 @.str.11 = private unnamed_addr constant [18 x i8] c"left stick y - b\09\00", align 1 @.str.12 = private unnamed_addr constant [11 x i8] c"\09 - t\09\00", align 1 @.str.13 = private unnamed_addr constant [20 x i8] c"\0Aright stick x - l\09\00", align 1 @.str.14 = private unnamed_addr constant [12 x i8] c"\09 - r\09\00", align 1 @.str.15 = private unnamed_addr constant [19 x i8] c"right stick y - b\09\00", align 1 @.str.16 = private unnamed_addr constant [12 x i8] c"\09 - t\09\00", align 1 @.str.17 = private unnamed_addr constant [9 x i8] c"D-Pad UP\00", align 1 @.str.18 = private unnamed_addr constant [11 x i8] c"D-Pad DOWN\00", align 1 @.str.19 = private unnamed_addr constant [11 x i8] c"D-Pad LEFT\00", align 1 @.str.20 = private unnamed_addr constant [12 x i8] c"D-Pad RIGHT\00", align 1 @.str.21 = private unnamed_addr constant [6 x i8] c"Start\00", align 1 @.str.22 = private unnamed_addr constant [5 x i8] c"Back\00", align 1 @.str.23 = private unnamed_addr constant [11 x i8] c"Left Stick\00", align 1 @.str.24 = private unnamed_addr constant [12 x i8] c"Right Stick\00", align 1 @.str.25 = private unnamed_addr constant [3 x i8] c"LB\00", align 1 @.str.26 = private unnamed_addr constant [3 x i8] c"RB\00", align 1 @.str.27 = private unnamed_addr constant [12 x i8] c"XBOX-Button\00", align 1 @.str.28 = private unnamed_addr constant [2 x i8] c"A\00", align 1 @.str.29 = private unnamed_addr constant [2 x i8] c"B\00", align 1 @.str.30 = private unnamed_addr constant [2 x i8] c"X\00", align 1 @.str.31 = private unnamed_addr constant [2 x i8] c"Y\00", align 1 @.str.32 = private unnamed_addr constant [3 x i8] c"LT\00", align 1 @.str.33 = private unnamed_addr constant [9 x i8] c"%s\09:\09%u\0A\00", align 1 @.str.34 = private unnamed_addr constant [28 x i8] c"\0A-------------------------\0A\00", align 1 @.str.35 = private unnamed_addr constant [13 x i8] c"Pressed: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [14 x ptr], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = call ptr @malloc(i32 noundef 100) store ptr %13, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %14 14: ; preds = %173, %2 store ptr @.str, ptr %6, align 8 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = load i32, ptr @O_RDWR, align 4 %19 = call i32 @open(ptr noundef %17, i32 noundef %18) store i32 %19, ptr %8, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %24 22: ; preds = %14 %23 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %177 24: ; preds = %14 %25 = call ptr @malloc(i32 noundef 20) store ptr %25, ptr %9, align 8 %26 = load i32, ptr %8, align 4 %27 = load ptr, ptr %9, align 8 %28 = call i32 @read(i32 noundef %26, ptr noundef %27, i32 noundef 20) store i32 %28, ptr %10, align 4 %29 = load i32, ptr %10, align 4 %30 = icmp slt i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %24 %32 = call i32 @perror(ptr noundef @.str.2) %33 = call i32 @exit(i32 noundef -1) #3 unreachable 34: ; preds = %24 store i32 0, ptr %11, align 4 %35 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 0 store ptr @.str.3, ptr %35, align 16 %36 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 1 store ptr @.str.4, ptr %36, align 8 %37 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 2 store ptr @.str.5, ptr %37, align 16 %38 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 3 store ptr @.str.6, ptr %38, align 8 %39 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 4 store ptr @.str.7, ptr %39, align 16 %40 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 5 store ptr @.str.8, ptr %40, align 8 %41 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 6 store ptr @.str.9, ptr %41, align 16 %42 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 7 store ptr @.str.10, ptr %42, align 8 %43 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 8 store ptr @.str.11, ptr %43, align 16 %44 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 9 store ptr @.str.12, ptr %44, align 8 %45 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 10 store ptr @.str.13, ptr %45, align 16 %46 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 11 store ptr @.str.14, ptr %46, align 8 %47 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 12 store ptr @.str.15, ptr %47, align 16 %48 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 13 store ptr @.str.16, ptr %48, align 8 br label %49 49: ; preds = %158, %34 %50 = load i32, ptr %11, align 4 %51 = icmp slt i32 %50, 14 br i1 %51, label %52, label %161 52: ; preds = %49 %53 = load i32, ptr %11, align 4 %54 = icmp eq i32 %53, 2 br i1 %54, label %55, label %75 55: ; preds = %52 %56 = load ptr, ptr %6, align 8 %57 = icmp eq ptr %56, @.str br i1 %57, label %58, label %75 58: ; preds = %55 %59 = load ptr, ptr %9, align 8 %60 = load i32, ptr %11, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 switch i32 %64, label %73 [ i32 0, label %65 i32 1, label %66 i32 2, label %67 i32 4, label %68 i32 8, label %69 i32 16, label %70 i32 32, label %71 i32 64, label %72 ] 65: ; preds = %58 store ptr @.str, ptr %6, align 8 br label %74 66: ; preds = %58 store ptr @.str.17, ptr %6, align 8 br label %74 67: ; preds = %58 store ptr @.str.18, ptr %6, align 8 br label %74 68: ; preds = %58 store ptr @.str.19, ptr %6, align 8 br label %74 69: ; preds = %58 store ptr @.str.20, ptr %6, align 8 br label %74 70: ; preds = %58 store ptr @.str.21, ptr %6, align 8 br label %74 71: ; preds = %58 store ptr @.str.22, ptr %6, align 8 br label %74 72: ; preds = %58 store ptr @.str.23, ptr %6, align 8 br label %74 73: ; preds = %58 store ptr @.str.24, ptr %6, align 8 br label %74 74: ; preds = %73, %72, %71, %70, %69, %68, %67, %66, %65 br label %75 75: ; preds = %74, %55, %52 %76 = load i32, ptr %11, align 4 %77 = icmp eq i32 %76, 3 br i1 %77, label %78, label %97 78: ; preds = %75 %79 = load ptr, ptr %6, align 8 %80 = icmp eq ptr %79, @.str br i1 %80, label %81, label %97 81: ; preds = %78 %82 = load ptr, ptr %9, align 8 %83 = load i32, ptr %11, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %82, i64 %84 %86 = load i8, ptr %85, align 1 %87 = sext i8 %86 to i32 switch i32 %87, label %95 [ i32 0, label %88 i32 1, label %89 i32 2, label %90 i32 4, label %91 i32 16, label %92 i32 32, label %93 i32 64, label %94 ] 88: ; preds = %81 store ptr @.str, ptr %6, align 8 br label %96 89: ; preds = %81 store ptr @.str.25, ptr %6, align 8 br label %96 90: ; preds = %81 store ptr @.str.26, ptr %6, align 8 br label %96 91: ; preds = %81 store ptr @.str.27, ptr %6, align 8 br label %96 92: ; preds = %81 store ptr @.str.28, ptr %6, align 8 br label %96 93: ; preds = %81 store ptr @.str.29, ptr %6, align 8 br label %96 94: ; preds = %81 store ptr @.str.30, ptr %6, align 8 br label %96 95: ; preds = %81 store ptr @.str.31, ptr %6, align 8 br label %96 96: ; preds = %95, %94, %93, %92, %91, %90, %89, %88 br label %97 97: ; preds = %96, %78, %75 %98 = load i32, ptr %11, align 4 %99 = icmp eq i32 %98, 4 br i1 %99, label %100, label %120 100: ; preds = %97 %101 = load ptr, ptr %6, align 8 %102 = icmp eq ptr %101, @.str br i1 %102, label %103, label %120 103: ; preds = %100 %104 = load ptr, ptr %9, align 8 %105 = load i32, ptr %11, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds i8, ptr %104, i64 %106 %108 = load i8, ptr %107, align 1 %109 = sext i8 %108 to i32 %110 = icmp sgt i32 %109, 0 br i1 %110, label %111, label %120 111: ; preds = %103 %112 = load ptr, ptr %9, align 8 %113 = load i32, ptr %11, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds i8, ptr %112, i64 %114 %116 = load i8, ptr %115, align 1 %117 = sext i8 %116 to i32 %118 = icmp slt i32 %117, 120 br i1 %118, label %119, label %120 119: ; preds = %111 store ptr @.str.32, ptr %6, align 8 br label %120 120: ; preds = %119, %111, %103, %100, %97 %121 = load i32, ptr %11, align 4 %122 = icmp eq i32 %121, 5 br i1 %122, label %123, label %143 123: ; preds = %120 %124 = load ptr, ptr %6, align 8 %125 = icmp eq ptr %124, @.str br i1 %125, label %126, label %143 126: ; preds = %123 %127 = load ptr, ptr %9, align 8 %128 = load i32, ptr %11, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds i8, ptr %127, i64 %129 %131 = load i8, ptr %130, align 1 %132 = sext i8 %131 to i32 %133 = icmp sgt i32 %132, 0 br i1 %133, label %134, label %143 134: ; preds = %126 %135 = load ptr, ptr %9, align 8 %136 = load i32, ptr %11, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds i8, ptr %135, i64 %137 %139 = load i8, ptr %138, align 1 %140 = sext i8 %139 to i32 %141 = icmp slt i32 %140, 120 br i1 %141, label %142, label %143 142: ; preds = %134 store ptr @.str.8, ptr %6, align 8 br label %143 143: ; preds = %142, %134, %126, %123, %120 %144 = load i32, ptr %7, align 4 %145 = icmp eq i32 %144, 0 br i1 %145, label %146, label %158 146: ; preds = %143 %147 = load i32, ptr %11, align 4 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 %148 %150 = load ptr, ptr %149, align 8 %151 = load ptr, ptr %9, align 8 %152 = load i32, ptr %11, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds i8, ptr %151, i64 %153 %155 = load i8, ptr %154, align 1 %156 = sext i8 %155 to i32 %157 = call i32 (ptr, ...) @printf(ptr noundef @.str.33, ptr noundef %150, i32 noundef %156) br label %158 158: ; preds = %146, %143 %159 = load i32, ptr %11, align 4 %160 = add nsw i32 %159, 1 store i32 %160, ptr %11, align 4 br label %49, !llvm.loop !6 161: ; preds = %49 %162 = load i32, ptr %7, align 4 %163 = icmp eq i32 %162, 0 br i1 %163, label %164, label %166 164: ; preds = %161 %165 = call i32 (ptr, ...) @printf(ptr noundef @.str.34) br label %166 166: ; preds = %164, %161 %167 = load ptr, ptr %6, align 8 %168 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, ptr noundef %167) %169 = load i32, ptr %8, align 4 %170 = call i32 @close(i32 noundef %169) %171 = load ptr, ptr %9, align 8 %172 = call i32 @free(ptr noundef %171) br label %173 173: ; preds = %166 br i1 true, label %14, label %174 174: ; preds = %173 %175 = load ptr, ptr %6, align 8 %176 = call i32 @free(ptr noundef %175) store i32 0, ptr %3, align 4 br label %177 177: ; preds = %174, %22 %178 = load i32, ptr %3, align 4 ret i32 %178 } declare ptr @malloc(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @close(i32 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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzgwqiy1n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Read: \00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"0x00\09\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"size of report\00", align 1 @.str.5 = private unnamed_addr constant [61 x i8] c"\0AUp, Down, Left, Right, Start, Back, Left Stick, Right Stick\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"LB, RB, XBOX, A, B, X, Y\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"\0ALT\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"RT\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"\0Aleft stick x - l\09\00", align 1 @.str.10 = private unnamed_addr constant [11 x i8] c"\09 - r\09\00", align 1 @.str.11 = private unnamed_addr constant [18 x i8] c"left stick y - b\09\00", align 1 @.str.12 = private unnamed_addr constant [11 x i8] c"\09 - t\09\00", align 1 @.str.13 = private unnamed_addr constant [20 x i8] c"\0Aright stick x - l\09\00", align 1 @.str.14 = private unnamed_addr constant [12 x i8] c"\09 - r\09\00", align 1 @.str.15 = private unnamed_addr constant [19 x i8] c"right stick y - b\09\00", align 1 @.str.16 = private unnamed_addr constant [12 x i8] c"\09 - t\09\00", align 1 @.str.17 = private unnamed_addr constant [9 x i8] c"D-Pad UP\00", align 1 @.str.18 = private unnamed_addr constant [11 x i8] c"D-Pad DOWN\00", align 1 @.str.19 = private unnamed_addr constant [11 x i8] c"D-Pad LEFT\00", align 1 @.str.20 = private unnamed_addr constant [12 x i8] c"D-Pad RIGHT\00", align 1 @.str.21 = private unnamed_addr constant [6 x i8] c"Start\00", align 1 @.str.22 = private unnamed_addr constant [5 x i8] c"Back\00", align 1 @.str.23 = private unnamed_addr constant [11 x i8] c"Left Stick\00", align 1 @.str.24 = private unnamed_addr constant [12 x i8] c"Right Stick\00", align 1 @.str.25 = private unnamed_addr constant [3 x i8] c"LB\00", align 1 @.str.26 = private unnamed_addr constant [3 x i8] c"RB\00", align 1 @.str.27 = private unnamed_addr constant [12 x i8] c"XBOX-Button\00", align 1 @.str.28 = private unnamed_addr constant [2 x i8] c"A\00", align 1 @.str.29 = private unnamed_addr constant [2 x i8] c"B\00", align 1 @.str.30 = private unnamed_addr constant [2 x i8] c"X\00", align 1 @.str.31 = private unnamed_addr constant [2 x i8] c"Y\00", align 1 @.str.32 = private unnamed_addr constant [3 x i8] c"LT\00", align 1 @.str.33 = private unnamed_addr constant [9 x i8] c"%s\09:\09%u\0A\00", align 1 @.str.34 = private unnamed_addr constant [28 x i8] c"\0A-------------------------\0A\00", align 1 @.str.35 = private unnamed_addr constant [13 x i8] c"Pressed: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [14 x ptr], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = call ptr @malloc(i32 noundef 100) store ptr %13, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %14 14: ; preds = %174, %2 store ptr @.str, ptr %6, align 8 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = load i32, ptr @O_RDWR, align 4 %19 = call i32 @open(ptr noundef %17, i32 noundef %18) store i32 %19, ptr %8, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %24 22: ; preds = %14 %23 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %178 24: ; preds = %14 %25 = call ptr @malloc(i32 noundef 20) store ptr %25, ptr %9, align 8 %26 = load i32, ptr %8, align 4 %27 = load ptr, ptr %9, align 8 %28 = call i32 @read(i32 noundef %26, ptr noundef %27, i32 noundef 20) store i32 %28, ptr %10, align 4 %29 = load i32, ptr %10, align 4 %30 = icmp slt i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %24 %32 = call i32 @perror(ptr noundef @.str.2) %33 = call i32 @exit(i32 noundef -1) #3 unreachable 34: ; preds = %24 store i32 0, ptr %11, align 4 %35 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 0 store ptr @.str.3, ptr %35, align 16 %36 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 1 store ptr @.str.4, ptr %36, align 8 %37 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 2 store ptr @.str.5, ptr %37, align 16 %38 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 3 store ptr @.str.6, ptr %38, align 8 %39 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 4 store ptr @.str.7, ptr %39, align 16 %40 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 5 store ptr @.str.8, ptr %40, align 8 %41 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 6 store ptr @.str.9, ptr %41, align 16 %42 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 7 store ptr @.str.10, ptr %42, align 8 %43 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 8 store ptr @.str.11, ptr %43, align 16 %44 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 9 store ptr @.str.12, ptr %44, align 8 %45 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 10 store ptr @.str.13, ptr %45, align 16 %46 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 11 store ptr @.str.14, ptr %46, align 8 %47 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 12 store ptr @.str.15, ptr %47, align 16 %48 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 13 store ptr @.str.16, ptr %48, align 8 %49 = load i32, ptr %11, align 4 %50 = icmp slt i32 %49, 14 br i1 %50, label %.lr.ph, label %162 .lr.ph: ; preds = %34 br label %51 51: ; preds = %.lr.ph, %157 %52 = load i32, ptr %11, align 4 %53 = icmp eq i32 %52, 2 br i1 %53, label %54, label %74 54: ; preds = %51 %55 = load ptr, ptr %6, align 8 %56 = icmp eq ptr %55, @.str br i1 %56, label %57, label %74 57: ; preds = %54 %58 = load ptr, ptr %9, align 8 %59 = load i32, ptr %11, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 switch i32 %63, label %72 [ i32 0, label %64 i32 1, label %65 i32 2, label %66 i32 4, label %67 i32 8, label %68 i32 16, label %69 i32 32, label %70 i32 64, label %71 ] 64: ; preds = %57 store ptr @.str, ptr %6, align 8 br label %73 65: ; preds = %57 store ptr @.str.17, ptr %6, align 8 br label %73 66: ; preds = %57 store ptr @.str.18, ptr %6, align 8 br label %73 67: ; preds = %57 store ptr @.str.19, ptr %6, align 8 br label %73 68: ; preds = %57 store ptr @.str.20, ptr %6, align 8 br label %73 69: ; preds = %57 store ptr @.str.21, ptr %6, align 8 br label %73 70: ; preds = %57 store ptr @.str.22, ptr %6, align 8 br label %73 71: ; preds = %57 store ptr @.str.23, ptr %6, align 8 br label %73 72: ; preds = %57 store ptr @.str.24, ptr %6, align 8 br label %73 73: ; preds = %72, %71, %70, %69, %68, %67, %66, %65, %64 br label %74 74: ; preds = %73, %54, %51 %75 = load i32, ptr %11, align 4 %76 = icmp eq i32 %75, 3 br i1 %76, label %77, label %96 77: ; preds = %74 %78 = load ptr, ptr %6, align 8 %79 = icmp eq ptr %78, @.str br i1 %79, label %80, label %96 80: ; preds = %77 %81 = load ptr, ptr %9, align 8 %82 = load i32, ptr %11, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i8, ptr %81, i64 %83 %85 = load i8, ptr %84, align 1 %86 = sext i8 %85 to i32 switch i32 %86, label %94 [ i32 0, label %87 i32 1, label %88 i32 2, label %89 i32 4, label %90 i32 16, label %91 i32 32, label %92 i32 64, label %93 ] 87: ; preds = %80 store ptr @.str, ptr %6, align 8 br label %95 88: ; preds = %80 store ptr @.str.25, ptr %6, align 8 br label %95 89: ; preds = %80 store ptr @.str.26, ptr %6, align 8 br label %95 90: ; preds = %80 store ptr @.str.27, ptr %6, align 8 br label %95 91: ; preds = %80 store ptr @.str.28, ptr %6, align 8 br label %95 92: ; preds = %80 store ptr @.str.29, ptr %6, align 8 br label %95 93: ; preds = %80 store ptr @.str.30, ptr %6, align 8 br label %95 94: ; preds = %80 store ptr @.str.31, ptr %6, align 8 br label %95 95: ; preds = %94, %93, %92, %91, %90, %89, %88, %87 br label %96 96: ; preds = %95, %77, %74 %97 = load i32, ptr %11, align 4 %98 = icmp eq i32 %97, 4 br i1 %98, label %99, label %119 99: ; preds = %96 %100 = load ptr, ptr %6, align 8 %101 = icmp eq ptr %100, @.str br i1 %101, label %102, label %119 102: ; preds = %99 %103 = load ptr, ptr %9, align 8 %104 = load i32, ptr %11, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i8, ptr %103, i64 %105 %107 = load i8, ptr %106, align 1 %108 = sext i8 %107 to i32 %109 = icmp sgt i32 %108, 0 br i1 %109, label %110, label %119 110: ; preds = %102 %111 = load ptr, ptr %9, align 8 %112 = load i32, ptr %11, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i8, ptr %111, i64 %113 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = icmp slt i32 %116, 120 br i1 %117, label %118, label %119 118: ; preds = %110 store ptr @.str.32, ptr %6, align 8 br label %119 119: ; preds = %118, %110, %102, %99, %96 %120 = load i32, ptr %11, align 4 %121 = icmp eq i32 %120, 5 br i1 %121, label %122, label %142 122: ; preds = %119 %123 = load ptr, ptr %6, align 8 %124 = icmp eq ptr %123, @.str br i1 %124, label %125, label %142 125: ; preds = %122 %126 = load ptr, ptr %9, align 8 %127 = load i32, ptr %11, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds i8, ptr %126, i64 %128 %130 = load i8, ptr %129, align 1 %131 = sext i8 %130 to i32 %132 = icmp sgt i32 %131, 0 br i1 %132, label %133, label %142 133: ; preds = %125 %134 = load ptr, ptr %9, align 8 %135 = load i32, ptr %11, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds i8, ptr %134, i64 %136 %138 = load i8, ptr %137, align 1 %139 = sext i8 %138 to i32 %140 = icmp slt i32 %139, 120 br i1 %140, label %141, label %142 141: ; preds = %133 store ptr @.str.8, ptr %6, align 8 br label %142 142: ; preds = %141, %133, %125, %122, %119 %143 = load i32, ptr %7, align 4 %144 = icmp eq i32 %143, 0 br i1 %144, label %145, label %157 145: ; preds = %142 %146 = load i32, ptr %11, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds [14 x ptr], ptr %12, i64 0, i64 %147 %149 = load ptr, ptr %148, align 8 %150 = load ptr, ptr %9, align 8 %151 = load i32, ptr %11, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds i8, ptr %150, i64 %152 %154 = load i8, ptr %153, align 1 %155 = sext i8 %154 to i32 %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.33, ptr noundef %149, i32 noundef %155) br label %157 157: ; preds = %145, %142 %158 = load i32, ptr %11, align 4 %159 = add nsw i32 %158, 1 store i32 %159, ptr %11, align 4 %160 = load i32, ptr %11, align 4 %161 = icmp slt i32 %160, 14 br i1 %161, label %51, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %157 br label %162 162: ; preds = %._crit_edge, %34 %163 = load i32, ptr %7, align 4 %164 = icmp eq i32 %163, 0 br i1 %164, label %165, label %167 165: ; preds = %162 %166 = call i32 (ptr, ...) @printf(ptr noundef @.str.34) br label %167 167: ; preds = %165, %162 %168 = load ptr, ptr %6, align 8 %169 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, ptr noundef %168) %170 = load i32, ptr %8, align 4 %171 = call i32 @close(i32 noundef %170) %172 = load ptr, ptr %9, align 8 %173 = call i32 @free(ptr noundef %172) br label %174 174: ; preds = %167 br i1 true, label %14, label %175 175: ; preds = %174 %176 = load ptr, ptr %6, align 8 %177 = call i32 @free(ptr noundef %176) store i32 0, ptr %3, align 4 br label %178 178: ; preds = %175, %22 %179 = load i32, ptr %3, align 4 ret i32 %179 } declare ptr @malloc(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @close(i32 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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjip471b2.c' source_filename = "/tmp/tmpjip471b2.c" target datalayout = "e-m:e-p270: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/tmpjip471b2.c" target datalayout = "e-m:e-p270: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/tmpe5f3hwdz.c' source_filename = "/tmp/tmpe5f3hwdz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %4, %5 %7 = zext i1 %6 to i32 %8 = call i32 @assume(i32 noundef %7) br label %9 9: ; preds = %13, %0 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %16 13: ; preds = %9 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 100 store i32 %15, ptr %2, align 4 br label %9, !llvm.loop !6 16: ; preds = %9 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp sge i32 %17, %18 br i1 %19, label %20, label %25 20: ; preds = %16 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 99 %24 = icmp sle i32 %21, %23 br label %25 25: ; preds = %20, %16 %26 = phi i1 [ false, %16 ], [ %24, %20 ] %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) ret i32 0 } declare i32 @assume(i32 noundef) #1 declare i32 @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/tmpe5f3hwdz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %4, %5 %7 = zext i1 %6 to i32 %8 = call i32 @assume(i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %12 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 100 store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %18 18: ; preds = %._crit_edge, %0 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp sge i32 %19, %20 br i1 %21, label %22, label %27 22: ; preds = %18 %23 = load i32, ptr %2, align 4 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 99 %26 = icmp sle i32 %23, %25 br label %27 27: ; preds = %22, %18 %28 = phi i1 [ false, %18 ], [ %26, %22 ] %29 = zext i1 %28 to i32 %30 = call i32 @assert(i32 noundef %29) ret i32 0 } declare i32 @assume(i32 noundef) #1 declare i32 @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/tmpnhf4gfu6.c' source_filename = "/tmp/tmpnhf4gfu6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LePalavra.palavra = internal global [100 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @LePalavra(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @fscanf(ptr noundef %4, ptr noundef @.str, ptr noundef @LePalavra.palavra) %6 = icmp eq i32 %5, 1 br i1 %6, label %7, label %8 7: ; preds = %1 store ptr @LePalavra.palavra, ptr %2, align 8 br label %9 8: ; preds = %1 store ptr null, ptr %2, align 8 br label %9 9: ; preds = %8, %7 %10 = load ptr, ptr %2, align 8 ret ptr %10 } declare i32 @fscanf(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/tmpnhf4gfu6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LePalavra.palavra = internal global [100 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @LePalavra(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @fscanf(ptr noundef %4, ptr noundef @.str, ptr noundef @LePalavra.palavra) %6 = icmp eq i32 %5, 1 br i1 %6, label %7, label %8 7: ; preds = %1 store ptr @LePalavra.palavra, ptr %2, align 8 br label %9 8: ; preds = %1 store ptr null, ptr %2, align 8 br label %9 9: ; preds = %8, %7 %10 = load ptr, ptr %2, align 8 ret ptr %10 } declare i32 @fscanf(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/tmpg_j6_he9.c' source_filename = "/tmp/tmpg_j6_he9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_is_negative(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 slt i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 @ft_putchar(i8 noundef signext 78) br label %13 7: ; preds = %1 %8 = load i32, ptr %2, align 4 %9 = icmp sge i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = call i32 @ft_putchar(i8 noundef signext 80) br label %12 12: ; preds = %10, %7 br label %13 13: ; preds = %12, %5 ret void } declare i32 @ft_putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg_j6_he9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_is_negative(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 slt i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 @ft_putchar(i8 noundef signext 78) br label %13 7: ; preds = %1 %8 = load i32, ptr %2, align 4 %9 = icmp sge i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = call i32 @ft_putchar(i8 noundef signext 80) br label %12 12: ; preds = %10, %7 br label %13 13: ; preds = %12, %5 ret void } declare i32 @ft_putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6jc4fbs9.c' source_filename = "/tmp/tmp6jc4fbs9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOENT = dso_local global i32 0, align 4 @PATH_MAX = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6jc4fbs9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOENT = dso_local global i32 0, align 4 @PATH_MAX = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjjd8quzn.c' source_filename = "/tmp/tmpjjd8quzn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [47 x i8] c"same_sec1_not_time: sec 1 octet %d = %u vs %u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @same_sec1_not_time(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %12 = load ptr, ptr %6, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %22 16: ; preds = %3 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 0 %21 = call i32 @uint4(ptr noundef %20) br label %23 22: ; preds = %3 br label %23 23: ; preds = %22, %16 %24 = phi i32 [ %21, %16 ], [ 0, %22 ] store i32 %24, ptr %10, align 4 %25 = load ptr, ptr %7, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %26, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %35 29: ; preds = %23 %30 = load ptr, ptr %7, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = load ptr, ptr %31, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 0 %34 = call i32 @uint4(ptr noundef %33) br label %36 35: ; preds = %23 br label %36 36: ; preds = %35, %29 %37 = phi i32 [ %34, %29 ], [ 0, %35 ] %38 = load i32, ptr %10, align 4 %39 = icmp ne i32 %37, %38 br i1 %39, label %40, label %41 40: ; preds = %36 store i32 0, ptr %4, align 4 br label %131 41: ; preds = %36 %42 = load ptr, ptr %6, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 1 %44 = load ptr, ptr %43, align 8 store ptr %44, ptr %8, align 8 %45 = load ptr, ptr %7, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 1 %47 = load ptr, ptr %46, align 8 store ptr %47, ptr %9, align 8 store i32 0, ptr %11, align 4 br label %48 48: ; preds = %85, %41 %49 = load i32, ptr %11, align 4 %50 = icmp ult i32 %49, 12 br i1 %50, label %51, label %88 51: ; preds = %48 %52 = load ptr, ptr %8, align 8 %53 = load i32, ptr %11, align 4 %54 = zext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 %56 = load i8, ptr %55, align 1 %57 = zext i8 %56 to i32 %58 = load ptr, ptr %9, align 8 %59 = load i32, ptr %11, align 4 %60 = zext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 %62 = load i8, ptr %61, align 1 %63 = zext i8 %62 to i32 %64 = icmp ne i32 %57, %63 br i1 %64, label %65, label %84 65: ; preds = %51 %66 = load i32, ptr %5, align 4 %67 = icmp ne i32 %66, 0 br i1 %67, label %68, label %83 68: ; preds = %65 %69 = load i32, ptr @stderr, align 4 %70 = load i32, ptr %11, align 4 %71 = add i32 %70, 1 %72 = load ptr, ptr %8, align 8 %73 = load i32, ptr %11, align 4 %74 = zext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 %76 = load i8, ptr %75, align 1 %77 = load ptr, ptr %9, align 8 %78 = load i32, ptr %11, align 4 %79 = zext i32 %78 to i64 %80 = getelementptr inbounds i8, ptr %77, i64 %79 %81 = load i8, ptr %80, align 1 %82 = call i32 @fprintf(i32 noundef %69, ptr noundef @.str, i32 noundef %71, i8 noundef zeroext %76, i8 noundef zeroext %81) br label %83 83: ; preds = %68, %65 store i32 0, ptr %4, align 4 br label %131 84: ; preds = %51 br label %85 85: ; preds = %84 %86 = load i32, ptr %11, align 4 %87 = add i32 %86, 1 store i32 %87, ptr %11, align 4 br label %48, !llvm.loop !6 88: ; preds = %48 store i32 19, ptr %11, align 4 br label %89 89: ; preds = %127, %88 %90 = load i32, ptr %11, align 4 %91 = load i32, ptr %10, align 4 %92 = icmp ult i32 %90, %91 br i1 %92, label %93, label %130 93: ; preds = %89 %94 = load ptr, ptr %8, align 8 %95 = load i32, ptr %11, align 4 %96 = zext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %94, i64 %96 %98 = load i8, ptr %97, align 1 %99 = zext i8 %98 to i32 %100 = load ptr, ptr %9, align 8 %101 = load i32, ptr %11, align 4 %102 = zext i32 %101 to i64 %103 = getelementptr inbounds i8, ptr %100, i64 %102 %104 = load i8, ptr %103, align 1 %105 = zext i8 %104 to i32 %106 = icmp ne i32 %99, %105 br i1 %106, label %107, label %126 107: ; preds = %93 %108 = load i32, ptr %5, align 4 %109 = icmp ne i32 %108, 0 br i1 %109, label %110, label %125 110: ; preds = %107 %111 = load i32, ptr @stderr, align 4 %112 = load i32, ptr %11, align 4 %113 = add i32 %112, 1 %114 = load ptr, ptr %8, align 8 %115 = load i32, ptr %11, align 4 %116 = zext i32 %115 to i64 %117 = getelementptr inbounds i8, ptr %114, i64 %116 %118 = load i8, ptr %117, align 1 %119 = load ptr, ptr %9, align 8 %120 = load i32, ptr %11, align 4 %121 = zext i32 %120 to i64 %122 = getelementptr inbounds i8, ptr %119, i64 %121 %123 = load i8, ptr %122, align 1 %124 = call i32 @fprintf(i32 noundef %111, ptr noundef @.str, i32 noundef %113, i8 noundef zeroext %118, i8 noundef zeroext %123) br label %125 125: ; preds = %110, %107 store i32 0, ptr %4, align 4 br label %131 126: ; preds = %93 br label %127 127: ; preds = %126 %128 = load i32, ptr %11, align 4 %129 = add i32 %128, 1 store i32 %129, ptr %11, align 4 br label %89, !llvm.loop !8 130: ; preds = %89 store i32 1, ptr %4, align 4 br label %131 131: ; preds = %130, %125, %83, %40 %132 = load i32, ptr %4, align 4 ret i32 %132 } declare i32 @uint4(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjjd8quzn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [47 x i8] c"same_sec1_not_time: sec 1 octet %d = %u vs %u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @same_sec1_not_time(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %12 = load ptr, ptr %6, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %22 16: ; preds = %3 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 0 %21 = call i32 @uint4(ptr noundef %20) br label %23 22: ; preds = %3 br label %23 23: ; preds = %22, %16 %24 = phi i32 [ %21, %16 ], [ 0, %22 ] store i32 %24, ptr %10, align 4 %25 = load ptr, ptr %7, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %26, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %35 29: ; preds = %23 %30 = load ptr, ptr %7, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = load ptr, ptr %31, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 0 %34 = call i32 @uint4(ptr noundef %33) br label %36 35: ; preds = %23 br label %36 36: ; preds = %35, %29 %37 = phi i32 [ %34, %29 ], [ 0, %35 ] %38 = load i32, ptr %10, align 4 %39 = icmp ne i32 %37, %38 br i1 %39, label %40, label %41 40: ; preds = %36 store i32 0, ptr %4, align 4 br label %134 41: ; preds = %36 %42 = load ptr, ptr %6, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 1 %44 = load ptr, ptr %43, align 8 store ptr %44, ptr %8, align 8 %45 = load ptr, ptr %7, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 1 %47 = load ptr, ptr %46, align 8 store ptr %47, ptr %9, align 8 store i32 0, ptr %11, align 4 %48 = load i32, ptr %11, align 4 %49 = icmp ult i32 %48, 12 br i1 %49, label %.lr.ph, label %89 .lr.ph: ; preds = %41 br label %50 50: ; preds = %.lr.ph, %84 %51 = load ptr, ptr %8, align 8 %52 = load i32, ptr %11, align 4 %53 = zext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 %55 = load i8, ptr %54, align 1 %56 = zext i8 %55 to i32 %57 = load ptr, ptr %9, align 8 %58 = load i32, ptr %11, align 4 %59 = zext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 %61 = load i8, ptr %60, align 1 %62 = zext i8 %61 to i32 %63 = icmp ne i32 %56, %62 br i1 %63, label %64, label %83 64: ; preds = %50 %65 = load i32, ptr %5, align 4 %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %82 67: ; preds = %64 %68 = load i32, ptr @stderr, align 4 %69 = load i32, ptr %11, align 4 %70 = add i32 %69, 1 %71 = load ptr, ptr %8, align 8 %72 = load i32, ptr %11, align 4 %73 = zext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 %75 = load i8, ptr %74, align 1 %76 = load ptr, ptr %9, align 8 %77 = load i32, ptr %11, align 4 %78 = zext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %76, i64 %78 %80 = load i8, ptr %79, align 1 %81 = call i32 @fprintf(i32 noundef %68, ptr noundef @.str, i32 noundef %70, i8 noundef zeroext %75, i8 noundef zeroext %80) br label %82 82: ; preds = %67, %64 store i32 0, ptr %4, align 4 br label %134 83: ; preds = %50 br label %84 84: ; preds = %83 %85 = load i32, ptr %11, align 4 %86 = add i32 %85, 1 store i32 %86, ptr %11, align 4 %87 = load i32, ptr %11, align 4 %88 = icmp ult i32 %87, 12 br i1 %88, label %50, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %84 br label %89 89: ; preds = %._crit_edge, %41 store i32 19, ptr %11, align 4 %90 = load i32, ptr %11, align 4 %91 = load i32, ptr %10, align 4 %92 = icmp ult i32 %90, %91 br i1 %92, label %.lr.ph2, label %133 .lr.ph2: ; preds = %89 br label %93 93: ; preds = %.lr.ph2, %127 %94 = load ptr, ptr %8, align 8 %95 = load i32, ptr %11, align 4 %96 = zext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %94, i64 %96 %98 = load i8, ptr %97, align 1 %99 = zext i8 %98 to i32 %100 = load ptr, ptr %9, align 8 %101 = load i32, ptr %11, align 4 %102 = zext i32 %101 to i64 %103 = getelementptr inbounds i8, ptr %100, i64 %102 %104 = load i8, ptr %103, align 1 %105 = zext i8 %104 to i32 %106 = icmp ne i32 %99, %105 br i1 %106, label %107, label %126 107: ; preds = %93 %108 = load i32, ptr %5, align 4 %109 = icmp ne i32 %108, 0 br i1 %109, label %110, label %125 110: ; preds = %107 %111 = load i32, ptr @stderr, align 4 %112 = load i32, ptr %11, align 4 %113 = add i32 %112, 1 %114 = load ptr, ptr %8, align 8 %115 = load i32, ptr %11, align 4 %116 = zext i32 %115 to i64 %117 = getelementptr inbounds i8, ptr %114, i64 %116 %118 = load i8, ptr %117, align 1 %119 = load ptr, ptr %9, align 8 %120 = load i32, ptr %11, align 4 %121 = zext i32 %120 to i64 %122 = getelementptr inbounds i8, ptr %119, i64 %121 %123 = load i8, ptr %122, align 1 %124 = call i32 @fprintf(i32 noundef %111, ptr noundef @.str, i32 noundef %113, i8 noundef zeroext %118, i8 noundef zeroext %123) br label %125 125: ; preds = %110, %107 store i32 0, ptr %4, align 4 br label %134 126: ; preds = %93 br label %127 127: ; preds = %126 %128 = load i32, ptr %11, align 4 %129 = add i32 %128, 1 store i32 %129, ptr %11, align 4 %130 = load i32, ptr %11, align 4 %131 = load i32, ptr %10, align 4 %132 = icmp ult i32 %130, %131 br i1 %132, label %93, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %127 br label %133 133: ; preds = %._crit_edge3, %89 store i32 1, ptr %4, align 4 br label %134 134: ; preds = %133, %125, %82, %40 %135 = load i32, ptr %4, align 4 ret i32 %135 } declare i32 @uint4(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmponrznq8p.c' source_filename = "/tmp/tmponrznq8p.c" target datalayout = "e-m:e-p270: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_long_array(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %12 = load i32, ptr %7, align 4 store i32 %12, ptr %8, align 4 %13 = load ptr, ptr %6, align 8 store ptr %13, ptr %9, align 8 br label %14 14: ; preds = %58, %3 %15 = load i32, ptr %8, align 4 %16 = add nsw i32 %15, -1 store i32 %16, ptr %8, align 4 %17 = icmp sge i32 %16, 0 br i1 %17, label %18, label %66 18: ; preds = %14 %19 = load ptr, ptr %5, align 8 %20 = call i32 @getc(ptr noundef %19) store i32 %20, ptr %10, align 4 %21 = load i32, ptr %10, align 4 %22 = load i32, ptr @EOF, align 4 %23 = icmp eq i32 %21, %22 br i1 %23, label %24, label %25 24: ; preds = %18 store i32 -1, ptr %4, align 4 br label %67 25: ; preds = %18 %26 = load i32, ptr %10, align 4 %27 = sext i32 %26 to i64 store i64 %27, ptr %11, align 8 %28 = load ptr, ptr %5, align 8 %29 = call i32 @getc(ptr noundef %28) store i32 %29, ptr %10, align 4 %30 = load i32, ptr %10, align 4 %31 = load i32, ptr @EOF, align 4 %32 = icmp eq i32 %30, %31 br i1 %32, label %33, label %34 33: ; preds = %25 store i32 -1, ptr %4, align 4 br label %67 34: ; preds = %25 %35 = load i64, ptr %11, align 8 %36 = shl i64 %35, 8 %37 = load i32, ptr %10, align 4 %38 = sext i32 %37 to i64 %39 = or i64 %36, %38 store i64 %39, ptr %11, align 8 %40 = load ptr, ptr %5, align 8 %41 = call i32 @getc(ptr noundef %40) store i32 %41, ptr %10, align 4 %42 = load i32, ptr %10, align 4 %43 = load i32, ptr @EOF, align 4 %44 = icmp eq i32 %42, %43 br i1 %44, label %45, label %46 45: ; preds = %34 store i32 -1, ptr %4, align 4 br label %67 46: ; preds = %34 %47 = load i64, ptr %11, align 8 %48 = shl i64 %47, 8 %49 = load i32, ptr %10, align 4 %50 = sext i32 %49 to i64 %51 = or i64 %48, %50 store i64 %51, ptr %11, align 8 %52 = load ptr, ptr %5, align 8 %53 = call i32 @getc(ptr noundef %52) store i32 %53, ptr %10, align 4 %54 = load i32, ptr %10, align 4 %55 = load i32, ptr @EOF, align 4 %56 = icmp eq i32 %54, %55 br i1 %56, label %57, label %58 57: ; preds = %46 store i32 -1, ptr %4, align 4 br label %67 58: ; preds = %46 %59 = load i64, ptr %11, align 8 %60 = shl i64 %59, 8 %61 = load i32, ptr %10, align 4 %62 = sext i32 %61 to i64 %63 = or i64 %60, %62 %64 = load ptr, ptr %9, align 8 %65 = getelementptr inbounds i64, ptr %64, i32 1 store ptr %65, ptr %9, align 8 store i64 %63, ptr %64, align 8 br label %14, !llvm.loop !6 66: ; preds = %14 store i32 0, ptr %4, align 4 br label %67 67: ; preds = %66, %57, %45, %33, %24 %68 = load i32, ptr %4, align 4 ret i32 %68 } declare i32 @getc(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/tmponrznq8p.c" target datalayout = "e-m:e-p270: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_long_array(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %12 = load i32, ptr %7, align 4 store i32 %12, ptr %8, align 4 %13 = load ptr, ptr %6, align 8 store ptr %13, ptr %9, align 8 %14 = load i32, ptr %8, align 4 %15 = add nsw i32 %14, -1 store i32 %15, ptr %8, align 4 %16 = icmp sge i32 %15, 0 br i1 %16, label %.lr.ph, label %68 .lr.ph: ; preds = %3 br label %17 17: ; preds = %.lr.ph, %57 %18 = load ptr, ptr %5, align 8 %19 = call i32 @getc(ptr noundef %18) store i32 %19, ptr %10, align 4 %20 = load i32, ptr %10, align 4 %21 = load i32, ptr @EOF, align 4 %22 = icmp eq i32 %20, %21 br i1 %22, label %23, label %24 23: ; preds = %17 store i32 -1, ptr %4, align 4 br label %69 24: ; preds = %17 %25 = load i32, ptr %10, align 4 %26 = sext i32 %25 to i64 store i64 %26, ptr %11, align 8 %27 = load ptr, ptr %5, align 8 %28 = call i32 @getc(ptr noundef %27) store i32 %28, ptr %10, align 4 %29 = load i32, ptr %10, align 4 %30 = load i32, ptr @EOF, align 4 %31 = icmp eq i32 %29, %30 br i1 %31, label %32, label %33 32: ; preds = %24 store i32 -1, ptr %4, align 4 br label %69 33: ; preds = %24 %34 = load i64, ptr %11, align 8 %35 = shl i64 %34, 8 %36 = load i32, ptr %10, align 4 %37 = sext i32 %36 to i64 %38 = or i64 %35, %37 store i64 %38, ptr %11, align 8 %39 = load ptr, ptr %5, align 8 %40 = call i32 @getc(ptr noundef %39) store i32 %40, ptr %10, align 4 %41 = load i32, ptr %10, align 4 %42 = load i32, ptr @EOF, align 4 %43 = icmp eq i32 %41, %42 br i1 %43, label %44, label %45 44: ; preds = %33 store i32 -1, ptr %4, align 4 br label %69 45: ; preds = %33 %46 = load i64, ptr %11, align 8 %47 = shl i64 %46, 8 %48 = load i32, ptr %10, align 4 %49 = sext i32 %48 to i64 %50 = or i64 %47, %49 store i64 %50, ptr %11, align 8 %51 = load ptr, ptr %5, align 8 %52 = call i32 @getc(ptr noundef %51) store i32 %52, ptr %10, align 4 %53 = load i32, ptr %10, align 4 %54 = load i32, ptr @EOF, align 4 %55 = icmp eq i32 %53, %54 br i1 %55, label %56, label %57 56: ; preds = %45 store i32 -1, ptr %4, align 4 br label %69 57: ; preds = %45 %58 = load i64, ptr %11, align 8 %59 = shl i64 %58, 8 %60 = load i32, ptr %10, align 4 %61 = sext i32 %60 to i64 %62 = or i64 %59, %61 %63 = load ptr, ptr %9, align 8 %64 = getelementptr inbounds i64, ptr %63, i32 1 store ptr %64, ptr %9, align 8 store i64 %62, ptr %63, align 8 %65 = load i32, ptr %8, align 4 %66 = add nsw i32 %65, -1 store i32 %66, ptr %8, align 4 %67 = icmp sge i32 %66, 0 br i1 %67, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %57 br label %68 68: ; preds = %._crit_edge, %3 store i32 0, ptr %4, align 4 br label %69 69: ; preds = %68, %56, %44, %32, %23 %70 = load i32, ptr %4, align 4 ret i32 %70 } declare i32 @getc(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/tmprmjghsxr.c' source_filename = "/tmp/tmprmjghsxr.c" target datalayout = "e-m:e-p270: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/tmprmjghsxr.c" target datalayout = "e-m:e-p270: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/tmp4_wxgths.c' source_filename = "/tmp/tmp4_wxgths.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"%0x,%0x,%0x,%0x\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 i32, align 4 store i32 0, ptr %1, align 4 store i32 305419896, ptr %2, align 4 store ptr %2, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 0 %7 = load i8, ptr %6, align 1 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 1 %10 = load i8, ptr %9, align 1 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 2 %13 = load i8, ptr %12, align 1 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 3 %16 = load i8, ptr %15, align 1 %17 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %7, i8 noundef zeroext %10, i8 noundef zeroext %13, i8 noundef zeroext %16) %18 = load i32, ptr %2, align 4 %19 = call i32 @htonl(i32 noundef %18) store i32 %19, ptr %4, align 4 store ptr %4, ptr %3, align 8 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 0 %22 = load i8, ptr %21, align 1 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 %25 = load i8, ptr %24, align 1 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 2 %28 = load i8, ptr %27, align 1 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 3 %31 = load i8, ptr %30, align 1 %32 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %22, i8 noundef zeroext %25, i8 noundef zeroext %28, i8 noundef zeroext %31) ret i32 0 } declare i32 @printf(ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1 declare i32 @htonl(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/tmp4_wxgths.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"%0x,%0x,%0x,%0x\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 i32, align 4 store i32 0, ptr %1, align 4 store i32 305419896, ptr %2, align 4 store ptr %2, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 0 %7 = load i8, ptr %6, align 1 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 1 %10 = load i8, ptr %9, align 1 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 2 %13 = load i8, ptr %12, align 1 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 3 %16 = load i8, ptr %15, align 1 %17 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %7, i8 noundef zeroext %10, i8 noundef zeroext %13, i8 noundef zeroext %16) %18 = load i32, ptr %2, align 4 %19 = call i32 @htonl(i32 noundef %18) store i32 %19, ptr %4, align 4 store ptr %4, ptr %3, align 8 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 0 %22 = load i8, ptr %21, align 1 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 %25 = load i8, ptr %24, align 1 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 2 %28 = load i8, ptr %27, align 1 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 3 %31 = load i8, ptr %30, align 1 %32 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %22, i8 noundef zeroext %25, i8 noundef zeroext %28, i8 noundef zeroext %31) ret i32 0 } declare i32 @printf(ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1 declare i32 @htonl(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/tmpheahmi_s.c' source_filename = "/tmp/tmpheahmi_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" @F_OK = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"\0A %s exists\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"%s is not accessible\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 1 %10 = load ptr, ptr %9, align 8 store ptr %10, ptr %6, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr @F_OK, align 4 %13 = call i32 @access(ptr noundef %11, i32 noundef %12) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %2 %17 = load ptr, ptr %6, align 8 %18 = call i32 @printf(ptr noundef @.str, ptr noundef %17) br label %22 19: ; preds = %2 %20 = load ptr, ptr %6, align 8 %21 = call i32 @printf(ptr noundef @.str.1, ptr noundef %20) br label %22 22: ; preds = %19, %16 ret i32 0 } declare i32 @access(ptr noundef, i32 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 = '<stdin>' source_filename = "/tmp/tmpheahmi_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" @F_OK = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"\0A %s exists\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"%s is not accessible\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 1 %10 = load ptr, ptr %9, align 8 store ptr %10, ptr %6, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr @F_OK, align 4 %13 = call i32 @access(ptr noundef %11, i32 noundef %12) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %2 %17 = load ptr, ptr %6, align 8 %18 = call i32 @printf(ptr noundef @.str, ptr noundef %17) br label %22 19: ; preds = %2 %20 = load ptr, ptr %6, align 8 %21 = call i32 @printf(ptr noundef @.str.1, ptr noundef %20) br label %22 22: ; preds = %19, %16 ret i32 0 } declare i32 @access(ptr noundef, i32 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/tmpcauhtjxa.c' source_filename = "/tmp/tmpcauhtjxa.c" target datalayout = "e-m:e-p270: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/tmpcauhtjxa.c" target datalayout = "e-m:e-p270: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/tmpuec4lji2.c' source_filename = "/tmp/tmpuec4lji2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_fma() #0 { %1 = alloca float, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca x86_fp80, align 16 %8 = alloca x86_fp80, align 16 %9 = alloca x86_fp80, align 16 %10 = load float, ptr %1, align 4 %11 = load float, ptr %2, align 4 %12 = load float, ptr %3, align 4 %13 = call i32 @fmaf(float noundef %10, float noundef %11, float noundef %12) %14 = load double, ptr %4, align 8 %15 = load double, ptr %5, align 8 %16 = load double, ptr %6, align 8 %17 = call i32 @fma(double noundef %14, double noundef %15, double noundef %16) %18 = load x86_fp80, ptr %7, align 16 %19 = load x86_fp80, ptr %8, align 16 %20 = load x86_fp80, ptr %9, align 16 %21 = call i32 @fmal(x86_fp80 noundef %18, x86_fp80 noundef %19, x86_fp80 noundef %20) ret void } declare i32 @fmaf(float noundef, float noundef, float noundef) #1 declare i32 @fma(double noundef, double noundef, double noundef) #1 declare i32 @fmal(x86_fp80 noundef, x86_fp80 noundef, x86_fp80 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuec4lji2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_fma() #0 { %1 = alloca float, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca x86_fp80, align 16 %8 = alloca x86_fp80, align 16 %9 = alloca x86_fp80, align 16 %10 = load float, ptr %1, align 4 %11 = load float, ptr %2, align 4 %12 = load float, ptr %3, align 4 %13 = call i32 @fmaf(float noundef %10, float noundef %11, float noundef %12) %14 = load double, ptr %4, align 8 %15 = load double, ptr %5, align 8 %16 = load double, ptr %6, align 8 %17 = call i32 @fma(double noundef %14, double noundef %15, double noundef %16) %18 = load x86_fp80, ptr %7, align 16 %19 = load x86_fp80, ptr %8, align 16 %20 = load x86_fp80, ptr %9, align 16 %21 = call i32 @fmal(x86_fp80 noundef %18, x86_fp80 noundef %19, x86_fp80 noundef %20) ret void } declare i32 @fmaf(float noundef, float noundef, float noundef) #1 declare i32 @fma(double noundef, double noundef, double noundef) #1 declare i32 @fmal(x86_fp80 noundef, x86_fp80 noundef, x86_fp80 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9lypv3z5.c' source_filename = "/tmp/tmp9lypv3z5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmComputeNormalizedVectorAngle4dDeg(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @glmDotProduct4d(ptr noundef %5, ptr noundef %6) %8 = call i32 @acos(i32 noundef %7) %9 = call double @glmDegd(i32 noundef %8) ret double %9 } declare double @glmDegd(i32 noundef) #1 declare i32 @acos(i32 noundef) #1 declare i32 @glmDotProduct4d(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/tmp9lypv3z5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmComputeNormalizedVectorAngle4dDeg(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @glmDotProduct4d(ptr noundef %5, ptr noundef %6) %8 = call i32 @acos(i32 noundef %7) %9 = call double @glmDegd(i32 noundef %8) ret double %9 } declare double @glmDegd(i32 noundef) #1 declare i32 @acos(i32 noundef) #1 declare i32 @glmDotProduct4d(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/tmpyicr84ci.c' source_filename = "/tmp/tmpyicr84ci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @readfString(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 store ptr null, ptr %5, align 8 store i8 64, ptr %6, align 1 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %36, %2 %9 = load i8, ptr %6, align 1 %10 = sext i8 %9 to i32 %11 = load i8, ptr %4, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %10, %12 br i1 %13, label %14, label %37 14: ; preds = %8 %15 = load ptr, ptr %3, align 8 %16 = call i32 @fscanf(ptr noundef %15, ptr noundef @.str, ptr noundef %6) %17 = load i8, ptr %6, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 10 br i1 %19, label %20, label %36 20: ; preds = %14 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = mul i64 1, %23 %25 = add i64 %24, 1 %26 = trunc i64 %25 to i32 %27 = call i64 @realloc(ptr noundef %21, i32 noundef %26) %28 = inttoptr i64 %27 to ptr store ptr %28, ptr %5, align 8 %29 = load i8, ptr %6, align 1 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 store i8 %29, ptr %33, align 1 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %7, align 4 br label %36 36: ; preds = %20, %14 br label %8, !llvm.loop !6 37: ; preds = %8 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %7, align 4 %40 = sub nsw i32 %39, 1 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %38, i64 %41 store i8 0, ptr %42, align 1 %43 = load ptr, ptr %5, align 8 ret ptr %43 } declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @realloc(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/tmpyicr84ci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @readfString(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 store ptr null, ptr %5, align 8 store i8 64, ptr %6, align 1 store i32 0, ptr %7, align 4 %8 = load i8, ptr %6, align 1 %9 = sext i8 %8 to i32 %10 = load i8, ptr %4, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %9, %11 br i1 %12, label %.lr.ph, label %41 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %35 %14 = load ptr, ptr %3, align 8 %15 = call i32 @fscanf(ptr noundef %14, ptr noundef @.str, ptr noundef %6) %16 = load i8, ptr %6, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 10 br i1 %18, label %19, label %35 19: ; preds = %13 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = mul i64 1, %22 %24 = add i64 %23, 1 %25 = trunc i64 %24 to i32 %26 = call i64 @realloc(ptr noundef %20, i32 noundef %25) %27 = inttoptr i64 %26 to ptr store ptr %27, ptr %5, align 8 %28 = load i8, ptr %6, align 1 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 store i8 %28, ptr %32, align 1 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 br label %35 35: ; preds = %19, %13 %36 = load i8, ptr %6, align 1 %37 = sext i8 %36 to i32 %38 = load i8, ptr %4, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 %37, %39 br i1 %40, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %41 41: ; preds = %._crit_edge, %2 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %7, align 4 %44 = sub nsw i32 %43, 1 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %42, i64 %45 store i8 0, ptr %46, align 1 %47 = load ptr, ptr %5, align 8 ret ptr %47 } declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @realloc(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/tmp2emlocgo.c' source_filename = "/tmp/tmp2emlocgo.c" target datalayout = "e-m:e-p270: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/tmp2emlocgo.c" target datalayout = "e-m:e-p270: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/tmpj1mmz6fc.c' source_filename = "/tmp/tmpj1mmz6fc.c" target datalayout = "e-m:e-p270: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/tmpj1mmz6fc.c" target datalayout = "e-m:e-p270: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/tmpp5he0nu6.c' source_filename = "/tmp/tmpp5he0nu6.c" target datalayout = "e-m:e-p270: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/tmpp5he0nu6.c" target datalayout = "e-m:e-p270: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/tmpvzpl96b8.c' source_filename = "/tmp/tmpvzpl96b8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%.5f:\09\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"------------------------------\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printplan(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %26, %3 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %29 12: ; preds = %8 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds float, ptr %13, i64 %15 %17 = load float, ptr %16, align 4 %18 = fpext float %17 to double %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %18) %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %20, i64 %22 %24 = load i32, ptr %23, align 4 %25 = call i32 @print_op(i32 noundef %24) br label %26 26: ; preds = %12 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 br label %8, !llvm.loop !6 29: ; preds = %8 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @print_op(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/tmpvzpl96b8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%.5f:\09\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"------------------------------\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printplan(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %31 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %25 %12 = load ptr, ptr %6, align 8 %13 = load i32, ptr %7, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds float, ptr %12, i64 %14 %16 = load float, ptr %15, align 4 %17 = fpext float %16 to double %18 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %17) %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 %24 = call i32 @print_op(i32 noundef %23) br label %25 25: ; preds = %11 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %7, align 4 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %3 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @print_op(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/tmpcejyx664.c' source_filename = "/tmp/tmpcejyx664.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"# c::cephes::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"cosh\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 br label %7 7: ; preds = %18, %0 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %10, label %21 10: ; preds = %7 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %12 = call double (...) @benchmark() store double %12, ptr %2, align 8 %13 = load double, ptr %2, align 8 %14 = call i32 @print_results(double noundef %13) %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %7, !llvm.loop !6 21: ; preds = %7 %22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3) %23 = load i32, ptr %1, align 4 ret i32 %23 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(double noundef) #1 declare i32 @print_summary(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/tmpcejyx664.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"# c::cephes::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"cosh\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 3 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %17 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %11 = call double (...) @benchmark() store double %11, ptr %2, align 8 %12 = load double, ptr %2, align 8 %13 = call i32 @print_results(double noundef %12) %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15) br label %17 17: ; preds = %9 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 %23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3) %24 = load i32, ptr %1, align 4 ret i32 %24 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(double noundef) #1 declare i32 @print_summary(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/tmplxwniq7z.c' source_filename = "/tmp/tmplxwniq7z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alisp_dump_image(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 @dump_image(ptr noundef %3) ret i32 %4 } declare i32 @dump_image(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/tmplxwniq7z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alisp_dump_image(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 @dump_image(ptr noundef %3) ret i32 %4 } declare i32 @dump_image(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/tmp4ghv8du4.c' source_filename = "/tmp/tmp4ghv8du4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @close_stdout() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = load i32, ptr @stdout, align 4 %4 = call i32 @fflush(i32 noundef %3) %5 = call i32 @dup(i32 noundef 1) store i32 %5, ptr %1, align 4 %6 = load i32, ptr @O_WRONLY, align 4 %7 = call i32 @open(ptr noundef @.str, i32 noundef %6) store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 @dup2(i32 noundef %8, i32 noundef 1) %10 = load i32, ptr %2, align 4 %11 = call i32 @close(i32 noundef %10) %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i32 @fflush(i32 noundef) #1 declare i32 @dup(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @dup2(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/tmp4ghv8du4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @close_stdout() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = load i32, ptr @stdout, align 4 %4 = call i32 @fflush(i32 noundef %3) %5 = call i32 @dup(i32 noundef 1) store i32 %5, ptr %1, align 4 %6 = load i32, ptr @O_WRONLY, align 4 %7 = call i32 @open(ptr noundef @.str, i32 noundef %6) store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 @dup2(i32 noundef %8, i32 noundef 1) %10 = load i32, ptr %2, align 4 %11 = call i32 @close(i32 noundef %10) %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i32 @fflush(i32 noundef) #1 declare i32 @dup(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @dup2(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/tmp0r0ogi0k.c' source_filename = "/tmp/tmp0r0ogi0k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @readFile(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %12, label %11 11: ; preds = %1 store ptr null, ptr %2, align 8 br label %35 12: ; preds = %1 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr @SEEK_END, align 4 %15 = call i32 @fseek(ptr noundef %13, i32 noundef 0, i32 noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call i64 @ftell(ptr noundef %16) store i64 %17, ptr %5, align 8 %18 = load i64, ptr %5, align 8 %19 = add nsw i64 %18, 1 %20 = call i64 @malloc(i64 noundef %19) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr @SEEK_SET, align 4 %24 = call i32 @fseek(ptr noundef %22, i32 noundef 0, i32 noundef %23) %25 = load ptr, ptr %6, align 8 %26 = load i64, ptr %5, align 8 %27 = load ptr, ptr %4, align 8 %28 = call i32 @fread(ptr noundef %25, i64 noundef %26, i32 noundef 1, ptr noundef %27) %29 = load ptr, ptr %4, align 8 %30 = call i32 @fclose(ptr noundef %29) %31 = load ptr, ptr %6, align 8 %32 = load i64, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %31, i64 %32 store i8 0, ptr %33, align 1 %34 = load ptr, ptr %6, align 8 store ptr %34, ptr %2, align 8 br label %35 35: ; preds = %12, %11 %36 = load ptr, ptr %2, align 8 ret ptr %36 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @fread(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0r0ogi0k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @readFile(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %12, label %11 11: ; preds = %1 store ptr null, ptr %2, align 8 br label %35 12: ; preds = %1 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr @SEEK_END, align 4 %15 = call i32 @fseek(ptr noundef %13, i32 noundef 0, i32 noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call i64 @ftell(ptr noundef %16) store i64 %17, ptr %5, align 8 %18 = load i64, ptr %5, align 8 %19 = add nsw i64 %18, 1 %20 = call i64 @malloc(i64 noundef %19) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr @SEEK_SET, align 4 %24 = call i32 @fseek(ptr noundef %22, i32 noundef 0, i32 noundef %23) %25 = load ptr, ptr %6, align 8 %26 = load i64, ptr %5, align 8 %27 = load ptr, ptr %4, align 8 %28 = call i32 @fread(ptr noundef %25, i64 noundef %26, i32 noundef 1, ptr noundef %27) %29 = load ptr, ptr %4, align 8 %30 = call i32 @fclose(ptr noundef %29) %31 = load ptr, ptr %6, align 8 %32 = load i64, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %31, i64 %32 store i8 0, ptr %33, align 1 %34 = load ptr, ptr %6, align 8 store ptr %34, ptr %2, align 8 br label %35 35: ; preds = %12, %11 %36 = load ptr, ptr %2, align 8 ret ptr %36 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @fread(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp5n9fwyn.c' source_filename = "/tmp/tmpp5n9fwyn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slist_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 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp5n9fwyn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slist_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 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwpto6ek4.c' source_filename = "/tmp/tmpwpto6ek4.c" target datalayout = "e-m:e-p270: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/tmpwpto6ek4.c" target datalayout = "e-m:e-p270: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/tmp376qxac_.c' source_filename = "/tmp/tmp376qxac_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isPrime(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 store i32 2, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, 1 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 0, ptr %2, align 4 br label %24 8: ; preds = %1 store i32 2, ptr %4, align 4 br label %9 9: ; preds = %20, %8 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp ult i32 %10, %11 br i1 %12, label %13, label %23 13: ; preds = %9 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %4, align 4 %16 = urem i32 %14, %15 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %13 store i32 0, ptr %2, align 4 br label %24 19: ; preds = %13 br label %20 20: ; preds = %19 %21 = load i32, ptr %4, align 4 %22 = add i32 %21, 1 store i32 %22, ptr %4, align 4 br label %9, !llvm.loop !6 23: ; preds = %9 store i32 1, ptr %2, align 4 br label %24 24: ; preds = %23, %18, %7 %25 = load i32, ptr %2, align 4 ret i32 %25 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp376qxac_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isPrime(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 store i32 2, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, 1 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 0, ptr %2, align 4 br label %26 8: ; preds = %1 store i32 2, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp ult i32 %9, %10 br i1 %11, label %.lr.ph, label %25 .lr.ph: ; preds = %8 br label %12 12: ; preds = %.lr.ph, %19 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = urem i32 %13, %14 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %12 store i32 0, ptr %2, align 4 br label %26 18: ; preds = %12 br label %19 19: ; preds = %18 %20 = load i32, ptr %4, align 4 %21 = add i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp ult i32 %22, %23 br i1 %24, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %8 store i32 1, ptr %2, align 4 br label %26 26: ; preds = %25, %17, %7 %27 = load i32, ptr %2, align 4 ret i32 %27 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqmtysu66.c' source_filename = "/tmp/tmpqmtysu66.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINPROGRESS = dso_local global i64 0, align 8 @SOCK_STREAM = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SOMAXCONN = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqmtysu66.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINPROGRESS = dso_local global i64 0, align 8 @SOCK_STREAM = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SOMAXCONN = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkrmup83p.c' source_filename = "/tmp/tmpkrmup83p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ADC_Init() #0 { %1 = alloca i32, align 4 %2 = load volatile i32, ptr inttoptr (i64 1074783752 to ptr), align 4 %3 = or i32 %2, 16 store volatile i32 %3, ptr inttoptr (i64 1074783752 to ptr), align 4 br label %4 4: ; preds = %8, %0 %5 = load volatile i32, ptr inttoptr (i64 1074784776 to ptr), align 4 %6 = and i32 %5, 16 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %4 br label %4, !llvm.loop !6 9: ; preds = %4 %10 = load volatile i32, ptr inttoptr (i64 1073890588 to ptr), align 4 %11 = and i32 %10, -5 store volatile i32 %11, ptr inttoptr (i64 1073890588 to ptr), align 4 %12 = load volatile i32, ptr inttoptr (i64 1073890336 to ptr), align 4 %13 = or i32 %12, 4 store volatile i32 %13, ptr inttoptr (i64 1073890336 to ptr), align 4 %14 = load volatile i32, ptr inttoptr (i64 1073890600 to ptr), align 4 %15 = or i32 %14, 4 store volatile i32 %15, ptr inttoptr (i64 1073890600 to ptr), align 4 %16 = load volatile i32, ptr inttoptr (i64 1073890304 to ptr), align 4 %17 = and i32 %16, -5 store volatile i32 %17, ptr inttoptr (i64 1073890304 to ptr), align 4 %18 = load volatile i32, ptr inttoptr (i64 1074783800 to ptr), align 4 %19 = or i32 %18, 1 store volatile i32 %19, ptr inttoptr (i64 1074783800 to ptr), align 4 %20 = load volatile i32, ptr inttoptr (i64 1074783800 to ptr), align 4 store volatile i32 %20, ptr %1, align 4 %21 = load volatile i32, ptr inttoptr (i64 1074783800 to ptr), align 4 store volatile i32 %21, ptr %1, align 4 %22 = load volatile i32, ptr inttoptr (i64 1074783800 to ptr), align 4 store volatile i32 %22, ptr %1, align 4 %23 = load volatile i32, ptr inttoptr (i64 1074783800 to ptr), align 4 store volatile i32 %23, ptr %1, align 4 %24 = load volatile i32, ptr inttoptr (i64 1074783800 to ptr), align 4 store volatile i32 %24, ptr %1, align 4 store volatile i32 1, ptr inttoptr (i64 1073975236 to ptr), align 4 store volatile i32 291, ptr inttoptr (i64 1073971232 to ptr), align 4 %25 = load volatile i32, ptr inttoptr (i64 1073971200 to ptr), align 4 %26 = and i32 %25, -9 store volatile i32 %26, ptr inttoptr (i64 1073971200 to ptr), align 4 %27 = load volatile i32, ptr inttoptr (i64 1073971220 to ptr), align 4 %28 = and i32 %27, -61441 store volatile i32 %28, ptr inttoptr (i64 1073971220 to ptr), align 4 %29 = load volatile i32, ptr inttoptr (i64 1073971360 to ptr), align 4 %30 = and i32 %29, -16 %31 = add nsw i32 %30, 1 store volatile i32 %31, ptr inttoptr (i64 1073971360 to ptr), align 4 store volatile i32 6, ptr inttoptr (i64 1073971364 to ptr), align 4 %32 = load volatile i32, ptr inttoptr (i64 1073971208 to ptr), align 4 %33 = and i32 %32, -9 store volatile i32 %33, ptr inttoptr (i64 1073971208 to ptr), align 4 %34 = load volatile i32, ptr inttoptr (i64 1073971200 to ptr), align 4 %35 = or i32 %34, 8 store volatile i32 %35, ptr inttoptr (i64 1073971200 to ptr), align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkrmup83p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ADC_Init() #0 { %1 = alloca i32, align 4 %2 = load volatile i32, ptr inttoptr (i64 1074783752 to ptr), align 4 %3 = or i32 %2, 16 store volatile i32 %3, ptr inttoptr (i64 1074783752 to ptr), align 4 br label %4 4: ; preds = %4, %0 %5 = load volatile i32, ptr inttoptr (i64 1074784776 to ptr), align 4 %6 = and i32 %5, 16 %7 = icmp eq i32 %6, 0 br i1 %7, label %4, label %8, !llvm.loop !6 8: ; preds = %4 %9 = load volatile i32, ptr inttoptr (i64 1073890588 to ptr), align 4 %10 = and i32 %9, -5 store volatile i32 %10, ptr inttoptr (i64 1073890588 to ptr), align 4 %11 = load volatile i32, ptr inttoptr (i64 1073890336 to ptr), align 4 %12 = or i32 %11, 4 store volatile i32 %12, ptr inttoptr (i64 1073890336 to ptr), align 4 %13 = load volatile i32, ptr inttoptr (i64 1073890600 to ptr), align 4 %14 = or i32 %13, 4 store volatile i32 %14, ptr inttoptr (i64 1073890600 to ptr), align 4 %15 = load volatile i32, ptr inttoptr (i64 1073890304 to ptr), align 4 %16 = and i32 %15, -5 store volatile i32 %16, ptr inttoptr (i64 1073890304 to ptr), align 4 %17 = load volatile i32, ptr inttoptr (i64 1074783800 to ptr), align 4 %18 = or i32 %17, 1 store volatile i32 %18, ptr inttoptr (i64 1074783800 to ptr), align 4 %19 = load volatile i32, ptr inttoptr (i64 1074783800 to ptr), align 4 store volatile i32 %19, ptr %1, align 4 %20 = load volatile i32, ptr inttoptr (i64 1074783800 to ptr), align 4 store volatile i32 %20, ptr %1, align 4 %21 = load volatile i32, ptr inttoptr (i64 1074783800 to ptr), align 4 store volatile i32 %21, ptr %1, align 4 %22 = load volatile i32, ptr inttoptr (i64 1074783800 to ptr), align 4 store volatile i32 %22, ptr %1, align 4 %23 = load volatile i32, ptr inttoptr (i64 1074783800 to ptr), align 4 store volatile i32 %23, ptr %1, align 4 store volatile i32 1, ptr inttoptr (i64 1073975236 to ptr), align 4 store volatile i32 291, ptr inttoptr (i64 1073971232 to ptr), align 4 %24 = load volatile i32, ptr inttoptr (i64 1073971200 to ptr), align 4 %25 = and i32 %24, -9 store volatile i32 %25, ptr inttoptr (i64 1073971200 to ptr), align 4 %26 = load volatile i32, ptr inttoptr (i64 1073971220 to ptr), align 4 %27 = and i32 %26, -61441 store volatile i32 %27, ptr inttoptr (i64 1073971220 to ptr), align 4 %28 = load volatile i32, ptr inttoptr (i64 1073971360 to ptr), align 4 %29 = and i32 %28, -16 %30 = add nsw i32 %29, 1 store volatile i32 %30, ptr inttoptr (i64 1073971360 to ptr), align 4 store volatile i32 6, ptr inttoptr (i64 1073971364 to ptr), align 4 %31 = load volatile i32, ptr inttoptr (i64 1073971208 to ptr), align 4 %32 = and i32 %31, -9 store volatile i32 %32, ptr inttoptr (i64 1073971208 to ptr), align 4 %33 = load volatile i32, ptr inttoptr (i64 1073971200 to ptr), align 4 %34 = or i32 %33, 8 store volatile i32 %34, ptr inttoptr (i64 1073971200 to ptr), align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpw0qn74c1.c' source_filename = "/tmp/tmpw0qn74c1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1. exit\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"word>\00", align 1 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @word_input(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 br label %5 5: ; preds = %19, %2 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 @printf(ptr noundef @.str.1) %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 2 %11 = load i32, ptr @stdin, align 4 %12 = call i32 @fgets(ptr noundef %8, i32 noundef %10, i32 noundef %11) %13 = load ptr, ptr %3, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = sub nsw i32 %15, 1 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %13, i64 %17 store i8 0, ptr %18, align 1 br label %19 19: ; preds = %5 %20 = load ptr, ptr %3, align 8 %21 = call i32 @strlen(ptr noundef %20) %22 = icmp eq i32 %21, 0 br i1 %22, label %5, label %23, !llvm.loop !6 23: ; preds = %19 ret void } declare i32 @printf(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw0qn74c1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1. exit\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"word>\00", align 1 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @word_input(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 br label %5 5: ; preds = %19, %2 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 @printf(ptr noundef @.str.1) %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 2 %11 = load i32, ptr @stdin, align 4 %12 = call i32 @fgets(ptr noundef %8, i32 noundef %10, i32 noundef %11) %13 = load ptr, ptr %3, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = sub nsw i32 %15, 1 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %13, i64 %17 store i8 0, ptr %18, align 1 br label %19 19: ; preds = %5 %20 = load ptr, ptr %3, align 8 %21 = call i32 @strlen(ptr noundef %20) %22 = icmp eq i32 %21, 0 br i1 %22, label %5, label %23, !llvm.loop !6 23: ; preds = %19 ret void } declare i32 @printf(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpd7fyvih5.c' source_filename = "/tmp/tmpd7fyvih5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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: %ld\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%x: %ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%o: %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @count_digit(i32 noundef 0) %3 = call i32 @printf(ptr noundef @.str, i32 noundef 0, i32 noundef %2) %4 = call i32 @count_digit(i32 noundef 1) %5 = call i32 @printf(ptr noundef @.str, i32 noundef 1, i32 noundef %4) %6 = call i32 @count_digit(i32 noundef 10) %7 = call i32 @printf(ptr noundef @.str, i32 noundef 10, i32 noundef %6) %8 = call i32 @count_digit(i32 noundef 100) %9 = call i32 @printf(ptr noundef @.str, i32 noundef 100, i32 noundef %8) %10 = call i32 @count_digit(i32 noundef 1000) %11 = call i32 @printf(ptr noundef @.str, i32 noundef 1000, i32 noundef %10) %12 = call i32 @count_digit(i32 noundef 10000) %13 = call i32 @printf(ptr noundef @.str, i32 noundef 10000, i32 noundef %12) %14 = call i32 @count_digit(i32 noundef 100000) %15 = call i32 @printf(ptr noundef @.str, i32 noundef 100000, i32 noundef %14) %16 = call i32 @count_digit_base(i32 noundef 0, i32 noundef 16) %17 = call i32 @printf(ptr noundef @.str.1, i32 noundef 0, i32 noundef %16) %18 = call i32 @count_digit_base(i32 noundef 1, i32 noundef 16) %19 = call i32 @printf(ptr noundef @.str.1, i32 noundef 1, i32 noundef %18) %20 = call i32 @count_digit_base(i32 noundef 10, i32 noundef 16) %21 = call i32 @printf(ptr noundef @.str.1, i32 noundef 10, i32 noundef %20) %22 = call i32 @count_digit_base(i32 noundef 100, i32 noundef 16) %23 = call i32 @printf(ptr noundef @.str.1, i32 noundef 100, i32 noundef %22) %24 = call i32 @count_digit_base(i32 noundef 1000, i32 noundef 16) %25 = call i32 @printf(ptr noundef @.str.1, i32 noundef 1000, i32 noundef %24) %26 = call i32 @count_digit_base(i32 noundef 10000, i32 noundef 16) %27 = call i32 @printf(ptr noundef @.str.1, i32 noundef 10000, i32 noundef %26) %28 = call i32 @count_digit_base(i32 noundef 100000, i32 noundef 16) %29 = call i32 @printf(ptr noundef @.str.1, i32 noundef 100000, i32 noundef %28) %30 = call i32 @count_digit_base(i32 noundef 0, i32 noundef 8) %31 = call i32 @printf(ptr noundef @.str.2, i32 noundef 0, i32 noundef %30) %32 = call i32 @count_digit_base(i32 noundef 1, i32 noundef 8) %33 = call i32 @printf(ptr noundef @.str.2, i32 noundef 1, i32 noundef %32) %34 = call i32 @count_digit_base(i32 noundef 10, i32 noundef 8) %35 = call i32 @printf(ptr noundef @.str.2, i32 noundef 10, i32 noundef %34) %36 = call i32 @count_digit_base(i32 noundef 100, i32 noundef 8) %37 = call i32 @printf(ptr noundef @.str.2, i32 noundef 100, i32 noundef %36) %38 = call i32 @count_digit_base(i32 noundef 1000, i32 noundef 8) %39 = call i32 @printf(ptr noundef @.str.2, i32 noundef 1000, i32 noundef %38) %40 = call i32 @count_digit_base(i32 noundef 10000, i32 noundef 8) %41 = call i32 @printf(ptr noundef @.str.2, i32 noundef 10000, i32 noundef %40) %42 = call i32 @count_digit_base(i32 noundef 100000, i32 noundef 8) %43 = call i32 @printf(ptr noundef @.str.2, i32 noundef 100000, i32 noundef %42) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @count_digit(i32 noundef) #1 declare i32 @count_digit_base(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/tmpd7fyvih5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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: %ld\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%x: %ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%o: %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @count_digit(i32 noundef 0) %3 = call i32 @printf(ptr noundef @.str, i32 noundef 0, i32 noundef %2) %4 = call i32 @count_digit(i32 noundef 1) %5 = call i32 @printf(ptr noundef @.str, i32 noundef 1, i32 noundef %4) %6 = call i32 @count_digit(i32 noundef 10) %7 = call i32 @printf(ptr noundef @.str, i32 noundef 10, i32 noundef %6) %8 = call i32 @count_digit(i32 noundef 100) %9 = call i32 @printf(ptr noundef @.str, i32 noundef 100, i32 noundef %8) %10 = call i32 @count_digit(i32 noundef 1000) %11 = call i32 @printf(ptr noundef @.str, i32 noundef 1000, i32 noundef %10) %12 = call i32 @count_digit(i32 noundef 10000) %13 = call i32 @printf(ptr noundef @.str, i32 noundef 10000, i32 noundef %12) %14 = call i32 @count_digit(i32 noundef 100000) %15 = call i32 @printf(ptr noundef @.str, i32 noundef 100000, i32 noundef %14) %16 = call i32 @count_digit_base(i32 noundef 0, i32 noundef 16) %17 = call i32 @printf(ptr noundef @.str.1, i32 noundef 0, i32 noundef %16) %18 = call i32 @count_digit_base(i32 noundef 1, i32 noundef 16) %19 = call i32 @printf(ptr noundef @.str.1, i32 noundef 1, i32 noundef %18) %20 = call i32 @count_digit_base(i32 noundef 10, i32 noundef 16) %21 = call i32 @printf(ptr noundef @.str.1, i32 noundef 10, i32 noundef %20) %22 = call i32 @count_digit_base(i32 noundef 100, i32 noundef 16) %23 = call i32 @printf(ptr noundef @.str.1, i32 noundef 100, i32 noundef %22) %24 = call i32 @count_digit_base(i32 noundef 1000, i32 noundef 16) %25 = call i32 @printf(ptr noundef @.str.1, i32 noundef 1000, i32 noundef %24) %26 = call i32 @count_digit_base(i32 noundef 10000, i32 noundef 16) %27 = call i32 @printf(ptr noundef @.str.1, i32 noundef 10000, i32 noundef %26) %28 = call i32 @count_digit_base(i32 noundef 100000, i32 noundef 16) %29 = call i32 @printf(ptr noundef @.str.1, i32 noundef 100000, i32 noundef %28) %30 = call i32 @count_digit_base(i32 noundef 0, i32 noundef 8) %31 = call i32 @printf(ptr noundef @.str.2, i32 noundef 0, i32 noundef %30) %32 = call i32 @count_digit_base(i32 noundef 1, i32 noundef 8) %33 = call i32 @printf(ptr noundef @.str.2, i32 noundef 1, i32 noundef %32) %34 = call i32 @count_digit_base(i32 noundef 10, i32 noundef 8) %35 = call i32 @printf(ptr noundef @.str.2, i32 noundef 10, i32 noundef %34) %36 = call i32 @count_digit_base(i32 noundef 100, i32 noundef 8) %37 = call i32 @printf(ptr noundef @.str.2, i32 noundef 100, i32 noundef %36) %38 = call i32 @count_digit_base(i32 noundef 1000, i32 noundef 8) %39 = call i32 @printf(ptr noundef @.str.2, i32 noundef 1000, i32 noundef %38) %40 = call i32 @count_digit_base(i32 noundef 10000, i32 noundef 8) %41 = call i32 @printf(ptr noundef @.str.2, i32 noundef 10000, i32 noundef %40) %42 = call i32 @count_digit_base(i32 noundef 100000, i32 noundef 8) %43 = call i32 @printf(ptr noundef @.str.2, i32 noundef 100000, i32 noundef %42) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @count_digit(i32 noundef) #1 declare i32 @count_digit_base(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/tmpsz_cwdel.c' source_filename = "/tmp/tmpsz_cwdel.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %u\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 2, ptr %4, align 4 br label %6 6: ; preds = %30, %0 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = mul i32 %7, %8 %10 = load i32, ptr %2, align 4 %11 = icmp ule i32 %9, %10 br i1 %11, label %12, label %33 12: ; preds = %6 br label %13 13: ; preds = %18, %12 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %4, align 4 %16 = urem i32 %14, %15 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %29 18: ; preds = %13 %19 = load i32, ptr %3, align 4 %20 = add i32 %19, 1 store i32 %20, ptr %3, align 4 %21 = icmp ne i32 %19, 0 %22 = zext i1 %21 to i64 %23 = select i1 %21, ptr @.str.1, ptr @.str %24 = load i32, ptr %4, align 4 %25 = call i32 @printf(ptr noundef %23, i32 noundef %24) %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %2, align 4 %28 = udiv i32 %27, %26 store i32 %28, ptr %2, align 4 br label %13, !llvm.loop !6 29: ; preds = %13 br label %30 30: ; preds = %29 %31 = load i32, ptr %4, align 4 %32 = add i32 %31, 1 store i32 %32, ptr %4, align 4 br label %6, !llvm.loop !8 33: ; preds = %6 %34 = load i32, ptr %2, align 4 %35 = icmp ne i32 %34, 1 br i1 %35, label %36, label %44 36: ; preds = %33 %37 = load i32, ptr %3, align 4 %38 = add i32 %37, 1 store i32 %38, ptr %3, align 4 %39 = icmp ne i32 %37, 0 %40 = zext i1 %39 to i64 %41 = select i1 %39, ptr @.str.1, ptr @.str %42 = load i32, ptr %2, align 4 %43 = call i32 @printf(ptr noundef %41, i32 noundef %42) br label %44 44: ; preds = %36, %33 %45 = load i32, ptr %3, align 4 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %49 47: ; preds = %44 %48 = call i32 @putchar(i32 noundef 10) br label %49 49: ; preds = %47, %44 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @putchar(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsz_cwdel.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %u\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 2, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = mul i32 %6, %7 %9 = load i32, ptr %2, align 4 %10 = icmp ule i32 %8, %9 br i1 %10, label %.lr.ph2, label %40 .lr.ph2: ; preds = %0 br label %11 11: ; preds = %.lr.ph2, %32 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %4, align 4 %14 = urem i32 %12, %13 %15 = icmp eq i32 %14, 0 br i1 %15, label %.lr.ph, label %31 .lr.ph: ; preds = %11 br label %16 16: ; preds = %.lr.ph, %16 %17 = load i32, ptr %3, align 4 %18 = add i32 %17, 1 store i32 %18, ptr %3, align 4 %19 = icmp ne i32 %17, 0 %20 = zext i1 %19 to i64 %21 = select i1 %19, ptr @.str.1, ptr @.str %22 = load i32, ptr %4, align 4 %23 = call i32 @printf(ptr noundef %21, i32 noundef %22) %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %2, align 4 %26 = udiv i32 %25, %24 store i32 %26, ptr %2, align 4 %27 = load i32, ptr %2, align 4 %28 = load i32, ptr %4, align 4 %29 = urem i32 %27, %28 %30 = icmp eq i32 %29, 0 br i1 %30, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %31 31: ; preds = %._crit_edge, %11 br label %32 32: ; preds = %31 %33 = load i32, ptr %4, align 4 %34 = add i32 %33, 1 store i32 %34, ptr %4, align 4 %35 = load i32, ptr %4, align 4 %36 = load i32, ptr %4, align 4 %37 = mul i32 %35, %36 %38 = load i32, ptr %2, align 4 %39 = icmp ule i32 %37, %38 br i1 %39, label %11, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %32 br label %40 40: ; preds = %._crit_edge3, %0 %41 = load i32, ptr %2, align 4 %42 = icmp ne i32 %41, 1 br i1 %42, label %43, label %51 43: ; preds = %40 %44 = load i32, ptr %3, align 4 %45 = add i32 %44, 1 store i32 %45, ptr %3, align 4 %46 = icmp ne i32 %44, 0 %47 = zext i1 %46 to i64 %48 = select i1 %46, ptr @.str.1, ptr @.str %49 = load i32, ptr %2, align 4 %50 = call i32 @printf(ptr noundef %48, i32 noundef %49) br label %51 51: ; preds = %43, %40 %52 = load i32, ptr %3, align 4 %53 = icmp ne i32 %52, 0 br i1 %53, label %54, label %56 54: ; preds = %51 %55 = call i32 @putchar(i32 noundef 10) br label %56 56: ; preds = %54, %51 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @putchar(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmprawrywqy.c' source_filename = "/tmp/tmprawrywqy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Digite o valor do premio: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Digite o valor do apostador 1: \00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"Digite o valor do apostador 2: \00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"Digite o valor do apostador 3: \00", align 1 @.str.5 = private unnamed_addr constant [31 x i8] c"O apostador 1 ganhou: R$ %.2f\0A\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"O apostador 2 ganhou: R$ %.2f\0A\00", align 1 @.str.7 = private unnamed_addr constant [31 x i8] c"O apostador 3 ganhou: R$ %.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %15 = load float, ptr %2, align 4 %16 = load float, ptr %3, align 4 %17 = load float, ptr %4, align 4 %18 = fadd float %16, %17 %19 = load float, ptr %5, align 4 %20 = fadd float %18, %19 %21 = fdiv float %15, %20 store float %21, ptr %6, align 4 %22 = load float, ptr %3, align 4 %23 = load float, ptr %6, align 4 %24 = fmul float %22, %23 %25 = fpext float %24 to double %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %25) %27 = load float, ptr %4, align 4 %28 = load float, ptr %6, align 4 %29 = fmul float %27, %28 %30 = fpext float %29 to double %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %30) %32 = load float, ptr %5, align 4 %33 = load float, ptr %6, align 4 %34 = fmul float %32, %33 %35 = fpext float %34 to double %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %35) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprawrywqy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Digite o valor do premio: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Digite o valor do apostador 1: \00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"Digite o valor do apostador 2: \00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"Digite o valor do apostador 3: \00", align 1 @.str.5 = private unnamed_addr constant [31 x i8] c"O apostador 1 ganhou: R$ %.2f\0A\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"O apostador 2 ganhou: R$ %.2f\0A\00", align 1 @.str.7 = private unnamed_addr constant [31 x i8] c"O apostador 3 ganhou: R$ %.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %15 = load float, ptr %2, align 4 %16 = load float, ptr %3, align 4 %17 = load float, ptr %4, align 4 %18 = fadd float %16, %17 %19 = load float, ptr %5, align 4 %20 = fadd float %18, %19 %21 = fdiv float %15, %20 store float %21, ptr %6, align 4 %22 = load float, ptr %3, align 4 %23 = load float, ptr %6, align 4 %24 = fmul float %22, %23 %25 = fpext float %24 to double %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %25) %27 = load float, ptr %4, align 4 %28 = load float, ptr %6, align 4 %29 = fmul float %27, %28 %30 = fpext float %29 to double %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %30) %32 = load float, ptr %5, align 4 %33 = load float, ptr %6, align 4 %34 = fmul float %32, %33 %35 = fpext float %34 to double %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %35) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcu53657o.c' source_filename = "/tmp/tmpcu53657o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fs__cmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %7, align 8 %9 = call i32 @strcmp(ptr noundef %6, ptr noundef %8) ret i32 %9 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcu53657o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fs__cmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %7, align 8 %9 = call i32 @strcmp(ptr noundef %6, ptr noundef %8) ret i32 %9 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpspe9gy7f.c' source_filename = "/tmp/tmpspe9gy7f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [256 x i8], align 16 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %9, align 4 br label %10 10: ; preds = %64, %2 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %67 14: ; preds = %10 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %9, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str) store ptr %20, ptr %8, align 8 %21 = load ptr, ptr %8, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %23, label %63 23: ; preds = %14 br label %24 24: ; preds = %57, %23 %25 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %26 = load ptr, ptr %8, align 8 %27 = call ptr @fgets(ptr noundef %25, i32 noundef 256, ptr noundef %26) %28 = icmp ne ptr %27, null br i1 %28, label %29, label %60 29: ; preds = %24 %30 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %31 = call i64 @strlen(ptr noundef %30) store i64 %31, ptr %7, align 8 br label %32 32: ; preds = %53, %29 %33 = load i64, ptr %7, align 8 %34 = icmp ugt i64 %33, 0 br i1 %34, label %35, label %51 35: ; preds = %32 %36 = load i64, ptr %7, align 8 %37 = sub i64 %36, 1 %38 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 10 br i1 %41, label %49, label %42 42: ; preds = %35 %43 = load i64, ptr %7, align 8 %44 = sub i64 %43, 1 %45 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 13 br label %49 49: ; preds = %42, %35 %50 = phi i1 [ true, %35 ], [ %48, %42 ] br label %51 51: ; preds = %49, %32 %52 = phi i1 [ false, %32 ], [ %50, %49 ] br i1 %52, label %53, label %57 53: ; preds = %51 %54 = load i64, ptr %7, align 8 %55 = add i64 %54, -1 store i64 %55, ptr %7, align 8 %56 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %55 store i8 0, ptr %56, align 1 br label %32, !llvm.loop !6 57: ; preds = %51 %58 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %59 = call i32 @printf(ptr noundef @.str.1, ptr noundef %58) br label %24, !llvm.loop !8 60: ; preds = %24 %61 = load ptr, ptr %8, align 8 %62 = call i32 @fclose(ptr noundef %61) br label %63 63: ; preds = %60, %14 br label %64 64: ; preds = %63 %65 = load i32, ptr %9, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %9, align 4 br label %10, !llvm.loop !9 67: ; preds = %10 ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpspe9gy7f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [256 x i8], align 16 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph2, label %71 .lr.ph2: ; preds = %2 br label %13 13: ; preds = %.lr.ph2, %65 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %9, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds ptr, ptr %14, i64 %16 %18 = load ptr, ptr %17, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str) store ptr %19, ptr %8, align 8 %20 = load ptr, ptr %8, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %64 22: ; preds = %13 %23 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %24 = load ptr, ptr %8, align 8 %25 = call ptr @fgets(ptr noundef %23, i32 noundef 256, ptr noundef %24) %26 = icmp ne ptr %25, null br i1 %26, label %.lr.ph, label %61 .lr.ph: ; preds = %22 %27 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 br label %28 28: ; preds = %.lr.ph, %56 %29 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %30 = call i64 @strlen(ptr noundef %29) store i64 %30, ptr %7, align 8 br label %31 31: ; preds = %52, %28 %32 = load i64, ptr %7, align 8 %33 = icmp ugt i64 %32, 0 br i1 %33, label %34, label %50 34: ; preds = %31 %35 = load i64, ptr %7, align 8 %36 = sub i64 %35, 1 %37 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 10 br i1 %40, label %48, label %41 41: ; preds = %34 %42 = load i64, ptr %7, align 8 %43 = sub i64 %42, 1 %44 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 13 br label %48 48: ; preds = %41, %34 %49 = phi i1 [ true, %34 ], [ %47, %41 ] br label %50 50: ; preds = %48, %31 %51 = phi i1 [ false, %31 ], [ %49, %48 ] br i1 %51, label %52, label %56 52: ; preds = %50 %53 = load i64, ptr %7, align 8 %54 = add i64 %53, -1 store i64 %54, ptr %7, align 8 %55 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %54 store i8 0, ptr %55, align 1 br label %31, !llvm.loop !6 56: ; preds = %50 %57 = call i32 @printf(ptr noundef @.str.1, ptr noundef %27) %58 = load ptr, ptr %8, align 8 %59 = call ptr @fgets(ptr noundef %23, i32 noundef 256, ptr noundef %58) %60 = icmp ne ptr %59, null br i1 %60, label %28, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %56 br label %61 61: ; preds = %._crit_edge, %22 %62 = load ptr, ptr %8, align 8 %63 = call i32 @fclose(ptr noundef %62) br label %64 64: ; preds = %61, %13 br label %65 65: ; preds = %64 %66 = load i32, ptr %9, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %9, align 4 %68 = load i32, ptr %9, align 4 %69 = load i32, ptr %4, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %13, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %65 br label %71 71: ; preds = %._crit_edge3, %2 ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpjhm79x3e.c' source_filename = "/tmp/tmpjhm79x3e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SHAMD5DMADisable(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp eq i32 %3, 1141063680 %5 = zext i1 %4 to i32 %6 = call i32 @ASSERT(i32 noundef %5) %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, 272 %9 = sext i32 %8 to i64 %10 = inttoptr i64 %9 to ptr %11 = load volatile i32, ptr %10, align 4 %12 = and i32 %11, -137 store volatile i32 %12, ptr %10, align 4 ret void } declare i32 @ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjhm79x3e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SHAMD5DMADisable(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp eq i32 %3, 1141063680 %5 = zext i1 %4 to i32 %6 = call i32 @ASSERT(i32 noundef %5) %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, 272 %9 = sext i32 %8 to i64 %10 = inttoptr i64 %9 to ptr %11 = load volatile i32, ptr %10, align 4 %12 = and i32 %11, -137 store volatile i32 %12, ptr %10, align 4 ret void } declare i32 @ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9iyj32yp.c' source_filename = "/tmp/tmp9iyj32yp.c" target datalayout = "e-m:e-p270: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/tmp9iyj32yp.c" target datalayout = "e-m:e-p270: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/tmpk2_zbl0j.c' source_filename = "/tmp/tmpk2_zbl0j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pid\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"My parent's ID: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"My process ID : %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"uid\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"My parent's UID: %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"My process UID : %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"pgid\00", align 1 @.str.7 = private unnamed_addr constant [21 x i8] c"My parent's GID: %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [21 x i8] c"My process GID : %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"sid\00", align 1 @.str.10 = private unnamed_addr constant [21 x i8] c"My parent's SID: %d\0A\00", align 1 @.str.11 = private unnamed_addr constant [21 x i8] c"My process SID : %d\0A\00", align 1 @.str.12 = private unnamed_addr constant [8 x i8] c"pid,uid\00", align 1 @.str.13 = private unnamed_addr constant [8 x i8] c"uid,pid\00", align 1 @.str.14 = private unnamed_addr constant [9 x i8] c"pid,ppid\00", align 1 @.str.15 = private unnamed_addr constant [8 x i8] c"pid,sid\00", align 1 @.str.16 = private unnamed_addr constant [8 x i8] c"sid,pid\00", align 1 @.str.17 = private unnamed_addr constant [8 x i8] c"pid,gid\00", align 1 @.str.18 = private unnamed_addr constant [8 x i8] c"sid,gid\00", align 1 @.str.19 = private unnamed_addr constant [22 x i8] c"pid,ppid,pgid,sid,uid\00", align 1 @.str.20 = private unnamed_addr constant [22 x i8] c"ppid,pid,pgid,sid,uid\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp sge i32 %6, 3 br i1 %7, label %8, label %191 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 2 %11 = load ptr, ptr %10, align 8 %12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str) %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %8 %15 = call i32 (...) @getppid() %16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %15) %17 = call i32 (...) @getpid() %18 = call i32 @printf(ptr noundef @.str.2, i32 noundef %17) br label %19 19: ; preds = %14, %8 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 2 %22 = load ptr, ptr %21, align 8 %23 = call i64 @strcmp(ptr noundef %22, ptr noundef @.str.3) %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %30 25: ; preds = %19 %26 = call i32 (...) @getuid() %27 = call i32 @printf(ptr noundef @.str.4, i32 noundef %26) %28 = call i32 (...) @getuid() %29 = call i32 @printf(ptr noundef @.str.5, i32 noundef %28) br label %30 30: ; preds = %25, %19 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 2 %33 = load ptr, ptr %32, align 8 %34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str.6) %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %41 36: ; preds = %30 %37 = call i32 (...) @getgid() %38 = call i32 @printf(ptr noundef @.str.7, i32 noundef %37) %39 = call i32 (...) @getgid() %40 = call i32 @printf(ptr noundef @.str.8, i32 noundef %39) br label %41 41: ; preds = %36, %30 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 2 %44 = load ptr, ptr %43, align 8 %45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.9) %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %54 47: ; preds = %41 %48 = call i32 (...) @getppid() %49 = call i32 @getsid(i32 noundef %48) %50 = call i32 @printf(ptr noundef @.str.10, i32 noundef %49) %51 = call i32 (...) @getpid() %52 = call i32 @getsid(i32 noundef %51) %53 = call i32 @printf(ptr noundef @.str.11, i32 noundef %52) br label %54 54: ; preds = %47, %41 %55 = load ptr, ptr %5, align 8 %56 = getelementptr inbounds ptr, ptr %55, i64 2 %57 = load ptr, ptr %56, align 8 %58 = call i64 @strcmp(ptr noundef %57, ptr noundef @.str.12) %59 = icmp eq i64 %58, 0 br i1 %59, label %66, label %60 60: ; preds = %54 %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds ptr, ptr %61, i64 2 %63 = load ptr, ptr %62, align 8 %64 = call i64 @strcmp(ptr noundef %63, ptr noundef @.str.13) %65 = icmp eq i64 %64, 0 br i1 %65, label %66, label %75 66: ; preds = %60, %54 %67 = call i32 (...) @getppid() %68 = call i32 @printf(ptr noundef @.str.1, i32 noundef %67) %69 = call i32 (...) @getpid() %70 = call i32 @printf(ptr noundef @.str.2, i32 noundef %69) %71 = call i32 (...) @getuid() %72 = call i32 @printf(ptr noundef @.str.4, i32 noundef %71) %73 = call i32 (...) @getuid() %74 = call i32 @printf(ptr noundef @.str.5, i32 noundef %73) br label %75 75: ; preds = %66, %60 %76 = load ptr, ptr %5, align 8 %77 = getelementptr inbounds ptr, ptr %76, i64 2 %78 = load ptr, ptr %77, align 8 %79 = call i64 @strcmp(ptr noundef %78, ptr noundef @.str.14) %80 = icmp eq i64 %79, 0 br i1 %80, label %87, label %81 81: ; preds = %75 %82 = load ptr, ptr %5, align 8 %83 = getelementptr inbounds ptr, ptr %82, i64 2 %84 = load ptr, ptr %83, align 8 %85 = call i64 @strcmp(ptr noundef %84, ptr noundef @.str.14) %86 = icmp eq i64 %85, 0 br i1 %86, label %87, label %92 87: ; preds = %81, %75 %88 = call i32 (...) @getppid() %89 = call i32 @printf(ptr noundef @.str.1, i32 noundef %88) %90 = call i32 (...) @getpid() %91 = call i32 @printf(ptr noundef @.str.2, i32 noundef %90) br label %92 92: ; preds = %87, %81 %93 = load ptr, ptr %5, align 8 %94 = getelementptr inbounds ptr, ptr %93, i64 2 %95 = load ptr, ptr %94, align 8 %96 = call i64 @strcmp(ptr noundef %95, ptr noundef @.str.15) %97 = icmp eq i64 %96, 0 br i1 %97, label %104, label %98 98: ; preds = %92 %99 = load ptr, ptr %5, align 8 %100 = getelementptr inbounds ptr, ptr %99, i64 2 %101 = load ptr, ptr %100, align 8 %102 = call i64 @strcmp(ptr noundef %101, ptr noundef @.str.16) %103 = icmp eq i64 %102, 0 br i1 %103, label %104, label %115 104: ; preds = %98, %92 %105 = call i32 (...) @getppid() %106 = call i32 @printf(ptr noundef @.str.1, i32 noundef %105) %107 = call i32 (...) @getpid() %108 = call i32 @printf(ptr noundef @.str.2, i32 noundef %107) %109 = call i32 (...) @getppid() %110 = call i32 @getsid(i32 noundef %109) %111 = call i32 @printf(ptr noundef @.str.10, i32 noundef %110) %112 = call i32 (...) @getpid() %113 = call i32 @getsid(i32 noundef %112) %114 = call i32 @printf(ptr noundef @.str.11, i32 noundef %113) br label %115 115: ; preds = %104, %98 %116 = load ptr, ptr %5, align 8 %117 = getelementptr inbounds ptr, ptr %116, i64 2 %118 = load ptr, ptr %117, align 8 %119 = call i64 @strcmp(ptr noundef %118, ptr noundef @.str.17) %120 = icmp eq i64 %119, 0 br i1 %120, label %127, label %121 121: ; preds = %115 %122 = load ptr, ptr %5, align 8 %123 = getelementptr inbounds ptr, ptr %122, i64 2 %124 = load ptr, ptr %123, align 8 %125 = call i64 @strcmp(ptr noundef %124, ptr noundef @.str.17) %126 = icmp eq i64 %125, 0 br i1 %126, label %127, label %136 127: ; preds = %121, %115 %128 = call i32 (...) @getppid() %129 = call i32 @printf(ptr noundef @.str.1, i32 noundef %128) %130 = call i32 (...) @getpid() %131 = call i32 @printf(ptr noundef @.str.2, i32 noundef %130) %132 = call i32 (...) @getgid() %133 = call i32 @printf(ptr noundef @.str.7, i32 noundef %132) %134 = call i32 (...) @getgid() %135 = call i32 @printf(ptr noundef @.str.8, i32 noundef %134) br label %136 136: ; preds = %127, %121 %137 = load ptr, ptr %5, align 8 %138 = getelementptr inbounds ptr, ptr %137, i64 2 %139 = load ptr, ptr %138, align 8 %140 = call i64 @strcmp(ptr noundef %139, ptr noundef @.str.18) %141 = icmp eq i64 %140, 0 br i1 %141, label %148, label %142 142: ; preds = %136 %143 = load ptr, ptr %5, align 8 %144 = getelementptr inbounds ptr, ptr %143, i64 2 %145 = load ptr, ptr %144, align 8 %146 = call i64 @strcmp(ptr noundef %145, ptr noundef @.str.18) %147 = icmp eq i64 %146, 0 br i1 %147, label %148, label %159 148: ; preds = %142, %136 %149 = call i32 (...) @getppid() %150 = call i32 @getsid(i32 noundef %149) %151 = call i32 @printf(ptr noundef @.str.10, i32 noundef %150) %152 = call i32 (...) @getpid() %153 = call i32 @getsid(i32 noundef %152) %154 = call i32 @printf(ptr noundef @.str.11, i32 noundef %153) %155 = call i32 (...) @getgid() %156 = call i32 @printf(ptr noundef @.str.7, i32 noundef %155) %157 = call i32 (...) @getgid() %158 = call i32 @printf(ptr noundef @.str.8, i32 noundef %157) br label %159 159: ; preds = %148, %142 %160 = load ptr, ptr %5, align 8 %161 = getelementptr inbounds ptr, ptr %160, i64 2 %162 = load ptr, ptr %161, align 8 %163 = call i64 @strcmp(ptr noundef %162, ptr noundef @.str.19) %164 = icmp eq i64 %163, 0 br i1 %164, label %171, label %165 165: ; preds = %159 %166 = load ptr, ptr %5, align 8 %167 = getelementptr inbounds ptr, ptr %166, i64 2 %168 = load ptr, ptr %167, align 8 %169 = call i64 @strcmp(ptr noundef %168, ptr noundef @.str.20) %170 = icmp eq i64 %169, 0 br i1 %170, label %171, label %190 171: ; preds = %165, %159 %172 = call i32 (...) @getppid() %173 = call i32 @printf(ptr noundef @.str.1, i32 noundef %172) %174 = call i32 (...) @getpid() %175 = call i32 @printf(ptr noundef @.str.2, i32 noundef %174) %176 = call i32 (...) @getppid() %177 = call i32 @getsid(i32 noundef %176) %178 = call i32 @printf(ptr noundef @.str.10, i32 noundef %177) %179 = call i32 (...) @getpid() %180 = call i32 @getsid(i32 noundef %179) %181 = call i32 @printf(ptr noundef @.str.11, i32 noundef %180) %182 = call i32 (...) @getgid() %183 = call i32 @printf(ptr noundef @.str.7, i32 noundef %182) %184 = call i32 (...) @getgid() %185 = call i32 @printf(ptr noundef @.str.8, i32 noundef %184) %186 = call i32 (...) @getuid() %187 = call i32 @printf(ptr noundef @.str.4, i32 noundef %186) %188 = call i32 (...) @getuid() %189 = call i32 @printf(ptr noundef @.str.5, i32 noundef %188) br label %190 190: ; preds = %171, %165 br label %191 191: ; preds = %190, %2 ret i32 0 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @getppid(...) #1 declare i32 @getpid(...) #1 declare i32 @getuid(...) #1 declare i32 @getgid(...) #1 declare i32 @getsid(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/tmpk2_zbl0j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pid\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"My parent's ID: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"My process ID : %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"uid\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"My parent's UID: %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"My process UID : %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"pgid\00", align 1 @.str.7 = private unnamed_addr constant [21 x i8] c"My parent's GID: %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [21 x i8] c"My process GID : %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"sid\00", align 1 @.str.10 = private unnamed_addr constant [21 x i8] c"My parent's SID: %d\0A\00", align 1 @.str.11 = private unnamed_addr constant [21 x i8] c"My process SID : %d\0A\00", align 1 @.str.12 = private unnamed_addr constant [8 x i8] c"pid,uid\00", align 1 @.str.13 = private unnamed_addr constant [8 x i8] c"uid,pid\00", align 1 @.str.14 = private unnamed_addr constant [9 x i8] c"pid,ppid\00", align 1 @.str.15 = private unnamed_addr constant [8 x i8] c"pid,sid\00", align 1 @.str.16 = private unnamed_addr constant [8 x i8] c"sid,pid\00", align 1 @.str.17 = private unnamed_addr constant [8 x i8] c"pid,gid\00", align 1 @.str.18 = private unnamed_addr constant [8 x i8] c"sid,gid\00", align 1 @.str.19 = private unnamed_addr constant [22 x i8] c"pid,ppid,pgid,sid,uid\00", align 1 @.str.20 = private unnamed_addr constant [22 x i8] c"ppid,pid,pgid,sid,uid\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp sge i32 %6, 3 br i1 %7, label %8, label %191 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 2 %11 = load ptr, ptr %10, align 8 %12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str) %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %8 %15 = call i32 (...) @getppid() %16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %15) %17 = call i32 (...) @getpid() %18 = call i32 @printf(ptr noundef @.str.2, i32 noundef %17) br label %19 19: ; preds = %14, %8 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 2 %22 = load ptr, ptr %21, align 8 %23 = call i64 @strcmp(ptr noundef %22, ptr noundef @.str.3) %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %30 25: ; preds = %19 %26 = call i32 (...) @getuid() %27 = call i32 @printf(ptr noundef @.str.4, i32 noundef %26) %28 = call i32 (...) @getuid() %29 = call i32 @printf(ptr noundef @.str.5, i32 noundef %28) br label %30 30: ; preds = %25, %19 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 2 %33 = load ptr, ptr %32, align 8 %34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str.6) %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %41 36: ; preds = %30 %37 = call i32 (...) @getgid() %38 = call i32 @printf(ptr noundef @.str.7, i32 noundef %37) %39 = call i32 (...) @getgid() %40 = call i32 @printf(ptr noundef @.str.8, i32 noundef %39) br label %41 41: ; preds = %36, %30 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 2 %44 = load ptr, ptr %43, align 8 %45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.9) %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %54 47: ; preds = %41 %48 = call i32 (...) @getppid() %49 = call i32 @getsid(i32 noundef %48) %50 = call i32 @printf(ptr noundef @.str.10, i32 noundef %49) %51 = call i32 (...) @getpid() %52 = call i32 @getsid(i32 noundef %51) %53 = call i32 @printf(ptr noundef @.str.11, i32 noundef %52) br label %54 54: ; preds = %47, %41 %55 = load ptr, ptr %5, align 8 %56 = getelementptr inbounds ptr, ptr %55, i64 2 %57 = load ptr, ptr %56, align 8 %58 = call i64 @strcmp(ptr noundef %57, ptr noundef @.str.12) %59 = icmp eq i64 %58, 0 br i1 %59, label %66, label %60 60: ; preds = %54 %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds ptr, ptr %61, i64 2 %63 = load ptr, ptr %62, align 8 %64 = call i64 @strcmp(ptr noundef %63, ptr noundef @.str.13) %65 = icmp eq i64 %64, 0 br i1 %65, label %66, label %75 66: ; preds = %60, %54 %67 = call i32 (...) @getppid() %68 = call i32 @printf(ptr noundef @.str.1, i32 noundef %67) %69 = call i32 (...) @getpid() %70 = call i32 @printf(ptr noundef @.str.2, i32 noundef %69) %71 = call i32 (...) @getuid() %72 = call i32 @printf(ptr noundef @.str.4, i32 noundef %71) %73 = call i32 (...) @getuid() %74 = call i32 @printf(ptr noundef @.str.5, i32 noundef %73) br label %75 75: ; preds = %66, %60 %76 = load ptr, ptr %5, align 8 %77 = getelementptr inbounds ptr, ptr %76, i64 2 %78 = load ptr, ptr %77, align 8 %79 = call i64 @strcmp(ptr noundef %78, ptr noundef @.str.14) %80 = icmp eq i64 %79, 0 br i1 %80, label %87, label %81 81: ; preds = %75 %82 = load ptr, ptr %5, align 8 %83 = getelementptr inbounds ptr, ptr %82, i64 2 %84 = load ptr, ptr %83, align 8 %85 = call i64 @strcmp(ptr noundef %84, ptr noundef @.str.14) %86 = icmp eq i64 %85, 0 br i1 %86, label %87, label %92 87: ; preds = %81, %75 %88 = call i32 (...) @getppid() %89 = call i32 @printf(ptr noundef @.str.1, i32 noundef %88) %90 = call i32 (...) @getpid() %91 = call i32 @printf(ptr noundef @.str.2, i32 noundef %90) br label %92 92: ; preds = %87, %81 %93 = load ptr, ptr %5, align 8 %94 = getelementptr inbounds ptr, ptr %93, i64 2 %95 = load ptr, ptr %94, align 8 %96 = call i64 @strcmp(ptr noundef %95, ptr noundef @.str.15) %97 = icmp eq i64 %96, 0 br i1 %97, label %104, label %98 98: ; preds = %92 %99 = load ptr, ptr %5, align 8 %100 = getelementptr inbounds ptr, ptr %99, i64 2 %101 = load ptr, ptr %100, align 8 %102 = call i64 @strcmp(ptr noundef %101, ptr noundef @.str.16) %103 = icmp eq i64 %102, 0 br i1 %103, label %104, label %115 104: ; preds = %98, %92 %105 = call i32 (...) @getppid() %106 = call i32 @printf(ptr noundef @.str.1, i32 noundef %105) %107 = call i32 (...) @getpid() %108 = call i32 @printf(ptr noundef @.str.2, i32 noundef %107) %109 = call i32 (...) @getppid() %110 = call i32 @getsid(i32 noundef %109) %111 = call i32 @printf(ptr noundef @.str.10, i32 noundef %110) %112 = call i32 (...) @getpid() %113 = call i32 @getsid(i32 noundef %112) %114 = call i32 @printf(ptr noundef @.str.11, i32 noundef %113) br label %115 115: ; preds = %104, %98 %116 = load ptr, ptr %5, align 8 %117 = getelementptr inbounds ptr, ptr %116, i64 2 %118 = load ptr, ptr %117, align 8 %119 = call i64 @strcmp(ptr noundef %118, ptr noundef @.str.17) %120 = icmp eq i64 %119, 0 br i1 %120, label %127, label %121 121: ; preds = %115 %122 = load ptr, ptr %5, align 8 %123 = getelementptr inbounds ptr, ptr %122, i64 2 %124 = load ptr, ptr %123, align 8 %125 = call i64 @strcmp(ptr noundef %124, ptr noundef @.str.17) %126 = icmp eq i64 %125, 0 br i1 %126, label %127, label %136 127: ; preds = %121, %115 %128 = call i32 (...) @getppid() %129 = call i32 @printf(ptr noundef @.str.1, i32 noundef %128) %130 = call i32 (...) @getpid() %131 = call i32 @printf(ptr noundef @.str.2, i32 noundef %130) %132 = call i32 (...) @getgid() %133 = call i32 @printf(ptr noundef @.str.7, i32 noundef %132) %134 = call i32 (...) @getgid() %135 = call i32 @printf(ptr noundef @.str.8, i32 noundef %134) br label %136 136: ; preds = %127, %121 %137 = load ptr, ptr %5, align 8 %138 = getelementptr inbounds ptr, ptr %137, i64 2 %139 = load ptr, ptr %138, align 8 %140 = call i64 @strcmp(ptr noundef %139, ptr noundef @.str.18) %141 = icmp eq i64 %140, 0 br i1 %141, label %148, label %142 142: ; preds = %136 %143 = load ptr, ptr %5, align 8 %144 = getelementptr inbounds ptr, ptr %143, i64 2 %145 = load ptr, ptr %144, align 8 %146 = call i64 @strcmp(ptr noundef %145, ptr noundef @.str.18) %147 = icmp eq i64 %146, 0 br i1 %147, label %148, label %159 148: ; preds = %142, %136 %149 = call i32 (...) @getppid() %150 = call i32 @getsid(i32 noundef %149) %151 = call i32 @printf(ptr noundef @.str.10, i32 noundef %150) %152 = call i32 (...) @getpid() %153 = call i32 @getsid(i32 noundef %152) %154 = call i32 @printf(ptr noundef @.str.11, i32 noundef %153) %155 = call i32 (...) @getgid() %156 = call i32 @printf(ptr noundef @.str.7, i32 noundef %155) %157 = call i32 (...) @getgid() %158 = call i32 @printf(ptr noundef @.str.8, i32 noundef %157) br label %159 159: ; preds = %148, %142 %160 = load ptr, ptr %5, align 8 %161 = getelementptr inbounds ptr, ptr %160, i64 2 %162 = load ptr, ptr %161, align 8 %163 = call i64 @strcmp(ptr noundef %162, ptr noundef @.str.19) %164 = icmp eq i64 %163, 0 br i1 %164, label %171, label %165 165: ; preds = %159 %166 = load ptr, ptr %5, align 8 %167 = getelementptr inbounds ptr, ptr %166, i64 2 %168 = load ptr, ptr %167, align 8 %169 = call i64 @strcmp(ptr noundef %168, ptr noundef @.str.20) %170 = icmp eq i64 %169, 0 br i1 %170, label %171, label %190 171: ; preds = %165, %159 %172 = call i32 (...) @getppid() %173 = call i32 @printf(ptr noundef @.str.1, i32 noundef %172) %174 = call i32 (...) @getpid() %175 = call i32 @printf(ptr noundef @.str.2, i32 noundef %174) %176 = call i32 (...) @getppid() %177 = call i32 @getsid(i32 noundef %176) %178 = call i32 @printf(ptr noundef @.str.10, i32 noundef %177) %179 = call i32 (...) @getpid() %180 = call i32 @getsid(i32 noundef %179) %181 = call i32 @printf(ptr noundef @.str.11, i32 noundef %180) %182 = call i32 (...) @getgid() %183 = call i32 @printf(ptr noundef @.str.7, i32 noundef %182) %184 = call i32 (...) @getgid() %185 = call i32 @printf(ptr noundef @.str.8, i32 noundef %184) %186 = call i32 (...) @getuid() %187 = call i32 @printf(ptr noundef @.str.4, i32 noundef %186) %188 = call i32 (...) @getuid() %189 = call i32 @printf(ptr noundef @.str.5, i32 noundef %188) br label %190 190: ; preds = %171, %165 br label %191 191: ; preds = %190, %2 ret i32 0 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @getppid(...) #1 declare i32 @getpid(...) #1 declare i32 @getuid(...) #1 declare i32 @getgid(...) #1 declare i32 @getsid(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/tmpr67dl4f6.c' source_filename = "/tmp/tmpr67dl4f6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fft(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca float, align 4 %20 = alloca float, align 4 %21 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds float, ptr %22, i64 -1 store ptr %23, ptr %21, align 8 %24 = load i32, ptr %5, align 4 %25 = shl i32 %24, 1 store i32 %25, ptr %7, align 4 store i32 1, ptr %10, align 4 store i32 1, ptr %12, align 4 br label %26 26: ; preds = %99, %3 %27 = load i32, ptr %12, align 4 %28 = load i32, ptr %7, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %102 30: ; preds = %26 %31 = load i32, ptr %10, align 4 %32 = load i32, ptr %12, align 4 %33 = icmp sgt i32 %31, %32 br i1 %33, label %34, label %77 34: ; preds = %30 %35 = load ptr, ptr %21, align 8 %36 = load i32, ptr %10, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds float, ptr %35, i64 %37 %39 = load float, ptr %38, align 4 store float %39, ptr %19, align 4 %40 = load ptr, ptr %21, align 8 %41 = load i32, ptr %12, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds float, ptr %40, i64 %42 %44 = load float, ptr %43, align 4 %45 = load ptr, ptr %21, align 8 %46 = load i32, ptr %10, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds float, ptr %45, i64 %47 store float %44, ptr %48, align 4 %49 = load float, ptr %19, align 4 %50 = load ptr, ptr %21, align 8 %51 = load i32, ptr %12, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds float, ptr %50, i64 %52 store float %49, ptr %53, align 4 %54 = load ptr, ptr %21, align 8 %55 = load i32, ptr %10, align 4 %56 = add nsw i32 %55, 1 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds float, ptr %54, i64 %57 %59 = load float, ptr %58, align 4 store float %59, ptr %19, align 4 %60 = load ptr, ptr %21, align 8 %61 = load i32, ptr %12, align 4 %62 = add nsw i32 %61, 1 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds float, ptr %60, i64 %63 %65 = load float, ptr %64, align 4 %66 = load ptr, ptr %21, align 8 %67 = load i32, ptr %10, align 4 %68 = add nsw i32 %67, 1 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds float, ptr %66, i64 %69 store float %65, ptr %70, align 4 %71 = load float, ptr %19, align 4 %72 = load ptr, ptr %21, align 8 %73 = load i32, ptr %12, align 4 %74 = add nsw i32 %73, 1 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds float, ptr %72, i64 %75 store float %71, ptr %76, align 4 br label %77 77: ; preds = %34, %30 %78 = load i32, ptr %7, align 4 %79 = ashr i32 %78, 1 store i32 %79, ptr %9, align 4 br label %80 80: ; preds = %89, %77 %81 = load i32, ptr %9, align 4 %82 = icmp sge i32 %81, 2 br i1 %82, label %83, label %87 83: ; preds = %80 %84 = load i32, ptr %10, align 4 %85 = load i32, ptr %9, align 4 %86 = icmp sgt i32 %84, %85 br label %87 87: ; preds = %83, %80 %88 = phi i1 [ false, %80 ], [ %86, %83 ] br i1 %88, label %89, label %95 89: ; preds = %87 %90 = load i32, ptr %9, align 4 %91 = load i32, ptr %10, align 4 %92 = sub nsw i32 %91, %90 store i32 %92, ptr %10, align 4 %93 = load i32, ptr %9, align 4 %94 = ashr i32 %93, 1 store i32 %94, ptr %9, align 4 br label %80, !llvm.loop !6 95: ; preds = %87 %96 = load i32, ptr %9, align 4 %97 = load i32, ptr %10, align 4 %98 = add nsw i32 %97, %96 store i32 %98, ptr %10, align 4 br label %99 99: ; preds = %95 %100 = load i32, ptr %12, align 4 %101 = add nsw i32 %100, 2 store i32 %101, ptr %12, align 4 br label %26, !llvm.loop !8 102: ; preds = %26 store i32 2, ptr %8, align 4 br label %103 103: ; preds = %239, %102 %104 = load i32, ptr %7, align 4 %105 = load i32, ptr %8, align 4 %106 = icmp sgt i32 %104, %105 br i1 %106, label %107, label %241 107: ; preds = %103 %108 = load i32, ptr %8, align 4 %109 = mul nsw i32 2, %108 store i32 %109, ptr %11, align 4 %110 = load i32, ptr %6, align 4 %111 = load i32, ptr %8, align 4 %112 = mul nsw i32 %110, %111 %113 = sitofp i32 %112 to double %114 = fdiv double 0x401921FB54442D1C, %113 store double %114, ptr %18, align 8 %115 = load double, ptr %18, align 8 %116 = fmul double 5.000000e-01, %115 %117 = call double @sin(double noundef %116) #3 store double %117, ptr %13, align 8 %118 = load double, ptr %13, align 8 %119 = fmul double -2.000000e+00, %118 %120 = load double, ptr %13, align 8 %121 = fmul double %119, %120 store double %121, ptr %15, align 8 %122 = load double, ptr %18, align 8 %123 = call double @sin(double noundef %122) #3 store double %123, ptr %16, align 8 store double 1.000000e+00, ptr %14, align 8 store double 0.000000e+00, ptr %17, align 8 store i32 1, ptr %9, align 4 br label %124 124: ; preds = %236, %107 %125 = load i32, ptr %9, align 4 %126 = load i32, ptr %8, align 4 %127 = icmp slt i32 %125, %126 br i1 %127, label %128, label %239 128: ; preds = %124 %129 = load i32, ptr %9, align 4 store i32 %129, ptr %12, align 4 br label %130 130: ; preds = %214, %128 %131 = load i32, ptr %12, align 4 %132 = load i32, ptr %7, align 4 %133 = icmp sle i32 %131, %132 br i1 %133, label %134, label %218 134: ; preds = %130 %135 = load i32, ptr %12, align 4 %136 = load i32, ptr %8, align 4 %137 = add nsw i32 %135, %136 store i32 %137, ptr %10, align 4 %138 = load double, ptr %14, align 8 %139 = load ptr, ptr %21, align 8 %140 = load i32, ptr %10, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds float, ptr %139, i64 %141 %143 = load float, ptr %142, align 4 %144 = fpext float %143 to double %145 = load double, ptr %17, align 8 %146 = load ptr, ptr %21, align 8 %147 = load i32, ptr %10, align 4 %148 = add nsw i32 %147, 1 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds float, ptr %146, i64 %149 %151 = load float, ptr %150, align 4 %152 = fpext float %151 to double %153 = fmul double %145, %152 %154 = fneg double %153 %155 = call double @llvm.fmuladd.f64(double %138, double %144, double %154) %156 = fptrunc double %155 to float store float %156, ptr %19, align 4 %157 = load double, ptr %14, align 8 %158 = load ptr, ptr %21, align 8 %159 = load i32, ptr %10, align 4 %160 = add nsw i32 %159, 1 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds float, ptr %158, i64 %161 %163 = load float, ptr %162, align 4 %164 = fpext float %163 to double %165 = load double, ptr %17, align 8 %166 = load ptr, ptr %21, align 8 %167 = load i32, ptr %10, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds float, ptr %166, i64 %168 %170 = load float, ptr %169, align 4 %171 = fpext float %170 to double %172 = fmul double %165, %171 %173 = call double @llvm.fmuladd.f64(double %157, double %164, double %172) %174 = fptrunc double %173 to float store float %174, ptr %20, align 4 %175 = load ptr, ptr %21, align 8 %176 = load i32, ptr %12, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds float, ptr %175, i64 %177 %179 = load float, ptr %178, align 4 %180 = load float, ptr %19, align 4 %181 = fsub float %179, %180 %182 = load ptr, ptr %21, align 8 %183 = load i32, ptr %10, align 4 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds float, ptr %182, i64 %184 store float %181, ptr %185, align 4 %186 = load ptr, ptr %21, align 8 %187 = load i32, ptr %12, align 4 %188 = add nsw i32 %187, 1 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds float, ptr %186, i64 %189 %191 = load float, ptr %190, align 4 %192 = load float, ptr %20, align 4 %193 = fsub float %191, %192 %194 = load ptr, ptr %21, align 8 %195 = load i32, ptr %10, align 4 %196 = add nsw i32 %195, 1 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds float, ptr %194, i64 %197 store float %193, ptr %198, align 4 %199 = load float, ptr %19, align 4 %200 = load ptr, ptr %21, align 8 %201 = load i32, ptr %12, align 4 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds float, ptr %200, i64 %202 %204 = load float, ptr %203, align 4 %205 = fadd float %204, %199 store float %205, ptr %203, align 4 %206 = load float, ptr %20, align 4 %207 = load ptr, ptr %21, align 8 %208 = load i32, ptr %12, align 4 %209 = add nsw i32 %208, 1 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds float, ptr %207, i64 %210 %212 = load float, ptr %211, align 4 %213 = fadd float %212, %206 store float %213, ptr %211, align 4 br label %214 214: ; preds = %134 %215 = load i32, ptr %11, align 4 %216 = load i32, ptr %12, align 4 %217 = add nsw i32 %216, %215 store i32 %217, ptr %12, align 4 br label %130, !llvm.loop !9 218: ; preds = %130 %219 = load double, ptr %14, align 8 store double %219, ptr %13, align 8 %220 = load double, ptr %15, align 8 %221 = load double, ptr %17, align 8 %222 = load double, ptr %16, align 8 %223 = fmul double %221, %222 %224 = fneg double %223 %225 = call double @llvm.fmuladd.f64(double %219, double %220, double %224) %226 = load double, ptr %14, align 8 %227 = fadd double %225, %226 store double %227, ptr %14, align 8 %228 = load double, ptr %17, align 8 %229 = load double, ptr %15, align 8 %230 = load double, ptr %13, align 8 %231 = load double, ptr %16, align 8 %232 = fmul double %230, %231 %233 = call double @llvm.fmuladd.f64(double %228, double %229, double %232) %234 = load double, ptr %17, align 8 %235 = fadd double %233, %234 store double %235, ptr %17, align 8 br label %236 236: ; preds = %218 %237 = load i32, ptr %9, align 4 %238 = add nsw i32 %237, 2 store i32 %238, ptr %9, align 4 br label %124, !llvm.loop !10 239: ; preds = %124 %240 = load i32, ptr %11, align 4 store i32 %240, ptr %8, align 4 br label %103, !llvm.loop !11 241: ; preds = %103 ret void } ; Function Attrs: nounwind declare double @sin(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"} !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/tmpr67dl4f6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fft(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca float, align 4 %20 = alloca float, align 4 %21 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds float, ptr %22, i64 -1 store ptr %23, ptr %21, align 8 %24 = load i32, ptr %5, align 4 %25 = shl i32 %24, 1 store i32 %25, ptr %7, align 4 store i32 1, ptr %10, align 4 store i32 1, ptr %12, align 4 %26 = load i32, ptr %12, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph, label %104 .lr.ph: ; preds = %3 br label %29 29: ; preds = %.lr.ph, %98 %30 = load i32, ptr %10, align 4 %31 = load i32, ptr %12, align 4 %32 = icmp sgt i32 %30, %31 br i1 %32, label %33, label %76 33: ; preds = %29 %34 = load ptr, ptr %21, align 8 %35 = load i32, ptr %10, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds float, ptr %34, i64 %36 %38 = load float, ptr %37, align 4 store float %38, ptr %19, align 4 %39 = load ptr, ptr %21, align 8 %40 = load i32, ptr %12, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds float, ptr %39, i64 %41 %43 = load float, ptr %42, align 4 %44 = load ptr, ptr %21, align 8 %45 = load i32, ptr %10, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds float, ptr %44, i64 %46 store float %43, ptr %47, align 4 %48 = load float, ptr %19, align 4 %49 = load ptr, ptr %21, align 8 %50 = load i32, ptr %12, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds float, ptr %49, i64 %51 store float %48, ptr %52, align 4 %53 = load ptr, ptr %21, align 8 %54 = load i32, ptr %10, align 4 %55 = add nsw i32 %54, 1 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds float, ptr %53, i64 %56 %58 = load float, ptr %57, align 4 store float %58, ptr %19, align 4 %59 = load ptr, ptr %21, align 8 %60 = load i32, ptr %12, align 4 %61 = add nsw i32 %60, 1 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds float, ptr %59, i64 %62 %64 = load float, ptr %63, align 4 %65 = load ptr, ptr %21, align 8 %66 = load i32, ptr %10, align 4 %67 = add nsw i32 %66, 1 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds float, ptr %65, i64 %68 store float %64, ptr %69, align 4 %70 = load float, ptr %19, align 4 %71 = load ptr, ptr %21, align 8 %72 = load i32, ptr %12, align 4 %73 = add nsw i32 %72, 1 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds float, ptr %71, i64 %74 store float %70, ptr %75, align 4 br label %76 76: ; preds = %33, %29 %77 = load i32, ptr %7, align 4 %78 = ashr i32 %77, 1 store i32 %78, ptr %9, align 4 br label %79 79: ; preds = %88, %76 %80 = load i32, ptr %9, align 4 %81 = icmp sge i32 %80, 2 br i1 %81, label %82, label %86 82: ; preds = %79 %83 = load i32, ptr %10, align 4 %84 = load i32, ptr %9, align 4 %85 = icmp sgt i32 %83, %84 br label %86 86: ; preds = %82, %79 %87 = phi i1 [ false, %79 ], [ %85, %82 ] br i1 %87, label %88, label %94 88: ; preds = %86 %89 = load i32, ptr %9, align 4 %90 = load i32, ptr %10, align 4 %91 = sub nsw i32 %90, %89 store i32 %91, ptr %10, align 4 %92 = load i32, ptr %9, align 4 %93 = ashr i32 %92, 1 store i32 %93, ptr %9, align 4 br label %79, !llvm.loop !6 94: ; preds = %86 %95 = load i32, ptr %9, align 4 %96 = load i32, ptr %10, align 4 %97 = add nsw i32 %96, %95 store i32 %97, ptr %10, align 4 br label %98 98: ; preds = %94 %99 = load i32, ptr %12, align 4 %100 = add nsw i32 %99, 2 store i32 %100, ptr %12, align 4 %101 = load i32, ptr %12, align 4 %102 = load i32, ptr %7, align 4 %103 = icmp slt i32 %101, %102 br i1 %103, label %29, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %98 br label %104 104: ; preds = %._crit_edge, %3 store i32 2, ptr %8, align 4 %105 = load i32, ptr %7, align 4 %106 = load i32, ptr %8, align 4 %107 = icmp sgt i32 %105, %106 br i1 %107, label %.lr.ph8, label %249 .lr.ph8: ; preds = %104 br label %108 108: ; preds = %.lr.ph8, %244 %109 = load i32, ptr %8, align 4 %110 = mul nsw i32 2, %109 store i32 %110, ptr %11, align 4 %111 = load i32, ptr %6, align 4 %112 = load i32, ptr %8, align 4 %113 = mul nsw i32 %111, %112 %114 = sitofp i32 %113 to double %115 = fdiv double 0x401921FB54442D1C, %114 store double %115, ptr %18, align 8 %116 = load double, ptr %18, align 8 %117 = fmul double 5.000000e-01, %116 %118 = call double @sin(double noundef %117) #3 store double %118, ptr %13, align 8 %119 = load double, ptr %13, align 8 %120 = fmul double -2.000000e+00, %119 %121 = load double, ptr %13, align 8 %122 = fmul double %120, %121 store double %122, ptr %15, align 8 %123 = load double, ptr %18, align 8 %124 = call double @sin(double noundef %123) #3 store double %124, ptr %16, align 8 store double 1.000000e+00, ptr %14, align 8 store double 0.000000e+00, ptr %17, align 8 store i32 1, ptr %9, align 4 %125 = load i32, ptr %9, align 4 %126 = load i32, ptr %8, align 4 %127 = icmp slt i32 %125, %126 br i1 %127, label %.lr.ph5, label %244 .lr.ph5: ; preds = %108 br label %128 128: ; preds = %.lr.ph5, %238 %129 = load i32, ptr %9, align 4 store i32 %129, ptr %12, align 4 %130 = load i32, ptr %12, align 4 %131 = load i32, ptr %7, align 4 %132 = icmp sle i32 %130, %131 br i1 %132, label %.lr.ph2, label %220 .lr.ph2: ; preds = %128 br label %133 133: ; preds = %.lr.ph2, %213 %134 = load i32, ptr %12, align 4 %135 = load i32, ptr %8, align 4 %136 = add nsw i32 %134, %135 store i32 %136, ptr %10, align 4 %137 = load double, ptr %14, align 8 %138 = load ptr, ptr %21, align 8 %139 = load i32, ptr %10, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds float, ptr %138, i64 %140 %142 = load float, ptr %141, align 4 %143 = fpext float %142 to double %144 = load double, ptr %17, align 8 %145 = load ptr, ptr %21, align 8 %146 = load i32, ptr %10, align 4 %147 = add nsw i32 %146, 1 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds float, ptr %145, i64 %148 %150 = load float, ptr %149, align 4 %151 = fpext float %150 to double %152 = fmul double %144, %151 %153 = fneg double %152 %154 = call double @llvm.fmuladd.f64(double %137, double %143, double %153) %155 = fptrunc double %154 to float store float %155, ptr %19, align 4 %156 = load double, ptr %14, align 8 %157 = load ptr, ptr %21, align 8 %158 = load i32, ptr %10, align 4 %159 = add nsw i32 %158, 1 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds float, ptr %157, i64 %160 %162 = load float, ptr %161, align 4 %163 = fpext float %162 to double %164 = load double, ptr %17, align 8 %165 = load ptr, ptr %21, align 8 %166 = load i32, ptr %10, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds float, ptr %165, i64 %167 %169 = load float, ptr %168, align 4 %170 = fpext float %169 to double %171 = fmul double %164, %170 %172 = call double @llvm.fmuladd.f64(double %156, double %163, double %171) %173 = fptrunc double %172 to float store float %173, ptr %20, align 4 %174 = load ptr, ptr %21, align 8 %175 = load i32, ptr %12, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds float, ptr %174, i64 %176 %178 = load float, ptr %177, align 4 %179 = load float, ptr %19, align 4 %180 = fsub float %178, %179 %181 = load ptr, ptr %21, align 8 %182 = load i32, ptr %10, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds float, ptr %181, i64 %183 store float %180, ptr %184, align 4 %185 = load ptr, ptr %21, align 8 %186 = load i32, ptr %12, align 4 %187 = add nsw i32 %186, 1 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds float, ptr %185, i64 %188 %190 = load float, ptr %189, align 4 %191 = load float, ptr %20, align 4 %192 = fsub float %190, %191 %193 = load ptr, ptr %21, align 8 %194 = load i32, ptr %10, align 4 %195 = add nsw i32 %194, 1 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds float, ptr %193, i64 %196 store float %192, ptr %197, align 4 %198 = load float, ptr %19, align 4 %199 = load ptr, ptr %21, align 8 %200 = load i32, ptr %12, align 4 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds float, ptr %199, i64 %201 %203 = load float, ptr %202, align 4 %204 = fadd float %203, %198 store float %204, ptr %202, align 4 %205 = load float, ptr %20, align 4 %206 = load ptr, ptr %21, align 8 %207 = load i32, ptr %12, align 4 %208 = add nsw i32 %207, 1 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds float, ptr %206, i64 %209 %211 = load float, ptr %210, align 4 %212 = fadd float %211, %205 store float %212, ptr %210, align 4 br label %213 213: ; preds = %133 %214 = load i32, ptr %11, align 4 %215 = load i32, ptr %12, align 4 %216 = add nsw i32 %215, %214 store i32 %216, ptr %12, align 4 %217 = load i32, ptr %12, align 4 %218 = load i32, ptr %7, align 4 %219 = icmp sle i32 %217, %218 br i1 %219, label %133, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %213 br label %220 220: ; preds = %._crit_edge3, %128 %221 = load double, ptr %14, align 8 store double %221, ptr %13, align 8 %222 = load double, ptr %15, align 8 %223 = load double, ptr %17, align 8 %224 = load double, ptr %16, align 8 %225 = fmul double %223, %224 %226 = fneg double %225 %227 = call double @llvm.fmuladd.f64(double %221, double %222, double %226) %228 = load double, ptr %14, align 8 %229 = fadd double %227, %228 store double %229, ptr %14, align 8 %230 = load double, ptr %17, align 8 %231 = load double, ptr %15, align 8 %232 = load double, ptr %13, align 8 %233 = load double, ptr %16, align 8 %234 = fmul double %232, %233 %235 = call double @llvm.fmuladd.f64(double %230, double %231, double %234) %236 = load double, ptr %17, align 8 %237 = fadd double %235, %236 store double %237, ptr %17, align 8 br label %238 238: ; preds = %220 %239 = load i32, ptr %9, align 4 %240 = add nsw i32 %239, 2 store i32 %240, ptr %9, align 4 %241 = load i32, ptr %9, align 4 %242 = load i32, ptr %8, align 4 %243 = icmp slt i32 %241, %242 br i1 %243, label %128, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %238 br label %244 244: ; preds = %._crit_edge6, %108 %245 = load i32, ptr %11, align 4 store i32 %245, ptr %8, align 4 %246 = load i32, ptr %7, align 4 %247 = load i32, ptr %8, align 4 %248 = icmp sgt i32 %246, %247 br i1 %248, label %108, label %._crit_edge9, !llvm.loop !11 ._crit_edge9: ; preds = %244 br label %249 249: ; preds = %._crit_edge9, %104 ret void } ; Function Attrs: nounwind declare double @sin(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"} !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/tmpfpvfzegc.c' source_filename = "/tmp/tmpfpvfzegc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @util_get_date(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca %struct.tm, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = call i32 @time(ptr noundef %8) %10 = call i32 @localtime_r(ptr noundef %8, ptr noundef %7) %11 = load ptr, ptr %4, align 8 %12 = load i64, ptr %5, align 8 %13 = load ptr, ptr %6, align 8 %14 = call i32 @strftime(ptr noundef %11, i64 noundef %12, ptr noundef %13, ptr noundef %7) %15 = load ptr, ptr %4, align 8 %16 = load i64, ptr %5, align 8 %17 = sub i64 %16, 1 %18 = getelementptr inbounds i8, ptr %15, i64 %17 store i8 0, ptr %18, align 1 ret void } declare i32 @time(ptr noundef) #1 declare i32 @localtime_r(ptr noundef, ptr noundef) #1 declare i32 @strftime(ptr noundef, i64 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/tmpfpvfzegc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @util_get_date(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca %struct.tm, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = call i32 @time(ptr noundef %8) %10 = call i32 @localtime_r(ptr noundef %8, ptr noundef %7) %11 = load ptr, ptr %4, align 8 %12 = load i64, ptr %5, align 8 %13 = load ptr, ptr %6, align 8 %14 = call i32 @strftime(ptr noundef %11, i64 noundef %12, ptr noundef %13, ptr noundef %7) %15 = load ptr, ptr %4, align 8 %16 = load i64, ptr %5, align 8 %17 = sub i64 %16, 1 %18 = getelementptr inbounds i8, ptr %15, i64 %17 store i8 0, ptr %18, align 1 ret void } declare i32 @time(ptr noundef) #1 declare i32 @localtime_r(ptr noundef, ptr noundef) #1 declare i32 @strftime(ptr noundef, i64 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/tmpvui1aweo.c' source_filename = "/tmp/tmpvui1aweo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sendvoxel_z(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2, i32 noundef %3) #0 { %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i8 %0, ptr %5, align 1 store i8 %1, ptr %6, align 1 store i8 %2, ptr %7, align 1 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %11 11: ; preds = %40, %4 %12 = load i32, ptr %9, align 4 %13 = icmp slt i32 %12, 4 br i1 %13, label %14, label %43 14: ; preds = %11 %15 = load i8, ptr %7, align 1 %16 = zext i8 %15 to i32 %17 = icmp eq i32 %16, 3 br i1 %17, label %18, label %26 18: ; preds = %14 %19 = load i32, ptr %9, align 4 %20 = sub nsw i32 3, %19 store i32 %20, ptr %10, align 4 %21 = load i8, ptr %5, align 1 %22 = load i8, ptr %6, align 1 %23 = load i32, ptr %10, align 4 %24 = add nsw i32 %23, 1 %25 = call i32 @clrvoxel(i8 noundef zeroext %21, i8 noundef zeroext %22, i32 noundef %24) br label %33 26: ; preds = %14 %27 = load i32, ptr %9, align 4 store i32 %27, ptr %10, align 4 %28 = load i8, ptr %5, align 1 %29 = load i8, ptr %6, align 1 %30 = load i32, ptr %10, align 4 %31 = sub nsw i32 %30, 1 %32 = call i32 @clrvoxel(i8 noundef zeroext %28, i8 noundef zeroext %29, i32 noundef %31) br label %33 33: ; preds = %26, %18 %34 = load i8, ptr %5, align 1 %35 = load i8, ptr %6, align 1 %36 = load i32, ptr %10, align 4 %37 = call i32 @setvoxel(i8 noundef zeroext %34, i8 noundef zeroext %35, i32 noundef %36) %38 = load i32, ptr %8, align 4 %39 = call i32 @delay_ms(i32 noundef %38) br label %40 40: ; preds = %33 %41 = load i32, ptr %9, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %9, align 4 br label %11, !llvm.loop !6 43: ; preds = %11 ret void } declare i32 @clrvoxel(i8 noundef zeroext, i8 noundef zeroext, i32 noundef) #1 declare i32 @setvoxel(i8 noundef zeroext, i8 noundef zeroext, i32 noundef) #1 declare i32 @delay_ms(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/tmpvui1aweo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sendvoxel_z(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2, i32 noundef %3) #0 { %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i8 %0, ptr %5, align 1 store i8 %1, ptr %6, align 1 store i8 %2, ptr %7, align 1 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 %11 = load i32, ptr %9, align 4 %12 = icmp slt i32 %11, 4 br i1 %12, label %.lr.ph, label %44 .lr.ph: ; preds = %4 br label %13 13: ; preds = %.lr.ph, %39 %14 = load i8, ptr %7, align 1 %15 = zext i8 %14 to i32 %16 = icmp eq i32 %15, 3 br i1 %16, label %17, label %25 17: ; preds = %13 %18 = load i32, ptr %9, align 4 %19 = sub nsw i32 3, %18 store i32 %19, ptr %10, align 4 %20 = load i8, ptr %5, align 1 %21 = load i8, ptr %6, align 1 %22 = load i32, ptr %10, align 4 %23 = add nsw i32 %22, 1 %24 = call i32 @clrvoxel(i8 noundef zeroext %20, i8 noundef zeroext %21, i32 noundef %23) br label %32 25: ; preds = %13 %26 = load i32, ptr %9, align 4 store i32 %26, ptr %10, align 4 %27 = load i8, ptr %5, align 1 %28 = load i8, ptr %6, align 1 %29 = load i32, ptr %10, align 4 %30 = sub nsw i32 %29, 1 %31 = call i32 @clrvoxel(i8 noundef zeroext %27, i8 noundef zeroext %28, i32 noundef %30) br label %32 32: ; preds = %25, %17 %33 = load i8, ptr %5, align 1 %34 = load i8, ptr %6, align 1 %35 = load i32, ptr %10, align 4 %36 = call i32 @setvoxel(i8 noundef zeroext %33, i8 noundef zeroext %34, i32 noundef %35) %37 = load i32, ptr %8, align 4 %38 = call i32 @delay_ms(i32 noundef %37) br label %39 39: ; preds = %32 %40 = load i32, ptr %9, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %9, align 4 %42 = load i32, ptr %9, align 4 %43 = icmp slt i32 %42, 4 br i1 %43, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %44 44: ; preds = %._crit_edge, %4 ret void } declare i32 @clrvoxel(i8 noundef zeroext, i8 noundef zeroext, i32 noundef) #1 declare i32 @setvoxel(i8 noundef zeroext, i8 noundef zeroext, i32 noundef) #1 declare i32 @delay_ms(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/tmpy8yzk2as.c' source_filename = "/tmp/tmpy8yzk2as.c" target datalayout = "e-m:e-p270: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/tmpy8yzk2as.c" target datalayout = "e-m:e-p270: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/tmpipzh9_ta.c' source_filename = "/tmp/tmpipzh9_ta.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @estValide(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp eq i32 %9, 81 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 1, ptr %3, align 4 br label %82 12: ; preds = %2 %13 = load i32, ptr %5, align 4 %14 = sdiv i32 %13, 9 store i32 %14, ptr %6, align 4 %15 = load i32, ptr %5, align 4 %16 = srem i32 %15, 9 store i32 %16, ptr %7, align 4 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [9 x i32], ptr %17, i64 %19 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [9 x i32], ptr %20, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %31 26: ; preds = %12 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 %30 = call i32 @estValide(ptr noundef %27, i32 noundef %29) store i32 %30, ptr %3, align 4 br label %82 31: ; preds = %12 store i32 1, ptr %8, align 4 br label %32 32: ; preds = %71, %31 %33 = load i32, ptr %8, align 4 %34 = icmp sle i32 %33, 9 br i1 %34, label %35, label %74 35: ; preds = %32 %36 = load i32, ptr %8, align 4 %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %6, align 4 %39 = call i64 @absentSurLigne(i32 noundef %36, ptr noundef %37, i32 noundef %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %70 41: ; preds = %35 %42 = load i32, ptr %8, align 4 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %7, align 4 %45 = call i64 @absentSurColonne(i32 noundef %42, ptr noundef %43, i32 noundef %44) %46 = icmp ne i64 %45, 0 br i1 %46, label %47, label %70 47: ; preds = %41 %48 = load i32, ptr %8, align 4 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %6, align 4 %51 = load i32, ptr %7, align 4 %52 = call i64 @absentSurBloc(i32 noundef %48, ptr noundef %49, i32 noundef %50, i32 noundef %51) %53 = icmp ne i64 %52, 0 br i1 %53, label %54, label %70 54: ; preds = %47 %55 = load i32, ptr %8, align 4 %56 = load ptr, ptr %4, align 8 %57 = load i32, ptr %6, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [9 x i32], ptr %56, i64 %58 %60 = load i32, ptr %7, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [9 x i32], ptr %59, i64 0, i64 %61 store i32 %55, ptr %62, align 4 %63 = load ptr, ptr %4, align 8 %64 = load i32, ptr %5, align 4 %65 = add nsw i32 %64, 1 %66 = call i32 @estValide(ptr noundef %63, i32 noundef %65) %67 = icmp ne i32 %66, 0 br i1 %67, label %68, label %69 68: ; preds = %54 store i32 1, ptr %3, align 4 br label %82 69: ; preds = %54 br label %70 70: ; preds = %69, %47, %41, %35 br label %71 71: ; preds = %70 %72 = load i32, ptr %8, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %8, align 4 br label %32, !llvm.loop !6 74: ; preds = %32 %75 = load ptr, ptr %4, align 8 %76 = load i32, ptr %6, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [9 x i32], ptr %75, i64 %77 %79 = load i32, ptr %7, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [9 x i32], ptr %78, i64 0, i64 %80 store i32 0, ptr %81, align 4 store i32 0, ptr %3, align 4 br label %82 82: ; preds = %74, %68, %26, %11 %83 = load i32, ptr %3, align 4 ret i32 %83 } declare i64 @absentSurLigne(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @absentSurColonne(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @absentSurBloc(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpipzh9_ta.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @estValide(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp eq i32 %9, 81 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 1, ptr %3, align 4 br label %83 12: ; preds = %2 %13 = load i32, ptr %5, align 4 %14 = sdiv i32 %13, 9 store i32 %14, ptr %6, align 4 %15 = load i32, ptr %5, align 4 %16 = srem i32 %15, 9 store i32 %16, ptr %7, align 4 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [9 x i32], ptr %17, i64 %19 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [9 x i32], ptr %20, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %31 26: ; preds = %12 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 %30 = call i32 @estValide(ptr noundef %27, i32 noundef %29) store i32 %30, ptr %3, align 4 br label %83 31: ; preds = %12 store i32 1, ptr %8, align 4 %32 = load i32, ptr %8, align 4 %33 = icmp sle i32 %32, 9 br i1 %33, label %.lr.ph, label %75 .lr.ph: ; preds = %31 br label %34 34: ; preds = %.lr.ph, %70 %35 = load i32, ptr %8, align 4 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %6, align 4 %38 = call i64 @absentSurLigne(i32 noundef %35, ptr noundef %36, i32 noundef %37) %39 = icmp ne i64 %38, 0 br i1 %39, label %40, label %69 40: ; preds = %34 %41 = load i32, ptr %8, align 4 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %7, align 4 %44 = call i64 @absentSurColonne(i32 noundef %41, ptr noundef %42, i32 noundef %43) %45 = icmp ne i64 %44, 0 br i1 %45, label %46, label %69 46: ; preds = %40 %47 = load i32, ptr %8, align 4 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %7, align 4 %51 = call i64 @absentSurBloc(i32 noundef %47, ptr noundef %48, i32 noundef %49, i32 noundef %50) %52 = icmp ne i64 %51, 0 br i1 %52, label %53, label %69 53: ; preds = %46 %54 = load i32, ptr %8, align 4 %55 = load ptr, ptr %4, align 8 %56 = load i32, ptr %6, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [9 x i32], ptr %55, i64 %57 %59 = load i32, ptr %7, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [9 x i32], ptr %58, i64 0, i64 %60 store i32 %54, ptr %61, align 4 %62 = load ptr, ptr %4, align 8 %63 = load i32, ptr %5, align 4 %64 = add nsw i32 %63, 1 %65 = call i32 @estValide(ptr noundef %62, i32 noundef %64) %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %68 67: ; preds = %53 store i32 1, ptr %3, align 4 br label %83 68: ; preds = %53 br label %69 69: ; preds = %68, %46, %40, %34 br label %70 70: ; preds = %69 %71 = load i32, ptr %8, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %8, align 4 %73 = load i32, ptr %8, align 4 %74 = icmp sle i32 %73, 9 br i1 %74, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %70 br label %75 75: ; preds = %._crit_edge, %31 %76 = load ptr, ptr %4, align 8 %77 = load i32, ptr %6, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [9 x i32], ptr %76, i64 %78 %80 = load i32, ptr %7, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [9 x i32], ptr %79, i64 0, i64 %81 store i32 0, ptr %82, align 4 store i32 0, ptr %3, align 4 br label %83 83: ; preds = %75, %67, %26, %11 %84 = load i32, ptr %3, align 4 ret i32 %84 } declare i64 @absentSurLigne(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @absentSurColonne(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @absentSurBloc(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2ps8xzb6.c' source_filename = "/tmp/tmp2ps8xzb6.c" target datalayout = "e-m:e-p270: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/tmp2ps8xzb6.c" target datalayout = "e-m:e-p270: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_ptn41d_.c' source_filename = "/tmp/tmp_ptn41d_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @errUnsignedToBase2Exponent(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca i16, align 2 %9 = alloca i16, align 2 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i16 0, ptr %9, align 2 %13 = load i32, ptr %4, align 4 %14 = icmp ule i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 store i32 -3, ptr %16, align 4 store i32 -2, ptr %3, align 4 br label %94 17: ; preds = %2 %18 = load i32, ptr %4, align 4 %19 = icmp uge i32 %18, -2147483648 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = load ptr, ptr %5, align 8 store i32 -2, ptr %21, align 4 store i32 -1, ptr %3, align 4 br label %94 22: ; preds = %17 %23 = load i32, ptr %4, align 4 %24 = call zeroext i16 @findLeadingBitPosition(i32 noundef %23) store i16 %24, ptr %6, align 2 %25 = load i16, ptr %6, align 2 store i16 %25, ptr %7, align 2 %26 = load i16, ptr %6, align 2 %27 = zext i16 %26 to i32 %28 = shl i32 1, %27 store i32 %28, ptr %10, align 4 %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %10, align 4 %31 = sub i32 %29, %30 store i32 %31, ptr %11, align 4 %32 = load i32, ptr %11, align 4 %33 = icmp ule i32 %32, 15 br i1 %33, label %34, label %38 34: ; preds = %22 %35 = load i32, ptr %11, align 4 %36 = shl i32 %35, 8 %37 = trunc i32 %36 to i16 store i16 %37, ptr %8, align 2 br label %78 38: ; preds = %22 %39 = load i32, ptr %11, align 4 %40 = icmp ule i32 %39, 255 br i1 %40, label %41, label %45 41: ; preds = %38 %42 = load i32, ptr %11, align 4 %43 = shl i32 %42, 4 %44 = trunc i32 %43 to i16 store i16 %44, ptr %8, align 2 br label %77 45: ; preds = %38 %46 = load i32, ptr %11, align 4 %47 = icmp ule i32 %46, 4095 br i1 %47, label %48, label %51 48: ; preds = %45 %49 = load i32, ptr %11, align 4 %50 = trunc i32 %49 to i16 store i16 %50, ptr %8, align 2 br label %76 51: ; preds = %45 store i32 11, ptr %12, align 4 br label %52 52: ; preds = %72, %51 %53 = load i32, ptr %12, align 4 %54 = icmp sge i32 %53, 0 br i1 %54, label %55, label %75 55: ; preds = %52 %56 = load i16, ptr %6, align 2 %57 = add i16 %56, -1 store i16 %57, ptr %6, align 2 %58 = load i32, ptr %11, align 4 %59 = load i16, ptr %6, align 2 %60 = zext i16 %59 to i32 %61 = shl i32 1, %60 %62 = and i32 %58, %61 %63 = icmp ne i32 %62, 0 br i1 %63, label %64, label %71 64: ; preds = %55 %65 = load i32, ptr %12, align 4 %66 = shl i32 1, %65 %67 = load i16, ptr %8, align 2 %68 = zext i16 %67 to i32 %69 = or i32 %68, %66 %70 = trunc i32 %69 to i16 store i16 %70, ptr %8, align 2 br label %71 71: ; preds = %64, %55 br label %72 72: ; preds = %71 %73 = load i32, ptr %12, align 4 %74 = add nsw i32 %73, -1 store i32 %74, ptr %12, align 4 br label %52, !llvm.loop !6 75: ; preds = %52 br label %76 76: ; preds = %75, %48 br label %77 77: ; preds = %76, %41 br label %78 78: ; preds = %77, %34 %79 = load i16, ptr %8, align 2 %80 = zext i16 %79 to i32 %81 = and i32 %80, 4095 %82 = trunc i32 %81 to i16 store i16 %82, ptr %8, align 2 %83 = load i16, ptr %8, align 2 %84 = zext i16 %83 to i32 %85 = add nsw i32 %84, 49152 %86 = trunc i32 %85 to i16 store i16 %86, ptr %8, align 2 %87 = load i16, ptr %7, align 2 %88 = zext i16 %87 to i32 %89 = shl i32 %88, 16 %90 = load i16, ptr %9, align 2 %91 = zext i16 %90 to i32 %92 = or i32 %89, %91 %93 = load ptr, ptr %5, align 8 store i32 %92, ptr %93, align 4 store i32 0, ptr %3, align 4 br label %94 94: ; preds = %78, %20, %15 %95 = load i32, ptr %3, align 4 ret i32 %95 } declare zeroext i16 @findLeadingBitPosition(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/tmp_ptn41d_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @errUnsignedToBase2Exponent(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca i16, align 2 %9 = alloca i16, align 2 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i16 0, ptr %9, align 2 %13 = load i32, ptr %4, align 4 %14 = icmp ule i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 store i32 -3, ptr %16, align 4 store i32 -2, ptr %3, align 4 br label %95 17: ; preds = %2 %18 = load i32, ptr %4, align 4 %19 = icmp uge i32 %18, -2147483648 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = load ptr, ptr %5, align 8 store i32 -2, ptr %21, align 4 store i32 -1, ptr %3, align 4 br label %95 22: ; preds = %17 %23 = load i32, ptr %4, align 4 %24 = call zeroext i16 @findLeadingBitPosition(i32 noundef %23) store i16 %24, ptr %6, align 2 %25 = load i16, ptr %6, align 2 store i16 %25, ptr %7, align 2 %26 = load i16, ptr %6, align 2 %27 = zext i16 %26 to i32 %28 = shl i32 1, %27 store i32 %28, ptr %10, align 4 %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %10, align 4 %31 = sub i32 %29, %30 store i32 %31, ptr %11, align 4 %32 = load i32, ptr %11, align 4 %33 = icmp ule i32 %32, 15 br i1 %33, label %34, label %38 34: ; preds = %22 %35 = load i32, ptr %11, align 4 %36 = shl i32 %35, 8 %37 = trunc i32 %36 to i16 store i16 %37, ptr %8, align 2 br label %79 38: ; preds = %22 %39 = load i32, ptr %11, align 4 %40 = icmp ule i32 %39, 255 br i1 %40, label %41, label %45 41: ; preds = %38 %42 = load i32, ptr %11, align 4 %43 = shl i32 %42, 4 %44 = trunc i32 %43 to i16 store i16 %44, ptr %8, align 2 br label %78 45: ; preds = %38 %46 = load i32, ptr %11, align 4 %47 = icmp ule i32 %46, 4095 br i1 %47, label %48, label %51 48: ; preds = %45 %49 = load i32, ptr %11, align 4 %50 = trunc i32 %49 to i16 store i16 %50, ptr %8, align 2 br label %77 51: ; preds = %45 store i32 11, ptr %12, align 4 %52 = load i32, ptr %12, align 4 %53 = icmp sge i32 %52, 0 br i1 %53, label %.lr.ph, label %76 .lr.ph: ; preds = %51 br label %54 54: ; preds = %.lr.ph, %71 %55 = load i16, ptr %6, align 2 %56 = add i16 %55, -1 store i16 %56, ptr %6, align 2 %57 = load i32, ptr %11, align 4 %58 = load i16, ptr %6, align 2 %59 = zext i16 %58 to i32 %60 = shl i32 1, %59 %61 = and i32 %57, %60 %62 = icmp ne i32 %61, 0 br i1 %62, label %63, label %70 63: ; preds = %54 %64 = load i32, ptr %12, align 4 %65 = shl i32 1, %64 %66 = load i16, ptr %8, align 2 %67 = zext i16 %66 to i32 %68 = or i32 %67, %65 %69 = trunc i32 %68 to i16 store i16 %69, ptr %8, align 2 br label %70 70: ; preds = %63, %54 br label %71 71: ; preds = %70 %72 = load i32, ptr %12, align 4 %73 = add nsw i32 %72, -1 store i32 %73, ptr %12, align 4 %74 = load i32, ptr %12, align 4 %75 = icmp sge i32 %74, 0 br i1 %75, label %54, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %71 br label %76 76: ; preds = %._crit_edge, %51 br label %77 77: ; preds = %76, %48 br label %78 78: ; preds = %77, %41 br label %79 79: ; preds = %78, %34 %80 = load i16, ptr %8, align 2 %81 = zext i16 %80 to i32 %82 = and i32 %81, 4095 %83 = trunc i32 %82 to i16 store i16 %83, ptr %8, align 2 %84 = load i16, ptr %8, align 2 %85 = zext i16 %84 to i32 %86 = add nsw i32 %85, 49152 %87 = trunc i32 %86 to i16 store i16 %87, ptr %8, align 2 %88 = load i16, ptr %7, align 2 %89 = zext i16 %88 to i32 %90 = shl i32 %89, 16 %91 = load i16, ptr %9, align 2 %92 = zext i16 %91 to i32 %93 = or i32 %90, %92 %94 = load ptr, ptr %5, align 8 store i32 %93, ptr %94, align 4 store i32 0, ptr %3, align 4 br label %95 95: ; preds = %79, %20, %15 %96 = load i32, ptr %3, align 4 ret i32 %96 } declare zeroext i16 @findLeadingBitPosition(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/tmpwbbhxwqy.c' source_filename = "/tmp/tmpwbbhxwqy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Error! You entered wrong parameters!\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %18 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call i32 @read_file(ptr noundef %13) %15 = call i32 (...) @check_all_numbers() %16 = call i32 (...) @wait_all_childs() %17 = call i32 (...) @print_result() store i32 0, ptr %3, align 4 br label %18 18: ; preds = %10, %8 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @printf(ptr noundef) #1 declare i32 @read_file(ptr noundef) #1 declare i32 @check_all_numbers(...) #1 declare i32 @wait_all_childs(...) #1 declare i32 @print_result(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwbbhxwqy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Error! You entered wrong parameters!\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %18 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call i32 @read_file(ptr noundef %13) %15 = call i32 (...) @check_all_numbers() %16 = call i32 (...) @wait_all_childs() %17 = call i32 (...) @print_result() store i32 0, ptr %3, align 4 br label %18 18: ; preds = %10, %8 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @printf(ptr noundef) #1 declare i32 @read_file(ptr noundef) #1 declare i32 @check_all_numbers(...) #1 declare i32 @wait_all_childs(...) #1 declare i32 @print_result(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc4mkr4d3.c' source_filename = "/tmp/tmpc4mkr4d3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"encode string: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%x \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_encrypted_str(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %5 5: ; preds = %18, %1 %6 = load i32, ptr %3, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = icmp slt i32 %6, %8 br i1 %9, label %10, label %21 10: ; preds = %5 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %5, !llvm.loop !6 21: ; preds = %5 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc4mkr4d3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"encode string: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%x \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_encrypted_str(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = icmp slt i32 %5, %7 br i1 %8, label %.lr.ph, label %24 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %17 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15) br label %17 17: ; preds = %9 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = load ptr, ptr %2, align 8 %22 = call i32 @strlen(ptr noundef %21) %23 = icmp slt i32 %20, %22 br i1 %23, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %24 24: ; preds = %._crit_edge, %1 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpos_9mhkf.c' source_filename = "/tmp/tmpos_9mhkf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetDoorState(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = or i32 %3, 512 %5 = call i32 @MoveDoor(i32 noundef %4) ret i32 %5 } declare i32 @MoveDoor(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/tmpos_9mhkf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetDoorState(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = or i32 %3, 512 %5 = call i32 @MoveDoor(i32 noundef %4) ret i32 %5 } declare i32 @MoveDoor(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/tmpni0qj2kc.c' source_filename = "/tmp/tmpni0qj2kc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sockaddr_from_proc_name(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 ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %10 = load ptr, ptr %3, align 8 store ptr %10, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 store i32 -1, ptr %9, align 4 br label %11 11: ; preds = %23, %2 %12 = load ptr, ptr %5, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %21 16: ; preds = %11 %17 = load ptr, ptr %5, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 58 br label %21 21: ; preds = %16, %11 %22 = phi i1 [ false, %11 ], [ %20, %16 ] br i1 %22, label %23, label %26 23: ; preds = %21 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %5, align 8 br label %11, !llvm.loop !6 26: ; preds = %21 %27 = load ptr, ptr %5, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 58 br i1 %30, label %31, label %104 31: ; preds = %26 %32 = load ptr, ptr %5, align 8 store ptr %32, ptr %6, align 8 br label %33 33: ; preds = %45, %31 %34 = load ptr, ptr %5, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %43 38: ; preds = %33 %39 = load ptr, ptr %5, align 8 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp ne i32 %41, 45 br label %43 43: ; preds = %38, %33 %44 = phi i1 [ false, %33 ], [ %42, %38 ] br i1 %44, label %45, label %48 45: ; preds = %43 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 1 store ptr %47, ptr %5, align 8 br label %33, !llvm.loop !8 48: ; preds = %43 %49 = load ptr, ptr %5, align 8 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = icmp eq i32 %51, 45 br i1 %52, label %53, label %103 53: ; preds = %48 %54 = load ptr, ptr %5, align 8 store ptr %54, ptr %7, align 8 %55 = load ptr, ptr %6, align 8 store i8 0, ptr %55, align 1 %56 = load ptr, ptr %7, align 8 store i8 0, ptr %56, align 1 %57 = load ptr, ptr %6, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 1 store ptr %58, ptr %5, align 8 store i32 0, ptr %8, align 4 br label %59 59: ; preds = %83, %53 %60 = load ptr, ptr %5, align 8 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp ne i32 %62, 0 br i1 %63, label %64, label %86 64: ; preds = %59 %65 = load ptr, ptr %5, align 8 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = icmp sge i32 %67, 48 br i1 %68, label %69, label %82 69: ; preds = %64 %70 = load ptr, ptr %5, align 8 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = icmp sle i32 %72, 57 br i1 %73, label %74, label %82 74: ; preds = %69 %75 = load i32, ptr %8, align 4 %76 = mul nsw i32 %75, 10 %77 = load ptr, ptr %5, align 8 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = sub nsw i32 %79, 48 %81 = add nsw i32 %76, %80 store i32 %81, ptr %8, align 4 br label %83 82: ; preds = %69, %64 store i32 -1, ptr %8, align 4 br label %86 83: ; preds = %74 %84 = load ptr, ptr %5, align 8 %85 = getelementptr inbounds i8, ptr %84, i32 1 store ptr %85, ptr %5, align 8 br label %59, !llvm.loop !9 86: ; preds = %82, %59 %87 = load i32, ptr %8, align 4 %88 = icmp sgt i32 %87, 0 br i1 %88, label %89, label %102 89: ; preds = %86 %90 = load i32, ptr %8, align 4 %91 = icmp slt i32 %90, 65536 br i1 %91, label %92, label %102 92: ; preds = %89 %93 = load ptr, ptr %3, align 8 %94 = load ptr, ptr %4, align 8 %95 = call i64 @fill_sockaddr(ptr noundef %93, ptr noundef %94) %96 = icmp eq i64 0, %95 br i1 %96, label %97, label %102 97: ; preds = %92 %98 = load i32, ptr %8, align 4 %99 = call i32 @htons(i32 noundef %98) %100 = load ptr, ptr %4, align 8 %101 = getelementptr inbounds %struct.sockaddr_in, ptr %100, i32 0, i32 0 store i32 %99, ptr %101, align 4 store i32 0, ptr %9, align 4 br label %102 102: ; preds = %97, %92, %89, %86 br label %103 103: ; preds = %102, %48 br label %104 104: ; preds = %103, %26 %105 = load ptr, ptr %6, align 8 %106 = icmp ne ptr %105, null br i1 %106, label %107, label %109 107: ; preds = %104 %108 = load ptr, ptr %6, align 8 store i8 58, ptr %108, align 1 br label %109 109: ; preds = %107, %104 %110 = load ptr, ptr %7, align 8 %111 = icmp ne ptr %110, null br i1 %111, label %112, label %114 112: ; preds = %109 %113 = load ptr, ptr %7, align 8 store i8 45, ptr %113, align 1 br label %114 114: ; preds = %112, %109 %115 = load i32, ptr %9, align 4 ret i32 %115 } declare i64 @fill_sockaddr(ptr noundef, ptr noundef) #1 declare i32 @htons(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/tmpni0qj2kc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sockaddr_from_proc_name(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 ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %10 = load ptr, ptr %3, align 8 store ptr %10, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 store i32 -1, ptr %9, align 4 br label %11 11: ; preds = %23, %2 %12 = load ptr, ptr %5, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %21 16: ; preds = %11 %17 = load ptr, ptr %5, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 58 br label %21 21: ; preds = %16, %11 %22 = phi i1 [ false, %11 ], [ %20, %16 ] br i1 %22, label %23, label %26 23: ; preds = %21 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %5, align 8 br label %11, !llvm.loop !6 26: ; preds = %21 %27 = load ptr, ptr %5, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 58 br i1 %30, label %31, label %107 31: ; preds = %26 %32 = load ptr, ptr %5, align 8 store ptr %32, ptr %6, align 8 br label %33 33: ; preds = %45, %31 %34 = load ptr, ptr %5, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %43 38: ; preds = %33 %39 = load ptr, ptr %5, align 8 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp ne i32 %41, 45 br label %43 43: ; preds = %38, %33 %44 = phi i1 [ false, %33 ], [ %42, %38 ] br i1 %44, label %45, label %48 45: ; preds = %43 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 1 store ptr %47, ptr %5, align 8 br label %33, !llvm.loop !8 48: ; preds = %43 %49 = load ptr, ptr %5, align 8 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = icmp eq i32 %51, 45 br i1 %52, label %53, label %106 53: ; preds = %48 %54 = load ptr, ptr %5, align 8 store ptr %54, ptr %7, align 8 %55 = load ptr, ptr %6, align 8 store i8 0, ptr %55, align 1 %56 = load ptr, ptr %7, align 8 store i8 0, ptr %56, align 1 %57 = load ptr, ptr %6, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 1 store ptr %58, ptr %5, align 8 store i32 0, ptr %8, align 4 %59 = load ptr, ptr %5, align 8 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp ne i32 %61, 0 br i1 %62, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %53 br label %63 63: ; preds = %.lr.ph, %82 %64 = load ptr, ptr %5, align 8 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp sge i32 %66, 48 br i1 %67, label %68, label %81 68: ; preds = %63 %69 = load ptr, ptr %5, align 8 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 %72 = icmp sle i32 %71, 57 br i1 %72, label %73, label %81 73: ; preds = %68 %74 = load i32, ptr %8, align 4 %75 = mul nsw i32 %74, 10 %76 = load ptr, ptr %5, align 8 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = sub nsw i32 %78, 48 %80 = add nsw i32 %75, %79 store i32 %80, ptr %8, align 4 br label %82 81: ; preds = %68, %63 store i32 -1, ptr %8, align 4 br label %89 82: ; preds = %73 %83 = load ptr, ptr %5, align 8 %84 = getelementptr inbounds i8, ptr %83, i32 1 store ptr %84, ptr %5, align 8 %85 = load ptr, ptr %5, align 8 %86 = load i8, ptr %85, align 1 %87 = sext i8 %86 to i32 %88 = icmp ne i32 %87, 0 br i1 %88, label %63, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %82 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %53 br label %89 89: ; preds = %.loopexit, %81 %90 = load i32, ptr %8, align 4 %91 = icmp sgt i32 %90, 0 br i1 %91, label %92, label %105 92: ; preds = %89 %93 = load i32, ptr %8, align 4 %94 = icmp slt i32 %93, 65536 br i1 %94, label %95, label %105 95: ; preds = %92 %96 = load ptr, ptr %3, align 8 %97 = load ptr, ptr %4, align 8 %98 = call i64 @fill_sockaddr(ptr noundef %96, ptr noundef %97) %99 = icmp eq i64 0, %98 br i1 %99, label %100, label %105 100: ; preds = %95 %101 = load i32, ptr %8, align 4 %102 = call i32 @htons(i32 noundef %101) %103 = load ptr, ptr %4, align 8 %104 = getelementptr inbounds %struct.sockaddr_in, ptr %103, i32 0, i32 0 store i32 %102, ptr %104, align 4 store i32 0, ptr %9, align 4 br label %105 105: ; preds = %100, %95, %92, %89 br label %106 106: ; preds = %105, %48 br label %107 107: ; preds = %106, %26 %108 = load ptr, ptr %6, align 8 %109 = icmp ne ptr %108, null br i1 %109, label %110, label %112 110: ; preds = %107 %111 = load ptr, ptr %6, align 8 store i8 58, ptr %111, align 1 br label %112 112: ; preds = %110, %107 %113 = load ptr, ptr %7, align 8 %114 = icmp ne ptr %113, null br i1 %114, label %115, label %117 115: ; preds = %112 %116 = load ptr, ptr %7, align 8 store i8 45, ptr %116, align 1 br label %117 117: ; preds = %115, %112 %118 = load i32, ptr %9, align 4 ret i32 %118 } declare i64 @fill_sockaddr(ptr noundef, ptr noundef) #1 declare i32 @htons(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/tmp49_6fqha.c' source_filename = "/tmp/tmp49_6fqha.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [22 x i8], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %4 = call i32 (...) @clear_line() br label %5 5: ; preds = %25, %0 %6 = getelementptr inbounds [22 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @read_word(ptr noundef %6, i32 noundef 21) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %5 %11 = call i32 (...) @flush_line() ret i32 0 12: ; preds = %5 %13 = load i32, ptr %3, align 4 %14 = icmp sgt i32 %13, 20 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = getelementptr inbounds [22 x i8], ptr %2, i64 0, i64 20 store i8 42, ptr %16, align 4 br label %17 17: ; preds = %15, %12 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 %20 = call i32 (...) @space_remaining() %21 = icmp sgt i32 %19, %20 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = call i32 (...) @write_line() %24 = call i32 (...) @clear_line() br label %25 25: ; preds = %22, %17 %26 = getelementptr inbounds [22 x i8], ptr %2, i64 0, i64 0 %27 = call i32 @add_word(ptr noundef %26) br label %5 } declare i32 @clear_line(...) #1 declare i32 @read_word(ptr noundef, i32 noundef) #1 declare i32 @flush_line(...) #1 declare i32 @space_remaining(...) #1 declare i32 @write_line(...) #1 declare i32 @add_word(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/tmp49_6fqha.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [22 x i8], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %4 = call i32 (...) @clear_line() %5 = getelementptr inbounds [22 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @read_word(ptr noundef %5, i32 noundef 21) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %.lr.ph .lr.ph: ; preds = %0 br label %11 ._crit_edge: ; preds = %24 br label %9 9: ; preds = %._crit_edge, %0 %10 = call i32 (...) @flush_line() ret i32 0 11: ; preds = %.lr.ph, %24 %12 = load i32, ptr %3, align 4 %13 = icmp sgt i32 %12, 20 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = getelementptr inbounds [22 x i8], ptr %2, i64 0, i64 20 store i8 42, ptr %15, align 4 br label %16 16: ; preds = %14, %11 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 %19 = call i32 (...) @space_remaining() %20 = icmp sgt i32 %18, %19 br i1 %20, label %21, label %24 21: ; preds = %16 %22 = call i32 (...) @write_line() %23 = call i32 (...) @clear_line() br label %24 24: ; preds = %21, %16 %25 = getelementptr inbounds [22 x i8], ptr %2, i64 0, i64 0 %26 = call i32 @add_word(ptr noundef %25) %27 = call i32 @read_word(ptr noundef %5, i32 noundef 21) store i32 %27, ptr %3, align 4 %28 = load i32, ptr %3, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %._crit_edge, label %11 } declare i32 @clear_line(...) #1 declare i32 @read_word(ptr noundef, i32 noundef) #1 declare i32 @flush_line(...) #1 declare i32 @space_remaining(...) #1 declare i32 @write_line(...) #1 declare i32 @add_word(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/tmpxvlx9j51.c' source_filename = "/tmp/tmpxvlx9j51.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @quickSort(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 store i64 0, ptr %9, align 8 %10 = load i64, ptr %7, align 8 %11 = load i64, ptr %8, align 8 %12 = icmp slt i64 %10, %11 br i1 %12, label %13, label %28 13: ; preds = %4 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %6, align 8 %16 = load i64, ptr %7, align 8 %17 = load i64, ptr %8, align 8 %18 = call i64 @partition(ptr noundef %14, ptr noundef %15, i64 noundef %16, i64 noundef %17) store i64 %18, ptr %9, align 8 %19 = load ptr, ptr %5, align 8 %20 = load ptr, ptr %6, align 8 %21 = load i64, ptr %7, align 8 %22 = load i64, ptr %9, align 8 call void @quickSort(ptr noundef %19, ptr noundef %20, i64 noundef %21, i64 noundef %22) %23 = load ptr, ptr %5, align 8 %24 = load ptr, ptr %6, align 8 %25 = load i64, ptr %9, align 8 %26 = add nsw i64 %25, 1 %27 = load i64, ptr %8, align 8 call void @quickSort(ptr noundef %23, ptr noundef %24, i64 noundef %26, i64 noundef %27) br label %28 28: ; preds = %13, %4 ret void } declare i64 @partition(ptr noundef, 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/tmpxvlx9j51.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @quickSort(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 store i64 0, ptr %9, align 8 %10 = load i64, ptr %7, align 8 %11 = load i64, ptr %8, align 8 %12 = icmp slt i64 %10, %11 br i1 %12, label %13, label %28 13: ; preds = %4 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %6, align 8 %16 = load i64, ptr %7, align 8 %17 = load i64, ptr %8, align 8 %18 = call i64 @partition(ptr noundef %14, ptr noundef %15, i64 noundef %16, i64 noundef %17) store i64 %18, ptr %9, align 8 %19 = load ptr, ptr %5, align 8 %20 = load ptr, ptr %6, align 8 %21 = load i64, ptr %7, align 8 %22 = load i64, ptr %9, align 8 call void @quickSort(ptr noundef %19, ptr noundef %20, i64 noundef %21, i64 noundef %22) %23 = load ptr, ptr %5, align 8 %24 = load ptr, ptr %6, align 8 %25 = load i64, ptr %9, align 8 %26 = add nsw i64 %25, 1 %27 = load i64, ptr %8, align 8 call void @quickSort(ptr noundef %23, ptr noundef %24, i64 noundef %26, i64 noundef %27) br label %28 28: ; preds = %13, %4 ret void } declare i64 @partition(ptr noundef, 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/tmpef_qfgg8.c' source_filename = "/tmp/tmpef_qfgg8.c" target datalayout = "e-m:e-p270: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/tmpef_qfgg8.c" target datalayout = "e-m:e-p270: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/tmpom14i1b6.c' source_filename = "/tmp/tmpom14i1b6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"First for-loop: number of threads is %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"Thread %d executes loop iteration %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"Second for-loop: number of threads is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 9, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %4, align 8 %10 = alloca i32, i64 %8, align 16 store i64 %8, ptr %5, align 8 %11 = load i32, ptr %3, align 4 %12 = zext i32 %11 to i64 %13 = alloca i32, i64 %12, align 16 store i64 %12, ptr %6, align 8 %14 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef 1) store i32 0, ptr %2, align 4 br label %15 15: ; preds = %26, %0 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %29 19: ; preds = %15 %20 = load i32, ptr %2, align 4 %21 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef 0, i32 noundef %20) %22 = load i32, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %10, i64 %24 store i32 %22, ptr %25, align 4 br label %26 26: ; preds = %19 %27 = load i32, ptr %2, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %2, align 4 br label %15, !llvm.loop !6 29: ; preds = %15 %30 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef 1) store i32 0, ptr %2, align 4 br label %31 31: ; preds = %46, %29 %32 = load i32, ptr %2, align 4 %33 = load i32, ptr %3, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %49 35: ; preds = %31 %36 = load i32, ptr %2, align 4 %37 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef 0, i32 noundef %36) %38 = load i32, ptr %2, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %10, i64 %39 %41 = load i32, ptr %40, align 4 %42 = mul nsw i32 2, %41 %43 = load i32, ptr %2, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %13, i64 %44 store i32 %42, ptr %45, align 4 br label %46 46: ; preds = %35 %47 = load i32, ptr %2, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %2, align 4 br label %31, !llvm.loop !8 49: ; preds = %31 store i32 0, ptr %1, align 4 %50 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %50) %51 = load i32, ptr %1, align 4 ret i32 %51 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpom14i1b6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"First for-loop: number of threads is %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"Thread %d executes loop iteration %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"Second for-loop: number of threads is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 9, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %4, align 8 %10 = alloca i32, i64 %8, align 16 store i64 %8, ptr %5, align 8 %11 = load i32, ptr %3, align 4 %12 = zext i32 %11 to i64 %13 = alloca i32, i64 %12, align 16 store i64 %12, ptr %6, align 8 %14 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef 1) store i32 0, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %31 .lr.ph: ; preds = %0 br label %18 18: ; preds = %.lr.ph, %25 %19 = load i32, ptr %2, align 4 %20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef 0, i32 noundef %19) %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %2, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %10, i64 %23 store i32 %21, ptr %24, align 4 br label %25 25: ; preds = %18 %26 = load i32, ptr %2, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %2, align 4 %28 = load i32, ptr %2, align 4 %29 = load i32, ptr %3, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %0 %32 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef 1) store i32 0, ptr %2, align 4 %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %.lr.ph2, label %53 .lr.ph2: ; preds = %31 br label %36 36: ; preds = %.lr.ph2, %47 %37 = load i32, ptr %2, align 4 %38 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef 0, i32 noundef %37) %39 = load i32, ptr %2, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %10, i64 %40 %42 = load i32, ptr %41, align 4 %43 = mul nsw i32 2, %42 %44 = load i32, ptr %2, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %13, i64 %45 store i32 %43, ptr %46, align 4 br label %47 47: ; preds = %36 %48 = load i32, ptr %2, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %2, align 4 %50 = load i32, ptr %2, align 4 %51 = load i32, ptr %3, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %36, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %47 br label %53 53: ; preds = %._crit_edge3, %31 store i32 0, ptr %1, align 4 %54 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %54) %55 = load i32, ptr %1, align 4 ret i32 %55 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp9jjmz1fu.c' source_filename = "/tmp/tmp9jjmz1fu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"64-bit Kernel Loaded in Memory\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"SYSTEM INITIALIZED SUCCESSFULLY!\00", align 1 @.str.2 = private unnamed_addr constant [72 x i8] c"x86 Keyboard Port Enabling......... Press a Key to see the Pressed one!\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c">\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @os_clear_screen() %3 = call i32 @os_move_cursor(i32 noundef 4, i32 noundef 0) %4 = call i32 @os_print_string(ptr noundef @.str, i32 noundef 1) %5 = call i32 @os_print_string(ptr noundef @.str.1, i32 noundef 2) %6 = call i32 @os_print_string(ptr noundef @.str.2, i32 noundef 3) %7 = call i32 @os_print_string(ptr noundef @.str.3, i32 noundef 4) br label %8 8: ; preds = %0, %8 %9 = call i32 (...) @KEYBOARD_HANDLER() br label %8 } declare i32 @os_clear_screen(...) #1 declare i32 @os_move_cursor(i32 noundef, i32 noundef) #1 declare i32 @os_print_string(ptr noundef, i32 noundef) #1 declare i32 @KEYBOARD_HANDLER(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9jjmz1fu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"64-bit Kernel Loaded in Memory\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"SYSTEM INITIALIZED SUCCESSFULLY!\00", align 1 @.str.2 = private unnamed_addr constant [72 x i8] c"x86 Keyboard Port Enabling......... Press a Key to see the Pressed one!\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c">\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @os_clear_screen() %3 = call i32 @os_move_cursor(i32 noundef 4, i32 noundef 0) %4 = call i32 @os_print_string(ptr noundef @.str, i32 noundef 1) %5 = call i32 @os_print_string(ptr noundef @.str.1, i32 noundef 2) %6 = call i32 @os_print_string(ptr noundef @.str.2, i32 noundef 3) %7 = call i32 @os_print_string(ptr noundef @.str.3, i32 noundef 4) br label %8 8: ; preds = %8, %0 %9 = call i32 (...) @KEYBOARD_HANDLER() br label %8 } declare i32 @os_clear_screen(...) #1 declare i32 @os_move_cursor(i32 noundef, i32 noundef) #1 declare i32 @os_print_string(ptr noundef, i32 noundef) #1 declare i32 @KEYBOARD_HANDLER(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpedbtidbn.c' source_filename = "/tmp/tmpedbtidbn.c" target datalayout = "e-m:e-p270: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/tmpedbtidbn.c" target datalayout = "e-m:e-p270: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/tmpyje8w1re.c' source_filename = "/tmp/tmpyje8w1re.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"/bin/ls\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @go() #0 { %1 = alloca i32, align 4 %2 = call i32 @posix_spawn(ptr noundef %1, ptr noundef @.str, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) %3 = load i32, ptr %1, align 4 %4 = call i32 @waitpid(i32 noundef %3, ptr noundef null, i32 noundef 0) ret void } declare i32 @posix_spawn(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyje8w1re.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"/bin/ls\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @go() #0 { %1 = alloca i32, align 4 %2 = call i32 @posix_spawn(ptr noundef %1, ptr noundef @.str, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) %3 = load i32, ptr %1, align 4 %4 = call i32 @waitpid(i32 noundef %3, ptr noundef null, i32 noundef 0) ret void } declare i32 @posix_spawn(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgdjbwd35.c' source_filename = "/tmp/tmpgdjbwd35.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arikkei_ucs2_utf8_strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @arikkei_ucs2_utf8_bytelen(ptr noundef %5) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = add nsw i32 %7, 1 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 1 %11 = trunc i64 %10 to i32 %12 = call ptr @malloc(i32 noundef %11) store ptr %12, ptr %3, align 8 %13 = load ptr, ptr %2, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @arikkei_ucs2_utf8_strcpy(ptr noundef %13, ptr noundef %14) %16 = load ptr, ptr %3, align 8 ret ptr %16 } declare i32 @arikkei_ucs2_utf8_bytelen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @arikkei_ucs2_utf8_strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgdjbwd35.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arikkei_ucs2_utf8_strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @arikkei_ucs2_utf8_bytelen(ptr noundef %5) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = add nsw i32 %7, 1 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 1 %11 = trunc i64 %10 to i32 %12 = call ptr @malloc(i32 noundef %11) store ptr %12, ptr %3, align 8 %13 = load ptr, ptr %2, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @arikkei_ucs2_utf8_strcpy(ptr noundef %13, ptr noundef %14) %16 = load ptr, ptr %3, align 8 ret ptr %16 } declare i32 @arikkei_ucs2_utf8_bytelen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @arikkei_ucs2_utf8_strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvyp6sdaw.c' source_filename = "/tmp/tmpvyp6sdaw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"\0A Change: %p \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @change(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 store ptr %5, ptr %6, align 8 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %7, align 8 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %8) 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvyp6sdaw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"\0A Change: %p \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @change(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 store ptr %5, ptr %6, align 8 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %7, align 8 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %8) 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"}
; ModuleID = '/tmp/tmpo1i7af61.c' source_filename = "/tmp/tmpo1i7af61.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s%s\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \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 1, ptr %6, align 4 br label %7 7: ; preds = %22, %2 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %25 11: ; preds = %7 %12 = load i32, ptr %6, align 4 %13 = icmp eq i32 %12, 1 %14 = zext i1 %13 to i64 %15 = select i1 %13, ptr @.str.1, ptr @.str.2 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call i32 @printf(ptr noundef @.str, ptr noundef %15, ptr noundef %20) br label %22 22: ; preds = %11 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %6, align 4 br label %7, !llvm.loop !6 25: ; preds = %7 %26 = call i32 @putchar(i8 noundef signext 10) %27 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @putchar(i8 noundef signext) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo1i7af61.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s%s\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \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 1, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %21 %11 = load i32, ptr %6, align 4 %12 = icmp eq i32 %11, 1 %13 = zext i1 %12 to i64 %14 = select i1 %12, ptr @.str.1, ptr @.str.2 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = call i32 @printf(ptr noundef @.str, ptr noundef %14, ptr noundef %19) br label %21 21: ; preds = %10 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %2 %28 = call i32 @putchar(i8 noundef signext 10) %29 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @putchar(i8 noundef signext) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbmnvqenb.c' source_filename = "/tmp/tmpbmnvqenb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tcwdberrmsg(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call ptr @tcbdberrmsg(i32 noundef %3) ret ptr %4 } declare ptr @tcbdberrmsg(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/tmpbmnvqenb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tcwdberrmsg(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call ptr @tcbdberrmsg(i32 noundef %3) ret ptr %4 } declare ptr @tcbdberrmsg(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/tmpz16_c9e3.c' source_filename = "/tmp/tmpz16_c9e3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mkdtemp(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 i64 @_gettemp(ptr noundef %3, ptr noundef null, i32 noundef 1, i32 noundef 0, i32 noundef 0) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 br label %9 8: ; preds = %1 br label %9 9: ; preds = %8, %6 %10 = phi ptr [ %7, %6 ], [ null, %8 ] ret ptr %10 } declare i64 @_gettemp(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz16_c9e3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mkdtemp(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 i64 @_gettemp(ptr noundef %3, ptr noundef null, i32 noundef 1, i32 noundef 0, i32 noundef 0) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 br label %9 8: ; preds = %1 br label %9 9: ; preds = %8, %6 %10 = phi ptr [ %7, %6 ], [ null, %8 ] ret ptr %10 } declare i64 @_gettemp(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphfbmnt_h.c' source_filename = "/tmp/tmphfbmnt_h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Cannot allocate key buffer\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Write problem %i %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [20 x i8] c"MPI: %c (len=%d)\0A{ \00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"0x%02X, \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"}\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getMPI(i32 noundef %0, i32 noundef %1, i8 noundef signext %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i8 %2, ptr %7, align 1 store i32 0, ptr %12, align 4 %13 = call i64 @malloc(i32 noundef 513) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %10, align 8 %15 = load ptr, ptr %10, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %3 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %95 19: ; preds = %3 %20 = load i8, ptr %7, align 1 %21 = load ptr, ptr %10, align 8 %22 = load i32, ptr %12, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %12, align 4 %24 = sext i32 %22 to i64 %25 = getelementptr inbounds i8, ptr %21, i64 %24 store i8 %20, ptr %25, align 1 %26 = load i32, ptr %5, align 4 %27 = call i32 @read(i32 noundef %26, ptr noundef %8, i32 noundef 1) %28 = load i8, ptr %8, align 1 %29 = load ptr, ptr %10, align 8 %30 = load i32, ptr %12, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %12, align 4 %32 = sext i32 %30 to i64 %33 = getelementptr inbounds i8, ptr %29, i64 %32 store i8 %28, ptr %33, align 1 %34 = load i8, ptr %8, align 1 %35 = zext i8 %34 to i32 %36 = shl i32 %35, 8 store i32 %36, ptr %9, align 4 %37 = load i32, ptr %5, align 4 %38 = call i32 @read(i32 noundef %37, ptr noundef %8, i32 noundef 1) %39 = load i8, ptr %8, align 1 %40 = load ptr, ptr %10, align 8 %41 = load i32, ptr %12, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %12, align 4 %43 = sext i32 %41 to i64 %44 = getelementptr inbounds i8, ptr %40, i64 %43 store i8 %39, ptr %44, align 1 %45 = load i8, ptr %8, align 1 %46 = zext i8 %45 to i32 %47 = load i32, ptr %9, align 4 %48 = or i32 %47, %46 store i32 %48, ptr %9, align 4 %49 = load i32, ptr %9, align 4 %50 = add i32 %49, 7 %51 = udiv i32 %50, 8 store i32 %51, ptr %9, align 4 %52 = load i32, ptr %5, align 4 %53 = load ptr, ptr %10, align 8 %54 = load i32, ptr %12, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 %57 = load i32, ptr %9, align 4 %58 = call i32 @read(i32 noundef %52, ptr noundef %56, i32 noundef %57) %59 = load i32, ptr %9, align 4 %60 = load i32, ptr %12, align 4 %61 = add i32 %60, %59 store i32 %61, ptr %12, align 4 %62 = load i32, ptr %6, align 4 %63 = load ptr, ptr %10, align 8 %64 = load i32, ptr %12, align 4 %65 = call i64 @write(i32 noundef %62, ptr noundef %63, i32 noundef %64) %66 = icmp slt i64 %65, 0 br i1 %66, label %67, label %72 67: ; preds = %19 %68 = load i32, ptr @errno, align 4 %69 = load i32, ptr @errno, align 4 %70 = call ptr @strerror(i32 noundef %69) %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %68, ptr noundef %70) store i32 -1, ptr %4, align 4 br label %95 72: ; preds = %19 %73 = load i8, ptr %7, align 1 %74 = sext i8 %73 to i32 %75 = load i32, ptr %9, align 4 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %74, i32 noundef %75) store i32 0, ptr %11, align 4 br label %77 77: ; preds = %90, %72 %78 = load i32, ptr %11, align 4 %79 = load i32, ptr %12, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %81, label %93 81: ; preds = %77 %82 = load ptr, ptr %10, align 8 %83 = load i32, ptr %11, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %82, i64 %84 %86 = load i8, ptr %85, align 1 %87 = zext i8 %86 to i32 %88 = and i32 %87, 255 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %88) br label %90 90: ; preds = %81 %91 = load i32, ptr %11, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %11, align 4 br label %77, !llvm.loop !6 93: ; preds = %77 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %4, align 4 br label %95 95: ; preds = %93, %67, %17 %96 = load i32, ptr %4, align 4 ret i32 %96 } declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @strerror(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/tmphfbmnt_h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Cannot allocate key buffer\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Write problem %i %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [20 x i8] c"MPI: %c (len=%d)\0A{ \00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"0x%02X, \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"}\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getMPI(i32 noundef %0, i32 noundef %1, i8 noundef signext %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i8 %2, ptr %7, align 1 store i32 0, ptr %12, align 4 %13 = call i64 @malloc(i32 noundef 513) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %10, align 8 %15 = load ptr, ptr %10, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %3 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %97 19: ; preds = %3 %20 = load i8, ptr %7, align 1 %21 = load ptr, ptr %10, align 8 %22 = load i32, ptr %12, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %12, align 4 %24 = sext i32 %22 to i64 %25 = getelementptr inbounds i8, ptr %21, i64 %24 store i8 %20, ptr %25, align 1 %26 = load i32, ptr %5, align 4 %27 = call i32 @read(i32 noundef %26, ptr noundef %8, i32 noundef 1) %28 = load i8, ptr %8, align 1 %29 = load ptr, ptr %10, align 8 %30 = load i32, ptr %12, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %12, align 4 %32 = sext i32 %30 to i64 %33 = getelementptr inbounds i8, ptr %29, i64 %32 store i8 %28, ptr %33, align 1 %34 = load i8, ptr %8, align 1 %35 = zext i8 %34 to i32 %36 = shl i32 %35, 8 store i32 %36, ptr %9, align 4 %37 = load i32, ptr %5, align 4 %38 = call i32 @read(i32 noundef %37, ptr noundef %8, i32 noundef 1) %39 = load i8, ptr %8, align 1 %40 = load ptr, ptr %10, align 8 %41 = load i32, ptr %12, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %12, align 4 %43 = sext i32 %41 to i64 %44 = getelementptr inbounds i8, ptr %40, i64 %43 store i8 %39, ptr %44, align 1 %45 = load i8, ptr %8, align 1 %46 = zext i8 %45 to i32 %47 = load i32, ptr %9, align 4 %48 = or i32 %47, %46 store i32 %48, ptr %9, align 4 %49 = load i32, ptr %9, align 4 %50 = add i32 %49, 7 %51 = udiv i32 %50, 8 store i32 %51, ptr %9, align 4 %52 = load i32, ptr %5, align 4 %53 = load ptr, ptr %10, align 8 %54 = load i32, ptr %12, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 %57 = load i32, ptr %9, align 4 %58 = call i32 @read(i32 noundef %52, ptr noundef %56, i32 noundef %57) %59 = load i32, ptr %9, align 4 %60 = load i32, ptr %12, align 4 %61 = add i32 %60, %59 store i32 %61, ptr %12, align 4 %62 = load i32, ptr %6, align 4 %63 = load ptr, ptr %10, align 8 %64 = load i32, ptr %12, align 4 %65 = call i64 @write(i32 noundef %62, ptr noundef %63, i32 noundef %64) %66 = icmp slt i64 %65, 0 br i1 %66, label %67, label %72 67: ; preds = %19 %68 = load i32, ptr @errno, align 4 %69 = load i32, ptr @errno, align 4 %70 = call ptr @strerror(i32 noundef %69) %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %68, ptr noundef %70) store i32 -1, ptr %4, align 4 br label %97 72: ; preds = %19 %73 = load i8, ptr %7, align 1 %74 = sext i8 %73 to i32 %75 = load i32, ptr %9, align 4 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %74, i32 noundef %75) store i32 0, ptr %11, align 4 %77 = load i32, ptr %11, align 4 %78 = load i32, ptr %12, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %.lr.ph, label %95 .lr.ph: ; preds = %72 br label %80 80: ; preds = %.lr.ph, %89 %81 = load ptr, ptr %10, align 8 %82 = load i32, ptr %11, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i8, ptr %81, i64 %83 %85 = load i8, ptr %84, align 1 %86 = zext i8 %85 to i32 %87 = and i32 %86, 255 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %87) br label %89 89: ; preds = %80 %90 = load i32, ptr %11, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %11, align 4 %92 = load i32, ptr %11, align 4 %93 = load i32, ptr %12, align 4 %94 = icmp slt i32 %92, %93 br i1 %94, label %80, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %89 br label %95 95: ; preds = %._crit_edge, %72 %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %4, align 4 br label %97 97: ; preds = %95, %67, %17 %98 = load i32, ptr %4, align 4 ret i32 %98 } declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @strerror(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/tmp4yvwirjt.c' source_filename = "/tmp/tmp4yvwirjt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @lround(double noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca double, align 8 %4 = alloca i64, align 8 store double %0, ptr %3, align 8 %5 = load double, ptr %3, align 8 %6 = fcmp oge double %5, 0.000000e+00 br i1 %6, label %7, label %22 7: ; preds = %1 %8 = load double, ptr %3, align 8 %9 = call i64 @ceil(double noundef %8) store i64 %9, ptr %4, align 8 %10 = load i64, ptr %4, align 8 %11 = sitofp i64 %10 to double %12 = load double, ptr %3, align 8 %13 = fsub double %11, %12 %14 = fcmp ogt double %13, 5.000000e-01 br i1 %14, label %15, label %20 15: ; preds = %7 %16 = load i64, ptr %4, align 8 %17 = sitofp i64 %16 to double %18 = fsub double %17, 1.000000e+00 %19 = fptosi double %18 to i64 store i64 %19, ptr %4, align 8 br label %20 20: ; preds = %15, %7 %21 = load i64, ptr %4, align 8 store i64 %21, ptr %2, align 8 br label %39 22: ; preds = %1 %23 = load double, ptr %3, align 8 %24 = fneg double %23 %25 = call i64 @ceil(double noundef %24) store i64 %25, ptr %4, align 8 %26 = load i64, ptr %4, align 8 %27 = sitofp i64 %26 to double %28 = load double, ptr %3, align 8 %29 = fadd double %27, %28 %30 = fcmp ogt double %29, 5.000000e-01 br i1 %30, label %31, label %36 31: ; preds = %22 %32 = load i64, ptr %4, align 8 %33 = sitofp i64 %32 to double %34 = fsub double %33, 1.000000e+00 %35 = fptosi double %34 to i64 store i64 %35, ptr %4, align 8 br label %36 36: ; preds = %31, %22 %37 = load i64, ptr %4, align 8 %38 = sub nsw i64 0, %37 store i64 %38, ptr %2, align 8 br label %39 39: ; preds = %36, %20 %40 = load i64, ptr %2, align 8 ret i64 %40 } declare i64 @ceil(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4yvwirjt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @lround(double noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca double, align 8 %4 = alloca i64, align 8 store double %0, ptr %3, align 8 %5 = load double, ptr %3, align 8 %6 = fcmp oge double %5, 0.000000e+00 br i1 %6, label %7, label %22 7: ; preds = %1 %8 = load double, ptr %3, align 8 %9 = call i64 @ceil(double noundef %8) store i64 %9, ptr %4, align 8 %10 = load i64, ptr %4, align 8 %11 = sitofp i64 %10 to double %12 = load double, ptr %3, align 8 %13 = fsub double %11, %12 %14 = fcmp ogt double %13, 5.000000e-01 br i1 %14, label %15, label %20 15: ; preds = %7 %16 = load i64, ptr %4, align 8 %17 = sitofp i64 %16 to double %18 = fsub double %17, 1.000000e+00 %19 = fptosi double %18 to i64 store i64 %19, ptr %4, align 8 br label %20 20: ; preds = %15, %7 %21 = load i64, ptr %4, align 8 store i64 %21, ptr %2, align 8 br label %39 22: ; preds = %1 %23 = load double, ptr %3, align 8 %24 = fneg double %23 %25 = call i64 @ceil(double noundef %24) store i64 %25, ptr %4, align 8 %26 = load i64, ptr %4, align 8 %27 = sitofp i64 %26 to double %28 = load double, ptr %3, align 8 %29 = fadd double %27, %28 %30 = fcmp ogt double %29, 5.000000e-01 br i1 %30, label %31, label %36 31: ; preds = %22 %32 = load i64, ptr %4, align 8 %33 = sitofp i64 %32 to double %34 = fsub double %33, 1.000000e+00 %35 = fptosi double %34 to i64 store i64 %35, ptr %4, align 8 br label %36 36: ; preds = %31, %22 %37 = load i64, ptr %4, align 8 %38 = sub nsw i64 0, %37 store i64 %38, ptr %2, align 8 br label %39 39: ; preds = %36, %20 %40 = load i64, ptr %2, align 8 ret i64 %40 } declare i64 @ceil(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_xc3ulbn.c' source_filename = "/tmp/tmp_xc3ulbn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel114_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 { %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 %39 = alloca ptr, align 8 %40 = alloca ptr, align 8 %41 = alloca ptr, align 8 %42 = alloca ptr, align 8 %43 = alloca ptr, align 8 %44 = alloca ptr, align 8 %45 = alloca ptr, align 8 %46 = alloca ptr, align 8 %47 = alloca ptr, align 8 %48 = alloca ptr, align 8 %49 = alloca ptr, align 8 %50 = alloca ptr, align 8 %51 = alloca ptr, align 8 %52 = alloca ptr, align 8 %53 = alloca ptr, align 8 %54 = alloca ptr, align 8 %55 = alloca ptr, align 8 %56 = alloca ptr, align 8 %57 = alloca ptr, align 8 %58 = alloca ptr, align 8 %59 = alloca ptr, align 8 %60 = alloca ptr, align 8 %61 = alloca ptr, align 8 %62 = alloca ptr, align 8 store ptr %0, ptr %32, align 8 store ptr %1, ptr %33, align 8 store ptr %2, ptr %34, align 8 store ptr %3, ptr %35, align 8 store ptr %4, ptr %36, align 8 store ptr %5, ptr %37, align 8 store ptr %6, ptr %38, align 8 store ptr %7, ptr %39, align 8 store ptr %8, ptr %40, align 8 store ptr %9, ptr %41, align 8 store ptr %10, ptr %42, align 8 store ptr %11, ptr %43, align 8 store ptr %12, ptr %44, align 8 store ptr %13, ptr %45, align 8 store ptr %14, ptr %46, align 8 store ptr %15, ptr %47, align 8 store ptr %16, ptr %48, align 8 store ptr %17, ptr %49, align 8 store ptr %18, ptr %50, align 8 store ptr %19, ptr %51, align 8 store ptr %20, ptr %52, align 8 store ptr %21, ptr %53, align 8 store ptr %22, ptr %54, align 8 store ptr %23, ptr %55, align 8 store ptr %24, ptr %56, align 8 store ptr %25, ptr %57, align 8 store ptr %26, ptr %58, align 8 store ptr %27, ptr %59, align 8 store ptr %28, ptr %60, align 8 store ptr %29, ptr %61, align 8 store ptr %30, ptr %62, align 8 %63 = load ptr, ptr %32, align 8 %64 = load ptr, ptr %33, align 8 %65 = load ptr, ptr %34, align 8 %66 = load ptr, ptr %35, align 8 %67 = load ptr, ptr %36, align 8 %68 = load ptr, ptr %37, align 8 %69 = load ptr, ptr %38, align 8 %70 = load ptr, ptr %39, align 8 %71 = load ptr, ptr %40, align 8 %72 = load ptr, ptr %41, align 8 %73 = load ptr, ptr %42, align 8 %74 = load ptr, ptr %43, align 8 %75 = load ptr, ptr %44, align 8 %76 = load ptr, ptr %45, align 8 %77 = load ptr, ptr %46, align 8 %78 = load ptr, ptr %47, align 8 %79 = load ptr, ptr %48, align 8 %80 = load ptr, ptr %49, align 8 %81 = load ptr, ptr %50, align 8 %82 = load ptr, ptr %51, align 8 %83 = load ptr, ptr %52, align 8 %84 = load ptr, ptr %53, align 8 %85 = load ptr, ptr %54, align 8 %86 = load ptr, ptr %55, align 8 %87 = load ptr, ptr %56, align 8 %88 = load ptr, ptr %57, align 8 %89 = load ptr, ptr %58, align 8 %90 = load ptr, ptr %59, align 8 %91 = load ptr, ptr %60, align 8 %92 = load ptr, ptr %61, align 8 %93 = load ptr, ptr %62, align 8 %94 = call i32 @f77dkernel114_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93) ret void } declare i32 @f77dkernel114_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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/tmp_xc3ulbn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel114_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 { %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 %39 = alloca ptr, align 8 %40 = alloca ptr, align 8 %41 = alloca ptr, align 8 %42 = alloca ptr, align 8 %43 = alloca ptr, align 8 %44 = alloca ptr, align 8 %45 = alloca ptr, align 8 %46 = alloca ptr, align 8 %47 = alloca ptr, align 8 %48 = alloca ptr, align 8 %49 = alloca ptr, align 8 %50 = alloca ptr, align 8 %51 = alloca ptr, align 8 %52 = alloca ptr, align 8 %53 = alloca ptr, align 8 %54 = alloca ptr, align 8 %55 = alloca ptr, align 8 %56 = alloca ptr, align 8 %57 = alloca ptr, align 8 %58 = alloca ptr, align 8 %59 = alloca ptr, align 8 %60 = alloca ptr, align 8 %61 = alloca ptr, align 8 %62 = alloca ptr, align 8 store ptr %0, ptr %32, align 8 store ptr %1, ptr %33, align 8 store ptr %2, ptr %34, align 8 store ptr %3, ptr %35, align 8 store ptr %4, ptr %36, align 8 store ptr %5, ptr %37, align 8 store ptr %6, ptr %38, align 8 store ptr %7, ptr %39, align 8 store ptr %8, ptr %40, align 8 store ptr %9, ptr %41, align 8 store ptr %10, ptr %42, align 8 store ptr %11, ptr %43, align 8 store ptr %12, ptr %44, align 8 store ptr %13, ptr %45, align 8 store ptr %14, ptr %46, align 8 store ptr %15, ptr %47, align 8 store ptr %16, ptr %48, align 8 store ptr %17, ptr %49, align 8 store ptr %18, ptr %50, align 8 store ptr %19, ptr %51, align 8 store ptr %20, ptr %52, align 8 store ptr %21, ptr %53, align 8 store ptr %22, ptr %54, align 8 store ptr %23, ptr %55, align 8 store ptr %24, ptr %56, align 8 store ptr %25, ptr %57, align 8 store ptr %26, ptr %58, align 8 store ptr %27, ptr %59, align 8 store ptr %28, ptr %60, align 8 store ptr %29, ptr %61, align 8 store ptr %30, ptr %62, align 8 %63 = load ptr, ptr %32, align 8 %64 = load ptr, ptr %33, align 8 %65 = load ptr, ptr %34, align 8 %66 = load ptr, ptr %35, align 8 %67 = load ptr, ptr %36, align 8 %68 = load ptr, ptr %37, align 8 %69 = load ptr, ptr %38, align 8 %70 = load ptr, ptr %39, align 8 %71 = load ptr, ptr %40, align 8 %72 = load ptr, ptr %41, align 8 %73 = load ptr, ptr %42, align 8 %74 = load ptr, ptr %43, align 8 %75 = load ptr, ptr %44, align 8 %76 = load ptr, ptr %45, align 8 %77 = load ptr, ptr %46, align 8 %78 = load ptr, ptr %47, align 8 %79 = load ptr, ptr %48, align 8 %80 = load ptr, ptr %49, align 8 %81 = load ptr, ptr %50, align 8 %82 = load ptr, ptr %51, align 8 %83 = load ptr, ptr %52, align 8 %84 = load ptr, ptr %53, align 8 %85 = load ptr, ptr %54, align 8 %86 = load ptr, ptr %55, align 8 %87 = load ptr, ptr %56, align 8 %88 = load ptr, ptr %57, align 8 %89 = load ptr, ptr %58, align 8 %90 = load ptr, ptr %59, align 8 %91 = load ptr, ptr %60, align 8 %92 = load ptr, ptr %61, align 8 %93 = load ptr, ptr %62, align 8 %94 = call i32 @f77dkernel114_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93) ret void } declare i32 @f77dkernel114_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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/tmpx0d5xfoh.c' source_filename = "/tmp/tmpx0d5xfoh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"-a\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"--access=\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-e\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"--exec=\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"--execute=\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"-m\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"--mmap=\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"-t\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"--transmute\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [24 x i8] c"Invalid argument \22%s\22.\0A\00", align 1 @.str.10 = private unnamed_addr constant [21 x i8] c"No files specified.\0A\00", align 1 @.str.11 = private unnamed_addr constant [47 x i8] c"Access label \22%s\22 violates SMACK label rules.\0A\00", align 1 @.str.12 = private unnamed_addr constant [45 x i8] c"mmap label \22%s\22 violates SMACK label rules.\0A\00", align 1 @.str.13 = private unnamed_addr constant [48 x i8] c"execute label \22%s\22 violates SMACK label rules.\0A\00", align 1 @.str.14 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.15 = private unnamed_addr constant [17 x i8] c"security.SMACK64\00", align 1 @.str.16 = private unnamed_addr constant [13 x i8] c" access=\22%s\22\00", align 1 @.str.17 = private unnamed_addr constant [21 x i8] c"security.SMACK64EXEC\00", align 1 @.str.18 = private unnamed_addr constant [14 x i8] c" execute=\22%s\22\00", align 1 @.str.19 = private unnamed_addr constant [21 x i8] c"security.SMACK64MMAP\00", align 1 @.str.20 = private unnamed_addr constant [11 x i8] c" mmap=\22%s\22\00", align 1 @.str.21 = private unnamed_addr constant [26 x i8] c"security.SMACK64TRANSMUTE\00", align 1 @.str.22 = private unnamed_addr constant [16 x i8] c" transmute=\22%s\22\00", align 1 @.str.23 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.24 = private unnamed_addr constant [5 x i8] c"TRUE\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 [24 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 store ptr null, ptr %10, align 8 store ptr null, ptr %11, align 8 store ptr null, ptr %12, align 8 store i32 1, ptr %7, align 4 br label %13 13: ; preds = %176, %2 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %179 17: ; preds = %13 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds ptr, ptr %18, i64 %20 %22 = load ptr, ptr %21, align 8 %23 = call i64 @strcmp(ptr noundef %22, ptr noundef @.str) %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %32 25: ; preds = %17 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %26, i64 %29 %31 = load ptr, ptr %30, align 8 store ptr %31, ptr %10, align 8 br label %175 32: ; preds = %17 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = call i64 @leads(ptr noundef %37, ptr noundef @.str.1) %39 = icmp ne i64 %38, 0 br i1 %39, label %40, label %49 40: ; preds = %32 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = call i32 @strlen(ptr noundef @.str.1) %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 store ptr %48, ptr %10, align 8 br label %174 49: ; preds = %32 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %7, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds ptr, ptr %50, i64 %52 %54 = load ptr, ptr %53, align 8 %55 = call i64 @strcmp(ptr noundef %54, ptr noundef @.str.2) %56 = icmp eq i64 %55, 0 br i1 %56, label %57, label %64 57: ; preds = %49 %58 = load ptr, ptr %5, align 8 %59 = load i32, ptr %7, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %7, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %58, i64 %61 %63 = load ptr, ptr %62, align 8 store ptr %63, ptr %12, align 8 br label %173 64: ; preds = %49 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr %7, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds ptr, ptr %65, i64 %67 %69 = load ptr, ptr %68, align 8 %70 = call i64 @leads(ptr noundef %69, ptr noundef @.str.3) %71 = icmp ne i64 %70, 0 br i1 %71, label %72, label %81 72: ; preds = %64 %73 = load ptr, ptr %5, align 8 %74 = load i32, ptr %7, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds ptr, ptr %73, i64 %75 %77 = load ptr, ptr %76, align 8 %78 = call i32 @strlen(ptr noundef @.str.3) %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i8, ptr %77, i64 %79 store ptr %80, ptr %12, align 8 br label %172 81: ; preds = %64 %82 = load ptr, ptr %5, align 8 %83 = load i32, ptr %7, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds ptr, ptr %82, i64 %84 %86 = load ptr, ptr %85, align 8 %87 = call i64 @leads(ptr noundef %86, ptr noundef @.str.4) %88 = icmp ne i64 %87, 0 br i1 %88, label %89, label %98 89: ; preds = %81 %90 = load ptr, ptr %5, align 8 %91 = load i32, ptr %7, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds ptr, ptr %90, i64 %92 %94 = load ptr, ptr %93, align 8 %95 = call i32 @strlen(ptr noundef @.str.4) %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %94, i64 %96 store ptr %97, ptr %12, align 8 br label %171 98: ; preds = %81 %99 = load ptr, ptr %5, align 8 %100 = load i32, ptr %7, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds ptr, ptr %99, i64 %101 %103 = load ptr, ptr %102, align 8 %104 = call i64 @strcmp(ptr noundef %103, ptr noundef @.str.5) %105 = icmp eq i64 %104, 0 br i1 %105, label %106, label %113 106: ; preds = %98 %107 = load ptr, ptr %5, align 8 %108 = load i32, ptr %7, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %7, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds ptr, ptr %107, i64 %110 %112 = load ptr, ptr %111, align 8 store ptr %112, ptr %11, align 8 br label %170 113: ; preds = %98 %114 = load ptr, ptr %5, align 8 %115 = load i32, ptr %7, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds ptr, ptr %114, i64 %116 %118 = load ptr, ptr %117, align 8 %119 = call i64 @leads(ptr noundef %118, ptr noundef @.str.6) %120 = icmp ne i64 %119, 0 br i1 %120, label %121, label %130 121: ; preds = %113 %122 = load ptr, ptr %5, align 8 %123 = load i32, ptr %7, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds ptr, ptr %122, i64 %124 %126 = load ptr, ptr %125, align 8 %127 = call i32 @strlen(ptr noundef @.str.6) %128 = sext i32 %127 to i64 %129 = getelementptr inbounds i8, ptr %126, i64 %128 store ptr %129, ptr %11, align 8 br label %169 130: ; preds = %113 %131 = load ptr, ptr %5, align 8 %132 = load i32, ptr %7, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds ptr, ptr %131, i64 %133 %135 = load ptr, ptr %134, align 8 %136 = call i64 @strcmp(ptr noundef %135, ptr noundef @.str.7) %137 = icmp eq i64 %136, 0 br i1 %137, label %138, label %139 138: ; preds = %130 store i32 1, ptr %8, align 4 br label %168 139: ; preds = %130 %140 = load ptr, ptr %5, align 8 %141 = load i32, ptr %7, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds ptr, ptr %140, i64 %142 %144 = load ptr, ptr %143, align 8 %145 = call i64 @strcmp(ptr noundef %144, ptr noundef @.str.8) %146 = icmp eq i64 %145, 0 br i1 %146, label %147, label %148 147: ; preds = %139 store i32 1, ptr %8, align 4 br label %167 148: ; preds = %139 %149 = load ptr, ptr %5, align 8 %150 = load i32, ptr %7, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds ptr, ptr %149, i64 %151 %153 = load ptr, ptr %152, align 8 %154 = load i8, ptr %153, align 1 %155 = sext i8 %154 to i32 %156 = icmp eq i32 %155, 45 br i1 %156, label %157, label %166 157: ; preds = %148 %158 = load i32, ptr @stderr, align 4 %159 = load ptr, ptr %5, align 8 %160 = load i32, ptr %7, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds ptr, ptr %159, i64 %161 %163 = load ptr, ptr %162, align 8 %164 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %158, ptr noundef @.str.9, ptr noundef %163) %165 = call i32 @exit(i32 noundef 1) #3 unreachable 166: ; preds = %148 br label %179 167: ; preds = %147 br label %168 168: ; preds = %167, %138 br label %169 169: ; preds = %168, %121 br label %170 170: ; preds = %169, %106 br label %171 171: ; preds = %170, %89 br label %172 172: ; preds = %171, %72 br label %173 173: ; preds = %172, %57 br label %174 174: ; preds = %173, %40 br label %175 175: ; preds = %174, %25 br label %176 176: ; preds = %175 %177 = load i32, ptr %7, align 4 %178 = add nsw i32 %177, 1 store i32 %178, ptr %7, align 4 br label %13, !llvm.loop !6 179: ; preds = %166, %13 %180 = load i32, ptr %7, align 4 %181 = load i32, ptr %4, align 4 %182 = icmp sge i32 %180, %181 br i1 %182, label %183, label %187 183: ; preds = %179 %184 = load i32, ptr @stderr, align 4 %185 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %184, ptr noundef @.str.10) %186 = call i32 @exit(i32 noundef 1) #3 unreachable 187: ; preds = %179 %188 = load ptr, ptr %10, align 8 %189 = icmp ne ptr %188, null br i1 %189, label %190, label %199 190: ; preds = %187 %191 = load ptr, ptr %10, align 8 %192 = call i64 @rules(ptr noundef %191) %193 = icmp ne i64 %192, 0 br i1 %193, label %194, label %199 194: ; preds = %190 %195 = load i32, ptr @stderr, align 4 %196 = load ptr, ptr %10, align 8 %197 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %195, ptr noundef @.str.11, ptr noundef %196) %198 = call i32 @exit(i32 noundef 1) #3 unreachable 199: ; preds = %190, %187 %200 = load ptr, ptr %11, align 8 %201 = icmp ne ptr %200, null br i1 %201, label %202, label %211 202: ; preds = %199 %203 = load ptr, ptr %11, align 8 %204 = call i64 @rules(ptr noundef %203) %205 = icmp ne i64 %204, 0 br i1 %205, label %206, label %211 206: ; preds = %202 %207 = load i32, ptr @stderr, align 4 %208 = load ptr, ptr %11, align 8 %209 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %207, ptr noundef @.str.12, ptr noundef %208) %210 = call i32 @exit(i32 noundef 1) #3 unreachable 211: ; preds = %202, %199 %212 = load ptr, ptr %12, align 8 %213 = icmp ne ptr %212, null br i1 %213, label %214, label %223 214: ; preds = %211 %215 = load ptr, ptr %12, align 8 %216 = call i64 @rules(ptr noundef %215) %217 = icmp ne i64 %216, 0 br i1 %217, label %218, label %223 218: ; preds = %214 %219 = load i32, ptr @stderr, align 4 %220 = load ptr, ptr %12, align 8 %221 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %219, ptr noundef @.str.13, ptr noundef %220) %222 = call i32 @exit(i32 noundef 1) #3 unreachable 223: ; preds = %214, %211 br label %224 224: ; preds = %405, %223 %225 = load i32, ptr %7, align 4 %226 = load i32, ptr %4, align 4 %227 = icmp slt i32 %225, %226 br i1 %227, label %228, label %408 228: ; preds = %224 %229 = load ptr, ptr %10, align 8 %230 = icmp eq ptr %229, null br i1 %230, label %231, label %312 231: ; preds = %228 %232 = load ptr, ptr %11, align 8 %233 = icmp eq ptr %232, null br i1 %233, label %234, label %312 234: ; preds = %231 %235 = load ptr, ptr %12, align 8 %236 = icmp eq ptr %235, null br i1 %236, label %237, label %312 237: ; preds = %234 %238 = load i32, ptr %8, align 4 %239 = icmp ne i32 %238, 0 br i1 %239, label %312, label %240 240: ; preds = %237 %241 = load ptr, ptr %5, align 8 %242 = load i32, ptr %7, align 4 %243 = sext i32 %242 to i64 %244 = getelementptr inbounds ptr, ptr %241, i64 %243 %245 = load ptr, ptr %244, align 8 %246 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %245) %247 = load ptr, ptr %5, align 8 %248 = load i32, ptr %7, align 4 %249 = sext i32 %248 to i64 %250 = getelementptr inbounds ptr, ptr %247, i64 %249 %251 = load ptr, ptr %250, align 8 %252 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0 %253 = call i32 @lgetxattr(ptr noundef %251, ptr noundef @.str.15, ptr noundef %252, i32 noundef 24) store i32 %253, ptr %6, align 4 %254 = load i32, ptr %6, align 4 %255 = icmp sgt i32 %254, 0 br i1 %255, label %256, label %262 256: ; preds = %240 %257 = load i32, ptr %6, align 4 %258 = sext i32 %257 to i64 %259 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 %258 store i8 0, ptr %259, align 1 %260 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0 %261 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, ptr noundef %260) br label %262 262: ; preds = %256, %240 %263 = load ptr, ptr %5, align 8 %264 = load i32, ptr %7, align 4 %265 = sext i32 %264 to i64 %266 = getelementptr inbounds ptr, ptr %263, i64 %265 %267 = load ptr, ptr %266, align 8 %268 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0 %269 = call i32 @lgetxattr(ptr noundef %267, ptr noundef @.str.17, ptr noundef %268, i32 noundef 24) store i32 %269, ptr %6, align 4 %270 = load i32, ptr %6, align 4 %271 = icmp sgt i32 %270, 0 br i1 %271, label %272, label %278 272: ; preds = %262 %273 = load i32, ptr %6, align 4 %274 = sext i32 %273 to i64 %275 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 %274 store i8 0, ptr %275, align 1 %276 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0 %277 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %276) br label %278 278: ; preds = %272, %262 %279 = load ptr, ptr %5, align 8 %280 = load i32, ptr %7, align 4 %281 = sext i32 %280 to i64 %282 = getelementptr inbounds ptr, ptr %279, i64 %281 %283 = load ptr, ptr %282, align 8 %284 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0 %285 = call i32 @lgetxattr(ptr noundef %283, ptr noundef @.str.19, ptr noundef %284, i32 noundef 24) store i32 %285, ptr %6, align 4 %286 = load i32, ptr %6, align 4 %287 = icmp sgt i32 %286, 0 br i1 %287, label %288, label %294 288: ; preds = %278 %289 = load i32, ptr %6, align 4 %290 = sext i32 %289 to i64 %291 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 %290 store i8 0, ptr %291, align 1 %292 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0 %293 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, ptr noundef %292) br label %294 294: ; preds = %288, %278 %295 = load ptr, ptr %5, align 8 %296 = load i32, ptr %7, align 4 %297 = sext i32 %296 to i64 %298 = getelementptr inbounds ptr, ptr %295, i64 %297 %299 = load ptr, ptr %298, align 8 %300 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0 %301 = call i32 @lgetxattr(ptr noundef %299, ptr noundef @.str.21, ptr noundef %300, i32 noundef 24) store i32 %301, ptr %6, align 4 %302 = load i32, ptr %6, align 4 %303 = icmp sgt i32 %302, 0 br i1 %303, label %304, label %310 304: ; preds = %294 %305 = load i32, ptr %6, align 4 %306 = sext i32 %305 to i64 %307 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 %306 store i8 0, ptr %307, align 1 %308 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0 %309 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, ptr noundef %308) br label %310 310: ; preds = %304, %294 %311 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) br label %405 312: ; preds = %237, %234, %231, %228 %313 = load ptr, ptr %10, align 8 %314 = icmp ne ptr %313, null br i1 %314, label %315, label %336 315: ; preds = %312 %316 = load ptr, ptr %5, align 8 %317 = load i32, ptr %7, align 4 %318 = sext i32 %317 to i64 %319 = getelementptr inbounds ptr, ptr %316, i64 %318 %320 = load ptr, ptr %319, align 8 %321 = load ptr, ptr %10, align 8 %322 = load ptr, ptr %10, align 8 %323 = call i32 @strlen(ptr noundef %322) %324 = add nsw i32 %323, 1 %325 = call i32 @lsetxattr(ptr noundef %320, ptr noundef @.str.15, ptr noundef %321, i32 noundef %324, i32 noundef 0) store i32 %325, ptr %6, align 4 %326 = load i32, ptr %6, align 4 %327 = icmp slt i32 %326, 0 br i1 %327, label %328, label %335 328: ; preds = %315 %329 = load ptr, ptr %5, align 8 %330 = load i32, ptr %7, align 4 %331 = sext i32 %330 to i64 %332 = getelementptr inbounds ptr, ptr %329, i64 %331 %333 = load ptr, ptr %332, align 8 %334 = call i32 @perror(ptr noundef %333) br label %335 335: ; preds = %328, %315 br label %336 336: ; preds = %335, %312 %337 = load ptr, ptr %12, align 8 %338 = icmp ne ptr %337, null br i1 %338, label %339, label %360 339: ; preds = %336 %340 = load ptr, ptr %5, align 8 %341 = load i32, ptr %7, align 4 %342 = sext i32 %341 to i64 %343 = getelementptr inbounds ptr, ptr %340, i64 %342 %344 = load ptr, ptr %343, align 8 %345 = load ptr, ptr %12, align 8 %346 = load ptr, ptr %12, align 8 %347 = call i32 @strlen(ptr noundef %346) %348 = add nsw i32 %347, 1 %349 = call i32 @lsetxattr(ptr noundef %344, ptr noundef @.str.17, ptr noundef %345, i32 noundef %348, i32 noundef 0) store i32 %349, ptr %6, align 4 %350 = load i32, ptr %6, align 4 %351 = icmp slt i32 %350, 0 br i1 %351, label %352, label %359 352: ; preds = %339 %353 = load ptr, ptr %5, align 8 %354 = load i32, ptr %7, align 4 %355 = sext i32 %354 to i64 %356 = getelementptr inbounds ptr, ptr %353, i64 %355 %357 = load ptr, ptr %356, align 8 %358 = call i32 @perror(ptr noundef %357) br label %359 359: ; preds = %352, %339 br label %360 360: ; preds = %359, %336 %361 = load ptr, ptr %11, align 8 %362 = icmp ne ptr %361, null br i1 %362, label %363, label %384 363: ; preds = %360 %364 = load ptr, ptr %5, align 8 %365 = load i32, ptr %7, align 4 %366 = sext i32 %365 to i64 %367 = getelementptr inbounds ptr, ptr %364, i64 %366 %368 = load ptr, ptr %367, align 8 %369 = load ptr, ptr %11, align 8 %370 = load ptr, ptr %11, align 8 %371 = call i32 @strlen(ptr noundef %370) %372 = add nsw i32 %371, 1 %373 = call i32 @lsetxattr(ptr noundef %368, ptr noundef @.str.19, ptr noundef %369, i32 noundef %372, i32 noundef 0) store i32 %373, ptr %6, align 4 %374 = load i32, ptr %6, align 4 %375 = icmp slt i32 %374, 0 br i1 %375, label %376, label %383 376: ; preds = %363 %377 = load ptr, ptr %5, align 8 %378 = load i32, ptr %7, align 4 %379 = sext i32 %378 to i64 %380 = getelementptr inbounds ptr, ptr %377, i64 %379 %381 = load ptr, ptr %380, align 8 %382 = call i32 @perror(ptr noundef %381) br label %383 383: ; preds = %376, %363 br label %384 384: ; preds = %383, %360 %385 = load i32, ptr %8, align 4 %386 = icmp ne i32 %385, 0 br i1 %386, label %387, label %404 387: ; preds = %384 %388 = load ptr, ptr %5, align 8 %389 = load i32, ptr %7, align 4 %390 = sext i32 %389 to i64 %391 = getelementptr inbounds ptr, ptr %388, i64 %390 %392 = load ptr, ptr %391, align 8 %393 = call i32 @lsetxattr(ptr noundef %392, ptr noundef @.str.21, ptr noundef @.str.24, i32 noundef 4, i32 noundef 0) store i32 %393, ptr %6, align 4 %394 = load i32, ptr %6, align 4 %395 = icmp slt i32 %394, 0 br i1 %395, label %396, label %403 396: ; preds = %387 %397 = load ptr, ptr %5, align 8 %398 = load i32, ptr %7, align 4 %399 = sext i32 %398 to i64 %400 = getelementptr inbounds ptr, ptr %397, i64 %399 %401 = load ptr, ptr %400, align 8 %402 = call i32 @perror(ptr noundef %401) br label %403 403: ; preds = %396, %387 br label %404 404: ; preds = %403, %384 br label %405 405: ; preds = %404, %310 %406 = load i32, ptr %7, align 4 %407 = add nsw i32 %406, 1 store i32 %407, ptr %7, align 4 br label %224, !llvm.loop !8 408: ; preds = %224 %409 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i64 @leads(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @rules(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @lgetxattr(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @lsetxattr(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx0d5xfoh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"-a\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"--access=\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-e\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"--exec=\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"--execute=\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"-m\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"--mmap=\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"-t\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"--transmute\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [24 x i8] c"Invalid argument \22%s\22.\0A\00", align 1 @.str.10 = private unnamed_addr constant [21 x i8] c"No files specified.\0A\00", align 1 @.str.11 = private unnamed_addr constant [47 x i8] c"Access label \22%s\22 violates SMACK label rules.\0A\00", align 1 @.str.12 = private unnamed_addr constant [45 x i8] c"mmap label \22%s\22 violates SMACK label rules.\0A\00", align 1 @.str.13 = private unnamed_addr constant [48 x i8] c"execute label \22%s\22 violates SMACK label rules.\0A\00", align 1 @.str.14 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.15 = private unnamed_addr constant [17 x i8] c"security.SMACK64\00", align 1 @.str.16 = private unnamed_addr constant [13 x i8] c" access=\22%s\22\00", align 1 @.str.17 = private unnamed_addr constant [21 x i8] c"security.SMACK64EXEC\00", align 1 @.str.18 = private unnamed_addr constant [14 x i8] c" execute=\22%s\22\00", align 1 @.str.19 = private unnamed_addr constant [21 x i8] c"security.SMACK64MMAP\00", align 1 @.str.20 = private unnamed_addr constant [11 x i8] c" mmap=\22%s\22\00", align 1 @.str.21 = private unnamed_addr constant [26 x i8] c"security.SMACK64TRANSMUTE\00", align 1 @.str.22 = private unnamed_addr constant [16 x i8] c" transmute=\22%s\22\00", align 1 @.str.23 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.24 = private unnamed_addr constant [5 x i8] c"TRUE\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 [24 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 store ptr null, ptr %10, align 8 store ptr null, ptr %11, align 8 store ptr null, ptr %12, align 8 store i32 1, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %175 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %31 24: ; preds = %16 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %25, i64 %28 %30 = load ptr, ptr %29, align 8 store ptr %30, ptr %10, align 8 br label %174 31: ; preds = %16 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %7, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %32, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = call i64 @leads(ptr noundef %36, ptr noundef @.str.1) %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %48 39: ; preds = %31 %40 = load ptr, ptr %5, align 8 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds ptr, ptr %40, i64 %42 %44 = load ptr, ptr %43, align 8 %45 = call i32 @strlen(ptr noundef @.str.1) %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 store ptr %47, ptr %10, align 8 br label %173 48: ; preds = %31 %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %7, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds ptr, ptr %49, i64 %51 %53 = load ptr, ptr %52, align 8 %54 = call i64 @strcmp(ptr noundef %53, ptr noundef @.str.2) %55 = icmp eq i64 %54, 0 br i1 %55, label %56, label %63 56: ; preds = %48 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %7, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %7, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds ptr, ptr %57, i64 %60 %62 = load ptr, ptr %61, align 8 store ptr %62, ptr %12, align 8 br label %172 63: ; preds = %48 %64 = load ptr, ptr %5, align 8 %65 = load i32, ptr %7, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds ptr, ptr %64, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = call i64 @leads(ptr noundef %68, ptr noundef @.str.3) %70 = icmp ne i64 %69, 0 br i1 %70, label %71, label %80 71: ; preds = %63 %72 = load ptr, ptr %5, align 8 %73 = load i32, ptr %7, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds ptr, ptr %72, i64 %74 %76 = load ptr, ptr %75, align 8 %77 = call i32 @strlen(ptr noundef @.str.3) %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %76, i64 %78 store ptr %79, ptr %12, align 8 br label %171 80: ; preds = %63 %81 = load ptr, ptr %5, align 8 %82 = load i32, ptr %7, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds ptr, ptr %81, i64 %83 %85 = load ptr, ptr %84, align 8 %86 = call i64 @leads(ptr noundef %85, ptr noundef @.str.4) %87 = icmp ne i64 %86, 0 br i1 %87, label %88, label %97 88: ; preds = %80 %89 = load ptr, ptr %5, align 8 %90 = load i32, ptr %7, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds ptr, ptr %89, i64 %91 %93 = load ptr, ptr %92, align 8 %94 = call i32 @strlen(ptr noundef @.str.4) %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i8, ptr %93, i64 %95 store ptr %96, ptr %12, align 8 br label %170 97: ; preds = %80 %98 = load ptr, ptr %5, align 8 %99 = load i32, ptr %7, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds ptr, ptr %98, i64 %100 %102 = load ptr, ptr %101, align 8 %103 = call i64 @strcmp(ptr noundef %102, ptr noundef @.str.5) %104 = icmp eq i64 %103, 0 br i1 %104, label %105, label %112 105: ; preds = %97 %106 = load ptr, ptr %5, align 8 %107 = load i32, ptr %7, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %7, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds ptr, ptr %106, i64 %109 %111 = load ptr, ptr %110, align 8 store ptr %111, ptr %11, align 8 br label %169 112: ; preds = %97 %113 = load ptr, ptr %5, align 8 %114 = load i32, ptr %7, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds ptr, ptr %113, i64 %115 %117 = load ptr, ptr %116, align 8 %118 = call i64 @leads(ptr noundef %117, ptr noundef @.str.6) %119 = icmp ne i64 %118, 0 br i1 %119, label %120, label %129 120: ; preds = %112 %121 = load ptr, ptr %5, align 8 %122 = load i32, ptr %7, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds ptr, ptr %121, i64 %123 %125 = load ptr, ptr %124, align 8 %126 = call i32 @strlen(ptr noundef @.str.6) %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i8, ptr %125, i64 %127 store ptr %128, ptr %11, align 8 br label %168 129: ; preds = %112 %130 = load ptr, ptr %5, align 8 %131 = load i32, ptr %7, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds ptr, ptr %130, i64 %132 %134 = load ptr, ptr %133, align 8 %135 = call i64 @strcmp(ptr noundef %134, ptr noundef @.str.7) %136 = icmp eq i64 %135, 0 br i1 %136, label %137, label %138 137: ; preds = %129 store i32 1, ptr %8, align 4 br label %167 138: ; preds = %129 %139 = load ptr, ptr %5, align 8 %140 = load i32, ptr %7, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds ptr, ptr %139, i64 %141 %143 = load ptr, ptr %142, align 8 %144 = call i64 @strcmp(ptr noundef %143, ptr noundef @.str.8) %145 = icmp eq i64 %144, 0 br i1 %145, label %146, label %147 146: ; preds = %138 store i32 1, ptr %8, align 4 br label %166 147: ; preds = %138 %148 = load ptr, ptr %5, align 8 %149 = load i32, ptr %7, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds ptr, ptr %148, i64 %150 %152 = load ptr, ptr %151, align 8 %153 = load i8, ptr %152, align 1 %154 = sext i8 %153 to i32 %155 = icmp eq i32 %154, 45 br i1 %155, label %156, label %165 156: ; preds = %147 %157 = load i32, ptr @stderr, align 4 %158 = load ptr, ptr %5, align 8 %159 = load i32, ptr %7, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds ptr, ptr %158, i64 %160 %162 = load ptr, ptr %161, align 8 %163 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %157, ptr noundef @.str.9, ptr noundef %162) %164 = call i32 @exit(i32 noundef 1) #3 unreachable 165: ; preds = %147 br label %181 166: ; preds = %146 br label %167 167: ; preds = %166, %137 br label %168 168: ; preds = %167, %120 br label %169 169: ; preds = %168, %105 br label %170 170: ; preds = %169, %88 br label %171 171: ; preds = %170, %71 br label %172 172: ; preds = %171, %56 br label %173 173: ; preds = %172, %39 br label %174 174: ; preds = %173, %24 br label %175 175: ; preds = %174 %176 = load i32, ptr %7, align 4 %177 = add nsw i32 %176, 1 store i32 %177, ptr %7, align 4 %178 = load i32, ptr %7, align 4 %179 = load i32, ptr %4, align 4 %180 = icmp slt i32 %178, %179 br i1 %180, label %16, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %175 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %181 181: ; preds = %.loopexit, %165 %182 = load i32, ptr %7, align 4 %183 = load i32, ptr %4, align 4 %184 = icmp sge i32 %182, %183 br i1 %184, label %185, label %189 185: ; preds = %181 %186 = load i32, ptr @stderr, align 4 %187 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %186, ptr noundef @.str.10) %188 = call i32 @exit(i32 noundef 1) #3 unreachable 189: ; preds = %181 %190 = load ptr, ptr %10, align 8 %191 = icmp ne ptr %190, null br i1 %191, label %192, label %201 192: ; preds = %189 %193 = load ptr, ptr %10, align 8 %194 = call i64 @rules(ptr noundef %193) %195 = icmp ne i64 %194, 0 br i1 %195, label %196, label %201 196: ; preds = %192 %197 = load i32, ptr @stderr, align 4 %198 = load ptr, ptr %10, align 8 %199 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %197, ptr noundef @.str.11, ptr noundef %198) %200 = call i32 @exit(i32 noundef 1) #3 unreachable 201: ; preds = %192, %189 %202 = load ptr, ptr %11, align 8 %203 = icmp ne ptr %202, null br i1 %203, label %204, label %213 204: ; preds = %201 %205 = load ptr, ptr %11, align 8 %206 = call i64 @rules(ptr noundef %205) %207 = icmp ne i64 %206, 0 br i1 %207, label %208, label %213 208: ; preds = %204 %209 = load i32, ptr @stderr, align 4 %210 = load ptr, ptr %11, align 8 %211 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %209, ptr noundef @.str.12, ptr noundef %210) %212 = call i32 @exit(i32 noundef 1) #3 unreachable 213: ; preds = %204, %201 %214 = load ptr, ptr %12, align 8 %215 = icmp ne ptr %214, null br i1 %215, label %216, label %225 216: ; preds = %213 %217 = load ptr, ptr %12, align 8 %218 = call i64 @rules(ptr noundef %217) %219 = icmp ne i64 %218, 0 br i1 %219, label %220, label %225 220: ; preds = %216 %221 = load i32, ptr @stderr, align 4 %222 = load ptr, ptr %12, align 8 %223 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %221, ptr noundef @.str.13, ptr noundef %222) %224 = call i32 @exit(i32 noundef 1) #3 unreachable 225: ; preds = %216, %213 %226 = load i32, ptr %7, align 4 %227 = load i32, ptr %4, align 4 %228 = icmp slt i32 %226, %227 br i1 %228, label %.lr.ph1, label %412 .lr.ph1: ; preds = %225 br label %229 229: ; preds = %.lr.ph1, %406 %230 = load ptr, ptr %10, align 8 %231 = icmp eq ptr %230, null br i1 %231, label %232, label %313 232: ; preds = %229 %233 = load ptr, ptr %11, align 8 %234 = icmp eq ptr %233, null br i1 %234, label %235, label %313 235: ; preds = %232 %236 = load ptr, ptr %12, align 8 %237 = icmp eq ptr %236, null br i1 %237, label %238, label %313 238: ; preds = %235 %239 = load i32, ptr %8, align 4 %240 = icmp ne i32 %239, 0 br i1 %240, label %313, label %241 241: ; preds = %238 %242 = load ptr, ptr %5, align 8 %243 = load i32, ptr %7, align 4 %244 = sext i32 %243 to i64 %245 = getelementptr inbounds ptr, ptr %242, i64 %244 %246 = load ptr, ptr %245, align 8 %247 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %246) %248 = load ptr, ptr %5, align 8 %249 = load i32, ptr %7, align 4 %250 = sext i32 %249 to i64 %251 = getelementptr inbounds ptr, ptr %248, i64 %250 %252 = load ptr, ptr %251, align 8 %253 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0 %254 = call i32 @lgetxattr(ptr noundef %252, ptr noundef @.str.15, ptr noundef %253, i32 noundef 24) store i32 %254, ptr %6, align 4 %255 = load i32, ptr %6, align 4 %256 = icmp sgt i32 %255, 0 br i1 %256, label %257, label %263 257: ; preds = %241 %258 = load i32, ptr %6, align 4 %259 = sext i32 %258 to i64 %260 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 %259 store i8 0, ptr %260, align 1 %261 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0 %262 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, ptr noundef %261) br label %263 263: ; preds = %257, %241 %264 = load ptr, ptr %5, align 8 %265 = load i32, ptr %7, align 4 %266 = sext i32 %265 to i64 %267 = getelementptr inbounds ptr, ptr %264, i64 %266 %268 = load ptr, ptr %267, align 8 %269 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0 %270 = call i32 @lgetxattr(ptr noundef %268, ptr noundef @.str.17, ptr noundef %269, i32 noundef 24) store i32 %270, ptr %6, align 4 %271 = load i32, ptr %6, align 4 %272 = icmp sgt i32 %271, 0 br i1 %272, label %273, label %279 273: ; preds = %263 %274 = load i32, ptr %6, align 4 %275 = sext i32 %274 to i64 %276 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 %275 store i8 0, ptr %276, align 1 %277 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0 %278 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %277) br label %279 279: ; preds = %273, %263 %280 = load ptr, ptr %5, align 8 %281 = load i32, ptr %7, align 4 %282 = sext i32 %281 to i64 %283 = getelementptr inbounds ptr, ptr %280, i64 %282 %284 = load ptr, ptr %283, align 8 %285 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0 %286 = call i32 @lgetxattr(ptr noundef %284, ptr noundef @.str.19, ptr noundef %285, i32 noundef 24) store i32 %286, ptr %6, align 4 %287 = load i32, ptr %6, align 4 %288 = icmp sgt i32 %287, 0 br i1 %288, label %289, label %295 289: ; preds = %279 %290 = load i32, ptr %6, align 4 %291 = sext i32 %290 to i64 %292 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 %291 store i8 0, ptr %292, align 1 %293 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0 %294 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, ptr noundef %293) br label %295 295: ; preds = %289, %279 %296 = load ptr, ptr %5, align 8 %297 = load i32, ptr %7, align 4 %298 = sext i32 %297 to i64 %299 = getelementptr inbounds ptr, ptr %296, i64 %298 %300 = load ptr, ptr %299, align 8 %301 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0 %302 = call i32 @lgetxattr(ptr noundef %300, ptr noundef @.str.21, ptr noundef %301, i32 noundef 24) store i32 %302, ptr %6, align 4 %303 = load i32, ptr %6, align 4 %304 = icmp sgt i32 %303, 0 br i1 %304, label %305, label %311 305: ; preds = %295 %306 = load i32, ptr %6, align 4 %307 = sext i32 %306 to i64 %308 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 %307 store i8 0, ptr %308, align 1 %309 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0 %310 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, ptr noundef %309) br label %311 311: ; preds = %305, %295 %312 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) br label %406 313: ; preds = %238, %235, %232, %229 %314 = load ptr, ptr %10, align 8 %315 = icmp ne ptr %314, null br i1 %315, label %316, label %337 316: ; preds = %313 %317 = load ptr, ptr %5, align 8 %318 = load i32, ptr %7, align 4 %319 = sext i32 %318 to i64 %320 = getelementptr inbounds ptr, ptr %317, i64 %319 %321 = load ptr, ptr %320, align 8 %322 = load ptr, ptr %10, align 8 %323 = load ptr, ptr %10, align 8 %324 = call i32 @strlen(ptr noundef %323) %325 = add nsw i32 %324, 1 %326 = call i32 @lsetxattr(ptr noundef %321, ptr noundef @.str.15, ptr noundef %322, i32 noundef %325, i32 noundef 0) store i32 %326, ptr %6, align 4 %327 = load i32, ptr %6, align 4 %328 = icmp slt i32 %327, 0 br i1 %328, label %329, label %336 329: ; preds = %316 %330 = load ptr, ptr %5, align 8 %331 = load i32, ptr %7, align 4 %332 = sext i32 %331 to i64 %333 = getelementptr inbounds ptr, ptr %330, i64 %332 %334 = load ptr, ptr %333, align 8 %335 = call i32 @perror(ptr noundef %334) br label %336 336: ; preds = %329, %316 br label %337 337: ; preds = %336, %313 %338 = load ptr, ptr %12, align 8 %339 = icmp ne ptr %338, null br i1 %339, label %340, label %361 340: ; preds = %337 %341 = load ptr, ptr %5, align 8 %342 = load i32, ptr %7, align 4 %343 = sext i32 %342 to i64 %344 = getelementptr inbounds ptr, ptr %341, i64 %343 %345 = load ptr, ptr %344, align 8 %346 = load ptr, ptr %12, align 8 %347 = load ptr, ptr %12, align 8 %348 = call i32 @strlen(ptr noundef %347) %349 = add nsw i32 %348, 1 %350 = call i32 @lsetxattr(ptr noundef %345, ptr noundef @.str.17, ptr noundef %346, i32 noundef %349, i32 noundef 0) store i32 %350, ptr %6, align 4 %351 = load i32, ptr %6, align 4 %352 = icmp slt i32 %351, 0 br i1 %352, label %353, label %360 353: ; preds = %340 %354 = load ptr, ptr %5, align 8 %355 = load i32, ptr %7, align 4 %356 = sext i32 %355 to i64 %357 = getelementptr inbounds ptr, ptr %354, i64 %356 %358 = load ptr, ptr %357, align 8 %359 = call i32 @perror(ptr noundef %358) br label %360 360: ; preds = %353, %340 br label %361 361: ; preds = %360, %337 %362 = load ptr, ptr %11, align 8 %363 = icmp ne ptr %362, null br i1 %363, label %364, label %385 364: ; preds = %361 %365 = load ptr, ptr %5, align 8 %366 = load i32, ptr %7, align 4 %367 = sext i32 %366 to i64 %368 = getelementptr inbounds ptr, ptr %365, i64 %367 %369 = load ptr, ptr %368, align 8 %370 = load ptr, ptr %11, align 8 %371 = load ptr, ptr %11, align 8 %372 = call i32 @strlen(ptr noundef %371) %373 = add nsw i32 %372, 1 %374 = call i32 @lsetxattr(ptr noundef %369, ptr noundef @.str.19, ptr noundef %370, i32 noundef %373, i32 noundef 0) store i32 %374, ptr %6, align 4 %375 = load i32, ptr %6, align 4 %376 = icmp slt i32 %375, 0 br i1 %376, label %377, label %384 377: ; preds = %364 %378 = load ptr, ptr %5, align 8 %379 = load i32, ptr %7, align 4 %380 = sext i32 %379 to i64 %381 = getelementptr inbounds ptr, ptr %378, i64 %380 %382 = load ptr, ptr %381, align 8 %383 = call i32 @perror(ptr noundef %382) br label %384 384: ; preds = %377, %364 br label %385 385: ; preds = %384, %361 %386 = load i32, ptr %8, align 4 %387 = icmp ne i32 %386, 0 br i1 %387, label %388, label %405 388: ; preds = %385 %389 = load ptr, ptr %5, align 8 %390 = load i32, ptr %7, align 4 %391 = sext i32 %390 to i64 %392 = getelementptr inbounds ptr, ptr %389, i64 %391 %393 = load ptr, ptr %392, align 8 %394 = call i32 @lsetxattr(ptr noundef %393, ptr noundef @.str.21, ptr noundef @.str.24, i32 noundef 4, i32 noundef 0) store i32 %394, ptr %6, align 4 %395 = load i32, ptr %6, align 4 %396 = icmp slt i32 %395, 0 br i1 %396, label %397, label %404 397: ; preds = %388 %398 = load ptr, ptr %5, align 8 %399 = load i32, ptr %7, align 4 %400 = sext i32 %399 to i64 %401 = getelementptr inbounds ptr, ptr %398, i64 %400 %402 = load ptr, ptr %401, align 8 %403 = call i32 @perror(ptr noundef %402) br label %404 404: ; preds = %397, %388 br label %405 405: ; preds = %404, %385 br label %406 406: ; preds = %405, %311 %407 = load i32, ptr %7, align 4 %408 = add nsw i32 %407, 1 store i32 %408, ptr %7, align 4 %409 = load i32, ptr %7, align 4 %410 = load i32, ptr %4, align 4 %411 = icmp slt i32 %409, %410 br i1 %411, label %229, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %406 br label %412 412: ; preds = %._crit_edge, %225 %413 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i64 @leads(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @rules(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @lgetxattr(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @lsetxattr(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp3gj_xe_p.c' source_filename = "/tmp/tmp3gj_xe_p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"abcde\00\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"bdeft\00\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%s %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store double 5.010000e+00, ptr %2, align 8 store double 1.011000e+01, ptr %3, align 8 store ptr @.str, ptr %4, align 8 store ptr @.str.1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @printf(ptr noundef @.str.2, ptr noundef %6, ptr noundef %7) %9 = call i32 @swap(ptr noundef %4, ptr noundef %5, i32 noundef 1) %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i32 @printf(ptr noundef @.str.2, ptr noundef %10, ptr noundef %11) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @swap(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3gj_xe_p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"abcde\00\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"bdeft\00\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%s %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store double 5.010000e+00, ptr %2, align 8 store double 1.011000e+01, ptr %3, align 8 store ptr @.str, ptr %4, align 8 store ptr @.str.1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @printf(ptr noundef @.str.2, ptr noundef %6, ptr noundef %7) %9 = call i32 @swap(ptr noundef %4, ptr noundef %5, i32 noundef 1) %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i32 @printf(ptr noundef @.str.2, ptr noundef %10, ptr noundef %11) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @swap(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6hyw1ton.c' source_filename = "/tmp/tmp6hyw1ton.c" target datalayout = "e-m:e-p270: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/tmp6hyw1ton.c" target datalayout = "e-m:e-p270: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/tmpz9s6ucqy.c' source_filename = "/tmp/tmpz9s6ucqy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isnumchar(i8 noundef signext %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = call i32 @isdigit(i8 noundef signext %4) %6 = icmp ne i32 %5, 0 br i1 %6, label %12, label %7 7: ; preds = %1 %8 = load i8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 46 br i1 %10, label %11, label %12 11: ; preds = %7 store i32 0, ptr %2, align 4 br label %13 12: ; preds = %7, %1 store i32 1, ptr %2, align 4 br label %13 13: ; preds = %12, %11 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i32 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz9s6ucqy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isnumchar(i8 noundef signext %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = call i32 @isdigit(i8 noundef signext %4) %6 = icmp ne i32 %5, 0 br i1 %6, label %12, label %7 7: ; preds = %1 %8 = load i8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 46 br i1 %10, label %11, label %12 11: ; preds = %7 store i32 0, ptr %2, align 4 br label %13 12: ; preds = %7, %1 store i32 1, ptr %2, align 4 br label %13 13: ; preds = %12, %11 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i32 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph40373ib.c' source_filename = "/tmp/tmph40373ib.c" target datalayout = "e-m:e-p270: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/tmph40373ib.c" target datalayout = "e-m:e-p270: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/tmpe23e2bf7.c' source_filename = "/tmp/tmpe23e2bf7.c" target datalayout = "e-m:e-p270: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/tmpe23e2bf7.c" target datalayout = "e-m:e-p270: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/tmpti74upr4.c' source_filename = "/tmp/tmpti74upr4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func6() #0 { %1 = call i32 (...) @func5() %2 = add nsw i32 %1, 1 ret i32 %2 } declare i32 @func5(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpti74upr4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func6() #0 { %1 = call i32 (...) @func5() %2 = add nsw i32 %1, 1 ret i32 %2 } declare i32 @func5(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp21wkyrjb.c' source_filename = "/tmp/tmp21wkyrjb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i32 0, ptr %1, align 4 br label %4 4: ; preds = %14, %0 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) br label %6 6: ; preds = %4 %7 = load i8, ptr %3, align 1 %8 = sext i8 %7 to i32 %9 = icmp slt i32 %8, 97 br i1 %9, label %14, label %10 10: ; preds = %6 %11 = load i8, ptr %3, align 1 %12 = sext i8 %11 to i32 %13 = icmp sgt i32 %12, 122 br label %14 14: ; preds = %10, %6 %15 = phi i1 [ true, %6 ], [ %13, %10 ] br i1 %15, label %4, label %16, !llvm.loop !6 16: ; preds = %14 %17 = load i8, ptr %3, align 1 %18 = sext i8 %17 to i32 %19 = sub nsw i32 219, %18 store i32 %19, ptr %2, align 4 %20 = load i32, ptr %2, align 4 %21 = call i32 @printf(ptr noundef @.str.1, i32 noundef %20) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp21wkyrjb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i32 0, ptr %1, align 4 br label %4 4: ; preds = %14, %0 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) br label %6 6: ; preds = %4 %7 = load i8, ptr %3, align 1 %8 = sext i8 %7 to i32 %9 = icmp slt i32 %8, 97 br i1 %9, label %14, label %10 10: ; preds = %6 %11 = load i8, ptr %3, align 1 %12 = sext i8 %11 to i32 %13 = icmp sgt i32 %12, 122 br label %14 14: ; preds = %10, %6 %15 = phi i1 [ true, %6 ], [ %13, %10 ] br i1 %15, label %4, label %16, !llvm.loop !6 16: ; preds = %14 %17 = load i8, ptr %3, align 1 %18 = sext i8 %17 to i32 %19 = sub nsw i32 219, %18 store i32 %19, ptr %2, align 4 %20 = load i32, ptr %2, align 4 %21 = call i32 @printf(ptr noundef @.str.1, i32 noundef %20) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpcyv50dwo.c' source_filename = "/tmp/tmpcyv50dwo.c" target datalayout = "e-m:e-p270: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/tmpcyv50dwo.c" target datalayout = "e-m:e-p270: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/tmpy_j_qzmo.c' source_filename = "/tmp/tmpy_j_qzmo.c" target datalayout = "e-m:e-p270: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/tmpy_j_qzmo.c" target datalayout = "e-m:e-p270: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/tmpk3snfgju.c' source_filename = "/tmp/tmpk3snfgju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @make5Darray_continuousMem(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 ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 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 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %7, align 4 %19 = mul nsw i32 %17, %18 %20 = load i32, ptr %8, align 4 %21 = mul nsw i32 %19, %20 %22 = load i32, ptr %9, align 4 %23 = mul nsw i32 %21, %22 %24 = load i32, ptr %10, align 4 %25 = mul nsw i32 %23, %24 %26 = sext i32 %25 to i64 %27 = mul i64 %26, 8 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %11, align 8 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = mul i64 %32, 8 %34 = trunc i64 %33 to i32 %35 = call i64 @malloc(i32 noundef %34) %36 = inttoptr i64 %35 to ptr store ptr %36, ptr %12, align 8 store i32 0, ptr %13, align 4 br label %37 37: ; preds = %157, %5 %38 = load i32, ptr %13, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %160 41: ; preds = %37 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = mul i64 %43, 8 %45 = trunc i64 %44 to i32 %46 = call i64 @malloc(i32 noundef %45) %47 = inttoptr i64 %46 to ptr %48 = load ptr, ptr %12, align 8 %49 = load i32, ptr %13, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %48, i64 %50 store ptr %47, ptr %51, align 8 store i32 0, ptr %14, align 4 br label %52 52: ; preds = %153, %41 %53 = load i32, ptr %14, align 4 %54 = load i32, ptr %7, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %56, label %156 56: ; preds = %52 %57 = load i32, ptr %8, align 4 %58 = sext i32 %57 to i64 %59 = mul i64 %58, 8 %60 = trunc i64 %59 to i32 %61 = call i64 @malloc(i32 noundef %60) %62 = inttoptr i64 %61 to ptr %63 = load ptr, ptr %12, align 8 %64 = load i32, ptr %13, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds ptr, ptr %63, i64 %65 %67 = load ptr, ptr %66, align 8 %68 = load i32, ptr %14, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds ptr, ptr %67, i64 %69 store ptr %62, ptr %70, align 8 store i32 0, ptr %15, align 4 br label %71 71: ; preds = %149, %56 %72 = load i32, ptr %15, align 4 %73 = load i32, ptr %8, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %75, label %152 75: ; preds = %71 %76 = load i32, ptr %9, align 4 %77 = sext i32 %76 to i64 %78 = mul i64 %77, 8 %79 = trunc i64 %78 to i32 %80 = call i64 @malloc(i32 noundef %79) %81 = inttoptr i64 %80 to ptr %82 = load ptr, ptr %12, align 8 %83 = load i32, ptr %13, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds ptr, ptr %82, i64 %84 %86 = load ptr, ptr %85, align 8 %87 = load i32, ptr %14, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds ptr, ptr %86, i64 %88 %90 = load ptr, ptr %89, align 8 %91 = load i32, ptr %15, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds ptr, ptr %90, i64 %92 store ptr %81, ptr %93, align 8 store i32 0, ptr %16, align 4 br label %94 94: ; preds = %145, %75 %95 = load i32, ptr %16, align 4 %96 = load i32, ptr %9, align 4 %97 = icmp slt i32 %95, %96 br i1 %97, label %98, label %148 98: ; preds = %94 %99 = load ptr, ptr %11, align 8 %100 = load i32, ptr %13, align 4 %101 = load i32, ptr %7, align 4 %102 = mul nsw i32 %100, %101 %103 = load i32, ptr %8, align 4 %104 = mul nsw i32 %102, %103 %105 = load i32, ptr %9, align 4 %106 = mul nsw i32 %104, %105 %107 = load i32, ptr %10, align 4 %108 = mul nsw i32 %106, %107 %109 = load i32, ptr %14, align 4 %110 = load i32, ptr %8, align 4 %111 = mul nsw i32 %109, %110 %112 = load i32, ptr %9, align 4 %113 = mul nsw i32 %111, %112 %114 = load i32, ptr %10, align 4 %115 = mul nsw i32 %113, %114 %116 = add nsw i32 %108, %115 %117 = load i32, ptr %15, align 4 %118 = load i32, ptr %9, align 4 %119 = mul nsw i32 %117, %118 %120 = load i32, ptr %10, align 4 %121 = mul nsw i32 %119, %120 %122 = add nsw i32 %116, %121 %123 = load i32, ptr %16, align 4 %124 = load i32, ptr %10, align 4 %125 = mul nsw i32 %123, %124 %126 = add nsw i32 %122, %125 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds double, ptr %99, i64 %127 %129 = load ptr, ptr %12, align 8 %130 = load i32, ptr %13, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds ptr, ptr %129, i64 %131 %133 = load ptr, ptr %132, align 8 %134 = load i32, ptr %14, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds ptr, ptr %133, i64 %135 %137 = load ptr, ptr %136, align 8 %138 = load i32, ptr %15, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds ptr, ptr %137, i64 %139 %141 = load ptr, ptr %140, align 8 %142 = load i32, ptr %16, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds ptr, ptr %141, i64 %143 store ptr %128, ptr %144, align 8 br label %145 145: ; preds = %98 %146 = load i32, ptr %16, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %16, align 4 br label %94, !llvm.loop !6 148: ; preds = %94 br label %149 149: ; preds = %148 %150 = load i32, ptr %15, align 4 %151 = add nsw i32 %150, 1 store i32 %151, ptr %15, align 4 br label %71, !llvm.loop !8 152: ; preds = %71 br label %153 153: ; preds = %152 %154 = load i32, ptr %14, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %14, align 4 br label %52, !llvm.loop !9 156: ; preds = %52 br label %157 157: ; preds = %156 %158 = load i32, ptr %13, align 4 %159 = add nsw i32 %158, 1 store i32 %159, ptr %13, align 4 br label %37, !llvm.loop !10 160: ; preds = %37 %161 = load ptr, ptr %12, align 8 ret ptr %161 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk3snfgju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @make5Darray_continuousMem(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 ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 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 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %7, align 4 %19 = mul nsw i32 %17, %18 %20 = load i32, ptr %8, align 4 %21 = mul nsw i32 %19, %20 %22 = load i32, ptr %9, align 4 %23 = mul nsw i32 %21, %22 %24 = load i32, ptr %10, align 4 %25 = mul nsw i32 %23, %24 %26 = sext i32 %25 to i64 %27 = mul i64 %26, 8 %28 = trunc i64 %27 to i32 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %11, align 8 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = mul i64 %32, 8 %34 = trunc i64 %33 to i32 %35 = call i64 @malloc(i32 noundef %34) %36 = inttoptr i64 %35 to ptr store ptr %36, ptr %12, align 8 store i32 0, ptr %13, align 4 %37 = load i32, ptr %13, align 4 %38 = load i32, ptr %6, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %.lr.ph8, label %168 .lr.ph8: ; preds = %5 br label %40 40: ; preds = %.lr.ph8, %162 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = mul i64 %42, 8 %44 = trunc i64 %43 to i32 %45 = call i64 @malloc(i32 noundef %44) %46 = inttoptr i64 %45 to ptr %47 = load ptr, ptr %12, align 8 %48 = load i32, ptr %13, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds ptr, ptr %47, i64 %49 store ptr %46, ptr %50, align 8 store i32 0, ptr %14, align 4 %51 = load i32, ptr %14, align 4 %52 = load i32, ptr %7, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %.lr.ph5, label %161 .lr.ph5: ; preds = %40 br label %54 54: ; preds = %.lr.ph5, %155 %55 = load i32, ptr %8, align 4 %56 = sext i32 %55 to i64 %57 = mul i64 %56, 8 %58 = trunc i64 %57 to i32 %59 = call i64 @malloc(i32 noundef %58) %60 = inttoptr i64 %59 to ptr %61 = load ptr, ptr %12, align 8 %62 = load i32, ptr %13, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds ptr, ptr %61, i64 %63 %65 = load ptr, ptr %64, align 8 %66 = load i32, ptr %14, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds ptr, ptr %65, i64 %67 store ptr %60, ptr %68, align 8 store i32 0, ptr %15, align 4 %69 = load i32, ptr %15, align 4 %70 = load i32, ptr %8, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %.lr.ph2, label %154 .lr.ph2: ; preds = %54 br label %72 72: ; preds = %.lr.ph2, %148 %73 = load i32, ptr %9, align 4 %74 = sext i32 %73 to i64 %75 = mul i64 %74, 8 %76 = trunc i64 %75 to i32 %77 = call i64 @malloc(i32 noundef %76) %78 = inttoptr i64 %77 to ptr %79 = load ptr, ptr %12, align 8 %80 = load i32, ptr %13, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds ptr, ptr %79, i64 %81 %83 = load ptr, ptr %82, align 8 %84 = load i32, ptr %14, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds ptr, ptr %83, i64 %85 %87 = load ptr, ptr %86, align 8 %88 = load i32, ptr %15, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds ptr, ptr %87, i64 %89 store ptr %78, ptr %90, align 8 store i32 0, ptr %16, align 4 %91 = load i32, ptr %16, align 4 %92 = load i32, ptr %9, align 4 %93 = icmp slt i32 %91, %92 br i1 %93, label %.lr.ph, label %147 .lr.ph: ; preds = %72 br label %94 94: ; preds = %.lr.ph, %141 %95 = load ptr, ptr %11, align 8 %96 = load i32, ptr %13, align 4 %97 = load i32, ptr %7, align 4 %98 = mul nsw i32 %96, %97 %99 = load i32, ptr %8, align 4 %100 = mul nsw i32 %98, %99 %101 = load i32, ptr %9, align 4 %102 = mul nsw i32 %100, %101 %103 = load i32, ptr %10, align 4 %104 = mul nsw i32 %102, %103 %105 = load i32, ptr %14, align 4 %106 = load i32, ptr %8, align 4 %107 = mul nsw i32 %105, %106 %108 = load i32, ptr %9, align 4 %109 = mul nsw i32 %107, %108 %110 = load i32, ptr %10, align 4 %111 = mul nsw i32 %109, %110 %112 = add nsw i32 %104, %111 %113 = load i32, ptr %15, align 4 %114 = load i32, ptr %9, align 4 %115 = mul nsw i32 %113, %114 %116 = load i32, ptr %10, align 4 %117 = mul nsw i32 %115, %116 %118 = add nsw i32 %112, %117 %119 = load i32, ptr %16, align 4 %120 = load i32, ptr %10, align 4 %121 = mul nsw i32 %119, %120 %122 = add nsw i32 %118, %121 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds double, ptr %95, i64 %123 %125 = load ptr, ptr %12, align 8 %126 = load i32, ptr %13, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds ptr, ptr %125, i64 %127 %129 = load ptr, ptr %128, align 8 %130 = load i32, ptr %14, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds ptr, ptr %129, i64 %131 %133 = load ptr, ptr %132, align 8 %134 = load i32, ptr %15, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds ptr, ptr %133, i64 %135 %137 = load ptr, ptr %136, align 8 %138 = load i32, ptr %16, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds ptr, ptr %137, i64 %139 store ptr %124, ptr %140, align 8 br label %141 141: ; preds = %94 %142 = load i32, ptr %16, align 4 %143 = add nsw i32 %142, 1 store i32 %143, ptr %16, align 4 %144 = load i32, ptr %16, align 4 %145 = load i32, ptr %9, align 4 %146 = icmp slt i32 %144, %145 br i1 %146, label %94, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %141 br label %147 147: ; preds = %._crit_edge, %72 br label %148 148: ; preds = %147 %149 = load i32, ptr %15, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %15, align 4 %151 = load i32, ptr %15, align 4 %152 = load i32, ptr %8, align 4 %153 = icmp slt i32 %151, %152 br i1 %153, label %72, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %148 br label %154 154: ; preds = %._crit_edge3, %54 br label %155 155: ; preds = %154 %156 = load i32, ptr %14, align 4 %157 = add nsw i32 %156, 1 store i32 %157, ptr %14, align 4 %158 = load i32, ptr %14, align 4 %159 = load i32, ptr %7, align 4 %160 = icmp slt i32 %158, %159 br i1 %160, label %54, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %155 br label %161 161: ; preds = %._crit_edge6, %40 br label %162 162: ; preds = %161 %163 = load i32, ptr %13, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %13, align 4 %165 = load i32, ptr %13, align 4 %166 = load i32, ptr %6, align 4 %167 = icmp slt i32 %165, %166 br i1 %167, label %40, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %162 br label %168 168: ; preds = %._crit_edge9, %5 %169 = load ptr, ptr %12, align 8 ret ptr %169 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpxg_v2mdb.c' source_filename = "/tmp/tmpxg_v2mdb.c" target datalayout = "e-m:e-p270: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/tmpxg_v2mdb.c" target datalayout = "e-m:e-p270: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/tmp72f81ccy.c' source_filename = "/tmp/tmp72f81ccy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: \00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @input_int(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @printf(ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stdout, align 4 %7 = call i32 @fflush(i32 noundef %6) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fflush(i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp72f81ccy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: \00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @input_int(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @printf(ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stdout, align 4 %7 = call i32 @fflush(i32 noundef %6) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fflush(i32 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"}
; ModuleID = '/tmp/tmpzvnlhcwr.c' source_filename = "/tmp/tmpzvnlhcwr.c" target datalayout = "e-m:e-p270: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.x = private unnamed_addr constant [8 x double] [double 1.100000e+00, double 2.500000e+00, double -3.500000e+00, double 4.000000e+00, double -5.900000e+00, double 6.400000e+00, double -7.000000e+00, double 0x4020666666666666], align 16 @__const.main.m = private unnamed_addr constant [8 x i32] [i32 0, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0], align 16 @.str = private unnamed_addr constant [15 x i8] c"y[ %i ] = %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [8 x double], align 16 %3 = alloca [8 x i32], align 16 %4 = alloca [8 x double], 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.x, i64 64, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.m, i64 32, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 64, i1 false) store i32 4, ptr %5, align 4 store i32 2, ptr %6, align 4 store i32 2, ptr %7, align 4 store i32 2, ptr %8, align 4 %10 = load i32, ptr %5, align 4 %11 = getelementptr inbounds [8 x double], ptr %2, i64 0, i64 0 %12 = load i32, ptr %6, align 4 %13 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0 %14 = load i32, ptr %7, align 4 %15 = getelementptr inbounds [8 x double], ptr %4, i64 0, i64 0 %16 = load i32, ptr %8, align 4 %17 = call i32 @stdlib_strided_dmskfloor(i32 noundef %10, ptr noundef %11, i32 noundef %12, ptr noundef %13, i32 noundef %14, ptr noundef %15, i32 noundef %16) store i32 0, ptr %9, align 4 br label %18 18: ; preds = %28, %0 %19 = load i32, ptr %9, align 4 %20 = icmp slt i32 %19, 8 br i1 %20, label %21, label %31 21: ; preds = %18 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %9, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [8 x double], ptr %4, i64 0, i64 %24 %26 = load double, ptr %25, align 8 %27 = call i32 @printf(ptr noundef @.str, i32 noundef %22, double noundef %26) br label %28 28: ; preds = %21 %29 = load i32, ptr %9, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %9, align 4 br label %18, !llvm.loop !6 31: ; preds = %18 %32 = load i32, ptr %1, align 4 ret i32 %32 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @stdlib_strided_dmskfloor(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #3 declare i32 @printf(ptr noundef, i32 noundef, double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzvnlhcwr.c" target datalayout = "e-m:e-p270: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.x = private unnamed_addr constant [8 x double] [double 1.100000e+00, double 2.500000e+00, double -3.500000e+00, double 4.000000e+00, double -5.900000e+00, double 6.400000e+00, double -7.000000e+00, double 0x4020666666666666], align 16 @__const.main.m = private unnamed_addr constant [8 x i32] [i32 0, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0], align 16 @.str = private unnamed_addr constant [15 x i8] c"y[ %i ] = %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [8 x double], align 16 %3 = alloca [8 x i32], align 16 %4 = alloca [8 x double], 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.x, i64 64, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.m, i64 32, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 64, i1 false) store i32 4, ptr %5, align 4 store i32 2, ptr %6, align 4 store i32 2, ptr %7, align 4 store i32 2, ptr %8, align 4 %10 = load i32, ptr %5, align 4 %11 = getelementptr inbounds [8 x double], ptr %2, i64 0, i64 0 %12 = load i32, ptr %6, align 4 %13 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0 %14 = load i32, ptr %7, align 4 %15 = getelementptr inbounds [8 x double], ptr %4, i64 0, i64 0 %16 = load i32, ptr %8, align 4 %17 = call i32 @stdlib_strided_dmskfloor(i32 noundef %10, ptr noundef %11, i32 noundef %12, ptr noundef %13, i32 noundef %14, ptr noundef %15, i32 noundef %16) store i32 0, ptr %9, align 4 %18 = load i32, ptr %9, align 4 %19 = icmp slt i32 %18, 8 br i1 %19, label %.lr.ph, label %32 .lr.ph: ; preds = %0 br label %20 20: ; preds = %.lr.ph, %27 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %9, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [8 x double], ptr %4, i64 0, i64 %23 %25 = load double, ptr %24, align 8 %26 = call i32 @printf(ptr noundef @.str, i32 noundef %21, double noundef %25) br label %27 27: ; preds = %20 %28 = load i32, ptr %9, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %9, align 4 %30 = load i32, ptr %9, align 4 %31 = icmp slt i32 %30, 8 br i1 %31, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %32 32: ; preds = %._crit_edge, %0 %33 = load i32, ptr %1, align 4 ret i32 %33 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @stdlib_strided_dmskfloor(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #3 declare i32 @printf(ptr noundef, i32 noundef, double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpr174mlwb.c' source_filename = "/tmp/tmpr174mlwb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XImage_height(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i32 %5, ptr %7, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr174mlwb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XImage_height(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i32 %5, ptr %7, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl_elnsg6.c' source_filename = "/tmp/tmpl_elnsg6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @linear_product_root_count(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @_ada_use_c2phc(i32 noundef 112, ptr noundef %6, ptr noundef %7, ptr noundef %8) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 ret i32 %10 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl_elnsg6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @linear_product_root_count(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @_ada_use_c2phc(i32 noundef 112, ptr noundef %6, ptr noundef %7, ptr noundef %8) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 ret i32 %10 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsg7frdtj.c' source_filename = "/tmp/tmpsg7frdtj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hypfm(ptr noundef %0, ptr noundef %1, double noundef %2, double noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca i32, align 4 %14 = alloca double, align 8 %15 = alloca double, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 store i32 1, ptr %13, align 4 %16 = load double, ptr %8, align 8 %17 = load double, ptr %9, align 8 %18 = fsub double %16, %17 %19 = fmul double 2.000000e+00, %18 %20 = load double, ptr %8, align 8 %21 = load double, ptr %9, align 8 %22 = fadd double %20, %21 %23 = load i32, ptr %10, align 4 %24 = sitofp i32 %23 to double %25 = fmul double %22, %24 %26 = fdiv double %19, %25 store double %26, ptr %14, align 8 %27 = load double, ptr %8, align 8 %28 = load double, ptr %14, align 8 %29 = load i32, ptr %10, align 4 %30 = sitofp i32 %29 to double %31 = fmul double %28, %30 %32 = fdiv double %31, 2.000000e+00 %33 = fsub double 1.000000e+00, %32 %34 = fmul double %27, %33 store double %34, ptr %15, align 8 %35 = load ptr, ptr %7, align 8 %36 = icmp eq ptr %35, null br i1 %36, label %37, label %87 37: ; preds = %5 store i32 0, ptr %11, align 4 br label %38 38: ; preds = %83, %37 %39 = load i32, ptr %11, align 4 %40 = load i32, ptr %10, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %86 42: ; preds = %38 %43 = load i32, ptr %13, align 4 %44 = icmp eq i32 %43, 1 br i1 %44, label %45, label %68 45: ; preds = %42 %46 = load double, ptr %15, align 8 %47 = load double, ptr %14, align 8 %48 = fdiv double %46, %47 %49 = load double, ptr %14, align 8 %50 = load i32, ptr %11, align 4 %51 = sitofp i32 %50 to double %52 = load i32, ptr %10, align 4 %53 = sitofp i32 %52 to double %54 = fdiv double %53, 2.000000e+00 %55 = fsub double %51, %54 %56 = call double @llvm.fmuladd.f64(double %49, double %55, double 1.000000e+00) %57 = fptosi double %56 to i32 %58 = call double @fabs(i32 noundef %57) %59 = call double @log(double noundef %58) #4 %60 = fmul double %48, %59 store double %60, ptr %12, align 8 %61 = load double, ptr %12, align 8 %62 = fmul double 0x401921FB54442D18, %61 %63 = call double @cos(double noundef %62) #4 %64 = load ptr, ptr %6, align 8 %65 = load i32, ptr %11, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds double, ptr %64, i64 %66 store double %63, ptr %67, align 8 br label %82 68: ; preds = %42 %69 = load double, ptr %8, align 8 %70 = load i32, ptr %11, align 4 %71 = sitofp i32 %70 to double %72 = fadd double %71, 1.000000e+00 %73 = call double @log(double noundef %72) #4 %74 = fmul double %69, %73 store double %74, ptr %12, align 8 %75 = load double, ptr %12, align 8 %76 = fmul double 0x401921FB54442D18, %75 %77 = call double @cos(double noundef %76) #4 %78 = load ptr, ptr %6, align 8 %79 = load i32, ptr %11, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds double, ptr %78, i64 %80 store double %77, ptr %81, align 8 br label %82 82: ; preds = %68, %45 br label %83 83: ; preds = %82 %84 = load i32, ptr %11, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %11, align 4 br label %38, !llvm.loop !6 86: ; preds = %38 br label %151 87: ; preds = %5 store i32 0, ptr %11, align 4 br label %88 88: ; preds = %147, %87 %89 = load i32, ptr %11, align 4 %90 = load i32, ptr %10, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %92, label %150 92: ; preds = %88 %93 = load i32, ptr %13, align 4 %94 = icmp eq i32 %93, 1 br i1 %94, label %95, label %125 95: ; preds = %92 %96 = load double, ptr %15, align 8 %97 = load double, ptr %14, align 8 %98 = fdiv double %96, %97 %99 = load double, ptr %14, align 8 %100 = load i32, ptr %11, align 4 %101 = sitofp i32 %100 to double %102 = load i32, ptr %10, align 4 %103 = sitofp i32 %102 to double %104 = fdiv double %103, 2.000000e+00 %105 = fsub double %101, %104 %106 = call double @llvm.fmuladd.f64(double %99, double %105, double 1.000000e+00) %107 = fptosi double %106 to i32 %108 = call double @fabs(i32 noundef %107) %109 = call double @log(double noundef %108) #4 %110 = fmul double %98, %109 store double %110, ptr %12, align 8 %111 = load double, ptr %12, align 8 %112 = fmul double 0x401921FB54442D18, %111 %113 = call double @cos(double noundef %112) #4 %114 = load ptr, ptr %6, align 8 %115 = load i32, ptr %11, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds double, ptr %114, i64 %116 store double %113, ptr %117, align 8 %118 = load double, ptr %12, align 8 %119 = fmul double 0x401921FB54442D18, %118 %120 = call double @sin(double noundef %119) #4 %121 = load ptr, ptr %7, align 8 %122 = load i32, ptr %11, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds double, ptr %121, i64 %123 store double %120, ptr %124, align 8 br label %146 125: ; preds = %92 %126 = load double, ptr %8, align 8 %127 = load i32, ptr %11, align 4 %128 = sitofp i32 %127 to double %129 = fadd double %128, 1.000000e+00 %130 = call double @log(double noundef %129) #4 %131 = fmul double %126, %130 store double %131, ptr %12, align 8 %132 = load double, ptr %12, align 8 %133 = fmul double 0x401921FB54442D18, %132 %134 = call double @cos(double noundef %133) #4 %135 = load ptr, ptr %6, align 8 %136 = load i32, ptr %11, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds double, ptr %135, i64 %137 store double %134, ptr %138, align 8 %139 = load double, ptr %12, align 8 %140 = fmul double 0x401921FB54442D18, %139 %141 = call double @sin(double noundef %140) #4 %142 = load ptr, ptr %7, align 8 %143 = load i32, ptr %11, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds double, ptr %142, i64 %144 store double %141, ptr %145, align 8 br label %146 146: ; preds = %125, %95 br label %147 147: ; preds = %146 %148 = load i32, ptr %11, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %11, align 4 br label %88, !llvm.loop !8 150: ; preds = %88 br label %151 151: ; preds = %150, %86 ret void } ; Function Attrs: nounwind declare double @log(double noundef) #1 declare double @fabs(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsg7frdtj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hypfm(ptr noundef %0, ptr noundef %1, double noundef %2, double noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca i32, align 4 %14 = alloca double, align 8 %15 = alloca double, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 store i32 1, ptr %13, align 4 %16 = load double, ptr %8, align 8 %17 = load double, ptr %9, align 8 %18 = fsub double %16, %17 %19 = fmul double 2.000000e+00, %18 %20 = load double, ptr %8, align 8 %21 = load double, ptr %9, align 8 %22 = fadd double %20, %21 %23 = load i32, ptr %10, align 4 %24 = sitofp i32 %23 to double %25 = fmul double %22, %24 %26 = fdiv double %19, %25 store double %26, ptr %14, align 8 %27 = load double, ptr %8, align 8 %28 = load double, ptr %14, align 8 %29 = load i32, ptr %10, align 4 %30 = sitofp i32 %29 to double %31 = fmul double %28, %30 %32 = fdiv double %31, 2.000000e+00 %33 = fsub double 1.000000e+00, %32 %34 = fmul double %27, %33 store double %34, ptr %15, align 8 %35 = load ptr, ptr %7, align 8 %36 = icmp eq ptr %35, null br i1 %36, label %37, label %89 37: ; preds = %5 store i32 0, ptr %11, align 4 %38 = load i32, ptr %11, align 4 %39 = load i32, ptr %10, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %.lr.ph2, label %88 .lr.ph2: ; preds = %37 br label %41 41: ; preds = %.lr.ph2, %82 %42 = load i32, ptr %13, align 4 %43 = icmp eq i32 %42, 1 br i1 %43, label %44, label %67 44: ; preds = %41 %45 = load double, ptr %15, align 8 %46 = load double, ptr %14, align 8 %47 = fdiv double %45, %46 %48 = load double, ptr %14, align 8 %49 = load i32, ptr %11, align 4 %50 = sitofp i32 %49 to double %51 = load i32, ptr %10, align 4 %52 = sitofp i32 %51 to double %53 = fdiv double %52, 2.000000e+00 %54 = fsub double %50, %53 %55 = call double @llvm.fmuladd.f64(double %48, double %54, double 1.000000e+00) %56 = fptosi double %55 to i32 %57 = call double @fabs(i32 noundef %56) %58 = call double @log(double noundef %57) #4 %59 = fmul double %47, %58 store double %59, ptr %12, align 8 %60 = load double, ptr %12, align 8 %61 = fmul double 0x401921FB54442D18, %60 %62 = call double @cos(double noundef %61) #4 %63 = load ptr, ptr %6, align 8 %64 = load i32, ptr %11, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds double, ptr %63, i64 %65 store double %62, ptr %66, align 8 br label %81 67: ; preds = %41 %68 = load double, ptr %8, align 8 %69 = load i32, ptr %11, align 4 %70 = sitofp i32 %69 to double %71 = fadd double %70, 1.000000e+00 %72 = call double @log(double noundef %71) #4 %73 = fmul double %68, %72 store double %73, ptr %12, align 8 %74 = load double, ptr %12, align 8 %75 = fmul double 0x401921FB54442D18, %74 %76 = call double @cos(double noundef %75) #4 %77 = load ptr, ptr %6, align 8 %78 = load i32, ptr %11, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds double, ptr %77, i64 %79 store double %76, ptr %80, align 8 br label %81 81: ; preds = %67, %44 br label %82 82: ; preds = %81 %83 = load i32, ptr %11, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %11, align 4 %85 = load i32, ptr %11, align 4 %86 = load i32, ptr %10, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %41, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %82 br label %88 88: ; preds = %._crit_edge3, %37 br label %155 89: ; preds = %5 store i32 0, ptr %11, align 4 %90 = load i32, ptr %11, align 4 %91 = load i32, ptr %10, align 4 %92 = icmp slt i32 %90, %91 br i1 %92, label %.lr.ph, label %154 .lr.ph: ; preds = %89 br label %93 93: ; preds = %.lr.ph, %148 %94 = load i32, ptr %13, align 4 %95 = icmp eq i32 %94, 1 br i1 %95, label %96, label %126 96: ; preds = %93 %97 = load double, ptr %15, align 8 %98 = load double, ptr %14, align 8 %99 = fdiv double %97, %98 %100 = load double, ptr %14, align 8 %101 = load i32, ptr %11, align 4 %102 = sitofp i32 %101 to double %103 = load i32, ptr %10, align 4 %104 = sitofp i32 %103 to double %105 = fdiv double %104, 2.000000e+00 %106 = fsub double %102, %105 %107 = call double @llvm.fmuladd.f64(double %100, double %106, double 1.000000e+00) %108 = fptosi double %107 to i32 %109 = call double @fabs(i32 noundef %108) %110 = call double @log(double noundef %109) #4 %111 = fmul double %99, %110 store double %111, ptr %12, align 8 %112 = load double, ptr %12, align 8 %113 = fmul double 0x401921FB54442D18, %112 %114 = call double @cos(double noundef %113) #4 %115 = load ptr, ptr %6, align 8 %116 = load i32, ptr %11, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds double, ptr %115, i64 %117 store double %114, ptr %118, align 8 %119 = load double, ptr %12, align 8 %120 = fmul double 0x401921FB54442D18, %119 %121 = call double @sin(double noundef %120) #4 %122 = load ptr, ptr %7, align 8 %123 = load i32, ptr %11, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds double, ptr %122, i64 %124 store double %121, ptr %125, align 8 br label %147 126: ; preds = %93 %127 = load double, ptr %8, align 8 %128 = load i32, ptr %11, align 4 %129 = sitofp i32 %128 to double %130 = fadd double %129, 1.000000e+00 %131 = call double @log(double noundef %130) #4 %132 = fmul double %127, %131 store double %132, ptr %12, align 8 %133 = load double, ptr %12, align 8 %134 = fmul double 0x401921FB54442D18, %133 %135 = call double @cos(double noundef %134) #4 %136 = load ptr, ptr %6, align 8 %137 = load i32, ptr %11, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds double, ptr %136, i64 %138 store double %135, ptr %139, align 8 %140 = load double, ptr %12, align 8 %141 = fmul double 0x401921FB54442D18, %140 %142 = call double @sin(double noundef %141) #4 %143 = load ptr, ptr %7, align 8 %144 = load i32, ptr %11, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds double, ptr %143, i64 %145 store double %142, ptr %146, align 8 br label %147 147: ; preds = %126, %96 br label %148 148: ; preds = %147 %149 = load i32, ptr %11, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %11, align 4 %151 = load i32, ptr %11, align 4 %152 = load i32, ptr %10, align 4 %153 = icmp slt i32 %151, %152 br i1 %153, label %93, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %148 br label %154 154: ; preds = %._crit_edge, %89 br label %155 155: ; preds = %154, %88 ret void } ; Function Attrs: nounwind declare double @log(double noundef) #1 declare double @fabs(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpa2bdgmla.c' source_filename = "/tmp/tmpa2bdgmla.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @expr_struct_deref(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = call ptr (...) @expr_generic() ret ptr %5 } declare ptr @expr_generic(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa2bdgmla.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @expr_struct_deref(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = call ptr (...) @expr_generic() ret ptr %5 } declare ptr @expr_generic(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpegoer5td.c' source_filename = "/tmp/tmpegoer5td.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @dbetrm.dbetrm = internal global double 0.000000e+00, align 8 @dbetrm.T1 = internal global double 0.000000e+00, align 8 @dbetrm.T2 = internal global double 0.000000e+00, align 8 @dbetrm.T3 = internal global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @dbetrm(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load double, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load double, ptr %7, align 8 %9 = fadd double %6, %8 store double %9, ptr @dbetrm.T1, align 8 %10 = call double @dstrem(ptr noundef @dbetrm.T1) %11 = fneg double %10 store double %11, ptr @dbetrm.dbetrm, align 8 %12 = load ptr, ptr %3, align 8 %13 = load double, ptr %12, align 8 %14 = load ptr, ptr %4, align 8 %15 = load double, ptr %14, align 8 %16 = call double @fifdmax1(double noundef %13, double noundef %15) store double %16, ptr @dbetrm.T2, align 8 %17 = call double @dstrem(ptr noundef @dbetrm.T2) %18 = load double, ptr @dbetrm.dbetrm, align 8 %19 = fadd double %18, %17 store double %19, ptr @dbetrm.dbetrm, align 8 %20 = load ptr, ptr %3, align 8 %21 = load double, ptr %20, align 8 %22 = load ptr, ptr %4, align 8 %23 = load double, ptr %22, align 8 %24 = call double @fifdmin1(double noundef %21, double noundef %23) store double %24, ptr @dbetrm.T3, align 8 %25 = call double @dstrem(ptr noundef @dbetrm.T3) %26 = load double, ptr @dbetrm.dbetrm, align 8 %27 = fadd double %26, %25 store double %27, ptr @dbetrm.dbetrm, align 8 %28 = load double, ptr @dbetrm.dbetrm, align 8 ret double %28 } declare double @dstrem(ptr noundef) #1 declare double @fifdmax1(double noundef, double noundef) #1 declare double @fifdmin1(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpegoer5td.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @dbetrm.dbetrm = internal global double 0.000000e+00, align 8 @dbetrm.T1 = internal global double 0.000000e+00, align 8 @dbetrm.T2 = internal global double 0.000000e+00, align 8 @dbetrm.T3 = internal global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @dbetrm(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load double, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load double, ptr %7, align 8 %9 = fadd double %6, %8 store double %9, ptr @dbetrm.T1, align 8 %10 = call double @dstrem(ptr noundef @dbetrm.T1) %11 = fneg double %10 store double %11, ptr @dbetrm.dbetrm, align 8 %12 = load ptr, ptr %3, align 8 %13 = load double, ptr %12, align 8 %14 = load ptr, ptr %4, align 8 %15 = load double, ptr %14, align 8 %16 = call double @fifdmax1(double noundef %13, double noundef %15) store double %16, ptr @dbetrm.T2, align 8 %17 = call double @dstrem(ptr noundef @dbetrm.T2) %18 = load double, ptr @dbetrm.dbetrm, align 8 %19 = fadd double %18, %17 store double %19, ptr @dbetrm.dbetrm, align 8 %20 = load ptr, ptr %3, align 8 %21 = load double, ptr %20, align 8 %22 = load ptr, ptr %4, align 8 %23 = load double, ptr %22, align 8 %24 = call double @fifdmin1(double noundef %21, double noundef %23) store double %24, ptr @dbetrm.T3, align 8 %25 = call double @dstrem(ptr noundef @dbetrm.T3) %26 = load double, ptr @dbetrm.dbetrm, align 8 %27 = fadd double %26, %25 store double %27, ptr @dbetrm.dbetrm, align 8 %28 = load double, ptr @dbetrm.dbetrm, align 8 ret double %28 } declare double @dstrem(ptr noundef) #1 declare double @fifdmax1(double noundef, double noundef) #1 declare double @fifdmin1(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1rzv_n8q.c' source_filename = "/tmp/tmp1rzv_n8q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bit_map_copy(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 br label %13 13: ; preds = %22, %5 %14 = load i32, ptr %10, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %42 16: ; preds = %13 %17 = load i32, ptr %10, align 4 %18 = icmp ult i32 %17, 32 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = load i32, ptr %10, align 4 br label %22 21: ; preds = %16 br label %22 22: ; preds = %21, %19 %23 = phi i32 [ %20, %19 ], [ 32, %21 ] store i32 %23, ptr %11, align 4 %24 = load ptr, ptr %8, align 8 %25 = load i32, ptr %9, align 4 %26 = load i32, ptr %11, align 4 %27 = call i32 @bit_map_get(ptr noundef %24, i32 noundef %25, i32 noundef %26) store i32 %27, ptr %12, align 4 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %11, align 4 %31 = load i32, ptr %12, align 4 %32 = call i32 @bit_map_set(ptr noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %31) %33 = load i32, ptr %11, align 4 %34 = load i32, ptr %10, align 4 %35 = sub i32 %34, %33 store i32 %35, ptr %10, align 4 %36 = load i32, ptr %11, align 4 %37 = load i32, ptr %9, align 4 %38 = add i32 %37, %36 store i32 %38, ptr %9, align 4 %39 = load i32, ptr %11, align 4 %40 = load i32, ptr %7, align 4 %41 = add i32 %40, %39 store i32 %41, ptr %7, align 4 br label %13, !llvm.loop !6 42: ; preds = %13 ret void } declare i32 @bit_map_get(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @bit_map_set(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1rzv_n8q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bit_map_copy(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %13 = load i32, ptr %10, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %.lr.ph, label %43 .lr.ph: ; preds = %5 br label %15 15: ; preds = %.lr.ph, %21 %16 = load i32, ptr %10, align 4 %17 = icmp ult i32 %16, 32 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = load i32, ptr %10, align 4 br label %21 20: ; preds = %15 br label %21 21: ; preds = %20, %18 %22 = phi i32 [ %19, %18 ], [ 32, %20 ] store i32 %22, ptr %11, align 4 %23 = load ptr, ptr %8, align 8 %24 = load i32, ptr %9, align 4 %25 = load i32, ptr %11, align 4 %26 = call i32 @bit_map_get(ptr noundef %23, i32 noundef %24, i32 noundef %25) store i32 %26, ptr %12, align 4 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %11, align 4 %30 = load i32, ptr %12, align 4 %31 = call i32 @bit_map_set(ptr noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30) %32 = load i32, ptr %11, align 4 %33 = load i32, ptr %10, align 4 %34 = sub i32 %33, %32 store i32 %34, ptr %10, align 4 %35 = load i32, ptr %11, align 4 %36 = load i32, ptr %9, align 4 %37 = add i32 %36, %35 store i32 %37, ptr %9, align 4 %38 = load i32, ptr %11, align 4 %39 = load i32, ptr %7, align 4 %40 = add i32 %39, %38 store i32 %40, ptr %7, align 4 %41 = load i32, ptr %10, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %43 43: ; preds = %._crit_edge, %5 ret void } declare i32 @bit_map_get(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @bit_map_set(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnos3x6nl.c' source_filename = "/tmp/tmpnos3x6nl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"No memory.\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"\\ %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printremark(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = add nsw i32 %9, 1 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %7, align 8 %13 = load ptr, ptr %7, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %18, label %15 15: ; preds = %1 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str) %17 = call i32 @exit(i32 noundef -1) #3 unreachable 18: ; preds = %1 %19 = load ptr, ptr %2, align 8 store ptr %19, ptr %3, align 8 %20 = load ptr, ptr %2, align 8 %21 = load ptr, ptr %2, align 8 %22 = call i32 @strlen(ptr noundef %21) %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %20, i64 %23 store ptr %24, ptr %6, align 8 br label %25 25: ; preds = %44, %18 %26 = load ptr, ptr %3, align 8 %27 = load ptr, ptr %6, align 8 %28 = icmp ult ptr %26, %27 br i1 %28, label %29, label %66 29: ; preds = %25 %30 = load ptr, ptr %3, align 8 %31 = call ptr @strchr(ptr noundef %30, i8 noundef signext 10) store ptr %31, ptr %5, align 8 %32 = load ptr, ptr %5, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %40 34: ; preds = %29 %35 = load ptr, ptr %5, align 8 %36 = load ptr, ptr %3, align 8 %37 = ptrtoint ptr %35 to i64 %38 = ptrtoint ptr %36 to i64 %39 = sub i64 %37, %38 br label %44 40: ; preds = %29 %41 = load ptr, ptr %3, align 8 %42 = call i32 @strlen(ptr noundef %41) %43 = sext i32 %42 to i64 br label %44 44: ; preds = %40, %34 %45 = phi i64 [ %39, %34 ], [ %43, %40 ] %46 = trunc i64 %45 to i32 store i32 %46, ptr %4, align 4 %47 = load ptr, ptr %7, align 8 %48 = load ptr, ptr %3, align 8 %49 = load i32, ptr %4, align 4 %50 = call i32 @strncpy(ptr noundef %47, ptr noundef %48, i32 noundef %49) %51 = load ptr, ptr %7, align 8 %52 = load i32, ptr %4, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 store i8 0, ptr %54, align 1 %55 = load ptr, ptr %7, align 8 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %55) %57 = load ptr, ptr %3, align 8 %58 = load i32, ptr %4, align 4 %59 = load ptr, ptr %5, align 8 %60 = icmp ne ptr %59, null %61 = zext i1 %60 to i64 %62 = select i1 %60, i32 1, i32 0 %63 = add nsw i32 %58, %62 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %57, i64 %64 store ptr %65, ptr %3, align 8 br label %25, !llvm.loop !6 66: ; preds = %25 %67 = load ptr, ptr %7, align 8 %68 = call i32 @free(ptr noundef %67) ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnos3x6nl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"No memory.\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"\\ %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printremark(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = add nsw i32 %9, 1 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %7, align 8 %13 = load ptr, ptr %7, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %18, label %15 15: ; preds = %1 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str) %17 = call i32 @exit(i32 noundef -1) #3 unreachable 18: ; preds = %1 %19 = load ptr, ptr %2, align 8 store ptr %19, ptr %3, align 8 %20 = load ptr, ptr %2, align 8 %21 = load ptr, ptr %2, align 8 %22 = call i32 @strlen(ptr noundef %21) %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %20, i64 %23 store ptr %24, ptr %6, align 8 %25 = load ptr, ptr %3, align 8 %26 = load ptr, ptr %6, align 8 %27 = icmp ult ptr %25, %26 br i1 %27, label %.lr.ph, label %68 .lr.ph: ; preds = %18 br label %28 28: ; preds = %.lr.ph, %43 %29 = load ptr, ptr %3, align 8 %30 = call ptr @strchr(ptr noundef %29, i8 noundef signext 10) store ptr %30, ptr %5, align 8 %31 = load ptr, ptr %5, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %33, label %39 33: ; preds = %28 %34 = load ptr, ptr %5, align 8 %35 = load ptr, ptr %3, align 8 %36 = ptrtoint ptr %34 to i64 %37 = ptrtoint ptr %35 to i64 %38 = sub i64 %36, %37 br label %43 39: ; preds = %28 %40 = load ptr, ptr %3, align 8 %41 = call i32 @strlen(ptr noundef %40) %42 = sext i32 %41 to i64 br label %43 43: ; preds = %39, %33 %44 = phi i64 [ %38, %33 ], [ %42, %39 ] %45 = trunc i64 %44 to i32 store i32 %45, ptr %4, align 4 %46 = load ptr, ptr %7, align 8 %47 = load ptr, ptr %3, align 8 %48 = load i32, ptr %4, align 4 %49 = call i32 @strncpy(ptr noundef %46, ptr noundef %47, i32 noundef %48) %50 = load ptr, ptr %7, align 8 %51 = load i32, ptr %4, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 store i8 0, ptr %53, align 1 %54 = load ptr, ptr %7, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %54) %56 = load ptr, ptr %3, align 8 %57 = load i32, ptr %4, align 4 %58 = load ptr, ptr %5, align 8 %59 = icmp ne ptr %58, null %60 = zext i1 %59 to i64 %61 = select i1 %59, i32 1, i32 0 %62 = add nsw i32 %57, %61 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %56, i64 %63 store ptr %64, ptr %3, align 8 %65 = load ptr, ptr %3, align 8 %66 = load ptr, ptr %6, align 8 %67 = icmp ult ptr %65, %66 br i1 %67, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %68 68: ; preds = %._crit_edge, %18 %69 = load ptr, ptr %7, align 8 %70 = call i32 @free(ptr noundef %69) ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6wj_6so4.c' source_filename = "/tmp/tmp6wj_6so4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Child says hello from signal routine\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Child waiting finished %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @waitChild(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @wait(ptr noundef %3) %6 = load i32, ptr %3, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @wait(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/tmp6wj_6so4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Child says hello from signal routine\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Child waiting finished %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @waitChild(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @wait(ptr noundef %3) %6 = load i32, ptr %3, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @wait(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/tmpy9cxvgbh.c' source_filename = "/tmp/tmpy9cxvgbh.c" target datalayout = "e-m:e-p270: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/tmpy9cxvgbh.c" target datalayout = "e-m:e-p270: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/tmp33kume21.c' source_filename = "/tmp/tmp33kume21.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 1 %8 = load ptr, ptr %7, align 8 %9 = call i32 @romanToInt(ptr noundef %8) %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) ret i32 %10 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @romanToInt(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/tmp33kume21.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 1 %8 = load ptr, ptr %7, align 8 %9 = call i32 @romanToInt(ptr noundef %8) %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) ret i32 %10 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @romanToInt(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/tmpf0j1plb4.c' source_filename = "/tmp/tmpf0j1plb4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"\0A**** Solo5 standalone test_wnox ****\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"FAILURE\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @solo5_app_main(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @puts(ptr noundef @.str) %4 = call i32 (...) @nothing() %5 = call i32 @puts(ptr noundef @.str.1) ret i32 1 } declare i32 @puts(ptr noundef) #1 declare i32 @nothing(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf0j1plb4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"\0A**** Solo5 standalone test_wnox ****\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"FAILURE\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @solo5_app_main(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @puts(ptr noundef @.str) %4 = call i32 (...) @nothing() %5 = call i32 @puts(ptr noundef @.str.1) ret i32 1 } declare i32 @puts(ptr noundef) #1 declare i32 @nothing(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpasn94k91.c' source_filename = "/tmp/tmpasn94k91.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpasn94k91.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbrttc92e.c' source_filename = "/tmp/tmpbrttc92e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scf_density_helper(ptr noundef %0, i32 noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca ptr, align 8 %30 = alloca i64, align 8 %31 = alloca i64, align 8 store ptr %0, ptr %10, align 8 store i32 %1, ptr %11, align 4 store double %2, ptr %12, align 8 store double %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store i32 %6, ptr %16, align 4 store i32 %7, ptr %17, align 4 store ptr %8, ptr %18, align 8 %32 = load i32, ptr %17, align 4 %33 = add nsw i32 %32, 1 %34 = zext i32 %33 to i64 %35 = call ptr @llvm.stacksave() store ptr %35, ptr %29, align 8 %36 = alloca double, i64 %34, align 16 store i64 %34, ptr %30, align 8 %37 = load i32, ptr %17, align 4 %38 = add nsw i32 %37, 1 %39 = zext i32 %38 to i64 %40 = alloca double, i64 %39, align 16 store i64 %39, ptr %31, align 8 %41 = load i32, ptr %17, align 4 %42 = add nsw i32 %41, 1 %43 = sext i32 %42 to i64 %44 = mul i64 %43, 8 %45 = trunc i64 %44 to i32 %46 = call i32 @memset(ptr noundef %36, i32 noundef 0, i32 noundef %45) %47 = load i32, ptr %17, align 4 %48 = add nsw i32 %47, 1 %49 = sext i32 %48 to i64 %50 = mul i64 %49, 8 %51 = trunc i64 %50 to i32 %52 = call i32 @memset(ptr noundef %40, i32 noundef 0, i32 noundef %51) store i32 0, ptr %21, align 4 br label %53 53: ; preds = %260, %9 %54 = load i32, ptr %21, align 4 %55 = load i32, ptr %11, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %263 57: ; preds = %53 %58 = load i32, ptr %21, align 4 %59 = mul nsw i32 3, %58 store i32 %59, ptr %20, align 4 %60 = load ptr, ptr %10, align 8 %61 = load i32, ptr %20, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds double, ptr %60, i64 %62 %64 = load double, ptr %63, align 8 %65 = load ptr, ptr %10, align 8 %66 = load i32, ptr %20, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds double, ptr %65, i64 %67 %69 = load double, ptr %68, align 8 %70 = load ptr, ptr %10, align 8 %71 = load i32, ptr %20, align 4 %72 = add nsw i32 %71, 1 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds double, ptr %70, i64 %73 %75 = load double, ptr %74, align 8 %76 = load ptr, ptr %10, align 8 %77 = load i32, ptr %20, align 4 %78 = add nsw i32 %77, 1 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds double, ptr %76, i64 %79 %81 = load double, ptr %80, align 8 %82 = fmul double %75, %81 %83 = call double @llvm.fmuladd.f64(double %64, double %69, double %82) %84 = load ptr, ptr %10, align 8 %85 = load i32, ptr %20, align 4 %86 = add nsw i32 %85, 2 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds double, ptr %84, i64 %87 %89 = load double, ptr %88, align 8 %90 = load ptr, ptr %10, align 8 %91 = load i32, ptr %20, align 4 %92 = add nsw i32 %91, 2 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds double, ptr %90, i64 %93 %95 = load double, ptr %94, align 8 %96 = call double @llvm.fmuladd.f64(double %89, double %95, double %83) %97 = call double @sqrt(double noundef %96) #5 store double %97, ptr %25, align 8 %98 = load double, ptr %25, align 8 %99 = load double, ptr %13, align 8 %100 = fdiv double %98, %99 store double %100, ptr %26, align 8 %101 = load ptr, ptr %10, align 8 %102 = load i32, ptr %20, align 4 %103 = add nsw i32 %102, 2 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds double, ptr %101, i64 %104 %106 = load double, ptr %105, align 8 %107 = load double, ptr %25, align 8 %108 = fdiv double %106, %107 store double %108, ptr %27, align 8 %109 = load ptr, ptr %10, align 8 %110 = load i32, ptr %20, align 4 %111 = add nsw i32 %110, 1 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds double, ptr %109, i64 %112 %114 = load double, ptr %113, align 8 %115 = load ptr, ptr %10, align 8 %116 = load i32, ptr %20, align 4 %117 = add nsw i32 %116, 0 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds double, ptr %115, i64 %118 %120 = load double, ptr %119, align 8 %121 = call double @atan2(double noundef %114, double noundef %120) #5 store double %121, ptr %28, align 8 store i32 0, ptr %24, align 4 br label %122 122: ; preds = %146, %57 %123 = load i32, ptr %24, align 4 %124 = load i32, ptr %17, align 4 %125 = add nsw i32 %124, 1 %126 = icmp slt i32 %123, %125 br i1 %126, label %127, label %149 127: ; preds = %122 %128 = load i32, ptr %24, align 4 %129 = sitofp i32 %128 to double %130 = load double, ptr %28, align 8 %131 = fmul double %129, %130 %132 = fptosi double %131 to i32 %133 = call double @cos(i32 noundef %132) %134 = load i32, ptr %24, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds double, ptr %36, i64 %135 store double %133, ptr %136, align 8 %137 = load i32, ptr %24, align 4 %138 = sitofp i32 %137 to double %139 = load double, ptr %28, align 8 %140 = fmul double %138, %139 %141 = fptosi double %140 to i32 %142 = call double @sin(i32 noundef %141) %143 = load i32, ptr %24, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds double, ptr %40, i64 %144 store double %142, ptr %145, align 8 br label %146 146: ; preds = %127 %147 = load i32, ptr %24, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %24, align 4 br label %122, !llvm.loop !6 149: ; preds = %122 store i32 0, ptr %22, align 4 br label %150 150: ; preds = %243, %149 %151 = load i32, ptr %22, align 4 %152 = load i32, ptr %16, align 4 %153 = add nsw i32 %152, 1 %154 = icmp slt i32 %151, %153 br i1 %154, label %155, label %246 155: ; preds = %150 store i32 0, ptr %23, align 4 br label %156 156: ; preds = %239, %155 %157 = load i32, ptr %23, align 4 %158 = load i32, ptr %17, align 4 %159 = add nsw i32 %158, 1 %160 = icmp slt i32 %157, %159 br i1 %160, label %161, label %242 161: ; preds = %156 store i32 0, ptr %24, align 4 br label %162 162: ; preds = %235, %161 %163 = load i32, ptr %24, align 4 %164 = load i32, ptr %17, align 4 %165 = add nsw i32 %164, 1 %166 = icmp slt i32 %163, %165 br i1 %166, label %167, label %238 167: ; preds = %162 %168 = load i32, ptr %24, align 4 %169 = load i32, ptr %23, align 4 %170 = icmp sgt i32 %168, %169 br i1 %170, label %171, label %172 171: ; preds = %167 br label %235 172: ; preds = %167 %173 = load i32, ptr %24, align 4 %174 = load i32, ptr %17, align 4 %175 = add nsw i32 %174, 1 %176 = load i32, ptr %23, align 4 %177 = load i32, ptr %17, align 4 %178 = add nsw i32 %177, 1 %179 = load i32, ptr %22, align 4 %180 = mul nsw i32 %178, %179 %181 = add nsw i32 %176, %180 %182 = mul nsw i32 %175, %181 %183 = add nsw i32 %173, %182 store i32 %183, ptr %19, align 4 %184 = load ptr, ptr %14, align 8 %185 = load i32, ptr %19, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds double, ptr %184, i64 %186 %188 = load double, ptr %187, align 8 %189 = fcmp oeq double %188, 0.000000e+00 %190 = zext i1 %189 to i32 %191 = load ptr, ptr %15, align 8 %192 = load i32, ptr %19, align 4 %193 = sext i32 %192 to i64 %194 = getelementptr inbounds double, ptr %191, i64 %193 %195 = load double, ptr %194, align 8 %196 = fcmp oeq double %195, 0.000000e+00 %197 = zext i1 %196 to i32 %198 = and i32 %190, %197 %199 = icmp ne i32 %198, 0 br i1 %199, label %200, label %201 200: ; preds = %172 br label %235 201: ; preds = %172 %202 = load double, ptr %26, align 8 %203 = load double, ptr %28, align 8 %204 = load double, ptr %27, align 8 %205 = load i32, ptr %22, align 4 %206 = load i32, ptr %23, align 4 %207 = load i32, ptr %24, align 4 %208 = call double @rho_nlm(double noundef %202, double noundef %203, double noundef %204, i32 noundef %205, i32 noundef %206, i32 noundef %207) %209 = load ptr, ptr %14, align 8 %210 = load i32, ptr %19, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds double, ptr %209, i64 %211 %213 = load double, ptr %212, align 8 %214 = load i32, ptr %24, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds double, ptr %36, i64 %215 %217 = load double, ptr %216, align 8 %218 = load ptr, ptr %15, align 8 %219 = load i32, ptr %19, align 4 %220 = sext i32 %219 to i64 %221 = getelementptr inbounds double, ptr %218, i64 %220 %222 = load double, ptr %221, align 8 %223 = load i32, ptr %24, align 4 %224 = sext i32 %223 to i64 %225 = getelementptr inbounds double, ptr %40, i64 %224 %226 = load double, ptr %225, align 8 %227 = fmul double %222, %226 %228 = call double @llvm.fmuladd.f64(double %213, double %217, double %227) %229 = load ptr, ptr %18, align 8 %230 = load i32, ptr %21, align 4 %231 = sext i32 %230 to i64 %232 = getelementptr inbounds double, ptr %229, i64 %231 %233 = load double, ptr %232, align 8 %234 = call double @llvm.fmuladd.f64(double %208, double %228, double %233) store double %234, ptr %232, align 8 br label %235 235: ; preds = %201, %200, %171 %236 = load i32, ptr %24, align 4 %237 = add nsw i32 %236, 1 store i32 %237, ptr %24, align 4 br label %162, !llvm.loop !8 238: ; preds = %162 br label %239 239: ; preds = %238 %240 = load i32, ptr %23, align 4 %241 = add nsw i32 %240, 1 store i32 %241, ptr %23, align 4 br label %156, !llvm.loop !9 242: ; preds = %156 br label %243 243: ; preds = %242 %244 = load i32, ptr %22, align 4 %245 = add nsw i32 %244, 1 store i32 %245, ptr %22, align 4 br label %150, !llvm.loop !10 246: ; preds = %150 %247 = load double, ptr %12, align 8 %248 = load double, ptr %13, align 8 %249 = load double, ptr %13, align 8 %250 = fmul double %248, %249 %251 = load double, ptr %13, align 8 %252 = fmul double %250, %251 %253 = fdiv double %247, %252 %254 = load ptr, ptr %18, align 8 %255 = load i32, ptr %21, align 4 %256 = sext i32 %255 to i64 %257 = getelementptr inbounds double, ptr %254, i64 %256 %258 = load double, ptr %257, align 8 %259 = fmul double %258, %253 store double %259, ptr %257, align 8 br label %260 260: ; preds = %246 %261 = load i32, ptr %21, align 4 %262 = add nsw i32 %261, 1 store i32 %262, ptr %21, align 4 br label %53, !llvm.loop !11 263: ; preds = %53 %264 = load ptr, ptr %29, align 8 call void @llvm.stackrestore(ptr %264) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #4 ; Function Attrs: nounwind declare double @atan2(double noundef, double noundef) #3 declare double @cos(i32 noundef) #2 declare double @sin(i32 noundef) #2 declare double @rho_nlm(double noundef, double noundef, double noundef, i32 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" } 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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbrttc92e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scf_density_helper(ptr noundef %0, i32 noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca ptr, align 8 %30 = alloca i64, align 8 %31 = alloca i64, align 8 store ptr %0, ptr %10, align 8 store i32 %1, ptr %11, align 4 store double %2, ptr %12, align 8 store double %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store i32 %6, ptr %16, align 4 store i32 %7, ptr %17, align 4 store ptr %8, ptr %18, align 8 %32 = load i32, ptr %17, align 4 %33 = add nsw i32 %32, 1 %34 = zext i32 %33 to i64 %35 = call ptr @llvm.stacksave() store ptr %35, ptr %29, align 8 %36 = alloca double, i64 %34, align 16 store i64 %34, ptr %30, align 8 %37 = load i32, ptr %17, align 4 %38 = add nsw i32 %37, 1 %39 = zext i32 %38 to i64 %40 = alloca double, i64 %39, align 16 store i64 %39, ptr %31, align 8 %41 = load i32, ptr %17, align 4 %42 = add nsw i32 %41, 1 %43 = sext i32 %42 to i64 %44 = mul i64 %43, 8 %45 = trunc i64 %44 to i32 %46 = call i32 @memset(ptr noundef %36, i32 noundef 0, i32 noundef %45) %47 = load i32, ptr %17, align 4 %48 = add nsw i32 %47, 1 %49 = sext i32 %48 to i64 %50 = mul i64 %49, 8 %51 = trunc i64 %50 to i32 %52 = call i32 @memset(ptr noundef %40, i32 noundef 0, i32 noundef %51) store i32 0, ptr %21, align 4 %53 = load i32, ptr %21, align 4 %54 = load i32, ptr %11, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %.lr.ph11, label %277 .lr.ph11: ; preds = %9 br label %56 56: ; preds = %.lr.ph11, %271 %57 = load i32, ptr %21, align 4 %58 = mul nsw i32 3, %57 store i32 %58, ptr %20, align 4 %59 = load ptr, ptr %10, align 8 %60 = load i32, ptr %20, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds double, ptr %59, i64 %61 %63 = load double, ptr %62, align 8 %64 = load ptr, ptr %10, align 8 %65 = load i32, ptr %20, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds double, ptr %64, i64 %66 %68 = load double, ptr %67, align 8 %69 = load ptr, ptr %10, align 8 %70 = load i32, ptr %20, align 4 %71 = add nsw i32 %70, 1 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %69, i64 %72 %74 = load double, ptr %73, align 8 %75 = load ptr, ptr %10, align 8 %76 = load i32, ptr %20, align 4 %77 = add nsw i32 %76, 1 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds double, ptr %75, i64 %78 %80 = load double, ptr %79, align 8 %81 = fmul double %74, %80 %82 = call double @llvm.fmuladd.f64(double %63, double %68, double %81) %83 = load ptr, ptr %10, align 8 %84 = load i32, ptr %20, align 4 %85 = add nsw i32 %84, 2 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds double, ptr %83, i64 %86 %88 = load double, ptr %87, align 8 %89 = load ptr, ptr %10, align 8 %90 = load i32, ptr %20, align 4 %91 = add nsw i32 %90, 2 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds double, ptr %89, i64 %92 %94 = load double, ptr %93, align 8 %95 = call double @llvm.fmuladd.f64(double %88, double %94, double %82) %96 = call double @sqrt(double noundef %95) #5 store double %96, ptr %25, align 8 %97 = load double, ptr %25, align 8 %98 = load double, ptr %13, align 8 %99 = fdiv double %97, %98 store double %99, ptr %26, align 8 %100 = load ptr, ptr %10, align 8 %101 = load i32, ptr %20, align 4 %102 = add nsw i32 %101, 2 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds double, ptr %100, i64 %103 %105 = load double, ptr %104, align 8 %106 = load double, ptr %25, align 8 %107 = fdiv double %105, %106 store double %107, ptr %27, align 8 %108 = load ptr, ptr %10, align 8 %109 = load i32, ptr %20, align 4 %110 = add nsw i32 %109, 1 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds double, ptr %108, i64 %111 %113 = load double, ptr %112, align 8 %114 = load ptr, ptr %10, align 8 %115 = load i32, ptr %20, align 4 %116 = add nsw i32 %115, 0 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds double, ptr %114, i64 %117 %119 = load double, ptr %118, align 8 %120 = call double @atan2(double noundef %113, double noundef %119) #5 store double %120, ptr %28, align 8 store i32 0, ptr %24, align 4 %121 = load i32, ptr %24, align 4 %122 = load i32, ptr %17, align 4 %123 = add nsw i32 %122, 1 %124 = icmp slt i32 %121, %123 br i1 %124, label %.lr.ph, label %151 .lr.ph: ; preds = %56 br label %125 125: ; preds = %.lr.ph, %144 %126 = load i32, ptr %24, align 4 %127 = sitofp i32 %126 to double %128 = load double, ptr %28, align 8 %129 = fmul double %127, %128 %130 = fptosi double %129 to i32 %131 = call double @cos(i32 noundef %130) %132 = load i32, ptr %24, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds double, ptr %36, i64 %133 store double %131, ptr %134, align 8 %135 = load i32, ptr %24, align 4 %136 = sitofp i32 %135 to double %137 = load double, ptr %28, align 8 %138 = fmul double %136, %137 %139 = fptosi double %138 to i32 %140 = call double @sin(i32 noundef %139) %141 = load i32, ptr %24, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds double, ptr %40, i64 %142 store double %140, ptr %143, align 8 br label %144 144: ; preds = %125 %145 = load i32, ptr %24, align 4 %146 = add nsw i32 %145, 1 store i32 %146, ptr %24, align 4 %147 = load i32, ptr %24, align 4 %148 = load i32, ptr %17, align 4 %149 = add nsw i32 %148, 1 %150 = icmp slt i32 %147, %149 br i1 %150, label %125, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %144 br label %151 151: ; preds = %._crit_edge, %56 store i32 0, ptr %22, align 4 %152 = load i32, ptr %22, align 4 %153 = load i32, ptr %16, align 4 %154 = add nsw i32 %153, 1 %155 = icmp slt i32 %152, %154 br i1 %155, label %.lr.ph8, label %257 .lr.ph8: ; preds = %151 br label %156 156: ; preds = %.lr.ph8, %250 store i32 0, ptr %23, align 4 %157 = load i32, ptr %23, align 4 %158 = load i32, ptr %17, align 4 %159 = add nsw i32 %158, 1 %160 = icmp slt i32 %157, %159 br i1 %160, label %.lr.ph5, label %249 .lr.ph5: ; preds = %156 br label %161 161: ; preds = %.lr.ph5, %242 store i32 0, ptr %24, align 4 %162 = load i32, ptr %24, align 4 %163 = load i32, ptr %17, align 4 %164 = add nsw i32 %163, 1 %165 = icmp slt i32 %162, %164 br i1 %165, label %.lr.ph2, label %241 .lr.ph2: ; preds = %161 br label %166 166: ; preds = %.lr.ph2, %234 %167 = load i32, ptr %24, align 4 %168 = load i32, ptr %23, align 4 %169 = icmp sgt i32 %167, %168 br i1 %169, label %170, label %171 170: ; preds = %166 br label %234 171: ; preds = %166 %172 = load i32, ptr %24, align 4 %173 = load i32, ptr %17, align 4 %174 = add nsw i32 %173, 1 %175 = load i32, ptr %23, align 4 %176 = load i32, ptr %17, align 4 %177 = add nsw i32 %176, 1 %178 = load i32, ptr %22, align 4 %179 = mul nsw i32 %177, %178 %180 = add nsw i32 %175, %179 %181 = mul nsw i32 %174, %180 %182 = add nsw i32 %172, %181 store i32 %182, ptr %19, align 4 %183 = load ptr, ptr %14, align 8 %184 = load i32, ptr %19, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds double, ptr %183, i64 %185 %187 = load double, ptr %186, align 8 %188 = fcmp oeq double %187, 0.000000e+00 %189 = zext i1 %188 to i32 %190 = load ptr, ptr %15, align 8 %191 = load i32, ptr %19, align 4 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds double, ptr %190, i64 %192 %194 = load double, ptr %193, align 8 %195 = fcmp oeq double %194, 0.000000e+00 %196 = zext i1 %195 to i32 %197 = and i32 %189, %196 %198 = icmp ne i32 %197, 0 br i1 %198, label %199, label %200 199: ; preds = %171 br label %234 200: ; preds = %171 %201 = load double, ptr %26, align 8 %202 = load double, ptr %28, align 8 %203 = load double, ptr %27, align 8 %204 = load i32, ptr %22, align 4 %205 = load i32, ptr %23, align 4 %206 = load i32, ptr %24, align 4 %207 = call double @rho_nlm(double noundef %201, double noundef %202, double noundef %203, i32 noundef %204, i32 noundef %205, i32 noundef %206) %208 = load ptr, ptr %14, align 8 %209 = load i32, ptr %19, align 4 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds double, ptr %208, i64 %210 %212 = load double, ptr %211, align 8 %213 = load i32, ptr %24, align 4 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds double, ptr %36, i64 %214 %216 = load double, ptr %215, align 8 %217 = load ptr, ptr %15, align 8 %218 = load i32, ptr %19, align 4 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds double, ptr %217, i64 %219 %221 = load double, ptr %220, align 8 %222 = load i32, ptr %24, align 4 %223 = sext i32 %222 to i64 %224 = getelementptr inbounds double, ptr %40, i64 %223 %225 = load double, ptr %224, align 8 %226 = fmul double %221, %225 %227 = call double @llvm.fmuladd.f64(double %212, double %216, double %226) %228 = load ptr, ptr %18, align 8 %229 = load i32, ptr %21, align 4 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds double, ptr %228, i64 %230 %232 = load double, ptr %231, align 8 %233 = call double @llvm.fmuladd.f64(double %207, double %227, double %232) store double %233, ptr %231, align 8 br label %234 234: ; preds = %200, %199, %170 %235 = load i32, ptr %24, align 4 %236 = add nsw i32 %235, 1 store i32 %236, ptr %24, align 4 %237 = load i32, ptr %24, align 4 %238 = load i32, ptr %17, align 4 %239 = add nsw i32 %238, 1 %240 = icmp slt i32 %237, %239 br i1 %240, label %166, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %234 br label %241 241: ; preds = %._crit_edge3, %161 br label %242 242: ; preds = %241 %243 = load i32, ptr %23, align 4 %244 = add nsw i32 %243, 1 store i32 %244, ptr %23, align 4 %245 = load i32, ptr %23, align 4 %246 = load i32, ptr %17, align 4 %247 = add nsw i32 %246, 1 %248 = icmp slt i32 %245, %247 br i1 %248, label %161, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %242 br label %249 249: ; preds = %._crit_edge6, %156 br label %250 250: ; preds = %249 %251 = load i32, ptr %22, align 4 %252 = add nsw i32 %251, 1 store i32 %252, ptr %22, align 4 %253 = load i32, ptr %22, align 4 %254 = load i32, ptr %16, align 4 %255 = add nsw i32 %254, 1 %256 = icmp slt i32 %253, %255 br i1 %256, label %156, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %250 br label %257 257: ; preds = %._crit_edge9, %151 %258 = load double, ptr %12, align 8 %259 = load double, ptr %13, align 8 %260 = load double, ptr %13, align 8 %261 = fmul double %259, %260 %262 = load double, ptr %13, align 8 %263 = fmul double %261, %262 %264 = fdiv double %258, %263 %265 = load ptr, ptr %18, align 8 %266 = load i32, ptr %21, align 4 %267 = sext i32 %266 to i64 %268 = getelementptr inbounds double, ptr %265, i64 %267 %269 = load double, ptr %268, align 8 %270 = fmul double %269, %264 store double %270, ptr %268, align 8 br label %271 271: ; preds = %257 %272 = load i32, ptr %21, align 4 %273 = add nsw i32 %272, 1 store i32 %273, ptr %21, align 4 %274 = load i32, ptr %21, align 4 %275 = load i32, ptr %11, align 4 %276 = icmp slt i32 %274, %275 br i1 %276, label %56, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %271 br label %277 277: ; preds = %._crit_edge12, %9 %278 = load ptr, ptr %29, align 8 call void @llvm.stackrestore(ptr %278) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #4 ; Function Attrs: nounwind declare double @atan2(double noundef, double noundef) #3 declare double @cos(i32 noundef) #2 declare double @sin(i32 noundef) #2 declare double @rho_nlm(double noundef, double noundef, double noundef, i32 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" } 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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmp2gkdb35e.c' source_filename = "/tmp/tmp2gkdb35e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Can not login user '%s'\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"su\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @exec_try_login_user(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = 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 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %28 10: ; preds = %3 %11 = load i32, ptr %7, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %24 13: ; preds = %10 %14 = load ptr, ptr %5, align 8 %15 = call i64 @switch_user(ptr noundef %14) %16 = icmp slt i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %13 %18 = load ptr, ptr %5, align 8 %19 = call i32 @mydm_print(ptr noundef @.str, ptr noundef %18) store i32 -1, ptr %4, align 4 br label %32 20: ; preds = %13 %21 = load ptr, ptr %6, align 8 %22 = load ptr, ptr %6, align 8 %23 = call i32 (ptr, ptr, ptr, ...) @execlp(ptr noundef %21, ptr noundef %22, ptr noundef null) store i32 %23, ptr %4, align 4 br label %32 24: ; preds = %10 %25 = load ptr, ptr %5, align 8 %26 = load ptr, ptr %6, align 8 %27 = call i32 (ptr, ptr, ptr, ...) @execlp(ptr noundef @.str.1, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %25, ptr noundef @.str.3, ptr noundef %26, ptr noundef null) store i32 %27, ptr %4, align 4 br label %32 28: ; preds = %3 %29 = load ptr, ptr %6, align 8 %30 = load ptr, ptr %6, align 8 %31 = call i32 (ptr, ptr, ptr, ...) @execlp(ptr noundef %29, ptr noundef %30, ptr noundef null) store i32 %31, ptr %4, align 4 br label %32 32: ; preds = %28, %24, %20, %17 %33 = load i32, ptr %4, align 4 ret i32 %33 } declare i64 @switch_user(ptr noundef) #1 declare i32 @mydm_print(ptr noundef, ptr noundef) #1 declare i32 @execlp(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/tmp2gkdb35e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Can not login user '%s'\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"su\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @exec_try_login_user(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = 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 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %28 10: ; preds = %3 %11 = load i32, ptr %7, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %24 13: ; preds = %10 %14 = load ptr, ptr %5, align 8 %15 = call i64 @switch_user(ptr noundef %14) %16 = icmp slt i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %13 %18 = load ptr, ptr %5, align 8 %19 = call i32 @mydm_print(ptr noundef @.str, ptr noundef %18) store i32 -1, ptr %4, align 4 br label %32 20: ; preds = %13 %21 = load ptr, ptr %6, align 8 %22 = load ptr, ptr %6, align 8 %23 = call i32 (ptr, ptr, ptr, ...) @execlp(ptr noundef %21, ptr noundef %22, ptr noundef null) store i32 %23, ptr %4, align 4 br label %32 24: ; preds = %10 %25 = load ptr, ptr %5, align 8 %26 = load ptr, ptr %6, align 8 %27 = call i32 (ptr, ptr, ptr, ...) @execlp(ptr noundef @.str.1, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %25, ptr noundef @.str.3, ptr noundef %26, ptr noundef null) store i32 %27, ptr %4, align 4 br label %32 28: ; preds = %3 %29 = load ptr, ptr %6, align 8 %30 = load ptr, ptr %6, align 8 %31 = call i32 (ptr, ptr, ptr, ...) @execlp(ptr noundef %29, ptr noundef %30, ptr noundef null) store i32 %31, ptr %4, align 4 br label %32 32: ; preds = %28, %24, %20, %17 %33 = load i32, ptr %4, align 4 ret i32 %33 } declare i64 @switch_user(ptr noundef) #1 declare i32 @mydm_print(ptr noundef, ptr noundef) #1 declare i32 @execlp(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/tmpyveevm5f.c' source_filename = "/tmp/tmpyveevm5f.c" target datalayout = "e-m:e-p270: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/tmpyveevm5f.c" target datalayout = "e-m:e-p270: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/tmpv3ej8cu8.c' source_filename = "/tmp/tmpv3ej8cu8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sais_int(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %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 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %10 = load ptr, ptr %6, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %21, label %12 12: ; preds = %4 %13 = load ptr, ptr %7, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %21, label %15 15: ; preds = %12 %16 = load i32, ptr %8, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i32, ptr %9, align 4 %20 = icmp sle i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %18, %15, %12, %4 store i32 -1, ptr %5, align 4 br label %38 22: ; preds = %18 %23 = load i32, ptr %8, align 4 %24 = icmp sle i32 %23, 1 br i1 %24, label %25, label %32 25: ; preds = %22 %26 = load i32, ptr %8, align 4 %27 = icmp eq i32 %26, 1 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds i32, ptr %29, i64 0 store i32 0, ptr %30, align 4 br label %31 31: ; preds = %28, %25 store i32 0, ptr %5, align 4 br label %38 32: ; preds = %22 %33 = load ptr, ptr %6, align 8 %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %8, align 4 %36 = load i32, ptr %9, align 4 %37 = call i32 @sais_main(ptr noundef %33, ptr noundef %34, i32 noundef 0, i32 noundef %35, i32 noundef %36, i32 noundef 4, i32 noundef 0) store i32 %37, ptr %5, align 4 br label %38 38: ; preds = %32, %31, %21 %39 = load i32, ptr %5, align 4 ret i32 %39 } declare i32 @sais_main(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv3ej8cu8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sais_int(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %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 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %10 = load ptr, ptr %6, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %21, label %12 12: ; preds = %4 %13 = load ptr, ptr %7, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %21, label %15 15: ; preds = %12 %16 = load i32, ptr %8, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i32, ptr %9, align 4 %20 = icmp sle i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %18, %15, %12, %4 store i32 -1, ptr %5, align 4 br label %38 22: ; preds = %18 %23 = load i32, ptr %8, align 4 %24 = icmp sle i32 %23, 1 br i1 %24, label %25, label %32 25: ; preds = %22 %26 = load i32, ptr %8, align 4 %27 = icmp eq i32 %26, 1 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds i32, ptr %29, i64 0 store i32 0, ptr %30, align 4 br label %31 31: ; preds = %28, %25 store i32 0, ptr %5, align 4 br label %38 32: ; preds = %22 %33 = load ptr, ptr %6, align 8 %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %8, align 4 %36 = load i32, ptr %9, align 4 %37 = call i32 @sais_main(ptr noundef %33, ptr noundef %34, i32 noundef 0, i32 noundef %35, i32 noundef %36, i32 noundef 4, i32 noundef 0) store i32 %37, ptr %5, align 4 br label %38 38: ; preds = %32, %31, %21 %39 = load i32, ptr %5, align 4 ret i32 %39 } declare i32 @sais_main(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzkzm_pn8.c' source_filename = "/tmp/tmpzkzm_pn8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @local_trap(double noundef %0, double noundef %1, i32 noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %14, align 4 store i32 1, ptr %15, align 4 %16 = load double, ptr %5, align 8 %17 = load double, ptr %4, align 8 %18 = fsub double %16, %17 %19 = load i32, ptr %6, align 4 %20 = sitofp i32 %19 to double %21 = fdiv double %18, %20 store double %21, ptr %7, align 8 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %15, align 4 %24 = sdiv i32 %22, %23 store i32 %24, ptr %13, align 4 %25 = load double, ptr %4, align 8 %26 = load i32, ptr %14, align 4 %27 = load i32, ptr %13, align 4 %28 = mul nsw i32 %26, %27 %29 = sitofp i32 %28 to double %30 = load double, ptr %7, align 8 %31 = call double @llvm.fmuladd.f64(double %29, double %30, double %25) store double %31, ptr %10, align 8 %32 = load double, ptr %10, align 8 %33 = load i32, ptr %13, align 4 %34 = sitofp i32 %33 to double %35 = load double, ptr %7, align 8 %36 = call double @llvm.fmuladd.f64(double %34, double %35, double %32) store double %36, ptr %11, align 8 %37 = load double, ptr %10, align 8 %38 = call double @f(double noundef %37) %39 = load double, ptr %11, align 8 %40 = call double @f(double noundef %39) %41 = fadd double %38, %40 %42 = fdiv double %41, 2.000000e+00 store double %42, ptr %9, align 8 store i32 1, ptr %12, align 4 br label %43 43: ; preds = %58, %3 %44 = load i32, ptr %12, align 4 %45 = load i32, ptr %13, align 4 %46 = sub nsw i32 %45, 1 %47 = icmp sle i32 %44, %46 br i1 %47, label %48, label %61 48: ; preds = %43 %49 = load double, ptr %10, align 8 %50 = load i32, ptr %12, align 4 %51 = sitofp i32 %50 to double %52 = load double, ptr %7, align 8 %53 = call double @llvm.fmuladd.f64(double %51, double %52, double %49) store double %53, ptr %8, align 8 %54 = load double, ptr %8, align 8 %55 = call double @f(double noundef %54) %56 = load double, ptr %9, align 8 %57 = fadd double %56, %55 store double %57, ptr %9, align 8 br label %58 58: ; preds = %48 %59 = load i32, ptr %12, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %12, align 4 br label %43, !llvm.loop !6 61: ; preds = %43 %62 = load double, ptr %9, align 8 %63 = load double, ptr %7, align 8 %64 = fmul double %62, %63 store double %64, ptr %9, align 8 %65 = load double, ptr %9, align 8 ret double %65 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare double @f(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpzkzm_pn8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @local_trap(double noundef %0, double noundef %1, i32 noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %14, align 4 store i32 1, ptr %15, align 4 %16 = load double, ptr %5, align 8 %17 = load double, ptr %4, align 8 %18 = fsub double %16, %17 %19 = load i32, ptr %6, align 4 %20 = sitofp i32 %19 to double %21 = fdiv double %18, %20 store double %21, ptr %7, align 8 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %15, align 4 %24 = sdiv i32 %22, %23 store i32 %24, ptr %13, align 4 %25 = load double, ptr %4, align 8 %26 = load i32, ptr %14, align 4 %27 = load i32, ptr %13, align 4 %28 = mul nsw i32 %26, %27 %29 = sitofp i32 %28 to double %30 = load double, ptr %7, align 8 %31 = call double @llvm.fmuladd.f64(double %29, double %30, double %25) store double %31, ptr %10, align 8 %32 = load double, ptr %10, align 8 %33 = load i32, ptr %13, align 4 %34 = sitofp i32 %33 to double %35 = load double, ptr %7, align 8 %36 = call double @llvm.fmuladd.f64(double %34, double %35, double %32) store double %36, ptr %11, align 8 %37 = load double, ptr %10, align 8 %38 = call double @f(double noundef %37) %39 = load double, ptr %11, align 8 %40 = call double @f(double noundef %39) %41 = fadd double %38, %40 %42 = fdiv double %41, 2.000000e+00 store double %42, ptr %9, align 8 store i32 1, ptr %12, align 4 %43 = load i32, ptr %12, align 4 %44 = load i32, ptr %13, align 4 %45 = sub nsw i32 %44, 1 %46 = icmp sle i32 %43, %45 br i1 %46, label %.lr.ph, label %64 .lr.ph: ; preds = %3 br label %47 47: ; preds = %.lr.ph, %57 %48 = load double, ptr %10, align 8 %49 = load i32, ptr %12, align 4 %50 = sitofp i32 %49 to double %51 = load double, ptr %7, align 8 %52 = call double @llvm.fmuladd.f64(double %50, double %51, double %48) store double %52, ptr %8, align 8 %53 = load double, ptr %8, align 8 %54 = call double @f(double noundef %53) %55 = load double, ptr %9, align 8 %56 = fadd double %55, %54 store double %56, ptr %9, align 8 br label %57 57: ; preds = %47 %58 = load i32, ptr %12, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %12, align 4 %60 = load i32, ptr %12, align 4 %61 = load i32, ptr %13, align 4 %62 = sub nsw i32 %61, 1 %63 = icmp sle i32 %60, %62 br i1 %63, label %47, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %57 br label %64 64: ; preds = %._crit_edge, %3 %65 = load double, ptr %9, align 8 %66 = load double, ptr %7, align 8 %67 = fmul double %65, %66 store double %67, ptr %9, align 8 %68 = load double, ptr %9, align 8 ret double %68 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare double @f(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpsfxuxzmi.c' source_filename = "/tmp/tmpsfxuxzmi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vfunc(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 @printf(ptr noundef @.str, i32 noundef %3) 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/tmpsfxuxzmi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vfunc(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 @printf(ptr noundef @.str, i32 noundef %3) 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"}