llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpt60nni90.c' source_filename = "/tmp/tmpt60nni90.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Delay_ms(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store i64 0, ptr %3, align 8 br label %4 4: ; preds = %10, %1 %5 = load i64, ptr %3, align 8 %6 = load i64, ptr %2, align 8 %7 = icmp ult i64 %5, %6 br i1 %7, label %8, label %13 8: ; preds = %4 %9 = call i32 @__delay_ms(i32 noundef 1) br label %10 10: ; preds = %8 %11 = load i64, ptr %3, align 8 %12 = add i64 %11, 1 store i64 %12, ptr %3, align 8 br label %4, !llvm.loop !6 13: ; preds = %4 ret void } 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/tmpt60nni90.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Delay_ms(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store i64 0, ptr %3, align 8 %4 = load i64, ptr %3, align 8 %5 = load i64, ptr %2, align 8 %6 = icmp ult i64 %4, %5 br i1 %6, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %9 %8 = call i32 @__delay_ms(i32 noundef 1) br label %9 9: ; preds = %7 %10 = load i64, ptr %3, align 8 %11 = add i64 %10, 1 store i64 %11, ptr %3, align 8 %12 = load i64, ptr %3, align 8 %13 = load i64, ptr %2, align 8 %14 = icmp ult i64 %12, %13 br i1 %14, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %15 15: ; preds = %._crit_edge, %1 ret void } 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/tmpe86ght8j.c' source_filename = "/tmp/tmpe86ght8j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gthread_dump(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 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @indent(i32 noundef %7) %9 = load i32, ptr %4, align 4 %10 = call i32 @indent(i32 noundef %9) %11 = load i32, ptr %4, align 4 %12 = call i32 @indent(i32 noundef %11) %13 = load i32, ptr %4, align 4 %14 = call i32 @indent(i32 noundef %13) %15 = load i32, ptr %4, align 4 %16 = call i32 @indent(i32 noundef %15) %17 = load i32, ptr %4, align 4 %18 = call i32 @indent(i32 noundef %17) ret void } declare i32 @indent(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/tmpe86ght8j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gthread_dump(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 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @indent(i32 noundef %7) %9 = load i32, ptr %4, align 4 %10 = call i32 @indent(i32 noundef %9) %11 = load i32, ptr %4, align 4 %12 = call i32 @indent(i32 noundef %11) %13 = load i32, ptr %4, align 4 %14 = call i32 @indent(i32 noundef %13) %15 = load i32, ptr %4, align 4 %16 = call i32 @indent(i32 noundef %15) %17 = load i32, ptr %4, align 4 %18 = call i32 @indent(i32 noundef %17) ret void } declare i32 @indent(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/tmpb7ev7k0i.c' source_filename = "/tmp/tmpb7ev7k0i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sorted(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @clone(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @sort(ptr noundef %6) %8 = load ptr, ptr %3, align 8 ret ptr %8 } declare ptr @clone(ptr noundef) #1 declare i32 @sort(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb7ev7k0i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sorted(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @clone(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @sort(ptr noundef %6) %8 = load ptr, ptr %3, align 8 ret ptr %8 } declare ptr @clone(ptr noundef) #1 declare i32 @sort(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1p3vd1qn.c' source_filename = "/tmp/tmp1p3vd1qn.c" target datalayout = "e-m:e-p270: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/tmp1p3vd1qn.c" target datalayout = "e-m:e-p270: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/tmppze6klod.c' source_filename = "/tmp/tmppze6klod.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"I'm in test3.c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppze6klod.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"I'm in test3.c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0_pu_on0.c' source_filename = "/tmp/tmp0_pu_on0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mssleep(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = call i32 @inb(i32 noundef 97) %7 = and i32 %6, 16 store i32 %7, ptr %5, align 4 %8 = load i32, ptr %2, align 4 %9 = mul nsw i32 %8, 67 store i32 %9, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %10 10: ; preds = %23, %1 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %26 14: ; preds = %10 br label %15 15: ; preds = %20, %14 %16 = call i32 @inb(i32 noundef 97) %17 = and i32 %16, 16 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp eq i32 %17, %18 br i1 %19, label %20, label %21 20: ; preds = %15 br label %15, !llvm.loop !6 21: ; preds = %15 %22 = load i32, ptr %4, align 4 store i32 %22, ptr %5, align 4 br label %23 23: ; preds = %21 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 br label %10, !llvm.loop !8 26: ; preds = %10 ret void } declare i32 @inb(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/tmp0_pu_on0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mssleep(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = call i32 @inb(i32 noundef 97) %7 = and i32 %6, 16 store i32 %7, ptr %5, align 4 %8 = load i32, ptr %2, align 4 %9 = mul nsw i32 %8, 67 store i32 %9, ptr %2, align 4 store i32 0, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %27 .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %21 br label %14 14: ; preds = %14, %13 %15 = call i32 @inb(i32 noundef 97) %16 = and i32 %15, 16 store i32 %16, ptr %4, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp eq i32 %16, %17 br i1 %18, label %14, label %19, !llvm.loop !6 19: ; preds = %14 %20 = load i32, ptr %4, align 4 store i32 %20, ptr %5, align 4 br label %21 21: ; preds = %19 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %13, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %1 ret void } declare i32 @inb(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/tmp9h073wal.c' source_filename = "/tmp/tmp9h073wal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @test(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @sinf(float noundef %3) #2 %5 = load float, ptr %2, align 4 %6 = call float @cosf(float noundef %5) #2 %7 = fadd float %4, %6 ret float %7 } ; Function Attrs: nounwind declare float @sinf(float noundef) #1 ; Function Attrs: nounwind declare float @cosf(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9h073wal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @test(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @sinf(float noundef %3) #2 %5 = load float, ptr %2, align 4 %6 = call float @cosf(float noundef %5) #2 %7 = fadd float %4, %6 ret float %7 } ; Function Attrs: nounwind declare float @sinf(float noundef) #1 ; Function Attrs: nounwind declare float @cosf(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4ffbhe3t.c' source_filename = "/tmp/tmp4ffbhe3t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 ; 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 (...) @run_tests() %3 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %3 } declare i32 @run_tests(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4ffbhe3t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 ; 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 (...) @run_tests() %3 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %3 } declare i32 @run_tests(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8yiq38zt.c' source_filename = "/tmp/tmp8yiq38zt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [50 x i8] c"Invoke: UPnPRenderingControl_GetBrightness(%u);\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @UPnPRenderingControl_GetBrightness(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 = call i32 @printf(ptr noundef @.str, i32 noundef %5) %7 = load ptr, ptr %3, align 8 %8 = call i32 @UPnPResponse_RenderingControl_GetBrightness(ptr noundef %7, i32 noundef 250) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @UPnPResponse_RenderingControl_GetBrightness(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/tmp8yiq38zt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [50 x i8] c"Invoke: UPnPRenderingControl_GetBrightness(%u);\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @UPnPRenderingControl_GetBrightness(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 = call i32 @printf(ptr noundef @.str, i32 noundef %5) %7 = load ptr, ptr %3, align 8 %8 = call i32 @UPnPResponse_RenderingControl_GetBrightness(ptr noundef %7, i32 noundef 250) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @UPnPResponse_RenderingControl_GetBrightness(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/tmp9wixun23.c' source_filename = "/tmp/tmp9wixun23.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_maze(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %28, %1 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 23 br i1 %7, label %8, label %31 8: ; preds = %5 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %23, %8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 30 br i1 %11, label %12, label %26 12: ; preds = %9 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [30 x i8], ptr %13, i64 %15 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [30 x i8], ptr %16, i64 0, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %21) br label %23 23: ; preds = %12 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 br label %9, !llvm.loop !6 26: ; preds = %9 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %28 28: ; preds = %26 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 br label %5, !llvm.loop !8 31: ; preds = %5 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9wixun23.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_maze(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 23 br i1 %6, label %.lr.ph2, label %33 .lr.ph2: ; preds = %1 br label %7 7: ; preds = %.lr.ph2, %28 store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 30 br i1 %9, label %.lr.ph, label %26 .lr.ph: ; preds = %7 br label %10 10: ; preds = %.lr.ph, %21 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [30 x i8], ptr %11, i64 %13 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [30 x i8], ptr %14, i64 0, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %19) br label %21 21: ; preds = %10 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %24, 30 br i1 %25, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %7 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %28 28: ; preds = %26 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp slt i32 %31, 23 br i1 %32, label %7, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %28 br label %33 33: ; preds = %._crit_edge3, %1 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpsw88edeb.c' source_filename = "/tmp/tmpsw88edeb.c" target datalayout = "e-m:e-p270: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 [54 x i8] c"WARNING: libsolus is WIP and subject to rapid change\0A\00", align 1 @llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @lib_solus_init, ptr null }] ; Function Attrs: noinline nounwind sspstrong uwtable define internal void @lib_solus_init() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsw88edeb.c" target datalayout = "e-m:e-p270: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 [54 x i8] c"WARNING: libsolus is WIP and subject to rapid change\0A\00", align 1 @llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @lib_solus_init, ptr null }] ; Function Attrs: noinline nounwind sspstrong uwtable define internal void @lib_solus_init() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyopewlgv.c' source_filename = "/tmp/tmpyopewlgv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @secondIsBigger(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %3 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp sgt i32 %11, %12 %14 = zext i1 %13 to i32 store i32 %14, ptr %4, align 4 br label %30 15: ; preds = %3 %16 = load i32, ptr %6, align 4 %17 = icmp eq i32 %16, 1 br i1 %17, label %27, label %18 18: ; preds = %15 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp sgt i32 %19, %20 br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load i32, ptr %5, align 4 %24 = icmp ne i32 %23, 1 br label %25 25: ; preds = %22, %18 %26 = phi i1 [ false, %18 ], [ %24, %22 ] br label %27 27: ; preds = %25, %15 %28 = phi i1 [ true, %15 ], [ %26, %25 ] %29 = zext i1 %28 to i32 store i32 %29, ptr %4, align 4 br label %30 30: ; preds = %27, %10 %31 = load i32, ptr %4, align 4 ret i32 %31 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyopewlgv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @secondIsBigger(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %3 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp sgt i32 %11, %12 %14 = zext i1 %13 to i32 store i32 %14, ptr %4, align 4 br label %30 15: ; preds = %3 %16 = load i32, ptr %6, align 4 %17 = icmp eq i32 %16, 1 br i1 %17, label %27, label %18 18: ; preds = %15 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp sgt i32 %19, %20 br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load i32, ptr %5, align 4 %24 = icmp ne i32 %23, 1 br label %25 25: ; preds = %22, %18 %26 = phi i1 [ false, %18 ], [ %24, %22 ] br label %27 27: ; preds = %25, %15 %28 = phi i1 [ true, %15 ], [ %26, %25 ] %29 = zext i1 %28 to i32 store i32 %29, ptr %4, align 4 br label %30 30: ; preds = %27, %10 %31 = load i32, ptr %4, align 4 ret i32 %31 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp78kwvtnz.c' source_filename = "/tmp/tmp78kwvtnz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hello_world() #0 { %1 = call i32 @assert(i32 noundef 0) 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/tmp78kwvtnz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hello_world() #0 { %1 = call i32 @assert(i32 noundef 0) 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/tmp_tund583.c' source_filename = "/tmp/tmp_tund583.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT8_MAX = dso_local global i64 0, align 8 @INT8_MIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @__hsail_sat_mul_s8(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %7 = load i64, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = mul nsw i64 %7, %8 store i64 %9, ptr %6, align 8 %10 = load i64, ptr %6, align 8 %11 = load i64, ptr @INT8_MAX, align 8 %12 = icmp sgt i64 %10, %11 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = load i64, ptr @INT8_MAX, align 8 store i64 %14, ptr %3, align 8 br label %23 15: ; preds = %2 %16 = load i64, ptr %6, align 8 %17 = load i64, ptr @INT8_MIN, align 8 %18 = icmp slt i64 %16, %17 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = load i64, ptr @INT8_MIN, align 8 store i64 %20, ptr %3, align 8 br label %23 21: ; preds = %15 %22 = load i64, ptr %6, align 8 store i64 %22, ptr %3, align 8 br label %23 23: ; preds = %21, %19, %13 %24 = load i64, ptr %3, align 8 ret i64 %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_tund583.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT8_MAX = dso_local global i64 0, align 8 @INT8_MIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @__hsail_sat_mul_s8(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %7 = load i64, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = mul nsw i64 %7, %8 store i64 %9, ptr %6, align 8 %10 = load i64, ptr %6, align 8 %11 = load i64, ptr @INT8_MAX, align 8 %12 = icmp sgt i64 %10, %11 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = load i64, ptr @INT8_MAX, align 8 store i64 %14, ptr %3, align 8 br label %23 15: ; preds = %2 %16 = load i64, ptr %6, align 8 %17 = load i64, ptr @INT8_MIN, align 8 %18 = icmp slt i64 %16, %17 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = load i64, ptr @INT8_MIN, align 8 store i64 %20, ptr %3, align 8 br label %23 21: ; preds = %15 %22 = load i64, ptr %6, align 8 store i64 %22, ptr %3, align 8 br label %23 23: ; preds = %21, %19, %13 %24 = load i64, ptr %3, align 8 ret i64 %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8kz8zvua.c' source_filename = "/tmp/tmp8kz8zvua.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ascii2char.buffer = internal global [4096 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ascii2char(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %126, %2 %9 = load i32, ptr %5, align 4 %10 = zext i32 %9 to i64 %11 = load i64, ptr %4, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %13, label %129 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %5, align 4 %16 = zext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 13 br i1 %20, label %21, label %30 21: ; preds = %13 %22 = load i32, ptr %6, align 4 %23 = add i32 %22, 1 store i32 %23, ptr %6, align 4 %24 = zext i32 %22 to i64 %25 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %24 store i8 92, ptr %25, align 1 %26 = load i32, ptr %6, align 4 %27 = add i32 %26, 1 store i32 %27, ptr %6, align 4 %28 = zext i32 %26 to i64 %29 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %28 store i8 114, ptr %29, align 1 br label %120 30: ; preds = %13 %31 = load ptr, ptr %3, align 8 %32 = load i32, ptr %5, align 4 %33 = zext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 10 br i1 %37, label %38, label %47 38: ; preds = %30 %39 = load i32, ptr %6, align 4 %40 = add i32 %39, 1 store i32 %40, ptr %6, align 4 %41 = zext i32 %39 to i64 %42 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %41 store i8 92, ptr %42, align 1 %43 = load i32, ptr %6, align 4 %44 = add i32 %43, 1 store i32 %44, ptr %6, align 4 %45 = zext i32 %43 to i64 %46 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %45 store i8 110, ptr %46, align 1 br label %119 47: ; preds = %30 %48 = load ptr, ptr %3, align 8 %49 = load i32, ptr %5, align 4 %50 = zext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 %53, 9 br i1 %54, label %55, label %64 55: ; preds = %47 %56 = load i32, ptr %6, align 4 %57 = add i32 %56, 1 store i32 %57, ptr %6, align 4 %58 = zext i32 %56 to i64 %59 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %58 store i8 92, ptr %59, align 1 %60 = load i32, ptr %6, align 4 %61 = add i32 %60, 1 store i32 %61, ptr %6, align 4 %62 = zext i32 %60 to i64 %63 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %62 store i8 116, ptr %63, align 1 br label %118 64: ; preds = %47 %65 = load ptr, ptr %3, align 8 %66 = load i32, ptr %5, align 4 %67 = zext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = icmp slt i32 %70, 32 br i1 %71, label %72, label %107 72: ; preds = %64 %73 = load ptr, ptr %3, align 8 %74 = load i32, ptr %5, align 4 %75 = zext i32 %74 to i64 %76 = getelementptr inbounds i8, ptr %73, i64 %75 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 store i32 %78, ptr %7, align 4 %79 = load i32, ptr %6, align 4 %80 = add i32 %79, 1 store i32 %80, ptr %6, align 4 %81 = zext i32 %79 to i64 %82 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %81 store i8 92, ptr %82, align 1 %83 = load i32, ptr %7, align 4 %84 = icmp sgt i32 %83, 9 br i1 %84, label %85, label %99 85: ; preds = %72 %86 = load i32, ptr %7, align 4 %87 = srem i32 %86, 10 %88 = add nsw i32 %87, 48 %89 = trunc i32 %88 to i8 %90 = load i32, ptr %6, align 4 %91 = add i32 %90, 1 store i32 %91, ptr %6, align 4 %92 = zext i32 %90 to i64 %93 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %92 store i8 %89, ptr %93, align 1 %94 = load i32, ptr %7, align 4 %95 = srem i32 %94, 10 %96 = mul nsw i32 %95, 10 %97 = load i32, ptr %7, align 4 %98 = sub nsw i32 %97, %96 store i32 %98, ptr %7, align 4 br label %99 99: ; preds = %85, %72 %100 = load i32, ptr %7, align 4 %101 = add nsw i32 %100, 48 %102 = trunc i32 %101 to i8 %103 = load i32, ptr %6, align 4 %104 = add i32 %103, 1 store i32 %104, ptr %6, align 4 %105 = zext i32 %103 to i64 %106 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %105 store i8 %102, ptr %106, align 1 br label %117 107: ; preds = %64 %108 = load ptr, ptr %3, align 8 %109 = load i32, ptr %5, align 4 %110 = zext i32 %109 to i64 %111 = getelementptr inbounds i8, ptr %108, i64 %110 %112 = load i8, ptr %111, align 1 %113 = load i32, ptr %6, align 4 %114 = add i32 %113, 1 store i32 %114, ptr %6, align 4 %115 = zext i32 %113 to i64 %116 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %115 store i8 %112, ptr %116, align 1 br label %117 117: ; preds = %107, %99 br label %118 118: ; preds = %117, %55 br label %119 119: ; preds = %118, %38 br label %120 120: ; preds = %119, %21 %121 = load i32, ptr %6, align 4 %122 = zext i32 %121 to i64 %123 = icmp ugt i64 %122, 4076 br i1 %123, label %124, label %125 124: ; preds = %120 br label %129 125: ; preds = %120 br label %126 126: ; preds = %125 %127 = load i32, ptr %5, align 4 %128 = add i32 %127, 1 store i32 %128, ptr %5, align 4 br label %8, !llvm.loop !6 129: ; preds = %124, %8 %130 = load i32, ptr %6, align 4 %131 = zext i32 %130 to i64 %132 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %131 store i8 0, ptr %132, align 1 ret ptr @ascii2char.buffer } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp8kz8zvua.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ascii2char.buffer = internal global [4096 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ascii2char(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = zext i32 %8 to i64 %10 = load i64, ptr %4, align 8 %11 = icmp ult i64 %9, %10 br i1 %11, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %125 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %5, align 4 %15 = zext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 13 br i1 %19, label %20, label %29 20: ; preds = %12 %21 = load i32, ptr %6, align 4 %22 = add i32 %21, 1 store i32 %22, ptr %6, align 4 %23 = zext i32 %21 to i64 %24 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %23 store i8 92, ptr %24, align 1 %25 = load i32, ptr %6, align 4 %26 = add i32 %25, 1 store i32 %26, ptr %6, align 4 %27 = zext i32 %25 to i64 %28 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %27 store i8 114, ptr %28, align 1 br label %119 29: ; preds = %12 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %5, align 4 %32 = zext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 10 br i1 %36, label %37, label %46 37: ; preds = %29 %38 = load i32, ptr %6, align 4 %39 = add i32 %38, 1 store i32 %39, ptr %6, align 4 %40 = zext i32 %38 to i64 %41 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %40 store i8 92, ptr %41, align 1 %42 = load i32, ptr %6, align 4 %43 = add i32 %42, 1 store i32 %43, ptr %6, align 4 %44 = zext i32 %42 to i64 %45 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %44 store i8 110, ptr %45, align 1 br label %118 46: ; preds = %29 %47 = load ptr, ptr %3, align 8 %48 = load i32, ptr %5, align 4 %49 = zext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp eq i32 %52, 9 br i1 %53, label %54, label %63 54: ; preds = %46 %55 = load i32, ptr %6, align 4 %56 = add i32 %55, 1 store i32 %56, ptr %6, align 4 %57 = zext i32 %55 to i64 %58 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %57 store i8 92, ptr %58, align 1 %59 = load i32, ptr %6, align 4 %60 = add i32 %59, 1 store i32 %60, ptr %6, align 4 %61 = zext i32 %59 to i64 %62 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %61 store i8 116, ptr %62, align 1 br label %117 63: ; preds = %46 %64 = load ptr, ptr %3, align 8 %65 = load i32, ptr %5, align 4 %66 = zext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp slt i32 %69, 32 br i1 %70, label %71, label %106 71: ; preds = %63 %72 = load ptr, ptr %3, align 8 %73 = load i32, ptr %5, align 4 %74 = zext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 store i32 %77, ptr %7, align 4 %78 = load i32, ptr %6, align 4 %79 = add i32 %78, 1 store i32 %79, ptr %6, align 4 %80 = zext i32 %78 to i64 %81 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %80 store i8 92, ptr %81, align 1 %82 = load i32, ptr %7, align 4 %83 = icmp sgt i32 %82, 9 br i1 %83, label %84, label %98 84: ; preds = %71 %85 = load i32, ptr %7, align 4 %86 = srem i32 %85, 10 %87 = add nsw i32 %86, 48 %88 = trunc i32 %87 to i8 %89 = load i32, ptr %6, align 4 %90 = add i32 %89, 1 store i32 %90, ptr %6, align 4 %91 = zext i32 %89 to i64 %92 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %91 store i8 %88, ptr %92, align 1 %93 = load i32, ptr %7, align 4 %94 = srem i32 %93, 10 %95 = mul nsw i32 %94, 10 %96 = load i32, ptr %7, align 4 %97 = sub nsw i32 %96, %95 store i32 %97, ptr %7, align 4 br label %98 98: ; preds = %84, %71 %99 = load i32, ptr %7, align 4 %100 = add nsw i32 %99, 48 %101 = trunc i32 %100 to i8 %102 = load i32, ptr %6, align 4 %103 = add i32 %102, 1 store i32 %103, ptr %6, align 4 %104 = zext i32 %102 to i64 %105 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %104 store i8 %101, ptr %105, align 1 br label %116 106: ; preds = %63 %107 = load ptr, ptr %3, align 8 %108 = load i32, ptr %5, align 4 %109 = zext i32 %108 to i64 %110 = getelementptr inbounds i8, ptr %107, i64 %109 %111 = load i8, ptr %110, align 1 %112 = load i32, ptr %6, align 4 %113 = add i32 %112, 1 store i32 %113, ptr %6, align 4 %114 = zext i32 %112 to i64 %115 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %114 store i8 %111, ptr %115, align 1 br label %116 116: ; preds = %106, %98 br label %117 117: ; preds = %116, %54 br label %118 118: ; preds = %117, %37 br label %119 119: ; preds = %118, %20 %120 = load i32, ptr %6, align 4 %121 = zext i32 %120 to i64 %122 = icmp ugt i64 %121, 4076 br i1 %122, label %123, label %124 123: ; preds = %119 br label %132 124: ; preds = %119 br label %125 125: ; preds = %124 %126 = load i32, ptr %5, align 4 %127 = add i32 %126, 1 store i32 %127, ptr %5, align 4 %128 = load i32, ptr %5, align 4 %129 = zext i32 %128 to i64 %130 = load i64, ptr %4, align 8 %131 = icmp ult i64 %129, %130 br i1 %131, label %12, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %125 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %132 132: ; preds = %.loopexit, %123 %133 = load i32, ptr %6, align 4 %134 = zext i32 %133 to i64 %135 = getelementptr inbounds [4096 x i8], ptr @ascii2char.buffer, i64 0, i64 %134 store i8 0, ptr %135, align 1 ret ptr @ascii2char.buffer } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpsozy645y.c' source_filename = "/tmp/tmpsozy645y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @people_in(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca i32, align 4 %9 = alloca [2 x i32], align 4 %10 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i8 0, ptr %7, align 1 store i32 0, ptr %8, align 4 call void @llvm.memset.p0.i64(ptr align 4 %9, i8 0, i64 8, i1 false) br label %11 11: ; preds = %3, %245 %12 = load i32, ptr %8, align 4 %13 = sext i32 %12 to i64 %14 = load i64, ptr %5, align 8 %15 = icmp uge i64 %13, %14 br i1 %15, label %16, label %90 16: ; preds = %11 %17 = load i8, ptr %7, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %89 20: ; preds = %16 %21 = load i8, ptr %7, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 77 %24 = zext i1 %23 to i32 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %25 %27 = load i32, ptr %26, align 4 %28 = add nsw i32 %27, 1 %29 = load i8, ptr %7, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 77 %32 = xor i1 %31, true %33 = zext i1 %32 to i32 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %34 %36 = load i32, ptr %35, align 4 %37 = sub nsw i32 %28, %36 %38 = icmp slt i32 %37, 0 br i1 %38, label %39, label %58 39: ; preds = %20 %40 = load i8, ptr %7, align 1 %41 = sext i8 %40 to i32 %42 = icmp ne i32 %41, 77 %43 = zext i1 %42 to i32 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 %47 = add nsw i32 %46, 1 %48 = load i8, ptr %7, align 1 %49 = sext i8 %48 to i32 %50 = icmp ne i32 %49, 77 %51 = xor i1 %50, true %52 = zext i1 %51 to i32 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = sub nsw i32 %47, %55 %57 = sub nsw i32 0, %56 br label %76 58: ; preds = %20 %59 = load i8, ptr %7, align 1 %60 = sext i8 %59 to i32 %61 = icmp ne i32 %60, 77 %62 = zext i1 %61 to i32 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %63 %65 = load i32, ptr %64, align 4 %66 = add nsw i32 %65, 1 %67 = load i8, ptr %7, align 1 %68 = sext i8 %67 to i32 %69 = icmp ne i32 %68, 77 %70 = xor i1 %69, true %71 = zext i1 %70 to i32 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %72 %74 = load i32, ptr %73, align 4 %75 = sub nsw i32 %66, %74 br label %76 76: ; preds = %58, %39 %77 = phi i32 [ %57, %39 ], [ %75, %58 ] %78 = load i32, ptr %6, align 4 %79 = icmp sle i32 %77, %78 br i1 %79, label %80, label %89 80: ; preds = %76 %81 = load i8, ptr %7, align 1 %82 = sext i8 %81 to i32 %83 = icmp ne i32 %82, 77 %84 = zext i1 %83 to i32 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %85 %87 = load i32, ptr %86, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %86, align 4 br label %89 89: ; preds = %80, %76, %16 br label %246 90: ; preds = %11 %91 = load ptr, ptr %4, align 8 %92 = load i32, ptr %8, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %8, align 4 %94 = sext i32 %92 to i64 %95 = getelementptr inbounds i8, ptr %91, i64 %94 %96 = load i8, ptr %95, align 1 store i8 %96, ptr %10, align 1 %97 = load i8, ptr %10, align 1 %98 = sext i8 %97 to i32 %99 = icmp ne i32 %98, 77 %100 = zext i1 %99 to i32 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %101 %103 = load i32, ptr %102, align 4 %104 = add nsw i32 %103, 1 %105 = load i8, ptr %10, align 1 %106 = sext i8 %105 to i32 %107 = icmp ne i32 %106, 77 %108 = xor i1 %107, true %109 = zext i1 %108 to i32 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %110 %112 = load i32, ptr %111, align 4 %113 = sub nsw i32 %104, %112 %114 = icmp slt i32 %113, 0 br i1 %114, label %115, label %134 115: ; preds = %90 %116 = load i8, ptr %10, align 1 %117 = sext i8 %116 to i32 %118 = icmp ne i32 %117, 77 %119 = zext i1 %118 to i32 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %120 %122 = load i32, ptr %121, align 4 %123 = add nsw i32 %122, 1 %124 = load i8, ptr %10, align 1 %125 = sext i8 %124 to i32 %126 = icmp ne i32 %125, 77 %127 = xor i1 %126, true %128 = zext i1 %127 to i32 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %129 %131 = load i32, ptr %130, align 4 %132 = sub nsw i32 %123, %131 %133 = sub nsw i32 0, %132 br label %152 134: ; preds = %90 %135 = load i8, ptr %10, align 1 %136 = sext i8 %135 to i32 %137 = icmp ne i32 %136, 77 %138 = zext i1 %137 to i32 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %139 %141 = load i32, ptr %140, align 4 %142 = add nsw i32 %141, 1 %143 = load i8, ptr %10, align 1 %144 = sext i8 %143 to i32 %145 = icmp ne i32 %144, 77 %146 = xor i1 %145, true %147 = zext i1 %146 to i32 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %148 %150 = load i32, ptr %149, align 4 %151 = sub nsw i32 %142, %150 br label %152 152: ; preds = %134, %115 %153 = phi i32 [ %133, %115 ], [ %151, %134 ] %154 = load i32, ptr %6, align 4 %155 = icmp sle i32 %153, %154 br i1 %155, label %156, label %165 156: ; preds = %152 %157 = load i8, ptr %10, align 1 %158 = sext i8 %157 to i32 %159 = icmp ne i32 %158, 77 %160 = zext i1 %159 to i32 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %161 %163 = load i32, ptr %162, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %162, align 4 br label %245 165: ; preds = %152 %166 = load i8, ptr %7, align 1 %167 = sext i8 %166 to i32 %168 = icmp eq i32 %167, 0 br i1 %168, label %169, label %171 169: ; preds = %165 %170 = load i8, ptr %10, align 1 store i8 %170, ptr %7, align 1 br label %244 171: ; preds = %165 %172 = load i8, ptr %7, align 1 %173 = sext i8 %172 to i32 %174 = icmp ne i32 %173, 77 %175 = zext i1 %174 to i32 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %176 %178 = load i32, ptr %177, align 4 %179 = add nsw i32 %178, 1 %180 = load i8, ptr %7, align 1 %181 = sext i8 %180 to i32 %182 = icmp ne i32 %181, 77 %183 = xor i1 %182, true %184 = zext i1 %183 to i32 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %185 %187 = load i32, ptr %186, align 4 %188 = sub nsw i32 %179, %187 %189 = icmp slt i32 %188, 0 br i1 %189, label %190, label %209 190: ; preds = %171 %191 = load i8, ptr %7, align 1 %192 = sext i8 %191 to i32 %193 = icmp ne i32 %192, 77 %194 = zext i1 %193 to i32 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %195 %197 = load i32, ptr %196, align 4 %198 = add nsw i32 %197, 1 %199 = load i8, ptr %7, align 1 %200 = sext i8 %199 to i32 %201 = icmp ne i32 %200, 77 %202 = xor i1 %201, true %203 = zext i1 %202 to i32 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %204 %206 = load i32, ptr %205, align 4 %207 = sub nsw i32 %198, %206 %208 = sub nsw i32 0, %207 br label %227 209: ; preds = %171 %210 = load i8, ptr %7, align 1 %211 = sext i8 %210 to i32 %212 = icmp ne i32 %211, 77 %213 = zext i1 %212 to i32 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %214 %216 = load i32, ptr %215, align 4 %217 = add nsw i32 %216, 1 %218 = load i8, ptr %7, align 1 %219 = sext i8 %218 to i32 %220 = icmp ne i32 %219, 77 %221 = xor i1 %220, true %222 = zext i1 %221 to i32 %223 = sext i32 %222 to i64 %224 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %223 %225 = load i32, ptr %224, align 4 %226 = sub nsw i32 %217, %225 br label %227 227: ; preds = %209, %190 %228 = phi i32 [ %208, %190 ], [ %226, %209 ] %229 = load i32, ptr %6, align 4 %230 = icmp sle i32 %228, %229 br i1 %230, label %231, label %242 231: ; preds = %227 %232 = load i8, ptr %7, align 1 %233 = sext i8 %232 to i32 %234 = icmp ne i32 %233, 77 %235 = zext i1 %234 to i32 %236 = sext i32 %235 to i64 %237 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %236 %238 = load i32, ptr %237, align 4 %239 = add nsw i32 %238, 1 store i32 %239, ptr %237, align 4 %240 = load i32, ptr %8, align 4 %241 = add nsw i32 %240, -1 store i32 %241, ptr %8, align 4 br label %243 242: ; preds = %227 br label %246 243: ; preds = %231 br label %244 244: ; preds = %243, %169 br label %245 245: ; preds = %244, %156 br label %11 246: ; preds = %242, %89 %247 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %248 = load i32, ptr %247, align 4 %249 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1 %250 = load i32, ptr %249, align 4 %251 = add nsw i32 %248, %250 ret i32 %251 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsozy645y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @people_in(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca i32, align 4 %9 = alloca [2 x i32], align 4 %10 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i8 0, ptr %7, align 1 store i32 0, ptr %8, align 4 call void @llvm.memset.p0.i64(ptr align 4 %9, i8 0, i64 8, i1 false) %11 = load i32, ptr %8, align 4 %12 = sext i32 %11 to i64 %13 = load i64, ptr %5, align 8 %14 = icmp uge i64 %12, %13 br i1 %14, label %15, label %.lr.ph .lr.ph: ; preds = %3 br label %89 ._crit_edge: ; preds = %244 br label %15 15: ; preds = %._crit_edge, %3 %16 = load i8, ptr %7, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %88 19: ; preds = %15 %20 = load i8, ptr %7, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 77 %23 = zext i1 %22 to i32 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %24 %26 = load i32, ptr %25, align 4 %27 = add nsw i32 %26, 1 %28 = load i8, ptr %7, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 77 %31 = xor i1 %30, true %32 = zext i1 %31 to i32 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %33 %35 = load i32, ptr %34, align 4 %36 = sub nsw i32 %27, %35 %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %57 38: ; preds = %19 %39 = load i8, ptr %7, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %40, 77 %42 = zext i1 %41 to i32 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %43 %45 = load i32, ptr %44, align 4 %46 = add nsw i32 %45, 1 %47 = load i8, ptr %7, align 1 %48 = sext i8 %47 to i32 %49 = icmp ne i32 %48, 77 %50 = xor i1 %49, true %51 = zext i1 %50 to i32 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %52 %54 = load i32, ptr %53, align 4 %55 = sub nsw i32 %46, %54 %56 = sub nsw i32 0, %55 br label %75 57: ; preds = %19 %58 = load i8, ptr %7, align 1 %59 = sext i8 %58 to i32 %60 = icmp ne i32 %59, 77 %61 = zext i1 %60 to i32 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %62 %64 = load i32, ptr %63, align 4 %65 = add nsw i32 %64, 1 %66 = load i8, ptr %7, align 1 %67 = sext i8 %66 to i32 %68 = icmp ne i32 %67, 77 %69 = xor i1 %68, true %70 = zext i1 %69 to i32 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %71 %73 = load i32, ptr %72, align 4 %74 = sub nsw i32 %65, %73 br label %75 75: ; preds = %57, %38 %76 = phi i32 [ %56, %38 ], [ %74, %57 ] %77 = load i32, ptr %6, align 4 %78 = icmp sle i32 %76, %77 br i1 %78, label %79, label %88 79: ; preds = %75 %80 = load i8, ptr %7, align 1 %81 = sext i8 %80 to i32 %82 = icmp ne i32 %81, 77 %83 = zext i1 %82 to i32 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %84 %86 = load i32, ptr %85, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %85, align 4 br label %88 88: ; preds = %79, %75, %15 br label %249 89: ; preds = %.lr.ph, %244 %90 = load ptr, ptr %4, align 8 %91 = load i32, ptr %8, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %8, align 4 %93 = sext i32 %91 to i64 %94 = getelementptr inbounds i8, ptr %90, i64 %93 %95 = load i8, ptr %94, align 1 store i8 %95, ptr %10, align 1 %96 = load i8, ptr %10, align 1 %97 = sext i8 %96 to i32 %98 = icmp ne i32 %97, 77 %99 = zext i1 %98 to i32 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %100 %102 = load i32, ptr %101, align 4 %103 = add nsw i32 %102, 1 %104 = load i8, ptr %10, align 1 %105 = sext i8 %104 to i32 %106 = icmp ne i32 %105, 77 %107 = xor i1 %106, true %108 = zext i1 %107 to i32 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %109 %111 = load i32, ptr %110, align 4 %112 = sub nsw i32 %103, %111 %113 = icmp slt i32 %112, 0 br i1 %113, label %114, label %133 114: ; preds = %89 %115 = load i8, ptr %10, align 1 %116 = sext i8 %115 to i32 %117 = icmp ne i32 %116, 77 %118 = zext i1 %117 to i32 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %119 %121 = load i32, ptr %120, align 4 %122 = add nsw i32 %121, 1 %123 = load i8, ptr %10, align 1 %124 = sext i8 %123 to i32 %125 = icmp ne i32 %124, 77 %126 = xor i1 %125, true %127 = zext i1 %126 to i32 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %128 %130 = load i32, ptr %129, align 4 %131 = sub nsw i32 %122, %130 %132 = sub nsw i32 0, %131 br label %151 133: ; preds = %89 %134 = load i8, ptr %10, align 1 %135 = sext i8 %134 to i32 %136 = icmp ne i32 %135, 77 %137 = zext i1 %136 to i32 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %138 %140 = load i32, ptr %139, align 4 %141 = add nsw i32 %140, 1 %142 = load i8, ptr %10, align 1 %143 = sext i8 %142 to i32 %144 = icmp ne i32 %143, 77 %145 = xor i1 %144, true %146 = zext i1 %145 to i32 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %147 %149 = load i32, ptr %148, align 4 %150 = sub nsw i32 %141, %149 br label %151 151: ; preds = %133, %114 %152 = phi i32 [ %132, %114 ], [ %150, %133 ] %153 = load i32, ptr %6, align 4 %154 = icmp sle i32 %152, %153 br i1 %154, label %155, label %164 155: ; preds = %151 %156 = load i8, ptr %10, align 1 %157 = sext i8 %156 to i32 %158 = icmp ne i32 %157, 77 %159 = zext i1 %158 to i32 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %160 %162 = load i32, ptr %161, align 4 %163 = add nsw i32 %162, 1 store i32 %163, ptr %161, align 4 br label %244 164: ; preds = %151 %165 = load i8, ptr %7, align 1 %166 = sext i8 %165 to i32 %167 = icmp eq i32 %166, 0 br i1 %167, label %168, label %170 168: ; preds = %164 %169 = load i8, ptr %10, align 1 store i8 %169, ptr %7, align 1 br label %243 170: ; preds = %164 %171 = load i8, ptr %7, align 1 %172 = sext i8 %171 to i32 %173 = icmp ne i32 %172, 77 %174 = zext i1 %173 to i32 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %175 %177 = load i32, ptr %176, align 4 %178 = add nsw i32 %177, 1 %179 = load i8, ptr %7, align 1 %180 = sext i8 %179 to i32 %181 = icmp ne i32 %180, 77 %182 = xor i1 %181, true %183 = zext i1 %182 to i32 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %184 %186 = load i32, ptr %185, align 4 %187 = sub nsw i32 %178, %186 %188 = icmp slt i32 %187, 0 br i1 %188, label %189, label %208 189: ; preds = %170 %190 = load i8, ptr %7, align 1 %191 = sext i8 %190 to i32 %192 = icmp ne i32 %191, 77 %193 = zext i1 %192 to i32 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %194 %196 = load i32, ptr %195, align 4 %197 = add nsw i32 %196, 1 %198 = load i8, ptr %7, align 1 %199 = sext i8 %198 to i32 %200 = icmp ne i32 %199, 77 %201 = xor i1 %200, true %202 = zext i1 %201 to i32 %203 = sext i32 %202 to i64 %204 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %203 %205 = load i32, ptr %204, align 4 %206 = sub nsw i32 %197, %205 %207 = sub nsw i32 0, %206 br label %226 208: ; preds = %170 %209 = load i8, ptr %7, align 1 %210 = sext i8 %209 to i32 %211 = icmp ne i32 %210, 77 %212 = zext i1 %211 to i32 %213 = sext i32 %212 to i64 %214 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %213 %215 = load i32, ptr %214, align 4 %216 = add nsw i32 %215, 1 %217 = load i8, ptr %7, align 1 %218 = sext i8 %217 to i32 %219 = icmp ne i32 %218, 77 %220 = xor i1 %219, true %221 = zext i1 %220 to i32 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %222 %224 = load i32, ptr %223, align 4 %225 = sub nsw i32 %216, %224 br label %226 226: ; preds = %208, %189 %227 = phi i32 [ %207, %189 ], [ %225, %208 ] %228 = load i32, ptr %6, align 4 %229 = icmp sle i32 %227, %228 br i1 %229, label %230, label %241 230: ; preds = %226 %231 = load i8, ptr %7, align 1 %232 = sext i8 %231 to i32 %233 = icmp ne i32 %232, 77 %234 = zext i1 %233 to i32 %235 = sext i32 %234 to i64 %236 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 %235 %237 = load i32, ptr %236, align 4 %238 = add nsw i32 %237, 1 store i32 %238, ptr %236, align 4 %239 = load i32, ptr %8, align 4 %240 = add nsw i32 %239, -1 store i32 %240, ptr %8, align 4 br label %242 241: ; preds = %226 br label %249 242: ; preds = %230 br label %243 243: ; preds = %242, %168 br label %244 244: ; preds = %243, %155 %245 = load i32, ptr %8, align 4 %246 = sext i32 %245 to i64 %247 = load i64, ptr %5, align 8 %248 = icmp uge i64 %246, %247 br i1 %248, label %._crit_edge, label %89 249: ; preds = %241, %88 %250 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %251 = load i32, ptr %250, align 4 %252 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1 %253 = load i32, ptr %252, align 4 %254 = add nsw i32 %251, %253 ret i32 %254 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi3oofduy.c' source_filename = "/tmp/tmpi3oofduy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_un = type { i32, ptr } @.str = private unnamed_addr constant [14 x i8] c"kern.smp.cpus\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"kern.smp.cpus: invalid length\00", align 1 @.str.2 = private unnamed_addr constant [52 x i8] c"SMP not present, test may be unable to trigger race\00", align 1 @AF_LOCAL = dso_local global ptr null, align 8 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [21 x i8] c"parent: socket error\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"/tmp/mytest.socket\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"parent: bind error\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"parent: listen error\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"fork()\00", align 1 @SIGTERM = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [22 x i8] c"parent: connect error\00", align 1 @.str.9 = private unnamed_addr constant [20 x i8] c"parent: close error\00", align 1 @.str.10 = private unnamed_addr constant [20 x i8] c"child: accept error\00", align 1 @.str.11 = private unnamed_addr constant [19 x i8] c"child: close error\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"OK\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 %struct.sockaddr_un, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 4, ptr %12, align 8 %13 = call i64 @sysctlbyname(ptr noundef @.str, ptr noundef %11, ptr noundef %12, ptr noundef null, i32 noundef 0) %14 = icmp slt i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %2 %16 = call i32 @err(i32 noundef 1, ptr noundef @.str) br label %17 17: ; preds = %15, %2 %18 = load i64, ptr %12, align 8 %19 = icmp ne i64 %18, 4 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 @errx(i32 noundef 1, ptr noundef @.str.1) br label %22 22: ; preds = %20, %17 %23 = load i32, ptr %11, align 4 %24 = icmp slt i32 %23, 2 br i1 %24, label %25, label %27 25: ; preds = %22 %26 = call i32 @warnx(ptr noundef @.str.2) br label %27 27: ; preds = %25, %22 %28 = load ptr, ptr @AF_LOCAL, align 8 %29 = load i32, ptr @SOCK_STREAM, align 4 %30 = call i32 @socket(ptr noundef %28, i32 noundef %29, i32 noundef 0) store i32 %30, ptr %7, align 4 %31 = icmp slt i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %27 %33 = call i32 @err(i32 noundef 1, ptr noundef @.str.3) br label %34 34: ; preds = %32, %27 %35 = call i32 @unlink(ptr noundef @.str.4) %36 = call i32 @bzero(ptr noundef %6, i32 noundef 16) %37 = load ptr, ptr @AF_LOCAL, align 8 %38 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 1 store ptr %37, ptr %38, align 8 %39 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0 %40 = load i32, ptr %39, align 8 %41 = call i32 @strcpy(i32 noundef %40, ptr noundef @.str.4) %42 = load i32, ptr %7, align 4 %43 = call i64 @bind(i32 noundef %42, ptr noundef %6, i32 noundef 16) %44 = icmp slt i64 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %34 %46 = call i32 @err(i32 noundef 1, ptr noundef @.str.5) br label %47 47: ; preds = %45, %34 %48 = load i32, ptr %7, align 4 %49 = call i64 @listen(i32 noundef %48, i32 noundef 1024) %50 = icmp slt i64 %49, 0 br i1 %50, label %51, label %53 51: ; preds = %47 %52 = call i32 @err(i32 noundef 1, ptr noundef @.str.6) br label %53 53: ; preds = %51, %47 %54 = call i32 (...) @fork() store i32 %54, ptr %9, align 4 %55 = load i32, ptr %9, align 4 %56 = icmp eq i32 %55, -1 br i1 %56, label %57, label %59 57: ; preds = %53 %58 = call i32 @err(i32 noundef 1, ptr noundef @.str.7) br label %59 59: ; preds = %57, %53 %60 = load i32, ptr %9, align 4 %61 = icmp ne i32 %60, 0 br i1 %61, label %62, label %112 62: ; preds = %59 %63 = load i32, ptr %7, align 4 %64 = call i64 @close(i32 noundef %63) %65 = call i32 @sleep(i32 noundef 1) %66 = call i32 @bzero(ptr noundef %6, i32 noundef 16) %67 = load ptr, ptr @AF_LOCAL, align 8 %68 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 1 store ptr %67, ptr %68, align 8 %69 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0 %70 = load i32, ptr %69, align 8 %71 = call i32 @strcpy(i32 noundef %70, ptr noundef @.str.4) store i32 0, ptr %10, align 4 br label %72 72: ; preds = %105, %62 %73 = load i32, ptr %10, align 4 %74 = icmp slt i32 %73, 100000 br i1 %74, label %75, label %108 75: ; preds = %72 %76 = load ptr, ptr @AF_LOCAL, align 8 %77 = load i32, ptr @SOCK_STREAM, align 4 %78 = call i32 @socket(ptr noundef %76, i32 noundef %77, i32 noundef 0) store i32 %78, ptr %8, align 4 %79 = icmp slt i32 %78, 0 br i1 %79, label %80, label %85 80: ; preds = %75 %81 = load i32, ptr %9, align 4 %82 = load i32, ptr @SIGTERM, align 4 %83 = call i32 @kill(i32 noundef %81, i32 noundef %82) %84 = call i32 @err(i32 noundef 1, ptr noundef @.str.3) br label %85 85: ; preds = %80, %75 %86 = load i32, ptr %8, align 4 %87 = call i64 @connect(i32 noundef %86, ptr noundef %6, i32 noundef 16) %88 = icmp slt i64 %87, 0 br i1 %88, label %89, label %94 89: ; preds = %85 %90 = load i32, ptr %9, align 4 %91 = load i32, ptr @SIGTERM, align 4 %92 = call i32 @kill(i32 noundef %90, i32 noundef %91) %93 = call i32 @err(i32 noundef 1, ptr noundef @.str.8) br label %94 94: ; preds = %89, %85 %95 = load i32, ptr %8, align 4 %96 = call i64 @close(i32 noundef %95) %97 = icmp slt i64 %96, 0 br i1 %97, label %98, label %103 98: ; preds = %94 %99 = load i32, ptr %9, align 4 %100 = load i32, ptr @SIGTERM, align 4 %101 = call i32 @kill(i32 noundef %99, i32 noundef %100) %102 = call i32 @err(i32 noundef 1, ptr noundef @.str.9) br label %103 103: ; preds = %98, %94 %104 = call i32 @usleep(i32 noundef 100) br label %105 105: ; preds = %103 %106 = load i32, ptr %10, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %10, align 4 br label %72, !llvm.loop !6 108: ; preds = %72 %109 = load i32, ptr %9, align 4 %110 = load i32, ptr @SIGTERM, align 4 %111 = call i32 @kill(i32 noundef %109, i32 noundef %110) br label %126 112: ; preds = %59 br label %113 113: ; preds = %125, %112 %114 = load i32, ptr %7, align 4 %115 = call i32 @accept(i32 noundef %114, ptr noundef null, ptr noundef null) store i32 %115, ptr %8, align 4 %116 = icmp slt i32 %115, 0 br i1 %116, label %117, label %119 117: ; preds = %113 %118 = call i32 @err(i32 noundef 1, ptr noundef @.str.10) br label %119 119: ; preds = %117, %113 %120 = load i32, ptr %8, align 4 %121 = call i64 @close(i32 noundef %120) %122 = icmp slt i64 %121, 0 br i1 %122, label %123, label %125 123: ; preds = %119 %124 = call i32 @err(i32 noundef 1, ptr noundef @.str.11) br label %125 125: ; preds = %123, %119 br label %113 126: ; preds = %108 %127 = call i32 @printf(ptr noundef @.str.12) %128 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i64 @sysctlbyname(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @err(i32 noundef, ptr noundef) #1 declare i32 @errx(i32 noundef, ptr noundef) #1 declare i32 @warnx(ptr noundef) #1 declare i32 @socket(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @listen(i32 noundef, i32 noundef) #1 declare i32 @fork(...) #1 declare i64 @close(i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @kill(i32 noundef, i32 noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi3oofduy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_un = type { i32, ptr } @.str = private unnamed_addr constant [14 x i8] c"kern.smp.cpus\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"kern.smp.cpus: invalid length\00", align 1 @.str.2 = private unnamed_addr constant [52 x i8] c"SMP not present, test may be unable to trigger race\00", align 1 @AF_LOCAL = dso_local global ptr null, align 8 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [21 x i8] c"parent: socket error\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"/tmp/mytest.socket\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"parent: bind error\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"parent: listen error\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"fork()\00", align 1 @SIGTERM = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [22 x i8] c"parent: connect error\00", align 1 @.str.9 = private unnamed_addr constant [20 x i8] c"parent: close error\00", align 1 @.str.10 = private unnamed_addr constant [20 x i8] c"child: accept error\00", align 1 @.str.11 = private unnamed_addr constant [19 x i8] c"child: close error\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"OK\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 %struct.sockaddr_un, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 4, ptr %12, align 8 %13 = call i64 @sysctlbyname(ptr noundef @.str, ptr noundef %11, ptr noundef %12, ptr noundef null, i32 noundef 0) %14 = icmp slt i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %2 %16 = call i32 @err(i32 noundef 1, ptr noundef @.str) br label %17 17: ; preds = %15, %2 %18 = load i64, ptr %12, align 8 %19 = icmp ne i64 %18, 4 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 @errx(i32 noundef 1, ptr noundef @.str.1) br label %22 22: ; preds = %20, %17 %23 = load i32, ptr %11, align 4 %24 = icmp slt i32 %23, 2 br i1 %24, label %25, label %27 25: ; preds = %22 %26 = call i32 @warnx(ptr noundef @.str.2) br label %27 27: ; preds = %25, %22 %28 = load ptr, ptr @AF_LOCAL, align 8 %29 = load i32, ptr @SOCK_STREAM, align 4 %30 = call i32 @socket(ptr noundef %28, i32 noundef %29, i32 noundef 0) store i32 %30, ptr %7, align 4 %31 = icmp slt i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %27 %33 = call i32 @err(i32 noundef 1, ptr noundef @.str.3) br label %34 34: ; preds = %32, %27 %35 = call i32 @unlink(ptr noundef @.str.4) %36 = call i32 @bzero(ptr noundef %6, i32 noundef 16) %37 = load ptr, ptr @AF_LOCAL, align 8 %38 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 1 store ptr %37, ptr %38, align 8 %39 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0 %40 = load i32, ptr %39, align 8 %41 = call i32 @strcpy(i32 noundef %40, ptr noundef @.str.4) %42 = load i32, ptr %7, align 4 %43 = call i64 @bind(i32 noundef %42, ptr noundef %6, i32 noundef 16) %44 = icmp slt i64 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %34 %46 = call i32 @err(i32 noundef 1, ptr noundef @.str.5) br label %47 47: ; preds = %45, %34 %48 = load i32, ptr %7, align 4 %49 = call i64 @listen(i32 noundef %48, i32 noundef 1024) %50 = icmp slt i64 %49, 0 br i1 %50, label %51, label %53 51: ; preds = %47 %52 = call i32 @err(i32 noundef 1, ptr noundef @.str.6) br label %53 53: ; preds = %51, %47 %54 = call i32 (...) @fork() store i32 %54, ptr %9, align 4 %55 = load i32, ptr %9, align 4 %56 = icmp eq i32 %55, -1 br i1 %56, label %57, label %59 57: ; preds = %53 %58 = call i32 @err(i32 noundef 1, ptr noundef @.str.7) br label %59 59: ; preds = %57, %53 %60 = load i32, ptr %9, align 4 %61 = icmp ne i32 %60, 0 br i1 %61, label %62, label %113 62: ; preds = %59 %63 = load i32, ptr %7, align 4 %64 = call i64 @close(i32 noundef %63) %65 = call i32 @sleep(i32 noundef 1) %66 = call i32 @bzero(ptr noundef %6, i32 noundef 16) %67 = load ptr, ptr @AF_LOCAL, align 8 %68 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 1 store ptr %67, ptr %68, align 8 %69 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0 %70 = load i32, ptr %69, align 8 %71 = call i32 @strcpy(i32 noundef %70, ptr noundef @.str.4) store i32 0, ptr %10, align 4 %72 = load i32, ptr %10, align 4 %73 = icmp slt i32 %72, 100000 br i1 %73, label %.lr.ph, label %109 .lr.ph: ; preds = %62 br label %74 74: ; preds = %.lr.ph, %104 %75 = load ptr, ptr @AF_LOCAL, align 8 %76 = load i32, ptr @SOCK_STREAM, align 4 %77 = call i32 @socket(ptr noundef %75, i32 noundef %76, i32 noundef 0) store i32 %77, ptr %8, align 4 %78 = icmp slt i32 %77, 0 br i1 %78, label %79, label %84 79: ; preds = %74 %80 = load i32, ptr %9, align 4 %81 = load i32, ptr @SIGTERM, align 4 %82 = call i32 @kill(i32 noundef %80, i32 noundef %81) %83 = call i32 @err(i32 noundef 1, ptr noundef @.str.3) br label %84 84: ; preds = %79, %74 %85 = load i32, ptr %8, align 4 %86 = call i64 @connect(i32 noundef %85, ptr noundef %6, i32 noundef 16) %87 = icmp slt i64 %86, 0 br i1 %87, label %88, label %93 88: ; preds = %84 %89 = load i32, ptr %9, align 4 %90 = load i32, ptr @SIGTERM, align 4 %91 = call i32 @kill(i32 noundef %89, i32 noundef %90) %92 = call i32 @err(i32 noundef 1, ptr noundef @.str.8) br label %93 93: ; preds = %88, %84 %94 = load i32, ptr %8, align 4 %95 = call i64 @close(i32 noundef %94) %96 = icmp slt i64 %95, 0 br i1 %96, label %97, label %102 97: ; preds = %93 %98 = load i32, ptr %9, align 4 %99 = load i32, ptr @SIGTERM, align 4 %100 = call i32 @kill(i32 noundef %98, i32 noundef %99) %101 = call i32 @err(i32 noundef 1, ptr noundef @.str.9) br label %102 102: ; preds = %97, %93 %103 = call i32 @usleep(i32 noundef 100) br label %104 104: ; preds = %102 %105 = load i32, ptr %10, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %10, align 4 %107 = load i32, ptr %10, align 4 %108 = icmp slt i32 %107, 100000 br i1 %108, label %74, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %104 br label %109 109: ; preds = %._crit_edge, %62 %110 = load i32, ptr %9, align 4 %111 = load i32, ptr @SIGTERM, align 4 %112 = call i32 @kill(i32 noundef %110, i32 noundef %111) br label %127 113: ; preds = %59 br label %114 114: ; preds = %126, %113 %115 = load i32, ptr %7, align 4 %116 = call i32 @accept(i32 noundef %115, ptr noundef null, ptr noundef null) store i32 %116, ptr %8, align 4 %117 = icmp slt i32 %116, 0 br i1 %117, label %118, label %120 118: ; preds = %114 %119 = call i32 @err(i32 noundef 1, ptr noundef @.str.10) br label %120 120: ; preds = %118, %114 %121 = load i32, ptr %8, align 4 %122 = call i64 @close(i32 noundef %121) %123 = icmp slt i64 %122, 0 br i1 %123, label %124, label %126 124: ; preds = %120 %125 = call i32 @err(i32 noundef 1, ptr noundef @.str.11) br label %126 126: ; preds = %124, %120 br label %114 127: ; preds = %109 %128 = call i32 @printf(ptr noundef @.str.12) %129 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i64 @sysctlbyname(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @err(i32 noundef, ptr noundef) #1 declare i32 @errx(i32 noundef, ptr noundef) #1 declare i32 @warnx(ptr noundef) #1 declare i32 @socket(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @listen(i32 noundef, i32 noundef) #1 declare i32 @fork(...) #1 declare i64 @close(i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @kill(i32 noundef, i32 noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptb3zpqeb.c' source_filename = "/tmp/tmptb3zpqeb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [56 x i8] c"%.2f in degrees Celsius is %.2f in degrees Fahrenheit.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @fah(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store float %0, ptr %3, align 4 %5 = load float, ptr %3, align 4 %6 = fpext float %5 to double %7 = fmul double %6, 9.000000e+00 %8 = fdiv double %7, 5.000000e+00 %9 = fadd double 3.200000e+01, %8 %10 = fptrunc double %9 to float store float %10, ptr %4, align 4 %11 = load float, ptr %3, align 4 %12 = load float, ptr %4, align 4 %13 = call i32 @printf(ptr noundef @.str, float noundef %11, float noundef %12) %14 = load float, ptr %2, align 4 ret float %14 } declare i32 @printf(ptr noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptb3zpqeb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [56 x i8] c"%.2f in degrees Celsius is %.2f in degrees Fahrenheit.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @fah(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store float %0, ptr %3, align 4 %5 = load float, ptr %3, align 4 %6 = fpext float %5 to double %7 = fmul double %6, 9.000000e+00 %8 = fdiv double %7, 5.000000e+00 %9 = fadd double 3.200000e+01, %8 %10 = fptrunc double %9 to float store float %10, ptr %4, align 4 %11 = load float, ptr %3, align 4 %12 = load float, ptr %4, align 4 %13 = call i32 @printf(ptr noundef @.str, float noundef %11, float noundef %12) %14 = load float, ptr %2, align 4 ret float %14 } declare i32 @printf(ptr noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv7uanofh.c' source_filename = "/tmp/tmpv7uanofh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chi(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 %8 = load double, ptr %6, align 8 %9 = load double, ptr %7, align 8 %10 = fsub double %8, %9 %11 = call double @llvm.fabs.f64(double %10) %12 = fcmp olt double %11, 0x3D719799812DEA11 br i1 %12, label %13, label %21 13: ; preds = %3 %14 = load double, ptr %5, align 8 %15 = load double, ptr %5, align 8 %16 = fneg double %15 %17 = load double, ptr %7, align 8 %18 = fmul double %16, %17 %19 = call double @exp(double noundef %18) #3 %20 = fmul double %14, %19 store double %20, ptr %4, align 8 br label %38 21: ; preds = %3 %22 = load double, ptr %5, align 8 %23 = fneg double %22 %24 = load double, ptr %6, align 8 %25 = fmul double %23, %24 %26 = call double @exp(double noundef %25) #3 %27 = load double, ptr %5, align 8 %28 = fneg double %27 %29 = load double, ptr %7, align 8 %30 = fmul double %28, %29 %31 = call double @exp(double noundef %30) #3 %32 = fsub double %26, %31 %33 = fneg double %32 %34 = load double, ptr %6, align 8 %35 = load double, ptr %7, align 8 %36 = fsub double %34, %35 %37 = fdiv double %33, %36 store double %37, ptr %4, align 8 br label %38 38: ; preds = %21, %13 %39 = load double, ptr %4, align 8 ret double %39 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 ; Function Attrs: nounwind declare double @exp(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv7uanofh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chi(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 %8 = load double, ptr %6, align 8 %9 = load double, ptr %7, align 8 %10 = fsub double %8, %9 %11 = call double @llvm.fabs.f64(double %10) %12 = fcmp olt double %11, 0x3D719799812DEA11 br i1 %12, label %13, label %21 13: ; preds = %3 %14 = load double, ptr %5, align 8 %15 = load double, ptr %5, align 8 %16 = fneg double %15 %17 = load double, ptr %7, align 8 %18 = fmul double %16, %17 %19 = call double @exp(double noundef %18) #3 %20 = fmul double %14, %19 store double %20, ptr %4, align 8 br label %38 21: ; preds = %3 %22 = load double, ptr %5, align 8 %23 = fneg double %22 %24 = load double, ptr %6, align 8 %25 = fmul double %23, %24 %26 = call double @exp(double noundef %25) #3 %27 = load double, ptr %5, align 8 %28 = fneg double %27 %29 = load double, ptr %7, align 8 %30 = fmul double %28, %29 %31 = call double @exp(double noundef %30) #3 %32 = fsub double %26, %31 %33 = fneg double %32 %34 = load double, ptr %6, align 8 %35 = load double, ptr %7, align 8 %36 = fsub double %34, %35 %37 = fdiv double %33, %36 store double %37, ptr %4, align 8 br label %38 38: ; preds = %21, %13 %39 = load double, ptr %4, align 8 ret double %39 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 ; Function Attrs: nounwind declare double @exp(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvgxjqs5s.c' source_filename = "/tmp/tmpvgxjqs5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"sldemo_lct_fault.log\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"wt\00", align 1 @.str.2 = private unnamed_addr constant [45 x i8] c"Cannot open the file 'sldemo_lct_fault.log'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @openLogFile(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %9 7: ; preds = %1 %8 = call i32 @printf(ptr noundef @.str.2) br label %9 9: ; preds = %7, %1 %10 = load ptr, ptr %3, align 8 %11 = load ptr, ptr %2, align 8 store ptr %10, ptr %11, align 8 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvgxjqs5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"sldemo_lct_fault.log\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"wt\00", align 1 @.str.2 = private unnamed_addr constant [45 x i8] c"Cannot open the file 'sldemo_lct_fault.log'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @openLogFile(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %9 7: ; preds = %1 %8 = call i32 @printf(ptr noundef @.str.2) br label %9 9: ; preds = %7, %1 %10 = load ptr, ptr %3, align 8 %11 = load ptr, ptr %2, align 8 store ptr %10, ptr %11, align 8 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqubmwnl5.c' source_filename = "/tmp/tmpqubmwnl5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = load ptr, ptr @stdin, align 8 store ptr %10, ptr %6, align 8 br label %35 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @strcmp(ptr noundef %14, ptr noundef @.str) %16 = icmp ne i32 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %11 %18 = load ptr, ptr @stdin, align 8 store ptr %18, ptr %6, align 8 br label %34 19: ; preds = %11 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.1) store ptr %23, ptr %6, align 8 %24 = load ptr, ptr %6, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %33, label %26 26: ; preds = %19 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 1 %29 = load ptr, ptr %28, align 8 %30 = call i32 @perror(ptr noundef %29) %31 = load i32, ptr @EXIT_FAILURE, align 4 %32 = call i32 @exit(i32 noundef %31) #3 unreachable 33: ; preds = %19 br label %34 34: ; preds = %33, %17 br label %35 35: ; preds = %34, %9 br label %36 36: ; preds = %40, %35 %37 = load ptr, ptr %6, align 8 %38 = call i64 @run_line(ptr noundef %37) %39 = icmp ne i64 %38, 0 br i1 %39, label %40, label %41 40: ; preds = %36 br label %36, !llvm.loop !6 41: ; preds = %36 %42 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %42 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @run_line(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpqubmwnl5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = load ptr, ptr @stdin, align 8 store ptr %10, ptr %6, align 8 br label %35 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @strcmp(ptr noundef %14, ptr noundef @.str) %16 = icmp ne i32 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %11 %18 = load ptr, ptr @stdin, align 8 store ptr %18, ptr %6, align 8 br label %34 19: ; preds = %11 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.1) store ptr %23, ptr %6, align 8 %24 = load ptr, ptr %6, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %33, label %26 26: ; preds = %19 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 1 %29 = load ptr, ptr %28, align 8 %30 = call i32 @perror(ptr noundef %29) %31 = load i32, ptr @EXIT_FAILURE, align 4 %32 = call i32 @exit(i32 noundef %31) #3 unreachable 33: ; preds = %19 br label %34 34: ; preds = %33, %17 br label %35 35: ; preds = %34, %9 br label %36 36: ; preds = %36, %35 %37 = load ptr, ptr %6, align 8 %38 = call i64 @run_line(ptr noundef %37) %39 = icmp ne i64 %38, 0 br i1 %39, label %36, label %40, !llvm.loop !6 40: ; preds = %36 %41 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %41 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @run_line(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmps6nzrhwh.c' source_filename = "/tmp/tmps6nzrhwh.c" target datalayout = "e-m:e-p270: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/tmps6nzrhwh.c" target datalayout = "e-m:e-p270: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/tmpq18mrw5n.c' source_filename = "/tmp/tmpq18mrw5n.c" target datalayout = "e-m:e-p270: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, i32, i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"inet_aton() failed for address '%s'\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%s:1|g\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @send_statsd_gauge(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [128 x i8], align 16 store ptr %0, ptr %3, align 8 store i32 12, ptr %6, align 4 %8 = load i32, ptr @AF_INET, align 4 %9 = load i32, ptr @SOCK_DGRAM, align 4 %10 = load i32, ptr @IPPROTO_UDP, align 4 %11 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef %10) store i32 %11, ptr %5, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %14 13: ; preds = %1 store i32 -1, ptr %2, align 4 br label %41 14: ; preds = %1 %15 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 12) %16 = load i32, ptr @AF_INET, align 4 %17 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2 store i32 %16, ptr %17, align 4 %18 = call i32 @htons(i32 noundef 8125) %19 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1 store i32 %18, ptr %19, align 4 %20 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 %21 = call i64 @inet_aton(ptr noundef @.str, ptr noundef %20) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %14 %24 = load i32, ptr @stderr, align 4 %25 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str.1, ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %41 26: ; preds = %14 %27 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %28 = load ptr, ptr %3, align 8 %29 = call i32 @snprintf(ptr noundef %27, i32 noundef 128, ptr noundef @.str.2, ptr noundef %28) %30 = load i32, ptr %5, align 4 %31 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %32 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %33 = call i32 @strlen(ptr noundef %32) %34 = load i32, ptr %6, align 4 %35 = call i32 @sendto(i32 noundef %30, ptr noundef %31, i32 noundef %33, i32 noundef 0, ptr noundef %4, i32 noundef %34) %36 = icmp eq i32 %35, -1 br i1 %36, label %37, label %38 37: ; preds = %26 store i32 -1, ptr %2, align 4 br label %41 38: ; preds = %26 %39 = load i32, ptr %5, align 4 %40 = call i32 @close(i32 noundef %39) store i32 0, ptr %2, align 4 br label %41 41: ; preds = %38, %37, %23, %13 %42 = load i32, ptr %2, align 4 ret i32 %42 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @inet_aton(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq18mrw5n.c" target datalayout = "e-m:e-p270: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, i32, i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"inet_aton() failed for address '%s'\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%s:1|g\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @send_statsd_gauge(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [128 x i8], align 16 store ptr %0, ptr %3, align 8 store i32 12, ptr %6, align 4 %8 = load i32, ptr @AF_INET, align 4 %9 = load i32, ptr @SOCK_DGRAM, align 4 %10 = load i32, ptr @IPPROTO_UDP, align 4 %11 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef %10) store i32 %11, ptr %5, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %14 13: ; preds = %1 store i32 -1, ptr %2, align 4 br label %41 14: ; preds = %1 %15 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 12) %16 = load i32, ptr @AF_INET, align 4 %17 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2 store i32 %16, ptr %17, align 4 %18 = call i32 @htons(i32 noundef 8125) %19 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1 store i32 %18, ptr %19, align 4 %20 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 %21 = call i64 @inet_aton(ptr noundef @.str, ptr noundef %20) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %14 %24 = load i32, ptr @stderr, align 4 %25 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str.1, ptr noundef @.str) store i32 -1, ptr %2, align 4 br label %41 26: ; preds = %14 %27 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %28 = load ptr, ptr %3, align 8 %29 = call i32 @snprintf(ptr noundef %27, i32 noundef 128, ptr noundef @.str.2, ptr noundef %28) %30 = load i32, ptr %5, align 4 %31 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %32 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %33 = call i32 @strlen(ptr noundef %32) %34 = load i32, ptr %6, align 4 %35 = call i32 @sendto(i32 noundef %30, ptr noundef %31, i32 noundef %33, i32 noundef 0, ptr noundef %4, i32 noundef %34) %36 = icmp eq i32 %35, -1 br i1 %36, label %37, label %38 37: ; preds = %26 store i32 -1, ptr %2, align 4 br label %41 38: ; preds = %26 %39 = load i32, ptr %5, align 4 %40 = call i32 @close(i32 noundef %39) store i32 0, ptr %2, align 4 br label %41 41: ; preds = %38, %37, %23, %13 %42 = load i32, ptr %2, align 4 ret i32 %42 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @inet_aton(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi29712u7.c' source_filename = "/tmp/tmpi29712u7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.2x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printHexaBin(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 br label %5 5: ; preds = %12, %2 %6 = load i64, ptr %4, align 8 %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %17 8: ; preds = %5 %9 = load ptr, ptr %3, align 8 %10 = load i8, ptr %9, align 1 %11 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %10) br label %12 12: ; preds = %8 %13 = load i64, ptr %4, align 8 %14 = add i64 %13, -1 store i64 %14, ptr %4, align 8 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %3, align 8 br label %5, !llvm.loop !6 17: ; preds = %5 ret void } declare i32 @printf(ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi29712u7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.2x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printHexaBin(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = icmp ne i64 %5, 0 br i1 %6, label %.lr.ph, label %18 .lr.ph: ; preds = %2 br label %7 7: ; preds = %.lr.ph, %11 %8 = load ptr, ptr %3, align 8 %9 = load i8, ptr %8, align 1 %10 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %9) br label %11 11: ; preds = %7 %12 = load i64, ptr %4, align 8 %13 = add i64 %12, -1 store i64 %13, ptr %4, align 8 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %3, align 8 %16 = load i64, ptr %4, align 8 %17 = icmp ne i64 %16, 0 br i1 %17, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %18 18: ; preds = %._crit_edge, %2 ret void } declare i32 @printf(ptr noundef, 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"}
; ModuleID = '/tmp/tmpj9zguhg1.c' source_filename = "/tmp/tmpj9zguhg1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_waddchstr(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = call i32 @check_arg_count(i32 noundef %6, i32 noundef 2) %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %10 9: ; preds = %2 br label %27 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i64 @sscanf(ptr noundef %13, ptr noundef @.str, ptr noundef %5) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %10 %17 = call i32 @report_count(i32 noundef 1) %18 = call i32 @report_error(ptr noundef @.str.1) br label %27 19: ; preds = %10 %20 = call i32 @report_count(i32 noundef 1) %21 = load ptr, ptr %5, align 8 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i32 @waddchstr(ptr noundef %21, ptr noundef %24) %26 = call i32 @report_return(i32 noundef %25) br label %27 27: ; preds = %19, %16, %9 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @report_return(i32 noundef) #1 declare i32 @waddchstr(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/tmpj9zguhg1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_waddchstr(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = call i32 @check_arg_count(i32 noundef %6, i32 noundef 2) %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %10 9: ; preds = %2 br label %27 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i64 @sscanf(ptr noundef %13, ptr noundef @.str, ptr noundef %5) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %10 %17 = call i32 @report_count(i32 noundef 1) %18 = call i32 @report_error(ptr noundef @.str.1) br label %27 19: ; preds = %10 %20 = call i32 @report_count(i32 noundef 1) %21 = load ptr, ptr %5, align 8 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i32 @waddchstr(ptr noundef %21, ptr noundef %24) %26 = call i32 @report_return(i32 noundef %25) br label %27 27: ; preds = %19, %16, %9 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @report_return(i32 noundef) #1 declare i32 @waddchstr(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/tmpqil_y1xa.c' source_filename = "/tmp/tmpqil_y1xa.c" target datalayout = "e-m:e-p270: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/tmpqil_y1xa.c" target datalayout = "e-m:e-p270: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/tmp95sz23vz.c' source_filename = "/tmp/tmp95sz23vz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Max of above nos. is %f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x float], align 4 %3 = alloca float, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %13, %0 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 3 br i1 %7, label %8, label %16 8: ; preds = %5 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [3 x float], ptr %2, i64 0, i64 %10 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %11) br label %13 13: ; preds = %8 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %4, align 4 br label %5, !llvm.loop !6 16: ; preds = %5 %17 = getelementptr inbounds [3 x float], ptr %2, i64 0, i64 0 %18 = load float, ptr %17, align 4 store float %18, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %19 19: ; preds = %35, %16 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %22, label %38 22: ; preds = %19 %23 = load i32, ptr %4, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [3 x float], ptr %2, i64 0, i64 %24 %26 = load float, ptr %25, align 4 %27 = load float, ptr %3, align 4 %28 = fcmp ogt float %26, %27 br i1 %28, label %29, label %34 29: ; preds = %22 %30 = load i32, ptr %4, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [3 x float], ptr %2, i64 0, i64 %31 %33 = load float, ptr %32, align 4 store float %33, ptr %3, align 4 br label %34 34: ; preds = %29, %22 br label %35 35: ; preds = %34 %36 = load i32, ptr %4, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %4, align 4 br label %19, !llvm.loop !8 38: ; preds = %19 %39 = load float, ptr %3, align 4 %40 = call i32 @printf(ptr noundef @.str.1, float noundef %39) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp95sz23vz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Max of above nos. is %f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x float], align 4 %3 = alloca float, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp slt i32 %5, 3 br i1 %6, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %12 %8 = load i32, ptr %4, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [3 x float], ptr %2, i64 0, i64 %9 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10) br label %12 12: ; preds = %7 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 3 br i1 %16, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 %18 = getelementptr inbounds [3 x float], ptr %2, i64 0, i64 0 %19 = load float, ptr %18, align 4 store float %19, ptr %3, align 4 store i32 0, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %.lr.ph2, label %40 .lr.ph2: ; preds = %17 br label %22 22: ; preds = %.lr.ph2, %35 %23 = load i32, ptr %4, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [3 x float], ptr %2, i64 0, i64 %24 %26 = load float, ptr %25, align 4 %27 = load float, ptr %3, align 4 %28 = fcmp ogt float %26, %27 br i1 %28, label %29, label %34 29: ; preds = %22 %30 = load i32, ptr %4, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [3 x float], ptr %2, i64 0, i64 %31 %33 = load float, ptr %32, align 4 store float %33, ptr %3, align 4 br label %34 34: ; preds = %29, %22 br label %35 35: ; preds = %34 %36 = load i32, ptr %4, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %4, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp slt i32 %38, 3 br i1 %39, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %35 br label %40 40: ; preds = %._crit_edge3, %17 %41 = load float, ptr %3, align 4 %42 = call i32 @printf(ptr noundef @.str.1, float noundef %41) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp4olb4obf.c' source_filename = "/tmp/tmp4olb4obf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @ldexpf(float noundef %0, i32 noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca i32, align 4 store float %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load float, ptr %4, align 4 %7 = call i32 @isfinite(float noundef %6) %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = load float, ptr %4, align 4 %11 = fcmp oeq float %10, 0.000000e+00 br i1 %11, label %12, label %14 12: ; preds = %9, %2 %13 = load float, ptr %4, align 4 store float %13, ptr %3, align 4 br label %19 14: ; preds = %9 %15 = load float, ptr %4, align 4 %16 = load i32, ptr %5, align 4 %17 = call float @scalbnf(float noundef %15, i32 noundef %16) #3 store float %17, ptr %4, align 4 %18 = load float, ptr %4, align 4 store float %18, ptr %3, align 4 br label %19 19: ; preds = %14, %12 %20 = load float, ptr %3, align 4 ret float %20 } declare i32 @isfinite(float noundef) #1 ; Function Attrs: nounwind declare float @scalbnf(float noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4olb4obf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @ldexpf(float noundef %0, i32 noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca i32, align 4 store float %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load float, ptr %4, align 4 %7 = call i32 @isfinite(float noundef %6) %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = load float, ptr %4, align 4 %11 = fcmp oeq float %10, 0.000000e+00 br i1 %11, label %12, label %14 12: ; preds = %9, %2 %13 = load float, ptr %4, align 4 store float %13, ptr %3, align 4 br label %19 14: ; preds = %9 %15 = load float, ptr %4, align 4 %16 = load i32, ptr %5, align 4 %17 = call float @scalbnf(float noundef %15, i32 noundef %16) #3 store float %17, ptr %4, align 4 %18 = load float, ptr %4, align 4 store float %18, ptr %3, align 4 br label %19 19: ; preds = %14, %12 %20 = load float, ptr %3, align 4 ret float %20 } declare i32 @isfinite(float noundef) #1 ; Function Attrs: nounwind declare float @scalbnf(float noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw14st34q.c' source_filename = "/tmp/tmpw14st34q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"Stats.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [112 x i8] c"\0A __________________________________\0A: Nothing to recover :\0A:__________________________________:\0A\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"Stats1.txt\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.6 = private unnamed_addr constant [75 x i8] c"\0A __________________________________\0A: Select run to recover :\0A\00", align 1 @.str.7 = private unnamed_addr constant [75 x i8] c": -------------------------------- :\0A: :\0A\00", align 1 @.str.8 = private unnamed_addr constant [39 x i8] c": %#02d ~ Wins - %4d Loss - %4d :\0A\00", align 1 @.str.9 = private unnamed_addr constant [39 x i8] c":__________________________________:\0A\0A\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.11 = private unnamed_addr constant [4 x i8] c"all\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"cls\00", align 1 @.str.13 = private unnamed_addr constant [13 x i8] c" %d %d %d %d\00", align 1 @.str.14 = private unnamed_addr constant [114 x i8] c"\0A __________________________________ \0A: Recovered :\0A:__________________________________:\0A\0A\00", align 1 @.str.15 = private unnamed_addr constant [114 x i8] c"\0A __________________________________ \0A: Unable to recover :\0A:__________________________________:\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @recover_run() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca [10 x i8], align 1 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store double 0.000000e+00, ptr %12, align 8 %14 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %14, ptr %1, align 8 br label %15 15: ; preds = %26, %0 %16 = load ptr, ptr %1, align 8 %17 = call i64 @fscanf(ptr noundef %16, ptr noundef @.str.2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %7) %18 = load i64, ptr @EOF, align 8 %19 = icmp ne i64 %17, %18 br i1 %19, label %20, label %27 20: ; preds = %15 %21 = load i32, ptr %7, align 4 %22 = icmp eq i32 %21, 1 br i1 %22, label %23, label %26 23: ; preds = %20 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 br label %26 26: ; preds = %23, %20 br label %15, !llvm.loop !6 27: ; preds = %15 %28 = load ptr, ptr %1, align 8 %29 = call i32 @fclose(ptr noundef %28) %30 = load i32, ptr %6, align 4 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %27 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %170 34: ; preds = %27 %35 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %35, ptr %1, align 8 %36 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %36, ptr %2, align 8 store i32 0, ptr %6, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %39 39: ; preds = %55, %34 %40 = load ptr, ptr %1, align 8 %41 = call i64 @fscanf(ptr noundef %40, ptr noundef @.str.2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %7) %42 = load i64, ptr @EOF, align 8 %43 = icmp ne i64 %41, %42 br i1 %43, label %44, label %56 44: ; preds = %39 %45 = load i32, ptr %7, align 4 %46 = icmp eq i32 %45, 1 br i1 %46, label %47, label %55 47: ; preds = %44 %48 = load i32, ptr %6, align 4 %49 = add nsw i32 %48, 1 %50 = load i32, ptr %4, align 4 %51 = load i32, ptr %5, align 4 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %49, i32 noundef %50, i32 noundef %51) %53 = load i32, ptr %6, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %6, align 4 br label %55 55: ; preds = %47, %44 br label %39, !llvm.loop !8 56: ; preds = %39 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %58 = load ptr, ptr %1, align 8 %59 = call i32 @fclose(ptr noundef %58) %60 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %60, ptr %1, align 8 %61 = call i32 @scanf(ptr noundef @.str.10, ptr noundef %13) store i32 1, ptr %6, align 4 %62 = getelementptr inbounds [10 x i8], ptr %13, i64 0, i64 0 %63 = call i64 @strcmp(ptr noundef %62, ptr noundef @.str.11) %64 = icmp eq i64 %63, 0 br i1 %64, label %65, label %94 65: ; preds = %56 %66 = call i32 @system(ptr noundef @.str.12) br label %67 67: ; preds = %88, %65 %68 = load ptr, ptr %1, align 8 %69 = call i64 @fscanf(ptr noundef %68, ptr noundef @.str.2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %7) %70 = load i64, ptr @EOF, align 8 %71 = icmp ne i64 %69, %70 br i1 %71, label %72, label %89 72: ; preds = %67 %73 = load i32, ptr %7, align 4 %74 = icmp eq i32 %73, 1 br i1 %74, label %75, label %81 75: ; preds = %72 %76 = load ptr, ptr %2, align 8 %77 = load i32, ptr %3, align 4 %78 = load i32, ptr %4, align 4 %79 = load i32, ptr %5, align 4 %80 = call i32 @fprintf(ptr noundef %76, ptr noundef @.str.13, i32 noundef %77, i32 noundef %78, i32 noundef %79, i32 noundef 0) br label %88 81: ; preds = %72 %82 = load ptr, ptr %2, align 8 %83 = load i32, ptr %3, align 4 %84 = load i32, ptr %4, align 4 %85 = load i32, ptr %5, align 4 %86 = load i32, ptr %7, align 4 %87 = call i32 @fprintf(ptr noundef %82, ptr noundef @.str.13, i32 noundef %83, i32 noundef %84, i32 noundef %85, i32 noundef %86) br label %88 88: ; preds = %81, %75 br label %67, !llvm.loop !9 89: ; preds = %67 %90 = load ptr, ptr %1, align 8 %91 = call i32 @fclose(ptr noundef %90) %92 = load ptr, ptr %2, align 8 %93 = call i32 @fclose(ptr noundef %92) br label %143 94: ; preds = %56 %95 = getelementptr inbounds [10 x i8], ptr %13, i64 0, i64 0 %96 = call i32 @atoi(ptr noundef %95) store i32 %96, ptr %8, align 4 %97 = call i32 @system(ptr noundef @.str.12) %98 = load i32, ptr %8, align 4 %99 = icmp ne i32 %98, 0 br i1 %99, label %100, label %142 100: ; preds = %94 br label %101 101: ; preds = %136, %100 %102 = load ptr, ptr %1, align 8 %103 = call i64 @fscanf(ptr noundef %102, ptr noundef @.str.2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %7) %104 = load i64, ptr @EOF, align 8 %105 = icmp ne i64 %103, %104 br i1 %105, label %106, label %137 106: ; preds = %101 %107 = load i32, ptr %7, align 4 %108 = icmp eq i32 %107, 1 br i1 %108, label %109, label %129 109: ; preds = %106 %110 = load i32, ptr %6, align 4 %111 = load i32, ptr %8, align 4 %112 = icmp eq i32 %110, %111 br i1 %112, label %113, label %119 113: ; preds = %109 %114 = load ptr, ptr %2, align 8 %115 = load i32, ptr %3, align 4 %116 = load i32, ptr %4, align 4 %117 = load i32, ptr %5, align 4 %118 = call i32 @fprintf(ptr noundef %114, ptr noundef @.str.13, i32 noundef %115, i32 noundef %116, i32 noundef %117, i32 noundef 0) br label %126 119: ; preds = %109 %120 = load ptr, ptr %2, align 8 %121 = load i32, ptr %3, align 4 %122 = load i32, ptr %4, align 4 %123 = load i32, ptr %5, align 4 %124 = load i32, ptr %7, align 4 %125 = call i32 @fprintf(ptr noundef %120, ptr noundef @.str.13, i32 noundef %121, i32 noundef %122, i32 noundef %123, i32 noundef %124) br label %126 126: ; preds = %119, %113 %127 = load i32, ptr %6, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %6, align 4 br label %136 129: ; preds = %106 %130 = load ptr, ptr %2, align 8 %131 = load i32, ptr %3, align 4 %132 = load i32, ptr %4, align 4 %133 = load i32, ptr %5, align 4 %134 = load i32, ptr %7, align 4 %135 = call i32 @fprintf(ptr noundef %130, ptr noundef @.str.13, i32 noundef %131, i32 noundef %132, i32 noundef %133, i32 noundef %134) br label %136 136: ; preds = %129, %126 br label %101, !llvm.loop !10 137: ; preds = %101 %138 = load ptr, ptr %1, align 8 %139 = call i32 @fclose(ptr noundef %138) %140 = load ptr, ptr %2, align 8 %141 = call i32 @fclose(ptr noundef %140) br label %142 142: ; preds = %137, %94 br label %143 143: ; preds = %142, %89 %144 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.5) store ptr %144, ptr %1, align 8 %145 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.1) store ptr %145, ptr %2, align 8 br label %146 146: ; preds = %151, %143 %147 = load ptr, ptr %2, align 8 %148 = call i64 @fscanf(ptr noundef %147, ptr noundef @.str.2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %7) %149 = load i64, ptr @EOF, align 8 %150 = icmp ne i64 %148, %149 br i1 %150, label %151, label %158 151: ; preds = %146 %152 = load ptr, ptr %1, align 8 %153 = load i32, ptr %3, align 4 %154 = load i32, ptr %4, align 4 %155 = load i32, ptr %5, align 4 %156 = load i32, ptr %7, align 4 %157 = call i32 @fprintf(ptr noundef %152, ptr noundef @.str.13, i32 noundef %153, i32 noundef %154, i32 noundef %155, i32 noundef %156) br label %146, !llvm.loop !11 158: ; preds = %146 %159 = load ptr, ptr %1, align 8 %160 = call i32 @fclose(ptr noundef %159) %161 = load ptr, ptr %2, align 8 %162 = call i32 @fclose(ptr noundef %161) %163 = call i64 @remove(ptr noundef @.str.4) %164 = icmp eq i64 %163, 0 br i1 %164, label %165, label %167 165: ; preds = %158 %166 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) br label %169 167: ; preds = %158 %168 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) br label %169 169: ; preds = %167, %165 br label %170 170: ; preds = %169, %32 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i64 @remove(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpw14st34q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"Stats.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [112 x i8] c"\0A __________________________________\0A: Nothing to recover :\0A:__________________________________:\0A\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"Stats1.txt\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.6 = private unnamed_addr constant [75 x i8] c"\0A __________________________________\0A: Select run to recover :\0A\00", align 1 @.str.7 = private unnamed_addr constant [75 x i8] c": -------------------------------- :\0A: :\0A\00", align 1 @.str.8 = private unnamed_addr constant [39 x i8] c": %#02d ~ Wins - %4d Loss - %4d :\0A\00", align 1 @.str.9 = private unnamed_addr constant [39 x i8] c":__________________________________:\0A\0A\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.11 = private unnamed_addr constant [4 x i8] c"all\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"cls\00", align 1 @.str.13 = private unnamed_addr constant [13 x i8] c" %d %d %d %d\00", align 1 @.str.14 = private unnamed_addr constant [114 x i8] c"\0A __________________________________ \0A: Recovered :\0A:__________________________________:\0A\0A\00", align 1 @.str.15 = private unnamed_addr constant [114 x i8] c"\0A __________________________________ \0A: Unable to recover :\0A:__________________________________:\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @recover_run() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca [10 x i8], align 1 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store double 0.000000e+00, ptr %12, align 8 %14 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %14, ptr %1, align 8 %15 = load ptr, ptr %1, align 8 %16 = call i64 @fscanf(ptr noundef %15, ptr noundef @.str.2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %7) %17 = load i64, ptr @EOF, align 8 %18 = icmp ne i64 %16, %17 br i1 %18, label %.lr.ph, label %30 .lr.ph: ; preds = %0 br label %19 19: ; preds = %.lr.ph, %25 %20 = load i32, ptr %7, align 4 %21 = icmp eq i32 %20, 1 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %6, align 4 br label %25 25: ; preds = %22, %19 %26 = load ptr, ptr %1, align 8 %27 = call i64 @fscanf(ptr noundef %26, ptr noundef @.str.2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %7) %28 = load i64, ptr @EOF, align 8 %29 = icmp ne i64 %27, %28 br i1 %29, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %30 30: ; preds = %._crit_edge, %0 %31 = load ptr, ptr %1, align 8 %32 = call i32 @fclose(ptr noundef %31) %33 = load i32, ptr %6, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %30 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %185 37: ; preds = %30 %38 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %38, ptr %1, align 8 %39 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %39, ptr %2, align 8 store i32 0, ptr %6, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %42 = load ptr, ptr %1, align 8 %43 = call i64 @fscanf(ptr noundef %42, ptr noundef @.str.2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %7) %44 = load i64, ptr @EOF, align 8 %45 = icmp ne i64 %43, %44 br i1 %45, label %.lr.ph2, label %62 .lr.ph2: ; preds = %37 br label %46 46: ; preds = %.lr.ph2, %57 %47 = load i32, ptr %7, align 4 %48 = icmp eq i32 %47, 1 br i1 %48, label %49, label %57 49: ; preds = %46 %50 = load i32, ptr %6, align 4 %51 = add nsw i32 %50, 1 %52 = load i32, ptr %4, align 4 %53 = load i32, ptr %5, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %51, i32 noundef %52, i32 noundef %53) %55 = load i32, ptr %6, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %6, align 4 br label %57 57: ; preds = %49, %46 %58 = load ptr, ptr %1, align 8 %59 = call i64 @fscanf(ptr noundef %58, ptr noundef @.str.2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %7) %60 = load i64, ptr @EOF, align 8 %61 = icmp ne i64 %59, %60 br i1 %61, label %46, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %62 62: ; preds = %._crit_edge3, %37 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %64 = load ptr, ptr %1, align 8 %65 = call i32 @fclose(ptr noundef %64) %66 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %66, ptr %1, align 8 %67 = call i32 @scanf(ptr noundef @.str.10, ptr noundef %13) store i32 1, ptr %6, align 4 %68 = getelementptr inbounds [10 x i8], ptr %13, i64 0, i64 0 %69 = call i64 @strcmp(ptr noundef %68, ptr noundef @.str.11) %70 = icmp eq i64 %69, 0 br i1 %70, label %71, label %103 71: ; preds = %62 %72 = call i32 @system(ptr noundef @.str.12) %73 = load ptr, ptr %1, align 8 %74 = call i64 @fscanf(ptr noundef %73, ptr noundef @.str.2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %7) %75 = load i64, ptr @EOF, align 8 %76 = icmp ne i64 %74, %75 br i1 %76, label %.lr.ph8, label %98 .lr.ph8: ; preds = %71 br label %77 77: ; preds = %.lr.ph8, %93 %78 = load i32, ptr %7, align 4 %79 = icmp eq i32 %78, 1 br i1 %79, label %80, label %86 80: ; preds = %77 %81 = load ptr, ptr %2, align 8 %82 = load i32, ptr %3, align 4 %83 = load i32, ptr %4, align 4 %84 = load i32, ptr %5, align 4 %85 = call i32 @fprintf(ptr noundef %81, ptr noundef @.str.13, i32 noundef %82, i32 noundef %83, i32 noundef %84, i32 noundef 0) br label %93 86: ; preds = %77 %87 = load ptr, ptr %2, align 8 %88 = load i32, ptr %3, align 4 %89 = load i32, ptr %4, align 4 %90 = load i32, ptr %5, align 4 %91 = load i32, ptr %7, align 4 %92 = call i32 @fprintf(ptr noundef %87, ptr noundef @.str.13, i32 noundef %88, i32 noundef %89, i32 noundef %90, i32 noundef %91) br label %93 93: ; preds = %86, %80 %94 = load ptr, ptr %1, align 8 %95 = call i64 @fscanf(ptr noundef %94, ptr noundef @.str.2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %7) %96 = load i64, ptr @EOF, align 8 %97 = icmp ne i64 %95, %96 br i1 %97, label %77, label %._crit_edge9, !llvm.loop !9 ._crit_edge9: ; preds = %93 br label %98 98: ; preds = %._crit_edge9, %71 %99 = load ptr, ptr %1, align 8 %100 = call i32 @fclose(ptr noundef %99) %101 = load ptr, ptr %2, align 8 %102 = call i32 @fclose(ptr noundef %101) br label %155 103: ; preds = %62 %104 = getelementptr inbounds [10 x i8], ptr %13, i64 0, i64 0 %105 = call i32 @atoi(ptr noundef %104) store i32 %105, ptr %8, align 4 %106 = call i32 @system(ptr noundef @.str.12) %107 = load i32, ptr %8, align 4 %108 = icmp ne i32 %107, 0 br i1 %108, label %109, label %154 109: ; preds = %103 %110 = load ptr, ptr %1, align 8 %111 = call i64 @fscanf(ptr noundef %110, ptr noundef @.str.2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %7) %112 = load i64, ptr @EOF, align 8 %113 = icmp ne i64 %111, %112 br i1 %113, label %.lr.ph5, label %149 .lr.ph5: ; preds = %109 br label %114 114: ; preds = %.lr.ph5, %144 %115 = load i32, ptr %7, align 4 %116 = icmp eq i32 %115, 1 br i1 %116, label %117, label %137 117: ; preds = %114 %118 = load i32, ptr %6, align 4 %119 = load i32, ptr %8, align 4 %120 = icmp eq i32 %118, %119 br i1 %120, label %121, label %127 121: ; preds = %117 %122 = load ptr, ptr %2, align 8 %123 = load i32, ptr %3, align 4 %124 = load i32, ptr %4, align 4 %125 = load i32, ptr %5, align 4 %126 = call i32 @fprintf(ptr noundef %122, ptr noundef @.str.13, i32 noundef %123, i32 noundef %124, i32 noundef %125, i32 noundef 0) br label %134 127: ; preds = %117 %128 = load ptr, ptr %2, align 8 %129 = load i32, ptr %3, align 4 %130 = load i32, ptr %4, align 4 %131 = load i32, ptr %5, align 4 %132 = load i32, ptr %7, align 4 %133 = call i32 @fprintf(ptr noundef %128, ptr noundef @.str.13, i32 noundef %129, i32 noundef %130, i32 noundef %131, i32 noundef %132) br label %134 134: ; preds = %127, %121 %135 = load i32, ptr %6, align 4 %136 = add nsw i32 %135, 1 store i32 %136, ptr %6, align 4 br label %144 137: ; preds = %114 %138 = load ptr, ptr %2, align 8 %139 = load i32, ptr %3, align 4 %140 = load i32, ptr %4, align 4 %141 = load i32, ptr %5, align 4 %142 = load i32, ptr %7, align 4 %143 = call i32 @fprintf(ptr noundef %138, ptr noundef @.str.13, i32 noundef %139, i32 noundef %140, i32 noundef %141, i32 noundef %142) br label %144 144: ; preds = %137, %134 %145 = load ptr, ptr %1, align 8 %146 = call i64 @fscanf(ptr noundef %145, ptr noundef @.str.2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %7) %147 = load i64, ptr @EOF, align 8 %148 = icmp ne i64 %146, %147 br i1 %148, label %114, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %144 br label %149 149: ; preds = %._crit_edge6, %109 %150 = load ptr, ptr %1, align 8 %151 = call i32 @fclose(ptr noundef %150) %152 = load ptr, ptr %2, align 8 %153 = call i32 @fclose(ptr noundef %152) br label %154 154: ; preds = %149, %103 br label %155 155: ; preds = %154, %98 %156 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.5) store ptr %156, ptr %1, align 8 %157 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.1) store ptr %157, ptr %2, align 8 %158 = load ptr, ptr %2, align 8 %159 = call i64 @fscanf(ptr noundef %158, ptr noundef @.str.2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %7) %160 = load i64, ptr @EOF, align 8 %161 = icmp ne i64 %159, %160 br i1 %161, label %.lr.ph11, label %173 .lr.ph11: ; preds = %155 br label %162 162: ; preds = %.lr.ph11, %162 %163 = load ptr, ptr %1, align 8 %164 = load i32, ptr %3, align 4 %165 = load i32, ptr %4, align 4 %166 = load i32, ptr %5, align 4 %167 = load i32, ptr %7, align 4 %168 = call i32 @fprintf(ptr noundef %163, ptr noundef @.str.13, i32 noundef %164, i32 noundef %165, i32 noundef %166, i32 noundef %167) %169 = load ptr, ptr %2, align 8 %170 = call i64 @fscanf(ptr noundef %169, ptr noundef @.str.2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %7) %171 = load i64, ptr @EOF, align 8 %172 = icmp ne i64 %170, %171 br i1 %172, label %162, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %162 br label %173 173: ; preds = %._crit_edge12, %155 %174 = load ptr, ptr %1, align 8 %175 = call i32 @fclose(ptr noundef %174) %176 = load ptr, ptr %2, align 8 %177 = call i32 @fclose(ptr noundef %176) %178 = call i64 @remove(ptr noundef @.str.4) %179 = icmp eq i64 %178, 0 br i1 %179, label %180, label %182 180: ; preds = %173 %181 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) br label %184 182: ; preds = %173 %183 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) br label %184 184: ; preds = %182, %180 br label %185 185: ; preds = %184, %35 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i64 @remove(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpgzak1ogw.c' source_filename = "/tmp/tmpgzak1ogw.c" target datalayout = "e-m:e-p270: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/tmpgzak1ogw.c" target datalayout = "e-m:e-p270: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/tmpvbwry9sd.c' source_filename = "/tmp/tmpvbwry9sd.c" target datalayout = "e-m:e-p270: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/tmpvbwry9sd.c" target datalayout = "e-m:e-p270: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/tmp9fm3ze54.c' source_filename = "/tmp/tmp9fm3ze54.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s \00", align 1 @.str.1 = private unnamed_addr constant [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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %6 6: ; preds = %10, %2 %7 = load i32, ptr %4, align 4 %8 = add nsw i32 %7, -1 store i32 %8, ptr %4, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %19 10: ; preds = %6 %11 = load i32, ptr %4, align 4 %12 = icmp sgt i32 %11, 1 %13 = zext i1 %12 to i64 %14 = select i1 %12, ptr @.str, ptr @.str.1 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i32 1 store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %16, align 8 %18 = call i32 @printf(ptr noundef %14, ptr noundef %17) br label %6, !llvm.loop !6 19: ; preds = %6 ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9fm3ze54.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s \00", align 1 @.str.1 = private unnamed_addr constant [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 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 = add nsw i32 %6, -1 store i32 %7, ptr %4, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %.lr.ph, label %21 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %9 %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 %10, 1 %12 = zext i1 %11 to i64 %13 = select i1 %11, ptr @.str, ptr @.str.1 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i32 1 store ptr %15, ptr %5, align 8 %16 = load ptr, ptr %15, align 8 %17 = call i32 @printf(ptr noundef %13, ptr noundef %16) %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, -1 store i32 %19, ptr %4, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %21 21: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpu5mhz7v7.c' source_filename = "/tmp/tmpu5mhz7v7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @okrug(double noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca double, align 8 store double %0, ptr %3, align 8 %4 = load double, ptr %3, align 8 %5 = call i32 @round(double noundef %4) %6 = sitofp i32 %5 to double %7 = load double, ptr %3, align 8 %8 = fcmp ole double %6, %7 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load double, ptr %3, align 8 %11 = call i32 @round(double noundef %10) store i32 %11, ptr %2, align 4 br label %16 12: ; preds = %1 %13 = load double, ptr %3, align 8 %14 = call i32 @round(double noundef %13) %15 = sub nsw i32 %14, 1 store i32 %15, ptr %2, align 4 br label %16 16: ; preds = %12, %9 %17 = load i32, ptr %2, align 4 ret i32 %17 } declare i32 @round(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/tmpu5mhz7v7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @okrug(double noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca double, align 8 store double %0, ptr %3, align 8 %4 = load double, ptr %3, align 8 %5 = call i32 @round(double noundef %4) %6 = sitofp i32 %5 to double %7 = load double, ptr %3, align 8 %8 = fcmp ole double %6, %7 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load double, ptr %3, align 8 %11 = call i32 @round(double noundef %10) store i32 %11, ptr %2, align 4 br label %16 12: ; preds = %1 %13 = load double, ptr %3, align 8 %14 = call i32 @round(double noundef %13) %15 = sub nsw i32 %14, 1 store i32 %15, ptr %2, align 4 br label %16 16: ; preds = %12, %9 %17 = load i32, ptr %2, align 4 ret i32 %17 } declare i32 @round(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/tmpkbsobf0_.c' source_filename = "/tmp/tmpkbsobf0_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @convertiratexto(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca ptr, align 8 store float %0, ptr %2, align 4 %4 = call ptr (...) @get_aux_buffer() store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load float, ptr %2, align 4 %7 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, float noundef %6) %8 = load ptr, ptr %3, align 8 ret ptr %8 } declare ptr @get_aux_buffer(...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkbsobf0_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @convertiratexto(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca ptr, align 8 store float %0, ptr %2, align 4 %4 = call ptr (...) @get_aux_buffer() store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load float, ptr %2, align 4 %7 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, float noundef %6) %8 = load ptr, ptr %3, align 8 ret ptr %8 } declare ptr @get_aux_buffer(...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpma8uk33a.c' source_filename = "/tmp/tmpma8uk33a.c" target datalayout = "e-m:e-p270: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.passwd = type { ptr } @uid_to_name.str = internal global [11 x i8] zeroinitializer, align 1 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @uid_to_name(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = call ptr @getpwuid(i32 noundef %5) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = call i32 @sprintf(ptr noundef @uid_to_name.str, ptr noundef @.str, i32 noundef %10) store ptr @uid_to_name.str, ptr %2, align 8 br label %16 12: ; preds = %1 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds %struct.passwd, ptr %13, i32 0, i32 0 %15 = load ptr, ptr %14, align 8 store ptr %15, ptr %2, align 8 br label %16 16: ; preds = %12, %9 %17 = load ptr, ptr %2, align 8 ret ptr %17 } declare ptr @getpwuid(i32 noundef) #1 declare i32 @sprintf(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/tmpma8uk33a.c" target datalayout = "e-m:e-p270: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.passwd = type { ptr } @uid_to_name.str = internal global [11 x i8] zeroinitializer, align 1 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @uid_to_name(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = call ptr @getpwuid(i32 noundef %5) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = call i32 @sprintf(ptr noundef @uid_to_name.str, ptr noundef @.str, i32 noundef %10) store ptr @uid_to_name.str, ptr %2, align 8 br label %16 12: ; preds = %1 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds %struct.passwd, ptr %13, i32 0, i32 0 %15 = load ptr, ptr %14, align 8 store ptr %15, ptr %2, align 8 br label %16 16: ; preds = %12, %9 %17 = load ptr, ptr %2, align 8 ret ptr %17 } declare ptr @getpwuid(i32 noundef) #1 declare i32 @sprintf(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/tmphaln1uga.c' source_filename = "/tmp/tmphaln1uga.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_div_zero_test() #0 { %1 = call i32 (...) @set_irq_handler() %2 = call i32 (...) @main() ret i32 %2 } declare i32 @set_irq_handler(...) #1 declare i32 @main(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphaln1uga.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_div_zero_test() #0 { %1 = call i32 (...) @set_irq_handler() %2 = call i32 (...) @main() ret i32 %2 } declare i32 @set_irq_handler(...) #1 declare i32 @main(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmdapjepy.c' source_filename = "/tmp/tmpmdapjepy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fild_preg64_dword(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @put8(i32 noundef 219) %4 = load i32, ptr %2, align 4 %5 = call i32 @put8(i32 noundef %4) ret void } declare i32 @put8(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/tmpmdapjepy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fild_preg64_dword(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @put8(i32 noundef 219) %4 = load i32, ptr %2, align 4 %5 = call i32 @put8(i32 noundef %4) ret void } declare i32 @put8(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/tmpkix3e433.c' source_filename = "/tmp/tmpkix3e433.c" target datalayout = "e-m:e-p270: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/tmpkix3e433.c" target datalayout = "e-m:e-p270: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/tmpmf3zza1w.c' source_filename = "/tmp/tmpmf3zza1w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncat(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 br label %9 9: ; preds = %14, %3 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds i8, ptr %10, i32 1 store ptr %11, ptr %4, align 8 %12 = load i8, ptr %10, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %9 br label %9, !llvm.loop !6 15: ; preds = %9 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 -1 store ptr %17, ptr %4, align 8 br label %18 18: ; preds = %32, %15 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %5, align 8 %21 = load i8, ptr %19, align 1 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %4, align 8 store i8 %21, ptr %22, align 1 %24 = icmp ne i8 %21, 0 br i1 %24, label %25, label %33 25: ; preds = %18 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, -1 store i32 %27, ptr %6, align 4 %28 = icmp slt i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %25 %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 -1 store ptr %31, ptr %4, align 8 store i8 0, ptr %31, align 1 br label %33 32: ; preds = %25 br label %18, !llvm.loop !8 33: ; preds = %29, %18 %34 = load ptr, ptr %7, align 8 ret ptr %34 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpmf3zza1w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncat(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 br label %9 9: ; preds = %9, %3 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds i8, ptr %10, i32 1 store ptr %11, ptr %4, align 8 %12 = load i8, ptr %10, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %9, label %14, !llvm.loop !6 14: ; preds = %9 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 -1 store ptr %16, ptr %4, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %5, align 8 %19 = load i8, ptr %17, align 1 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %4, align 8 store i8 %19, ptr %20, align 1 %22 = icmp ne i8 %19, 0 br i1 %22, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %14 br label %30 23: ; preds = %30 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %5, align 8 %26 = load i8, ptr %24, align 1 %27 = load ptr, ptr %4, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %4, align 8 store i8 %26, ptr %27, align 1 %29 = icmp ne i8 %26, 0 br i1 %29, label %30, label %..loopexit_crit_edge, !llvm.loop !8 30: ; preds = %.lr.ph, %23 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, -1 store i32 %32, ptr %6, align 4 %33 = icmp slt i32 %32, 0 br i1 %33, label %34, label %23 34: ; preds = %30 %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 -1 store ptr %36, ptr %4, align 8 store i8 0, ptr %36, align 1 br label %37 ..loopexit_crit_edge: ; preds = %23 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %14 br label %37 37: ; preds = %.loopexit, %34 %38 = load ptr, ptr %7, align 8 ret ptr %38 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp4wui_ohe.c' source_filename = "/tmp/tmp4wui_ohe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @encontraValor(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 0, ptr %10, align 4 %12 = load i32, ptr @INT_MAX, align 4 store i32 %12, ptr %11, align 4 store i32 0, ptr %10, align 4 br label %13 13: ; preds = %57, %4 %14 = load i32, ptr %10, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %60 17: ; preds = %13 %18 = load ptr, ptr %7, align 8 %19 = load i32, ptr %10, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds float, ptr %18, i64 %20 %22 = load float, ptr %21, align 4 %23 = load i32, ptr %6, align 4 %24 = sitofp i32 %23 to float %25 = fcmp oeq float %22, %24 br i1 %25, label %26, label %33 26: ; preds = %17 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %10, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds float, ptr %27, i64 %29 %31 = load float, ptr %30, align 4 %32 = fptosi float %31 to i32 store i32 %32, ptr %5, align 4 br label %125 33: ; preds = %17 %34 = load ptr, ptr %7, 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 %39 = load i32, ptr %11, align 4 %40 = sitofp i32 %39 to float %41 = fcmp olt float %38, %40 br i1 %41, label %42, label %56 42: ; preds = %33 %43 = load ptr, ptr %7, align 8 %44 = load i32, ptr %10, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds float, ptr %43, i64 %45 %47 = load float, ptr %46, align 4 %48 = fcmp ogt float %47, 0.000000e+00 br i1 %48, label %49, label %56 49: ; preds = %42 %50 = load ptr, ptr %7, align 8 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds float, ptr %50, i64 %52 %54 = load float, ptr %53, align 4 %55 = fptosi float %54 to i32 store i32 %55, ptr %11, align 4 br label %56 56: ; preds = %49, %42, %33 br label %57 57: ; preds = %56 %58 = load i32, ptr %10, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %10, align 4 br label %13, !llvm.loop !6 60: ; preds = %13 store i32 1, ptr %10, align 4 br label %61 61: ; preds = %68, %60 %62 = load i32, ptr %10, align 4 %63 = load i32, ptr %11, align 4 %64 = mul nsw i32 %62, %63 %65 = load i32, ptr %6, align 4 %66 = icmp ne i32 %64, %65 br i1 %66, label %67, label %71 67: ; preds = %61 br label %68 68: ; preds = %67 %69 = load i32, ptr %10, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %10, align 4 br label %61, !llvm.loop !8 71: ; preds = %61 %72 = load i32, ptr %10, align 4 %73 = load i32, ptr %11, align 4 %74 = mul nsw i32 %72, %73 %75 = load i32, ptr %6, align 4 %76 = icmp eq i32 %74, %75 br i1 %76, label %77, label %81 77: ; preds = %71 %78 = load i32, ptr %10, align 4 %79 = load i32, ptr %11, align 4 %80 = mul nsw i32 %78, %79 store i32 %80, ptr %5, align 4 br label %125 81: ; preds = %71 store i32 1, ptr %10, align 4 br label %82 82: ; preds = %108, %81 %83 = load i32, ptr %10, align 4 %84 = load i32, ptr %11, align 4 %85 = mul nsw i32 %83, %84 %86 = load i32, ptr %9, align 4 %87 = load i32, ptr %6, align 4 %88 = mul nsw i32 %86, %87 %89 = icmp ne i32 %85, %88 br i1 %89, label %90, label %111 90: ; preds = %82 store i32 1, ptr %9, align 4 br label %91 91: ; preds = %104, %90 %92 = load i32, ptr %9, align 4 %93 = load i32, ptr %11, align 4 %94 = mul nsw i32 %92, %93 %95 = load i32, ptr %9, align 4 %96 = load i32, ptr %6, align 4 %97 = mul nsw i32 %95, %96 %98 = icmp ne i32 %94, %97 br i1 %98, label %99, label %107 99: ; preds = %91 %100 = load i32, ptr %9, align 4 %101 = icmp eq i32 %100, 25 br i1 %101, label %102, label %103 102: ; preds = %99 br label %107 103: ; preds = %99 br label %104 104: ; preds = %103 %105 = load i32, ptr %9, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %9, align 4 br label %91, !llvm.loop !9 107: ; preds = %102, %91 br label %108 108: ; preds = %107 %109 = load i32, ptr %10, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %10, align 4 br label %82, !llvm.loop !10 111: ; preds = %82 %112 = load i32, ptr %10, align 4 %113 = load i32, ptr %11, align 4 %114 = mul nsw i32 %112, %113 %115 = load i32, ptr %9, align 4 %116 = load i32, ptr %6, align 4 %117 = mul nsw i32 %115, %116 %118 = icmp eq i32 %114, %117 br i1 %118, label %119, label %123 119: ; preds = %111 %120 = load i32, ptr %10, align 4 %121 = load i32, ptr %11, align 4 %122 = mul nsw i32 %120, %121 store i32 %122, ptr %5, align 4 br label %125 123: ; preds = %111 br label %124 124: ; preds = %123 store i32 0, ptr %5, align 4 br label %125 125: ; preds = %124, %119, %77, %26 %126 = load i32, ptr %5, align 4 ret i32 %126 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp4wui_ohe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @encontraValor(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 0, ptr %10, align 4 %12 = load i32, ptr @INT_MAX, align 4 store i32 %12, ptr %11, align 4 store i32 0, ptr %10, align 4 %13 = load i32, ptr %10, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %62 .lr.ph: ; preds = %4 br label %16 16: ; preds = %.lr.ph, %56 %17 = load ptr, ptr %7, align 8 %18 = load i32, ptr %10, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds float, ptr %17, i64 %19 %21 = load float, ptr %20, align 4 %22 = load i32, ptr %6, align 4 %23 = sitofp i32 %22 to float %24 = fcmp oeq float %21, %23 br i1 %24, label %25, label %32 25: ; preds = %16 %26 = load ptr, ptr %7, align 8 %27 = load i32, ptr %10, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds float, ptr %26, i64 %28 %30 = load float, ptr %29, align 4 %31 = fptosi float %30 to i32 store i32 %31, ptr %5, align 4 br label %143 32: ; preds = %16 %33 = load ptr, ptr %7, align 8 %34 = load i32, ptr %10, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds float, ptr %33, i64 %35 %37 = load float, ptr %36, align 4 %38 = load i32, ptr %11, align 4 %39 = sitofp i32 %38 to float %40 = fcmp olt float %37, %39 br i1 %40, label %41, label %55 41: ; preds = %32 %42 = load ptr, ptr %7, align 8 %43 = load i32, ptr %10, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds float, ptr %42, i64 %44 %46 = load float, ptr %45, align 4 %47 = fcmp ogt float %46, 0.000000e+00 br i1 %47, label %48, label %55 48: ; preds = %41 %49 = load ptr, ptr %7, align 8 %50 = load i32, ptr %10, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds float, ptr %49, i64 %51 %53 = load float, ptr %52, align 4 %54 = fptosi float %53 to i32 store i32 %54, ptr %11, align 4 br label %55 55: ; preds = %48, %41, %32 br label %56 56: ; preds = %55 %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 %59 = load i32, ptr %10, align 4 %60 = load i32, ptr %8, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %62 62: ; preds = %._crit_edge, %4 store i32 1, ptr %10, align 4 %63 = load i32, ptr %10, align 4 %64 = load i32, ptr %11, align 4 %65 = mul nsw i32 %63, %64 %66 = load i32, ptr %6, align 4 %67 = icmp ne i32 %65, %66 br i1 %67, label %.lr.ph2, label %77 .lr.ph2: ; preds = %62 br label %68 68: ; preds = %.lr.ph2, %69 br label %69 69: ; preds = %68 %70 = load i32, ptr %10, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %10, align 4 %72 = load i32, ptr %10, align 4 %73 = load i32, ptr %11, align 4 %74 = mul nsw i32 %72, %73 %75 = load i32, ptr %6, align 4 %76 = icmp ne i32 %74, %75 br i1 %76, label %68, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %69 br label %77 77: ; preds = %._crit_edge3, %62 %78 = load i32, ptr %10, align 4 %79 = load i32, ptr %11, align 4 %80 = mul nsw i32 %78, %79 %81 = load i32, ptr %6, align 4 %82 = icmp eq i32 %80, %81 br i1 %82, label %83, label %87 83: ; preds = %77 %84 = load i32, ptr %10, align 4 %85 = load i32, ptr %11, align 4 %86 = mul nsw i32 %84, %85 store i32 %86, ptr %5, align 4 br label %143 87: ; preds = %77 store i32 1, ptr %10, align 4 %88 = load i32, ptr %10, align 4 %89 = load i32, ptr %11, align 4 %90 = mul nsw i32 %88, %89 %91 = load i32, ptr %9, align 4 %92 = load i32, ptr %6, align 4 %93 = mul nsw i32 %91, %92 %94 = icmp ne i32 %90, %93 br i1 %94, label %.lr.ph7, label %129 .lr.ph7: ; preds = %87 br label %95 95: ; preds = %.lr.ph7, %119 store i32 1, ptr %9, align 4 %96 = load i32, ptr %9, align 4 %97 = load i32, ptr %11, align 4 %98 = mul nsw i32 %96, %97 %99 = load i32, ptr %9, align 4 %100 = load i32, ptr %6, align 4 %101 = mul nsw i32 %99, %100 %102 = icmp ne i32 %98, %101 br i1 %102, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %95 br label %103 103: ; preds = %.lr.ph5, %108 %104 = load i32, ptr %9, align 4 %105 = icmp eq i32 %104, 25 br i1 %105, label %106, label %107 106: ; preds = %103 br label %118 107: ; preds = %103 br label %108 108: ; preds = %107 %109 = load i32, ptr %9, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %9, align 4 %111 = load i32, ptr %9, align 4 %112 = load i32, ptr %11, align 4 %113 = mul nsw i32 %111, %112 %114 = load i32, ptr %9, align 4 %115 = load i32, ptr %6, align 4 %116 = mul nsw i32 %114, %115 %117 = icmp ne i32 %113, %116 br i1 %117, label %103, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %108 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %95 br label %118 118: ; preds = %.loopexit, %106 br label %119 119: ; preds = %118 %120 = load i32, ptr %10, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %10, align 4 %122 = load i32, ptr %10, align 4 %123 = load i32, ptr %11, align 4 %124 = mul nsw i32 %122, %123 %125 = load i32, ptr %9, align 4 %126 = load i32, ptr %6, align 4 %127 = mul nsw i32 %125, %126 %128 = icmp ne i32 %124, %127 br i1 %128, label %95, label %._crit_edge8, !llvm.loop !10 ._crit_edge8: ; preds = %119 br label %129 129: ; preds = %._crit_edge8, %87 %130 = load i32, ptr %10, align 4 %131 = load i32, ptr %11, align 4 %132 = mul nsw i32 %130, %131 %133 = load i32, ptr %9, align 4 %134 = load i32, ptr %6, align 4 %135 = mul nsw i32 %133, %134 %136 = icmp eq i32 %132, %135 br i1 %136, label %137, label %141 137: ; preds = %129 %138 = load i32, ptr %10, align 4 %139 = load i32, ptr %11, align 4 %140 = mul nsw i32 %138, %139 store i32 %140, ptr %5, align 4 br label %143 141: ; preds = %129 br label %142 142: ; preds = %141 store i32 0, ptr %5, align 4 br label %143 143: ; preds = %142, %137, %83, %25 %144 = load i32, ptr %5, align 4 ret i32 %144 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpp9fcaw3d.c' source_filename = "/tmp/tmpp9fcaw3d.c" target datalayout = "e-m:e-p270: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/tmpp9fcaw3d.c" target datalayout = "e-m:e-p270: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/tmpovu480f1.c' source_filename = "/tmp/tmpovu480f1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f %f %f %f %f\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Point is on the Circle.\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"Point is outside the Circle.\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"Point is inside the Circle.\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 %7 = alloca float, align 4 %8 = alloca float, align 4 store i32 0, ptr %1, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) %10 = load float, ptr %2, align 4 %11 = load float, ptr %5, align 4 %12 = fsub float %10, %11 %13 = load float, ptr %2, align 4 %14 = load float, ptr %5, align 4 %15 = fsub float %13, %14 %16 = load float, ptr %3, align 4 %17 = load float, ptr %6, align 4 %18 = fsub float %16, %17 %19 = load float, ptr %3, align 4 %20 = load float, ptr %6, align 4 %21 = fsub float %19, %20 %22 = fmul float %18, %21 %23 = call float @llvm.fmuladd.f32(float %12, float %15, float %22) store float %23, ptr %7, align 4 %24 = load float, ptr %7, align 4 %25 = call float @sqrtf(float noundef %24) #4 store float %25, ptr %8, align 4 %26 = load float, ptr %8, align 4 %27 = load float, ptr %4, align 4 %28 = fcmp oeq float %26, %27 br i1 %28, label %29, label %31 29: ; preds = %0 %30 = call i32 @printf(ptr noundef @.str.1) br label %45 31: ; preds = %0 %32 = load float, ptr %8, align 4 %33 = load float, ptr %4, align 4 %34 = fcmp ogt float %32, %33 br i1 %34, label %35, label %37 35: ; preds = %31 %36 = call i32 @printf(ptr noundef @.str.2) br label %44 37: ; preds = %31 %38 = load float, ptr %8, align 4 %39 = load float, ptr %4, align 4 %40 = fcmp olt float %38, %39 br i1 %40, label %41, label %43 41: ; preds = %37 %42 = call i32 @printf(ptr noundef @.str.3) br label %43 43: ; preds = %41, %37 br label %44 44: ; preds = %43, %35 br label %45 45: ; preds = %44, %29 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 ; Function Attrs: nounwind declare float @sqrtf(float noundef) #3 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpovu480f1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f %f %f %f %f\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Point is on the Circle.\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"Point is outside the Circle.\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"Point is inside the Circle.\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 %7 = alloca float, align 4 %8 = alloca float, align 4 store i32 0, ptr %1, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) %10 = load float, ptr %2, align 4 %11 = load float, ptr %5, align 4 %12 = fsub float %10, %11 %13 = load float, ptr %2, align 4 %14 = load float, ptr %5, align 4 %15 = fsub float %13, %14 %16 = load float, ptr %3, align 4 %17 = load float, ptr %6, align 4 %18 = fsub float %16, %17 %19 = load float, ptr %3, align 4 %20 = load float, ptr %6, align 4 %21 = fsub float %19, %20 %22 = fmul float %18, %21 %23 = call float @llvm.fmuladd.f32(float %12, float %15, float %22) store float %23, ptr %7, align 4 %24 = load float, ptr %7, align 4 %25 = call float @sqrtf(float noundef %24) #4 store float %25, ptr %8, align 4 %26 = load float, ptr %8, align 4 %27 = load float, ptr %4, align 4 %28 = fcmp oeq float %26, %27 br i1 %28, label %29, label %31 29: ; preds = %0 %30 = call i32 @printf(ptr noundef @.str.1) br label %45 31: ; preds = %0 %32 = load float, ptr %8, align 4 %33 = load float, ptr %4, align 4 %34 = fcmp ogt float %32, %33 br i1 %34, label %35, label %37 35: ; preds = %31 %36 = call i32 @printf(ptr noundef @.str.2) br label %44 37: ; preds = %31 %38 = load float, ptr %8, align 4 %39 = load float, ptr %4, align 4 %40 = fcmp olt float %38, %39 br i1 %40, label %41, label %43 41: ; preds = %37 %42 = call i32 @printf(ptr noundef @.str.3) br label %43 43: ; preds = %41, %37 br label %44 44: ; preds = %43, %35 br label %45 45: ; preds = %44, %29 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 ; Function Attrs: nounwind declare float @sqrtf(float noundef) #3 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdj4u1nit.c' source_filename = "/tmp/tmpdj4u1nit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef %4) %6 = sub nsw i64 %5, 1 %7 = call i32 @reverse_aux(ptr noundef %3, i32 noundef 0, i64 noundef %6) ret void } declare i32 @reverse_aux(ptr noundef, i32 noundef, i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdj4u1nit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef %4) %6 = sub nsw i64 %5, 1 %7 = call i32 @reverse_aux(ptr noundef %3, i32 noundef 0, i64 noundef %6) ret void } declare i32 @reverse_aux(ptr noundef, i32 noundef, i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqr1zso6z.c' source_filename = "/tmp/tmpqr1zso6z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quick(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %13, label %57 13: ; preds = %3 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = load i32, ptr %17, align 4 store i32 %18, ptr %7, align 4 %19 = load i32, ptr %5, align 4 store i32 %19, ptr %8, align 4 %20 = load i32, ptr %5, align 4 store i32 %20, ptr %9, align 4 br label %21 21: ; preds = %41, %13 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp sle i32 %22, %23 br i1 %24, label %25, label %44 25: ; preds = %21 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 %30 = load i32, ptr %29, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %40 33: ; preds = %25 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %9, align 4 %38 = load i32, ptr %8, align 4 %39 = call i32 @swap(ptr noundef %36, i32 noundef %37, i32 noundef %38) br label %40 40: ; preds = %33, %25 br label %41 41: ; preds = %40 %42 = load i32, ptr %9, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %9, align 4 br label %21, !llvm.loop !6 44: ; preds = %21 %45 = load ptr, ptr %4, align 8 %46 = load i32, ptr %5, align 4 %47 = load i32, ptr %8, align 4 %48 = call i32 @swap(ptr noundef %45, i32 noundef %46, i32 noundef %47) %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %5, align 4 %51 = load i32, ptr %8, align 4 %52 = sub nsw i32 %51, 1 call void @quick(ptr noundef %49, i32 noundef %50, i32 noundef %52) %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %8, align 4 %55 = add nsw i32 %54, 1 %56 = load i32, ptr %6, align 4 call void @quick(ptr noundef %53, i32 noundef %55, i32 noundef %56) br label %57 57: ; preds = %44, %3 ret void } declare i32 @swap(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/tmpqr1zso6z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quick(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %13, label %59 13: ; preds = %3 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = load i32, ptr %17, align 4 store i32 %18, ptr %7, align 4 %19 = load i32, ptr %5, align 4 store i32 %19, ptr %8, align 4 %20 = load i32, ptr %5, align 4 store i32 %20, ptr %9, align 4 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp sle i32 %21, %22 br i1 %23, label %.lr.ph, label %46 .lr.ph: ; preds = %13 br label %24 24: ; preds = %.lr.ph, %40 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %9, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4 %30 = load i32, ptr %7, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %39 32: ; preds = %24 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %9, align 4 %37 = load i32, ptr %8, align 4 %38 = call i32 @swap(ptr noundef %35, i32 noundef %36, i32 noundef %37) br label %39 39: ; preds = %32, %24 br label %40 40: ; preds = %39 %41 = load i32, ptr %9, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %9, align 4 %43 = load i32, ptr %9, align 4 %44 = load i32, ptr %6, align 4 %45 = icmp sle i32 %43, %44 br i1 %45, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %46 46: ; preds = %._crit_edge, %13 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr %5, align 4 %49 = load i32, ptr %8, align 4 %50 = call i32 @swap(ptr noundef %47, i32 noundef %48, i32 noundef %49) %51 = load ptr, ptr %4, align 8 %52 = load i32, ptr %5, align 4 %53 = load i32, ptr %8, align 4 %54 = sub nsw i32 %53, 1 call void @quick(ptr noundef %51, i32 noundef %52, i32 noundef %54) %55 = load ptr, ptr %4, align 8 %56 = load i32, ptr %8, align 4 %57 = add nsw i32 %56, 1 %58 = load i32, ptr %6, align 4 call void @quick(ptr noundef %55, i32 noundef %57, i32 noundef %58) br label %59 59: ; preds = %46, %3 ret void } declare i32 @swap(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/tmp83ozoumo.c' source_filename = "/tmp/tmp83ozoumo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @equal_string(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %7, align 8 %12 = call i64 @strcmp(ptr noundef %10, ptr noundef %11) %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %2 store i32 1, ptr %3, align 4 br label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %15, %14 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i64 @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/tmp83ozoumo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @equal_string(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %7, align 8 %12 = call i64 @strcmp(ptr noundef %10, ptr noundef %11) %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %2 store i32 1, ptr %3, align 4 br label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %15, %14 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i64 @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/tmpvjthrdlc.c' source_filename = "/tmp/tmpvjthrdlc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @max(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = icmp ugt i64 %5, %6 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = load i64, ptr %3, align 8 br label %12 10: ; preds = %2 %11 = load i64, ptr %4, align 8 br label %12 12: ; preds = %10, %8 %13 = phi i64 [ %9, %8 ], [ %11, %10 ] ret i64 %13 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvjthrdlc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @max(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = icmp ugt i64 %5, %6 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = load i64, ptr %3, align 8 br label %12 10: ; preds = %2 %11 = load i64, ptr %4, align 8 br label %12 12: ; preds = %10, %8 %13 = phi i64 [ %9, %8 ], [ %11, %10 ] ret i64 %13 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5xxqvqz3.c' source_filename = "/tmp/tmp5xxqvqz3.c" target datalayout = "e-m:e-p270: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.dirent = type { i64, ptr } @.str = private unnamed_addr constant [14 x i8] c"/mnt/sd/DCIM/\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @DT_REG = dso_local global i64 0, align 8 @LOG_ERR = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [74 x i8] c"Error during initializing newFilePath buffer. Continue without encrypting\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c".out\00", align 1 @LOG_NOTICE = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [23 x i8] c"Beginning to handle %s\00", align 1 @.str.5 = private unnamed_addr constant [76 x i8] c"Error %d occured during start of cryptosd. Continuing without encrypting %s\00", align 1 @errno = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [26 x i8] c"Starting cryptosd for %s.\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"cryptosd\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"-e\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"-p\00", align 1 @.str.10 = private unnamed_addr constant [12 x i8] c"/mnt/sd/key\00", align 1 @.str.11 = private unnamed_addr constant [3 x i8] c"-i\00", align 1 @.str.12 = private unnamed_addr constant [14 x i8] c"/etc/cryptosd\00", align 1 @.str.13 = private unnamed_addr constant [45 x i8] c"Error (%d) during execvp of cryptosd for %s.\00", align 1 @.str.14 = private unnamed_addr constant [25 x i8] c"Child (cryptosd) pid: %d\00", align 1 @.str.15 = private unnamed_addr constant [17 x i8] c"Return Status %d\00", align 1 @.str.16 = private unnamed_addr constant [53 x i8] c"Encryption done for %s. Beginning with the deletion.\00", align 1 @.str.17 = private unnamed_addr constant [60 x i8] c"Error (%d) during start of rm. Continue without deleting %s\00", align 1 @.str.18 = private unnamed_addr constant [24 x i8] c"Starting deletion of %s\00", align 1 @.str.19 = private unnamed_addr constant [3 x i8] c"rm\00", align 1 @.str.20 = private unnamed_addr constant [33 x i8] c"Error during execvp of rm for %s\00", align 1 @.str.21 = private unnamed_addr constant [19 x i8] c"Child (rm) pid: %d\00", align 1 @.str.22 = private unnamed_addr constant [38 x i8] c"Child (rm) returned with errorcode %d\00", align 1 @.str.23 = private unnamed_addr constant [21 x i8] c"Deletion done for %s\00", align 1 @.str.24 = private unnamed_addr constant [35 x i8] c"Exited due to receiving signal %d\0A\00", align 1 @.str.25 = private unnamed_addr constant [36 x i8] c"Stopped due to receiving signal %d\0A\00", align 1 @.str.26 = private unnamed_addr constant [44 x i8] c"Child (cryptosd) returned with errorcode %d\00", align 1 @.str.27 = private unnamed_addr constant [38 x i8] c"Error during closing the directory %s\00", align 1 @.str.28 = private unnamed_addr constant [17 x i8] c"Sleep %d seconds\00", align 1 @.str.29 = private unnamed_addr constant [12 x i8] c"before sync\00", align 1 @.str.30 = private unnamed_addr constant [11 x i8] c"after sync\00", align 1 @.str.31 = private unnamed_addr constant [13 x i8] c"begin umount\00", align 1 @.str.32 = private unnamed_addr constant [9 x i8] c"/mnt/sd/\00", align 1 @.str.33 = private unnamed_addr constant [33 x i8] c"Unmount failed with errorcode %d\00", align 1 @.str.34 = private unnamed_addr constant [11 x i8] c"end umount\00", align 1 @.str.35 = private unnamed_addr constant [15 x i8] c"/dev/mmcblk0p1\00", align 1 @.str.36 = private unnamed_addr constant [8 x i8] c"/mnt/sd\00", align 1 @.str.37 = private unnamed_addr constant [5 x i8] c"vfat\00", align 1 @MS_RELATIME = dso_local global i32 0, align 4 @.str.38 = private unnamed_addr constant [16 x i8] c"errors=continue\00", align 1 @.str.39 = private unnamed_addr constant [33 x i8] c"Remount failed with errorcode %d\00", align 1 @.str.40 = private unnamed_addr constant [12 x i8] c"end remount\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca [100 x i8], align 16 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca [7 x ptr], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca [3 x ptr], align 16 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store i32 0, ptr %1, align 4 %18 = call i32 (...) @skeleton_daemon() br label %19 19: ; preds = %0, %284 %20 = call i64 @getDCIMDirectories(ptr noundef @.str, ptr noundef %2) store i64 %20, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %21 21: ; preds = %252, %19 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = load i64, ptr %3, align 8 %25 = icmp ult i64 %23, %24 br i1 %25, label %26, label %255 26: ; preds = %21 %27 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 store i8 0, ptr %27, align 16 %28 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %29 = call i32 @strcat(ptr noundef %28, ptr noundef @.str) %30 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %31 = load ptr, ptr %2, align 8 %32 = load i32, ptr %4, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = call i32 @strcat(ptr noundef %30, ptr noundef %35) %37 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %38 = call i32 @strcat(ptr noundef %37, ptr noundef @.str.1) %39 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %40 = call i32 @checkDirectory(ptr noundef %39) %41 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %42 = call ptr @opendir(ptr noundef %41) store ptr %42, ptr %6, align 8 %43 = load ptr, ptr %6, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %45, label %251 45: ; preds = %26 br label %46 46: ; preds = %241, %45 %47 = load ptr, ptr %6, align 8 %48 = call ptr @readdir(ptr noundef %47) store ptr %48, ptr %7, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %50, label %242 50: ; preds = %46 %51 = load ptr, ptr %7, align 8 %52 = getelementptr inbounds %struct.dirent, ptr %51, i32 0, i32 0 %53 = load i64, ptr %52, align 8 %54 = load i64, ptr @DT_REG, align 8 %55 = icmp eq i64 %53, %54 br i1 %55, label %56, label %241 56: ; preds = %50 %57 = load ptr, ptr %7, align 8 %58 = getelementptr inbounds %struct.dirent, ptr %57, i32 0, i32 1 %59 = load ptr, ptr %58, align 8 %60 = call i32 @strlen(ptr noundef %59) %61 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %62 = call i32 @strlen(ptr noundef %61) %63 = add nsw i32 %60, %62 %64 = add nsw i32 %63, 1 store i32 %64, ptr %8, align 4 %65 = load i32, ptr %8, align 4 %66 = call i64 @malloc(i32 noundef %65) %67 = inttoptr i64 %66 to ptr store ptr %67, ptr %9, align 8 %68 = load ptr, ptr %9, align 8 %69 = icmp eq ptr %68, null br i1 %69, label %70, label %73 70: ; preds = %56 %71 = load i32, ptr @LOG_ERR, align 4 %72 = call i32 (i32, ptr, ...) @syslog(i32 noundef %71, ptr noundef @.str.2) br label %238 73: ; preds = %56 %74 = load ptr, ptr %9, align 8 %75 = load i32, ptr %8, align 4 %76 = call i32 @memset(ptr noundef %74, i8 noundef signext 0, i32 noundef %75) %77 = load ptr, ptr %9, align 8 %78 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %79 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %80 = call i32 @strlen(ptr noundef %79) %81 = call i32 @strncpy(ptr noundef %77, ptr noundef %78, i32 noundef %80) %82 = load ptr, ptr %9, align 8 %83 = load ptr, ptr %7, align 8 %84 = getelementptr inbounds %struct.dirent, ptr %83, i32 0, i32 1 %85 = load ptr, ptr %84, align 8 %86 = load ptr, ptr %7, align 8 %87 = getelementptr inbounds %struct.dirent, ptr %86, i32 0, i32 1 %88 = load ptr, ptr %87, align 8 %89 = call i32 @strlen(ptr noundef %88) %90 = call i32 @strncat(ptr noundef %82, ptr noundef %85, i32 noundef %89) %91 = load ptr, ptr %7, align 8 %92 = getelementptr inbounds %struct.dirent, ptr %91, i32 0, i32 1 %93 = load ptr, ptr %92, align 8 %94 = call ptr @strstr(ptr noundef %93, ptr noundef @.str.3) %95 = icmp eq ptr %94, null br i1 %95, label %96, label %237 96: ; preds = %73 %97 = load i32, ptr @LOG_NOTICE, align 4 %98 = load ptr, ptr %7, align 8 %99 = getelementptr inbounds %struct.dirent, ptr %98, i32 0, i32 1 %100 = load ptr, ptr %99, align 8 %101 = call i32 (i32, ptr, ...) @syslog(i32 noundef %97, ptr noundef @.str.4, ptr noundef %100) %102 = call i32 (...) @fork() store i32 %102, ptr %10, align 4 %103 = load i32, ptr %10, align 4 %104 = icmp eq i32 %103, -1 br i1 %104, label %105, label %112 105: ; preds = %96 %106 = load i32, ptr @LOG_ERR, align 4 %107 = load i32, ptr @errno, align 4 %108 = load ptr, ptr %7, align 8 %109 = getelementptr inbounds %struct.dirent, ptr %108, i32 0, i32 1 %110 = load ptr, ptr %109, align 8 %111 = call i32 (i32, ptr, ...) @syslog(i32 noundef %106, ptr noundef @.str.5, i32 noundef %107, ptr noundef %110) br label %236 112: ; preds = %96 %113 = load i32, ptr %10, align 4 %114 = icmp eq i32 %113, 0 br i1 %114, label %115, label %136 115: ; preds = %112 %116 = load i32, ptr @LOG_NOTICE, align 4 %117 = load ptr, ptr %7, align 8 %118 = getelementptr inbounds %struct.dirent, ptr %117, i32 0, i32 1 %119 = load ptr, ptr %118, align 8 %120 = call i32 (i32, ptr, ...) @syslog(i32 noundef %116, ptr noundef @.str.6, ptr noundef %119) %121 = getelementptr inbounds [7 x ptr], ptr %11, i64 0, i64 0 store ptr @.str.7, ptr %121, align 8 %122 = getelementptr inbounds ptr, ptr %121, i64 1 store ptr @.str.8, ptr %122, align 8 %123 = getelementptr inbounds ptr, ptr %122, i64 1 store ptr @.str.9, ptr %123, align 8 %124 = getelementptr inbounds ptr, ptr %123, i64 1 store ptr @.str.10, ptr %124, align 8 %125 = getelementptr inbounds ptr, ptr %124, i64 1 store ptr @.str.11, ptr %125, align 8 %126 = getelementptr inbounds ptr, ptr %125, i64 1 %127 = load ptr, ptr %9, align 8 store ptr %127, ptr %126, align 8 %128 = getelementptr inbounds ptr, ptr %126, i64 1 store ptr null, ptr %128, align 8 %129 = getelementptr inbounds [7 x ptr], ptr %11, i64 0, i64 0 %130 = call i32 @execvp(ptr noundef @.str.12, ptr noundef %129) %131 = load i32, ptr @LOG_ERR, align 4 %132 = load i32, ptr @errno, align 4 %133 = load ptr, ptr %9, align 8 %134 = call i32 (i32, ptr, ...) @syslog(i32 noundef %131, ptr noundef @.str.13, i32 noundef %132, ptr noundef %133) %135 = call i32 (...) @abort() #3 unreachable 136: ; preds = %112 %137 = load i32, ptr @LOG_NOTICE, align 4 %138 = load i32, ptr %10, align 4 %139 = call i32 (i32, ptr, ...) @syslog(i32 noundef %137, ptr noundef @.str.14, i32 noundef %138) %140 = load i32, ptr %10, align 4 %141 = call i32 @waitpid(i32 noundef %140, ptr noundef %12, i32 noundef 0) %142 = load i32, ptr @LOG_NOTICE, align 4 %143 = load i32, ptr %12, align 4 %144 = call i32 @WEXITSTATUS(i32 noundef %143) %145 = call i32 (i32, ptr, ...) @syslog(i32 noundef %142, ptr noundef @.str.15, i32 noundef %144) %146 = load i32, ptr %12, align 4 %147 = call i64 @WIFEXITED(i32 noundef %146) %148 = icmp ne i64 %147, 0 br i1 %148, label %149, label %205 149: ; preds = %136 %150 = load i32, ptr @LOG_NOTICE, align 4 %151 = load ptr, ptr %9, align 8 %152 = call i32 (i32, ptr, ...) @syslog(i32 noundef %150, ptr noundef @.str.16, ptr noundef %151) %153 = call i32 (...) @fork() store i32 %153, ptr %13, align 4 %154 = load i32, ptr %13, align 4 %155 = icmp eq i32 %154, -1 br i1 %155, label %156, label %163 156: ; preds = %149 %157 = load i32, ptr @LOG_ERR, align 4 %158 = load i32, ptr @errno, align 4 %159 = load ptr, ptr %7, align 8 %160 = getelementptr inbounds %struct.dirent, ptr %159, i32 0, i32 1 %161 = load ptr, ptr %160, align 8 %162 = call i32 (i32, ptr, ...) @syslog(i32 noundef %157, ptr noundef @.str.17, i32 noundef %158, ptr noundef %161) br label %204 163: ; preds = %149 %164 = load i32, ptr %13, align 4 %165 = icmp eq i32 %164, 0 br i1 %165, label %166, label %184 166: ; preds = %163 %167 = load i32, ptr @LOG_NOTICE, align 4 %168 = load ptr, ptr %7, align 8 %169 = getelementptr inbounds %struct.dirent, ptr %168, i32 0, i32 1 %170 = load ptr, ptr %169, align 8 %171 = call i32 (i32, ptr, ...) @syslog(i32 noundef %167, ptr noundef @.str.18, ptr noundef %170) %172 = getelementptr inbounds [3 x ptr], ptr %14, i64 0, i64 0 store ptr @.str.19, ptr %172, align 8 %173 = getelementptr inbounds ptr, ptr %172, i64 1 %174 = load ptr, ptr %9, align 8 store ptr %174, ptr %173, align 8 %175 = getelementptr inbounds ptr, ptr %173, i64 1 store ptr null, ptr %175, align 8 %176 = getelementptr inbounds [3 x ptr], ptr %14, i64 0, i64 0 %177 = call i32 @execvp(ptr noundef @.str.19, ptr noundef %176) %178 = load i32, ptr @LOG_ERR, align 4 %179 = load ptr, ptr %7, align 8 %180 = getelementptr inbounds %struct.dirent, ptr %179, i32 0, i32 1 %181 = load ptr, ptr %180, align 8 %182 = call i32 (i32, ptr, ...) @syslog(i32 noundef %178, ptr noundef @.str.20, ptr noundef %181) %183 = call i32 (...) @abort() #3 unreachable 184: ; preds = %163 %185 = load i32, ptr @LOG_NOTICE, align 4 %186 = load i32, ptr %13, align 4 %187 = call i32 (i32, ptr, ...) @syslog(i32 noundef %185, ptr noundef @.str.21, i32 noundef %186) store i32 9, ptr %12, align 4 %188 = load i32, ptr %13, align 4 %189 = call i32 @waitpid(i32 noundef %188, ptr noundef %12, i32 noundef 0) %190 = load i32, ptr %12, align 4 %191 = icmp ne i32 %190, 0 br i1 %191, label %192, label %196 192: ; preds = %184 %193 = load i32, ptr @LOG_ERR, align 4 %194 = load i32, ptr %12, align 4 %195 = call i32 (i32, ptr, ...) @syslog(i32 noundef %193, ptr noundef @.str.22, i32 noundef %194) br label %202 196: ; preds = %184 %197 = load i32, ptr @LOG_NOTICE, align 4 %198 = load ptr, ptr %7, align 8 %199 = getelementptr inbounds %struct.dirent, ptr %198, i32 0, i32 1 %200 = load ptr, ptr %199, align 8 %201 = call i32 (i32, ptr, ...) @syslog(i32 noundef %197, ptr noundef @.str.23, ptr noundef %200) br label %202 202: ; preds = %196, %192 br label %203 203: ; preds = %202 br label %204 204: ; preds = %203, %156 br label %234 205: ; preds = %136 %206 = load i32, ptr %12, align 4 %207 = call i64 @WIFSIGNALED(i32 noundef %206) %208 = icmp ne i64 %207, 0 br i1 %208, label %209, label %216 209: ; preds = %205 %210 = load i32, ptr %12, align 4 %211 = call i32 @WTERMSIG(i32 noundef %210) store i32 %211, ptr %15, align 4 %212 = load i32, ptr @LOG_ERR, align 4 %213 = load i32, ptr %12, align 4 %214 = call i32 @WEXITSTATUS(i32 noundef %213) %215 = call i32 (i32, ptr, ...) @syslog(i32 noundef %212, ptr noundef @.str.24, i32 noundef %214) br label %233 216: ; preds = %205 %217 = load i32, ptr %12, align 4 %218 = call i64 @WIFSTOPPED(i32 noundef %217) %219 = icmp ne i64 %218, 0 br i1 %219, label %220, label %227 220: ; preds = %216 %221 = load i32, ptr %12, align 4 %222 = call i32 @WSTOPSIG(i32 noundef %221) store i32 %222, ptr %16, align 4 %223 = load i32, ptr @LOG_ERR, align 4 %224 = load i32, ptr %12, align 4 %225 = call i32 @WEXITSTATUS(i32 noundef %224) %226 = call i32 (i32, ptr, ...) @syslog(i32 noundef %223, ptr noundef @.str.25, i32 noundef %225) br label %232 227: ; preds = %216 %228 = load i32, ptr @LOG_ERR, align 4 %229 = load i32, ptr %12, align 4 %230 = call i32 @WEXITSTATUS(i32 noundef %229) %231 = call i32 (i32, ptr, ...) @syslog(i32 noundef %228, ptr noundef @.str.26, i32 noundef %230) br label %232 232: ; preds = %227, %220 br label %233 233: ; preds = %232, %209 br label %234 234: ; preds = %233, %204 br label %235 235: ; preds = %234 br label %236 236: ; preds = %235, %105 br label %237 237: ; preds = %236, %73 br label %238 238: ; preds = %237, %70 %239 = load ptr, ptr %9, align 8 %240 = call i32 @free(ptr noundef %239) br label %241 241: ; preds = %238, %50 br label %46, !llvm.loop !6 242: ; preds = %46 %243 = load ptr, ptr %6, align 8 %244 = call i32 @closedir(ptr noundef %243) %245 = icmp eq i32 %244, -1 br i1 %245, label %246, label %250 246: ; preds = %242 %247 = load i32, ptr @LOG_ERR, align 4 %248 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %249 = call i32 (i32, ptr, ...) @syslog(i32 noundef %247, ptr noundef @.str.27, ptr noundef %248) br label %250 250: ; preds = %246, %242 br label %251 251: ; preds = %250, %26 br label %252 252: ; preds = %251 %253 = load i32, ptr %4, align 4 %254 = add nsw i32 %253, 1 store i32 %254, ptr %4, align 4 br label %21, !llvm.loop !8 255: ; preds = %21 store i32 1, ptr %17, align 4 %256 = load i32, ptr @LOG_NOTICE, align 4 %257 = load i32, ptr %17, align 4 %258 = call i32 (i32, ptr, ...) @syslog(i32 noundef %256, ptr noundef @.str.28, i32 noundef %257) %259 = load i32, ptr %17, align 4 %260 = call i32 @sleep(i32 noundef %259) %261 = load i32, ptr @LOG_NOTICE, align 4 %262 = call i32 (i32, ptr, ...) @syslog(i32 noundef %261, ptr noundef @.str.29) %263 = call i32 (...) @sync() %264 = load i32, ptr @LOG_NOTICE, align 4 %265 = call i32 (i32, ptr, ...) @syslog(i32 noundef %264, ptr noundef @.str.30) %266 = load i32, ptr @LOG_NOTICE, align 4 %267 = call i32 (i32, ptr, ...) @syslog(i32 noundef %266, ptr noundef @.str.31) %268 = call i32 @umount(ptr noundef @.str.32) %269 = icmp eq i32 %268, -1 br i1 %269, label %270, label %274 270: ; preds = %255 %271 = load i32, ptr @LOG_ERR, align 4 %272 = load i32, ptr @errno, align 4 %273 = call i32 (i32, ptr, ...) @syslog(i32 noundef %271, ptr noundef @.str.33, i32 noundef %272) br label %274 274: ; preds = %270, %255 %275 = load i32, ptr @LOG_NOTICE, align 4 %276 = call i32 (i32, ptr, ...) @syslog(i32 noundef %275, ptr noundef @.str.34) %277 = load i32, ptr @MS_RELATIME, align 4 %278 = call i32 @mount(ptr noundef @.str.35, ptr noundef @.str.36, ptr noundef @.str.37, i32 noundef %277, ptr noundef @.str.38) %279 = icmp eq i32 %278, -1 br i1 %279, label %280, label %284 280: ; preds = %274 %281 = load i32, ptr @LOG_ERR, align 4 %282 = load i32, ptr @errno, align 4 %283 = call i32 (i32, ptr, ...) @syslog(i32 noundef %281, ptr noundef @.str.39, i32 noundef %282) br label %284 284: ; preds = %280, %274 %285 = load i32, ptr @LOG_NOTICE, align 4 %286 = call i32 (i32, ptr, ...) @syslog(i32 noundef %285, ptr noundef @.str.40) br label %19 } declare i32 @skeleton_daemon(...) #1 declare i64 @getDCIMDirectories(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @checkDirectory(ptr noundef) #1 declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef, ...) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @WEXITSTATUS(i32 noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i64 @WIFSIGNALED(i32 noundef) #1 declare i32 @WTERMSIG(i32 noundef) #1 declare i64 @WIFSTOPPED(i32 noundef) #1 declare i32 @WSTOPSIG(i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @closedir(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @sync(...) #1 declare i32 @umount(ptr noundef) #1 declare i32 @mount(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp5xxqvqz3.c" target datalayout = "e-m:e-p270: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.dirent = type { i64, ptr } @.str = private unnamed_addr constant [14 x i8] c"/mnt/sd/DCIM/\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @DT_REG = dso_local global i64 0, align 8 @LOG_ERR = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [74 x i8] c"Error during initializing newFilePath buffer. Continue without encrypting\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c".out\00", align 1 @LOG_NOTICE = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [23 x i8] c"Beginning to handle %s\00", align 1 @.str.5 = private unnamed_addr constant [76 x i8] c"Error %d occured during start of cryptosd. Continuing without encrypting %s\00", align 1 @errno = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [26 x i8] c"Starting cryptosd for %s.\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"cryptosd\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"-e\00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"-p\00", align 1 @.str.10 = private unnamed_addr constant [12 x i8] c"/mnt/sd/key\00", align 1 @.str.11 = private unnamed_addr constant [3 x i8] c"-i\00", align 1 @.str.12 = private unnamed_addr constant [14 x i8] c"/etc/cryptosd\00", align 1 @.str.13 = private unnamed_addr constant [45 x i8] c"Error (%d) during execvp of cryptosd for %s.\00", align 1 @.str.14 = private unnamed_addr constant [25 x i8] c"Child (cryptosd) pid: %d\00", align 1 @.str.15 = private unnamed_addr constant [17 x i8] c"Return Status %d\00", align 1 @.str.16 = private unnamed_addr constant [53 x i8] c"Encryption done for %s. Beginning with the deletion.\00", align 1 @.str.17 = private unnamed_addr constant [60 x i8] c"Error (%d) during start of rm. Continue without deleting %s\00", align 1 @.str.18 = private unnamed_addr constant [24 x i8] c"Starting deletion of %s\00", align 1 @.str.19 = private unnamed_addr constant [3 x i8] c"rm\00", align 1 @.str.20 = private unnamed_addr constant [33 x i8] c"Error during execvp of rm for %s\00", align 1 @.str.21 = private unnamed_addr constant [19 x i8] c"Child (rm) pid: %d\00", align 1 @.str.22 = private unnamed_addr constant [38 x i8] c"Child (rm) returned with errorcode %d\00", align 1 @.str.23 = private unnamed_addr constant [21 x i8] c"Deletion done for %s\00", align 1 @.str.24 = private unnamed_addr constant [35 x i8] c"Exited due to receiving signal %d\0A\00", align 1 @.str.25 = private unnamed_addr constant [36 x i8] c"Stopped due to receiving signal %d\0A\00", align 1 @.str.26 = private unnamed_addr constant [44 x i8] c"Child (cryptosd) returned with errorcode %d\00", align 1 @.str.27 = private unnamed_addr constant [38 x i8] c"Error during closing the directory %s\00", align 1 @.str.28 = private unnamed_addr constant [17 x i8] c"Sleep %d seconds\00", align 1 @.str.29 = private unnamed_addr constant [12 x i8] c"before sync\00", align 1 @.str.30 = private unnamed_addr constant [11 x i8] c"after sync\00", align 1 @.str.31 = private unnamed_addr constant [13 x i8] c"begin umount\00", align 1 @.str.32 = private unnamed_addr constant [9 x i8] c"/mnt/sd/\00", align 1 @.str.33 = private unnamed_addr constant [33 x i8] c"Unmount failed with errorcode %d\00", align 1 @.str.34 = private unnamed_addr constant [11 x i8] c"end umount\00", align 1 @.str.35 = private unnamed_addr constant [15 x i8] c"/dev/mmcblk0p1\00", align 1 @.str.36 = private unnamed_addr constant [8 x i8] c"/mnt/sd\00", align 1 @.str.37 = private unnamed_addr constant [5 x i8] c"vfat\00", align 1 @MS_RELATIME = dso_local global i32 0, align 4 @.str.38 = private unnamed_addr constant [16 x i8] c"errors=continue\00", align 1 @.str.39 = private unnamed_addr constant [33 x i8] c"Remount failed with errorcode %d\00", align 1 @.str.40 = private unnamed_addr constant [12 x i8] c"end remount\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca [100 x i8], align 16 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca [7 x ptr], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca [3 x ptr], align 16 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store i32 0, ptr %1, align 4 %18 = call i32 (...) @skeleton_daemon() br label %19 19: ; preds = %289, %0 %20 = call i64 @getDCIMDirectories(ptr noundef @.str, ptr noundef %2) store i64 %20, ptr %3, align 8 store i32 0, ptr %4, align 4 %21 = load i32, ptr %4, align 4 %22 = sext i32 %21 to i64 %23 = load i64, ptr %3, align 8 %24 = icmp ult i64 %22, %23 br i1 %24, label %.lr.ph2, label %260 .lr.ph2: ; preds = %19 br label %25 25: ; preds = %.lr.ph2, %253 %26 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 store i8 0, ptr %26, align 16 %27 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %28 = call i32 @strcat(ptr noundef %27, ptr noundef @.str) %29 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %30 = load ptr, ptr %2, align 8 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = call i32 @strcat(ptr noundef %29, ptr noundef %34) %36 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %37 = call i32 @strcat(ptr noundef %36, ptr noundef @.str.1) %38 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %39 = call i32 @checkDirectory(ptr noundef %38) %40 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %41 = call ptr @opendir(ptr noundef %40) store ptr %41, ptr %6, align 8 %42 = load ptr, ptr %6, align 8 %43 = icmp ne ptr %42, null br i1 %43, label %44, label %252 44: ; preds = %25 %45 = load ptr, ptr %6, align 8 %46 = call ptr @readdir(ptr noundef %45) store ptr %46, ptr %7, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %.lr.ph, label %243 .lr.ph: ; preds = %44 br label %48 48: ; preds = %.lr.ph, %239 %49 = load ptr, ptr %7, align 8 %50 = getelementptr inbounds %struct.dirent, ptr %49, i32 0, i32 0 %51 = load i64, ptr %50, align 8 %52 = load i64, ptr @DT_REG, align 8 %53 = icmp eq i64 %51, %52 br i1 %53, label %54, label %239 54: ; preds = %48 %55 = load ptr, ptr %7, align 8 %56 = getelementptr inbounds %struct.dirent, ptr %55, i32 0, i32 1 %57 = load ptr, ptr %56, align 8 %58 = call i32 @strlen(ptr noundef %57) %59 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %60 = call i32 @strlen(ptr noundef %59) %61 = add nsw i32 %58, %60 %62 = add nsw i32 %61, 1 store i32 %62, ptr %8, align 4 %63 = load i32, ptr %8, align 4 %64 = call i64 @malloc(i32 noundef %63) %65 = inttoptr i64 %64 to ptr store ptr %65, ptr %9, align 8 %66 = load ptr, ptr %9, align 8 %67 = icmp eq ptr %66, null br i1 %67, label %68, label %71 68: ; preds = %54 %69 = load i32, ptr @LOG_ERR, align 4 %70 = call i32 (i32, ptr, ...) @syslog(i32 noundef %69, ptr noundef @.str.2) br label %236 71: ; preds = %54 %72 = load ptr, ptr %9, align 8 %73 = load i32, ptr %8, align 4 %74 = call i32 @memset(ptr noundef %72, i8 noundef signext 0, i32 noundef %73) %75 = load ptr, ptr %9, align 8 %76 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %77 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %78 = call i32 @strlen(ptr noundef %77) %79 = call i32 @strncpy(ptr noundef %75, ptr noundef %76, i32 noundef %78) %80 = load ptr, ptr %9, align 8 %81 = load ptr, ptr %7, align 8 %82 = getelementptr inbounds %struct.dirent, ptr %81, i32 0, i32 1 %83 = load ptr, ptr %82, align 8 %84 = load ptr, ptr %7, align 8 %85 = getelementptr inbounds %struct.dirent, ptr %84, i32 0, i32 1 %86 = load ptr, ptr %85, align 8 %87 = call i32 @strlen(ptr noundef %86) %88 = call i32 @strncat(ptr noundef %80, ptr noundef %83, i32 noundef %87) %89 = load ptr, ptr %7, align 8 %90 = getelementptr inbounds %struct.dirent, ptr %89, i32 0, i32 1 %91 = load ptr, ptr %90, align 8 %92 = call ptr @strstr(ptr noundef %91, ptr noundef @.str.3) %93 = icmp eq ptr %92, null br i1 %93, label %94, label %235 94: ; preds = %71 %95 = load i32, ptr @LOG_NOTICE, align 4 %96 = load ptr, ptr %7, align 8 %97 = getelementptr inbounds %struct.dirent, ptr %96, i32 0, i32 1 %98 = load ptr, ptr %97, align 8 %99 = call i32 (i32, ptr, ...) @syslog(i32 noundef %95, ptr noundef @.str.4, ptr noundef %98) %100 = call i32 (...) @fork() store i32 %100, ptr %10, align 4 %101 = load i32, ptr %10, align 4 %102 = icmp eq i32 %101, -1 br i1 %102, label %103, label %110 103: ; preds = %94 %104 = load i32, ptr @LOG_ERR, align 4 %105 = load i32, ptr @errno, align 4 %106 = load ptr, ptr %7, align 8 %107 = getelementptr inbounds %struct.dirent, ptr %106, i32 0, i32 1 %108 = load ptr, ptr %107, align 8 %109 = call i32 (i32, ptr, ...) @syslog(i32 noundef %104, ptr noundef @.str.5, i32 noundef %105, ptr noundef %108) br label %234 110: ; preds = %94 %111 = load i32, ptr %10, align 4 %112 = icmp eq i32 %111, 0 br i1 %112, label %113, label %134 113: ; preds = %110 %114 = load i32, ptr @LOG_NOTICE, align 4 %115 = load ptr, ptr %7, align 8 %116 = getelementptr inbounds %struct.dirent, ptr %115, i32 0, i32 1 %117 = load ptr, ptr %116, align 8 %118 = call i32 (i32, ptr, ...) @syslog(i32 noundef %114, ptr noundef @.str.6, ptr noundef %117) %119 = getelementptr inbounds [7 x ptr], ptr %11, i64 0, i64 0 store ptr @.str.7, ptr %119, align 8 %120 = getelementptr inbounds ptr, ptr %119, i64 1 store ptr @.str.8, ptr %120, align 8 %121 = getelementptr inbounds ptr, ptr %120, i64 1 store ptr @.str.9, ptr %121, align 8 %122 = getelementptr inbounds ptr, ptr %121, i64 1 store ptr @.str.10, ptr %122, align 8 %123 = getelementptr inbounds ptr, ptr %122, i64 1 store ptr @.str.11, ptr %123, align 8 %124 = getelementptr inbounds ptr, ptr %123, i64 1 %125 = load ptr, ptr %9, align 8 store ptr %125, ptr %124, align 8 %126 = getelementptr inbounds ptr, ptr %124, i64 1 store ptr null, ptr %126, align 8 %127 = getelementptr inbounds [7 x ptr], ptr %11, i64 0, i64 0 %128 = call i32 @execvp(ptr noundef @.str.12, ptr noundef %127) %129 = load i32, ptr @LOG_ERR, align 4 %130 = load i32, ptr @errno, align 4 %131 = load ptr, ptr %9, align 8 %132 = call i32 (i32, ptr, ...) @syslog(i32 noundef %129, ptr noundef @.str.13, i32 noundef %130, ptr noundef %131) %133 = call i32 (...) @abort() #3 unreachable 134: ; preds = %110 %135 = load i32, ptr @LOG_NOTICE, align 4 %136 = load i32, ptr %10, align 4 %137 = call i32 (i32, ptr, ...) @syslog(i32 noundef %135, ptr noundef @.str.14, i32 noundef %136) %138 = load i32, ptr %10, align 4 %139 = call i32 @waitpid(i32 noundef %138, ptr noundef %12, i32 noundef 0) %140 = load i32, ptr @LOG_NOTICE, align 4 %141 = load i32, ptr %12, align 4 %142 = call i32 @WEXITSTATUS(i32 noundef %141) %143 = call i32 (i32, ptr, ...) @syslog(i32 noundef %140, ptr noundef @.str.15, i32 noundef %142) %144 = load i32, ptr %12, align 4 %145 = call i64 @WIFEXITED(i32 noundef %144) %146 = icmp ne i64 %145, 0 br i1 %146, label %147, label %203 147: ; preds = %134 %148 = load i32, ptr @LOG_NOTICE, align 4 %149 = load ptr, ptr %9, align 8 %150 = call i32 (i32, ptr, ...) @syslog(i32 noundef %148, ptr noundef @.str.16, ptr noundef %149) %151 = call i32 (...) @fork() store i32 %151, ptr %13, align 4 %152 = load i32, ptr %13, align 4 %153 = icmp eq i32 %152, -1 br i1 %153, label %154, label %161 154: ; preds = %147 %155 = load i32, ptr @LOG_ERR, align 4 %156 = load i32, ptr @errno, align 4 %157 = load ptr, ptr %7, align 8 %158 = getelementptr inbounds %struct.dirent, ptr %157, i32 0, i32 1 %159 = load ptr, ptr %158, align 8 %160 = call i32 (i32, ptr, ...) @syslog(i32 noundef %155, ptr noundef @.str.17, i32 noundef %156, ptr noundef %159) br label %202 161: ; preds = %147 %162 = load i32, ptr %13, align 4 %163 = icmp eq i32 %162, 0 br i1 %163, label %164, label %182 164: ; preds = %161 %165 = load i32, ptr @LOG_NOTICE, align 4 %166 = load ptr, ptr %7, align 8 %167 = getelementptr inbounds %struct.dirent, ptr %166, i32 0, i32 1 %168 = load ptr, ptr %167, align 8 %169 = call i32 (i32, ptr, ...) @syslog(i32 noundef %165, ptr noundef @.str.18, ptr noundef %168) %170 = getelementptr inbounds [3 x ptr], ptr %14, i64 0, i64 0 store ptr @.str.19, ptr %170, align 8 %171 = getelementptr inbounds ptr, ptr %170, i64 1 %172 = load ptr, ptr %9, align 8 store ptr %172, ptr %171, align 8 %173 = getelementptr inbounds ptr, ptr %171, i64 1 store ptr null, ptr %173, align 8 %174 = getelementptr inbounds [3 x ptr], ptr %14, i64 0, i64 0 %175 = call i32 @execvp(ptr noundef @.str.19, ptr noundef %174) %176 = load i32, ptr @LOG_ERR, align 4 %177 = load ptr, ptr %7, align 8 %178 = getelementptr inbounds %struct.dirent, ptr %177, i32 0, i32 1 %179 = load ptr, ptr %178, align 8 %180 = call i32 (i32, ptr, ...) @syslog(i32 noundef %176, ptr noundef @.str.20, ptr noundef %179) %181 = call i32 (...) @abort() #3 unreachable 182: ; preds = %161 %183 = load i32, ptr @LOG_NOTICE, align 4 %184 = load i32, ptr %13, align 4 %185 = call i32 (i32, ptr, ...) @syslog(i32 noundef %183, ptr noundef @.str.21, i32 noundef %184) store i32 9, ptr %12, align 4 %186 = load i32, ptr %13, align 4 %187 = call i32 @waitpid(i32 noundef %186, ptr noundef %12, i32 noundef 0) %188 = load i32, ptr %12, align 4 %189 = icmp ne i32 %188, 0 br i1 %189, label %190, label %194 190: ; preds = %182 %191 = load i32, ptr @LOG_ERR, align 4 %192 = load i32, ptr %12, align 4 %193 = call i32 (i32, ptr, ...) @syslog(i32 noundef %191, ptr noundef @.str.22, i32 noundef %192) br label %200 194: ; preds = %182 %195 = load i32, ptr @LOG_NOTICE, align 4 %196 = load ptr, ptr %7, align 8 %197 = getelementptr inbounds %struct.dirent, ptr %196, i32 0, i32 1 %198 = load ptr, ptr %197, align 8 %199 = call i32 (i32, ptr, ...) @syslog(i32 noundef %195, ptr noundef @.str.23, ptr noundef %198) br label %200 200: ; preds = %194, %190 br label %201 201: ; preds = %200 br label %202 202: ; preds = %201, %154 br label %232 203: ; preds = %134 %204 = load i32, ptr %12, align 4 %205 = call i64 @WIFSIGNALED(i32 noundef %204) %206 = icmp ne i64 %205, 0 br i1 %206, label %207, label %214 207: ; preds = %203 %208 = load i32, ptr %12, align 4 %209 = call i32 @WTERMSIG(i32 noundef %208) store i32 %209, ptr %15, align 4 %210 = load i32, ptr @LOG_ERR, align 4 %211 = load i32, ptr %12, align 4 %212 = call i32 @WEXITSTATUS(i32 noundef %211) %213 = call i32 (i32, ptr, ...) @syslog(i32 noundef %210, ptr noundef @.str.24, i32 noundef %212) br label %231 214: ; preds = %203 %215 = load i32, ptr %12, align 4 %216 = call i64 @WIFSTOPPED(i32 noundef %215) %217 = icmp ne i64 %216, 0 br i1 %217, label %218, label %225 218: ; preds = %214 %219 = load i32, ptr %12, align 4 %220 = call i32 @WSTOPSIG(i32 noundef %219) store i32 %220, ptr %16, align 4 %221 = load i32, ptr @LOG_ERR, align 4 %222 = load i32, ptr %12, align 4 %223 = call i32 @WEXITSTATUS(i32 noundef %222) %224 = call i32 (i32, ptr, ...) @syslog(i32 noundef %221, ptr noundef @.str.25, i32 noundef %223) br label %230 225: ; preds = %214 %226 = load i32, ptr @LOG_ERR, align 4 %227 = load i32, ptr %12, align 4 %228 = call i32 @WEXITSTATUS(i32 noundef %227) %229 = call i32 (i32, ptr, ...) @syslog(i32 noundef %226, ptr noundef @.str.26, i32 noundef %228) br label %230 230: ; preds = %225, %218 br label %231 231: ; preds = %230, %207 br label %232 232: ; preds = %231, %202 br label %233 233: ; preds = %232 br label %234 234: ; preds = %233, %103 br label %235 235: ; preds = %234, %71 br label %236 236: ; preds = %235, %68 %237 = load ptr, ptr %9, align 8 %238 = call i32 @free(ptr noundef %237) br label %239 239: ; preds = %236, %48 %240 = load ptr, ptr %6, align 8 %241 = call ptr @readdir(ptr noundef %240) store ptr %241, ptr %7, align 8 %242 = icmp ne ptr %241, null br i1 %242, label %48, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %239 br label %243 243: ; preds = %._crit_edge, %44 %244 = load ptr, ptr %6, align 8 %245 = call i32 @closedir(ptr noundef %244) %246 = icmp eq i32 %245, -1 br i1 %246, label %247, label %251 247: ; preds = %243 %248 = load i32, ptr @LOG_ERR, align 4 %249 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %250 = call i32 (i32, ptr, ...) @syslog(i32 noundef %248, ptr noundef @.str.27, ptr noundef %249) br label %251 251: ; preds = %247, %243 br label %252 252: ; preds = %251, %25 br label %253 253: ; preds = %252 %254 = load i32, ptr %4, align 4 %255 = add nsw i32 %254, 1 store i32 %255, ptr %4, align 4 %256 = load i32, ptr %4, align 4 %257 = sext i32 %256 to i64 %258 = load i64, ptr %3, align 8 %259 = icmp ult i64 %257, %258 br i1 %259, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %253 br label %260 260: ; preds = %._crit_edge3, %19 store i32 1, ptr %17, align 4 %261 = load i32, ptr @LOG_NOTICE, align 4 %262 = load i32, ptr %17, align 4 %263 = call i32 (i32, ptr, ...) @syslog(i32 noundef %261, ptr noundef @.str.28, i32 noundef %262) %264 = load i32, ptr %17, align 4 %265 = call i32 @sleep(i32 noundef %264) %266 = load i32, ptr @LOG_NOTICE, align 4 %267 = call i32 (i32, ptr, ...) @syslog(i32 noundef %266, ptr noundef @.str.29) %268 = call i32 (...) @sync() %269 = load i32, ptr @LOG_NOTICE, align 4 %270 = call i32 (i32, ptr, ...) @syslog(i32 noundef %269, ptr noundef @.str.30) %271 = load i32, ptr @LOG_NOTICE, align 4 %272 = call i32 (i32, ptr, ...) @syslog(i32 noundef %271, ptr noundef @.str.31) %273 = call i32 @umount(ptr noundef @.str.32) %274 = icmp eq i32 %273, -1 br i1 %274, label %275, label %279 275: ; preds = %260 %276 = load i32, ptr @LOG_ERR, align 4 %277 = load i32, ptr @errno, align 4 %278 = call i32 (i32, ptr, ...) @syslog(i32 noundef %276, ptr noundef @.str.33, i32 noundef %277) br label %279 279: ; preds = %275, %260 %280 = load i32, ptr @LOG_NOTICE, align 4 %281 = call i32 (i32, ptr, ...) @syslog(i32 noundef %280, ptr noundef @.str.34) %282 = load i32, ptr @MS_RELATIME, align 4 %283 = call i32 @mount(ptr noundef @.str.35, ptr noundef @.str.36, ptr noundef @.str.37, i32 noundef %282, ptr noundef @.str.38) %284 = icmp eq i32 %283, -1 br i1 %284, label %285, label %289 285: ; preds = %279 %286 = load i32, ptr @LOG_ERR, align 4 %287 = load i32, ptr @errno, align 4 %288 = call i32 (i32, ptr, ...) @syslog(i32 noundef %286, ptr noundef @.str.39, i32 noundef %287) br label %289 289: ; preds = %285, %279 %290 = load i32, ptr @LOG_NOTICE, align 4 %291 = call i32 (i32, ptr, ...) @syslog(i32 noundef %290, ptr noundef @.str.40) br label %19 } declare i32 @skeleton_daemon(...) #1 declare i64 @getDCIMDirectories(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @checkDirectory(ptr noundef) #1 declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef, ...) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @WEXITSTATUS(i32 noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i64 @WIFSIGNALED(i32 noundef) #1 declare i32 @WTERMSIG(i32 noundef) #1 declare i64 @WIFSTOPPED(i32 noundef) #1 declare i32 @WSTOPSIG(i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @closedir(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @sync(...) #1 declare i32 @umount(ptr noundef) #1 declare i32 @mount(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpa8qwn36u.c' source_filename = "/tmp/tmpa8qwn36u.c" target datalayout = "e-m:e-p270: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/tmpa8qwn36u.c" target datalayout = "e-m:e-p270: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/tmprbffzx6e.c' source_filename = "/tmp/tmprbffzx6e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_cp_max(i64 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 br label %7 7: ; preds = %22, %3 %8 = load i64, ptr %4, align 8 %9 = add i64 %8, -1 store i64 %9, ptr %4, align 8 %10 = icmp ne i64 %8, 0 br i1 %10, label %11, label %16 11: ; preds = %7 %12 = load ptr, ptr %6, align 8 %13 = getelementptr inbounds i8, ptr %12, i32 1 store ptr %13, ptr %6, align 8 %14 = load i8, ptr %12, align 1 %15 = sext i8 %14 to i32 br label %17 16: ; preds = %7 br label %17 17: ; preds = %16, %11 %18 = phi i32 [ %15, %11 ], [ 0, %16 ] %19 = trunc i32 %18 to i8 %20 = load ptr, ptr %5, align 8 store i8 %19, ptr %20, align 1 %21 = icmp ne i8 %19, 0 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %5, align 8 br label %7, !llvm.loop !6 25: ; preds = %17 %26 = load ptr, ptr %5, align 8 ret ptr %26 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmprbffzx6e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_cp_max(i64 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 br label %7 7: ; preds = %22, %3 %8 = load i64, ptr %4, align 8 %9 = add i64 %8, -1 store i64 %9, ptr %4, align 8 %10 = icmp ne i64 %8, 0 br i1 %10, label %11, label %16 11: ; preds = %7 %12 = load ptr, ptr %6, align 8 %13 = getelementptr inbounds i8, ptr %12, i32 1 store ptr %13, ptr %6, align 8 %14 = load i8, ptr %12, align 1 %15 = sext i8 %14 to i32 br label %17 16: ; preds = %7 br label %17 17: ; preds = %16, %11 %18 = phi i32 [ %15, %11 ], [ 0, %16 ] %19 = trunc i32 %18 to i8 %20 = load ptr, ptr %5, align 8 store i8 %19, ptr %20, align 1 %21 = icmp ne i8 %19, 0 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %5, align 8 br label %7, !llvm.loop !6 25: ; preds = %17 %26 = load ptr, ptr %5, align 8 ret ptr %26 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpg60aq4l4.c' source_filename = "/tmp/tmpg60aq4l4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @update_titleline() #0 { %1 = call i32 @curs_set(i32 noundef 0) %2 = call i32 (...) @do_update_titleline() %3 = call i32 (...) @post_update() ret void } declare i32 @curs_set(i32 noundef) #1 declare i32 @do_update_titleline(...) #1 declare i32 @post_update(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg60aq4l4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @update_titleline() #0 { %1 = call i32 @curs_set(i32 noundef 0) %2 = call i32 (...) @do_update_titleline() %3 = call i32 (...) @post_update() ret void } declare i32 @curs_set(i32 noundef) #1 declare i32 @do_update_titleline(...) #1 declare i32 @post_update(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7zb9q30_.c' source_filename = "/tmp/tmp7zb9q30_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A(more)\0A\00", align 1 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wait_any_key() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = load i32, ptr @stdin, align 4 %3 = call i32 @getc(i32 noundef %2) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @getc(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/tmp7zb9q30_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A(more)\0A\00", align 1 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wait_any_key() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = load i32, ptr @stdin, align 4 %3 = call i32 @getc(i32 noundef %2) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @getc(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/tmpo5pm6qpe.c' source_filename = "/tmp/tmpo5pm6qpe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 br label %5 5: ; preds = %8, %0 %6 = load i64, ptr %2, align 8 %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %17 8: ; preds = %5 %9 = load i64, ptr %2, align 8 %10 = sdiv i64 %9, 5 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = add nsw i64 %12, %10 %14 = trunc i64 %13 to i32 store i32 %14, ptr %3, align 4 %15 = load i64, ptr %2, align 8 %16 = sdiv i64 %15, 5 store i64 %16, ptr %2, align 8 br label %5, !llvm.loop !6 17: ; preds = %5 %18 = load i32, ptr %3, align 4 %19 = call i32 @printf(ptr noundef @.str.1, i32 noundef %18) 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/tmpo5pm6qpe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 %5 = load i64, ptr %2, align 8 %6 = icmp ne i64 %5, 0 br i1 %6, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %7 %8 = load i64, ptr %2, align 8 %9 = sdiv i64 %8, 5 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = add nsw i64 %11, %9 %13 = trunc i64 %12 to i32 store i32 %13, ptr %3, align 4 %14 = load i64, ptr %2, align 8 %15 = sdiv i64 %14, 5 store i64 %15, ptr %2, align 8 %16 = load i64, ptr %2, align 8 %17 = icmp ne i64 %16, 0 br i1 %17, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %18 18: ; preds = %._crit_edge, %0 %19 = load i32, ptr %3, align 4 %20 = call i32 @printf(ptr noundef @.str.1, i32 noundef %19) 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/tmpxqcg_mzx.c' source_filename = "/tmp/tmpxqcg_mzx.c" target datalayout = "e-m:e-p270: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/tmpxqcg_mzx.c" target datalayout = "e-m:e-p270: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/tmp26jkugxa.c' source_filename = "/tmp/tmp26jkugxa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.1e\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%6dB\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"%6.1f%c\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"BKMGTPE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pfl_fmt_human(ptr noundef %0, double noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store double %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %12, %2 %7 = load double, ptr %4, align 8 %8 = fcmp oge double %7, 1.024000e+03 br i1 %8, label %9, label %15 9: ; preds = %6 %10 = load double, ptr %4, align 8 %11 = fdiv double %10, 1.024000e+03 store double %11, ptr %4, align 8 br label %12 12: ; preds = %9 %13 = load i32, ptr %5, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %5, align 4 br label %6, !llvm.loop !6 15: ; preds = %6 %16 = load i32, ptr %5, align 4 %17 = icmp sgt i32 %16, 6 br i1 %17, label %18, label %22 18: ; preds = %15 %19 = load ptr, ptr %3, align 8 %20 = load double, ptr %4, align 8 %21 = call i32 (ptr, i32, ptr, double, ...) @snprintf(ptr noundef %19, i32 noundef 8, ptr noundef @.str, double noundef %20) br label %42 22: ; preds = %15 %23 = load i32, ptr %5, align 4 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %32 25: ; preds = %22 %26 = load ptr, ptr %3, align 8 %27 = load double, ptr %4, align 8 %28 = fadd double %27, 5.000000e-01 %29 = fptosi double %28 to i32 %30 = sitofp i32 %29 to double %31 = call i32 (ptr, i32, ptr, double, ...) @snprintf(ptr noundef %26, i32 noundef 8, ptr noundef @.str.1, double noundef %30) br label %41 32: ; preds = %22 %33 = load ptr, ptr %3, align 8 %34 = load double, ptr %4, align 8 %35 = load i32, ptr %5, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [8 x i8], ptr @.str.3, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = call i32 (ptr, i32, ptr, double, ...) @snprintf(ptr noundef %33, i32 noundef 8, ptr noundef @.str.2, double noundef %34, i32 noundef %39) br label %41 41: ; preds = %32, %25 br label %42 42: ; preds = %41, %18 ret void } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, double noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp26jkugxa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.1e\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%6dB\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"%6.1f%c\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"BKMGTPE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pfl_fmt_human(ptr noundef %0, double noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store double %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load double, ptr %4, align 8 %7 = fcmp oge double %6, 1.024000e+03 br i1 %7, label %.lr.ph, label %16 .lr.ph: ; preds = %2 br label %8 8: ; preds = %.lr.ph, %11 %9 = load double, ptr %4, align 8 %10 = fdiv double %9, 1.024000e+03 store double %10, ptr %4, align 8 br label %11 11: ; preds = %8 %12 = load i32, ptr %5, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %5, align 4 %14 = load double, ptr %4, align 8 %15 = fcmp oge double %14, 1.024000e+03 br i1 %15, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %2 %17 = load i32, ptr %5, align 4 %18 = icmp sgt i32 %17, 6 br i1 %18, label %19, label %23 19: ; preds = %16 %20 = load ptr, ptr %3, align 8 %21 = load double, ptr %4, align 8 %22 = call i32 (ptr, i32, ptr, double, ...) @snprintf(ptr noundef %20, i32 noundef 8, ptr noundef @.str, double noundef %21) br label %43 23: ; preds = %16 %24 = load i32, ptr %5, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %33 26: ; preds = %23 %27 = load ptr, ptr %3, align 8 %28 = load double, ptr %4, align 8 %29 = fadd double %28, 5.000000e-01 %30 = fptosi double %29 to i32 %31 = sitofp i32 %30 to double %32 = call i32 (ptr, i32, ptr, double, ...) @snprintf(ptr noundef %27, i32 noundef 8, ptr noundef @.str.1, double noundef %31) br label %42 33: ; preds = %23 %34 = load ptr, ptr %3, align 8 %35 = load double, ptr %4, align 8 %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [8 x i8], ptr @.str.3, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = call i32 (ptr, i32, ptr, double, ...) @snprintf(ptr noundef %34, i32 noundef 8, ptr noundef @.str.2, double noundef %35, i32 noundef %40) br label %42 42: ; preds = %33, %26 br label %43 43: ; preds = %42, %19 ret void } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, double noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpv7o68vdf.c' source_filename = "/tmp/tmpv7o68vdf.c" target datalayout = "e-m:e-p270: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/tmpv7o68vdf.c" target datalayout = "e-m:e-p270: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/tmpk1qv2mpk.c' source_filename = "/tmp/tmpk1qv2mpk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"beep_beep(%d)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @beep_beep(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/tmpk1qv2mpk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"beep_beep(%d)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @beep_beep(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 = '/tmp/tmpk08gc2sr.c' source_filename = "/tmp/tmpk08gc2sr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2htonll(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 store ptr %3, ptr %6, align 8 %7 = load i32, ptr %2, align 4 %8 = sext i32 %7 to i64 %9 = and i64 %8, 4294967295 store i64 %9, ptr %4, align 8 %10 = load i64, ptr %4, align 8 %11 = call i64 @htonl(i64 noundef %10) store i64 %11, ptr %4, align 8 %12 = load i32, ptr %2, align 4 %13 = ashr i32 %12, 32 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = sext i32 %14 to i64 %16 = and i64 %15, 4294967295 store i64 %16, ptr %5, align 8 %17 = load i64, ptr %5, align 8 %18 = call i64 @htonl(i64 noundef %17) store i64 %18, ptr %5, align 8 %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 0 %21 = call i32 @memcpy(ptr noundef %20, ptr noundef %5, i32 noundef 4) %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds i32, ptr %22, i64 4 %24 = call i32 @memcpy(ptr noundef %23, ptr noundef %4, i32 noundef 4) %25 = load i32, ptr %3, align 4 ret i32 %25 } declare i64 @htonl(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk08gc2sr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2htonll(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 store ptr %3, ptr %6, align 8 %7 = load i32, ptr %2, align 4 %8 = sext i32 %7 to i64 %9 = and i64 %8, 4294967295 store i64 %9, ptr %4, align 8 %10 = load i64, ptr %4, align 8 %11 = call i64 @htonl(i64 noundef %10) store i64 %11, ptr %4, align 8 %12 = load i32, ptr %2, align 4 %13 = ashr i32 %12, 32 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = sext i32 %14 to i64 %16 = and i64 %15, 4294967295 store i64 %16, ptr %5, align 8 %17 = load i64, ptr %5, align 8 %18 = call i64 @htonl(i64 noundef %17) store i64 %18, ptr %5, align 8 %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 0 %21 = call i32 @memcpy(ptr noundef %20, ptr noundef %5, i32 noundef 4) %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds i32, ptr %22, i64 4 %24 = call i32 @memcpy(ptr noundef %23, ptr noundef %4, i32 noundef 4) %25 = load i32, ptr %3, align 4 ret i32 %25 } declare i64 @htonl(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8s1q5org.c' source_filename = "/tmp/tmp8s1q5org.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bs_utf8_to_utf16(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds i8, ptr %7, i32 1 store ptr %8, ptr %3, align 8 %9 = load i8, ptr %7, align 1 %10 = sext i8 %9 to i32 store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %11, 128 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = load i32, ptr %5, align 4 store i32 %14, ptr %6, align 4 br label %58 15: ; preds = %2 %16 = load i32, ptr %5, align 4 %17 = icmp sge i32 %16, 194 br i1 %17, label %18, label %31 18: ; preds = %15 %19 = load i32, ptr %5, align 4 %20 = icmp sle i32 %19, 223 br i1 %20, label %21, label %31 21: ; preds = %18 %22 = load i32, ptr %5, align 4 %23 = and i32 %22, 31 %24 = shl i32 %23, 6 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %3, align 8 %27 = load i8, ptr %25, align 1 %28 = sext i8 %27 to i32 %29 = and i32 %28, 63 %30 = add nsw i32 %24, %29 store i32 %30, ptr %6, align 4 br label %57 31: ; preds = %18, %15 %32 = load i32, ptr %5, align 4 %33 = icmp sge i32 %32, 224 br i1 %33, label %34, label %55 34: ; preds = %31 %35 = load i32, ptr %5, align 4 %36 = icmp sle i32 %35, 239 br i1 %36, label %37, label %55 37: ; preds = %34 %38 = load i32, ptr %5, align 4 %39 = and i32 %38, 15 %40 = shl i32 %39, 12 %41 = load ptr, ptr %3, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 1 store ptr %42, ptr %3, align 8 %43 = load i8, ptr %41, align 1 %44 = sext i8 %43 to i32 %45 = and i32 %44, 63 %46 = shl i32 %45, 6 %47 = add nsw i32 %40, %46 store i32 %47, ptr %6, align 4 %48 = load ptr, ptr %3, align 8 %49 = getelementptr inbounds i8, ptr %48, i32 1 store ptr %49, ptr %3, align 8 %50 = load i8, ptr %48, align 1 %51 = sext i8 %50 to i32 %52 = and i32 %51, 63 %53 = load i32, ptr %6, align 4 %54 = add nsw i32 %53, %52 store i32 %54, ptr %6, align 4 br label %56 55: ; preds = %34, %31 store i32 32, ptr %6, align 4 br label %56 56: ; preds = %55, %37 br label %57 57: ; preds = %56, %21 br label %58 58: ; preds = %57, %13 %59 = load ptr, ptr %4, align 8 %60 = icmp ne ptr %59, null br i1 %60, label %61, label %64 61: ; preds = %58 %62 = load ptr, ptr %3, align 8 %63 = load ptr, ptr %4, align 8 store ptr %62, ptr %63, align 8 br label %64 64: ; preds = %61, %58 %65 = load i32, ptr %6, align 4 ret i32 %65 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8s1q5org.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bs_utf8_to_utf16(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds i8, ptr %7, i32 1 store ptr %8, ptr %3, align 8 %9 = load i8, ptr %7, align 1 %10 = sext i8 %9 to i32 store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %11, 128 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = load i32, ptr %5, align 4 store i32 %14, ptr %6, align 4 br label %58 15: ; preds = %2 %16 = load i32, ptr %5, align 4 %17 = icmp sge i32 %16, 194 br i1 %17, label %18, label %31 18: ; preds = %15 %19 = load i32, ptr %5, align 4 %20 = icmp sle i32 %19, 223 br i1 %20, label %21, label %31 21: ; preds = %18 %22 = load i32, ptr %5, align 4 %23 = and i32 %22, 31 %24 = shl i32 %23, 6 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %3, align 8 %27 = load i8, ptr %25, align 1 %28 = sext i8 %27 to i32 %29 = and i32 %28, 63 %30 = add nsw i32 %24, %29 store i32 %30, ptr %6, align 4 br label %57 31: ; preds = %18, %15 %32 = load i32, ptr %5, align 4 %33 = icmp sge i32 %32, 224 br i1 %33, label %34, label %55 34: ; preds = %31 %35 = load i32, ptr %5, align 4 %36 = icmp sle i32 %35, 239 br i1 %36, label %37, label %55 37: ; preds = %34 %38 = load i32, ptr %5, align 4 %39 = and i32 %38, 15 %40 = shl i32 %39, 12 %41 = load ptr, ptr %3, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 1 store ptr %42, ptr %3, align 8 %43 = load i8, ptr %41, align 1 %44 = sext i8 %43 to i32 %45 = and i32 %44, 63 %46 = shl i32 %45, 6 %47 = add nsw i32 %40, %46 store i32 %47, ptr %6, align 4 %48 = load ptr, ptr %3, align 8 %49 = getelementptr inbounds i8, ptr %48, i32 1 store ptr %49, ptr %3, align 8 %50 = load i8, ptr %48, align 1 %51 = sext i8 %50 to i32 %52 = and i32 %51, 63 %53 = load i32, ptr %6, align 4 %54 = add nsw i32 %53, %52 store i32 %54, ptr %6, align 4 br label %56 55: ; preds = %34, %31 store i32 32, ptr %6, align 4 br label %56 56: ; preds = %55, %37 br label %57 57: ; preds = %56, %21 br label %58 58: ; preds = %57, %13 %59 = load ptr, ptr %4, align 8 %60 = icmp ne ptr %59, null br i1 %60, label %61, label %64 61: ; preds = %58 %62 = load ptr, ptr %3, align 8 %63 = load ptr, ptr %4, align 8 store ptr %62, ptr %63, align 8 br label %64 64: ; preds = %61, %58 %65 = load i32, ptr %6, align 4 ret i32 %65 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpno7ygwjz.c' source_filename = "/tmp/tmpno7ygwjz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"0P\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"1hA0l0ah1.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @test(ptr noundef @.str) %2 = call i32 @test(ptr noundef @.str.1) %3 = call i32 @test(ptr noundef @.str.2) ret i32 0 } declare i32 @test(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpno7ygwjz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"0P\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"1hA0l0ah1.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @test(ptr noundef @.str) %2 = call i32 @test(ptr noundef @.str.1) %3 = call i32 @test(ptr noundef @.str.2) ret i32 0 } declare i32 @test(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpni5yk_v7.c' source_filename = "/tmp/tmpni5yk_v7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__divdi3(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 0, %10 store i32 %11, ptr %3, align 4 store i32 1, ptr %5, align 4 br label %12 12: ; preds = %9, %2 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %20 15: ; preds = %12 %16 = load i32, ptr %4, align 4 %17 = sub nsw i32 0, %16 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = xor i32 %18, 1 store i32 %19, ptr %5, align 4 br label %20 20: ; preds = %15, %12 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %4, align 4 %23 = call i32 @__udivmoddi4(i32 noundef %21, i32 noundef %22, ptr noundef null) store i32 %23, ptr %6, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %20 %27 = load i32, ptr %6, align 4 %28 = sub nsw i32 0, %27 store i32 %28, ptr %6, align 4 br label %29 29: ; preds = %26, %20 %30 = load i32, ptr %6, align 4 ret i32 %30 } declare i32 @__udivmoddi4(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpni5yk_v7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__divdi3(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 0, %10 store i32 %11, ptr %3, align 4 store i32 1, ptr %5, align 4 br label %12 12: ; preds = %9, %2 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %20 15: ; preds = %12 %16 = load i32, ptr %4, align 4 %17 = sub nsw i32 0, %16 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = xor i32 %18, 1 store i32 %19, ptr %5, align 4 br label %20 20: ; preds = %15, %12 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %4, align 4 %23 = call i32 @__udivmoddi4(i32 noundef %21, i32 noundef %22, ptr noundef null) store i32 %23, ptr %6, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %20 %27 = load i32, ptr %6, align 4 %28 = sub nsw i32 0, %27 store i32 %28, ptr %6, align 4 br label %29 29: ; preds = %26, %20 %30 = load i32, ptr %6, align 4 ret i32 %30 } declare i32 @__udivmoddi4(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppmsncnko.c' source_filename = "/tmp/tmppmsncnko.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gpio_iic_init() #0 { %1 = load volatile i32, ptr inttoptr (i64 3760193728 to ptr), align 4 %2 = and i32 %1, -241 %3 = or i32 %2, 16 store volatile i32 %3, ptr inttoptr (i64 3760193728 to ptr), align 4 %4 = load volatile i32, ptr inttoptr (i64 3760193732 to ptr), align 4 %5 = or i32 %4, 2 store volatile i32 %5, ptr inttoptr (i64 3760193732 to ptr), align 4 %6 = load volatile i32, ptr inttoptr (i64 3760193728 to ptr), align 4 %7 = and i32 %6, -16 %8 = or i32 %7, 1 store volatile i32 %8, ptr inttoptr (i64 3760193728 to ptr), align 4 %9 = load volatile i32, ptr inttoptr (i64 3760193732 to ptr), align 4 %10 = or i32 %9, 1 store volatile i32 %10, ptr inttoptr (i64 3760193732 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppmsncnko.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gpio_iic_init() #0 { %1 = load volatile i32, ptr inttoptr (i64 3760193728 to ptr), align 4 %2 = and i32 %1, -241 %3 = or i32 %2, 16 store volatile i32 %3, ptr inttoptr (i64 3760193728 to ptr), align 4 %4 = load volatile i32, ptr inttoptr (i64 3760193732 to ptr), align 4 %5 = or i32 %4, 2 store volatile i32 %5, ptr inttoptr (i64 3760193732 to ptr), align 4 %6 = load volatile i32, ptr inttoptr (i64 3760193728 to ptr), align 4 %7 = and i32 %6, -16 %8 = or i32 %7, 1 store volatile i32 %8, ptr inttoptr (i64 3760193728 to ptr), align 4 %9 = load volatile i32, ptr inttoptr (i64 3760193732 to ptr), align 4 %10 = or i32 %9, 1 store volatile i32 %10, ptr inttoptr (i64 3760193732 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"}
; ModuleID = '/tmp/tmp60f9wwl5.c' source_filename = "/tmp/tmp60f9wwl5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"allocation failure in lvector()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @lvector(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %4, align 8 %7 = load i64, ptr %3, align 8 %8 = sub nsw i64 %6, %7 %9 = add nsw i64 %8, 1 %10 = add nsw i64 %9, 1 %11 = mul i64 %10, 8 %12 = call i64 @malloc(i64 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %5, align 8 %14 = load ptr, ptr %5, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %18, label %16 16: ; preds = %2 %17 = call i32 @NRerror(ptr noundef @.str) br label %18 18: ; preds = %16, %2 %19 = load ptr, ptr %5, align 8 %20 = load i64, ptr %3, align 8 %21 = sub i64 0, %20 %22 = getelementptr inbounds i64, ptr %19, i64 %21 %23 = getelementptr inbounds i64, ptr %22, i64 1 ret ptr %23 } declare i64 @malloc(i64 noundef) #1 declare i32 @NRerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp60f9wwl5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"allocation failure in lvector()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @lvector(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %4, align 8 %7 = load i64, ptr %3, align 8 %8 = sub nsw i64 %6, %7 %9 = add nsw i64 %8, 1 %10 = add nsw i64 %9, 1 %11 = mul i64 %10, 8 %12 = call i64 @malloc(i64 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %5, align 8 %14 = load ptr, ptr %5, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %18, label %16 16: ; preds = %2 %17 = call i32 @NRerror(ptr noundef @.str) br label %18 18: ; preds = %16, %2 %19 = load ptr, ptr %5, align 8 %20 = load i64, ptr %3, align 8 %21 = sub i64 0, %20 %22 = getelementptr inbounds i64, ptr %19, i64 %21 %23 = getelementptr inbounds i64, ptr %22, i64 1 ret ptr %23 } declare i64 @malloc(i64 noundef) #1 declare i32 @NRerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmped6922pp.c' source_filename = "/tmp/tmped6922pp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"\0A[Registry]\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"; Start \22gretl\22 registry keys.\0A\00", align 1 @.str.2 = private unnamed_addr constant [61 x i8] c"Root: HKCR; Subkey: \22Software\\gretl\22; Flags: uninsdeletekey\0A\00", align 1 @.str.3 = private unnamed_addr constant [61 x i8] c"Root: HKLM; Subkey: \22Software\\gretl\22; Flags: uninsdeletekey\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"gretldir\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"{app}\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c".gdt\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"GretlDataFile\00", align 1 @.str.8 = private unnamed_addr constant [24 x i8] c"application/x-gretldata\00", align 1 @.str.9 = private unnamed_addr constant [16 x i8] c"Gretl data file\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c".inp\00", align 1 @.str.11 = private unnamed_addr constant [16 x i8] c"GretlScriptFile\00", align 1 @.str.12 = private unnamed_addr constant [26 x i8] c"application/x-gretlscript\00", align 1 @.str.13 = private unnamed_addr constant [18 x i8] c"Gretl script file\00", align 1 @.str.14 = private unnamed_addr constant [7 x i8] c".gretl\00", align 1 @.str.15 = private unnamed_addr constant [17 x i8] c"GretlSessionFile\00", align 1 @.str.16 = private unnamed_addr constant [27 x i8] c"application/x-gretlsession\00", align 1 @.str.17 = private unnamed_addr constant [19 x i8] c"Gretl session file\00", align 1 @.str.18 = private unnamed_addr constant [6 x i8] c".gdtb\00", align 1 @.str.19 = private unnamed_addr constant [17 x i8] c"GretlBindataFile\00", align 1 @.str.20 = private unnamed_addr constant [27 x i8] c"application/x-gretlbindata\00", align 1 @.str.21 = private unnamed_addr constant [23 x i8] c"Gretl binary data file\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_registry_entries() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @LM_entry(ptr noundef @.str.4, ptr noundef @.str.5) %6 = call i32 @reg_suffix(ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, i32 noundef 1) %7 = call i32 @reg_suffix(ptr noundef @.str.10, ptr noundef @.str.11, ptr noundef @.str.12, ptr noundef @.str.13, i32 noundef 2) %8 = call i32 @reg_suffix(ptr noundef @.str.14, ptr noundef @.str.15, ptr noundef @.str.16, ptr noundef @.str.17, i32 noundef 3) %9 = call i32 @reg_suffix(ptr noundef @.str.18, ptr noundef @.str.19, ptr noundef @.str.20, ptr noundef @.str.21, i32 noundef 4) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @LM_entry(ptr noundef, ptr noundef) #1 declare i32 @reg_suffix(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmped6922pp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"\0A[Registry]\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"; Start \22gretl\22 registry keys.\0A\00", align 1 @.str.2 = private unnamed_addr constant [61 x i8] c"Root: HKCR; Subkey: \22Software\\gretl\22; Flags: uninsdeletekey\0A\00", align 1 @.str.3 = private unnamed_addr constant [61 x i8] c"Root: HKLM; Subkey: \22Software\\gretl\22; Flags: uninsdeletekey\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"gretldir\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"{app}\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c".gdt\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"GretlDataFile\00", align 1 @.str.8 = private unnamed_addr constant [24 x i8] c"application/x-gretldata\00", align 1 @.str.9 = private unnamed_addr constant [16 x i8] c"Gretl data file\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c".inp\00", align 1 @.str.11 = private unnamed_addr constant [16 x i8] c"GretlScriptFile\00", align 1 @.str.12 = private unnamed_addr constant [26 x i8] c"application/x-gretlscript\00", align 1 @.str.13 = private unnamed_addr constant [18 x i8] c"Gretl script file\00", align 1 @.str.14 = private unnamed_addr constant [7 x i8] c".gretl\00", align 1 @.str.15 = private unnamed_addr constant [17 x i8] c"GretlSessionFile\00", align 1 @.str.16 = private unnamed_addr constant [27 x i8] c"application/x-gretlsession\00", align 1 @.str.17 = private unnamed_addr constant [19 x i8] c"Gretl session file\00", align 1 @.str.18 = private unnamed_addr constant [6 x i8] c".gdtb\00", align 1 @.str.19 = private unnamed_addr constant [17 x i8] c"GretlBindataFile\00", align 1 @.str.20 = private unnamed_addr constant [27 x i8] c"application/x-gretlbindata\00", align 1 @.str.21 = private unnamed_addr constant [23 x i8] c"Gretl binary data file\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_registry_entries() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @LM_entry(ptr noundef @.str.4, ptr noundef @.str.5) %6 = call i32 @reg_suffix(ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, i32 noundef 1) %7 = call i32 @reg_suffix(ptr noundef @.str.10, ptr noundef @.str.11, ptr noundef @.str.12, ptr noundef @.str.13, i32 noundef 2) %8 = call i32 @reg_suffix(ptr noundef @.str.14, ptr noundef @.str.15, ptr noundef @.str.16, ptr noundef @.str.17, i32 noundef 3) %9 = call i32 @reg_suffix(ptr noundef @.str.18, ptr noundef @.str.19, ptr noundef @.str.20, ptr noundef @.str.21, i32 noundef 4) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @LM_entry(ptr noundef, ptr noundef) #1 declare i32 @reg_suffix(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3aqi6wtd.c' source_filename = "/tmp/tmp3aqi6wtd.c" target datalayout = "e-m:e-p270: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/tmp3aqi6wtd.c" target datalayout = "e-m:e-p270: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/tmpmtq6kwhm.c' source_filename = "/tmp/tmpmtq6kwhm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%F %H:%M:%S\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @date(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = call i32 @time(ptr noundef null) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = call ptr @gmtime(i32 noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %6, align 8 %13 = call i32 @strftime(ptr noundef %10, i32 noundef %11, ptr noundef @.str, ptr noundef %12) ret i32 %13 } declare i32 @time(ptr noundef) #1 declare ptr @gmtime(i32 noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmtq6kwhm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%F %H:%M:%S\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @date(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = call i32 @time(ptr noundef null) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = call ptr @gmtime(i32 noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %6, align 8 %13 = call i32 @strftime(ptr noundef %10, i32 noundef %11, ptr noundef @.str, ptr noundef %12) ret i32 %13 } declare i32 @time(ptr noundef) #1 declare ptr @gmtime(i32 noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi64q0khm.c' source_filename = "/tmp/tmpi64q0khm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable define dso_local double @nearbyint(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @nearbyintl(double noundef %3) ret double %4 } declare double @nearbyintl(double noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi64q0khm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable define dso_local double @nearbyint(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @nearbyintl(double noundef %3) ret double %4 } declare double @nearbyintl(double noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpup7w3xif.c' source_filename = "/tmp/tmpup7w3xif.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"getipsecalgbynum not implmemented\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getipsecalgbynum(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %8 = call i32 @assert(i32 noundef 0) %9 = load ptr, ptr %4, align 8 ret ptr %9 } 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/tmpup7w3xif.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"getipsecalgbynum not implmemented\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getipsecalgbynum(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %8 = call i32 @assert(i32 noundef 0) %9 = load ptr, ptr %4, align 8 ret ptr %9 } 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/tmplqnehzw6.c' source_filename = "/tmp/tmplqnehzw6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ULONG_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fffr8u4(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i64 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #0 { %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca i32, align 4 %16 = alloca i64, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca i64, align 8 %22 = alloca double, align 8 %23 = alloca ptr, align 8 %24 = alloca i16, align 2 store ptr %0, ptr %11, align 8 store i64 %1, ptr %12, align 8 store double %2, ptr %13, align 8 store double %3, ptr %14, align 8 store i32 %4, ptr %15, align 4 store i64 %5, ptr %16, align 8 store ptr %6, ptr %17, align 8 store ptr %7, ptr %18, align 8 store ptr %8, ptr %19, align 8 store ptr %9, ptr %20, align 8 %25 = load i32, ptr %15, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %118 27: ; preds = %10 %28 = load double, ptr %13, align 8 %29 = fcmp oeq double %28, 1.000000e+00 br i1 %29, label %30, label %76 30: ; preds = %27 %31 = load double, ptr %14, align 8 %32 = fcmp oeq double %31, 0.000000e+00 br i1 %32, label %33, label %76 33: ; preds = %30 store i64 0, ptr %21, align 8 br label %34 34: ; preds = %72, %33 %35 = load i64, ptr %21, align 8 %36 = load i64, ptr %12, align 8 %37 = icmp slt i64 %35, %36 br i1 %37, label %38, label %75 38: ; preds = %34 %39 = load ptr, ptr %11, align 8 %40 = load i64, ptr %21, align 8 %41 = getelementptr inbounds double, ptr %39, i64 %40 %42 = load double, ptr %41, align 8 %43 = fcmp olt double %42, -4.900000e-01 br i1 %43, label %44, label %49 44: ; preds = %38 %45 = load ptr, ptr %20, align 8 store i32 -11, ptr %45, align 4 %46 = load ptr, ptr %19, align 8 %47 = load i64, ptr %21, align 8 %48 = getelementptr inbounds i64, ptr %46, i64 %47 store i64 0, ptr %48, align 8 br label %71 49: ; preds = %38 %50 = load ptr, ptr %11, align 8 %51 = load i64, ptr %21, align 8 %52 = getelementptr inbounds double, ptr %50, i64 %51 %53 = load double, ptr %52, align 8 %54 = fcmp ogt double %53, 0x43EFFFFFFFFFFFFF br i1 %54, label %55, label %61 55: ; preds = %49 %56 = load ptr, ptr %20, align 8 store i32 -11, ptr %56, align 4 %57 = load i64, ptr @ULONG_MAX, align 8 %58 = load ptr, ptr %19, align 8 %59 = load i64, ptr %21, align 8 %60 = getelementptr inbounds i64, ptr %58, i64 %59 store i64 %57, ptr %60, align 8 br label %70 61: ; preds = %49 %62 = load ptr, ptr %11, align 8 %63 = load i64, ptr %21, align 8 %64 = getelementptr inbounds double, ptr %62, i64 %63 %65 = load double, ptr %64, align 8 %66 = fptoui double %65 to i64 %67 = load ptr, ptr %19, align 8 %68 = load i64, ptr %21, align 8 %69 = getelementptr inbounds i64, ptr %67, i64 %68 store i64 %66, ptr %69, align 8 br label %70 70: ; preds = %61, %55 br label %71 71: ; preds = %70, %44 br label %72 72: ; preds = %71 %73 = load i64, ptr %21, align 8 %74 = add nsw i64 %73, 1 store i64 %74, ptr %21, align 8 br label %34, !llvm.loop !6 75: ; preds = %34 br label %117 76: ; preds = %30, %27 store i64 0, ptr %21, align 8 br label %77 77: ; preds = %113, %76 %78 = load i64, ptr %21, align 8 %79 = load i64, ptr %12, align 8 %80 = icmp slt i64 %78, %79 br i1 %80, label %81, label %116 81: ; preds = %77 %82 = load ptr, ptr %11, align 8 %83 = load i64, ptr %21, align 8 %84 = getelementptr inbounds double, ptr %82, i64 %83 %85 = load double, ptr %84, align 8 %86 = load double, ptr %13, align 8 %87 = load double, ptr %14, align 8 %88 = call double @llvm.fmuladd.f64(double %85, double %86, double %87) store double %88, ptr %22, align 8 %89 = load double, ptr %22, align 8 %90 = fcmp olt double %89, -4.900000e-01 br i1 %90, label %91, label %96 91: ; preds = %81 %92 = load ptr, ptr %20, align 8 store i32 -11, ptr %92, align 4 %93 = load ptr, ptr %19, align 8 %94 = load i64, ptr %21, align 8 %95 = getelementptr inbounds i64, ptr %93, i64 %94 store i64 0, ptr %95, align 8 br label %112 96: ; preds = %81 %97 = load double, ptr %22, align 8 %98 = fcmp ogt double %97, 0x43EFFFFFFFFFFFFF br i1 %98, label %99, label %105 99: ; preds = %96 %100 = load ptr, ptr %20, align 8 store i32 -11, ptr %100, align 4 %101 = load i64, ptr @ULONG_MAX, align 8 %102 = load ptr, ptr %19, align 8 %103 = load i64, ptr %21, align 8 %104 = getelementptr inbounds i64, ptr %102, i64 %103 store i64 %101, ptr %104, align 8 br label %111 105: ; preds = %96 %106 = load double, ptr %22, align 8 %107 = fptoui double %106 to i64 %108 = load ptr, ptr %19, align 8 %109 = load i64, ptr %21, align 8 %110 = getelementptr inbounds i64, ptr %108, i64 %109 store i64 %107, ptr %110, align 8 br label %111 111: ; preds = %105, %99 br label %112 112: ; preds = %111, %91 br label %113 113: ; preds = %112 %114 = load i64, ptr %21, align 8 %115 = add nsw i64 %114, 1 store i64 %115, ptr %21, align 8 br label %77, !llvm.loop !8 116: ; preds = %77 br label %117 117: ; preds = %116, %75 br label %325 118: ; preds = %10 %119 = load ptr, ptr %11, align 8 store ptr %119, ptr %23, align 8 %120 = load ptr, ptr %23, align 8 %121 = getelementptr inbounds i16, ptr %120, i64 3 store ptr %121, ptr %23, align 8 %122 = load double, ptr %13, align 8 %123 = fcmp oeq double %122, 1.000000e+00 br i1 %123, label %124, label %216 124: ; preds = %118 %125 = load double, ptr %14, align 8 %126 = fcmp oeq double %125, 0.000000e+00 br i1 %126, label %127, label %216 127: ; preds = %124 store i64 0, ptr %21, align 8 br label %128 128: ; preds = %210, %127 %129 = load i64, ptr %21, align 8 %130 = load i64, ptr %12, align 8 %131 = icmp slt i64 %129, %130 br i1 %131, label %132, label %215 132: ; preds = %128 %133 = load ptr, ptr %23, align 8 %134 = load i16, ptr %133, align 2 %135 = sext i16 %134 to i32 %136 = and i32 %135, 32752 %137 = icmp eq i32 %136, 32752 br i1 %137, label %138, label %139 138: ; preds = %132 br label %147 139: ; preds = %132 %140 = load ptr, ptr %23, align 8 %141 = load i16, ptr %140, align 2 %142 = sext i16 %141 to i32 %143 = and i32 %142, 32752 %144 = icmp eq i32 %143, 0 %145 = zext i1 %144 to i64 %146 = select i1 %144, i32 2, i32 0 br label %147 147: ; preds = %139, %138 %148 = phi i32 [ 1, %138 ], [ %146, %139 ] %149 = trunc i32 %148 to i16 store i16 %149, ptr %24, align 2 %150 = sext i16 %149 to i32 %151 = icmp ne i32 0, %150 br i1 %151, label %152, label %175 152: ; preds = %147 %153 = load i16, ptr %24, align 2 %154 = sext i16 %153 to i32 %155 = icmp eq i32 %154, 1 br i1 %155, label %156, label %170 156: ; preds = %152 %157 = load ptr, ptr %18, align 8 store i32 1, ptr %157, align 4 %158 = load i32, ptr %15, align 4 %159 = icmp eq i32 %158, 1 br i1 %159, label %160, label %165 160: ; preds = %156 %161 = load i64, ptr %16, align 8 %162 = load ptr, ptr %19, align 8 %163 = load i64, ptr %21, align 8 %164 = getelementptr inbounds i64, ptr %162, i64 %163 store i64 %161, ptr %164, align 8 br label %169 165: ; preds = %156 %166 = load ptr, ptr %17, align 8 %167 = load i64, ptr %21, align 8 %168 = getelementptr inbounds i8, ptr %166, i64 %167 store i8 1, ptr %168, align 1 br label %169 169: ; preds = %165, %160 br label %174 170: ; preds = %152 %171 = load ptr, ptr %19, align 8 %172 = load i64, ptr %21, align 8 %173 = getelementptr inbounds i64, ptr %171, i64 %172 store i64 0, ptr %173, align 8 br label %174 174: ; preds = %170, %169 br label %209 175: ; preds = %147 %176 = load ptr, ptr %11, align 8 %177 = load i64, ptr %21, align 8 %178 = getelementptr inbounds double, ptr %176, i64 %177 %179 = load double, ptr %178, align 8 %180 = fcmp olt double %179, -4.900000e-01 br i1 %180, label %181, label %186 181: ; preds = %175 %182 = load ptr, ptr %20, align 8 store i32 -11, ptr %182, align 4 %183 = load ptr, ptr %19, align 8 %184 = load i64, ptr %21, align 8 %185 = getelementptr inbounds i64, ptr %183, i64 %184 store i64 0, ptr %185, align 8 br label %208 186: ; preds = %175 %187 = load ptr, ptr %11, align 8 %188 = load i64, ptr %21, align 8 %189 = getelementptr inbounds double, ptr %187, i64 %188 %190 = load double, ptr %189, align 8 %191 = fcmp ogt double %190, 0x43EFFFFFFFFFFFFF br i1 %191, label %192, label %198 192: ; preds = %186 %193 = load ptr, ptr %20, align 8 store i32 -11, ptr %193, align 4 %194 = load i64, ptr @ULONG_MAX, align 8 %195 = load ptr, ptr %19, align 8 %196 = load i64, ptr %21, align 8 %197 = getelementptr inbounds i64, ptr %195, i64 %196 store i64 %194, ptr %197, align 8 br label %207 198: ; preds = %186 %199 = load ptr, ptr %11, align 8 %200 = load i64, ptr %21, align 8 %201 = getelementptr inbounds double, ptr %199, i64 %200 %202 = load double, ptr %201, align 8 %203 = fptoui double %202 to i64 %204 = load ptr, ptr %19, align 8 %205 = load i64, ptr %21, align 8 %206 = getelementptr inbounds i64, ptr %204, i64 %205 store i64 %203, ptr %206, align 8 br label %207 207: ; preds = %198, %192 br label %208 208: ; preds = %207, %181 br label %209 209: ; preds = %208, %174 br label %210 210: ; preds = %209 %211 = load i64, ptr %21, align 8 %212 = add nsw i64 %211, 1 store i64 %212, ptr %21, align 8 %213 = load ptr, ptr %23, align 8 %214 = getelementptr inbounds i16, ptr %213, i64 4 store ptr %214, ptr %23, align 8 br label %128, !llvm.loop !9 215: ; preds = %128 br label %324 216: ; preds = %124, %118 store i64 0, ptr %21, align 8 br label %217 217: ; preds = %318, %216 %218 = load i64, ptr %21, align 8 %219 = load i64, ptr %12, align 8 %220 = icmp slt i64 %218, %219 br i1 %220, label %221, label %323 221: ; preds = %217 %222 = load ptr, ptr %23, align 8 %223 = load i16, ptr %222, align 2 %224 = sext i16 %223 to i32 %225 = and i32 %224, 32752 %226 = icmp eq i32 %225, 32752 br i1 %226, label %227, label %228 227: ; preds = %221 br label %236 228: ; preds = %221 %229 = load ptr, ptr %23, align 8 %230 = load i16, ptr %229, align 2 %231 = sext i16 %230 to i32 %232 = and i32 %231, 32752 %233 = icmp eq i32 %232, 0 %234 = zext i1 %233 to i64 %235 = select i1 %233, i32 2, i32 0 br label %236 236: ; preds = %228, %227 %237 = phi i32 [ 1, %227 ], [ %235, %228 ] %238 = trunc i32 %237 to i16 store i16 %238, ptr %24, align 2 %239 = sext i16 %238 to i32 %240 = icmp ne i32 0, %239 br i1 %240, label %241, label %285 241: ; preds = %236 %242 = load i16, ptr %24, align 2 %243 = sext i16 %242 to i32 %244 = icmp eq i32 %243, 1 br i1 %244, label %245, label %259 245: ; preds = %241 %246 = load ptr, ptr %18, align 8 store i32 1, ptr %246, align 4 %247 = load i32, ptr %15, align 4 %248 = icmp eq i32 %247, 1 br i1 %248, label %249, label %254 249: ; preds = %245 %250 = load i64, ptr %16, align 8 %251 = load ptr, ptr %19, align 8 %252 = load i64, ptr %21, align 8 %253 = getelementptr inbounds i64, ptr %251, i64 %252 store i64 %250, ptr %253, align 8 br label %258 254: ; preds = %245 %255 = load ptr, ptr %17, align 8 %256 = load i64, ptr %21, align 8 %257 = getelementptr inbounds i8, ptr %255, i64 %256 store i8 1, ptr %257, align 1 br label %258 258: ; preds = %254, %249 br label %284 259: ; preds = %241 %260 = load double, ptr %14, align 8 %261 = fcmp olt double %260, -4.900000e-01 br i1 %261, label %262, label %267 262: ; preds = %259 %263 = load ptr, ptr %20, align 8 store i32 -11, ptr %263, align 4 %264 = load ptr, ptr %19, align 8 %265 = load i64, ptr %21, align 8 %266 = getelementptr inbounds i64, ptr %264, i64 %265 store i64 0, ptr %266, align 8 br label %283 267: ; preds = %259 %268 = load double, ptr %14, align 8 %269 = fcmp ogt double %268, 0x43EFFFFFFFFFFFFF br i1 %269, label %270, label %276 270: ; preds = %267 %271 = load ptr, ptr %20, align 8 store i32 -11, ptr %271, align 4 %272 = load i64, ptr @ULONG_MAX, align 8 %273 = load ptr, ptr %19, align 8 %274 = load i64, ptr %21, align 8 %275 = getelementptr inbounds i64, ptr %273, i64 %274 store i64 %272, ptr %275, align 8 br label %282 276: ; preds = %267 %277 = load double, ptr %14, align 8 %278 = fptoui double %277 to i64 %279 = load ptr, ptr %19, align 8 %280 = load i64, ptr %21, align 8 %281 = getelementptr inbounds i64, ptr %279, i64 %280 store i64 %278, ptr %281, align 8 br label %282 282: ; preds = %276, %270 br label %283 283: ; preds = %282, %262 br label %284 284: ; preds = %283, %258 br label %317 285: ; preds = %236 %286 = load ptr, ptr %11, align 8 %287 = load i64, ptr %21, align 8 %288 = getelementptr inbounds double, ptr %286, i64 %287 %289 = load double, ptr %288, align 8 %290 = load double, ptr %13, align 8 %291 = load double, ptr %14, align 8 %292 = call double @llvm.fmuladd.f64(double %289, double %290, double %291) store double %292, ptr %22, align 8 %293 = load double, ptr %22, align 8 %294 = fcmp olt double %293, -4.900000e-01 br i1 %294, label %295, label %300 295: ; preds = %285 %296 = load ptr, ptr %20, align 8 store i32 -11, ptr %296, align 4 %297 = load ptr, ptr %19, align 8 %298 = load i64, ptr %21, align 8 %299 = getelementptr inbounds i64, ptr %297, i64 %298 store i64 0, ptr %299, align 8 br label %316 300: ; preds = %285 %301 = load double, ptr %22, align 8 %302 = fcmp ogt double %301, 0x43EFFFFFFFFFFFFF br i1 %302, label %303, label %309 303: ; preds = %300 %304 = load ptr, ptr %20, align 8 store i32 -11, ptr %304, align 4 %305 = load i64, ptr @ULONG_MAX, align 8 %306 = load ptr, ptr %19, align 8 %307 = load i64, ptr %21, align 8 %308 = getelementptr inbounds i64, ptr %306, i64 %307 store i64 %305, ptr %308, align 8 br label %315 309: ; preds = %300 %310 = load double, ptr %22, align 8 %311 = fptoui double %310 to i64 %312 = load ptr, ptr %19, align 8 %313 = load i64, ptr %21, align 8 %314 = getelementptr inbounds i64, ptr %312, i64 %313 store i64 %311, ptr %314, align 8 br label %315 315: ; preds = %309, %303 br label %316 316: ; preds = %315, %295 br label %317 317: ; preds = %316, %284 br label %318 318: ; preds = %317 %319 = load i64, ptr %21, align 8 %320 = add nsw i64 %319, 1 store i64 %320, ptr %21, align 8 %321 = load ptr, ptr %23, align 8 %322 = getelementptr inbounds i16, ptr %321, i64 4 store ptr %322, ptr %23, align 8 br label %217, !llvm.loop !10 323: ; preds = %217 br label %324 324: ; preds = %323, %215 br label %325 325: ; preds = %324, %117 %326 = load ptr, ptr %20, align 8 %327 = load i32, ptr %326, align 4 ret i32 %327 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplqnehzw6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ULONG_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fffr8u4(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i64 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #0 { %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca i32, align 4 %16 = alloca i64, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca i64, align 8 %22 = alloca double, align 8 %23 = alloca ptr, align 8 %24 = alloca i16, align 2 store ptr %0, ptr %11, align 8 store i64 %1, ptr %12, align 8 store double %2, ptr %13, align 8 store double %3, ptr %14, align 8 store i32 %4, ptr %15, align 4 store i64 %5, ptr %16, align 8 store ptr %6, ptr %17, align 8 store ptr %7, ptr %18, align 8 store ptr %8, ptr %19, align 8 store ptr %9, ptr %20, align 8 %25 = load i32, ptr %15, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %122 27: ; preds = %10 %28 = load double, ptr %13, align 8 %29 = fcmp oeq double %28, 1.000000e+00 br i1 %29, label %30, label %78 30: ; preds = %27 %31 = load double, ptr %14, align 8 %32 = fcmp oeq double %31, 0.000000e+00 br i1 %32, label %33, label %78 33: ; preds = %30 store i64 0, ptr %21, align 8 %34 = load i64, ptr %21, align 8 %35 = load i64, ptr %12, align 8 %36 = icmp slt i64 %34, %35 br i1 %36, label %.lr.ph8, label %77 .lr.ph8: ; preds = %33 br label %37 37: ; preds = %.lr.ph8, %71 %38 = load ptr, ptr %11, align 8 %39 = load i64, ptr %21, align 8 %40 = getelementptr inbounds double, ptr %38, i64 %39 %41 = load double, ptr %40, align 8 %42 = fcmp olt double %41, -4.900000e-01 br i1 %42, label %43, label %48 43: ; preds = %37 %44 = load ptr, ptr %20, align 8 store i32 -11, ptr %44, align 4 %45 = load ptr, ptr %19, align 8 %46 = load i64, ptr %21, align 8 %47 = getelementptr inbounds i64, ptr %45, i64 %46 store i64 0, ptr %47, align 8 br label %70 48: ; preds = %37 %49 = load ptr, ptr %11, align 8 %50 = load i64, ptr %21, align 8 %51 = getelementptr inbounds double, ptr %49, i64 %50 %52 = load double, ptr %51, align 8 %53 = fcmp ogt double %52, 0x43EFFFFFFFFFFFFF br i1 %53, label %54, label %60 54: ; preds = %48 %55 = load ptr, ptr %20, align 8 store i32 -11, ptr %55, align 4 %56 = load i64, ptr @ULONG_MAX, align 8 %57 = load ptr, ptr %19, align 8 %58 = load i64, ptr %21, align 8 %59 = getelementptr inbounds i64, ptr %57, i64 %58 store i64 %56, ptr %59, align 8 br label %69 60: ; preds = %48 %61 = load ptr, ptr %11, align 8 %62 = load i64, ptr %21, align 8 %63 = getelementptr inbounds double, ptr %61, i64 %62 %64 = load double, ptr %63, align 8 %65 = fptoui double %64 to i64 %66 = load ptr, ptr %19, align 8 %67 = load i64, ptr %21, align 8 %68 = getelementptr inbounds i64, ptr %66, i64 %67 store i64 %65, ptr %68, align 8 br label %69 69: ; preds = %60, %54 br label %70 70: ; preds = %69, %43 br label %71 71: ; preds = %70 %72 = load i64, ptr %21, align 8 %73 = add nsw i64 %72, 1 store i64 %73, ptr %21, align 8 %74 = load i64, ptr %21, align 8 %75 = load i64, ptr %12, align 8 %76 = icmp slt i64 %74, %75 br i1 %76, label %37, label %._crit_edge9, !llvm.loop !6 ._crit_edge9: ; preds = %71 br label %77 77: ; preds = %._crit_edge9, %33 br label %121 78: ; preds = %30, %27 store i64 0, ptr %21, align 8 %79 = load i64, ptr %21, align 8 %80 = load i64, ptr %12, align 8 %81 = icmp slt i64 %79, %80 br i1 %81, label %.lr.ph5, label %120 .lr.ph5: ; preds = %78 br label %82 82: ; preds = %.lr.ph5, %114 %83 = load ptr, ptr %11, align 8 %84 = load i64, ptr %21, align 8 %85 = getelementptr inbounds double, ptr %83, i64 %84 %86 = load double, ptr %85, align 8 %87 = load double, ptr %13, align 8 %88 = load double, ptr %14, align 8 %89 = call double @llvm.fmuladd.f64(double %86, double %87, double %88) store double %89, ptr %22, align 8 %90 = load double, ptr %22, align 8 %91 = fcmp olt double %90, -4.900000e-01 br i1 %91, label %92, label %97 92: ; preds = %82 %93 = load ptr, ptr %20, align 8 store i32 -11, ptr %93, align 4 %94 = load ptr, ptr %19, align 8 %95 = load i64, ptr %21, align 8 %96 = getelementptr inbounds i64, ptr %94, i64 %95 store i64 0, ptr %96, align 8 br label %113 97: ; preds = %82 %98 = load double, ptr %22, align 8 %99 = fcmp ogt double %98, 0x43EFFFFFFFFFFFFF br i1 %99, label %100, label %106 100: ; preds = %97 %101 = load ptr, ptr %20, align 8 store i32 -11, ptr %101, align 4 %102 = load i64, ptr @ULONG_MAX, align 8 %103 = load ptr, ptr %19, align 8 %104 = load i64, ptr %21, align 8 %105 = getelementptr inbounds i64, ptr %103, i64 %104 store i64 %102, ptr %105, align 8 br label %112 106: ; preds = %97 %107 = load double, ptr %22, align 8 %108 = fptoui double %107 to i64 %109 = load ptr, ptr %19, align 8 %110 = load i64, ptr %21, align 8 %111 = getelementptr inbounds i64, ptr %109, i64 %110 store i64 %108, ptr %111, align 8 br label %112 112: ; preds = %106, %100 br label %113 113: ; preds = %112, %92 br label %114 114: ; preds = %113 %115 = load i64, ptr %21, align 8 %116 = add nsw i64 %115, 1 store i64 %116, ptr %21, align 8 %117 = load i64, ptr %21, align 8 %118 = load i64, ptr %12, align 8 %119 = icmp slt i64 %117, %118 br i1 %119, label %82, label %._crit_edge6, !llvm.loop !8 ._crit_edge6: ; preds = %114 br label %120 120: ; preds = %._crit_edge6, %78 br label %121 121: ; preds = %120, %77 br label %333 122: ; preds = %10 %123 = load ptr, ptr %11, align 8 store ptr %123, ptr %23, align 8 %124 = load ptr, ptr %23, align 8 %125 = getelementptr inbounds i16, ptr %124, i64 3 store ptr %125, ptr %23, align 8 %126 = load double, ptr %13, align 8 %127 = fcmp oeq double %126, 1.000000e+00 br i1 %127, label %128, label %222 128: ; preds = %122 %129 = load double, ptr %14, align 8 %130 = fcmp oeq double %129, 0.000000e+00 br i1 %130, label %131, label %222 131: ; preds = %128 store i64 0, ptr %21, align 8 %132 = load i64, ptr %21, align 8 %133 = load i64, ptr %12, align 8 %134 = icmp slt i64 %132, %133 br i1 %134, label %.lr.ph2, label %221 .lr.ph2: ; preds = %131 br label %135 135: ; preds = %.lr.ph2, %213 %136 = load ptr, ptr %23, align 8 %137 = load i16, ptr %136, align 2 %138 = sext i16 %137 to i32 %139 = and i32 %138, 32752 %140 = icmp eq i32 %139, 32752 br i1 %140, label %141, label %142 141: ; preds = %135 br label %150 142: ; preds = %135 %143 = load ptr, ptr %23, align 8 %144 = load i16, ptr %143, align 2 %145 = sext i16 %144 to i32 %146 = and i32 %145, 32752 %147 = icmp eq i32 %146, 0 %148 = zext i1 %147 to i64 %149 = select i1 %147, i32 2, i32 0 br label %150 150: ; preds = %142, %141 %151 = phi i32 [ 1, %141 ], [ %149, %142 ] %152 = trunc i32 %151 to i16 store i16 %152, ptr %24, align 2 %153 = sext i16 %152 to i32 %154 = icmp ne i32 0, %153 br i1 %154, label %155, label %178 155: ; preds = %150 %156 = load i16, ptr %24, align 2 %157 = sext i16 %156 to i32 %158 = icmp eq i32 %157, 1 br i1 %158, label %159, label %173 159: ; preds = %155 %160 = load ptr, ptr %18, align 8 store i32 1, ptr %160, align 4 %161 = load i32, ptr %15, align 4 %162 = icmp eq i32 %161, 1 br i1 %162, label %163, label %168 163: ; preds = %159 %164 = load i64, ptr %16, align 8 %165 = load ptr, ptr %19, align 8 %166 = load i64, ptr %21, align 8 %167 = getelementptr inbounds i64, ptr %165, i64 %166 store i64 %164, ptr %167, align 8 br label %172 168: ; preds = %159 %169 = load ptr, ptr %17, align 8 %170 = load i64, ptr %21, align 8 %171 = getelementptr inbounds i8, ptr %169, i64 %170 store i8 1, ptr %171, align 1 br label %172 172: ; preds = %168, %163 br label %177 173: ; preds = %155 %174 = load ptr, ptr %19, align 8 %175 = load i64, ptr %21, align 8 %176 = getelementptr inbounds i64, ptr %174, i64 %175 store i64 0, ptr %176, align 8 br label %177 177: ; preds = %173, %172 br label %212 178: ; preds = %150 %179 = load ptr, ptr %11, align 8 %180 = load i64, ptr %21, align 8 %181 = getelementptr inbounds double, ptr %179, i64 %180 %182 = load double, ptr %181, align 8 %183 = fcmp olt double %182, -4.900000e-01 br i1 %183, label %184, label %189 184: ; preds = %178 %185 = load ptr, ptr %20, align 8 store i32 -11, ptr %185, align 4 %186 = load ptr, ptr %19, align 8 %187 = load i64, ptr %21, align 8 %188 = getelementptr inbounds i64, ptr %186, i64 %187 store i64 0, ptr %188, align 8 br label %211 189: ; preds = %178 %190 = load ptr, ptr %11, align 8 %191 = load i64, ptr %21, align 8 %192 = getelementptr inbounds double, ptr %190, i64 %191 %193 = load double, ptr %192, align 8 %194 = fcmp ogt double %193, 0x43EFFFFFFFFFFFFF br i1 %194, label %195, label %201 195: ; preds = %189 %196 = load ptr, ptr %20, align 8 store i32 -11, ptr %196, align 4 %197 = load i64, ptr @ULONG_MAX, align 8 %198 = load ptr, ptr %19, align 8 %199 = load i64, ptr %21, align 8 %200 = getelementptr inbounds i64, ptr %198, i64 %199 store i64 %197, ptr %200, align 8 br label %210 201: ; preds = %189 %202 = load ptr, ptr %11, align 8 %203 = load i64, ptr %21, align 8 %204 = getelementptr inbounds double, ptr %202, i64 %203 %205 = load double, ptr %204, align 8 %206 = fptoui double %205 to i64 %207 = load ptr, ptr %19, align 8 %208 = load i64, ptr %21, align 8 %209 = getelementptr inbounds i64, ptr %207, i64 %208 store i64 %206, ptr %209, align 8 br label %210 210: ; preds = %201, %195 br label %211 211: ; preds = %210, %184 br label %212 212: ; preds = %211, %177 br label %213 213: ; preds = %212 %214 = load i64, ptr %21, align 8 %215 = add nsw i64 %214, 1 store i64 %215, ptr %21, align 8 %216 = load ptr, ptr %23, align 8 %217 = getelementptr inbounds i16, ptr %216, i64 4 store ptr %217, ptr %23, align 8 %218 = load i64, ptr %21, align 8 %219 = load i64, ptr %12, align 8 %220 = icmp slt i64 %218, %219 br i1 %220, label %135, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %213 br label %221 221: ; preds = %._crit_edge3, %131 br label %332 222: ; preds = %128, %122 store i64 0, ptr %21, align 8 %223 = load i64, ptr %21, align 8 %224 = load i64, ptr %12, align 8 %225 = icmp slt i64 %223, %224 br i1 %225, label %.lr.ph, label %331 .lr.ph: ; preds = %222 br label %226 226: ; preds = %.lr.ph, %323 %227 = load ptr, ptr %23, align 8 %228 = load i16, ptr %227, align 2 %229 = sext i16 %228 to i32 %230 = and i32 %229, 32752 %231 = icmp eq i32 %230, 32752 br i1 %231, label %232, label %233 232: ; preds = %226 br label %241 233: ; preds = %226 %234 = load ptr, ptr %23, align 8 %235 = load i16, ptr %234, align 2 %236 = sext i16 %235 to i32 %237 = and i32 %236, 32752 %238 = icmp eq i32 %237, 0 %239 = zext i1 %238 to i64 %240 = select i1 %238, i32 2, i32 0 br label %241 241: ; preds = %233, %232 %242 = phi i32 [ 1, %232 ], [ %240, %233 ] %243 = trunc i32 %242 to i16 store i16 %243, ptr %24, align 2 %244 = sext i16 %243 to i32 %245 = icmp ne i32 0, %244 br i1 %245, label %246, label %290 246: ; preds = %241 %247 = load i16, ptr %24, align 2 %248 = sext i16 %247 to i32 %249 = icmp eq i32 %248, 1 br i1 %249, label %250, label %264 250: ; preds = %246 %251 = load ptr, ptr %18, align 8 store i32 1, ptr %251, align 4 %252 = load i32, ptr %15, align 4 %253 = icmp eq i32 %252, 1 br i1 %253, label %254, label %259 254: ; preds = %250 %255 = load i64, ptr %16, align 8 %256 = load ptr, ptr %19, align 8 %257 = load i64, ptr %21, align 8 %258 = getelementptr inbounds i64, ptr %256, i64 %257 store i64 %255, ptr %258, align 8 br label %263 259: ; preds = %250 %260 = load ptr, ptr %17, align 8 %261 = load i64, ptr %21, align 8 %262 = getelementptr inbounds i8, ptr %260, i64 %261 store i8 1, ptr %262, align 1 br label %263 263: ; preds = %259, %254 br label %289 264: ; preds = %246 %265 = load double, ptr %14, align 8 %266 = fcmp olt double %265, -4.900000e-01 br i1 %266, label %267, label %272 267: ; preds = %264 %268 = load ptr, ptr %20, align 8 store i32 -11, ptr %268, align 4 %269 = load ptr, ptr %19, align 8 %270 = load i64, ptr %21, align 8 %271 = getelementptr inbounds i64, ptr %269, i64 %270 store i64 0, ptr %271, align 8 br label %288 272: ; preds = %264 %273 = load double, ptr %14, align 8 %274 = fcmp ogt double %273, 0x43EFFFFFFFFFFFFF br i1 %274, label %275, label %281 275: ; preds = %272 %276 = load ptr, ptr %20, align 8 store i32 -11, ptr %276, align 4 %277 = load i64, ptr @ULONG_MAX, align 8 %278 = load ptr, ptr %19, align 8 %279 = load i64, ptr %21, align 8 %280 = getelementptr inbounds i64, ptr %278, i64 %279 store i64 %277, ptr %280, align 8 br label %287 281: ; preds = %272 %282 = load double, ptr %14, align 8 %283 = fptoui double %282 to i64 %284 = load ptr, ptr %19, align 8 %285 = load i64, ptr %21, align 8 %286 = getelementptr inbounds i64, ptr %284, i64 %285 store i64 %283, ptr %286, align 8 br label %287 287: ; preds = %281, %275 br label %288 288: ; preds = %287, %267 br label %289 289: ; preds = %288, %263 br label %322 290: ; preds = %241 %291 = load ptr, ptr %11, align 8 %292 = load i64, ptr %21, align 8 %293 = getelementptr inbounds double, ptr %291, i64 %292 %294 = load double, ptr %293, align 8 %295 = load double, ptr %13, align 8 %296 = load double, ptr %14, align 8 %297 = call double @llvm.fmuladd.f64(double %294, double %295, double %296) store double %297, ptr %22, align 8 %298 = load double, ptr %22, align 8 %299 = fcmp olt double %298, -4.900000e-01 br i1 %299, label %300, label %305 300: ; preds = %290 %301 = load ptr, ptr %20, align 8 store i32 -11, ptr %301, align 4 %302 = load ptr, ptr %19, align 8 %303 = load i64, ptr %21, align 8 %304 = getelementptr inbounds i64, ptr %302, i64 %303 store i64 0, ptr %304, align 8 br label %321 305: ; preds = %290 %306 = load double, ptr %22, align 8 %307 = fcmp ogt double %306, 0x43EFFFFFFFFFFFFF br i1 %307, label %308, label %314 308: ; preds = %305 %309 = load ptr, ptr %20, align 8 store i32 -11, ptr %309, align 4 %310 = load i64, ptr @ULONG_MAX, align 8 %311 = load ptr, ptr %19, align 8 %312 = load i64, ptr %21, align 8 %313 = getelementptr inbounds i64, ptr %311, i64 %312 store i64 %310, ptr %313, align 8 br label %320 314: ; preds = %305 %315 = load double, ptr %22, align 8 %316 = fptoui double %315 to i64 %317 = load ptr, ptr %19, align 8 %318 = load i64, ptr %21, align 8 %319 = getelementptr inbounds i64, ptr %317, i64 %318 store i64 %316, ptr %319, align 8 br label %320 320: ; preds = %314, %308 br label %321 321: ; preds = %320, %300 br label %322 322: ; preds = %321, %289 br label %323 323: ; preds = %322 %324 = load i64, ptr %21, align 8 %325 = add nsw i64 %324, 1 store i64 %325, ptr %21, align 8 %326 = load ptr, ptr %23, align 8 %327 = getelementptr inbounds i16, ptr %326, i64 4 store ptr %327, ptr %23, align 8 %328 = load i64, ptr %21, align 8 %329 = load i64, ptr %12, align 8 %330 = icmp slt i64 %328, %329 br i1 %330, label %226, label %._crit_edge, !llvm.loop !10 ._crit_edge: ; preds = %323 br label %331 331: ; preds = %._crit_edge, %222 br label %332 332: ; preds = %331, %221 br label %333 333: ; preds = %332, %121 %334 = load ptr, ptr %20, align 8 %335 = load i32, ptr %334, align 4 ret i32 %335 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpkfjzsnyg.c' source_filename = "/tmp/tmpkfjzsnyg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a value to be multiplie by 10 %c \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"%d multiplied by 10 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 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef 26) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = shl i32 %6, 1 %8 = load i32, ptr %2, align 4 %9 = shl i32 %8, 3 %10 = add nsw i32 %7, %9 store i32 %10, ptr %3, align 4 %11 = call i32 @putchar(i8 noundef signext 10) %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %12, i32 noundef %13) br label %15 15: ; preds = %19, %0 %16 = call signext i8 (...) @getchar() %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 10 br i1 %18, label %19, label %20 19: ; preds = %15 br label %15, !llvm.loop !6 20: ; preds = %15 %21 = call signext i8 (...) @getchar() ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @putchar(i8 noundef signext) #1 declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkfjzsnyg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a value to be multiplie by 10 %c \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"%d multiplied by 10 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 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef 26) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = shl i32 %6, 1 %8 = load i32, ptr %2, align 4 %9 = shl i32 %8, 3 %10 = add nsw i32 %7, %9 store i32 %10, ptr %3, align 4 %11 = call i32 @putchar(i8 noundef signext 10) %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %12, i32 noundef %13) br label %15 15: ; preds = %15, %0 %16 = call signext i8 (...) @getchar() %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 10 br i1 %18, label %15, label %19, !llvm.loop !6 19: ; preds = %15 %20 = call signext i8 (...) @getchar() ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @putchar(i8 noundef signext) #1 declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfe_n4unt.c' source_filename = "/tmp/tmpfe_n4unt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @U_WMRSELECTPALETTE_swap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @U_WMRCORE_N16_swap(ptr noundef %5, i32 noundef 1, i32 noundef %6) ret void } declare i32 @U_WMRCORE_N16_swap(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfe_n4unt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @U_WMRSELECTPALETTE_swap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @U_WMRCORE_N16_swap(ptr noundef %5, i32 noundef 1, i32 noundef %6) ret void } declare i32 @U_WMRCORE_N16_swap(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp81q43tvz.c' source_filename = "/tmp/tmp81q43tvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BEV_EVENT_EOF = dso_local global i16 0, align 2 @BEV_EVENT_ERROR = dso_local global i16 0, align 2 @BEV_EVENT_TIMEOUT = dso_local global i16 0, align 2 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error_cb(ptr noundef %0, i16 noundef signext %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i16, align 2 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i16 %1, ptr %5, align 2 store ptr %2, ptr %6, align 8 %7 = load i16, ptr %5, align 2 %8 = sext i16 %7 to i32 %9 = load i16, ptr @BEV_EVENT_EOF, align 2 %10 = sext i16 %9 to i32 %11 = and i32 %8, %10 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %3 br label %32 14: ; preds = %3 %15 = load i16, ptr %5, align 2 %16 = sext i16 %15 to i32 %17 = load i16, ptr @BEV_EVENT_ERROR, align 2 %18 = sext i16 %17 to i32 %19 = and i32 %16, %18 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %14 br label %31 22: ; preds = %14 %23 = load i16, ptr %5, align 2 %24 = sext i16 %23 to i32 %25 = load i16, ptr @BEV_EVENT_TIMEOUT, align 2 %26 = sext i16 %25 to i32 %27 = and i32 %24, %26 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %22 br label %30 30: ; preds = %29, %22 br label %31 31: ; preds = %30, %21 br label %32 32: ; preds = %31, %13 %33 = load ptr, ptr %4, align 8 %34 = call i32 @bufferevent_free(ptr noundef %33) ret void } declare i32 @bufferevent_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/tmp81q43tvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BEV_EVENT_EOF = dso_local global i16 0, align 2 @BEV_EVENT_ERROR = dso_local global i16 0, align 2 @BEV_EVENT_TIMEOUT = dso_local global i16 0, align 2 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error_cb(ptr noundef %0, i16 noundef signext %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i16, align 2 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i16 %1, ptr %5, align 2 store ptr %2, ptr %6, align 8 %7 = load i16, ptr %5, align 2 %8 = sext i16 %7 to i32 %9 = load i16, ptr @BEV_EVENT_EOF, align 2 %10 = sext i16 %9 to i32 %11 = and i32 %8, %10 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %3 br label %32 14: ; preds = %3 %15 = load i16, ptr %5, align 2 %16 = sext i16 %15 to i32 %17 = load i16, ptr @BEV_EVENT_ERROR, align 2 %18 = sext i16 %17 to i32 %19 = and i32 %16, %18 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %14 br label %31 22: ; preds = %14 %23 = load i16, ptr %5, align 2 %24 = sext i16 %23 to i32 %25 = load i16, ptr @BEV_EVENT_TIMEOUT, align 2 %26 = sext i16 %25 to i32 %27 = and i32 %24, %26 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %22 br label %30 30: ; preds = %29, %22 br label %31 31: ; preds = %30, %21 br label %32 32: ; preds = %31, %13 %33 = load ptr, ptr %4, align 8 %34 = call i32 @bufferevent_free(ptr noundef %33) ret void } declare i32 @bufferevent_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/tmpaj3k73zv.c' source_filename = "/tmp/tmpaj3k73zv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @changeiter() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @rand() %4 = srem i32 %3, 3 %5 = add nsw i32 %4, 1 store i32 %5, ptr %1, align 4 %6 = call i32 (...) @rand() %7 = srem i32 %6, 3 %8 = add nsw i32 %7, 1 store i32 %8, ptr %2, align 4 %9 = load i32, ptr %1, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp ne i32 %9, %10 %12 = zext i1 %11 to i32 ret i32 %12 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaj3k73zv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @changeiter() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @rand() %4 = srem i32 %3, 3 %5 = add nsw i32 %4, 1 store i32 %5, ptr %1, align 4 %6 = call i32 (...) @rand() %7 = srem i32 %6, 3 %8 = add nsw i32 %7, 1 store i32 %8, ptr %2, align 4 %9 = load i32, ptr %1, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp ne i32 %9, %10 %12 = zext i1 %11 to i32 ret i32 %12 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi23g5dsp.c' source_filename = "/tmp/tmpi23g5dsp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_qsort1(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 ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %110 13: ; preds = %3 %14 = load i32, ptr %5, align 4 store i32 %14, ptr %7, align 4 %15 = load i32, ptr %6, align 4 store i32 %15, ptr %8, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 store ptr %20, ptr %9, align 8 br label %21 21: ; preds = %93, %13 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %8, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %109 25: ; preds = %21 br label %26 26: ; preds = %41, %25 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %8, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %39 30: ; preds = %26 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = load ptr, ptr %9, align 8 %37 = call i64 @strcmp(ptr noundef %35, ptr noundef %36) %38 = icmp sge i64 %37, 0 br label %39 39: ; preds = %30, %26 %40 = phi i1 [ false, %26 ], [ %38, %30 ] br i1 %40, label %41, label %44 41: ; preds = %39 %42 = load i32, ptr %8, align 4 %43 = add nsw i32 %42, -1 store i32 %43, ptr %8, align 4 br label %26, !llvm.loop !6 44: ; preds = %39 %45 = load i32, ptr %7, align 4 %46 = load i32, ptr %8, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %48, label %59 48: ; preds = %44 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %8, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds ptr, ptr %49, i64 %51 %53 = load ptr, ptr %52, align 8 %54 = load ptr, ptr %4, align 8 %55 = load i32, ptr %7, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %7, align 4 %57 = sext i32 %55 to i64 %58 = getelementptr inbounds ptr, ptr %54, i64 %57 store ptr %53, ptr %58, align 8 br label %59 59: ; preds = %48, %44 br label %60 60: ; preds = %75, %59 %61 = load i32, ptr %7, align 4 %62 = load i32, ptr %8, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %64, label %73 64: ; preds = %60 %65 = load ptr, ptr %4, 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 = load ptr, ptr %9, align 8 %71 = call i64 @strcmp(ptr noundef %69, ptr noundef %70) %72 = icmp slt i64 %71, 0 br label %73 73: ; preds = %64, %60 %74 = phi i1 [ false, %60 ], [ %72, %64 ] br i1 %74, label %75, label %78 75: ; preds = %73 %76 = load i32, ptr %7, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %7, align 4 br label %60, !llvm.loop !8 78: ; preds = %73 %79 = load i32, ptr %7, align 4 %80 = load i32, ptr %8, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %82, label %93 82: ; preds = %78 %83 = load ptr, ptr %4, align 8 %84 = load i32, ptr %7, 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 ptr, ptr %4, align 8 %89 = load i32, ptr %8, align 4 %90 = add nsw i32 %89, -1 store i32 %90, ptr %8, align 4 %91 = sext i32 %89 to i64 %92 = getelementptr inbounds ptr, ptr %88, i64 %91 store ptr %87, ptr %92, align 8 br label %93 93: ; preds = %82, %78 %94 = load ptr, ptr %9, align 8 %95 = load ptr, ptr %4, align 8 %96 = load i32, ptr %7, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds ptr, ptr %95, i64 %97 store ptr %94, ptr %98, align 8 %99 = load ptr, ptr %4, align 8 %100 = load i32, ptr %5, align 4 %101 = load i32, ptr %7, align 4 %102 = sub nsw i32 %101, 1 %103 = call i32 @_qsort(ptr noundef %99, i32 noundef %100, i32 noundef %102) %104 = load ptr, ptr %4, align 8 %105 = load i32, ptr %7, align 4 %106 = add nsw i32 %105, 1 %107 = load i32, ptr %6, align 4 %108 = call i32 @_qsort(ptr noundef %104, i32 noundef %106, i32 noundef %107) br label %21, !llvm.loop !9 109: ; preds = %21 br label %110 110: ; preds = %109, %3 ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @_qsort(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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi23g5dsp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_qsort1(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 ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %112 13: ; preds = %3 %14 = load i32, ptr %5, align 4 store i32 %14, ptr %7, align 4 %15 = load i32, ptr %6, align 4 store i32 %15, ptr %8, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 store ptr %20, ptr %9, align 8 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph, label %111 .lr.ph: ; preds = %13 br label %24 24: ; preds = %.lr.ph, %92 br label %25 25: ; preds = %40, %24 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %8, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %38 29: ; preds = %25 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = load ptr, ptr %9, align 8 %36 = call i64 @strcmp(ptr noundef %34, ptr noundef %35) %37 = icmp sge i64 %36, 0 br label %38 38: ; preds = %29, %25 %39 = phi i1 [ false, %25 ], [ %37, %29 ] br i1 %39, label %40, label %43 40: ; preds = %38 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %41, -1 store i32 %42, ptr %8, align 4 br label %25, !llvm.loop !6 43: ; preds = %38 %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %8, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %47, label %58 47: ; preds = %43 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %8, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %48, i64 %50 %52 = load ptr, ptr %51, align 8 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %7, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %7, align 4 %56 = sext i32 %54 to i64 %57 = getelementptr inbounds ptr, ptr %53, i64 %56 store ptr %52, ptr %57, align 8 br label %58 58: ; preds = %47, %43 br label %59 59: ; preds = %74, %58 %60 = load i32, ptr %7, align 4 %61 = load i32, ptr %8, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %63, label %72 63: ; preds = %59 %64 = load ptr, ptr %4, 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 = load ptr, ptr %9, align 8 %70 = call i64 @strcmp(ptr noundef %68, ptr noundef %69) %71 = icmp slt i64 %70, 0 br label %72 72: ; preds = %63, %59 %73 = phi i1 [ false, %59 ], [ %71, %63 ] br i1 %73, label %74, label %77 74: ; preds = %72 %75 = load i32, ptr %7, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %7, align 4 br label %59, !llvm.loop !8 77: ; preds = %72 %78 = load i32, ptr %7, align 4 %79 = load i32, ptr %8, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %81, label %92 81: ; preds = %77 %82 = load ptr, ptr %4, 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 = load ptr, ptr %4, align 8 %88 = load i32, ptr %8, align 4 %89 = add nsw i32 %88, -1 store i32 %89, ptr %8, align 4 %90 = sext i32 %88 to i64 %91 = getelementptr inbounds ptr, ptr %87, i64 %90 store ptr %86, ptr %91, align 8 br label %92 92: ; preds = %81, %77 %93 = load ptr, ptr %9, align 8 %94 = load ptr, ptr %4, align 8 %95 = load i32, ptr %7, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds ptr, ptr %94, i64 %96 store ptr %93, ptr %97, align 8 %98 = load ptr, ptr %4, align 8 %99 = load i32, ptr %5, align 4 %100 = load i32, ptr %7, align 4 %101 = sub nsw i32 %100, 1 %102 = call i32 @_qsort(ptr noundef %98, i32 noundef %99, i32 noundef %101) %103 = load ptr, ptr %4, align 8 %104 = load i32, ptr %7, align 4 %105 = add nsw i32 %104, 1 %106 = load i32, ptr %6, align 4 %107 = call i32 @_qsort(ptr noundef %103, i32 noundef %105, i32 noundef %106) %108 = load i32, ptr %7, align 4 %109 = load i32, ptr %8, align 4 %110 = icmp slt i32 %108, %109 br i1 %110, label %24, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %92 br label %111 111: ; preds = %._crit_edge, %13 br label %112 112: ; preds = %111, %3 ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @_qsort(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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpbvsf_9ps.c' source_filename = "/tmp/tmpbvsf_9ps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i64, align 8 store i32 0, ptr %1, align 4 store ptr null, ptr %2, align 8 br label %10 10: ; preds = %56, %0 %11 = load i32, ptr @stdin, align 4 %12 = call i32 @getline(ptr noundef %2, ptr noundef %9, i32 noundef %11) %13 = icmp sgt i32 %12, 1 br i1 %13, label %14, label %57 14: ; preds = %10 %15 = load ptr, ptr %2, align 8 %16 = call i32 @sscanf(ptr noundef %15, ptr noundef @.str, ptr noundef %3, ptr noundef %4) store i32 0, ptr %6, align 4 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp sle i32 %17, %18 br i1 %19, label %20, label %21 20: ; preds = %14 store i32 0, ptr %8, align 4 br label %25 21: ; preds = %14 store i32 1, ptr %8, align 4 %22 = load i32, ptr %3, align 4 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %4, align 4 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %5, align 4 store i32 %24, ptr %4, align 4 br label %25 25: ; preds = %21, %20 %26 = load i32, ptr %3, align 4 store i32 %26, ptr %5, align 4 br label %27 27: ; preds = %40, %25 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp sle i32 %28, %29 br i1 %30, label %31, label %43 31: ; preds = %27 %32 = load i32, ptr %5, align 4 %33 = call i32 @get_clen(i32 noundef %32) store i32 %33, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %6, align 4 %36 = icmp sgt i32 %34, %35 br i1 %36, label %37, label %39 37: ; preds = %31 %38 = load i32, ptr %7, align 4 store i32 %38, ptr %6, align 4 br label %39 39: ; preds = %37, %31 br label %40 40: ; preds = %39 %41 = load i32, ptr %5, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %5, align 4 br label %27, !llvm.loop !6 43: ; preds = %27 %44 = load i32, ptr %8, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %51 46: ; preds = %43 %47 = load i32, ptr %4, align 4 %48 = load i32, ptr %3, align 4 %49 = load i32, ptr %6, align 4 %50 = call i32 @printf(ptr noundef @.str.1, i32 noundef %47, i32 noundef %48, i32 noundef %49) br label %56 51: ; preds = %43 %52 = load i32, ptr %3, align 4 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr %6, align 4 %55 = call i32 @printf(ptr noundef @.str.1, i32 noundef %52, i32 noundef %53, i32 noundef %54) br label %56 56: ; preds = %51, %46 br label %10, !llvm.loop !8 57: ; preds = %10 ret i32 0 } declare i32 @getline(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @get_clen(i32 noundef) #1 declare i32 @printf(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbvsf_9ps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i64, align 8 store i32 0, ptr %1, align 4 store ptr null, ptr %2, align 8 %10 = load i32, ptr @stdin, align 4 %11 = call i32 @getline(ptr noundef %2, ptr noundef %9, i32 noundef %10) %12 = icmp sgt i32 %11, 1 br i1 %12, label %.lr.ph2, label %61 .lr.ph2: ; preds = %0 br label %13 13: ; preds = %.lr.ph2, %57 %14 = load ptr, ptr %2, align 8 %15 = call i32 @sscanf(ptr noundef %14, ptr noundef @.str, ptr noundef %3, ptr noundef %4) store i32 0, ptr %6, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %19, label %20 19: ; preds = %13 store i32 0, ptr %8, align 4 br label %24 20: ; preds = %13 store i32 1, ptr %8, align 4 %21 = load i32, ptr %3, align 4 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %4, align 4 store i32 %22, ptr %3, align 4 %23 = load i32, ptr %5, align 4 store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %20, %19 %25 = load i32, ptr %3, align 4 store i32 %25, ptr %5, align 4 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp sle i32 %26, %27 br i1 %28, label %.lr.ph, label %44 .lr.ph: ; preds = %24 br label %29 29: ; preds = %.lr.ph, %38 %30 = load i32, ptr %5, align 4 %31 = call i32 @get_clen(i32 noundef %30) store i32 %31, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp sgt i32 %32, %33 br i1 %34, label %35, label %37 35: ; preds = %29 %36 = load i32, ptr %7, align 4 store i32 %36, ptr %6, align 4 br label %37 37: ; preds = %35, %29 br label %38 38: ; preds = %37 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %5, align 4 %41 = load i32, ptr %5, align 4 %42 = load i32, ptr %4, align 4 %43 = icmp sle i32 %41, %42 br i1 %43, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %24 %45 = load i32, ptr %8, align 4 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %52 47: ; preds = %44 %48 = load i32, ptr %4, align 4 %49 = load i32, ptr %3, align 4 %50 = load i32, ptr %6, align 4 %51 = call i32 @printf(ptr noundef @.str.1, i32 noundef %48, i32 noundef %49, i32 noundef %50) br label %57 52: ; preds = %44 %53 = load i32, ptr %3, align 4 %54 = load i32, ptr %4, align 4 %55 = load i32, ptr %6, align 4 %56 = call i32 @printf(ptr noundef @.str.1, i32 noundef %53, i32 noundef %54, i32 noundef %55) br label %57 57: ; preds = %52, %47 %58 = load i32, ptr @stdin, align 4 %59 = call i32 @getline(ptr noundef %2, ptr noundef %9, i32 noundef %58) %60 = icmp sgt i32 %59, 1 br i1 %60, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %61 61: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @getline(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @get_clen(i32 noundef) #1 declare i32 @printf(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpxfny6trs.c' source_filename = "/tmp/tmpxfny6trs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @quickSort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %24 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = call i32 @partition(ptr noundef %12, i32 noundef %13, i32 noundef %14) store i32 %15, ptr %7, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %7, align 4 %19 = sub nsw i32 %18, 1 call void @quickSort(ptr noundef %16, i32 noundef %17, i32 noundef %19) %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 1 %23 = load i32, ptr %6, align 4 call void @quickSort(ptr noundef %20, i32 noundef %22, i32 noundef %23) br label %24 24: ; preds = %11, %3 ret void } declare i32 @partition(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxfny6trs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @quickSort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %24 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = call i32 @partition(ptr noundef %12, i32 noundef %13, i32 noundef %14) store i32 %15, ptr %7, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %7, align 4 %19 = sub nsw i32 %18, 1 call void @quickSort(ptr noundef %16, i32 noundef %17, i32 noundef %19) %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 1 %23 = load i32, ptr %6, align 4 call void @quickSort(ptr noundef %20, i32 noundef %22, i32 noundef %23) br label %24 24: ; preds = %11, %3 ret void } declare i32 @partition(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpck9y8r3y.c' source_filename = "/tmp/tmpck9y8r3y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca float, align 4 %20 = alloca float, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %21 = load i64, ptr %5, align 8 %22 = shl i64 %21, 1 store i64 %22, ptr %7, align 8 store i64 1, ptr %10, align 8 store i64 1, ptr %12, align 8 br label %23 23: ; preds = %88, %3 %24 = load i64, ptr %12, align 8 %25 = load i64, ptr %7, align 8 %26 = icmp ult i64 %24, %25 br i1 %26, label %27, label %91 27: ; preds = %23 %28 = load i64, ptr %10, align 8 %29 = load i64, ptr %12, align 8 %30 = icmp ugt i64 %28, %29 br i1 %30, label %31, label %66 31: ; preds = %27 %32 = load ptr, ptr %4, align 8 %33 = load i64, ptr %10, align 8 %34 = sub i64 %33, 1 %35 = getelementptr inbounds float, ptr %32, i64 %34 %36 = load float, ptr %35, align 4 store float %36, ptr %19, align 4 %37 = load ptr, ptr %4, align 8 %38 = load i64, ptr %12, align 8 %39 = sub i64 %38, 1 %40 = getelementptr inbounds float, ptr %37, i64 %39 %41 = load float, ptr %40, align 4 %42 = load ptr, ptr %4, align 8 %43 = load i64, ptr %10, align 8 %44 = sub i64 %43, 1 %45 = getelementptr inbounds float, ptr %42, i64 %44 store float %41, ptr %45, align 4 %46 = load float, ptr %19, align 4 %47 = load ptr, ptr %4, align 8 %48 = load i64, ptr %12, align 8 %49 = sub i64 %48, 1 %50 = getelementptr inbounds float, ptr %47, i64 %49 store float %46, ptr %50, align 4 %51 = load ptr, ptr %4, align 8 %52 = load i64, ptr %10, align 8 %53 = getelementptr inbounds float, ptr %51, i64 %52 %54 = load float, ptr %53, align 4 store float %54, ptr %19, align 4 %55 = load ptr, ptr %4, align 8 %56 = load i64, ptr %12, align 8 %57 = getelementptr inbounds float, ptr %55, i64 %56 %58 = load float, ptr %57, align 4 %59 = load ptr, ptr %4, align 8 %60 = load i64, ptr %10, align 8 %61 = getelementptr inbounds float, ptr %59, i64 %60 store float %58, ptr %61, align 4 %62 = load float, ptr %19, align 4 %63 = load ptr, ptr %4, align 8 %64 = load i64, ptr %12, align 8 %65 = getelementptr inbounds float, ptr %63, i64 %64 store float %62, ptr %65, align 4 br label %66 66: ; preds = %31, %27 %67 = load i64, ptr %7, align 8 %68 = lshr i64 %67, 1 store i64 %68, ptr %9, align 8 br label %69 69: ; preds = %78, %66 %70 = load i64, ptr %9, align 8 %71 = icmp uge i64 %70, 2 br i1 %71, label %72, label %76 72: ; preds = %69 %73 = load i64, ptr %10, align 8 %74 = load i64, ptr %9, align 8 %75 = icmp ugt i64 %73, %74 br label %76 76: ; preds = %72, %69 %77 = phi i1 [ false, %69 ], [ %75, %72 ] br i1 %77, label %78, label %84 78: ; preds = %76 %79 = load i64, ptr %9, align 8 %80 = load i64, ptr %10, align 8 %81 = sub i64 %80, %79 store i64 %81, ptr %10, align 8 %82 = load i64, ptr %9, align 8 %83 = lshr i64 %82, 1 store i64 %83, ptr %9, align 8 br label %69, !llvm.loop !6 84: ; preds = %76 %85 = load i64, ptr %9, align 8 %86 = load i64, ptr %10, align 8 %87 = add i64 %86, %85 store i64 %87, ptr %10, align 8 br label %88 88: ; preds = %84 %89 = load i64, ptr %12, align 8 %90 = add i64 %89, 2 store i64 %90, ptr %12, align 8 br label %23, !llvm.loop !8 91: ; preds = %23 store i64 2, ptr %8, align 8 br label %92 92: ; preds = %219, %91 %93 = load i64, ptr %7, align 8 %94 = load i64, ptr %8, align 8 %95 = icmp ugt i64 %93, %94 br i1 %95, label %96, label %221 96: ; preds = %92 %97 = load i64, ptr %8, align 8 %98 = shl i64 %97, 1 store i64 %98, ptr %11, align 8 %99 = load i32, ptr %6, align 4 %100 = sitofp i32 %99 to double %101 = load i64, ptr %8, align 8 %102 = uitofp i64 %101 to double %103 = fdiv double 0xC01921FB52EC95FC, %102 %104 = fmul double %100, %103 %105 = fptrunc double %104 to float store float %105, ptr %18, align 4 %106 = load float, ptr %18, align 4 %107 = fpext float %106 to double %108 = fmul double 5.000000e-01, %107 %109 = fptrunc double %108 to float %110 = call float @sin(float noundef %109) store float %110, ptr %13, align 4 %111 = load float, ptr %13, align 4 %112 = fpext float %111 to double %113 = fmul double -2.000000e+00, %112 %114 = load float, ptr %13, align 4 %115 = fpext float %114 to double %116 = fmul double %113, %115 %117 = fptrunc double %116 to float store float %117, ptr %15, align 4 %118 = load float, ptr %18, align 4 %119 = call float @sin(float noundef %118) store float %119, ptr %16, align 4 store float 1.000000e+00, ptr %14, align 4 store float 0.000000e+00, ptr %17, align 4 store i64 1, ptr %9, align 8 br label %120 120: ; preds = %216, %96 %121 = load i64, ptr %9, align 8 %122 = load i64, ptr %8, align 8 %123 = icmp ult i64 %121, %122 br i1 %123, label %124, label %219 124: ; preds = %120 %125 = load i64, ptr %9, align 8 store i64 %125, ptr %12, align 8 br label %126 126: ; preds = %194, %124 %127 = load i64, ptr %12, align 8 %128 = load i64, ptr %7, align 8 %129 = icmp ule i64 %127, %128 br i1 %129, label %130, label %198 130: ; preds = %126 %131 = load i64, ptr %12, align 8 %132 = load i64, ptr %8, align 8 %133 = add i64 %131, %132 store i64 %133, ptr %10, align 8 %134 = load float, ptr %14, align 4 %135 = load ptr, ptr %4, align 8 %136 = load i64, ptr %10, align 8 %137 = sub i64 %136, 1 %138 = getelementptr inbounds float, ptr %135, i64 %137 %139 = load float, ptr %138, align 4 %140 = load float, ptr %17, align 4 %141 = load ptr, ptr %4, align 8 %142 = load i64, ptr %10, align 8 %143 = getelementptr inbounds float, ptr %141, i64 %142 %144 = load float, ptr %143, align 4 %145 = fmul float %140, %144 %146 = fneg float %145 %147 = call float @llvm.fmuladd.f32(float %134, float %139, float %146) store float %147, ptr %19, align 4 %148 = load float, ptr %14, align 4 %149 = load ptr, ptr %4, align 8 %150 = load i64, ptr %10, align 8 %151 = getelementptr inbounds float, ptr %149, i64 %150 %152 = load float, ptr %151, align 4 %153 = load float, ptr %17, align 4 %154 = load ptr, ptr %4, align 8 %155 = load i64, ptr %10, align 8 %156 = sub i64 %155, 1 %157 = getelementptr inbounds float, ptr %154, i64 %156 %158 = load float, ptr %157, align 4 %159 = fmul float %153, %158 %160 = call float @llvm.fmuladd.f32(float %148, float %152, float %159) store float %160, ptr %20, align 4 %161 = load ptr, ptr %4, align 8 %162 = load i64, ptr %12, align 8 %163 = sub i64 %162, 1 %164 = getelementptr inbounds float, ptr %161, i64 %163 %165 = load float, ptr %164, align 4 %166 = load float, ptr %19, align 4 %167 = fsub float %165, %166 %168 = load ptr, ptr %4, align 8 %169 = load i64, ptr %10, align 8 %170 = sub i64 %169, 1 %171 = getelementptr inbounds float, ptr %168, i64 %170 store float %167, ptr %171, align 4 %172 = load ptr, ptr %4, align 8 %173 = load i64, ptr %12, align 8 %174 = getelementptr inbounds float, ptr %172, i64 %173 %175 = load float, ptr %174, align 4 %176 = load float, ptr %20, align 4 %177 = fsub float %175, %176 %178 = load ptr, ptr %4, align 8 %179 = load i64, ptr %10, align 8 %180 = getelementptr inbounds float, ptr %178, i64 %179 store float %177, ptr %180, align 4 %181 = load float, ptr %19, align 4 %182 = load ptr, ptr %4, align 8 %183 = load i64, ptr %12, align 8 %184 = sub i64 %183, 1 %185 = getelementptr inbounds float, ptr %182, i64 %184 %186 = load float, ptr %185, align 4 %187 = fadd float %186, %181 store float %187, ptr %185, align 4 %188 = load float, ptr %20, align 4 %189 = load ptr, ptr %4, align 8 %190 = load i64, ptr %12, align 8 %191 = getelementptr inbounds float, ptr %189, i64 %190 %192 = load float, ptr %191, align 4 %193 = fadd float %192, %188 store float %193, ptr %191, align 4 br label %194 194: ; preds = %130 %195 = load i64, ptr %11, align 8 %196 = load i64, ptr %12, align 8 %197 = add i64 %196, %195 store i64 %197, ptr %12, align 8 br label %126, !llvm.loop !9 198: ; preds = %126 %199 = load float, ptr %14, align 4 store float %199, ptr %13, align 4 %200 = load float, ptr %15, align 4 %201 = load float, ptr %17, align 4 %202 = load float, ptr %16, align 4 %203 = fmul float %201, %202 %204 = fneg float %203 %205 = call float @llvm.fmuladd.f32(float %199, float %200, float %204) %206 = load float, ptr %14, align 4 %207 = fadd float %205, %206 store float %207, ptr %14, align 4 %208 = load float, ptr %17, align 4 %209 = load float, ptr %15, align 4 %210 = load float, ptr %13, align 4 %211 = load float, ptr %16, align 4 %212 = fmul float %210, %211 %213 = call float @llvm.fmuladd.f32(float %208, float %209, float %212) %214 = load float, ptr %17, align 4 %215 = fadd float %213, %214 store float %215, ptr %17, align 4 br label %216 216: ; preds = %198 %217 = load i64, ptr %9, align 8 %218 = add i64 %217, 2 store i64 %218, ptr %9, align 8 br label %120, !llvm.loop !10 219: ; preds = %120 %220 = load i64, ptr %11, align 8 store i64 %220, ptr %8, align 8 br label %92, !llvm.loop !11 221: ; preds = %92 ret void } declare float @sin(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmpck9y8r3y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca float, align 4 %20 = alloca float, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %21 = load i64, ptr %5, align 8 %22 = shl i64 %21, 1 store i64 %22, ptr %7, align 8 store i64 1, ptr %10, align 8 store i64 1, ptr %12, align 8 %23 = load i64, ptr %12, align 8 %24 = load i64, ptr %7, align 8 %25 = icmp ult i64 %23, %24 br i1 %25, label %.lr.ph, label %93 .lr.ph: ; preds = %3 br label %26 26: ; preds = %.lr.ph, %87 %27 = load i64, ptr %10, align 8 %28 = load i64, ptr %12, align 8 %29 = icmp ugt i64 %27, %28 br i1 %29, label %30, label %65 30: ; preds = %26 %31 = load ptr, ptr %4, align 8 %32 = load i64, ptr %10, align 8 %33 = sub i64 %32, 1 %34 = getelementptr inbounds float, ptr %31, i64 %33 %35 = load float, ptr %34, align 4 store float %35, ptr %19, align 4 %36 = load ptr, ptr %4, align 8 %37 = load i64, ptr %12, align 8 %38 = sub i64 %37, 1 %39 = getelementptr inbounds float, ptr %36, i64 %38 %40 = load float, ptr %39, align 4 %41 = load ptr, ptr %4, align 8 %42 = load i64, ptr %10, align 8 %43 = sub i64 %42, 1 %44 = getelementptr inbounds float, ptr %41, i64 %43 store float %40, ptr %44, align 4 %45 = load float, ptr %19, align 4 %46 = load ptr, ptr %4, align 8 %47 = load i64, ptr %12, align 8 %48 = sub i64 %47, 1 %49 = getelementptr inbounds float, ptr %46, i64 %48 store float %45, ptr %49, align 4 %50 = load ptr, ptr %4, align 8 %51 = load i64, ptr %10, align 8 %52 = getelementptr inbounds float, ptr %50, i64 %51 %53 = load float, ptr %52, align 4 store float %53, ptr %19, align 4 %54 = load ptr, ptr %4, align 8 %55 = load i64, ptr %12, align 8 %56 = getelementptr inbounds float, ptr %54, i64 %55 %57 = load float, ptr %56, align 4 %58 = load ptr, ptr %4, align 8 %59 = load i64, ptr %10, align 8 %60 = getelementptr inbounds float, ptr %58, i64 %59 store float %57, ptr %60, align 4 %61 = load float, ptr %19, align 4 %62 = load ptr, ptr %4, align 8 %63 = load i64, ptr %12, align 8 %64 = getelementptr inbounds float, ptr %62, i64 %63 store float %61, ptr %64, align 4 br label %65 65: ; preds = %30, %26 %66 = load i64, ptr %7, align 8 %67 = lshr i64 %66, 1 store i64 %67, ptr %9, align 8 br label %68 68: ; preds = %77, %65 %69 = load i64, ptr %9, align 8 %70 = icmp uge i64 %69, 2 br i1 %70, label %71, label %75 71: ; preds = %68 %72 = load i64, ptr %10, align 8 %73 = load i64, ptr %9, align 8 %74 = icmp ugt i64 %72, %73 br label %75 75: ; preds = %71, %68 %76 = phi i1 [ false, %68 ], [ %74, %71 ] br i1 %76, label %77, label %83 77: ; preds = %75 %78 = load i64, ptr %9, align 8 %79 = load i64, ptr %10, align 8 %80 = sub i64 %79, %78 store i64 %80, ptr %10, align 8 %81 = load i64, ptr %9, align 8 %82 = lshr i64 %81, 1 store i64 %82, ptr %9, align 8 br label %68, !llvm.loop !6 83: ; preds = %75 %84 = load i64, ptr %9, align 8 %85 = load i64, ptr %10, align 8 %86 = add i64 %85, %84 store i64 %86, ptr %10, align 8 br label %87 87: ; preds = %83 %88 = load i64, ptr %12, align 8 %89 = add i64 %88, 2 store i64 %89, ptr %12, align 8 %90 = load i64, ptr %12, align 8 %91 = load i64, ptr %7, align 8 %92 = icmp ult i64 %90, %91 br i1 %92, label %26, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %87 br label %93 93: ; preds = %._crit_edge, %3 store i64 2, ptr %8, align 8 %94 = load i64, ptr %7, align 8 %95 = load i64, ptr %8, align 8 %96 = icmp ugt i64 %94, %95 br i1 %96, label %.lr.ph8, label %229 .lr.ph8: ; preds = %93 br label %97 97: ; preds = %.lr.ph8, %224 %98 = load i64, ptr %8, align 8 %99 = shl i64 %98, 1 store i64 %99, ptr %11, align 8 %100 = load i32, ptr %6, align 4 %101 = sitofp i32 %100 to double %102 = load i64, ptr %8, align 8 %103 = uitofp i64 %102 to double %104 = fdiv double 0xC01921FB52EC95FC, %103 %105 = fmul double %101, %104 %106 = fptrunc double %105 to float store float %106, ptr %18, align 4 %107 = load float, ptr %18, align 4 %108 = fpext float %107 to double %109 = fmul double 5.000000e-01, %108 %110 = fptrunc double %109 to float %111 = call float @sin(float noundef %110) store float %111, ptr %13, align 4 %112 = load float, ptr %13, align 4 %113 = fpext float %112 to double %114 = fmul double -2.000000e+00, %113 %115 = load float, ptr %13, align 4 %116 = fpext float %115 to double %117 = fmul double %114, %116 %118 = fptrunc double %117 to float store float %118, ptr %15, align 4 %119 = load float, ptr %18, align 4 %120 = call float @sin(float noundef %119) store float %120, ptr %16, align 4 store float 1.000000e+00, ptr %14, align 4 store float 0.000000e+00, ptr %17, align 4 store i64 1, ptr %9, align 8 %121 = load i64, ptr %9, align 8 %122 = load i64, ptr %8, align 8 %123 = icmp ult i64 %121, %122 br i1 %123, label %.lr.ph5, label %224 .lr.ph5: ; preds = %97 br label %124 124: ; preds = %.lr.ph5, %218 %125 = load i64, ptr %9, align 8 store i64 %125, ptr %12, align 8 %126 = load i64, ptr %12, align 8 %127 = load i64, ptr %7, align 8 %128 = icmp ule i64 %126, %127 br i1 %128, label %.lr.ph2, label %200 .lr.ph2: ; preds = %124 br label %129 129: ; preds = %.lr.ph2, %193 %130 = load i64, ptr %12, align 8 %131 = load i64, ptr %8, align 8 %132 = add i64 %130, %131 store i64 %132, ptr %10, align 8 %133 = load float, ptr %14, align 4 %134 = load ptr, ptr %4, align 8 %135 = load i64, ptr %10, align 8 %136 = sub i64 %135, 1 %137 = getelementptr inbounds float, ptr %134, i64 %136 %138 = load float, ptr %137, align 4 %139 = load float, ptr %17, align 4 %140 = load ptr, ptr %4, align 8 %141 = load i64, ptr %10, align 8 %142 = getelementptr inbounds float, ptr %140, i64 %141 %143 = load float, ptr %142, align 4 %144 = fmul float %139, %143 %145 = fneg float %144 %146 = call float @llvm.fmuladd.f32(float %133, float %138, float %145) store float %146, ptr %19, align 4 %147 = load float, ptr %14, align 4 %148 = load ptr, ptr %4, align 8 %149 = load i64, ptr %10, align 8 %150 = getelementptr inbounds float, ptr %148, i64 %149 %151 = load float, ptr %150, align 4 %152 = load float, ptr %17, align 4 %153 = load ptr, ptr %4, align 8 %154 = load i64, ptr %10, align 8 %155 = sub i64 %154, 1 %156 = getelementptr inbounds float, ptr %153, i64 %155 %157 = load float, ptr %156, align 4 %158 = fmul float %152, %157 %159 = call float @llvm.fmuladd.f32(float %147, float %151, float %158) store float %159, ptr %20, align 4 %160 = load ptr, ptr %4, align 8 %161 = load i64, ptr %12, align 8 %162 = sub i64 %161, 1 %163 = getelementptr inbounds float, ptr %160, i64 %162 %164 = load float, ptr %163, align 4 %165 = load float, ptr %19, align 4 %166 = fsub float %164, %165 %167 = load ptr, ptr %4, align 8 %168 = load i64, ptr %10, align 8 %169 = sub i64 %168, 1 %170 = getelementptr inbounds float, ptr %167, i64 %169 store float %166, ptr %170, align 4 %171 = load ptr, ptr %4, align 8 %172 = load i64, ptr %12, align 8 %173 = getelementptr inbounds float, ptr %171, i64 %172 %174 = load float, ptr %173, align 4 %175 = load float, ptr %20, align 4 %176 = fsub float %174, %175 %177 = load ptr, ptr %4, align 8 %178 = load i64, ptr %10, align 8 %179 = getelementptr inbounds float, ptr %177, i64 %178 store float %176, ptr %179, align 4 %180 = load float, ptr %19, align 4 %181 = load ptr, ptr %4, align 8 %182 = load i64, ptr %12, align 8 %183 = sub i64 %182, 1 %184 = getelementptr inbounds float, ptr %181, i64 %183 %185 = load float, ptr %184, align 4 %186 = fadd float %185, %180 store float %186, ptr %184, align 4 %187 = load float, ptr %20, align 4 %188 = load ptr, ptr %4, align 8 %189 = load i64, ptr %12, align 8 %190 = getelementptr inbounds float, ptr %188, i64 %189 %191 = load float, ptr %190, align 4 %192 = fadd float %191, %187 store float %192, ptr %190, align 4 br label %193 193: ; preds = %129 %194 = load i64, ptr %11, align 8 %195 = load i64, ptr %12, align 8 %196 = add i64 %195, %194 store i64 %196, ptr %12, align 8 %197 = load i64, ptr %12, align 8 %198 = load i64, ptr %7, align 8 %199 = icmp ule i64 %197, %198 br i1 %199, label %129, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %193 br label %200 200: ; preds = %._crit_edge3, %124 %201 = load float, ptr %14, align 4 store float %201, ptr %13, align 4 %202 = load float, ptr %15, align 4 %203 = load float, ptr %17, align 4 %204 = load float, ptr %16, align 4 %205 = fmul float %203, %204 %206 = fneg float %205 %207 = call float @llvm.fmuladd.f32(float %201, float %202, float %206) %208 = load float, ptr %14, align 4 %209 = fadd float %207, %208 store float %209, ptr %14, align 4 %210 = load float, ptr %17, align 4 %211 = load float, ptr %15, align 4 %212 = load float, ptr %13, align 4 %213 = load float, ptr %16, align 4 %214 = fmul float %212, %213 %215 = call float @llvm.fmuladd.f32(float %210, float %211, float %214) %216 = load float, ptr %17, align 4 %217 = fadd float %215, %216 store float %217, ptr %17, align 4 br label %218 218: ; preds = %200 %219 = load i64, ptr %9, align 8 %220 = add i64 %219, 2 store i64 %220, ptr %9, align 8 %221 = load i64, ptr %9, align 8 %222 = load i64, ptr %8, align 8 %223 = icmp ult i64 %221, %222 br i1 %223, label %124, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %218 br label %224 224: ; preds = %._crit_edge6, %97 %225 = load i64, ptr %11, align 8 store i64 %225, ptr %8, align 8 %226 = load i64, ptr %7, align 8 %227 = load i64, ptr %8, align 8 %228 = icmp ugt i64 %226, %227 br i1 %228, label %97, label %._crit_edge9, !llvm.loop !11 ._crit_edge9: ; preds = %224 br label %229 229: ; preds = %._crit_edge9, %93 ret void } declare float @sin(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmpgsuyk7fa.c' source_filename = "/tmp/tmpgsuyk7fa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @UART2_Handler() #0 { %1 = call i32 (...) @default_isr() ret void } declare i32 @default_isr(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgsuyk7fa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @UART2_Handler() #0 { %1 = call i32 (...) @default_isr() ret void } declare i32 @default_isr(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp92byo9rf.c' source_filename = "/tmp/tmp92byo9rf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @calculate_E_discriminative_contributions_multi.DIVIDER_SCALER = internal global x86_fp80 0xK4002A000000000000000, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @calculate_E_discriminative_contributions_multi(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, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28) #0 { %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %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 i32, align 4 %48 = alloca i32, align 4 %49 = alloca i32, align 4 %50 = alloca i32, align 4 %51 = alloca i32, align 4 %52 = alloca ptr, align 8 %53 = alloca ptr, align 8 %54 = alloca ptr, align 8 %55 = alloca ptr, align 8 %56 = alloca i32, align 4 %57 = alloca i32, align 4 %58 = alloca i32, align 4 %59 = alloca i32, align 4 %60 = alloca i32, align 4 %61 = alloca i32, align 4 %62 = alloca i32, align 4 %63 = alloca i32, align 4 %64 = alloca i32, align 4 %65 = alloca i32, align 4 %66 = alloca i32, align 4 %67 = alloca x86_fp80, align 16 %68 = alloca x86_fp80, align 16 %69 = alloca x86_fp80, align 16 %70 = alloca x86_fp80, align 16 %71 = alloca x86_fp80, align 16 %72 = alloca x86_fp80, align 16 %73 = alloca x86_fp80, align 16 %74 = alloca x86_fp80, align 16 %75 = alloca x86_fp80, align 16 %76 = alloca x86_fp80, align 16 %77 = alloca x86_fp80, align 16 %78 = alloca x86_fp80, align 16 %79 = alloca x86_fp80, align 16 %80 = alloca x86_fp80, align 16 %81 = alloca x86_fp80, align 16 %82 = alloca x86_fp80, align 16 %83 = alloca ptr, align 8 %84 = alloca ptr, align 8 %85 = alloca ptr, align 8 %86 = alloca ptr, align 8 %87 = alloca i32, align 4 store ptr %0, ptr %30, align 8 store ptr %1, ptr %31, align 8 store ptr %2, ptr %32, align 8 store ptr %3, ptr %33, align 8 store ptr %4, ptr %34, align 8 store ptr %5, ptr %35, align 8 store ptr %6, ptr %36, align 8 store ptr %7, ptr %37, align 8 store ptr %8, ptr %38, align 8 store ptr %9, ptr %39, align 8 store ptr %10, ptr %40, align 8 store ptr %11, ptr %41, align 8 store ptr %12, ptr %42, align 8 store ptr %13, ptr %43, align 8 store ptr %14, ptr %44, align 8 store ptr %15, ptr %45, align 8 store ptr %16, ptr %46, align 8 store i32 %17, ptr %47, align 4 store i32 %18, ptr %48, align 4 store i32 %19, ptr %49, align 4 store i32 %20, ptr %50, align 4 store i32 %21, ptr %51, align 4 store ptr %22, ptr %52, align 8 store ptr %23, ptr %53, align 8 store ptr %24, ptr %54, align 8 store ptr %25, ptr %55, align 8 store i32 %26, ptr %56, align 4 store i32 %27, ptr %57, align 4 store i32 %28, ptr %58, align 4 %88 = load i32, ptr %58, align 4 %89 = icmp eq i32 %88, 1 br i1 %89, label %90, label %96 90: ; preds = %29 %91 = load ptr, ptr %30, align 8 store ptr %91, ptr %83, align 8 %92 = load ptr, ptr %34, align 8 store ptr %92, ptr %84, align 8 %93 = load ptr, ptr %38, align 8 store ptr %93, ptr %85, align 8 %94 = load ptr, ptr %42, align 8 store ptr %94, ptr %86, align 8 %95 = load i32, ptr %48, align 4 store i32 %95, ptr %87, align 4 br label %96 96: ; preds = %90, %29 %97 = load i32, ptr %58, align 4 %98 = icmp eq i32 %97, 2 br i1 %98, label %99, label %105 99: ; preds = %96 %100 = load ptr, ptr %31, align 8 store ptr %100, ptr %83, align 8 %101 = load ptr, ptr %35, align 8 store ptr %101, ptr %84, align 8 %102 = load ptr, ptr %39, align 8 store ptr %102, ptr %85, align 8 %103 = load ptr, ptr %43, align 8 store ptr %103, ptr %86, align 8 %104 = load i32, ptr %49, align 4 store i32 %104, ptr %87, align 4 br label %105 105: ; preds = %99, %96 %106 = load i32, ptr %58, align 4 %107 = icmp eq i32 %106, 1 br i1 %107, label %108, label %114 108: ; preds = %105 %109 = load ptr, ptr %32, align 8 store ptr %109, ptr %83, align 8 %110 = load ptr, ptr %36, align 8 store ptr %110, ptr %84, align 8 %111 = load ptr, ptr %40, align 8 store ptr %111, ptr %85, align 8 %112 = load ptr, ptr %44, align 8 store ptr %112, ptr %86, align 8 %113 = load i32, ptr %50, align 4 store i32 %113, ptr %87, align 4 br label %114 114: ; preds = %108, %105 %115 = load i32, ptr %58, align 4 %116 = icmp eq i32 %115, 1 br i1 %116, label %117, label %123 117: ; preds = %114 %118 = load ptr, ptr %33, align 8 store ptr %118, ptr %83, align 8 %119 = load ptr, ptr %37, align 8 store ptr %119, ptr %84, align 8 %120 = load ptr, ptr %41, align 8 store ptr %120, ptr %85, align 8 %121 = load ptr, ptr %45, align 8 store ptr %121, ptr %86, align 8 %122 = load i32, ptr %51, align 4 store i32 %122, ptr %87, align 4 br label %123 123: ; preds = %117, %114 store i32 1, ptr %59, align 4 br label %124 124: ; preds = %152, %123 %125 = load i32, ptr %59, align 4 %126 = load i32, ptr %47, align 4 %127 = sub nsw i32 %126, 1 %128 = icmp slt i32 %125, %127 br i1 %128, label %129, label %155 129: ; preds = %124 store i32 0, ptr %61, align 4 br label %130 130: ; preds = %148, %129 %131 = load i32, ptr %61, align 4 %132 = load i32, ptr %87, align 4 %133 = icmp slt i32 %131, %132 br i1 %133, label %134, label %151 134: ; preds = %130 %135 = load i32, ptr %59, align 4 %136 = load i32, ptr %61, align 4 %137 = load i32, ptr %87, align 4 %138 = call i32 @get_mtx_index(i32 noundef %135, i32 noundef %136, i32 noundef %137) store i32 %138, ptr %63, align 4 %139 = load ptr, ptr %86, align 8 %140 = load i32, ptr %63, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds x86_fp80, ptr %139, i64 %141 %143 = load x86_fp80, ptr %142, align 16 %144 = load ptr, ptr %83, align 8 %145 = load i32, ptr %63, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds x86_fp80, ptr %144, i64 %146 store x86_fp80 %143, ptr %147, align 16 br label %148 148: ; preds = %134 %149 = load i32, ptr %61, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %61, align 4 br label %130, !llvm.loop !6 151: ; preds = %130 br label %152 152: ; preds = %151 %153 = load i32, ptr %59, align 4 %154 = add nsw i32 %153, 1 store i32 %154, ptr %59, align 4 br label %124, !llvm.loop !8 155: ; preds = %124 store i32 1, ptr %59, align 4 br label %156 156: ; preds = %236, %155 %157 = load i32, ptr %59, align 4 %158 = load i32, ptr %47, align 4 %159 = sub nsw i32 %158, 1 %160 = icmp slt i32 %157, %159 br i1 %160, label %161, label %239 161: ; preds = %156 store x86_fp80 0xK00000000000000000000, ptr %68, align 16 store i32 0, ptr %61, align 4 br label %162 162: ; preds = %178, %161 %163 = load i32, ptr %61, align 4 %164 = load i32, ptr %87, align 4 %165 = icmp slt i32 %163, %164 br i1 %165, label %166, label %181 166: ; preds = %162 %167 = load i32, ptr %59, align 4 %168 = load i32, ptr %61, align 4 %169 = load i32, ptr %87, align 4 %170 = call i32 @get_mtx_index(i32 noundef %167, i32 noundef %168, i32 noundef %169) store i32 %170, ptr %63, align 4 %171 = load ptr, ptr %85, align 8 %172 = load i32, ptr %63, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds x86_fp80, ptr %171, i64 %173 %175 = load x86_fp80, ptr %174, align 16 %176 = load x86_fp80, ptr %68, align 16 %177 = fadd x86_fp80 %176, %175 store x86_fp80 %177, ptr %68, align 16 br label %178 178: ; preds = %166 %179 = load i32, ptr %61, align 4 %180 = add nsw i32 %179, 1 store i32 %180, ptr %61, align 4 br label %162, !llvm.loop !9 181: ; preds = %162 %182 = load x86_fp80, ptr %68, align 16 %183 = fcmp ogt x86_fp80 %182, 0xK00000000000000000000 br i1 %183, label %184, label %198 184: ; preds = %181 store i32 0, ptr %61, align 4 br label %185 185: ; preds = %194, %184 %186 = load i32, ptr %61, align 4 %187 = load i32, ptr %87, align 4 %188 = icmp slt i32 %186, %187 br i1 %188, label %189, label %197 189: ; preds = %185 %190 = load i32, ptr %59, align 4 %191 = load i32, ptr %61, align 4 %192 = load i32, ptr %87, align 4 %193 = call i32 @get_mtx_index(i32 noundef %190, i32 noundef %191, i32 noundef %192) store i32 %193, ptr %63, align 4 br label %194 194: ; preds = %189 %195 = load i32, ptr %61, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %61, align 4 br label %185, !llvm.loop !10 197: ; preds = %185 br label %198 198: ; preds = %197, %181 store x86_fp80 0xK00000000000000000000, ptr %68, align 16 store i32 0, ptr %61, align 4 br label %199 199: ; preds = %215, %198 %200 = load i32, ptr %61, align 4 %201 = load i32, ptr %87, align 4 %202 = icmp slt i32 %200, %201 br i1 %202, label %203, label %218 203: ; preds = %199 %204 = load i32, ptr %59, align 4 %205 = load i32, ptr %61, align 4 %206 = load i32, ptr %87, align 4 %207 = call i32 @get_mtx_index(i32 noundef %204, i32 noundef %205, i32 noundef %206) store i32 %207, ptr %63, align 4 %208 = load ptr, ptr %84, align 8 %209 = load i32, ptr %63, align 4 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds x86_fp80, ptr %208, i64 %210 %212 = load x86_fp80, ptr %211, align 16 %213 = load x86_fp80, ptr %68, align 16 %214 = fadd x86_fp80 %213, %212 store x86_fp80 %214, ptr %68, align 16 br label %215 215: ; preds = %203 %216 = load i32, ptr %61, align 4 %217 = add nsw i32 %216, 1 store i32 %217, ptr %61, align 4 br label %199, !llvm.loop !11 218: ; preds = %199 %219 = load x86_fp80, ptr %68, align 16 %220 = fcmp ogt x86_fp80 %219, 0xK00000000000000000000 br i1 %220, label %221, label %235 221: ; preds = %218 store i32 0, ptr %61, align 4 br label %222 222: ; preds = %231, %221 %223 = load i32, ptr %61, align 4 %224 = load i32, ptr %87, align 4 %225 = icmp slt i32 %223, %224 br i1 %225, label %226, label %234 226: ; preds = %222 %227 = load i32, ptr %59, align 4 %228 = load i32, ptr %61, align 4 %229 = load i32, ptr %87, align 4 %230 = call i32 @get_mtx_index(i32 noundef %227, i32 noundef %228, i32 noundef %229) store i32 %230, ptr %63, align 4 br label %231 231: ; preds = %226 %232 = load i32, ptr %61, align 4 %233 = add nsw i32 %232, 1 store i32 %233, ptr %61, align 4 br label %222, !llvm.loop !12 234: ; preds = %222 br label %235 235: ; preds = %234, %218 br label %236 236: ; preds = %235 %237 = load i32, ptr %59, align 4 %238 = add nsw i32 %237, 1 store i32 %238, ptr %59, align 4 br label %156, !llvm.loop !13 239: ; preds = %156 store x86_fp80 0xK3FFF8000000000000000, ptr %69, align 16 store i32 1, ptr %59, align 4 br label %240 240: ; preds = %321, %239 %241 = load i32, ptr %59, align 4 %242 = load i32, ptr %47, align 4 %243 = sub nsw i32 %242, 1 %244 = icmp slt i32 %241, %243 br i1 %244, label %245, label %324 245: ; preds = %240 store i32 0, ptr %61, align 4 br label %246 246: ; preds = %317, %245 %247 = load i32, ptr %61, align 4 %248 = load i32, ptr %87, align 4 %249 = icmp slt i32 %247, %248 br i1 %249, label %250, label %320 250: ; preds = %246 %251 = load i32, ptr %59, align 4 %252 = load i32, ptr %61, align 4 %253 = load i32, ptr %87, align 4 %254 = call i32 @get_mtx_index(i32 noundef %251, i32 noundef %252, i32 noundef %253) store i32 %254, ptr %63, align 4 %255 = load ptr, ptr %83, align 8 %256 = load i32, ptr %63, align 4 %257 = sext i32 %256 to i64 %258 = getelementptr inbounds x86_fp80, ptr %255, i64 %257 %259 = load x86_fp80, ptr %258, align 16 store x86_fp80 %259, ptr %78, align 16 %260 = load ptr, ptr %83, align 8 %261 = load i32, ptr %63, align 4 %262 = sext i32 %261 to i64 %263 = getelementptr inbounds x86_fp80, ptr %260, i64 %262 %264 = load x86_fp80, ptr %263, align 16 %265 = load ptr, ptr %83, align 8 %266 = load i32, ptr %63, align 4 %267 = sext i32 %266 to i64 %268 = getelementptr inbounds x86_fp80, ptr %265, i64 %267 %269 = load x86_fp80, ptr %268, align 16 %270 = fsub x86_fp80 0xK3FFF8000000000000000, %269 %271 = fcmp ogt x86_fp80 %264, %270 br i1 %271, label %272, label %279 272: ; preds = %250 %273 = load ptr, ptr %83, align 8 %274 = load i32, ptr %63, align 4 %275 = sext i32 %274 to i64 %276 = getelementptr inbounds x86_fp80, ptr %273, i64 %275 %277 = load x86_fp80, ptr %276, align 16 %278 = fsub x86_fp80 0xK3FFF8000000000000000, %277 store x86_fp80 %278, ptr %78, align 16 br label %279 279: ; preds = %272, %250 %280 = load ptr, ptr %83, align 8 %281 = load i32, ptr %63, align 4 %282 = sext i32 %281 to i64 %283 = getelementptr inbounds x86_fp80, ptr %280, i64 %282 %284 = load x86_fp80, ptr %283, align 16 %285 = fcmp une x86_fp80 %284, 0xK00000000000000000000 br i1 %285, label %286, label %316 286: ; preds = %279 %287 = load ptr, ptr %85, align 8 %288 = load i32, ptr %63, align 4 %289 = sext i32 %288 to i64 %290 = getelementptr inbounds x86_fp80, ptr %287, i64 %289 %291 = load x86_fp80, ptr %290, align 16 %292 = load ptr, ptr %84, align 8 %293 = load i32, ptr %63, align 4 %294 = sext i32 %293 to i64 %295 = getelementptr inbounds x86_fp80, ptr %292, i64 %294 %296 = load x86_fp80, ptr %295, align 16 %297 = fsub x86_fp80 %291, %296 %298 = load x86_fp80, ptr %78, align 16 %299 = fdiv x86_fp80 %297, %298 %300 = load x86_fp80, ptr %69, align 16 %301 = fcmp ogt x86_fp80 %299, %300 br i1 %301, label %302, label %316 302: ; preds = %286 %303 = load ptr, ptr %85, align 8 %304 = load i32, ptr %63, align 4 %305 = sext i32 %304 to i64 %306 = getelementptr inbounds x86_fp80, ptr %303, i64 %305 %307 = load x86_fp80, ptr %306, align 16 %308 = load ptr, ptr %84, align 8 %309 = load i32, ptr %63, align 4 %310 = sext i32 %309 to i64 %311 = getelementptr inbounds x86_fp80, ptr %308, i64 %310 %312 = load x86_fp80, ptr %311, align 16 %313 = fsub x86_fp80 %307, %312 %314 = load x86_fp80, ptr %78, align 16 %315 = fdiv x86_fp80 %313, %314 store x86_fp80 %315, ptr %69, align 16 br label %316 316: ; preds = %302, %286, %279 br label %317 317: ; preds = %316 %318 = load i32, ptr %61, align 4 %319 = add nsw i32 %318, 1 store i32 %319, ptr %61, align 4 br label %246, !llvm.loop !14 320: ; preds = %246 br label %321 321: ; preds = %320 %322 = load i32, ptr %59, align 4 %323 = add nsw i32 %322, 1 store i32 %323, ptr %59, align 4 br label %240, !llvm.loop !15 324: ; preds = %240 %325 = load x86_fp80, ptr %69, align 16 %326 = load x86_fp80, ptr @calculate_E_discriminative_contributions_multi.DIVIDER_SCALER, align 16 %327 = fmul x86_fp80 %325, %326 store x86_fp80 %327, ptr %69, align 16 store i32 1, ptr %59, align 4 br label %328 328: ; preds = %384, %324 %329 = load i32, ptr %59, align 4 %330 = load i32, ptr %47, align 4 %331 = sub nsw i32 %330, 1 %332 = icmp slt i32 %329, %331 br i1 %332, label %333, label %387 333: ; preds = %328 store i32 0, ptr %61, align 4 br label %334 334: ; preds = %380, %333 %335 = load i32, ptr %61, align 4 %336 = load i32, ptr %87, align 4 %337 = icmp slt i32 %335, %336 br i1 %337, label %338, label %383 338: ; preds = %334 %339 = load i32, ptr %59, align 4 %340 = load i32, ptr %61, align 4 %341 = load i32, ptr %87, align 4 %342 = call i32 @get_mtx_index(i32 noundef %339, i32 noundef %340, i32 noundef %341) store i32 %342, ptr %63, align 4 %343 = load ptr, ptr %84, align 8 %344 = load i32, ptr %63, align 4 %345 = sext i32 %344 to i64 %346 = getelementptr inbounds x86_fp80, ptr %343, i64 %345 %347 = load x86_fp80, ptr %346, align 16 %348 = load ptr, ptr %85, align 8 %349 = load i32, ptr %63, align 4 %350 = sext i32 %349 to i64 %351 = getelementptr inbounds x86_fp80, ptr %348, i64 %350 %352 = load x86_fp80, ptr %351, align 16 %353 = fsub x86_fp80 %347, %352 %354 = load x86_fp80, ptr %69, align 16 %355 = load ptr, ptr %52, align 8 %356 = load i32, ptr %59, align 4 %357 = sext i32 %356 to i64 %358 = getelementptr inbounds x86_fp80, ptr %355, i64 %357 %359 = load x86_fp80, ptr %358, align 16 %360 = fmul x86_fp80 %354, %359 %361 = fdiv x86_fp80 %353, %360 %362 = load ptr, ptr %83, align 8 %363 = load i32, ptr %63, align 4 %364 = sext i32 %363 to i64 %365 = getelementptr inbounds x86_fp80, ptr %362, i64 %364 %366 = load x86_fp80, ptr %365, align 16 %367 = fadd x86_fp80 %366, %361 store x86_fp80 %367, ptr %365, align 16 %368 = load ptr, ptr %83, align 8 %369 = load i32, ptr %63, align 4 %370 = sext i32 %369 to i64 %371 = getelementptr inbounds x86_fp80, ptr %368, i64 %370 %372 = load x86_fp80, ptr %371, align 16 %373 = fcmp olt x86_fp80 %372, 0xK00000000000000000000 br i1 %373, label %374, label %379 374: ; preds = %338 %375 = load ptr, ptr %83, align 8 %376 = load i32, ptr %63, align 4 %377 = sext i32 %376 to i64 %378 = getelementptr inbounds x86_fp80, ptr %375, i64 %377 store x86_fp80 0xK00000000000000000000, ptr %378, align 16 br label %379 379: ; preds = %374, %338 br label %380 380: ; preds = %379 %381 = load i32, ptr %61, align 4 %382 = add nsw i32 %381, 1 store i32 %382, ptr %61, align 4 br label %334, !llvm.loop !16 383: ; preds = %334 br label %384 384: ; preds = %383 %385 = load i32, ptr %59, align 4 %386 = add nsw i32 %385, 1 store i32 %386, ptr %59, align 4 br label %328, !llvm.loop !17 387: ; preds = %328 store i32 1, ptr %59, align 4 br label %388 388: ; preds = %442, %387 %389 = load i32, ptr %59, align 4 %390 = load i32, ptr %47, align 4 %391 = sub nsw i32 %390, 1 %392 = icmp slt i32 %389, %391 br i1 %392, label %393, label %445 393: ; preds = %388 store x86_fp80 0xK00000000000000000000, ptr %67, align 16 store i32 0, ptr %61, align 4 br label %394 394: ; preds = %410, %393 %395 = load i32, ptr %61, align 4 %396 = load i32, ptr %87, align 4 %397 = icmp slt i32 %395, %396 br i1 %397, label %398, label %413 398: ; preds = %394 %399 = load i32, ptr %59, align 4 %400 = load i32, ptr %61, align 4 %401 = load i32, ptr %87, align 4 %402 = call i32 @get_mtx_index(i32 noundef %399, i32 noundef %400, i32 noundef %401) store i32 %402, ptr %63, align 4 %403 = load ptr, ptr %86, align 8 %404 = load i32, ptr %63, align 4 %405 = sext i32 %404 to i64 %406 = getelementptr inbounds x86_fp80, ptr %403, i64 %405 %407 = load x86_fp80, ptr %406, align 16 %408 = load x86_fp80, ptr %67, align 16 %409 = fadd x86_fp80 %408, %407 store x86_fp80 %409, ptr %67, align 16 br label %410 410: ; preds = %398 %411 = load i32, ptr %61, align 4 %412 = add nsw i32 %411, 1 store i32 %412, ptr %61, align 4 br label %394, !llvm.loop !18 413: ; preds = %394 %414 = load x86_fp80, ptr %67, align 16 %415 = fcmp une x86_fp80 %414, 0xK00000000000000000000 br i1 %415, label %416, label %441 416: ; preds = %413 store i32 0, ptr %61, align 4 br label %417 417: ; preds = %437, %416 %418 = load i32, ptr %61, align 4 %419 = load i32, ptr %87, align 4 %420 = icmp slt i32 %418, %419 br i1 %420, label %421, label %440 421: ; preds = %417 %422 = load i32, ptr %59, align 4 %423 = load i32, ptr %61, align 4 %424 = load i32, ptr %87, align 4 %425 = call i32 @get_mtx_index(i32 noundef %422, i32 noundef %423, i32 noundef %424) store i32 %425, ptr %63, align 4 %426 = load ptr, ptr %86, align 8 %427 = load i32, ptr %63, align 4 %428 = sext i32 %427 to i64 %429 = getelementptr inbounds x86_fp80, ptr %426, i64 %428 %430 = load x86_fp80, ptr %429, align 16 %431 = load x86_fp80, ptr %67, align 16 %432 = fdiv x86_fp80 %430, %431 %433 = load ptr, ptr %86, align 8 %434 = load i32, ptr %63, align 4 %435 = sext i32 %434 to i64 %436 = getelementptr inbounds x86_fp80, ptr %433, i64 %435 store x86_fp80 %432, ptr %436, align 16 br label %437 437: ; preds = %421 %438 = load i32, ptr %61, align 4 %439 = add nsw i32 %438, 1 store i32 %439, ptr %61, align 4 br label %417, !llvm.loop !19 440: ; preds = %417 br label %441 441: ; preds = %440, %413 br label %442 442: ; preds = %441 %443 = load i32, ptr %59, align 4 %444 = add nsw i32 %443, 1 store i32 %444, ptr %59, align 4 br label %388, !llvm.loop !20 445: ; preds = %388 ret void } declare i32 @get_mtx_index(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp92byo9rf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @calculate_E_discriminative_contributions_multi.DIVIDER_SCALER = internal global x86_fp80 0xK4002A000000000000000, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @calculate_E_discriminative_contributions_multi(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, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28) #0 { %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %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 i32, align 4 %48 = alloca i32, align 4 %49 = alloca i32, align 4 %50 = alloca i32, align 4 %51 = alloca i32, align 4 %52 = alloca ptr, align 8 %53 = alloca ptr, align 8 %54 = alloca ptr, align 8 %55 = alloca ptr, align 8 %56 = alloca i32, align 4 %57 = alloca i32, align 4 %58 = alloca i32, align 4 %59 = alloca i32, align 4 %60 = alloca i32, align 4 %61 = alloca i32, align 4 %62 = alloca i32, align 4 %63 = alloca i32, align 4 %64 = alloca i32, align 4 %65 = alloca i32, align 4 %66 = alloca i32, align 4 %67 = alloca x86_fp80, align 16 %68 = alloca x86_fp80, align 16 %69 = alloca x86_fp80, align 16 %70 = alloca x86_fp80, align 16 %71 = alloca x86_fp80, align 16 %72 = alloca x86_fp80, align 16 %73 = alloca x86_fp80, align 16 %74 = alloca x86_fp80, align 16 %75 = alloca x86_fp80, align 16 %76 = alloca x86_fp80, align 16 %77 = alloca x86_fp80, align 16 %78 = alloca x86_fp80, align 16 %79 = alloca x86_fp80, align 16 %80 = alloca x86_fp80, align 16 %81 = alloca x86_fp80, align 16 %82 = alloca x86_fp80, align 16 %83 = alloca ptr, align 8 %84 = alloca ptr, align 8 %85 = alloca ptr, align 8 %86 = alloca ptr, align 8 %87 = alloca i32, align 4 store ptr %0, ptr %30, align 8 store ptr %1, ptr %31, align 8 store ptr %2, ptr %32, align 8 store ptr %3, ptr %33, align 8 store ptr %4, ptr %34, align 8 store ptr %5, ptr %35, align 8 store ptr %6, ptr %36, align 8 store ptr %7, ptr %37, align 8 store ptr %8, ptr %38, align 8 store ptr %9, ptr %39, align 8 store ptr %10, ptr %40, align 8 store ptr %11, ptr %41, align 8 store ptr %12, ptr %42, align 8 store ptr %13, ptr %43, align 8 store ptr %14, ptr %44, align 8 store ptr %15, ptr %45, align 8 store ptr %16, ptr %46, align 8 store i32 %17, ptr %47, align 4 store i32 %18, ptr %48, align 4 store i32 %19, ptr %49, align 4 store i32 %20, ptr %50, align 4 store i32 %21, ptr %51, align 4 store ptr %22, ptr %52, align 8 store ptr %23, ptr %53, align 8 store ptr %24, ptr %54, align 8 store ptr %25, ptr %55, align 8 store i32 %26, ptr %56, align 4 store i32 %27, ptr %57, align 4 store i32 %28, ptr %58, align 4 %88 = load i32, ptr %58, align 4 %89 = icmp eq i32 %88, 1 br i1 %89, label %90, label %96 90: ; preds = %29 %91 = load ptr, ptr %30, align 8 store ptr %91, ptr %83, align 8 %92 = load ptr, ptr %34, align 8 store ptr %92, ptr %84, align 8 %93 = load ptr, ptr %38, align 8 store ptr %93, ptr %85, align 8 %94 = load ptr, ptr %42, align 8 store ptr %94, ptr %86, align 8 %95 = load i32, ptr %48, align 4 store i32 %95, ptr %87, align 4 br label %96 96: ; preds = %90, %29 %97 = load i32, ptr %58, align 4 %98 = icmp eq i32 %97, 2 br i1 %98, label %99, label %105 99: ; preds = %96 %100 = load ptr, ptr %31, align 8 store ptr %100, ptr %83, align 8 %101 = load ptr, ptr %35, align 8 store ptr %101, ptr %84, align 8 %102 = load ptr, ptr %39, align 8 store ptr %102, ptr %85, align 8 %103 = load ptr, ptr %43, align 8 store ptr %103, ptr %86, align 8 %104 = load i32, ptr %49, align 4 store i32 %104, ptr %87, align 4 br label %105 105: ; preds = %99, %96 %106 = load i32, ptr %58, align 4 %107 = icmp eq i32 %106, 1 br i1 %107, label %108, label %114 108: ; preds = %105 %109 = load ptr, ptr %32, align 8 store ptr %109, ptr %83, align 8 %110 = load ptr, ptr %36, align 8 store ptr %110, ptr %84, align 8 %111 = load ptr, ptr %40, align 8 store ptr %111, ptr %85, align 8 %112 = load ptr, ptr %44, align 8 store ptr %112, ptr %86, align 8 %113 = load i32, ptr %50, align 4 store i32 %113, ptr %87, align 4 br label %114 114: ; preds = %108, %105 %115 = load i32, ptr %58, align 4 %116 = icmp eq i32 %115, 1 br i1 %116, label %117, label %123 117: ; preds = %114 %118 = load ptr, ptr %33, align 8 store ptr %118, ptr %83, align 8 %119 = load ptr, ptr %37, align 8 store ptr %119, ptr %84, align 8 %120 = load ptr, ptr %41, align 8 store ptr %120, ptr %85, align 8 %121 = load ptr, ptr %45, align 8 store ptr %121, ptr %86, align 8 %122 = load i32, ptr %51, align 4 store i32 %122, ptr %87, align 4 br label %123 123: ; preds = %117, %114 store i32 1, ptr %59, align 4 %124 = load i32, ptr %59, align 4 %125 = load i32, ptr %47, align 4 %126 = sub nsw i32 %125, 1 %127 = icmp slt i32 %124, %126 br i1 %127, label %.lr.ph2, label %160 .lr.ph2: ; preds = %123 br label %128 128: ; preds = %.lr.ph2, %153 store i32 0, ptr %61, align 4 %129 = load i32, ptr %61, align 4 %130 = load i32, ptr %87, align 4 %131 = icmp slt i32 %129, %130 br i1 %131, label %.lr.ph, label %152 .lr.ph: ; preds = %128 br label %132 132: ; preds = %.lr.ph, %146 %133 = load i32, ptr %59, align 4 %134 = load i32, ptr %61, align 4 %135 = load i32, ptr %87, align 4 %136 = call i32 @get_mtx_index(i32 noundef %133, i32 noundef %134, i32 noundef %135) store i32 %136, ptr %63, align 4 %137 = load ptr, ptr %86, align 8 %138 = load i32, ptr %63, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds x86_fp80, ptr %137, i64 %139 %141 = load x86_fp80, ptr %140, align 16 %142 = load ptr, ptr %83, align 8 %143 = load i32, ptr %63, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds x86_fp80, ptr %142, i64 %144 store x86_fp80 %141, ptr %145, align 16 br label %146 146: ; preds = %132 %147 = load i32, ptr %61, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %61, align 4 %149 = load i32, ptr %61, align 4 %150 = load i32, ptr %87, align 4 %151 = icmp slt i32 %149, %150 br i1 %151, label %132, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %146 br label %152 152: ; preds = %._crit_edge, %128 br label %153 153: ; preds = %152 %154 = load i32, ptr %59, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %59, align 4 %156 = load i32, ptr %59, align 4 %157 = load i32, ptr %47, align 4 %158 = sub nsw i32 %157, 1 %159 = icmp slt i32 %156, %158 br i1 %159, label %128, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %153 br label %160 160: ; preds = %._crit_edge3, %123 store i32 1, ptr %59, align 4 %161 = load i32, ptr %59, align 4 %162 = load i32, ptr %47, align 4 %163 = sub nsw i32 %162, 1 %164 = icmp slt i32 %161, %163 br i1 %164, label %.lr.ph17, label %255 .lr.ph17: ; preds = %160 br label %165 165: ; preds = %.lr.ph17, %248 store x86_fp80 0xK00000000000000000000, ptr %68, align 16 store i32 0, ptr %61, align 4 %166 = load i32, ptr %61, align 4 %167 = load i32, ptr %87, align 4 %168 = icmp slt i32 %166, %167 br i1 %168, label %.lr.ph5, label %187 .lr.ph5: ; preds = %165 br label %169 169: ; preds = %.lr.ph5, %181 %170 = load i32, ptr %59, align 4 %171 = load i32, ptr %61, align 4 %172 = load i32, ptr %87, align 4 %173 = call i32 @get_mtx_index(i32 noundef %170, i32 noundef %171, i32 noundef %172) store i32 %173, ptr %63, align 4 %174 = load ptr, ptr %85, align 8 %175 = load i32, ptr %63, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds x86_fp80, ptr %174, i64 %176 %178 = load x86_fp80, ptr %177, align 16 %179 = load x86_fp80, ptr %68, align 16 %180 = fadd x86_fp80 %179, %178 store x86_fp80 %180, ptr %68, align 16 br label %181 181: ; preds = %169 %182 = load i32, ptr %61, align 4 %183 = add nsw i32 %182, 1 store i32 %183, ptr %61, align 4 %184 = load i32, ptr %61, align 4 %185 = load i32, ptr %87, align 4 %186 = icmp slt i32 %184, %185 br i1 %186, label %169, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %181 br label %187 187: ; preds = %._crit_edge6, %165 %188 = load x86_fp80, ptr %68, align 16 %189 = fcmp ogt x86_fp80 %188, 0xK00000000000000000000 br i1 %189, label %190, label %206 190: ; preds = %187 store i32 0, ptr %61, align 4 %191 = load i32, ptr %61, align 4 %192 = load i32, ptr %87, align 4 %193 = icmp slt i32 %191, %192 br i1 %193, label %.lr.ph8, label %205 .lr.ph8: ; preds = %190 br label %194 194: ; preds = %.lr.ph8, %199 %195 = load i32, ptr %59, align 4 %196 = load i32, ptr %61, align 4 %197 = load i32, ptr %87, align 4 %198 = call i32 @get_mtx_index(i32 noundef %195, i32 noundef %196, i32 noundef %197) store i32 %198, ptr %63, align 4 br label %199 199: ; preds = %194 %200 = load i32, ptr %61, align 4 %201 = add nsw i32 %200, 1 store i32 %201, ptr %61, align 4 %202 = load i32, ptr %61, align 4 %203 = load i32, ptr %87, align 4 %204 = icmp slt i32 %202, %203 br i1 %204, label %194, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %199 br label %205 205: ; preds = %._crit_edge9, %190 br label %206 206: ; preds = %205, %187 store x86_fp80 0xK00000000000000000000, ptr %68, align 16 store i32 0, ptr %61, align 4 %207 = load i32, ptr %61, align 4 %208 = load i32, ptr %87, align 4 %209 = icmp slt i32 %207, %208 br i1 %209, label %.lr.ph11, label %228 .lr.ph11: ; preds = %206 br label %210 210: ; preds = %.lr.ph11, %222 %211 = load i32, ptr %59, align 4 %212 = load i32, ptr %61, align 4 %213 = load i32, ptr %87, align 4 %214 = call i32 @get_mtx_index(i32 noundef %211, i32 noundef %212, i32 noundef %213) store i32 %214, ptr %63, align 4 %215 = load ptr, ptr %84, align 8 %216 = load i32, ptr %63, align 4 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds x86_fp80, ptr %215, i64 %217 %219 = load x86_fp80, ptr %218, align 16 %220 = load x86_fp80, ptr %68, align 16 %221 = fadd x86_fp80 %220, %219 store x86_fp80 %221, ptr %68, align 16 br label %222 222: ; preds = %210 %223 = load i32, ptr %61, align 4 %224 = add nsw i32 %223, 1 store i32 %224, ptr %61, align 4 %225 = load i32, ptr %61, align 4 %226 = load i32, ptr %87, align 4 %227 = icmp slt i32 %225, %226 br i1 %227, label %210, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %222 br label %228 228: ; preds = %._crit_edge12, %206 %229 = load x86_fp80, ptr %68, align 16 %230 = fcmp ogt x86_fp80 %229, 0xK00000000000000000000 br i1 %230, label %231, label %247 231: ; preds = %228 store i32 0, ptr %61, align 4 %232 = load i32, ptr %61, align 4 %233 = load i32, ptr %87, align 4 %234 = icmp slt i32 %232, %233 br i1 %234, label %.lr.ph14, label %246 .lr.ph14: ; preds = %231 br label %235 235: ; preds = %.lr.ph14, %240 %236 = load i32, ptr %59, align 4 %237 = load i32, ptr %61, align 4 %238 = load i32, ptr %87, align 4 %239 = call i32 @get_mtx_index(i32 noundef %236, i32 noundef %237, i32 noundef %238) store i32 %239, ptr %63, align 4 br label %240 240: ; preds = %235 %241 = load i32, ptr %61, align 4 %242 = add nsw i32 %241, 1 store i32 %242, ptr %61, align 4 %243 = load i32, ptr %61, align 4 %244 = load i32, ptr %87, align 4 %245 = icmp slt i32 %243, %244 br i1 %245, label %235, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %240 br label %246 246: ; preds = %._crit_edge15, %231 br label %247 247: ; preds = %246, %228 br label %248 248: ; preds = %247 %249 = load i32, ptr %59, align 4 %250 = add nsw i32 %249, 1 store i32 %250, ptr %59, align 4 %251 = load i32, ptr %59, align 4 %252 = load i32, ptr %47, align 4 %253 = sub nsw i32 %252, 1 %254 = icmp slt i32 %251, %253 br i1 %254, label %165, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %248 br label %255 255: ; preds = %._crit_edge18, %160 store x86_fp80 0xK3FFF8000000000000000, ptr %69, align 16 store i32 1, ptr %59, align 4 %256 = load i32, ptr %59, align 4 %257 = load i32, ptr %47, align 4 %258 = sub nsw i32 %257, 1 %259 = icmp slt i32 %256, %258 br i1 %259, label %.lr.ph23, label %345 .lr.ph23: ; preds = %255 br label %260 260: ; preds = %.lr.ph23, %338 store i32 0, ptr %61, align 4 %261 = load i32, ptr %61, align 4 %262 = load i32, ptr %87, align 4 %263 = icmp slt i32 %261, %262 br i1 %263, label %.lr.ph20, label %337 .lr.ph20: ; preds = %260 br label %264 264: ; preds = %.lr.ph20, %331 %265 = load i32, ptr %59, align 4 %266 = load i32, ptr %61, align 4 %267 = load i32, ptr %87, align 4 %268 = call i32 @get_mtx_index(i32 noundef %265, i32 noundef %266, i32 noundef %267) store i32 %268, ptr %63, align 4 %269 = load ptr, ptr %83, align 8 %270 = load i32, ptr %63, align 4 %271 = sext i32 %270 to i64 %272 = getelementptr inbounds x86_fp80, ptr %269, i64 %271 %273 = load x86_fp80, ptr %272, align 16 store x86_fp80 %273, ptr %78, align 16 %274 = load ptr, ptr %83, align 8 %275 = load i32, ptr %63, align 4 %276 = sext i32 %275 to i64 %277 = getelementptr inbounds x86_fp80, ptr %274, i64 %276 %278 = load x86_fp80, ptr %277, align 16 %279 = load ptr, ptr %83, align 8 %280 = load i32, ptr %63, align 4 %281 = sext i32 %280 to i64 %282 = getelementptr inbounds x86_fp80, ptr %279, i64 %281 %283 = load x86_fp80, ptr %282, align 16 %284 = fsub x86_fp80 0xK3FFF8000000000000000, %283 %285 = fcmp ogt x86_fp80 %278, %284 br i1 %285, label %286, label %293 286: ; preds = %264 %287 = load ptr, ptr %83, align 8 %288 = load i32, ptr %63, align 4 %289 = sext i32 %288 to i64 %290 = getelementptr inbounds x86_fp80, ptr %287, i64 %289 %291 = load x86_fp80, ptr %290, align 16 %292 = fsub x86_fp80 0xK3FFF8000000000000000, %291 store x86_fp80 %292, ptr %78, align 16 br label %293 293: ; preds = %286, %264 %294 = load ptr, ptr %83, align 8 %295 = load i32, ptr %63, align 4 %296 = sext i32 %295 to i64 %297 = getelementptr inbounds x86_fp80, ptr %294, i64 %296 %298 = load x86_fp80, ptr %297, align 16 %299 = fcmp une x86_fp80 %298, 0xK00000000000000000000 br i1 %299, label %300, label %330 300: ; preds = %293 %301 = load ptr, ptr %85, align 8 %302 = load i32, ptr %63, align 4 %303 = sext i32 %302 to i64 %304 = getelementptr inbounds x86_fp80, ptr %301, i64 %303 %305 = load x86_fp80, ptr %304, align 16 %306 = load ptr, ptr %84, align 8 %307 = load i32, ptr %63, align 4 %308 = sext i32 %307 to i64 %309 = getelementptr inbounds x86_fp80, ptr %306, i64 %308 %310 = load x86_fp80, ptr %309, align 16 %311 = fsub x86_fp80 %305, %310 %312 = load x86_fp80, ptr %78, align 16 %313 = fdiv x86_fp80 %311, %312 %314 = load x86_fp80, ptr %69, align 16 %315 = fcmp ogt x86_fp80 %313, %314 br i1 %315, label %316, label %330 316: ; preds = %300 %317 = load ptr, ptr %85, align 8 %318 = load i32, ptr %63, align 4 %319 = sext i32 %318 to i64 %320 = getelementptr inbounds x86_fp80, ptr %317, i64 %319 %321 = load x86_fp80, ptr %320, align 16 %322 = load ptr, ptr %84, align 8 %323 = load i32, ptr %63, align 4 %324 = sext i32 %323 to i64 %325 = getelementptr inbounds x86_fp80, ptr %322, i64 %324 %326 = load x86_fp80, ptr %325, align 16 %327 = fsub x86_fp80 %321, %326 %328 = load x86_fp80, ptr %78, align 16 %329 = fdiv x86_fp80 %327, %328 store x86_fp80 %329, ptr %69, align 16 br label %330 330: ; preds = %316, %300, %293 br label %331 331: ; preds = %330 %332 = load i32, ptr %61, align 4 %333 = add nsw i32 %332, 1 store i32 %333, ptr %61, align 4 %334 = load i32, ptr %61, align 4 %335 = load i32, ptr %87, align 4 %336 = icmp slt i32 %334, %335 br i1 %336, label %264, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %331 br label %337 337: ; preds = %._crit_edge21, %260 br label %338 338: ; preds = %337 %339 = load i32, ptr %59, align 4 %340 = add nsw i32 %339, 1 store i32 %340, ptr %59, align 4 %341 = load i32, ptr %59, align 4 %342 = load i32, ptr %47, align 4 %343 = sub nsw i32 %342, 1 %344 = icmp slt i32 %341, %343 br i1 %344, label %260, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %338 br label %345 345: ; preds = %._crit_edge24, %255 %346 = load x86_fp80, ptr %69, align 16 %347 = load x86_fp80, ptr @calculate_E_discriminative_contributions_multi.DIVIDER_SCALER, align 16 %348 = fmul x86_fp80 %346, %347 store x86_fp80 %348, ptr %69, align 16 store i32 1, ptr %59, align 4 %349 = load i32, ptr %59, align 4 %350 = load i32, ptr %47, align 4 %351 = sub nsw i32 %350, 1 %352 = icmp slt i32 %349, %351 br i1 %352, label %.lr.ph29, label %413 .lr.ph29: ; preds = %345 br label %353 353: ; preds = %.lr.ph29, %406 store i32 0, ptr %61, align 4 %354 = load i32, ptr %61, align 4 %355 = load i32, ptr %87, align 4 %356 = icmp slt i32 %354, %355 br i1 %356, label %.lr.ph26, label %405 .lr.ph26: ; preds = %353 br label %357 357: ; preds = %.lr.ph26, %399 %358 = load i32, ptr %59, align 4 %359 = load i32, ptr %61, align 4 %360 = load i32, ptr %87, align 4 %361 = call i32 @get_mtx_index(i32 noundef %358, i32 noundef %359, i32 noundef %360) store i32 %361, ptr %63, align 4 %362 = load ptr, ptr %84, align 8 %363 = load i32, ptr %63, align 4 %364 = sext i32 %363 to i64 %365 = getelementptr inbounds x86_fp80, ptr %362, i64 %364 %366 = load x86_fp80, ptr %365, align 16 %367 = load ptr, ptr %85, align 8 %368 = load i32, ptr %63, align 4 %369 = sext i32 %368 to i64 %370 = getelementptr inbounds x86_fp80, ptr %367, i64 %369 %371 = load x86_fp80, ptr %370, align 16 %372 = fsub x86_fp80 %366, %371 %373 = load x86_fp80, ptr %69, align 16 %374 = load ptr, ptr %52, align 8 %375 = load i32, ptr %59, align 4 %376 = sext i32 %375 to i64 %377 = getelementptr inbounds x86_fp80, ptr %374, i64 %376 %378 = load x86_fp80, ptr %377, align 16 %379 = fmul x86_fp80 %373, %378 %380 = fdiv x86_fp80 %372, %379 %381 = load ptr, ptr %83, align 8 %382 = load i32, ptr %63, align 4 %383 = sext i32 %382 to i64 %384 = getelementptr inbounds x86_fp80, ptr %381, i64 %383 %385 = load x86_fp80, ptr %384, align 16 %386 = fadd x86_fp80 %385, %380 store x86_fp80 %386, ptr %384, align 16 %387 = load ptr, ptr %83, align 8 %388 = load i32, ptr %63, align 4 %389 = sext i32 %388 to i64 %390 = getelementptr inbounds x86_fp80, ptr %387, i64 %389 %391 = load x86_fp80, ptr %390, align 16 %392 = fcmp olt x86_fp80 %391, 0xK00000000000000000000 br i1 %392, label %393, label %398 393: ; preds = %357 %394 = load ptr, ptr %83, align 8 %395 = load i32, ptr %63, align 4 %396 = sext i32 %395 to i64 %397 = getelementptr inbounds x86_fp80, ptr %394, i64 %396 store x86_fp80 0xK00000000000000000000, ptr %397, align 16 br label %398 398: ; preds = %393, %357 br label %399 399: ; preds = %398 %400 = load i32, ptr %61, align 4 %401 = add nsw i32 %400, 1 store i32 %401, ptr %61, align 4 %402 = load i32, ptr %61, align 4 %403 = load i32, ptr %87, align 4 %404 = icmp slt i32 %402, %403 br i1 %404, label %357, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %399 br label %405 405: ; preds = %._crit_edge27, %353 br label %406 406: ; preds = %405 %407 = load i32, ptr %59, align 4 %408 = add nsw i32 %407, 1 store i32 %408, ptr %59, align 4 %409 = load i32, ptr %59, align 4 %410 = load i32, ptr %47, align 4 %411 = sub nsw i32 %410, 1 %412 = icmp slt i32 %409, %411 br i1 %412, label %353, label %._crit_edge30, !llvm.loop !17 ._crit_edge30: ; preds = %406 br label %413 413: ; preds = %._crit_edge30, %345 store i32 1, ptr %59, align 4 %414 = load i32, ptr %59, align 4 %415 = load i32, ptr %47, align 4 %416 = sub nsw i32 %415, 1 %417 = icmp slt i32 %414, %416 br i1 %417, label %.lr.ph38, label %478 .lr.ph38: ; preds = %413 br label %418 418: ; preds = %.lr.ph38, %471 store x86_fp80 0xK00000000000000000000, ptr %67, align 16 store i32 0, ptr %61, align 4 %419 = load i32, ptr %61, align 4 %420 = load i32, ptr %87, align 4 %421 = icmp slt i32 %419, %420 br i1 %421, label %.lr.ph32, label %440 .lr.ph32: ; preds = %418 br label %422 422: ; preds = %.lr.ph32, %434 %423 = load i32, ptr %59, align 4 %424 = load i32, ptr %61, align 4 %425 = load i32, ptr %87, align 4 %426 = call i32 @get_mtx_index(i32 noundef %423, i32 noundef %424, i32 noundef %425) store i32 %426, ptr %63, align 4 %427 = load ptr, ptr %86, align 8 %428 = load i32, ptr %63, align 4 %429 = sext i32 %428 to i64 %430 = getelementptr inbounds x86_fp80, ptr %427, i64 %429 %431 = load x86_fp80, ptr %430, align 16 %432 = load x86_fp80, ptr %67, align 16 %433 = fadd x86_fp80 %432, %431 store x86_fp80 %433, ptr %67, align 16 br label %434 434: ; preds = %422 %435 = load i32, ptr %61, align 4 %436 = add nsw i32 %435, 1 store i32 %436, ptr %61, align 4 %437 = load i32, ptr %61, align 4 %438 = load i32, ptr %87, align 4 %439 = icmp slt i32 %437, %438 br i1 %439, label %422, label %._crit_edge33, !llvm.loop !18 ._crit_edge33: ; preds = %434 br label %440 440: ; preds = %._crit_edge33, %418 %441 = load x86_fp80, ptr %67, align 16 %442 = fcmp une x86_fp80 %441, 0xK00000000000000000000 br i1 %442, label %443, label %470 443: ; preds = %440 store i32 0, ptr %61, align 4 %444 = load i32, ptr %61, align 4 %445 = load i32, ptr %87, align 4 %446 = icmp slt i32 %444, %445 br i1 %446, label %.lr.ph35, label %469 .lr.ph35: ; preds = %443 br label %447 447: ; preds = %.lr.ph35, %463 %448 = load i32, ptr %59, align 4 %449 = load i32, ptr %61, align 4 %450 = load i32, ptr %87, align 4 %451 = call i32 @get_mtx_index(i32 noundef %448, i32 noundef %449, i32 noundef %450) store i32 %451, ptr %63, align 4 %452 = load ptr, ptr %86, align 8 %453 = load i32, ptr %63, align 4 %454 = sext i32 %453 to i64 %455 = getelementptr inbounds x86_fp80, ptr %452, i64 %454 %456 = load x86_fp80, ptr %455, align 16 %457 = load x86_fp80, ptr %67, align 16 %458 = fdiv x86_fp80 %456, %457 %459 = load ptr, ptr %86, align 8 %460 = load i32, ptr %63, align 4 %461 = sext i32 %460 to i64 %462 = getelementptr inbounds x86_fp80, ptr %459, i64 %461 store x86_fp80 %458, ptr %462, align 16 br label %463 463: ; preds = %447 %464 = load i32, ptr %61, align 4 %465 = add nsw i32 %464, 1 store i32 %465, ptr %61, align 4 %466 = load i32, ptr %61, align 4 %467 = load i32, ptr %87, align 4 %468 = icmp slt i32 %466, %467 br i1 %468, label %447, label %._crit_edge36, !llvm.loop !19 ._crit_edge36: ; preds = %463 br label %469 469: ; preds = %._crit_edge36, %443 br label %470 470: ; preds = %469, %440 br label %471 471: ; preds = %470 %472 = load i32, ptr %59, align 4 %473 = add nsw i32 %472, 1 store i32 %473, ptr %59, align 4 %474 = load i32, ptr %59, align 4 %475 = load i32, ptr %47, align 4 %476 = sub nsw i32 %475, 1 %477 = icmp slt i32 %474, %476 br i1 %477, label %418, label %._crit_edge39, !llvm.loop !20 ._crit_edge39: ; preds = %471 br label %478 478: ; preds = %._crit_edge39, %413 ret void } declare i32 @get_mtx_index(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7}
; ModuleID = '/tmp/tmpx2rqmw8z.c' source_filename = "/tmp/tmpx2rqmw8z.c" target datalayout = "e-m:e-p270: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/tmpx2rqmw8z.c" target datalayout = "e-m:e-p270: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/tmp33gal4fr.c' source_filename = "/tmp/tmp33gal4fr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gen_posix_mutex_destroy(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load i32, ptr @EINVAL, align 4 %8 = sub nsw i32 0, %7 store i32 %8, ptr %2, align 4 br label %14 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @pthread_mutex_destroy(ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = call i32 @free(ptr noundef %12) store i32 0, ptr %2, align 4 br label %14 14: ; preds = %9, %6 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare i32 @pthread_mutex_destroy(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp33gal4fr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gen_posix_mutex_destroy(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load i32, ptr @EINVAL, align 4 %8 = sub nsw i32 0, %7 store i32 %8, ptr %2, align 4 br label %14 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @pthread_mutex_destroy(ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = call i32 @free(ptr noundef %12) store i32 0, ptr %2, align 4 br label %14 14: ; preds = %9, %6 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare i32 @pthread_mutex_destroy(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkh55weqv.c' source_filename = "/tmp/tmpkh55weqv.c" target datalayout = "e-m:e-p270: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/tmpkh55weqv.c" target datalayout = "e-m:e-p270: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/tmpfh4tz6bx.c' source_filename = "/tmp/tmpfh4tz6bx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"isbdigit should be 0 for '\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0x27() #0 { %1 = call i64 @isbdigit(i32 noundef 39) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 200, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(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/tmpfh4tz6bx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"isbdigit should be 0 for '\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0x27() #0 { %1 = call i64 @isbdigit(i32 noundef 39) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 200, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(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/tmpwmyu1wed.c' source_filename = "/tmp/tmpwmyu1wed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"error: can't read the file %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"whitelist_exact\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"whitelist_similar\00", align 1 @.str.4 = private unnamed_addr constant [62 x i8] c"error: the section in the config file is more than %i bytes.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_config(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i8, align 1 %13 = alloca i8, align 1 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr null, ptr %9, align 8 store i64 0, ptr %10, align 8 store i8 0, ptr %12, align 1 store i8 0, ptr %13, align 1 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 %16 = load ptr, ptr %5, align 8 %17 = call ptr @fopen(ptr noundef %16, ptr noundef @.str) store ptr %17, ptr %8, align 8 %18 = load ptr, ptr %8, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %24 20: ; preds = %3 %21 = load i32, ptr @stderr, align 4 %22 = load ptr, ptr %5, align 8 %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.1, ptr noundef %22) store i32 -1, ptr %4, align 4 br label %116 24: ; preds = %3 br label %25 25: ; preds = %112, %71, %47, %24 %26 = load ptr, ptr %8, align 8 %27 = call i32 @getline(ptr noundef %9, ptr noundef %10, ptr noundef %26) store i32 %27, ptr %11, align 4 %28 = icmp ne i32 %27, -1 br i1 %28, label %29, label %113 29: ; preds = %25 %30 = load ptr, ptr %9, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 0 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 32 br i1 %34, label %47, label %35 35: ; preds = %29 %36 = load ptr, ptr %9, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 0 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 59 br i1 %40, label %47, label %41 41: ; preds = %35 %42 = load ptr, ptr %9, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 0 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 10 br i1 %46, label %47, label %48 47: ; preds = %41, %35, %29 br label %25, !llvm.loop !6 48: ; preds = %41 %49 = load ptr, ptr %9, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 0 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp eq i32 %52, 91 br i1 %53, label %54, label %72 54: ; preds = %48 %55 = load ptr, ptr %9, align 8 %56 = load i32, ptr %11, align 4 %57 = sub nsw i32 %56, 2 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %55, i64 %58 store i8 0, ptr %59, align 1 %60 = load ptr, ptr %9, align 8 %61 = getelementptr inbounds i8, ptr %60, i32 1 store ptr %61, ptr %9, align 8 %62 = load ptr, ptr %9, align 8 %63 = call i64 @strcmp(ptr noundef %62, ptr noundef @.str.2) %64 = icmp eq i64 %63, 0 br i1 %64, label %65, label %66 65: ; preds = %54 store i8 1, ptr %12, align 1 store i8 0, ptr %13, align 1 br label %66 66: ; preds = %65, %54 %67 = load ptr, ptr %9, align 8 %68 = call i64 @strcmp(ptr noundef %67, ptr noundef @.str.3) %69 = icmp eq i64 %68, 0 br i1 %69, label %70, label %71 70: ; preds = %66 store i8 0, ptr %12, align 1 store i8 1, ptr %13, align 1 br label %71 71: ; preds = %70, %66 br label %25, !llvm.loop !6 72: ; preds = %48 %73 = load ptr, ptr %9, align 8 %74 = load i32, ptr %11, align 4 %75 = sub nsw i32 %74, 1 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %73, i64 %76 store i8 47, ptr %77, align 1 %78 = load i32, ptr %14, align 4 %79 = load i32, ptr %11, align 4 %80 = add nsw i32 %78, %79 %81 = icmp sge i32 %80, 10239 br i1 %81, label %87, label %82 82: ; preds = %72 %83 = load i32, ptr %14, align 4 %84 = load i32, ptr %11, align 4 %85 = add nsw i32 %83, %84 %86 = icmp sge i32 %85, 10239 br i1 %86, label %87, label %92 87: ; preds = %82, %72 %88 = load i32, ptr @stderr, align 4 %89 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %88, ptr noundef @.str.4, i32 noundef 10240) %90 = load ptr, ptr %8, align 8 %91 = call i32 @fclose(ptr noundef %90) store i32 -1, ptr %4, align 4 br label %116 92: ; preds = %82 %93 = load i8, ptr %12, align 1 %94 = icmp ne i8 %93, 0 br i1 %94, label %95, label %102 95: ; preds = %92 %96 = load i32, ptr %11, align 4 %97 = load i32, ptr %14, align 4 %98 = add nsw i32 %97, %96 store i32 %98, ptr %14, align 4 %99 = load ptr, ptr %6, align 8 %100 = load ptr, ptr %9, align 8 %101 = call i32 @strcat(ptr noundef %99, ptr noundef %100) br label %102 102: ; preds = %95, %92 %103 = load i8, ptr %13, align 1 %104 = icmp ne i8 %103, 0 br i1 %104, label %105, label %112 105: ; preds = %102 %106 = load i32, ptr %11, align 4 %107 = load i32, ptr %15, align 4 %108 = add nsw i32 %107, %106 store i32 %108, ptr %15, align 4 %109 = load ptr, ptr %7, align 8 %110 = load ptr, ptr %9, align 8 %111 = call i32 @strcat(ptr noundef %109, ptr noundef %110) br label %112 112: ; preds = %105, %102 br label %25, !llvm.loop !6 113: ; preds = %25 %114 = load ptr, ptr %8, align 8 %115 = call i32 @fclose(ptr noundef %114) store i32 0, ptr %4, align 4 br label %116 116: ; preds = %113, %87, %20 %117 = load i32, ptr %4, align 4 ret i32 %117 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwmyu1wed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"error: can't read the file %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"whitelist_exact\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"whitelist_similar\00", align 1 @.str.4 = private unnamed_addr constant [62 x i8] c"error: the section in the config file is more than %i bytes.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_config(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i8, align 1 %13 = alloca i8, align 1 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr null, ptr %9, align 8 store i64 0, ptr %10, align 8 store i8 0, ptr %12, align 1 store i8 0, ptr %13, align 1 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 %16 = load ptr, ptr %5, align 8 %17 = call ptr @fopen(ptr noundef %16, ptr noundef @.str) store ptr %17, ptr %8, align 8 %18 = load ptr, ptr %8, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %24 20: ; preds = %3 %21 = load i32, ptr @stderr, align 4 %22 = load ptr, ptr %5, align 8 %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.1, ptr noundef %22) store i32 -1, ptr %4, align 4 br label %118 24: ; preds = %3 %25 = load ptr, ptr %8, align 8 %26 = call i32 @getline(ptr noundef %9, ptr noundef %10, ptr noundef %25) store i32 %26, ptr %11, align 4 %27 = icmp ne i32 %26, -1 br i1 %27, label %.lr.ph, label %115 .lr.ph: ; preds = %24 br label %28 28: ; preds = %.lr.ph, %.backedge %29 = load ptr, ptr %9, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 0 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 32 br i1 %33, label %46, label %34 34: ; preds = %28 %35 = load ptr, ptr %9, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 0 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 59 br i1 %39, label %46, label %40 40: ; preds = %34 %41 = load ptr, ptr %9, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 0 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 10 br i1 %45, label %46, label %50 46: ; preds = %40, %34, %28 br label %.backedge .backedge: ; preds = %46, %73, %114 %47 = load ptr, ptr %8, align 8 %48 = call i32 @getline(ptr noundef %9, ptr noundef %10, ptr noundef %47) store i32 %48, ptr %11, align 4 %49 = icmp ne i32 %48, -1 br i1 %49, label %28, label %._crit_edge, !llvm.loop !6 50: ; preds = %40 %51 = load ptr, ptr %9, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 0 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 91 br i1 %55, label %56, label %74 56: ; preds = %50 %57 = load ptr, ptr %9, align 8 %58 = load i32, ptr %11, align 4 %59 = sub nsw i32 %58, 2 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %57, i64 %60 store i8 0, ptr %61, align 1 %62 = load ptr, ptr %9, align 8 %63 = getelementptr inbounds i8, ptr %62, i32 1 store ptr %63, ptr %9, align 8 %64 = load ptr, ptr %9, align 8 %65 = call i64 @strcmp(ptr noundef %64, ptr noundef @.str.2) %66 = icmp eq i64 %65, 0 br i1 %66, label %67, label %68 67: ; preds = %56 store i8 1, ptr %12, align 1 store i8 0, ptr %13, align 1 br label %68 68: ; preds = %67, %56 %69 = load ptr, ptr %9, align 8 %70 = call i64 @strcmp(ptr noundef %69, ptr noundef @.str.3) %71 = icmp eq i64 %70, 0 br i1 %71, label %72, label %73 72: ; preds = %68 store i8 0, ptr %12, align 1 store i8 1, ptr %13, align 1 br label %73 73: ; preds = %72, %68 br label %.backedge 74: ; preds = %50 %75 = load ptr, ptr %9, align 8 %76 = load i32, ptr %11, align 4 %77 = sub nsw i32 %76, 1 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %75, i64 %78 store i8 47, ptr %79, align 1 %80 = load i32, ptr %14, align 4 %81 = load i32, ptr %11, align 4 %82 = add nsw i32 %80, %81 %83 = icmp sge i32 %82, 10239 br i1 %83, label %89, label %84 84: ; preds = %74 %85 = load i32, ptr %14, align 4 %86 = load i32, ptr %11, align 4 %87 = add nsw i32 %85, %86 %88 = icmp sge i32 %87, 10239 br i1 %88, label %89, label %94 89: ; preds = %84, %74 %90 = load i32, ptr @stderr, align 4 %91 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %90, ptr noundef @.str.4, i32 noundef 10240) %92 = load ptr, ptr %8, align 8 %93 = call i32 @fclose(ptr noundef %92) store i32 -1, ptr %4, align 4 br label %118 94: ; preds = %84 %95 = load i8, ptr %12, align 1 %96 = icmp ne i8 %95, 0 br i1 %96, label %97, label %104 97: ; preds = %94 %98 = load i32, ptr %11, align 4 %99 = load i32, ptr %14, align 4 %100 = add nsw i32 %99, %98 store i32 %100, ptr %14, align 4 %101 = load ptr, ptr %6, align 8 %102 = load ptr, ptr %9, align 8 %103 = call i32 @strcat(ptr noundef %101, ptr noundef %102) br label %104 104: ; preds = %97, %94 %105 = load i8, ptr %13, align 1 %106 = icmp ne i8 %105, 0 br i1 %106, label %107, label %114 107: ; preds = %104 %108 = load i32, ptr %11, align 4 %109 = load i32, ptr %15, align 4 %110 = add nsw i32 %109, %108 store i32 %110, ptr %15, align 4 %111 = load ptr, ptr %7, align 8 %112 = load ptr, ptr %9, align 8 %113 = call i32 @strcat(ptr noundef %111, ptr noundef %112) br label %114 114: ; preds = %107, %104 br label %.backedge ._crit_edge: ; preds = %.backedge br label %115 115: ; preds = %._crit_edge, %24 %116 = load ptr, ptr %8, align 8 %117 = call i32 @fclose(ptr noundef %116) store i32 0, ptr %4, align 4 br label %118 118: ; preds = %115, %89, %20 %119 = load i32, ptr %4, align 4 ret i32 %119 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmprpa5snay.c' source_filename = "/tmp/tmprpa5snay.c" target datalayout = "e-m:e-p270: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/tmprpa5snay.c" target datalayout = "e-m:e-p270: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/tmps82648o9.c' source_filename = "/tmp/tmps82648o9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aux_cmp(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 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @assert(ptr noundef %7) %9 = load ptr, ptr %4, align 8 %10 = call i32 @assert(ptr noundef %9) %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %13, align 4 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %15, align 4 %17 = sub nsw i32 %14, %16 ret i32 %17 } declare i32 @assert(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps82648o9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aux_cmp(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 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @assert(ptr noundef %7) %9 = load ptr, ptr %4, align 8 %10 = call i32 @assert(ptr noundef %9) %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %13, align 4 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %15, align 4 %17 = sub nsw i32 %14, %16 ret i32 %17 } declare i32 @assert(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaku_4iiu.c' source_filename = "/tmp/tmpaku_4iiu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_float() #0 { %1 = call i32 @gpio_set(i32 noundef 27, i32 noundef 1) %2 = call i32 @usleep(i32 noundef 320) %3 = call i32 @gpio_set(i32 noundef 27, i32 noundef 0) %4 = call i32 @usleep(i32 noundef 960) %5 = call i32 @gpio_set(i32 noundef 27, i32 noundef 1) %6 = call i32 @usleep(i32 noundef 960) %7 = call i32 @gpio_set(i32 noundef 27, i32 noundef 0) %8 = call i32 @usleep(i32 noundef 320) ret void } declare i32 @gpio_set(i32 noundef, i32 noundef) #1 declare i32 @usleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaku_4iiu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_float() #0 { %1 = call i32 @gpio_set(i32 noundef 27, i32 noundef 1) %2 = call i32 @usleep(i32 noundef 320) %3 = call i32 @gpio_set(i32 noundef 27, i32 noundef 0) %4 = call i32 @usleep(i32 noundef 960) %5 = call i32 @gpio_set(i32 noundef 27, i32 noundef 1) %6 = call i32 @usleep(i32 noundef 960) %7 = call i32 @gpio_set(i32 noundef 27, i32 noundef 0) %8 = call i32 @usleep(i32 noundef 320) ret void } declare i32 @gpio_set(i32 noundef, i32 noundef) #1 declare i32 @usleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxklh6975.c' source_filename = "/tmp/tmpxklh6975.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [1000 x i8], align 16 store i32 0, ptr %1, align 4 br label %4 4: ; preds = %8, %0 %5 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %6 = call i32 @get_line(ptr noundef %5, i32 noundef 1000) store i32 %6, ptr %2, align 4 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %4 %9 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @printf(ptr noundef @.str, ptr noundef %9) br label %4, !llvm.loop !6 11: ; preds = %4 %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i32 @get_line(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxklh6975.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [1000 x i8], align 16 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %5 = call i32 @get_line(ptr noundef %4, i32 noundef 1000) store i32 %5, ptr %2, align 4 %6 = icmp sgt i32 %5, 0 br i1 %6, label %.lr.ph, label %12 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %7 %8 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %8) %10 = call i32 @get_line(ptr noundef %4, i32 noundef 1000) store i32 %10, ptr %2, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %12 12: ; preds = %._crit_edge, %0 %13 = load i32, ptr %1, align 4 ret i32 %13 } declare i32 @get_line(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpizyj5g9c.c' source_filename = "/tmp/tmpizyj5g9c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dsp_start() #0 { %1 = call i32 (...) @q_create() %2 = call i32 (...) @consumer_create() ret void } declare i32 @q_create(...) #1 declare i32 @consumer_create(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpizyj5g9c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dsp_start() #0 { %1 = call i32 (...) @q_create() %2 = call i32 (...) @consumer_create() ret void } declare i32 @q_create(...) #1 declare i32 @consumer_create(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_o1dp_ur.c' source_filename = "/tmp/tmp_o1dp_ur.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"Describe: \00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @startDescribeFunVerbose(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stdout, align 4 %4 = call i32 @fputs(ptr noundef @.str, i32 noundef %3) %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr @stdout, align 4 %7 = call i32 @fputs(ptr noundef %5, i32 noundef %6) %8 = load i32, ptr @stdout, align 4 %9 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %8) %10 = load i32, ptr @stdout, align 4 %11 = call i32 @fflush(i32 noundef %10) ret void } declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i32 @fflush(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/tmp_o1dp_ur.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"Describe: \00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @startDescribeFunVerbose(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stdout, align 4 %4 = call i32 @fputs(ptr noundef @.str, i32 noundef %3) %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr @stdout, align 4 %7 = call i32 @fputs(ptr noundef %5, i32 noundef %6) %8 = load i32, ptr @stdout, align 4 %9 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %8) %10 = load i32, ptr @stdout, align 4 %11 = call i32 @fflush(i32 noundef %10) ret void } declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i32 @fflush(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/tmp289ytmts.c' source_filename = "/tmp/tmp289ytmts.c" target datalayout = "e-m:e-p270: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 { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_Screen_white_pixel(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i64 %5, ptr %7, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp289ytmts.c" target datalayout = "e-m:e-p270: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 { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_Screen_white_pixel(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i64 %5, ptr %7, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb_hz3t7b.c' source_filename = "/tmp/tmpb_hz3t7b.c" target datalayout = "e-m:e-p270: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/tmpb_hz3t7b.c" target datalayout = "e-m:e-p270: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/tmp0j7etpqz.c' source_filename = "/tmp/tmp0j7etpqz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %7 = load i32, ptr %2, align 4 %8 = icmp sle i32 %7, 2 br i1 %8, label %9, label %12 9: ; preds = %0 %10 = load i32, ptr %2, align 4 %11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10) br label %12 12: ; preds = %9, %0 %13 = load i32, ptr %2, align 4 store i32 %13, ptr %4, align 4 br label %14 14: ; preds = %21, %12 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %18, label %24 18: ; preds = %14 %19 = load i32, ptr %4, align 4 %20 = call i32 @check_prime(i32 noundef %19) br label %21 21: ; preds = %18 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 br label %14, !llvm.loop !6 24: ; preds = %14 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @check_prime(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/tmp0j7etpqz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %7 = load i32, ptr %2, align 4 %8 = icmp sle i32 %7, 2 br i1 %8, label %9, label %12 9: ; preds = %0 %10 = load i32, ptr %2, align 4 %11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10) br label %12 12: ; preds = %9, %0 %13 = load i32, ptr %2, align 4 store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp sle i32 %14, %15 br i1 %16, label %.lr.ph, label %26 .lr.ph: ; preds = %12 br label %17 17: ; preds = %.lr.ph, %20 %18 = load i32, ptr %4, align 4 %19 = call i32 @check_prime(i32 noundef %18) br label %20 20: ; preds = %17 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp sle i32 %23, %24 br i1 %25, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %12 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @check_prime(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/tmpmvj6jga0.c' source_filename = "/tmp/tmpmvj6jga0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [75 x i8] c"%sFind the minimum value in each of a set of intervals. The intervals are\0A\00", align 1 @.str.2 = private unnamed_addr constant [80 x i8] c"%sreplaced by infinity everywhere except at their single trough position. Ties\0A\00", align 1 @.str.3 = private unnamed_addr constant [76 x i8] c"%sare broken by the position nearest the center of the interval. Any bases\0A\00", align 1 @.str.4 = private unnamed_addr constant [56 x i8] c"%soutside the intervals are also replaced by infinity.\0A\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.6 = private unnamed_addr constant [34 x i8] c"%susage: %s <filename> [options]\0A\00", align 1 @.str.7 = private unnamed_addr constant [69 x i8] c"%s --origin=one input intervals are origin-one, closed\0A\00", align 1 @.str.8 = private unnamed_addr constant [73 x i8] c"%s --origin=zero input intervals are origin-zero, half-open\0A\00", align 1 @.str.9 = private unnamed_addr constant [55 x i8] c"%s --infinity=<value> value to fill non-minima\0A\00", align 1 @.str.10 = private unnamed_addr constant [48 x i8] c"%s (default is +inf)\0A\00", align 1 @.str.11 = private unnamed_addr constant [76 x i8] c"%sThe input intervals are required to be sorted along each chromosome, and\0A\00", align 1 @.str.12 = private unnamed_addr constant [20 x i8] c"%snon-overlapping)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @op_min_in_interval_usage(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %3 store ptr @.str, ptr %6, align 8 br label %10 10: ; preds = %9, %3 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %6, align 8 %13 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef @.str.1, ptr noundef %12) %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %6, align 8 %16 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str.2, ptr noundef %15) %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %6, align 8 %19 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str.3, ptr noundef %18) %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %6, align 8 %22 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef @.str.4, ptr noundef %21) %23 = load ptr, ptr %5, align 8 %24 = load ptr, ptr %6, align 8 %25 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef @.str.5, ptr noundef %24) %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %4, align 8 %29 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str.6, ptr noundef %27, ptr noundef %28) %30 = load ptr, ptr %5, align 8 %31 = load ptr, ptr %6, align 8 %32 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.7, ptr noundef %31) %33 = load ptr, ptr %5, align 8 %34 = load ptr, ptr %6, align 8 %35 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef @.str.8, ptr noundef %34) %36 = load ptr, ptr %5, align 8 %37 = load ptr, ptr %6, align 8 %38 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef @.str.9, ptr noundef %37) %39 = load ptr, ptr %5, align 8 %40 = load ptr, ptr %6, align 8 %41 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef @.str.10, ptr noundef %40) %42 = load ptr, ptr %5, align 8 %43 = load ptr, ptr %6, align 8 %44 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef @.str.5, ptr noundef %43) %45 = load ptr, ptr %5, align 8 %46 = load ptr, ptr %6, align 8 %47 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str.11, ptr noundef %46) %48 = load ptr, ptr %5, align 8 %49 = load ptr, ptr %6, align 8 %50 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.12, ptr noundef %49) ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmvj6jga0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [75 x i8] c"%sFind the minimum value in each of a set of intervals. The intervals are\0A\00", align 1 @.str.2 = private unnamed_addr constant [80 x i8] c"%sreplaced by infinity everywhere except at their single trough position. Ties\0A\00", align 1 @.str.3 = private unnamed_addr constant [76 x i8] c"%sare broken by the position nearest the center of the interval. Any bases\0A\00", align 1 @.str.4 = private unnamed_addr constant [56 x i8] c"%soutside the intervals are also replaced by infinity.\0A\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.6 = private unnamed_addr constant [34 x i8] c"%susage: %s <filename> [options]\0A\00", align 1 @.str.7 = private unnamed_addr constant [69 x i8] c"%s --origin=one input intervals are origin-one, closed\0A\00", align 1 @.str.8 = private unnamed_addr constant [73 x i8] c"%s --origin=zero input intervals are origin-zero, half-open\0A\00", align 1 @.str.9 = private unnamed_addr constant [55 x i8] c"%s --infinity=<value> value to fill non-minima\0A\00", align 1 @.str.10 = private unnamed_addr constant [48 x i8] c"%s (default is +inf)\0A\00", align 1 @.str.11 = private unnamed_addr constant [76 x i8] c"%sThe input intervals are required to be sorted along each chromosome, and\0A\00", align 1 @.str.12 = private unnamed_addr constant [20 x i8] c"%snon-overlapping)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @op_min_in_interval_usage(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %3 store ptr @.str, ptr %6, align 8 br label %10 10: ; preds = %9, %3 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %6, align 8 %13 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef @.str.1, ptr noundef %12) %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %6, align 8 %16 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str.2, ptr noundef %15) %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %6, align 8 %19 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str.3, ptr noundef %18) %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %6, align 8 %22 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef @.str.4, ptr noundef %21) %23 = load ptr, ptr %5, align 8 %24 = load ptr, ptr %6, align 8 %25 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef @.str.5, ptr noundef %24) %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %4, align 8 %29 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str.6, ptr noundef %27, ptr noundef %28) %30 = load ptr, ptr %5, align 8 %31 = load ptr, ptr %6, align 8 %32 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.7, ptr noundef %31) %33 = load ptr, ptr %5, align 8 %34 = load ptr, ptr %6, align 8 %35 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef @.str.8, ptr noundef %34) %36 = load ptr, ptr %5, align 8 %37 = load ptr, ptr %6, align 8 %38 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef @.str.9, ptr noundef %37) %39 = load ptr, ptr %5, align 8 %40 = load ptr, ptr %6, align 8 %41 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef @.str.10, ptr noundef %40) %42 = load ptr, ptr %5, align 8 %43 = load ptr, ptr %6, align 8 %44 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef @.str.5, ptr noundef %43) %45 = load ptr, ptr %5, align 8 %46 = load ptr, ptr %6, align 8 %47 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str.11, ptr noundef %46) %48 = load ptr, ptr %5, align 8 %49 = load ptr, ptr %6, align 8 %50 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.12, ptr noundef %49) ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps5lb9ucl.c' source_filename = "/tmp/tmps5lb9ucl.c" target datalayout = "e-m:e-p270: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_XFontStruct_max_byte1(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/tmps5lb9ucl.c" target datalayout = "e-m:e-p270: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_XFontStruct_max_byte1(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/tmp0tzs6w_f.c' source_filename = "/tmp/tmp0tzs6w_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Event file: \00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c" %255s\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Node file: \00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"Track file: \00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"Course file: \00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"Entrant file: \00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [256 x i8], align 16 %7 = alloca [256 x i8], align 16 %8 = alloca [256 x i8], align 16 %9 = alloca [256 x i8], align 16 %10 = alloca [256 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 @printf(ptr noundef @.str) %12 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %12) %14 = call i32 @printf(ptr noundef @.str.2) %15 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %16 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %15) %17 = call i32 @printf(ptr noundef @.str.3) %18 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %18) %20 = call i32 @printf(ptr noundef @.str.4) %21 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %22 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %21) %23 = call i32 @printf(ptr noundef @.str.5) %24 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %25 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %24) %26 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %27 = call i32 @read_event_file(ptr noundef %26) %28 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %29 = call i32 @read_node_file(ptr noundef %28) %30 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %31 = call i32 @read_track_file(ptr noundef %30) %32 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %33 = call i32 @read_course_file(ptr noundef %32) %34 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %35 = call i32 @read_entrant_file(ptr noundef %34) %36 = call i32 (...) @menu() %37 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %37 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @read_event_file(ptr noundef) #1 declare i32 @read_node_file(ptr noundef) #1 declare i32 @read_track_file(ptr noundef) #1 declare i32 @read_course_file(ptr noundef) #1 declare i32 @read_entrant_file(ptr noundef) #1 declare i32 @menu(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0tzs6w_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Event file: \00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c" %255s\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Node file: \00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"Track file: \00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"Course file: \00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"Entrant file: \00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [256 x i8], align 16 %7 = alloca [256 x i8], align 16 %8 = alloca [256 x i8], align 16 %9 = alloca [256 x i8], align 16 %10 = alloca [256 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 @printf(ptr noundef @.str) %12 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %12) %14 = call i32 @printf(ptr noundef @.str.2) %15 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %16 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %15) %17 = call i32 @printf(ptr noundef @.str.3) %18 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %18) %20 = call i32 @printf(ptr noundef @.str.4) %21 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %22 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %21) %23 = call i32 @printf(ptr noundef @.str.5) %24 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %25 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %24) %26 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %27 = call i32 @read_event_file(ptr noundef %26) %28 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %29 = call i32 @read_node_file(ptr noundef %28) %30 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %31 = call i32 @read_track_file(ptr noundef %30) %32 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %33 = call i32 @read_course_file(ptr noundef %32) %34 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %35 = call i32 @read_entrant_file(ptr noundef %34) %36 = call i32 (...) @menu() %37 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %37 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @read_event_file(ptr noundef) #1 declare i32 @read_node_file(ptr noundef) #1 declare i32 @read_track_file(ptr noundef) #1 declare i32 @read_course_file(ptr noundef) #1 declare i32 @read_entrant_file(ptr noundef) #1 declare i32 @menu(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxud2wab5.c' source_filename = "/tmp/tmpxud2wab5.c" target datalayout = "e-m:e-p270: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/tmpxud2wab5.c" target datalayout = "e-m:e-p270: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/tmpjmcvfzt2.c' source_filename = "/tmp/tmpjmcvfzt2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @community_deleteAllCommunities() #0 { %1 = call signext i16 (...) @msdb_communityPurge() ret i16 %1 } declare signext i16 @msdb_communityPurge(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjmcvfzt2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @community_deleteAllCommunities() #0 { %1 = call signext i16 (...) @msdb_communityPurge() ret i16 %1 } declare signext i16 @msdb_communityPurge(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6kd_4ras.c' source_filename = "/tmp/tmp6kd_4ras.c" target datalayout = "e-m:e-p270: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.termios = type { i32 } @.str = private unnamed_addr constant [17 x i8] c"TCGETS = 0x%08x\0A\00", align 1 @TCGETS = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"sizeof(struct termios) = %ld\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"ioctl\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"ioctl returned %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.termios, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr @TCGETS, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = call i32 @printf(ptr noundef @.str.1, i32 noundef 4) %11 = load i32, ptr @stdout, align 4 %12 = call i32 @fileno(i32 noundef %11) %13 = load i32, ptr @TCGETS, align 4 %14 = call i32 @ioctl(i32 noundef %12, i32 noundef %13, ptr noundef %6) store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %2 %18 = call i32 @perror(ptr noundef @.str.2) br label %22 19: ; preds = %2 %20 = load i32, ptr %7, align 4 %21 = call i32 @printf(ptr noundef @.str.3, i32 noundef %20) br label %22 22: ; preds = %19, %17 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fileno(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6kd_4ras.c" target datalayout = "e-m:e-p270: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.termios = type { i32 } @.str = private unnamed_addr constant [17 x i8] c"TCGETS = 0x%08x\0A\00", align 1 @TCGETS = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"sizeof(struct termios) = %ld\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"ioctl\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"ioctl returned %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.termios, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr @TCGETS, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = call i32 @printf(ptr noundef @.str.1, i32 noundef 4) %11 = load i32, ptr @stdout, align 4 %12 = call i32 @fileno(i32 noundef %11) %13 = load i32, ptr @TCGETS, align 4 %14 = call i32 @ioctl(i32 noundef %12, i32 noundef %13, ptr noundef %6) store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %2 %18 = call i32 @perror(ptr noundef @.str.2) br label %22 19: ; preds = %2 %20 = load i32, ptr %7, align 4 %21 = call i32 @printf(ptr noundef @.str.3, i32 noundef %20) br label %22 22: ; preds = %19, %17 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fileno(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpis2_06u0.c' source_filename = "/tmp/tmpis2_06u0.c" target datalayout = "e-m:e-p270: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/tmpis2_06u0.c" target datalayout = "e-m:e-p270: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_40aivao.c' source_filename = "/tmp/tmp_40aivao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_40aivao.c" target datalayout = "e-m:e-p270: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"}