llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp1q7vj6n9.c' source_filename = "/tmp/tmp1q7vj6n9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr = type { i32 } %struct.sockaddr_in = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } %struct.sockaddr_in6 = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ls_sockaddr_cmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %18 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %17 16: ; preds = %13 store i32 0, ptr %3, align 4 br label %88 17: ; preds = %13 store i32 -1, ptr %3, align 4 br label %88 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %22 21: ; preds = %18 store i32 1, ptr %3, align 4 br label %88 22: ; preds = %18 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds %struct.sockaddr, ptr %23, i32 0, i32 0 %25 = load i32, ptr %24, align 4 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds %struct.sockaddr, ptr %26, i32 0, i32 0 %28 = load i32, ptr %27, align 4 %29 = sub nsw i32 %25, %28 store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %22 %33 = load i32, ptr %6, align 4 store i32 %33, ptr %3, align 4 br label %88 34: ; preds = %22 %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds %struct.sockaddr, ptr %35, i32 0, i32 0 %37 = load i32, ptr %36, align 4 switch i32 %37, label %86 [ i32 129, label %38 i32 128, label %64 ] 38: ; preds = %34 %39 = load ptr, ptr %4, align 8 store ptr %39, ptr %7, align 8 %40 = load ptr, ptr %5, align 8 store ptr %40, ptr %8, align 8 %41 = load ptr, ptr %7, align 8 %42 = getelementptr inbounds %struct.sockaddr_in, ptr %41, i32 0, i32 1 %43 = getelementptr inbounds %struct.TYPE_2__, ptr %42, i32 0, i32 0 %44 = load i32, ptr %43, align 4 %45 = load ptr, ptr %8, align 8 %46 = getelementptr inbounds %struct.sockaddr_in, ptr %45, i32 0, i32 1 %47 = getelementptr inbounds %struct.TYPE_2__, ptr %46, i32 0, i32 0 %48 = load i32, ptr %47, align 4 %49 = sub nsw i32 %44, %48 store i32 %49, ptr %6, align 4 %50 = load i32, ptr %6, align 4 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %54 52: ; preds = %38 %53 = load i32, ptr %6, align 4 store i32 %53, ptr %3, align 4 br label %88 54: ; preds = %38 %55 = load ptr, ptr %7, align 8 %56 = getelementptr inbounds %struct.sockaddr_in, ptr %55, i32 0, i32 0 %57 = load i32, ptr %56, align 4 %58 = call i32 @ntohs(i32 noundef %57) %59 = load ptr, ptr %8, align 8 %60 = getelementptr inbounds %struct.sockaddr_in, ptr %59, i32 0, i32 0 %61 = load i32, ptr %60, align 4 %62 = call i32 @ntohs(i32 noundef %61) %63 = sub nsw i32 %58, %62 store i32 %63, ptr %3, align 4 br label %88 64: ; preds = %34 %65 = load ptr, ptr %4, align 8 store ptr %65, ptr %9, align 8 %66 = load ptr, ptr %5, align 8 store ptr %66, ptr %10, align 8 %67 = load ptr, ptr %9, align 8 %68 = getelementptr inbounds %struct.sockaddr_in6, ptr %67, i32 0, i32 1 %69 = load ptr, ptr %10, align 8 %70 = getelementptr inbounds %struct.sockaddr_in6, ptr %69, i32 0, i32 1 %71 = call i32 @ls_addr_cmp6(ptr noundef %68, ptr noundef %70) store i32 %71, ptr %6, align 4 %72 = load i32, ptr %6, align 4 %73 = icmp ne i32 %72, 0 br i1 %73, label %74, label %76 74: ; preds = %64 %75 = load i32, ptr %6, align 4 store i32 %75, ptr %3, align 4 br label %88 76: ; preds = %64 %77 = load ptr, ptr %9, align 8 %78 = getelementptr inbounds %struct.sockaddr_in6, ptr %77, i32 0, i32 0 %79 = load i32, ptr %78, align 4 %80 = call i32 @ntohs(i32 noundef %79) %81 = load ptr, ptr %10, align 8 %82 = getelementptr inbounds %struct.sockaddr_in6, ptr %81, i32 0, i32 0 %83 = load i32, ptr %82, align 4 %84 = call i32 @ntohs(i32 noundef %83) %85 = sub nsw i32 %80, %84 store i32 %85, ptr %3, align 4 br label %88 86: ; preds = %34 br label %87 87: ; preds = %86 store i32 0, ptr %3, align 4 br label %88 88: ; preds = %87, %76, %74, %54, %52, %32, %21, %17, %16 %89 = load i32, ptr %3, align 4 ret i32 %89 } declare i32 @ntohs(i32 noundef) #1 declare i32 @ls_addr_cmp6(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/tmp1q7vj6n9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr = type { i32 } %struct.sockaddr_in = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } %struct.sockaddr_in6 = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ls_sockaddr_cmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %18 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %17 16: ; preds = %13 store i32 0, ptr %3, align 4 br label %88 17: ; preds = %13 store i32 -1, ptr %3, align 4 br label %88 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %22 21: ; preds = %18 store i32 1, ptr %3, align 4 br label %88 22: ; preds = %18 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds %struct.sockaddr, ptr %23, i32 0, i32 0 %25 = load i32, ptr %24, align 4 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds %struct.sockaddr, ptr %26, i32 0, i32 0 %28 = load i32, ptr %27, align 4 %29 = sub nsw i32 %25, %28 store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %22 %33 = load i32, ptr %6, align 4 store i32 %33, ptr %3, align 4 br label %88 34: ; preds = %22 %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds %struct.sockaddr, ptr %35, i32 0, i32 0 %37 = load i32, ptr %36, align 4 switch i32 %37, label %86 [ i32 129, label %38 i32 128, label %64 ] 38: ; preds = %34 %39 = load ptr, ptr %4, align 8 store ptr %39, ptr %7, align 8 %40 = load ptr, ptr %5, align 8 store ptr %40, ptr %8, align 8 %41 = load ptr, ptr %7, align 8 %42 = getelementptr inbounds %struct.sockaddr_in, ptr %41, i32 0, i32 1 %43 = getelementptr inbounds %struct.TYPE_2__, ptr %42, i32 0, i32 0 %44 = load i32, ptr %43, align 4 %45 = load ptr, ptr %8, align 8 %46 = getelementptr inbounds %struct.sockaddr_in, ptr %45, i32 0, i32 1 %47 = getelementptr inbounds %struct.TYPE_2__, ptr %46, i32 0, i32 0 %48 = load i32, ptr %47, align 4 %49 = sub nsw i32 %44, %48 store i32 %49, ptr %6, align 4 %50 = load i32, ptr %6, align 4 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %54 52: ; preds = %38 %53 = load i32, ptr %6, align 4 store i32 %53, ptr %3, align 4 br label %88 54: ; preds = %38 %55 = load ptr, ptr %7, align 8 %56 = getelementptr inbounds %struct.sockaddr_in, ptr %55, i32 0, i32 0 %57 = load i32, ptr %56, align 4 %58 = call i32 @ntohs(i32 noundef %57) %59 = load ptr, ptr %8, align 8 %60 = getelementptr inbounds %struct.sockaddr_in, ptr %59, i32 0, i32 0 %61 = load i32, ptr %60, align 4 %62 = call i32 @ntohs(i32 noundef %61) %63 = sub nsw i32 %58, %62 store i32 %63, ptr %3, align 4 br label %88 64: ; preds = %34 %65 = load ptr, ptr %4, align 8 store ptr %65, ptr %9, align 8 %66 = load ptr, ptr %5, align 8 store ptr %66, ptr %10, align 8 %67 = load ptr, ptr %9, align 8 %68 = getelementptr inbounds %struct.sockaddr_in6, ptr %67, i32 0, i32 1 %69 = load ptr, ptr %10, align 8 %70 = getelementptr inbounds %struct.sockaddr_in6, ptr %69, i32 0, i32 1 %71 = call i32 @ls_addr_cmp6(ptr noundef %68, ptr noundef %70) store i32 %71, ptr %6, align 4 %72 = load i32, ptr %6, align 4 %73 = icmp ne i32 %72, 0 br i1 %73, label %74, label %76 74: ; preds = %64 %75 = load i32, ptr %6, align 4 store i32 %75, ptr %3, align 4 br label %88 76: ; preds = %64 %77 = load ptr, ptr %9, align 8 %78 = getelementptr inbounds %struct.sockaddr_in6, ptr %77, i32 0, i32 0 %79 = load i32, ptr %78, align 4 %80 = call i32 @ntohs(i32 noundef %79) %81 = load ptr, ptr %10, align 8 %82 = getelementptr inbounds %struct.sockaddr_in6, ptr %81, i32 0, i32 0 %83 = load i32, ptr %82, align 4 %84 = call i32 @ntohs(i32 noundef %83) %85 = sub nsw i32 %80, %84 store i32 %85, ptr %3, align 4 br label %88 86: ; preds = %34 br label %87 87: ; preds = %86 store i32 0, ptr %3, align 4 br label %88 88: ; preds = %87, %76, %74, %54, %52, %32, %21, %17, %16 %89 = load i32, ptr %3, align 4 ret i32 %89 } declare i32 @ntohs(i32 noundef) #1 declare i32 @ls_addr_cmp6(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/tmpgd_hmikh.c' source_filename = "/tmp/tmpgd_hmikh.c" target datalayout = "e-m:e-p270: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/tmpgd_hmikh.c" target datalayout = "e-m:e-p270: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/tmpl8lpp_rx.c' source_filename = "/tmp/tmpl8lpp_rx.c" target datalayout = "e-m:e-p270: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/tmpl8lpp_rx.c" target datalayout = "e-m:e-p270: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/tmpx1s8g54m.c' source_filename = "/tmp/tmpx1s8g54m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"</blockquote>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Footer_ism3() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx1s8g54m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"</blockquote>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Footer_ism3() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9kspxuh8.c' source_filename = "/tmp/tmp9kspxuh8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"enters scoreplay\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"exits scoreplay\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @scoreplay(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 %5 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %6 6: ; preds = %245, %1 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 7 br i1 %8, label %9, label %248 9: ; preds = %6 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 81 br i1 %16, label %25, label %17 17: ; preds = %9 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 90 br i1 %24, label %25, label %28 25: ; preds = %17, %9 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 10 store i32 %27, ptr %3, align 4 br label %244 28: ; preds = %17 %29 = load ptr, ptr %2, align 8 %30 = load i32, ptr %4, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 74 br i1 %35, label %44, label %36 36: ; preds = %28 %37 = load ptr, ptr %2, align 8 %38 = load i32, ptr %4, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 88 br i1 %43, label %44, label %47 44: ; preds = %36, %28 %45 = load i32, ptr %3, align 4 %46 = add nsw i32 %45, 8 store i32 %46, ptr %3, align 4 br label %243 47: ; preds = %36 %48 = load ptr, ptr %2, align 8 %49 = load i32, ptr %4, align 4 %50 = sext 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, 75 br i1 %54, label %55, label %58 55: ; preds = %47 %56 = load i32, ptr %3, align 4 %57 = add nsw i32 %56, 5 store i32 %57, ptr %3, align 4 br label %242 58: ; preds = %47 %59 = load ptr, ptr %2, align 8 %60 = load i32, ptr %4, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = icmp eq i32 %64, 70 br i1 %65, label %98, label %66 66: ; preds = %58 %67 = load ptr, ptr %2, align 8 %68 = load i32, ptr %4, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %67, i64 %69 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = icmp eq i32 %72, 72 br i1 %73, label %98, label %74 74: ; preds = %66 %75 = load ptr, ptr %2, align 8 %76 = load i32, ptr %4, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 %79 = load i8, ptr %78, align 1 %80 = sext i8 %79 to i32 %81 = icmp eq i32 %80, 86 br i1 %81, label %98, label %82 82: ; preds = %74 %83 = load ptr, ptr %2, align 8 %84 = load i32, ptr %4, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i8, ptr %83, i64 %85 %87 = load i8, ptr %86, align 1 %88 = sext i8 %87 to i32 %89 = icmp eq i32 %88, 87 br i1 %89, label %98, label %90 90: ; preds = %82 %91 = load ptr, ptr %2, align 8 %92 = load i32, ptr %4, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i8, ptr %91, i64 %93 %95 = load i8, ptr %94, align 1 %96 = sext i8 %95 to i32 %97 = icmp eq i32 %96, 89 br i1 %97, label %98, label %101 98: ; preds = %90, %82, %74, %66, %58 %99 = load i32, ptr %3, align 4 %100 = add nsw i32 %99, 4 store i32 %100, ptr %3, align 4 br label %241 101: ; preds = %90 %102 = load ptr, ptr %2, align 8 %103 = load i32, ptr %4, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i8, ptr %102, i64 %104 %106 = load i8, ptr %105, align 1 %107 = sext i8 %106 to i32 %108 = icmp eq i32 %107, 66 br i1 %108, label %133, label %109 109: ; preds = %101 %110 = load ptr, ptr %2, align 8 %111 = load i32, ptr %4, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i8, ptr %110, i64 %112 %114 = load i8, ptr %113, align 1 %115 = sext i8 %114 to i32 %116 = icmp eq i32 %115, 67 br i1 %116, label %133, label %117 117: ; preds = %109 %118 = load ptr, ptr %2, align 8 %119 = load i32, ptr %4, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i8, ptr %118, i64 %120 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = icmp eq i32 %123, 77 br i1 %124, label %133, label %125 125: ; preds = %117 %126 = load ptr, ptr %2, align 8 %127 = load i32, ptr %4, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds i8, ptr %126, i64 %128 %130 = load i8, ptr %129, align 1 %131 = sext i8 %130 to i32 %132 = icmp eq i32 %131, 80 br i1 %132, label %133, label %136 133: ; preds = %125, %117, %109, %101 %134 = load i32, ptr %3, align 4 %135 = add nsw i32 %134, 3 store i32 %135, ptr %3, align 4 br label %240 136: ; preds = %125 %137 = load ptr, ptr %2, align 8 %138 = load i32, ptr %4, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds i8, ptr %137, i64 %139 %141 = load i8, ptr %140, align 1 %142 = sext i8 %141 to i32 %143 = icmp eq i32 %142, 68 br i1 %143, label %152, label %144 144: ; preds = %136 %145 = load ptr, ptr %2, align 8 %146 = load i32, ptr %4, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds i8, ptr %145, i64 %147 %149 = load i8, ptr %148, align 1 %150 = sext i8 %149 to i32 %151 = icmp eq i32 %150, 71 br i1 %151, label %152, label %155 152: ; preds = %144, %136 %153 = load i32, ptr %3, align 4 %154 = add nsw i32 %153, 2 store i32 %154, ptr %3, align 4 br label %239 155: ; preds = %144 %156 = load ptr, ptr %2, align 8 %157 = load i32, ptr %4, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds i8, ptr %156, i64 %158 %160 = load i8, ptr %159, align 1 %161 = sext i8 %160 to i32 %162 = icmp eq i32 %161, 69 br i1 %162, label %235, label %163 163: ; preds = %155 %164 = load ptr, ptr %2, align 8 %165 = load i32, ptr %4, align 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds i8, ptr %164, i64 %166 %168 = load i8, ptr %167, align 1 %169 = sext i8 %168 to i32 %170 = icmp eq i32 %169, 65 br i1 %170, label %235, label %171 171: ; preds = %163 %172 = load ptr, ptr %2, align 8 %173 = load i32, ptr %4, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds i8, ptr %172, i64 %174 %176 = load i8, ptr %175, align 1 %177 = sext i8 %176 to i32 %178 = icmp eq i32 %177, 73 br i1 %178, label %235, label %179 179: ; preds = %171 %180 = load ptr, ptr %2, align 8 %181 = load i32, ptr %4, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds i8, ptr %180, i64 %182 %184 = load i8, ptr %183, align 1 %185 = sext i8 %184 to i32 %186 = icmp eq i32 %185, 79 br i1 %186, label %235, label %187 187: ; preds = %179 %188 = load ptr, ptr %2, align 8 %189 = load i32, ptr %4, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds i8, ptr %188, i64 %190 %192 = load i8, ptr %191, align 1 %193 = sext i8 %192 to i32 %194 = icmp eq i32 %193, 78 br i1 %194, label %235, label %195 195: ; preds = %187 %196 = load ptr, ptr %2, align 8 %197 = load i32, ptr %4, align 4 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds i8, ptr %196, i64 %198 %200 = load i8, ptr %199, align 1 %201 = sext i8 %200 to i32 %202 = icmp eq i32 %201, 82 br i1 %202, label %235, label %203 203: ; preds = %195 %204 = load ptr, ptr %2, align 8 %205 = load i32, ptr %4, align 4 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds i8, ptr %204, i64 %206 %208 = load i8, ptr %207, align 1 %209 = sext i8 %208 to i32 %210 = icmp eq i32 %209, 84 br i1 %210, label %235, label %211 211: ; preds = %203 %212 = load ptr, ptr %2, align 8 %213 = load i32, ptr %4, align 4 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds i8, ptr %212, i64 %214 %216 = load i8, ptr %215, align 1 %217 = sext i8 %216 to i32 %218 = icmp eq i32 %217, 76 br i1 %218, label %235, label %219 219: ; preds = %211 %220 = load ptr, ptr %2, align 8 %221 = load i32, ptr %4, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds i8, ptr %220, i64 %222 %224 = load i8, ptr %223, align 1 %225 = sext i8 %224 to i32 %226 = icmp eq i32 %225, 83 br i1 %226, label %235, label %227 227: ; preds = %219 %228 = load ptr, ptr %2, align 8 %229 = load i32, ptr %4, align 4 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds i8, ptr %228, i64 %230 %232 = load i8, ptr %231, align 1 %233 = sext i8 %232 to i32 %234 = icmp eq i32 %233, 85 br i1 %234, label %235, label %238 235: ; preds = %227, %219, %211, %203, %195, %187, %179, %171, %163, %155 %236 = load i32, ptr %3, align 4 %237 = add nsw i32 %236, 1 store i32 %237, ptr %3, align 4 br label %238 238: ; preds = %235, %227 br label %239 239: ; preds = %238, %152 br label %240 240: ; preds = %239, %133 br label %241 241: ; preds = %240, %98 br label %242 242: ; preds = %241, %55 br label %243 243: ; preds = %242, %44 br label %244 244: ; preds = %243, %25 br label %245 245: ; preds = %244 %246 = load i32, ptr %4, align 4 %247 = add nsw i32 %246, 1 store i32 %247, ptr %4, align 4 br label %6, !llvm.loop !6 248: ; preds = %6 %249 = call i32 @printf(ptr noundef @.str.1) %250 = load i32, ptr %3, align 4 ret i32 %250 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9kspxuh8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"enters scoreplay\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"exits scoreplay\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @scoreplay(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 %5 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 7 br i1 %7, label %.lr.ph, label %249 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %244 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 81 br i1 %15, label %24, label %16 16: ; preds = %8 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 90 br i1 %23, label %24, label %27 24: ; preds = %16, %8 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 10 store i32 %26, ptr %3, align 4 br label %243 27: ; preds = %16 %28 = load ptr, ptr %2, align 8 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 74 br i1 %34, label %43, label %35 35: ; preds = %27 %36 = load ptr, ptr %2, align 8 %37 = load i32, ptr %4, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 88 br i1 %42, label %43, label %46 43: ; preds = %35, %27 %44 = load i32, ptr %3, align 4 %45 = add nsw i32 %44, 8 store i32 %45, ptr %3, align 4 br label %242 46: ; preds = %35 %47 = load ptr, ptr %2, align 8 %48 = load i32, ptr %4, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp eq i32 %52, 75 br i1 %53, label %54, label %57 54: ; preds = %46 %55 = load i32, ptr %3, align 4 %56 = add nsw i32 %55, 5 store i32 %56, ptr %3, align 4 br label %241 57: ; preds = %46 %58 = load ptr, ptr %2, align 8 %59 = load i32, ptr %4, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %63, 70 br i1 %64, label %97, label %65 65: ; preds = %57 %66 = load ptr, ptr %2, align 8 %67 = load i32, ptr %4, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %66, i64 %68 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 %72 = icmp eq i32 %71, 72 br i1 %72, label %97, label %73 73: ; preds = %65 %74 = load ptr, ptr %2, align 8 %75 = load i32, ptr %4, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %74, i64 %76 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = icmp eq i32 %79, 86 br i1 %80, label %97, label %81 81: ; preds = %73 %82 = load ptr, ptr %2, align 8 %83 = load i32, ptr %4, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %82, i64 %84 %86 = load i8, ptr %85, align 1 %87 = sext i8 %86 to i32 %88 = icmp eq i32 %87, 87 br i1 %88, label %97, label %89 89: ; preds = %81 %90 = load ptr, ptr %2, align 8 %91 = load i32, ptr %4, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i8, ptr %90, i64 %92 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = icmp eq i32 %95, 89 br i1 %96, label %97, label %100 97: ; preds = %89, %81, %73, %65, %57 %98 = load i32, ptr %3, align 4 %99 = add nsw i32 %98, 4 store i32 %99, ptr %3, align 4 br label %240 100: ; preds = %89 %101 = load ptr, ptr %2, align 8 %102 = load i32, ptr %4, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i8, ptr %101, i64 %103 %105 = load i8, ptr %104, align 1 %106 = sext i8 %105 to i32 %107 = icmp eq i32 %106, 66 br i1 %107, label %132, label %108 108: ; preds = %100 %109 = load ptr, ptr %2, align 8 %110 = load i32, ptr %4, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds i8, ptr %109, i64 %111 %113 = load i8, ptr %112, align 1 %114 = sext i8 %113 to i32 %115 = icmp eq i32 %114, 67 br i1 %115, label %132, label %116 116: ; preds = %108 %117 = load ptr, ptr %2, align 8 %118 = load i32, ptr %4, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds i8, ptr %117, i64 %119 %121 = load i8, ptr %120, align 1 %122 = sext i8 %121 to i32 %123 = icmp eq i32 %122, 77 br i1 %123, label %132, label %124 124: ; preds = %116 %125 = load ptr, ptr %2, align 8 %126 = load i32, ptr %4, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i8, ptr %125, i64 %127 %129 = load i8, ptr %128, align 1 %130 = sext i8 %129 to i32 %131 = icmp eq i32 %130, 80 br i1 %131, label %132, label %135 132: ; preds = %124, %116, %108, %100 %133 = load i32, ptr %3, align 4 %134 = add nsw i32 %133, 3 store i32 %134, ptr %3, align 4 br label %239 135: ; preds = %124 %136 = load ptr, ptr %2, align 8 %137 = load i32, ptr %4, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds i8, ptr %136, i64 %138 %140 = load i8, ptr %139, align 1 %141 = sext i8 %140 to i32 %142 = icmp eq i32 %141, 68 br i1 %142, label %151, label %143 143: ; preds = %135 %144 = load ptr, ptr %2, align 8 %145 = load i32, ptr %4, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds i8, ptr %144, i64 %146 %148 = load i8, ptr %147, align 1 %149 = sext i8 %148 to i32 %150 = icmp eq i32 %149, 71 br i1 %150, label %151, label %154 151: ; preds = %143, %135 %152 = load i32, ptr %3, align 4 %153 = add nsw i32 %152, 2 store i32 %153, ptr %3, align 4 br label %238 154: ; preds = %143 %155 = load ptr, ptr %2, align 8 %156 = load i32, ptr %4, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds i8, ptr %155, i64 %157 %159 = load i8, ptr %158, align 1 %160 = sext i8 %159 to i32 %161 = icmp eq i32 %160, 69 br i1 %161, label %234, label %162 162: ; preds = %154 %163 = load ptr, ptr %2, align 8 %164 = load i32, ptr %4, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds i8, ptr %163, i64 %165 %167 = load i8, ptr %166, align 1 %168 = sext i8 %167 to i32 %169 = icmp eq i32 %168, 65 br i1 %169, label %234, label %170 170: ; preds = %162 %171 = load ptr, ptr %2, align 8 %172 = load i32, ptr %4, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds i8, ptr %171, i64 %173 %175 = load i8, ptr %174, align 1 %176 = sext i8 %175 to i32 %177 = icmp eq i32 %176, 73 br i1 %177, label %234, label %178 178: ; preds = %170 %179 = load ptr, ptr %2, align 8 %180 = load i32, ptr %4, align 4 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds i8, ptr %179, i64 %181 %183 = load i8, ptr %182, align 1 %184 = sext i8 %183 to i32 %185 = icmp eq i32 %184, 79 br i1 %185, label %234, label %186 186: ; preds = %178 %187 = load ptr, ptr %2, align 8 %188 = load i32, ptr %4, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds i8, ptr %187, i64 %189 %191 = load i8, ptr %190, align 1 %192 = sext i8 %191 to i32 %193 = icmp eq i32 %192, 78 br i1 %193, label %234, label %194 194: ; preds = %186 %195 = load ptr, ptr %2, align 8 %196 = load i32, ptr %4, align 4 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds i8, ptr %195, i64 %197 %199 = load i8, ptr %198, align 1 %200 = sext i8 %199 to i32 %201 = icmp eq i32 %200, 82 br i1 %201, label %234, label %202 202: ; preds = %194 %203 = load ptr, ptr %2, align 8 %204 = load i32, ptr %4, align 4 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds i8, ptr %203, i64 %205 %207 = load i8, ptr %206, align 1 %208 = sext i8 %207 to i32 %209 = icmp eq i32 %208, 84 br i1 %209, label %234, label %210 210: ; preds = %202 %211 = load ptr, ptr %2, align 8 %212 = load i32, ptr %4, align 4 %213 = sext i32 %212 to i64 %214 = getelementptr inbounds i8, ptr %211, i64 %213 %215 = load i8, ptr %214, align 1 %216 = sext i8 %215 to i32 %217 = icmp eq i32 %216, 76 br i1 %217, label %234, label %218 218: ; preds = %210 %219 = load ptr, ptr %2, align 8 %220 = load i32, ptr %4, align 4 %221 = sext i32 %220 to i64 %222 = getelementptr inbounds i8, ptr %219, i64 %221 %223 = load i8, ptr %222, align 1 %224 = sext i8 %223 to i32 %225 = icmp eq i32 %224, 83 br i1 %225, label %234, label %226 226: ; preds = %218 %227 = load ptr, ptr %2, align 8 %228 = load i32, ptr %4, align 4 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds i8, ptr %227, i64 %229 %231 = load i8, ptr %230, align 1 %232 = sext i8 %231 to i32 %233 = icmp eq i32 %232, 85 br i1 %233, label %234, label %237 234: ; preds = %226, %218, %210, %202, %194, %186, %178, %170, %162, %154 %235 = load i32, ptr %3, align 4 %236 = add nsw i32 %235, 1 store i32 %236, ptr %3, align 4 br label %237 237: ; preds = %234, %226 br label %238 238: ; preds = %237, %151 br label %239 239: ; preds = %238, %132 br label %240 240: ; preds = %239, %97 br label %241 241: ; preds = %240, %54 br label %242 242: ; preds = %241, %43 br label %243 243: ; preds = %242, %24 br label %244 244: ; preds = %243 %245 = load i32, ptr %4, align 4 %246 = add nsw i32 %245, 1 store i32 %246, ptr %4, align 4 %247 = load i32, ptr %4, align 4 %248 = icmp slt i32 %247, 7 br i1 %248, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %244 br label %249 249: ; preds = %._crit_edge, %1 %250 = call i32 @printf(ptr noundef @.str.1) %251 = load i32, ptr %3, align 4 ret i32 %251 } 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"}
; ModuleID = '/tmp/tmpn7j6c6we.c' source_filename = "/tmp/tmpn7j6c6we.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @benchmark() #0 { %1 = alloca i32, align 4 store volatile i32 0, ptr %1, align 4 %2 = load volatile i32, ptr %1, align 4 %3 = call i32 @swi10(i32 noundef %2) store volatile i32 %3, ptr %1, align 4 %4 = load volatile i32, ptr %1, align 4 %5 = call i32 @swi50(i32 noundef %4) store volatile i32 %5, ptr %1, align 4 %6 = load volatile i32, ptr %1, align 4 %7 = call i32 @swi120(i32 noundef %6) store volatile i32 %7, ptr %1, align 4 %8 = load volatile i32, ptr %1, align 4 ret i32 %8 } declare i32 @swi10(i32 noundef) #1 declare i32 @swi50(i32 noundef) #1 declare i32 @swi120(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/tmpn7j6c6we.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @benchmark() #0 { %1 = alloca i32, align 4 store volatile i32 0, ptr %1, align 4 %2 = load volatile i32, ptr %1, align 4 %3 = call i32 @swi10(i32 noundef %2) store volatile i32 %3, ptr %1, align 4 %4 = load volatile i32, ptr %1, align 4 %5 = call i32 @swi50(i32 noundef %4) store volatile i32 %5, ptr %1, align 4 %6 = load volatile i32, ptr %1, align 4 %7 = call i32 @swi120(i32 noundef %6) store volatile i32 %7, ptr %1, align 4 %8 = load volatile i32, ptr %1, align 4 ret i32 %8 } declare i32 @swi10(i32 noundef) #1 declare i32 @swi50(i32 noundef) #1 declare i32 @swi120(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/tmpf01348dx.c' source_filename = "/tmp/tmpf01348dx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"YyNn\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_chchk(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 i64 @strchr(ptr noundef @.str, i32 noundef %3) %5 = icmp ne i64 %4, 0 %6 = zext i1 %5 to i64 %7 = select i1 %5, i32 1, i32 0 ret i32 %7 } declare i64 @strchr(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/tmpf01348dx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"YyNn\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @my_chchk(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 i64 @strchr(ptr noundef @.str, i32 noundef %3) %5 = icmp ne i64 %4, 0 %6 = zext i1 %5 to i64 %7 = select i1 %5, i32 1, i32 0 ret i32 %7 } declare i64 @strchr(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/tmp5brb84y7.c' source_filename = "/tmp/tmp5brb84y7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"Usage: airmass2 FITS [dtheta]\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Cannot find file \22%s\22\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"END \00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"LST-STR =\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"%*[ ']%2d%*[:]%2d%*[:]%f\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"ZD-STR =\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"ZD-END =\00", align 1 @.str.9 = private unnamed_addr constant [10 x i8] c"RA =\00", align 1 @.str.10 = private unnamed_addr constant [10 x i8] c"DEC =\00", align 1 @.str.11 = private unnamed_addr constant [27 x i8] c"%*[ ']%c%2d%*[:]%2d%*[:]%f\00", align 1 @.str.12 = private unnamed_addr constant [10 x i8] c"TELESCOP=\00", align 1 @.str.13 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.14 = private unnamed_addr constant [8 x i8] c"'Subaru\00", align 1 @.str.15 = private unnamed_addr constant [8 x i8] c"'SUBARU\00", align 1 @.str.16 = private unnamed_addr constant [45 x i8] c" Error: TELESCOP=%s is not supported. quit.\0A\00", align 1 @M_PI = dso_local global double 0.000000e+00, align 8 @.str.17 = private unnamed_addr constant [33 x i8] c" Error: Cannot calculate. ZD=0.\0A\00", align 1 @.str.18 = private unnamed_addr constant [35 x i8] c" Error: Cannot calculate. Dec=90.\0A\00", align 1 @.str.19 = private unnamed_addr constant [7 x i8] c"%f %f\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 [10 x i8], align 1 %7 = alloca ptr, align 8 %8 = alloca [81 x i8], align 16 %9 = alloca [70 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i8, align 1 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca float, align 4 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca ptr, align 8 %28 = alloca i64, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca double, align 8 %35 = alloca double, align 8 %36 = alloca double, align 8 %37 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memset.p0.i64(ptr align 1 %6, i8 0, i64 10, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 81, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 70, i1 false) store i8 0, ptr %12, align 1 store double 1.733000e-04, ptr %13, align 8 store double -2.090000e-07, ptr %14, align 8 store double 7.950000e-10, ptr %15, align 8 store double -1.000000e+00, ptr %20, align 8 store double -1.000000e+00, ptr %21, align 8 store double -1.000000e+00, ptr %22, align 8 store double -1.000000e+00, ptr %23, align 8 %38 = load i32, ptr @BUFSIZ, align 4 %39 = zext i32 %38 to i64 %40 = call ptr @llvm.stacksave() store ptr %40, ptr %27, align 8 %41 = alloca i8, i64 %39, align 16 store i64 %39, ptr %28, align 8 %42 = load i32, ptr %4, align 4 %43 = icmp ne i32 %42, 2 br i1 %43, label %44, label %47 44: ; preds = %2 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str) %46 = call i32 @exit(i32 noundef -1) #7 unreachable 47: ; preds = %2 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 1 %50 = load ptr, ptr %49, align 8 %51 = call ptr @fopen(ptr noundef %50, ptr noundef @.str.1) store ptr %51, ptr %7, align 8 %52 = load ptr, ptr %7, align 8 %53 = icmp eq ptr null, %52 br i1 %53, label %54, label %60 54: ; preds = %47 %55 = load ptr, ptr %5, align 8 %56 = getelementptr inbounds ptr, ptr %55, i64 1 %57 = load ptr, ptr %56, align 8 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %57) %59 = call i32 @exit(i32 noundef -1) #7 unreachable 60: ; preds = %47 br label %61 61: ; preds = %189, %60 %62 = load ptr, ptr %7, align 8 %63 = call i32 @feof(ptr noundef %62) %64 = icmp ne i32 %63, 0 %65 = xor i1 %64, true br i1 %65, label %66, label %190 66: ; preds = %61 %67 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %68 = load ptr, ptr %7, align 8 %69 = call i32 @fread(ptr noundef %67, i32 noundef 1, i32 noundef 80, ptr noundef %68) %70 = icmp ne i32 80, %69 br i1 %70, label %71, label %73 71: ; preds = %66 %72 = call i32 @exit(i32 noundef -1) #7 unreachable 73: ; preds = %66 %74 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %75 = call i64 @strncmp(ptr noundef @.str.3, ptr noundef %74, i32 noundef 8) %76 = icmp eq i64 %75, 0 br i1 %76, label %77, label %78 77: ; preds = %73 br label %190 78: ; preds = %73 %79 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %80 = call i64 @strncmp(ptr noundef @.str.4, ptr noundef %79, i32 noundef 9) %81 = icmp eq i64 %80, 0 br i1 %81, label %82, label %96 82: ; preds = %78 %83 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %84 = getelementptr inbounds i8, ptr %83, i64 9 %85 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %84, ptr noundef @.str.5, ptr noundef %16, ptr noundef %18, ptr noundef %19) %86 = load i32, ptr %16, align 4 %87 = sitofp i32 %86 to double %88 = load i32, ptr %18, align 4 %89 = sitofp i32 %88 to double %90 = fdiv double %89, 6.000000e+01 %91 = fadd double %87, %90 %92 = load float, ptr %19, align 4 %93 = fpext float %92 to double %94 = fdiv double %93, 3.600000e+03 %95 = fadd double %91, %94 store double %95, ptr %24, align 8 br label %188 96: ; preds = %78 %97 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %98 = call i64 @strncmp(ptr noundef @.str.6, ptr noundef %97, i32 noundef 9) %99 = icmp eq i64 %98, 0 br i1 %99, label %100, label %104 100: ; preds = %96 %101 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %102 = getelementptr inbounds i8, ptr %101, i64 9 %103 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %102, ptr noundef @.str.7, ptr noundef %20) br label %187 104: ; preds = %96 %105 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %106 = call i64 @strncmp(ptr noundef @.str.8, ptr noundef %105, i32 noundef 9) %107 = icmp eq i64 %106, 0 br i1 %107, label %108, label %112 108: ; preds = %104 %109 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %110 = getelementptr inbounds i8, ptr %109, i64 9 %111 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %110, ptr noundef @.str.7, ptr noundef %21) br label %186 112: ; preds = %104 %113 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %114 = call i64 @strncmp(ptr noundef @.str.9, ptr noundef %113, i32 noundef 9) %115 = icmp eq i64 %114, 0 br i1 %115, label %116, label %130 116: ; preds = %112 %117 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %118 = getelementptr inbounds i8, ptr %117, i64 9 %119 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %118, ptr noundef @.str.5, ptr noundef %16, ptr noundef %18, ptr noundef %19) %120 = load i32, ptr %16, align 4 %121 = sitofp i32 %120 to double %122 = load i32, ptr %18, align 4 %123 = sitofp i32 %122 to double %124 = fdiv double %123, 6.000000e+01 %125 = fadd double %121, %124 %126 = load float, ptr %19, align 4 %127 = fpext float %126 to double %128 = fdiv double %127, 3.600000e+03 %129 = fadd double %125, %128 store double %129, ptr %25, align 8 br label %185 130: ; preds = %112 %131 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %132 = call i64 @strncmp(ptr noundef @.str.10, ptr noundef %131, i32 noundef 9) %133 = icmp eq i64 %132, 0 br i1 %133, label %134, label %165 134: ; preds = %130 %135 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %136 = getelementptr inbounds i8, ptr %135, i64 9 %137 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %136, ptr noundef @.str.11, ptr noundef %12, ptr noundef %17, ptr noundef %18, ptr noundef %19) %138 = load i8, ptr %12, align 1 %139 = sext i8 %138 to i32 %140 = icmp eq i32 %139, 45 br i1 %140, label %141, label %153 141: ; preds = %134 %142 = load i32, ptr %17, align 4 %143 = sitofp i32 %142 to double %144 = load i32, ptr %18, align 4 %145 = sitofp i32 %144 to double %146 = fdiv double %145, 6.000000e+01 %147 = fadd double %143, %146 %148 = load float, ptr %19, align 4 %149 = fpext float %148 to double %150 = fdiv double %149, 3.600000e+03 %151 = fadd double %147, %150 %152 = fneg double %151 store double %152, ptr %26, align 8 br label %164 153: ; preds = %134 %154 = load i32, ptr %17, align 4 %155 = sitofp i32 %154 to double %156 = load i32, ptr %18, align 4 %157 = sitofp i32 %156 to double %158 = fdiv double %157, 6.000000e+01 %159 = fadd double %155, %158 %160 = load float, ptr %19, align 4 %161 = fpext float %160 to double %162 = fdiv double %161, 3.600000e+03 %163 = fadd double %159, %162 store double %163, ptr %26, align 8 br label %164 164: ; preds = %153, %141 br label %184 165: ; preds = %130 %166 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %167 = call i64 @strncmp(ptr noundef @.str.12, ptr noundef %166, i32 noundef 9) %168 = icmp eq i64 %167, 0 br i1 %168, label %169, label %183 169: ; preds = %165 %170 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %171 = getelementptr inbounds i8, ptr %170, i64 9 %172 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %171, ptr noundef @.str.13, ptr noundef %41) %173 = call i64 @strncmp(ptr noundef %41, ptr noundef @.str.14, i32 noundef 7) %174 = icmp ne i64 %173, 0 br i1 %174, label %175, label %181 175: ; preds = %169 %176 = call i64 @strncmp(ptr noundef %41, ptr noundef @.str.15, i32 noundef 7) %177 = icmp ne i64 %176, 0 br i1 %177, label %178, label %181 178: ; preds = %175 %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, ptr noundef %41) %180 = call i32 @exit(i32 noundef -1) #7 unreachable 181: ; preds = %175, %169 store double 1.982850e+01, ptr %29, align 8 br label %182 182: ; preds = %181 br label %183 183: ; preds = %182, %165 br label %184 184: ; preds = %183, %164 br label %185 185: ; preds = %184, %116 br label %186 186: ; preds = %185, %108 br label %187 187: ; preds = %186, %100 br label %188 188: ; preds = %187, %82 br label %189 189: ; preds = %188 br label %61, !llvm.loop !6 190: ; preds = %77, %61 %191 = load double, ptr %20, align 8 %192 = fcmp ogt double %191, 0.000000e+00 br i1 %192, label %193, label %201 193: ; preds = %190 %194 = load double, ptr %21, align 8 %195 = fcmp ogt double %194, 0.000000e+00 br i1 %195, label %196, label %201 196: ; preds = %193 %197 = load double, ptr %20, align 8 %198 = load double, ptr %21, align 8 %199 = fadd double %197, %198 %200 = fmul double 5.000000e-01, %199 store double %200, ptr %30, align 8 br label %201 201: ; preds = %196, %193, %190 %202 = load double, ptr %29, align 8 %203 = fsub double 9.000000e+01, %202 %204 = load double, ptr @M_PI, align 8 %205 = fmul double %203, %204 %206 = fdiv double %205, 1.800000e+02 store double %206, ptr %31, align 8 %207 = load double, ptr %30, align 8 %208 = load double, ptr @M_PI, align 8 %209 = fmul double %207, %208 %210 = fdiv double %209, 1.800000e+02 store double %210, ptr %32, align 8 %211 = load double, ptr %26, align 8 %212 = fsub double 9.000000e+01, %211 %213 = load double, ptr @M_PI, align 8 %214 = fmul double %212, %213 %215 = fdiv double %214, 1.800000e+02 store double %215, ptr %33, align 8 %216 = load double, ptr %32, align 8 %217 = fcmp oeq double %216, 0.000000e+00 br i1 %217, label %218, label %221 218: ; preds = %201 %219 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %220 = call i32 @exit(i32 noundef -1) #7 unreachable 221: ; preds = %201 %222 = load double, ptr %33, align 8 %223 = fcmp oeq double %222, 0.000000e+00 br i1 %223, label %224, label %227 224: ; preds = %221 %225 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %226 = call i32 @exit(i32 noundef -1) #7 unreachable 227: ; preds = %221 %228 = load double, ptr %31, align 8 %229 = call double @cos(double noundef %228) #8 %230 = load double, ptr %32, align 8 %231 = call double @cos(double noundef %230) #8 %232 = load double, ptr %33, align 8 %233 = call double @cos(double noundef %232) #8 %234 = fneg double %231 %235 = call double @llvm.fmuladd.f64(double %234, double %233, double %229) %236 = load double, ptr %32, align 8 %237 = call double @sin(double noundef %236) #8 %238 = load double, ptr %33, align 8 %239 = call double @sin(double noundef %238) #8 %240 = fmul double %237, %239 %241 = fdiv double %235, %240 store double %241, ptr %34, align 8 %242 = load double, ptr %34, align 8 %243 = load double, ptr %34, align 8 %244 = fneg double %242 %245 = call double @llvm.fmuladd.f64(double %244, double %243, double 1.000000e+00) %246 = fptosi double %245 to i32 %247 = call double @sqrt(i32 noundef %246) store double %247, ptr %35, align 8 %248 = load double, ptr %25, align 8 %249 = load double, ptr %24, align 8 %250 = fsub double %248, %249 %251 = fadd double %250, 2.400000e+01 store double %251, ptr %36, align 8 br label %252 252: ; preds = %255, %227 %253 = load double, ptr %36, align 8 %254 = fcmp ogt double %253, 1.200000e+01 br i1 %254, label %255, label %258 255: ; preds = %252 %256 = load double, ptr %36, align 8 %257 = fsub double %256, 2.400000e+01 store double %257, ptr %36, align 8 br label %252, !llvm.loop !8 258: ; preds = %252 %259 = load double, ptr %36, align 8 %260 = fcmp ogt double %259, 0.000000e+00 br i1 %260, label %261, label %264 261: ; preds = %258 %262 = load double, ptr %35, align 8 %263 = fneg double %262 store double %263, ptr %35, align 8 br label %264 264: ; preds = %261, %258 %265 = load double, ptr %35, align 8 %266 = load double, ptr %34, align 8 %267 = call double @atan2(double noundef %265, double noundef %266) #8 %268 = load double, ptr @M_PI, align 8 %269 = fdiv double %267, %268 %270 = fmul double %269, 1.800000e+02 store double %270, ptr %37, align 8 %271 = load double, ptr %37, align 8 %272 = load double, ptr %32, align 8 %273 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, double noundef %271, double noundef %272) store i32 0, ptr %3, align 4 %274 = load ptr, ptr %27, align 8 call void @llvm.stackrestore(ptr %274) %275 = load i32, ptr %3, align 4 ret i32 %275 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, ...) #3 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #4 declare ptr @fopen(ptr noundef, ptr noundef) #3 declare i32 @feof(ptr noundef) #3 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #3 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #3 declare i32 @sscanf(ptr noundef, ptr noundef, ...) #3 ; Function Attrs: nounwind declare double @cos(double noundef) #5 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #6 ; Function Attrs: nounwind declare double @sin(double noundef) #5 declare double @sqrt(i32 noundef) #3 ; Function Attrs: nounwind declare double @atan2(double noundef, double noundef) #5 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nosync nounwind willreturn } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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 #5 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #7 = { noreturn } attributes #8 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5brb84y7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"Usage: airmass2 FITS [dtheta]\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Cannot find file \22%s\22\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"END \00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"LST-STR =\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"%*[ ']%2d%*[:]%2d%*[:]%f\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"ZD-STR =\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"ZD-END =\00", align 1 @.str.9 = private unnamed_addr constant [10 x i8] c"RA =\00", align 1 @.str.10 = private unnamed_addr constant [10 x i8] c"DEC =\00", align 1 @.str.11 = private unnamed_addr constant [27 x i8] c"%*[ ']%c%2d%*[:]%2d%*[:]%f\00", align 1 @.str.12 = private unnamed_addr constant [10 x i8] c"TELESCOP=\00", align 1 @.str.13 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.14 = private unnamed_addr constant [8 x i8] c"'Subaru\00", align 1 @.str.15 = private unnamed_addr constant [8 x i8] c"'SUBARU\00", align 1 @.str.16 = private unnamed_addr constant [45 x i8] c" Error: TELESCOP=%s is not supported. quit.\0A\00", align 1 @M_PI = dso_local global double 0.000000e+00, align 8 @.str.17 = private unnamed_addr constant [33 x i8] c" Error: Cannot calculate. ZD=0.\0A\00", align 1 @.str.18 = private unnamed_addr constant [35 x i8] c" Error: Cannot calculate. Dec=90.\0A\00", align 1 @.str.19 = private unnamed_addr constant [7 x i8] c"%f %f\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 [10 x i8], align 1 %7 = alloca ptr, align 8 %8 = alloca [81 x i8], align 16 %9 = alloca [70 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i8, align 1 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca float, align 4 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca ptr, align 8 %28 = alloca i64, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca double, align 8 %35 = alloca double, align 8 %36 = alloca double, align 8 %37 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memset.p0.i64(ptr align 1 %6, i8 0, i64 10, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 81, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 70, i1 false) store i8 0, ptr %12, align 1 store double 1.733000e-04, ptr %13, align 8 store double -2.090000e-07, ptr %14, align 8 store double 7.950000e-10, ptr %15, align 8 store double -1.000000e+00, ptr %20, align 8 store double -1.000000e+00, ptr %21, align 8 store double -1.000000e+00, ptr %22, align 8 store double -1.000000e+00, ptr %23, align 8 %38 = load i32, ptr @BUFSIZ, align 4 %39 = zext i32 %38 to i64 %40 = call ptr @llvm.stacksave() store ptr %40, ptr %27, align 8 %41 = alloca i8, i64 %39, align 16 store i64 %39, ptr %28, align 8 %42 = load i32, ptr %4, align 4 %43 = icmp ne i32 %42, 2 br i1 %43, label %44, label %47 44: ; preds = %2 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str) %46 = call i32 @exit(i32 noundef -1) #7 unreachable 47: ; preds = %2 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 1 %50 = load ptr, ptr %49, align 8 %51 = call ptr @fopen(ptr noundef %50, ptr noundef @.str.1) store ptr %51, ptr %7, align 8 %52 = load ptr, ptr %7, align 8 %53 = icmp eq ptr null, %52 br i1 %53, label %54, label %60 54: ; preds = %47 %55 = load ptr, ptr %5, align 8 %56 = getelementptr inbounds ptr, ptr %55, i64 1 %57 = load ptr, ptr %56, align 8 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %57) %59 = call i32 @exit(i32 noundef -1) #7 unreachable 60: ; preds = %47 %61 = load ptr, ptr %7, align 8 %62 = call i32 @feof(ptr noundef %61) %63 = icmp ne i32 %62, 0 %64 = xor i1 %63, true br i1 %64, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %60 br label %65 65: ; preds = %.lr.ph, %188 %66 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %67 = load ptr, ptr %7, align 8 %68 = call i32 @fread(ptr noundef %66, i32 noundef 1, i32 noundef 80, ptr noundef %67) %69 = icmp ne i32 80, %68 br i1 %69, label %70, label %72 70: ; preds = %65 %71 = call i32 @exit(i32 noundef -1) #7 unreachable 72: ; preds = %65 %73 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %74 = call i64 @strncmp(ptr noundef @.str.3, ptr noundef %73, i32 noundef 8) %75 = icmp eq i64 %74, 0 br i1 %75, label %76, label %77 76: ; preds = %72 br label %193 77: ; preds = %72 %78 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %79 = call i64 @strncmp(ptr noundef @.str.4, ptr noundef %78, i32 noundef 9) %80 = icmp eq i64 %79, 0 br i1 %80, label %81, label %95 81: ; preds = %77 %82 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %83 = getelementptr inbounds i8, ptr %82, i64 9 %84 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %83, ptr noundef @.str.5, ptr noundef %16, ptr noundef %18, ptr noundef %19) %85 = load i32, ptr %16, align 4 %86 = sitofp i32 %85 to double %87 = load i32, ptr %18, align 4 %88 = sitofp i32 %87 to double %89 = fdiv double %88, 6.000000e+01 %90 = fadd double %86, %89 %91 = load float, ptr %19, align 4 %92 = fpext float %91 to double %93 = fdiv double %92, 3.600000e+03 %94 = fadd double %90, %93 store double %94, ptr %24, align 8 br label %187 95: ; preds = %77 %96 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %97 = call i64 @strncmp(ptr noundef @.str.6, ptr noundef %96, i32 noundef 9) %98 = icmp eq i64 %97, 0 br i1 %98, label %99, label %103 99: ; preds = %95 %100 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %101 = getelementptr inbounds i8, ptr %100, i64 9 %102 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %101, ptr noundef @.str.7, ptr noundef %20) br label %186 103: ; preds = %95 %104 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %105 = call i64 @strncmp(ptr noundef @.str.8, ptr noundef %104, i32 noundef 9) %106 = icmp eq i64 %105, 0 br i1 %106, label %107, label %111 107: ; preds = %103 %108 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %109 = getelementptr inbounds i8, ptr %108, i64 9 %110 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %109, ptr noundef @.str.7, ptr noundef %21) br label %185 111: ; preds = %103 %112 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %113 = call i64 @strncmp(ptr noundef @.str.9, ptr noundef %112, i32 noundef 9) %114 = icmp eq i64 %113, 0 br i1 %114, label %115, label %129 115: ; preds = %111 %116 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %117 = getelementptr inbounds i8, ptr %116, i64 9 %118 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %117, ptr noundef @.str.5, ptr noundef %16, ptr noundef %18, ptr noundef %19) %119 = load i32, ptr %16, align 4 %120 = sitofp i32 %119 to double %121 = load i32, ptr %18, align 4 %122 = sitofp i32 %121 to double %123 = fdiv double %122, 6.000000e+01 %124 = fadd double %120, %123 %125 = load float, ptr %19, align 4 %126 = fpext float %125 to double %127 = fdiv double %126, 3.600000e+03 %128 = fadd double %124, %127 store double %128, ptr %25, align 8 br label %184 129: ; preds = %111 %130 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %131 = call i64 @strncmp(ptr noundef @.str.10, ptr noundef %130, i32 noundef 9) %132 = icmp eq i64 %131, 0 br i1 %132, label %133, label %164 133: ; preds = %129 %134 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %135 = getelementptr inbounds i8, ptr %134, i64 9 %136 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %135, ptr noundef @.str.11, ptr noundef %12, ptr noundef %17, ptr noundef %18, ptr noundef %19) %137 = load i8, ptr %12, align 1 %138 = sext i8 %137 to i32 %139 = icmp eq i32 %138, 45 br i1 %139, label %140, label %152 140: ; preds = %133 %141 = load i32, ptr %17, align 4 %142 = sitofp i32 %141 to double %143 = load i32, ptr %18, align 4 %144 = sitofp i32 %143 to double %145 = fdiv double %144, 6.000000e+01 %146 = fadd double %142, %145 %147 = load float, ptr %19, align 4 %148 = fpext float %147 to double %149 = fdiv double %148, 3.600000e+03 %150 = fadd double %146, %149 %151 = fneg double %150 store double %151, ptr %26, align 8 br label %163 152: ; preds = %133 %153 = load i32, ptr %17, align 4 %154 = sitofp i32 %153 to double %155 = load i32, ptr %18, align 4 %156 = sitofp i32 %155 to double %157 = fdiv double %156, 6.000000e+01 %158 = fadd double %154, %157 %159 = load float, ptr %19, align 4 %160 = fpext float %159 to double %161 = fdiv double %160, 3.600000e+03 %162 = fadd double %158, %161 store double %162, ptr %26, align 8 br label %163 163: ; preds = %152, %140 br label %183 164: ; preds = %129 %165 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %166 = call i64 @strncmp(ptr noundef @.str.12, ptr noundef %165, i32 noundef 9) %167 = icmp eq i64 %166, 0 br i1 %167, label %168, label %182 168: ; preds = %164 %169 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %170 = getelementptr inbounds i8, ptr %169, i64 9 %171 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %170, ptr noundef @.str.13, ptr noundef %41) %172 = call i64 @strncmp(ptr noundef %41, ptr noundef @.str.14, i32 noundef 7) %173 = icmp ne i64 %172, 0 br i1 %173, label %174, label %180 174: ; preds = %168 %175 = call i64 @strncmp(ptr noundef %41, ptr noundef @.str.15, i32 noundef 7) %176 = icmp ne i64 %175, 0 br i1 %176, label %177, label %180 177: ; preds = %174 %178 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, ptr noundef %41) %179 = call i32 @exit(i32 noundef -1) #7 unreachable 180: ; preds = %174, %168 store double 1.982850e+01, ptr %29, align 8 br label %181 181: ; preds = %180 br label %182 182: ; preds = %181, %164 br label %183 183: ; preds = %182, %163 br label %184 184: ; preds = %183, %115 br label %185 185: ; preds = %184, %107 br label %186 186: ; preds = %185, %99 br label %187 187: ; preds = %186, %81 br label %188 188: ; preds = %187 %189 = load ptr, ptr %7, align 8 %190 = call i32 @feof(ptr noundef %189) %191 = icmp ne i32 %190, 0 %192 = xor i1 %191, true br i1 %192, label %65, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %188 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %60 br label %193 193: ; preds = %.loopexit, %76 %194 = load double, ptr %20, align 8 %195 = fcmp ogt double %194, 0.000000e+00 br i1 %195, label %196, label %204 196: ; preds = %193 %197 = load double, ptr %21, align 8 %198 = fcmp ogt double %197, 0.000000e+00 br i1 %198, label %199, label %204 199: ; preds = %196 %200 = load double, ptr %20, align 8 %201 = load double, ptr %21, align 8 %202 = fadd double %200, %201 %203 = fmul double 5.000000e-01, %202 store double %203, ptr %30, align 8 br label %204 204: ; preds = %199, %196, %193 %205 = load double, ptr %29, align 8 %206 = fsub double 9.000000e+01, %205 %207 = load double, ptr @M_PI, align 8 %208 = fmul double %206, %207 %209 = fdiv double %208, 1.800000e+02 store double %209, ptr %31, align 8 %210 = load double, ptr %30, align 8 %211 = load double, ptr @M_PI, align 8 %212 = fmul double %210, %211 %213 = fdiv double %212, 1.800000e+02 store double %213, ptr %32, align 8 %214 = load double, ptr %26, align 8 %215 = fsub double 9.000000e+01, %214 %216 = load double, ptr @M_PI, align 8 %217 = fmul double %215, %216 %218 = fdiv double %217, 1.800000e+02 store double %218, ptr %33, align 8 %219 = load double, ptr %32, align 8 %220 = fcmp oeq double %219, 0.000000e+00 br i1 %220, label %221, label %224 221: ; preds = %204 %222 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %223 = call i32 @exit(i32 noundef -1) #7 unreachable 224: ; preds = %204 %225 = load double, ptr %33, align 8 %226 = fcmp oeq double %225, 0.000000e+00 br i1 %226, label %227, label %230 227: ; preds = %224 %228 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %229 = call i32 @exit(i32 noundef -1) #7 unreachable 230: ; preds = %224 %231 = load double, ptr %31, align 8 %232 = call double @cos(double noundef %231) #8 %233 = load double, ptr %32, align 8 %234 = call double @cos(double noundef %233) #8 %235 = load double, ptr %33, align 8 %236 = call double @cos(double noundef %235) #8 %237 = fneg double %234 %238 = call double @llvm.fmuladd.f64(double %237, double %236, double %232) %239 = load double, ptr %32, align 8 %240 = call double @sin(double noundef %239) #8 %241 = load double, ptr %33, align 8 %242 = call double @sin(double noundef %241) #8 %243 = fmul double %240, %242 %244 = fdiv double %238, %243 store double %244, ptr %34, align 8 %245 = load double, ptr %34, align 8 %246 = load double, ptr %34, align 8 %247 = fneg double %245 %248 = call double @llvm.fmuladd.f64(double %247, double %246, double 1.000000e+00) %249 = fptosi double %248 to i32 %250 = call double @sqrt(i32 noundef %249) store double %250, ptr %35, align 8 %251 = load double, ptr %25, align 8 %252 = load double, ptr %24, align 8 %253 = fsub double %251, %252 %254 = fadd double %253, 2.400000e+01 store double %254, ptr %36, align 8 %255 = load double, ptr %36, align 8 %256 = fcmp ogt double %255, 1.200000e+01 br i1 %256, label %.lr.ph1, label %262 .lr.ph1: ; preds = %230 br label %257 257: ; preds = %.lr.ph1, %257 %258 = load double, ptr %36, align 8 %259 = fsub double %258, 2.400000e+01 store double %259, ptr %36, align 8 %260 = load double, ptr %36, align 8 %261 = fcmp ogt double %260, 1.200000e+01 br i1 %261, label %257, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %257 br label %262 262: ; preds = %._crit_edge, %230 %263 = load double, ptr %36, align 8 %264 = fcmp ogt double %263, 0.000000e+00 br i1 %264, label %265, label %268 265: ; preds = %262 %266 = load double, ptr %35, align 8 %267 = fneg double %266 store double %267, ptr %35, align 8 br label %268 268: ; preds = %265, %262 %269 = load double, ptr %35, align 8 %270 = load double, ptr %34, align 8 %271 = call double @atan2(double noundef %269, double noundef %270) #8 %272 = load double, ptr @M_PI, align 8 %273 = fdiv double %271, %272 %274 = fmul double %273, 1.800000e+02 store double %274, ptr %37, align 8 %275 = load double, ptr %37, align 8 %276 = load double, ptr %32, align 8 %277 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, double noundef %275, double noundef %276) store i32 0, ptr %3, align 4 %278 = load ptr, ptr %27, align 8 call void @llvm.stackrestore(ptr %278) %279 = load i32, ptr %3, align 4 ret i32 %279 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, ...) #3 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #4 declare ptr @fopen(ptr noundef, ptr noundef) #3 declare i32 @feof(ptr noundef) #3 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #3 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #3 declare i32 @sscanf(ptr noundef, ptr noundef, ...) #3 ; Function Attrs: nounwind declare double @cos(double noundef) #5 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #6 ; Function Attrs: nounwind declare double @sin(double noundef) #5 declare double @sqrt(i32 noundef) #3 ; Function Attrs: nounwind declare double @atan2(double noundef, double noundef) #5 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nosync nounwind willreturn } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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 #5 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #7 = { noreturn } attributes #8 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpy1f5xv9j.c' source_filename = "/tmp/tmpy1f5xv9j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_equal(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @strcmp(ptr noundef %6, ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp eq i32 %9, 0 %11 = zext i1 %10 to i64 %12 = select i1 %10, i32 1, i32 0 ret i32 %12 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy1f5xv9j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_equal(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @strcmp(ptr noundef %6, ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp eq i32 %9, 0 %11 = zext i1 %10 to i64 %12 = select i1 %10, i32 1, i32 0 ret i32 %12 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3egl5vdi.c' source_filename = "/tmp/tmp3egl5vdi.c" target datalayout = "e-m:e-p270: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 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @client_send_msg_noreply(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 %struct.sockaddr_un, align 4 %8 = alloca i32, align 4 %9 = alloca [64 x i8], align 16 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %11 = load ptr, ptr %4, align 8 %12 = call i32 @client_open(ptr noundef %11, ptr noundef %7) store i32 %12, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %26 15: ; preds = %3 %16 = load i32, ptr %8, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0 %19 = call i32 @client_send_noreply(i32 noundef %16, ptr noundef %17, ptr noundef %18, i32 noundef 64) store i32 %19, ptr %10, align 4 %20 = load i32, ptr %8, align 4 %21 = call i32 @client_close(i32 noundef %20) %22 = load i32, ptr %10, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %15 br label %25 25: ; preds = %24, %15 br label %26 26: ; preds = %25, %3 ret i32 0 } declare i32 @client_open(ptr noundef, ptr noundef) #1 declare i32 @client_send_noreply(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @client_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/tmp3egl5vdi.c" target datalayout = "e-m:e-p270: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 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @client_send_msg_noreply(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 %struct.sockaddr_un, align 4 %8 = alloca i32, align 4 %9 = alloca [64 x i8], align 16 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %11 = load ptr, ptr %4, align 8 %12 = call i32 @client_open(ptr noundef %11, ptr noundef %7) store i32 %12, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %26 15: ; preds = %3 %16 = load i32, ptr %8, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0 %19 = call i32 @client_send_noreply(i32 noundef %16, ptr noundef %17, ptr noundef %18, i32 noundef 64) store i32 %19, ptr %10, align 4 %20 = load i32, ptr %8, align 4 %21 = call i32 @client_close(i32 noundef %20) %22 = load i32, ptr %10, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %15 br label %25 25: ; preds = %24, %15 br label %26 26: ; preds = %25, %3 ret i32 0 } declare i32 @client_open(ptr noundef, ptr noundef) #1 declare i32 @client_send_noreply(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @client_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/tmpayr6vdei.c' source_filename = "/tmp/tmpayr6vdei.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @THAtomicSet(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 br label %6 6: ; preds = %9, %2 %7 = load ptr, ptr %3, align 8 %8 = load volatile i32, ptr %7, align 4 store i32 %8, ptr %5, align 4 br label %9 9: ; preds = %6 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %4, align 4 %13 = call i32 @THAtomicCompareAndSwap(ptr noundef %10, i32 noundef %11, i32 noundef %12) %14 = icmp ne i32 %13, 0 %15 = xor i1 %14, true br i1 %15, label %6, label %16, !llvm.loop !6 16: ; preds = %9 ret void } declare i32 @THAtomicCompareAndSwap(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/tmpayr6vdei.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @THAtomicSet(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 br label %6 6: ; preds = %9, %2 %7 = load ptr, ptr %3, align 8 %8 = load volatile i32, ptr %7, align 4 store i32 %8, ptr %5, align 4 br label %9 9: ; preds = %6 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %4, align 4 %13 = call i32 @THAtomicCompareAndSwap(ptr noundef %10, i32 noundef %11, i32 noundef %12) %14 = icmp ne i32 %13, 0 %15 = xor i1 %14, true br i1 %15, label %6, label %16, !llvm.loop !6 16: ; preds = %9 ret void } declare i32 @THAtomicCompareAndSwap(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/tmpbvhrgmvb.c' source_filename = "/tmp/tmpbvhrgmvb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @objp_to_size(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = ptrtoint ptr %5 to i64 %7 = sub i64 %6, 0 store i64 %7, ptr %4, align 8 %8 = load i64, ptr %4, align 8 store i64 %8, ptr %3, align 8 %9 = load i64, ptr %3, align 8 ret i64 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbvhrgmvb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @objp_to_size(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = ptrtoint ptr %5 to i64 %7 = sub i64 %6, 0 store i64 %7, ptr %4, align 8 %8 = load i64, ptr %4, align 8 store i64 %8, ptr %3, align 8 %9 = load i64, ptr %3, align 8 ret i64 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7ci7fcy3.c' source_filename = "/tmp/tmp7ci7fcy3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fl_fgetc(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i8 0, ptr %5, align 1 %6 = load ptr, ptr %3, align 8 %7 = call i32 @fl_fread(ptr noundef %5, i32 noundef 1, i32 noundef 1, ptr noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load i8, ptr %5, align 1 %12 = zext i8 %11 to i32 store i32 %12, ptr %2, align 4 br label %15 13: ; preds = %1 %14 = load i32, ptr %4, align 4 store i32 %14, ptr %2, align 4 br label %15 15: ; preds = %13, %10 %16 = load i32, ptr %2, align 4 ret i32 %16 } declare i32 @fl_fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7ci7fcy3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fl_fgetc(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i8 0, ptr %5, align 1 %6 = load ptr, ptr %3, align 8 %7 = call i32 @fl_fread(ptr noundef %5, i32 noundef 1, i32 noundef 1, ptr noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load i8, ptr %5, align 1 %12 = zext i8 %11 to i32 store i32 %12, ptr %2, align 4 br label %15 13: ; preds = %1 %14 = load i32, ptr %4, align 4 store i32 %14, ptr %2, align 4 br label %15 15: ; preds = %13, %10 %16 = load i32, ptr %2, align 4 ret i32 %16 } declare i32 @fl_fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpngqxi53s.c' source_filename = "/tmp/tmpngqxi53s.c" target datalayout = "e-m:e-p270: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/tmpngqxi53s.c" target datalayout = "e-m:e-p270: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/tmp3t_vj_9j.c' source_filename = "/tmp/tmp3t_vj_9j.c" target datalayout = "e-m:e-p270: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/tmp3t_vj_9j.c" target datalayout = "e-m:e-p270: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/tmp8roru437.c' source_filename = "/tmp/tmp8roru437.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kevent_del_socket(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 @kevent_add_del_socket(i32 noundef %3, i32 noundef 1) ret i32 %4 } declare i32 @kevent_add_del_socket(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/tmp8roru437.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kevent_del_socket(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 @kevent_add_del_socket(i32 noundef %3, i32 noundef 1) ret i32 %4 } declare i32 @kevent_add_del_socket(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/tmp_ir5m858.c' source_filename = "/tmp/tmp_ir5m858.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%s%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print(ptr noundef %0, double noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca double, align 8 %5 = alloca [100 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store double %1, ptr %4, align 8 %9 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %10 = load double, ptr %4, align 8 %11 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %9, i32 noundef 100, ptr noundef @.str, double noundef %10) %12 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %13 = call i32 @strlen(ptr noundef %12) %14 = sub nsw i32 %13, 1 store i32 %14, ptr %6, align 4 br label %15 15: ; preds = %27, %2 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 48 br i1 %21, label %22, label %25 22: ; preds = %15 %23 = load i32, ptr %6, align 4 %24 = icmp sgt i32 %23, 0 br label %25 25: ; preds = %22, %15 %26 = phi i1 [ false, %15 ], [ %24, %22 ] br i1 %26, label %27, label %30 27: ; preds = %25 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, -1 store i32 %29, ptr %6, align 4 br label %15, !llvm.loop !6 30: ; preds = %25 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 46 br i1 %36, label %37, label %40 37: ; preds = %30 %38 = load i32, ptr %6, align 4 %39 = add nsw i32 %38, -1 store i32 %39, ptr %6, align 4 br label %40 40: ; preds = %37, %30 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 2 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %6, align 4 %44 = zext i32 %43 to i64 %45 = call ptr @llvm.stacksave() store ptr %45, ptr %7, align 8 %46 = alloca i8, i64 %44, align 16 store i64 %44, ptr %8, align 8 %47 = load i32, ptr %6, align 4 %48 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %49 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %46, i32 noundef %47, ptr noundef @.str.1, ptr noundef %48) %50 = load ptr, ptr %3, align 8 %51 = call i32 @printf(ptr noundef @.str.2, ptr noundef %50, ptr noundef %46) %52 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %52) ret void } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1 declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ir5m858.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%s%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print(ptr noundef %0, double noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca double, align 8 %5 = alloca [100 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store double %1, ptr %4, align 8 %9 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %10 = load double, ptr %4, align 8 %11 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %9, i32 noundef 100, ptr noundef @.str, double noundef %10) %12 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %13 = call i32 @strlen(ptr noundef %12) %14 = sub nsw i32 %13, 1 store i32 %14, ptr %6, align 4 br label %15 15: ; preds = %27, %2 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 48 br i1 %21, label %22, label %25 22: ; preds = %15 %23 = load i32, ptr %6, align 4 %24 = icmp sgt i32 %23, 0 br label %25 25: ; preds = %22, %15 %26 = phi i1 [ false, %15 ], [ %24, %22 ] br i1 %26, label %27, label %30 27: ; preds = %25 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, -1 store i32 %29, ptr %6, align 4 br label %15, !llvm.loop !6 30: ; preds = %25 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 46 br i1 %36, label %37, label %40 37: ; preds = %30 %38 = load i32, ptr %6, align 4 %39 = add nsw i32 %38, -1 store i32 %39, ptr %6, align 4 br label %40 40: ; preds = %37, %30 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 2 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %6, align 4 %44 = zext i32 %43 to i64 %45 = call ptr @llvm.stacksave() store ptr %45, ptr %7, align 8 %46 = alloca i8, i64 %44, align 16 store i64 %44, ptr %8, align 8 %47 = load i32, ptr %6, align 4 %48 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0 %49 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %46, i32 noundef %47, ptr noundef @.str.1, ptr noundef %48) %50 = load ptr, ptr %3, align 8 %51 = call i32 @printf(ptr noundef @.str.2, ptr noundef %50, ptr noundef %46) %52 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %52) ret void } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1 declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmptqmdwn10.c' source_filename = "/tmp/tmptqmdwn10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d32(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 @d31(i32 noundef %3) %5 = call i32 @d31(i32 noundef %4) ret i32 %5 } declare i32 @d31(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/tmptqmdwn10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d32(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 @d31(i32 noundef %3) %5 = call i32 @d31(i32 noundef %4) ret i32 %5 } declare i32 @d31(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/tmpcunis55t.c' source_filename = "/tmp/tmpcunis55t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0.01\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"1000\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"0.5\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"2\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"100\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"p:n:a:t:vr:hl:\00", align 1 @optarg = dso_local global ptr null, align 8 @optopt = dso_local global i8 0, align 1 @stderr = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [33 x i8] c"Option %c requires an argument.\0A\00", align 1 @.str.8 = private unnamed_addr constant [23 x i8] c"Unknown argument: %c.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 store ptr @.str.1, ptr %7, align 8 store ptr @.str.2, ptr %8, align 8 store ptr @.str.3, ptr %9, align 8 store ptr @.str.4, ptr %10, align 8 store ptr @.str.5, ptr %11, align 8 store i32 0, ptr %12, align 4 br label %14 14: ; preds = %69, %2 %15 = load i32, ptr %4, align 4 %16 = load ptr, ptr %5, align 8 %17 = call i32 @getopt(i32 noundef %15, ptr noundef %16, ptr noundef @.str.6) store i32 %17, ptr %13, align 4 %18 = icmp ne i32 %17, -1 br i1 %18, label %19, label %70 19: ; preds = %14 %20 = load i32, ptr %13, align 4 switch i32 %20, label %69 [ i32 112, label %21 i32 110, label %23 i32 97, label %25 i32 116, label %27 i32 118, label %29 i32 114, label %30 i32 104, label %32 i32 108, label %34 i32 63, label %36 ] 21: ; preds = %19 %22 = load ptr, ptr @optarg, align 8 store ptr %22, ptr %6, align 8 br label %69 23: ; preds = %19 %24 = load ptr, ptr @optarg, align 8 store ptr %24, ptr %7, align 8 br label %69 25: ; preds = %19 %26 = load ptr, ptr @optarg, align 8 store ptr %26, ptr %8, align 8 br label %69 27: ; preds = %19 %28 = load ptr, ptr @optarg, align 8 store ptr %28, ptr %9, align 8 br label %69 29: ; preds = %19 store i32 1, ptr %12, align 4 br label %69 30: ; preds = %19 %31 = load ptr, ptr @optarg, align 8 store ptr %31, ptr %10, align 8 br label %69 32: ; preds = %19 %33 = call i32 (...) @show_help() store i32 0, ptr %3, align 4 br label %79 34: ; preds = %19 %35 = load ptr, ptr @optarg, align 8 store ptr %35, ptr %11, align 8 br label %69 36: ; preds = %19 %37 = load i8, ptr @optopt, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 112 br i1 %39, label %60, label %40 40: ; preds = %36 %41 = load i8, ptr @optopt, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 110 br i1 %43, label %60, label %44 44: ; preds = %40 %45 = load i8, ptr @optopt, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 97 br i1 %47, label %60, label %48 48: ; preds = %44 %49 = load i8, ptr @optopt, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 116 br i1 %51, label %60, label %52 52: ; preds = %48 %53 = load i8, ptr @optopt, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 114 br i1 %55, label %60, label %56 56: ; preds = %52 %57 = load i8, ptr @optopt, align 1 %58 = sext i8 %57 to i32 %59 = icmp eq i32 %58, 108 br i1 %59, label %60, label %64 60: ; preds = %56, %52, %48, %44, %40, %36 %61 = load i32, ptr @stderr, align 4 %62 = load i8, ptr @optopt, align 1 %63 = call i32 @fprintf(i32 noundef %61, ptr noundef @.str.7, i8 noundef signext %62) br label %68 64: ; preds = %56 %65 = load i32, ptr @stderr, align 4 %66 = load i8, ptr @optopt, align 1 %67 = call i32 @fprintf(i32 noundef %65, ptr noundef @.str.8, i8 noundef signext %66) br label %68 68: ; preds = %64, %60 br label %69 69: ; preds = %19, %68, %34, %30, %29, %27, %25, %23, %21 br label %14, !llvm.loop !6 70: ; preds = %14 %71 = load ptr, ptr %6, align 8 %72 = load ptr, ptr %7, align 8 %73 = load ptr, ptr %8, align 8 %74 = load ptr, ptr %9, align 8 %75 = load ptr, ptr %10, align 8 %76 = load i32, ptr %12, align 4 %77 = load ptr, ptr %11, align 8 %78 = call i32 @counter_test(ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, i32 noundef %76, ptr noundef %77) store i32 0, ptr %3, align 4 br label %79 79: ; preds = %70, %32 %80 = load i32, ptr %3, align 4 ret i32 %80 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @show_help(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i8 noundef signext) #1 declare i32 @counter_test(ptr noundef, ptr noundef, 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpcunis55t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0.01\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"1000\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"0.5\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"2\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"100\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"p:n:a:t:vr:hl:\00", align 1 @optarg = dso_local global ptr null, align 8 @optopt = dso_local global i8 0, align 1 @stderr = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [33 x i8] c"Option %c requires an argument.\0A\00", align 1 @.str.8 = private unnamed_addr constant [23 x i8] c"Unknown argument: %c.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 store ptr @.str.1, ptr %7, align 8 store ptr @.str.2, ptr %8, align 8 store ptr @.str.3, ptr %9, align 8 store ptr @.str.4, ptr %10, align 8 store ptr @.str.5, ptr %11, align 8 store i32 0, ptr %12, align 4 %14 = load i32, ptr %4, align 4 %15 = load ptr, ptr %5, align 8 %16 = call i32 @getopt(i32 noundef %14, ptr noundef %15, ptr noundef @.str.6) store i32 %16, ptr %13, align 4 %17 = icmp ne i32 %16, -1 br i1 %17, label %.lr.ph, label %73 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %68 %19 = load i32, ptr %13, align 4 switch i32 %19, label %68 [ i32 112, label %20 i32 110, label %22 i32 97, label %24 i32 116, label %26 i32 118, label %28 i32 114, label %29 i32 104, label %31 i32 108, label %33 i32 63, label %35 ] 20: ; preds = %18 %21 = load ptr, ptr @optarg, align 8 store ptr %21, ptr %6, align 8 br label %68 22: ; preds = %18 %23 = load ptr, ptr @optarg, align 8 store ptr %23, ptr %7, align 8 br label %68 24: ; preds = %18 %25 = load ptr, ptr @optarg, align 8 store ptr %25, ptr %8, align 8 br label %68 26: ; preds = %18 %27 = load ptr, ptr @optarg, align 8 store ptr %27, ptr %9, align 8 br label %68 28: ; preds = %18 store i32 1, ptr %12, align 4 br label %68 29: ; preds = %18 %30 = load ptr, ptr @optarg, align 8 store ptr %30, ptr %10, align 8 br label %68 31: ; preds = %18 %32 = call i32 (...) @show_help() store i32 0, ptr %3, align 4 br label %82 33: ; preds = %18 %34 = load ptr, ptr @optarg, align 8 store ptr %34, ptr %11, align 8 br label %68 35: ; preds = %18 %36 = load i8, ptr @optopt, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 112 br i1 %38, label %59, label %39 39: ; preds = %35 %40 = load i8, ptr @optopt, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 110 br i1 %42, label %59, label %43 43: ; preds = %39 %44 = load i8, ptr @optopt, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 97 br i1 %46, label %59, label %47 47: ; preds = %43 %48 = load i8, ptr @optopt, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 116 br i1 %50, label %59, label %51 51: ; preds = %47 %52 = load i8, ptr @optopt, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 %53, 114 br i1 %54, label %59, label %55 55: ; preds = %51 %56 = load i8, ptr @optopt, align 1 %57 = sext i8 %56 to i32 %58 = icmp eq i32 %57, 108 br i1 %58, label %59, label %63 59: ; preds = %55, %51, %47, %43, %39, %35 %60 = load i32, ptr @stderr, align 4 %61 = load i8, ptr @optopt, align 1 %62 = call i32 @fprintf(i32 noundef %60, ptr noundef @.str.7, i8 noundef signext %61) br label %67 63: ; preds = %55 %64 = load i32, ptr @stderr, align 4 %65 = load i8, ptr @optopt, align 1 %66 = call i32 @fprintf(i32 noundef %64, ptr noundef @.str.8, i8 noundef signext %65) br label %67 67: ; preds = %63, %59 br label %68 68: ; preds = %67, %33, %29, %28, %26, %24, %22, %20, %18 %69 = load i32, ptr %4, align 4 %70 = load ptr, ptr %5, align 8 %71 = call i32 @getopt(i32 noundef %69, ptr noundef %70, ptr noundef @.str.6) store i32 %71, ptr %13, align 4 %72 = icmp ne i32 %71, -1 br i1 %72, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %68 br label %73 73: ; preds = %._crit_edge, %2 %74 = load ptr, ptr %6, align 8 %75 = load ptr, ptr %7, align 8 %76 = load ptr, ptr %8, align 8 %77 = load ptr, ptr %9, align 8 %78 = load ptr, ptr %10, align 8 %79 = load i32, ptr %12, align 4 %80 = load ptr, ptr %11, align 8 %81 = call i32 @counter_test(ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, i32 noundef %79, ptr noundef %80) store i32 0, ptr %3, align 4 br label %82 82: ; preds = %73, %31 %83 = load i32, ptr %3, align 4 ret i32 %83 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @show_help(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i8 noundef signext) #1 declare i32 @counter_test(ptr noundef, ptr noundef, 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpauth4ik5.c' source_filename = "/tmp/tmpauth4ik5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Fqeh\00", align 1 @optind = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [24 x i8] c"File %s does not exists\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 br label %12 12: ; preds = %27, %2 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %5, align 8 %15 = call i32 @getopt(i32 noundef %13, ptr noundef %14, ptr noundef @.str) store i32 %15, ptr %7, align 4 %16 = icmp ne i32 %15, -1 br i1 %16, label %17, label %28 17: ; preds = %12 %18 = load i32, ptr %7, align 4 switch i32 %18, label %25 [ i32 70, label %19 i32 113, label %20 i32 101, label %21 i32 104, label %22 i32 63, label %24 ] 19: ; preds = %17 store i32 1, ptr %8, align 4 br label %27 20: ; preds = %17 store i32 1, ptr %9, align 4 br label %27 21: ; preds = %17 store i32 1, ptr %10, align 4 br label %27 22: ; preds = %17 %23 = call i32 (...) @usage() br label %27 24: ; preds = %17 br label %25 25: ; preds = %17, %24 %26 = call i32 (...) @usage() br label %27 27: ; preds = %25, %22, %21, %20, %19 br label %12, !llvm.loop !6 28: ; preds = %12 %29 = load i64, ptr @optind, align 8 %30 = load i32, ptr %4, align 4 %31 = sext i32 %30 to i64 %32 = sub nsw i64 %31, %29 %33 = trunc i64 %32 to i32 store i32 %33, ptr %4, align 4 %34 = load i64, ptr @optind, align 8 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 %34 store ptr %36, ptr %5, align 8 %37 = load i32, ptr %4, align 4 %38 = icmp ne i32 %37, 1 br i1 %38, label %39, label %41 39: ; preds = %28 %40 = call i32 (...) @usage() br label %41 41: ; preds = %39, %28 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 0 %44 = load ptr, ptr %43, align 8 %45 = call i32 @initialize_sequential_reads(ptr noundef %6, ptr noundef %44) %46 = icmp eq i32 %45, -1 br i1 %46, label %47, label %53 47: ; preds = %41 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 0 %50 = load ptr, ptr %49, align 8 %51 = call i32 @printf(ptr noundef @.str.1, ptr noundef %50) %52 = call i32 @exit(i32 noundef -1) #3 unreachable 53: ; preds = %41 %54 = load ptr, ptr %6, align 8 %55 = load i32, ptr %8, align 4 %56 = load i32, ptr %9, align 4 %57 = load i32, ptr %10, align 4 %58 = call i32 @print_file(ptr noundef %54, i32 noundef %55, i32 noundef %56, i32 noundef %57) store i32 %58, ptr %11, align 4 %59 = load ptr, ptr %6, align 8 %60 = call i32 @close_sequential_reads(ptr noundef %59) %61 = load i32, ptr %11, align 4 ret i32 %61 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @usage(...) #1 declare i32 @initialize_sequential_reads(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @print_file(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close_sequential_reads(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpauth4ik5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Fqeh\00", align 1 @optind = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [24 x i8] c"File %s does not exists\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %12 = load i32, ptr %4, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i32 @getopt(i32 noundef %12, ptr noundef %13, ptr noundef @.str) store i32 %14, ptr %7, align 4 %15 = icmp ne i32 %14, -1 br i1 %15, label %.lr.ph, label %31 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %26 %17 = load i32, ptr %7, align 4 switch i32 %17, label %24 [ i32 70, label %18 i32 113, label %19 i32 101, label %20 i32 104, label %21 i32 63, label %23 ] 18: ; preds = %16 store i32 1, ptr %8, align 4 br label %26 19: ; preds = %16 store i32 1, ptr %9, align 4 br label %26 20: ; preds = %16 store i32 1, ptr %10, align 4 br label %26 21: ; preds = %16 %22 = call i32 (...) @usage() br label %26 23: ; preds = %16 br label %24 24: ; preds = %23, %16 %25 = call i32 (...) @usage() br label %26 26: ; preds = %24, %21, %20, %19, %18 %27 = load i32, ptr %4, align 4 %28 = load ptr, ptr %5, align 8 %29 = call i32 @getopt(i32 noundef %27, ptr noundef %28, ptr noundef @.str) store i32 %29, ptr %7, align 4 %30 = icmp ne i32 %29, -1 br i1 %30, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %31 31: ; preds = %._crit_edge, %2 %32 = load i64, ptr @optind, align 8 %33 = load i32, ptr %4, align 4 %34 = sext i32 %33 to i64 %35 = sub nsw i64 %34, %32 %36 = trunc i64 %35 to i32 store i32 %36, ptr %4, align 4 %37 = load i64, ptr @optind, align 8 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 %37 store ptr %39, ptr %5, align 8 %40 = load i32, ptr %4, align 4 %41 = icmp ne i32 %40, 1 br i1 %41, label %42, label %44 42: ; preds = %31 %43 = call i32 (...) @usage() br label %44 44: ; preds = %42, %31 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 0 %47 = load ptr, ptr %46, align 8 %48 = call i32 @initialize_sequential_reads(ptr noundef %6, ptr noundef %47) %49 = icmp eq i32 %48, -1 br i1 %49, label %50, label %56 50: ; preds = %44 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds ptr, ptr %51, i64 0 %53 = load ptr, ptr %52, align 8 %54 = call i32 @printf(ptr noundef @.str.1, ptr noundef %53) %55 = call i32 @exit(i32 noundef -1) #3 unreachable 56: ; preds = %44 %57 = load ptr, ptr %6, align 8 %58 = load i32, ptr %8, align 4 %59 = load i32, ptr %9, align 4 %60 = load i32, ptr %10, align 4 %61 = call i32 @print_file(ptr noundef %57, i32 noundef %58, i32 noundef %59, i32 noundef %60) store i32 %61, ptr %11, align 4 %62 = load ptr, ptr %6, align 8 %63 = call i32 @close_sequential_reads(ptr noundef %62) %64 = load i32, ptr %11, align 4 ret i32 %64 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @usage(...) #1 declare i32 @initialize_sequential_reads(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @print_file(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close_sequential_reads(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp8wsswdym.c' source_filename = "/tmp/tmp8wsswdym.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TIOCMGET = dso_local global i32 0, align 4 @TIOCM_CAR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @serial_get_dcd(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @TIOCMGET, align 4 %6 = call i32 @ioctl(i32 noundef %4, i32 noundef %5, ptr noundef %3) %7 = load i32, ptr %3, align 4 %8 = load i32, ptr @TIOCM_CAR, align 4 %9 = and i32 %7, %8 ret i32 %9 } declare i32 @ioctl(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/tmp8wsswdym.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TIOCMGET = dso_local global i32 0, align 4 @TIOCM_CAR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @serial_get_dcd(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @TIOCMGET, align 4 %6 = call i32 @ioctl(i32 noundef %4, i32 noundef %5, ptr noundef %3) %7 = load i32, ptr %3, align 4 %8 = load i32, ptr @TIOCM_CAR, align 4 %9 = and i32 %7, %8 ret i32 %9 } declare i32 @ioctl(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/tmpstjpejxv.c' source_filename = "/tmp/tmpstjpejxv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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".\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"....\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"\0A|\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c" + |\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c" + \00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c" o |\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c" o \00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"\0A.\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c" \00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_current_position(ptr noundef %0, i32 noundef %1, i32 noundef %2, i16 noundef zeroext %3, i16 noundef zeroext %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %10 = alloca i16, align 2 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i16, align 2 %14 = alloca i16, align 2 %15 = alloca i16, align 2 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i16 %3, ptr %9, align 2 store i16 %4, ptr %10, align 2 store i16 4, ptr %13, align 2 store i16 2, ptr %14, align 2 %16 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %11, align 4 br label %17 17: ; preds = %23, %5 %18 = load i32, ptr %11, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %26 21: ; preds = %17 %22 = call i32 @printf(ptr noundef @.str.1) br label %23 23: ; preds = %21 %24 = load i32, ptr %11, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %11, align 4 br label %17, !llvm.loop !6 26: ; preds = %17 store i32 0, ptr %12, align 4 br label %27 27: ; preds = %132, %26 %28 = load i32, ptr %12, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %135 31: ; preds = %27 %32 = call i32 @printf(ptr noundef @.str.2) store i32 0, ptr %11, align 4 br label %33 33: ; preds = %94, %31 %34 = load i32, ptr %11, align 4 %35 = load i32, ptr %7, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %97 37: ; preds = %33 %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %12, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = load i32, ptr %11, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i16, ptr %42, i64 %44 %46 = load i16, ptr %45, align 2 %47 = zext i16 %46 to i32 %48 = load i16, ptr %13, align 2 %49 = zext i16 %48 to i32 %50 = and i32 %47, %49 %51 = trunc i32 %50 to i16 store i16 %51, ptr %15, align 2 %52 = load i16, ptr %9, align 2 %53 = zext i16 %52 to i32 %54 = load i32, ptr %11, align 4 %55 = icmp eq i32 %53, %54 br i1 %55, label %56, label %69 56: ; preds = %37 %57 = load i16, ptr %10, align 2 %58 = zext i16 %57 to i32 %59 = load i32, ptr %12, align 4 %60 = icmp eq i32 %58, %59 br i1 %60, label %61, label %69 61: ; preds = %56 %62 = load i16, ptr %15, align 2 %63 = zext i16 %62 to i32 %64 = load i16, ptr %13, align 2 %65 = zext i16 %64 to i32 %66 = icmp eq i32 %63, %65 br i1 %66, label %67, label %69 67: ; preds = %61 %68 = call i32 @printf(ptr noundef @.str.3) br label %93 69: ; preds = %61, %56, %37 %70 = load i16, ptr %9, align 2 %71 = zext i16 %70 to i32 %72 = load i32, ptr %11, align 4 %73 = icmp eq i32 %71, %72 br i1 %73, label %74, label %81 74: ; preds = %69 %75 = load i16, ptr %10, align 2 %76 = zext i16 %75 to i32 %77 = load i32, ptr %12, align 4 %78 = icmp eq i32 %76, %77 br i1 %78, label %79, label %81 79: ; preds = %74 %80 = call i32 @printf(ptr noundef @.str.4) br label %92 81: ; preds = %74, %69 %82 = load i16, ptr %15, align 2 %83 = zext i16 %82 to i32 %84 = load i16, ptr %13, align 2 %85 = zext i16 %84 to i32 %86 = icmp eq i32 %83, %85 br i1 %86, label %87, label %89 87: ; preds = %81 %88 = call i32 @printf(ptr noundef @.str.5) br label %91 89: ; preds = %81 %90 = call i32 @printf(ptr noundef @.str.6) br label %91 91: ; preds = %89, %87 br label %92 92: ; preds = %91, %79 br label %93 93: ; preds = %92, %67 br label %94 94: ; preds = %93 %95 = load i32, ptr %11, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %11, align 4 br label %33, !llvm.loop !8 97: ; preds = %33 %98 = call i32 @printf(ptr noundef @.str.7) store i32 0, ptr %11, align 4 br label %99 99: ; preds = %128, %97 %100 = load i32, ptr %11, align 4 %101 = load i32, ptr %7, align 4 %102 = icmp slt i32 %100, %101 br i1 %102, label %103, label %131 103: ; preds = %99 %104 = load ptr, ptr %6, align 8 %105 = load i32, ptr %12, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds ptr, ptr %104, i64 %106 %108 = load ptr, ptr %107, align 8 %109 = load i32, ptr %11, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i16, ptr %108, i64 %110 %112 = load i16, ptr %111, align 2 %113 = zext i16 %112 to i32 %114 = load i16, ptr %14, align 2 %115 = zext i16 %114 to i32 %116 = and i32 %113, %115 %117 = trunc i32 %116 to i16 store i16 %117, ptr %15, align 2 %118 = load i16, ptr %15, align 2 %119 = zext i16 %118 to i32 %120 = load i16, ptr %14, align 2 %121 = zext i16 %120 to i32 %122 = icmp eq i32 %119, %121 br i1 %122, label %123, label %125 123: ; preds = %103 %124 = call i32 @printf(ptr noundef @.str.1) br label %127 125: ; preds = %103 %126 = call i32 @printf(ptr noundef @.str.8) br label %127 127: ; preds = %125, %123 br label %128 128: ; preds = %127 %129 = load i32, ptr %11, align 4 %130 = add nsw i32 %129, 1 store i32 %130, ptr %11, align 4 br label %99, !llvm.loop !9 131: ; preds = %99 br label %132 132: ; preds = %131 %133 = load i32, ptr %12, align 4 %134 = add nsw i32 %133, 1 store i32 %134, ptr %12, align 4 br label %27, !llvm.loop !10 135: ; preds = %27 %136 = call i32 @printf(ptr noundef @.str.9) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpstjpejxv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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".\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"....\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"\0A|\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c" + |\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c" + \00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c" o |\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c" o \00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"\0A.\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c" \00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_current_position(ptr noundef %0, i32 noundef %1, i32 noundef %2, i16 noundef zeroext %3, i16 noundef zeroext %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %10 = alloca i16, align 2 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i16, align 2 %14 = alloca i16, align 2 %15 = alloca i16, align 2 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i16 %3, ptr %9, align 2 store i16 %4, ptr %10, align 2 store i16 4, ptr %13, align 2 store i16 2, ptr %14, align 2 %16 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %11, align 4 %17 = load i32, ptr %11, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph, label %28 .lr.ph: ; preds = %5 br label %20 20: ; preds = %.lr.ph, %22 %21 = call i32 @printf(ptr noundef @.str.1) br label %22 22: ; preds = %20 %23 = load i32, ptr %11, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %11, align 4 %25 = load i32, ptr %11, align 4 %26 = load i32, ptr %7, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %5 store i32 0, ptr %12, align 4 %29 = load i32, ptr %12, align 4 %30 = load i32, ptr %8, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph8, label %143 .lr.ph8: ; preds = %28 br label %32 32: ; preds = %.lr.ph8, %137 %33 = call i32 @printf(ptr noundef @.str.2) store i32 0, ptr %11, align 4 %34 = load i32, ptr %11, align 4 %35 = load i32, ptr %7, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %.lr.ph2, label %100 .lr.ph2: ; preds = %32 br label %37 37: ; preds = %.lr.ph2, %94 %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %12, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = load i32, ptr %11, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i16, ptr %42, i64 %44 %46 = load i16, ptr %45, align 2 %47 = zext i16 %46 to i32 %48 = load i16, ptr %13, align 2 %49 = zext i16 %48 to i32 %50 = and i32 %47, %49 %51 = trunc i32 %50 to i16 store i16 %51, ptr %15, align 2 %52 = load i16, ptr %9, align 2 %53 = zext i16 %52 to i32 %54 = load i32, ptr %11, align 4 %55 = icmp eq i32 %53, %54 br i1 %55, label %56, label %69 56: ; preds = %37 %57 = load i16, ptr %10, align 2 %58 = zext i16 %57 to i32 %59 = load i32, ptr %12, align 4 %60 = icmp eq i32 %58, %59 br i1 %60, label %61, label %69 61: ; preds = %56 %62 = load i16, ptr %15, align 2 %63 = zext i16 %62 to i32 %64 = load i16, ptr %13, align 2 %65 = zext i16 %64 to i32 %66 = icmp eq i32 %63, %65 br i1 %66, label %67, label %69 67: ; preds = %61 %68 = call i32 @printf(ptr noundef @.str.3) br label %93 69: ; preds = %61, %56, %37 %70 = load i16, ptr %9, align 2 %71 = zext i16 %70 to i32 %72 = load i32, ptr %11, align 4 %73 = icmp eq i32 %71, %72 br i1 %73, label %74, label %81 74: ; preds = %69 %75 = load i16, ptr %10, align 2 %76 = zext i16 %75 to i32 %77 = load i32, ptr %12, align 4 %78 = icmp eq i32 %76, %77 br i1 %78, label %79, label %81 79: ; preds = %74 %80 = call i32 @printf(ptr noundef @.str.4) br label %92 81: ; preds = %74, %69 %82 = load i16, ptr %15, align 2 %83 = zext i16 %82 to i32 %84 = load i16, ptr %13, align 2 %85 = zext i16 %84 to i32 %86 = icmp eq i32 %83, %85 br i1 %86, label %87, label %89 87: ; preds = %81 %88 = call i32 @printf(ptr noundef @.str.5) br label %91 89: ; preds = %81 %90 = call i32 @printf(ptr noundef @.str.6) br label %91 91: ; preds = %89, %87 br label %92 92: ; preds = %91, %79 br label %93 93: ; preds = %92, %67 br label %94 94: ; preds = %93 %95 = load i32, ptr %11, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %11, align 4 %97 = load i32, ptr %11, align 4 %98 = load i32, ptr %7, align 4 %99 = icmp slt i32 %97, %98 br i1 %99, label %37, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %94 br label %100 100: ; preds = %._crit_edge3, %32 %101 = call i32 @printf(ptr noundef @.str.7) store i32 0, ptr %11, align 4 %102 = load i32, ptr %11, align 4 %103 = load i32, ptr %7, align 4 %104 = icmp slt i32 %102, %103 br i1 %104, label %.lr.ph5, label %136 .lr.ph5: ; preds = %100 br label %105 105: ; preds = %.lr.ph5, %130 %106 = load ptr, ptr %6, align 8 %107 = load i32, ptr %12, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds ptr, ptr %106, i64 %108 %110 = load ptr, ptr %109, align 8 %111 = load i32, ptr %11, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i16, ptr %110, i64 %112 %114 = load i16, ptr %113, align 2 %115 = zext i16 %114 to i32 %116 = load i16, ptr %14, align 2 %117 = zext i16 %116 to i32 %118 = and i32 %115, %117 %119 = trunc i32 %118 to i16 store i16 %119, ptr %15, align 2 %120 = load i16, ptr %15, align 2 %121 = zext i16 %120 to i32 %122 = load i16, ptr %14, align 2 %123 = zext i16 %122 to i32 %124 = icmp eq i32 %121, %123 br i1 %124, label %125, label %127 125: ; preds = %105 %126 = call i32 @printf(ptr noundef @.str.1) br label %129 127: ; preds = %105 %128 = call i32 @printf(ptr noundef @.str.8) br label %129 129: ; preds = %127, %125 br label %130 130: ; preds = %129 %131 = load i32, ptr %11, align 4 %132 = add nsw i32 %131, 1 store i32 %132, ptr %11, align 4 %133 = load i32, ptr %11, align 4 %134 = load i32, ptr %7, align 4 %135 = icmp slt i32 %133, %134 br i1 %135, label %105, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %130 br label %136 136: ; preds = %._crit_edge6, %100 br label %137 137: ; preds = %136 %138 = load i32, ptr %12, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %12, align 4 %140 = load i32, ptr %12, align 4 %141 = load i32, ptr %8, align 4 %142 = icmp slt i32 %140, %141 br i1 %142, label %32, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %137 br label %143 143: ; preds = %._crit_edge9, %28 %144 = call i32 @printf(ptr noundef @.str.9) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpivdjillm.c' source_filename = "/tmp/tmpivdjillm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(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 = call i32 (...) @pong_main() ret i32 0 } declare i32 @pong_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/tmpivdjillm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(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 = call i32 (...) @pong_main() ret i32 0 } declare i32 @pong_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/tmp0mprkiiz.c' source_filename = "/tmp/tmp0mprkiiz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.vector_a = private unnamed_addr constant [5 x i32] [i32 10, i32 20, i32 30, i32 40, i32 50], align 16 @__const.main.vector_c = private unnamed_addr constant [10 x i32] [i32 10, i32 20, i32 30, i32 40, i32 50, i32 60, i32 70, i32 80, i32 90, i32 100], align 16 @.str = private unnamed_addr constant [11 x i8] c"[%d] = %d\0A\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 [5 x i32], align 16 %3 = alloca [10 x i32], align 16 %4 = alloca [10 x i32], align 16 %5 = alloca [10 x i32], align 16 %6 = alloca [10 x i32], align 16 %7 = alloca [10 x i32], align 16 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.vector_a, i64 20, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 40, i1 false) %9 = getelementptr inbounds [10 x i32], ptr %3, i32 0, i32 0 store i32 10, ptr %9, align 16 %10 = getelementptr inbounds [10 x i32], ptr %3, i32 0, i32 1 store i32 20, ptr %10, align 4 %11 = getelementptr inbounds [10 x i32], ptr %3, i32 0, i32 2 store i32 30, ptr %11, align 8 %12 = getelementptr inbounds [10 x i32], ptr %3, i32 0, i32 3 store i32 40, ptr %12, align 4 %13 = getelementptr inbounds [10 x i32], ptr %3, i32 0, i32 4 store i32 50, ptr %13, align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.vector_c, i64 40, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 40, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 40, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 40, i1 false) %14 = getelementptr inbounds [10 x i32], ptr %7, i32 0, i32 1 store i32 10, ptr %14, align 4 %15 = getelementptr inbounds [10 x i32], ptr %7, i32 0, i32 5 store i32 50, ptr %15, align 4 %16 = getelementptr inbounds [10 x i32], ptr %7, i32 0, i32 6 store i32 8, ptr %16, align 8 %17 = getelementptr inbounds [10 x i32], ptr %7, i32 0, i32 7 store i32 9, ptr %17, align 4 %18 = getelementptr inbounds [10 x i32], ptr %7, i32 0, i32 8 store i32 1, ptr %18, align 16 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %29, %0 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 10 br i1 %21, label %22, label %32 22: ; preds = %19 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %25 %27 = load i32, ptr %26, align 4 %28 = call i32 @printf(ptr noundef @.str, i32 noundef %23, i32 noundef %27) br label %29 29: ; preds = %22 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %8, align 4 br label %19, !llvm.loop !6 32: ; preds = %19 %33 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %33 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0mprkiiz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.vector_a = private unnamed_addr constant [5 x i32] [i32 10, i32 20, i32 30, i32 40, i32 50], align 16 @__const.main.vector_c = private unnamed_addr constant [10 x i32] [i32 10, i32 20, i32 30, i32 40, i32 50, i32 60, i32 70, i32 80, i32 90, i32 100], align 16 @.str = private unnamed_addr constant [11 x i8] c"[%d] = %d\0A\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 [5 x i32], align 16 %3 = alloca [10 x i32], align 16 %4 = alloca [10 x i32], align 16 %5 = alloca [10 x i32], align 16 %6 = alloca [10 x i32], align 16 %7 = alloca [10 x i32], align 16 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.vector_a, i64 20, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 40, i1 false) %9 = getelementptr inbounds [10 x i32], ptr %3, i32 0, i32 0 store i32 10, ptr %9, align 16 %10 = getelementptr inbounds [10 x i32], ptr %3, i32 0, i32 1 store i32 20, ptr %10, align 4 %11 = getelementptr inbounds [10 x i32], ptr %3, i32 0, i32 2 store i32 30, ptr %11, align 8 %12 = getelementptr inbounds [10 x i32], ptr %3, i32 0, i32 3 store i32 40, ptr %12, align 4 %13 = getelementptr inbounds [10 x i32], ptr %3, i32 0, i32 4 store i32 50, ptr %13, align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.vector_c, i64 40, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 40, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 40, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 40, i1 false) %14 = getelementptr inbounds [10 x i32], ptr %7, i32 0, i32 1 store i32 10, ptr %14, align 4 %15 = getelementptr inbounds [10 x i32], ptr %7, i32 0, i32 5 store i32 50, ptr %15, align 4 %16 = getelementptr inbounds [10 x i32], ptr %7, i32 0, i32 6 store i32 8, ptr %16, align 8 %17 = getelementptr inbounds [10 x i32], ptr %7, i32 0, i32 7 store i32 9, ptr %17, align 4 %18 = getelementptr inbounds [10 x i32], ptr %7, i32 0, i32 8 store i32 1, ptr %18, align 16 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 10 br i1 %20, label %.lr.ph, label %33 .lr.ph: ; preds = %0 br label %21 21: ; preds = %.lr.ph, %28 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %8, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %24 %26 = load i32, ptr %25, align 4 %27 = call i32 @printf(ptr noundef @.str, i32 noundef %22, i32 noundef %26) br label %28 28: ; preds = %21 %29 = load i32, ptr %8, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = icmp slt i32 %31, 10 br i1 %32, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %33 33: ; preds = %._crit_edge, %0 %34 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %34 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpn4ho5c9c.c' source_filename = "/tmp/tmpn4ho5c9c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"Welcome to Abncoin Repository\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn4ho5c9c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"Welcome to Abncoin Repository\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp036sj92_.c' source_filename = "/tmp/tmp036sj92_.c" target datalayout = "e-m:e-p270: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 @_IONBF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"Content-type:text/html\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"REQUEST_METHOD\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"POST\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"%s : %d\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [100 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca [110 x i8], align 16 %10 = 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 %11 = load i32, ptr @stdin, align 4 %12 = load i32, ptr @_IONBF, align 4 %13 = call i32 @setvbuf(i32 noundef %11, ptr noundef null, i32 noundef %12, i32 noundef 0) %14 = call i32 @printf(ptr noundef @.str) %15 = call ptr @getenv(ptr noundef @.str.1) store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str.2) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %40 19: ; preds = %2 %20 = getelementptr inbounds [110 x i8], ptr %9, i64 0, i64 0 %21 = load i32, ptr @stdin, align 4 %22 = call i32 @fgets(ptr noundef %20, i32 noundef 110, i32 noundef %21) %23 = getelementptr inbounds [110 x i8], ptr %9, i64 0, i64 0 %24 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %25 = call i32 @sscanf(ptr noundef %23, ptr noundef @.str.3, ptr noundef %24, ptr noundef %8) %26 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %27 = call i32 @strlen(ptr noundef %26) %28 = icmp sgt i32 %27, 99 br i1 %28, label %33, label %29 29: ; preds = %19 %30 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %31 = call i32 @strlen(ptr noundef %30) %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %29, %19 %34 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %34, ptr %3, align 4 br label %42 35: ; preds = %29 store ptr null, ptr %10, align 8 %36 = load ptr, ptr %10, align 8 %37 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %38 = load i32, ptr %8, align 4 %39 = call i32 @ajouterScore(ptr noundef %36, ptr noundef %37, i32 noundef %38) br label %40 40: ; preds = %35, %2 %41 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %41, ptr %3, align 4 br label %42 42: ; preds = %40, %33 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare ptr @getenv(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @ajouterScore(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/tmp036sj92_.c" target datalayout = "e-m:e-p270: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 @_IONBF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"Content-type:text/html\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"REQUEST_METHOD\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"POST\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"%s : %d\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [100 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca [110 x i8], align 16 %10 = 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 %11 = load i32, ptr @stdin, align 4 %12 = load i32, ptr @_IONBF, align 4 %13 = call i32 @setvbuf(i32 noundef %11, ptr noundef null, i32 noundef %12, i32 noundef 0) %14 = call i32 @printf(ptr noundef @.str) %15 = call ptr @getenv(ptr noundef @.str.1) store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str.2) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %40 19: ; preds = %2 %20 = getelementptr inbounds [110 x i8], ptr %9, i64 0, i64 0 %21 = load i32, ptr @stdin, align 4 %22 = call i32 @fgets(ptr noundef %20, i32 noundef 110, i32 noundef %21) %23 = getelementptr inbounds [110 x i8], ptr %9, i64 0, i64 0 %24 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %25 = call i32 @sscanf(ptr noundef %23, ptr noundef @.str.3, ptr noundef %24, ptr noundef %8) %26 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %27 = call i32 @strlen(ptr noundef %26) %28 = icmp sgt i32 %27, 99 br i1 %28, label %33, label %29 29: ; preds = %19 %30 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %31 = call i32 @strlen(ptr noundef %30) %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %29, %19 %34 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %34, ptr %3, align 4 br label %42 35: ; preds = %29 store ptr null, ptr %10, align 8 %36 = load ptr, ptr %10, align 8 %37 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0 %38 = load i32, ptr %8, align 4 %39 = call i32 @ajouterScore(ptr noundef %36, ptr noundef %37, i32 noundef %38) br label %40 40: ; preds = %35, %2 %41 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %41, ptr %3, align 4 br label %42 42: ; preds = %40, %33 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare ptr @getenv(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @ajouterScore(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/tmpi239sz27.c' source_filename = "/tmp/tmpi239sz27.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mtig_thread(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 (...) @mtig_test() ret ptr null } declare i32 @mtig_test(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi239sz27.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mtig_thread(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 (...) @mtig_test() ret ptr null } declare i32 @mtig_test(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr0xlw5ky.c' source_filename = "/tmp/tmpr0xlw5ky.c" target datalayout = "e-m:e-p270: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/tmpr0xlw5ky.c" target datalayout = "e-m:e-p270: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/tmp5yqfgph9.c' source_filename = "/tmp/tmp5yqfgph9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sumOfNumbersInString2(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [10 x ptr], align 16 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 80, i1 false) store i32 0, ptr %7, align 4 %9 = call i64 @malloc(i32 noundef 1) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %8, align 8 %12 = load ptr, ptr %2, align 8 %13 = call i32 @strcpy(ptr noundef %11, ptr noundef %12) br label %14 14: ; preds = %75, %1 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %78 22: ; preds = %14 %23 = load i32, ptr %4, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %34 28: ; preds = %22 %29 = call i64 @malloc(i32 noundef 1) %30 = inttoptr i64 %29 to ptr %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 %32 store ptr %30, ptr %33, align 8 br label %34 34: ; preds = %28, %22 %35 = load ptr, ptr %8, align 8 %36 = load i32, ptr %3, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp sge i32 %40, 48 br i1 %41, label %42, label %65 42: ; preds = %34 %43 = load ptr, ptr %8, align 8 %44 = load i32, ptr %3, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp sle i32 %48, 57 br i1 %49, label %50, label %65 50: ; preds = %42 %51 = load ptr, ptr %8, align 8 %52 = load i32, ptr %3, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 %55 = load i8, ptr %54, align 1 %56 = load i32, ptr %4, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 %57 %59 = load ptr, ptr %58, align 8 %60 = load i32, ptr %5, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 store i8 %55, ptr %62, align 1 %63 = load i32, ptr %5, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %5, align 4 br label %75 65: ; preds = %42, %34 %66 = load i32, ptr %4, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 %67 %69 = load ptr, ptr %68, align 8 %70 = load i32, ptr %5, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 store i8 0, ptr %72, align 1 %73 = load i32, ptr %4, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %75 75: ; preds = %65, %50 %76 = load i32, ptr %3, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %3, align 4 br label %14, !llvm.loop !6 78: ; preds = %14 br label %79 79: ; preds = %92, %78 %80 = load i32, ptr %4, align 4 %81 = icmp sge i32 %80, 0 br i1 %81, label %82, label %95 82: ; preds = %79 %83 = load i32, ptr %4, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 %84 %86 = load ptr, ptr %85, align 8 %87 = call i64 @atoi(ptr noundef %86) %88 = load i32, ptr %7, align 4 %89 = sext i32 %88 to i64 %90 = add nsw i64 %89, %87 %91 = trunc i64 %90 to i32 store i32 %91, ptr %7, align 4 br label %92 92: ; preds = %82 %93 = load i32, ptr %4, align 4 %94 = add nsw i32 %93, -1 store i32 %94, ptr %4, align 4 br label %79, !llvm.loop !8 95: ; preds = %79 %96 = load ptr, ptr %8, align 8 %97 = call i32 @free(ptr noundef %96) %98 = load i32, ptr %7, align 4 ret i32 %98 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i64 @malloc(i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i64 @atoi(ptr noundef) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5yqfgph9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sumOfNumbersInString2(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [10 x ptr], align 16 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 80, i1 false) store i32 0, ptr %7, align 4 %9 = call i64 @malloc(i32 noundef 1) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %8, align 8 %12 = load ptr, ptr %2, align 8 %13 = call i32 @strcpy(ptr noundef %11, ptr noundef %12) %14 = load ptr, ptr %8, align 8 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %.lr.ph, label %84 .lr.ph: ; preds = %1 br label %21 21: ; preds = %.lr.ph, %74 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %33 27: ; preds = %21 %28 = call i64 @malloc(i32 noundef 1) %29 = inttoptr i64 %28 to ptr %30 = load i32, ptr %4, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 %31 store ptr %29, ptr %32, align 8 br label %33 33: ; preds = %27, %21 %34 = load ptr, ptr %8, align 8 %35 = load i32, ptr %3, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp sge i32 %39, 48 br i1 %40, label %41, label %64 41: ; preds = %33 %42 = load ptr, ptr %8, align 8 %43 = load i32, ptr %3, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp sle i32 %47, 57 br i1 %48, label %49, label %64 49: ; preds = %41 %50 = load ptr, ptr %8, align 8 %51 = load i32, ptr %3, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = load i8, ptr %53, align 1 %55 = load i32, ptr %4, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 %56 %58 = load ptr, ptr %57, align 8 %59 = load i32, ptr %5, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 store i8 %54, ptr %61, align 1 %62 = load i32, ptr %5, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %5, align 4 br label %74 64: ; preds = %41, %33 %65 = load i32, ptr %4, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = load i32, ptr %5, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %68, i64 %70 store i8 0, ptr %71, align 1 %72 = load i32, ptr %4, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %74 74: ; preds = %64, %49 %75 = load i32, ptr %3, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %3, align 4 %77 = load ptr, ptr %8, align 8 %78 = load i32, ptr %3, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i8, ptr %77, i64 %79 %81 = load i8, ptr %80, align 1 %82 = sext i8 %81 to i32 %83 = icmp ne i32 %82, 0 br i1 %83, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %74 br label %84 84: ; preds = %._crit_edge, %1 %85 = load i32, ptr %4, align 4 %86 = icmp sge i32 %85, 0 br i1 %86, label %.lr.ph2, label %102 .lr.ph2: ; preds = %84 br label %87 87: ; preds = %.lr.ph2, %97 %88 = load i32, ptr %4, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 %89 %91 = load ptr, ptr %90, align 8 %92 = call i64 @atoi(ptr noundef %91) %93 = load i32, ptr %7, align 4 %94 = sext i32 %93 to i64 %95 = add nsw i64 %94, %92 %96 = trunc i64 %95 to i32 store i32 %96, ptr %7, align 4 br label %97 97: ; preds = %87 %98 = load i32, ptr %4, align 4 %99 = add nsw i32 %98, -1 store i32 %99, ptr %4, align 4 %100 = load i32, ptr %4, align 4 %101 = icmp sge i32 %100, 0 br i1 %101, label %87, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %97 br label %102 102: ; preds = %._crit_edge3, %84 %103 = load ptr, ptr %8, align 8 %104 = call i32 @free(ptr noundef %103) %105 = load i32, ptr %7, align 4 ret i32 %105 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i64 @malloc(i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i64 @atoi(ptr noundef) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpedysmsc3.c' source_filename = "/tmp/tmpedysmsc3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.x = private unnamed_addr constant [4 x float] [float 0x40091EB860000000, float 9.000000e+00, float 0.000000e+00, float 0x7FF8000000000000], align 16 @.str = private unnamed_addr constant [15 x i8] c"cbrt(%f) = %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x float], align 16 %3 = alloca float, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.x, i64 16, i1 false) store i32 0, ptr %4, align 4 br label %5 5: ; preds = %20, %0 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 4 br i1 %7, label %8, label %23 8: ; preds = %5 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 %10 %12 = load float, ptr %11, align 4 %13 = call float @stdlib_base_cbrtf(float noundef %12) store float %13, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 %15 %17 = load float, ptr %16, align 4 %18 = load float, ptr %3, align 4 %19 = call i32 @printf(ptr noundef @.str, float noundef %17, float noundef %18) br label %20 20: ; preds = %8 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 br label %5, !llvm.loop !6 23: ; preds = %5 %24 = load i32, ptr %1, align 4 ret i32 %24 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare float @stdlib_base_cbrtf(float noundef) #2 declare i32 @printf(ptr noundef, float noundef, float noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpedysmsc3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.x = private unnamed_addr constant [4 x float] [float 0x40091EB860000000, float 9.000000e+00, float 0.000000e+00, float 0x7FF8000000000000], align 16 @.str = private unnamed_addr constant [15 x i8] c"cbrt(%f) = %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x float], align 16 %3 = alloca float, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.x, i64 16, i1 false) store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp slt i32 %5, 4 br i1 %6, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %19 %8 = load i32, ptr %4, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 %9 %11 = load float, ptr %10, align 4 %12 = call float @stdlib_base_cbrtf(float noundef %11) store float %12, ptr %3, align 4 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 %14 %16 = load float, ptr %15, align 4 %17 = load float, ptr %3, align 4 %18 = call i32 @printf(ptr noundef @.str, float noundef %16, float noundef %17) br label %19 19: ; preds = %7 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %22, 4 br i1 %23, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %0 %25 = load i32, ptr %1, align 4 ret i32 %25 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare float @stdlib_base_cbrtf(float noundef) #2 declare i32 @printf(ptr noundef, float noundef, float noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkf296e2v.c' source_filename = "/tmp/tmpkf296e2v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stupid_sincosf_x86_fpu(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca double, align 8 %4 = alloca double, align 8 store float %0, ptr %2, align 4 %5 = load float, ptr %2, align 4 %6 = call i32 @sincos_x86_fpu(float noundef %5, ptr noundef %3, ptr noundef %4) %7 = load double, ptr %3, align 8 %8 = load double, ptr %4, align 8 %9 = fadd double %7, %8 %10 = fptrunc double %9 to float ret float %10 } declare i32 @sincos_x86_fpu(float 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/tmpkf296e2v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stupid_sincosf_x86_fpu(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca double, align 8 %4 = alloca double, align 8 store float %0, ptr %2, align 4 %5 = load float, ptr %2, align 4 %6 = call i32 @sincos_x86_fpu(float noundef %5, ptr noundef %3, ptr noundef %4) %7 = load double, ptr %3, align 8 %8 = load double, ptr %4, align 8 %9 = fadd double %7, %8 %10 = fptrunc double %9 to float ret float %10 } declare i32 @sincos_x86_fpu(float 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/tmpkjo0fw8g.c' source_filename = "/tmp/tmpkjo0fw8g.c" target datalayout = "e-m:e-p270: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/tmpkjo0fw8g.c" target datalayout = "e-m:e-p270: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/tmpnnad5iye.c' source_filename = "/tmp/tmpnnad5iye.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Usage:\0Aee24c02w.bin /dev/i2c string\00", align 1 @stdout = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"Failed to open the bus %s\0A\00", align 1 @I2C_SLAVE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [26 x i8] c"Cannot init chip address\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 3 br i1 %11, label %12, label %17 12: ; preds = %2 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = load i32, ptr @stdout, align 4 %15 = call i32 @fflush(i32 noundef %14) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = load i32, ptr @O_RDWR, align 4 %22 = call i32 @open(ptr noundef %20, i32 noundef %21) store i32 %22, ptr %6, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %30 24: ; preds = %17 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %26, align 8 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %27) %29 = call i32 @exit(i32 noundef 1) #3 unreachable 30: ; preds = %17 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr @I2C_SLAVE, align 4 %33 = call i64 @ioctl(i32 noundef %31, i32 noundef %32, i32 noundef 80) %34 = icmp slt i64 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %30 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %37 = call i32 @exit(i32 noundef 1) #3 unreachable 38: ; preds = %30 %39 = load i32, ptr %6, align 4 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 2 %42 = load ptr, ptr %41, align 8 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds ptr, ptr %43, i64 2 %45 = load ptr, ptr %44, align 8 %46 = call i32 @strlen(ptr noundef %45) %47 = call i32 @ee24c02_write(i32 noundef %39, i32 noundef 100, ptr noundef %42, i32 noundef %46) %48 = load i32, ptr %6, align 4 %49 = call i32 @close(i32 noundef %48) %50 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @ee24c02_write(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnnad5iye.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Usage:\0Aee24c02w.bin /dev/i2c string\00", align 1 @stdout = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"Failed to open the bus %s\0A\00", align 1 @I2C_SLAVE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [26 x i8] c"Cannot init chip address\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 3 br i1 %11, label %12, label %17 12: ; preds = %2 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = load i32, ptr @stdout, align 4 %15 = call i32 @fflush(i32 noundef %14) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = load i32, ptr @O_RDWR, align 4 %22 = call i32 @open(ptr noundef %20, i32 noundef %21) store i32 %22, ptr %6, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %30 24: ; preds = %17 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %26, align 8 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %27) %29 = call i32 @exit(i32 noundef 1) #3 unreachable 30: ; preds = %17 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr @I2C_SLAVE, align 4 %33 = call i64 @ioctl(i32 noundef %31, i32 noundef %32, i32 noundef 80) %34 = icmp slt i64 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %30 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %37 = call i32 @exit(i32 noundef 1) #3 unreachable 38: ; preds = %30 %39 = load i32, ptr %6, align 4 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 2 %42 = load ptr, ptr %41, align 8 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds ptr, ptr %43, i64 2 %45 = load ptr, ptr %44, align 8 %46 = call i32 @strlen(ptr noundef %45) %47 = call i32 @ee24c02_write(i32 noundef %39, i32 noundef 100, ptr noundef %42, i32 noundef %46) %48 = load i32, ptr %6, align 4 %49 = call i32 @close(i32 noundef %48) %50 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @ee24c02_write(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiglex1oh.c' source_filename = "/tmp/tmpiglex1oh.c" target datalayout = "e-m:e-p270: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/tmpiglex1oh.c" target datalayout = "e-m:e-p270: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/tmpp8hyev1m.c' source_filename = "/tmp/tmpp8hyev1m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Enter a, b, and n\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"With n = %d parabolas, our estimate\0A\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"of the area from %f to %f = %.15f\0A\00", align 1 @.str.5 = private unnamed_addr constant [61 x i8] c"The absolute vale of the difference between %f and %f is %d.\00", align 1 @.str.6 = private unnamed_addr constant [38 x i8] c"With n = %d trapezoids, our estimate\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4) %12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5) %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %6) %14 = load double, ptr %5, align 8 %15 = load double, ptr %4, align 8 %16 = fsub double %14, %15 %17 = load i32, ptr %6, align 4 %18 = sitofp i32 %17 to double %19 = fdiv double %16, %18 store double %19, ptr %7, align 8 %20 = load double, ptr %4, align 8 %21 = load double, ptr %5, align 8 %22 = load i32, ptr %6, align 4 %23 = load double, ptr %7, align 8 %24 = call double @Trap(double noundef %20, double noundef %21, i32 noundef %22, double noundef %23) store double %24, ptr %2, align 8 %25 = load i32, ptr %6, align 4 %26 = srem i32 %25, 2 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %49 28: ; preds = %0 %29 = load double, ptr %4, align 8 %30 = load double, ptr %5, align 8 %31 = load i32, ptr %6, align 4 %32 = load double, ptr %7, align 8 %33 = call double @Simp(double noundef %29, double noundef %30, i32 noundef %31, double noundef %32) store double %33, ptr %3, align 8 %34 = load i32, ptr %6, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %34) %36 = load double, ptr %4, align 8 %37 = load double, ptr %5, align 8 %38 = load double, ptr %3, align 8 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %36, double noundef %37, double noundef %38) %40 = load double, ptr %2, align 8 %41 = load double, ptr %3, align 8 %42 = fsub double %40, %41 store double %42, ptr %8, align 8 %43 = load double, ptr %8, align 8 %44 = call i32 @fabs(double noundef %43) store i32 %44, ptr %9, align 4 %45 = load double, ptr %2, align 8 %46 = load double, ptr %3, align 8 %47 = load i32, ptr %9, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %45, double noundef %46, i32 noundef %47) br label %49 49: ; preds = %28, %0 %50 = load i32, ptr %6, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %50) %52 = load double, ptr %4, align 8 %53 = load double, ptr %5, align 8 %54 = load double, ptr %2, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %52, double noundef %53, double noundef %54) %56 = call i32 @main() ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare double @Trap(double noundef, double noundef, i32 noundef, double noundef) #1 declare double @Simp(double noundef, double noundef, i32 noundef, double noundef) #1 declare i32 @fabs(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/tmpp8hyev1m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Enter a, b, and n\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"With n = %d parabolas, our estimate\0A\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"of the area from %f to %f = %.15f\0A\00", align 1 @.str.5 = private unnamed_addr constant [61 x i8] c"The absolute vale of the difference between %f and %f is %d.\00", align 1 @.str.6 = private unnamed_addr constant [38 x i8] c"With n = %d trapezoids, our estimate\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4) %12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5) %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %6) %14 = load double, ptr %5, align 8 %15 = load double, ptr %4, align 8 %16 = fsub double %14, %15 %17 = load i32, ptr %6, align 4 %18 = sitofp i32 %17 to double %19 = fdiv double %16, %18 store double %19, ptr %7, align 8 %20 = load double, ptr %4, align 8 %21 = load double, ptr %5, align 8 %22 = load i32, ptr %6, align 4 %23 = load double, ptr %7, align 8 %24 = call double @Trap(double noundef %20, double noundef %21, i32 noundef %22, double noundef %23) store double %24, ptr %2, align 8 %25 = load i32, ptr %6, align 4 %26 = srem i32 %25, 2 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %49 28: ; preds = %0 %29 = load double, ptr %4, align 8 %30 = load double, ptr %5, align 8 %31 = load i32, ptr %6, align 4 %32 = load double, ptr %7, align 8 %33 = call double @Simp(double noundef %29, double noundef %30, i32 noundef %31, double noundef %32) store double %33, ptr %3, align 8 %34 = load i32, ptr %6, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %34) %36 = load double, ptr %4, align 8 %37 = load double, ptr %5, align 8 %38 = load double, ptr %3, align 8 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %36, double noundef %37, double noundef %38) %40 = load double, ptr %2, align 8 %41 = load double, ptr %3, align 8 %42 = fsub double %40, %41 store double %42, ptr %8, align 8 %43 = load double, ptr %8, align 8 %44 = call i32 @fabs(double noundef %43) store i32 %44, ptr %9, align 4 %45 = load double, ptr %2, align 8 %46 = load double, ptr %3, align 8 %47 = load i32, ptr %9, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %45, double noundef %46, i32 noundef %47) br label %49 49: ; preds = %28, %0 %50 = load i32, ptr %6, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %50) %52 = load double, ptr %4, align 8 %53 = load double, ptr %5, align 8 %54 = load double, ptr %2, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %52, double noundef %53, double noundef %54) %56 = call i32 @main() ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare double @Trap(double noundef, double noundef, i32 noundef, double noundef) #1 declare double @Simp(double noundef, double noundef, i32 noundef, double noundef) #1 declare i32 @fabs(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/tmp2bihff2u.c' source_filename = "/tmp/tmp2bihff2u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2bihff2u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiry87d1v.c' source_filename = "/tmp/tmpiry87d1v.c" target datalayout = "e-m:e-p270: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/tmpiry87d1v.c" target datalayout = "e-m:e-p270: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/tmpt3fkfe8v.c' source_filename = "/tmp/tmpt3fkfe8v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @Z_OK = dso_local global i32 0, align 4 @Z_BUF_ERROR = dso_local global i32 0, align 4 @Z_DATA_ERROR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @comp_zlib_uncompress(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %12 = load ptr, ptr %7, align 8 %13 = load i32, ptr %12, align 4 store i32 %13, ptr %11, align 4 %14 = load ptr, ptr %6, align 8 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %9, align 4 %17 = call i32 @uncompress(ptr noundef %14, ptr noundef %11, ptr noundef %15, i32 noundef %16) store i32 %17, ptr %10, align 4 %18 = load i32, ptr %11, align 4 %19 = load ptr, ptr %7, align 8 store i32 %18, ptr %19, align 4 %20 = load i32, ptr %10, align 4 %21 = load i32, ptr @Z_OK, align 4 %22 = icmp eq i32 %20, %21 br i1 %22, label %23, label %24 23: ; preds = %4 store i32 0, ptr %5, align 4 br label %35 24: ; preds = %4 %25 = load i32, ptr %10, align 4 %26 = load i32, ptr @Z_BUF_ERROR, align 4 %27 = icmp eq i32 %25, %26 br i1 %27, label %28, label %29 28: ; preds = %24 store i32 1, ptr %5, align 4 br label %35 29: ; preds = %24 %30 = load i32, ptr %10, align 4 %31 = load i32, ptr @Z_DATA_ERROR, align 4 %32 = icmp eq i32 %30, %31 br i1 %32, label %33, label %34 33: ; preds = %29 store i32 2, ptr %5, align 4 br label %35 34: ; preds = %29 store i32 3, ptr %5, align 4 br label %35 35: ; preds = %34, %33, %28, %23 %36 = load i32, ptr %5, align 4 ret i32 %36 } declare i32 @uncompress(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/tmpt3fkfe8v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @Z_OK = dso_local global i32 0, align 4 @Z_BUF_ERROR = dso_local global i32 0, align 4 @Z_DATA_ERROR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @comp_zlib_uncompress(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %12 = load ptr, ptr %7, align 8 %13 = load i32, ptr %12, align 4 store i32 %13, ptr %11, align 4 %14 = load ptr, ptr %6, align 8 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %9, align 4 %17 = call i32 @uncompress(ptr noundef %14, ptr noundef %11, ptr noundef %15, i32 noundef %16) store i32 %17, ptr %10, align 4 %18 = load i32, ptr %11, align 4 %19 = load ptr, ptr %7, align 8 store i32 %18, ptr %19, align 4 %20 = load i32, ptr %10, align 4 %21 = load i32, ptr @Z_OK, align 4 %22 = icmp eq i32 %20, %21 br i1 %22, label %23, label %24 23: ; preds = %4 store i32 0, ptr %5, align 4 br label %35 24: ; preds = %4 %25 = load i32, ptr %10, align 4 %26 = load i32, ptr @Z_BUF_ERROR, align 4 %27 = icmp eq i32 %25, %26 br i1 %27, label %28, label %29 28: ; preds = %24 store i32 1, ptr %5, align 4 br label %35 29: ; preds = %24 %30 = load i32, ptr %10, align 4 %31 = load i32, ptr @Z_DATA_ERROR, align 4 %32 = icmp eq i32 %30, %31 br i1 %32, label %33, label %34 33: ; preds = %29 store i32 2, ptr %5, align 4 br label %35 34: ; preds = %29 store i32 3, ptr %5, align 4 br label %35 35: ; preds = %34, %33, %28, %23 %36 = load i32, ptr %5, align 4 ret i32 %36 } declare i32 @uncompress(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/tmpwzouj8o9.c' source_filename = "/tmp/tmpwzouj8o9.c" target datalayout = "e-m:e-p270: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/tmpwzouj8o9.c" target datalayout = "e-m:e-p270: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/tmpvm9_t0e8.c' source_filename = "/tmp/tmpvm9_t0e8.c" target datalayout = "e-m:e-p270: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/tmpvm9_t0e8.c" target datalayout = "e-m:e-p270: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/tmpkei409lw.c' source_filename = "/tmp/tmpkei409lw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"/tmp/slurm-spank-x11.%s\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [39 x i8] c"error: unable to build file reference\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"error: unable to open file %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"%256s\0A\00", align 1 @.str.5 = private unnamed_addr constant [52 x i8] c"warning: unable to read DISPLAY value from file %s\0A\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_display_ref(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca [256 x i8], align 16 %9 = alloca [256 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %11 = load ptr, ptr %4, align 8 %12 = call i32 @snprintf(ptr noundef %10, i32 noundef 256, ptr noundef @.str, ptr noundef %11) %13 = icmp sge i32 %12, 256 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = load i32, ptr @stderr, align 4 %16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.1) store i32 20, ptr %3, align 4 br label %45 17: ; preds = %2 %18 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.2) store ptr %19, ptr %7, align 8 %20 = load ptr, ptr %7, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %26 22: ; preds = %17 %23 = load i32, ptr @stderr, align 4 %24 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.3, ptr noundef %24) store i32 30, ptr %3, align 4 br label %45 26: ; preds = %17 %27 = load ptr, ptr %7, align 8 %28 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %29 = call i32 @fscanf(ptr noundef %27, ptr noundef @.str.4, ptr noundef %28) %30 = icmp ne i32 %29, 1 br i1 %30, label %31, label %35 31: ; preds = %26 %32 = load i32, ptr @stderr, align 4 %33 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @.str.5, ptr noundef %33) store i32 31, ptr %6, align 4 br label %41 35: ; preds = %26 %36 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %37 = call ptr @strdup(ptr noundef %36) %38 = load ptr, ptr %5, align 8 store ptr %37, ptr %38, align 8 %39 = load i32, ptr @stdout, align 4 %40 = call i32 @fflush(i32 noundef %39) store i32 0, ptr %6, align 4 br label %41 41: ; preds = %35, %31 %42 = load ptr, ptr %7, align 8 %43 = call i32 @fclose(ptr noundef %42) %44 = load i32, ptr %6, align 4 store i32 %44, ptr %3, align 4 br label %45 45: ; preds = %41, %22, %14 %46 = load i32, ptr %3, align 4 ret i32 %46 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkei409lw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"/tmp/slurm-spank-x11.%s\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [39 x i8] c"error: unable to build file reference\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"error: unable to open file %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"%256s\0A\00", align 1 @.str.5 = private unnamed_addr constant [52 x i8] c"warning: unable to read DISPLAY value from file %s\0A\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_display_ref(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca [256 x i8], align 16 %9 = alloca [256 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %11 = load ptr, ptr %4, align 8 %12 = call i32 @snprintf(ptr noundef %10, i32 noundef 256, ptr noundef @.str, ptr noundef %11) %13 = icmp sge i32 %12, 256 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = load i32, ptr @stderr, align 4 %16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.1) store i32 20, ptr %3, align 4 br label %45 17: ; preds = %2 %18 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.2) store ptr %19, ptr %7, align 8 %20 = load ptr, ptr %7, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %26 22: ; preds = %17 %23 = load i32, ptr @stderr, align 4 %24 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.3, ptr noundef %24) store i32 30, ptr %3, align 4 br label %45 26: ; preds = %17 %27 = load ptr, ptr %7, align 8 %28 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %29 = call i32 @fscanf(ptr noundef %27, ptr noundef @.str.4, ptr noundef %28) %30 = icmp ne i32 %29, 1 br i1 %30, label %31, label %35 31: ; preds = %26 %32 = load i32, ptr @stderr, align 4 %33 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @.str.5, ptr noundef %33) store i32 31, ptr %6, align 4 br label %41 35: ; preds = %26 %36 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %37 = call ptr @strdup(ptr noundef %36) %38 = load ptr, ptr %5, align 8 store ptr %37, ptr %38, align 8 %39 = load i32, ptr @stdout, align 4 %40 = call i32 @fflush(i32 noundef %39) store i32 0, ptr %6, align 4 br label %41 41: ; preds = %35, %31 %42 = load ptr, ptr %7, align 8 %43 = call i32 @fclose(ptr noundef %42) %44 = load i32, ptr %6, align 4 store i32 %44, ptr %3, align 4 br label %45 45: ; preds = %41, %22, %14 %46 = load i32, ptr %3, align 4 ret i32 %46 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp38gnhyg0.c' source_filename = "/tmp/tmp38gnhyg0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fgetcUTF8(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @fgetc(ptr noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr @EOF, align 4 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = load i32, ptr @EOF, align 4 store i32 %14, ptr %2, align 4 br label %55 15: ; preds = %1 %16 = load i32, ptr %5, align 4 %17 = and i32 %16, 128 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = load i32, ptr %5, align 4 store i32 %20, ptr %2, align 4 br label %55 21: ; preds = %15 %22 = load i32, ptr %5, align 4 %23 = and i32 %22, 127 %24 = shl i32 %23, 1 store i32 %24, ptr %5, align 4 store i32 0, ptr %7, align 4 store i32 -1, ptr %4, align 4 br label %25 25: ; preds = %37, %21 %26 = load i32, ptr %5, align 4 %27 = and i32 %26, 128 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %48 29: ; preds = %25 %30 = load ptr, ptr %3, align 8 %31 = call i32 @fgetc(ptr noundef %30) store i32 %31, ptr %6, align 4 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr @EOF, align 4 %34 = icmp eq i32 %32, %33 br i1 %34, label %35, label %37 35: ; preds = %29 %36 = load i32, ptr @EOF, align 4 store i32 %36, ptr %2, align 4 br label %55 37: ; preds = %29 %38 = load i32, ptr %7, align 4 %39 = shl i32 %38, 6 %40 = load i32, ptr %6, align 4 %41 = and i32 %40, 63 %42 = or i32 %39, %41 store i32 %42, ptr %7, align 4 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, 5 store i32 %44, ptr %4, align 4 %45 = load i32, ptr %5, align 4 %46 = and i32 %45, 127 %47 = shl i32 %46, 1 store i32 %47, ptr %5, align 4 br label %25, !llvm.loop !6 48: ; preds = %25 %49 = load i32, ptr %7, align 4 %50 = load i32, ptr %5, align 4 %51 = load i32, ptr %4, align 4 %52 = shl i32 %50, %51 %53 = or i32 %49, %52 store i32 %53, ptr %7, align 4 %54 = load i32, ptr %7, align 4 store i32 %54, ptr %2, align 4 br label %55 55: ; preds = %48, %35, %19, %13 %56 = load i32, ptr %2, align 4 ret i32 %56 } declare i32 @fgetc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp38gnhyg0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fgetcUTF8(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @fgetc(ptr noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr @EOF, align 4 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = load i32, ptr @EOF, align 4 store i32 %14, ptr %2, align 4 br label %57 15: ; preds = %1 %16 = load i32, ptr %5, align 4 %17 = and i32 %16, 128 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = load i32, ptr %5, align 4 store i32 %20, ptr %2, align 4 br label %57 21: ; preds = %15 %22 = load i32, ptr %5, align 4 %23 = and i32 %22, 127 %24 = shl i32 %23, 1 store i32 %24, ptr %5, align 4 store i32 0, ptr %7, align 4 store i32 -1, ptr %4, align 4 %25 = load i32, ptr %5, align 4 %26 = and i32 %25, 128 %27 = icmp ne i32 %26, 0 br i1 %27, label %.lr.ph, label %50 .lr.ph: ; preds = %21 br label %28 28: ; preds = %.lr.ph, %36 %29 = load ptr, ptr %3, align 8 %30 = call i32 @fgetc(ptr noundef %29) store i32 %30, ptr %6, align 4 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr @EOF, align 4 %33 = icmp eq i32 %31, %32 br i1 %33, label %34, label %36 34: ; preds = %28 %35 = load i32, ptr @EOF, align 4 store i32 %35, ptr %2, align 4 br label %57 36: ; preds = %28 %37 = load i32, ptr %7, align 4 %38 = shl i32 %37, 6 %39 = load i32, ptr %6, align 4 %40 = and i32 %39, 63 %41 = or i32 %38, %40 store i32 %41, ptr %7, align 4 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, 5 store i32 %43, ptr %4, align 4 %44 = load i32, ptr %5, align 4 %45 = and i32 %44, 127 %46 = shl i32 %45, 1 store i32 %46, ptr %5, align 4 %47 = load i32, ptr %5, align 4 %48 = and i32 %47, 128 %49 = icmp ne i32 %48, 0 br i1 %49, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %50 50: ; preds = %._crit_edge, %21 %51 = load i32, ptr %7, align 4 %52 = load i32, ptr %5, align 4 %53 = load i32, ptr %4, align 4 %54 = shl i32 %52, %53 %55 = or i32 %51, %54 store i32 %55, ptr %7, align 4 %56 = load i32, ptr %7, align 4 store i32 %56, ptr %2, align 4 br label %57 57: ; preds = %50, %34, %19, %13 %58 = load i32, ptr %2, align 4 ret i32 %58 } declare i32 @fgetc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpahx30rwt.c' source_filename = "/tmp/tmpahx30rwt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @base_stack(i64 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i64, align 8 %18 = alloca [4 x double], align 16 %19 = alloca [4 x double], align 16 %20 = alloca [4 x double], align 16 %21 = alloca double, align 8 store i64 %0, ptr %9, align 8 store i64 %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 %22 = load ptr, ptr %16, align 8 store i64 0, ptr %22, align 8 %23 = load i64, ptr %9, align 8 %24 = load ptr, ptr %12, align 8 %25 = load ptr, ptr %11, align 8 %26 = load ptr, ptr %13, align 8 %27 = load ptr, ptr %14, align 8 %28 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 0 %29 = call i32 @ring_center(i64 noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28) %30 = load i64, ptr %10, align 8 %31 = load ptr, ptr %12, align 8 %32 = load ptr, ptr %11, align 8 %33 = load ptr, ptr %13, align 8 %34 = load ptr, ptr %14, align 8 %35 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 0 %36 = call i32 @ring_center(i64 noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35) store i64 1, ptr %17, align 8 br label %37 37: ; preds = %50, %8 %38 = load i64, ptr %17, align 8 %39 = icmp sle i64 %38, 3 br i1 %39, label %40, label %53 40: ; preds = %37 %41 = load i64, ptr %17, align 8 %42 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 %41 %43 = load double, ptr %42, align 8 %44 = load i64, ptr %17, align 8 %45 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 %44 %46 = load double, ptr %45, align 8 %47 = fsub double %43, %46 %48 = load i64, ptr %17, align 8 %49 = getelementptr inbounds [4 x double], ptr %20, i64 0, i64 %48 store double %47, ptr %49, align 8 br label %50 50: ; preds = %40 %51 = load i64, ptr %17, align 8 %52 = add nsw i64 %51, 1 store i64 %52, ptr %17, align 8 br label %37, !llvm.loop !6 53: ; preds = %37 %54 = getelementptr inbounds [4 x double], ptr %20, i64 0, i64 0 %55 = call double @veclen(ptr noundef %54) store double %55, ptr %21, align 8 %56 = load ptr, ptr %11, align 8 %57 = load i64, ptr %9, align 8 %58 = getelementptr inbounds i8, ptr %56, i64 %57 %59 = load i8, ptr %58, align 1 %60 = call signext i8 @toupper(i8 noundef signext %59) %61 = sext i8 %60 to i32 %62 = icmp eq i32 %61, 67 br i1 %62, label %79, label %63 63: ; preds = %53 %64 = load ptr, ptr %11, align 8 %65 = load i64, ptr %9, align 8 %66 = getelementptr inbounds i8, ptr %64, i64 %65 %67 = load i8, ptr %66, align 1 %68 = call signext i8 @toupper(i8 noundef signext %67) %69 = sext i8 %68 to i32 %70 = icmp eq i32 %69, 85 br i1 %70, label %79, label %71 71: ; preds = %63 %72 = load ptr, ptr %11, align 8 %73 = load i64, ptr %9, align 8 %74 = getelementptr inbounds i8, ptr %72, i64 %73 %75 = load i8, ptr %74, align 1 %76 = call signext i8 @toupper(i8 noundef signext %75) %77 = sext i8 %76 to i32 %78 = icmp eq i32 %77, 84 br i1 %78, label %79, label %144 79: ; preds = %71, %63, %53 %80 = load ptr, ptr %11, align 8 %81 = load i64, ptr %10, align 8 %82 = getelementptr inbounds i8, ptr %80, i64 %81 %83 = load i8, ptr %82, align 1 %84 = call signext i8 @toupper(i8 noundef signext %83) %85 = sext i8 %84 to i32 %86 = icmp eq i32 %85, 67 br i1 %86, label %103, label %87 87: ; preds = %79 %88 = load ptr, ptr %11, align 8 %89 = load i64, ptr %10, align 8 %90 = getelementptr inbounds i8, ptr %88, i64 %89 %91 = load i8, ptr %90, align 1 %92 = call signext i8 @toupper(i8 noundef signext %91) %93 = sext i8 %92 to i32 %94 = icmp eq i32 %93, 85 br i1 %94, label %103, label %95 95: ; preds = %87 %96 = load ptr, ptr %11, align 8 %97 = load i64, ptr %10, align 8 %98 = getelementptr inbounds i8, ptr %96, i64 %97 %99 = load i8, ptr %98, align 1 %100 = call signext i8 @toupper(i8 noundef signext %99) %101 = sext i8 %100 to i32 %102 = icmp eq i32 %101, 84 br i1 %102, label %103, label %144 103: ; preds = %95, %87, %79 %104 = load ptr, ptr %15, align 8 %105 = getelementptr inbounds double, ptr %104, i64 2 %106 = load double, ptr %105, align 8 %107 = fcmp ogt double %106, 2.300000e+00 br i1 %107, label %108, label %114 108: ; preds = %103 %109 = load double, ptr %21, align 8 %110 = fcmp olt double %109, 5.600000e+00 br i1 %110, label %111, label %113 111: ; preds = %108 %112 = load ptr, ptr %16, align 8 store i64 1, ptr %112, align 8 br label %185 113: ; preds = %108 br label %143 114: ; preds = %103 %115 = load ptr, ptr %15, align 8 %116 = getelementptr inbounds double, ptr %115, i64 2 %117 = load double, ptr %116, align 8 %118 = fcmp ole double %117, 2.300000e+00 br i1 %118, label %119, label %130 119: ; preds = %114 %120 = load ptr, ptr %15, align 8 %121 = getelementptr inbounds double, ptr %120, i64 2 %122 = load double, ptr %121, align 8 %123 = fcmp oge double %122, 1.900000e+00 br i1 %123, label %124, label %130 124: ; preds = %119 %125 = load double, ptr %21, align 8 %126 = fcmp olt double %125, 5.500000e+00 br i1 %126, label %127, label %129 127: ; preds = %124 %128 = load ptr, ptr %16, align 8 store i64 1, ptr %128, align 8 br label %185 129: ; preds = %124 br label %142 130: ; preds = %119, %114 %131 = load ptr, ptr %15, align 8 %132 = getelementptr inbounds double, ptr %131, i64 2 %133 = load double, ptr %132, align 8 %134 = fcmp olt double %133, 1.900000e+00 br i1 %134, label %135, label %141 135: ; preds = %130 %136 = load double, ptr %21, align 8 %137 = fcmp olt double %136, 5.000000e+00 br i1 %137, label %138, label %140 138: ; preds = %135 %139 = load ptr, ptr %16, align 8 store i64 1, ptr %139, align 8 br label %185 140: ; preds = %135 br label %141 141: ; preds = %140, %130 br label %142 142: ; preds = %141, %129 br label %143 143: ; preds = %142, %113 br label %185 144: ; preds = %95, %71 %145 = load ptr, ptr %15, align 8 %146 = getelementptr inbounds double, ptr %145, i64 2 %147 = load double, ptr %146, align 8 %148 = fcmp ogt double %147, 2.300000e+00 br i1 %148, label %149, label %155 149: ; preds = %144 %150 = load double, ptr %21, align 8 %151 = fcmp olt double %150, 5.800000e+00 br i1 %151, label %152, label %154 152: ; preds = %149 %153 = load ptr, ptr %16, align 8 store i64 1, ptr %153, align 8 br label %185 154: ; preds = %149 br label %184 155: ; preds = %144 %156 = load ptr, ptr %15, align 8 %157 = getelementptr inbounds double, ptr %156, i64 2 %158 = load double, ptr %157, align 8 %159 = fcmp ole double %158, 2.300000e+00 br i1 %159, label %160, label %171 160: ; preds = %155 %161 = load ptr, ptr %15, align 8 %162 = getelementptr inbounds double, ptr %161, i64 2 %163 = load double, ptr %162, align 8 %164 = fcmp oge double %163, 1.900000e+00 br i1 %164, label %165, label %171 165: ; preds = %160 %166 = load double, ptr %21, align 8 %167 = fcmp olt double %166, 5.700000e+00 br i1 %167, label %168, label %170 168: ; preds = %165 %169 = load ptr, ptr %16, align 8 store i64 1, ptr %169, align 8 br label %185 170: ; preds = %165 br label %183 171: ; preds = %160, %155 %172 = load ptr, ptr %15, align 8 %173 = getelementptr inbounds double, ptr %172, i64 2 %174 = load double, ptr %173, align 8 %175 = fcmp olt double %174, 1.900000e+00 br i1 %175, label %176, label %182 176: ; preds = %171 %177 = load double, ptr %21, align 8 %178 = fcmp olt double %177, 5.400000e+00 br i1 %178, label %179, label %181 179: ; preds = %176 %180 = load ptr, ptr %16, align 8 store i64 1, ptr %180, align 8 br label %185 181: ; preds = %176 br label %182 182: ; preds = %181, %171 br label %183 183: ; preds = %182, %170 br label %184 184: ; preds = %183, %154 br label %185 185: ; preds = %111, %127, %138, %152, %168, %179, %184, %143 ret void } declare i32 @ring_center(i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @veclen(ptr noundef) #1 declare signext i8 @toupper(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpahx30rwt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @base_stack(i64 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i64, align 8 %18 = alloca [4 x double], align 16 %19 = alloca [4 x double], align 16 %20 = alloca [4 x double], align 16 %21 = alloca double, align 8 store i64 %0, ptr %9, align 8 store i64 %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 %22 = load ptr, ptr %16, align 8 store i64 0, ptr %22, align 8 %23 = load i64, ptr %9, align 8 %24 = load ptr, ptr %12, align 8 %25 = load ptr, ptr %11, align 8 %26 = load ptr, ptr %13, align 8 %27 = load ptr, ptr %14, align 8 %28 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 0 %29 = call i32 @ring_center(i64 noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28) %30 = load i64, ptr %10, align 8 %31 = load ptr, ptr %12, align 8 %32 = load ptr, ptr %11, align 8 %33 = load ptr, ptr %13, align 8 %34 = load ptr, ptr %14, align 8 %35 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 0 %36 = call i32 @ring_center(i64 noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35) store i64 1, ptr %17, align 8 %37 = load i64, ptr %17, align 8 %38 = icmp sle i64 %37, 3 br i1 %38, label %.lr.ph, label %54 .lr.ph: ; preds = %8 br label %39 39: ; preds = %.lr.ph, %49 %40 = load i64, ptr %17, align 8 %41 = getelementptr inbounds [4 x double], ptr %19, i64 0, i64 %40 %42 = load double, ptr %41, align 8 %43 = load i64, ptr %17, align 8 %44 = getelementptr inbounds [4 x double], ptr %18, i64 0, i64 %43 %45 = load double, ptr %44, align 8 %46 = fsub double %42, %45 %47 = load i64, ptr %17, align 8 %48 = getelementptr inbounds [4 x double], ptr %20, i64 0, i64 %47 store double %46, ptr %48, align 8 br label %49 49: ; preds = %39 %50 = load i64, ptr %17, align 8 %51 = add nsw i64 %50, 1 store i64 %51, ptr %17, align 8 %52 = load i64, ptr %17, align 8 %53 = icmp sle i64 %52, 3 br i1 %53, label %39, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %54 54: ; preds = %._crit_edge, %8 %55 = getelementptr inbounds [4 x double], ptr %20, i64 0, i64 0 %56 = call double @veclen(ptr noundef %55) store double %56, ptr %21, align 8 %57 = load ptr, ptr %11, align 8 %58 = load i64, ptr %9, align 8 %59 = getelementptr inbounds i8, ptr %57, i64 %58 %60 = load i8, ptr %59, align 1 %61 = call signext i8 @toupper(i8 noundef signext %60) %62 = sext i8 %61 to i32 %63 = icmp eq i32 %62, 67 br i1 %63, label %80, label %64 64: ; preds = %54 %65 = load ptr, ptr %11, align 8 %66 = load i64, ptr %9, align 8 %67 = getelementptr inbounds i8, ptr %65, i64 %66 %68 = load i8, ptr %67, align 1 %69 = call signext i8 @toupper(i8 noundef signext %68) %70 = sext i8 %69 to i32 %71 = icmp eq i32 %70, 85 br i1 %71, label %80, label %72 72: ; preds = %64 %73 = load ptr, ptr %11, align 8 %74 = load i64, ptr %9, align 8 %75 = getelementptr inbounds i8, ptr %73, i64 %74 %76 = load i8, ptr %75, align 1 %77 = call signext i8 @toupper(i8 noundef signext %76) %78 = sext i8 %77 to i32 %79 = icmp eq i32 %78, 84 br i1 %79, label %80, label %145 80: ; preds = %72, %64, %54 %81 = load ptr, ptr %11, align 8 %82 = load i64, ptr %10, align 8 %83 = getelementptr inbounds i8, ptr %81, i64 %82 %84 = load i8, ptr %83, align 1 %85 = call signext i8 @toupper(i8 noundef signext %84) %86 = sext i8 %85 to i32 %87 = icmp eq i32 %86, 67 br i1 %87, label %104, label %88 88: ; preds = %80 %89 = load ptr, ptr %11, align 8 %90 = load i64, ptr %10, align 8 %91 = getelementptr inbounds i8, ptr %89, i64 %90 %92 = load i8, ptr %91, align 1 %93 = call signext i8 @toupper(i8 noundef signext %92) %94 = sext i8 %93 to i32 %95 = icmp eq i32 %94, 85 br i1 %95, label %104, label %96 96: ; preds = %88 %97 = load ptr, ptr %11, align 8 %98 = load i64, ptr %10, align 8 %99 = getelementptr inbounds i8, ptr %97, i64 %98 %100 = load i8, ptr %99, align 1 %101 = call signext i8 @toupper(i8 noundef signext %100) %102 = sext i8 %101 to i32 %103 = icmp eq i32 %102, 84 br i1 %103, label %104, label %145 104: ; preds = %96, %88, %80 %105 = load ptr, ptr %15, align 8 %106 = getelementptr inbounds double, ptr %105, i64 2 %107 = load double, ptr %106, align 8 %108 = fcmp ogt double %107, 2.300000e+00 br i1 %108, label %109, label %115 109: ; preds = %104 %110 = load double, ptr %21, align 8 %111 = fcmp olt double %110, 5.600000e+00 br i1 %111, label %112, label %114 112: ; preds = %109 %113 = load ptr, ptr %16, align 8 store i64 1, ptr %113, align 8 br label %186 114: ; preds = %109 br label %144 115: ; preds = %104 %116 = load ptr, ptr %15, align 8 %117 = getelementptr inbounds double, ptr %116, i64 2 %118 = load double, ptr %117, align 8 %119 = fcmp ole double %118, 2.300000e+00 br i1 %119, label %120, label %131 120: ; preds = %115 %121 = load ptr, ptr %15, align 8 %122 = getelementptr inbounds double, ptr %121, i64 2 %123 = load double, ptr %122, align 8 %124 = fcmp oge double %123, 1.900000e+00 br i1 %124, label %125, label %131 125: ; preds = %120 %126 = load double, ptr %21, align 8 %127 = fcmp olt double %126, 5.500000e+00 br i1 %127, label %128, label %130 128: ; preds = %125 %129 = load ptr, ptr %16, align 8 store i64 1, ptr %129, align 8 br label %186 130: ; preds = %125 br label %143 131: ; preds = %120, %115 %132 = load ptr, ptr %15, align 8 %133 = getelementptr inbounds double, ptr %132, i64 2 %134 = load double, ptr %133, align 8 %135 = fcmp olt double %134, 1.900000e+00 br i1 %135, label %136, label %142 136: ; preds = %131 %137 = load double, ptr %21, align 8 %138 = fcmp olt double %137, 5.000000e+00 br i1 %138, label %139, label %141 139: ; preds = %136 %140 = load ptr, ptr %16, align 8 store i64 1, ptr %140, align 8 br label %186 141: ; preds = %136 br label %142 142: ; preds = %141, %131 br label %143 143: ; preds = %142, %130 br label %144 144: ; preds = %143, %114 br label %186 145: ; preds = %96, %72 %146 = load ptr, ptr %15, align 8 %147 = getelementptr inbounds double, ptr %146, i64 2 %148 = load double, ptr %147, align 8 %149 = fcmp ogt double %148, 2.300000e+00 br i1 %149, label %150, label %156 150: ; preds = %145 %151 = load double, ptr %21, align 8 %152 = fcmp olt double %151, 5.800000e+00 br i1 %152, label %153, label %155 153: ; preds = %150 %154 = load ptr, ptr %16, align 8 store i64 1, ptr %154, align 8 br label %186 155: ; preds = %150 br label %185 156: ; preds = %145 %157 = load ptr, ptr %15, align 8 %158 = getelementptr inbounds double, ptr %157, i64 2 %159 = load double, ptr %158, align 8 %160 = fcmp ole double %159, 2.300000e+00 br i1 %160, label %161, label %172 161: ; preds = %156 %162 = load ptr, ptr %15, align 8 %163 = getelementptr inbounds double, ptr %162, i64 2 %164 = load double, ptr %163, align 8 %165 = fcmp oge double %164, 1.900000e+00 br i1 %165, label %166, label %172 166: ; preds = %161 %167 = load double, ptr %21, align 8 %168 = fcmp olt double %167, 5.700000e+00 br i1 %168, label %169, label %171 169: ; preds = %166 %170 = load ptr, ptr %16, align 8 store i64 1, ptr %170, align 8 br label %186 171: ; preds = %166 br label %184 172: ; preds = %161, %156 %173 = load ptr, ptr %15, align 8 %174 = getelementptr inbounds double, ptr %173, i64 2 %175 = load double, ptr %174, align 8 %176 = fcmp olt double %175, 1.900000e+00 br i1 %176, label %177, label %183 177: ; preds = %172 %178 = load double, ptr %21, align 8 %179 = fcmp olt double %178, 5.400000e+00 br i1 %179, label %180, label %182 180: ; preds = %177 %181 = load ptr, ptr %16, align 8 store i64 1, ptr %181, align 8 br label %186 182: ; preds = %177 br label %183 183: ; preds = %182, %172 br label %184 184: ; preds = %183, %171 br label %185 185: ; preds = %184, %155 br label %186 186: ; preds = %185, %180, %169, %153, %144, %139, %128, %112 ret void } declare i32 @ring_center(i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @veclen(ptr noundef) #1 declare signext i8 @toupper(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppuzq4mrx.c' source_filename = "/tmp/tmppuzq4mrx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_float(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = sitofp i32 %3 to float %5 = call i32 @printf(ptr noundef @.str, float noundef %4) ret void } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppuzq4mrx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_float(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = sitofp i32 %3 to float %5 = call i32 @printf(ptr noundef @.str, float noundef %4) ret void } 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"}
; ModuleID = '/tmp/tmpjru8_9f4.c' source_filename = "/tmp/tmpjru8_9f4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [8 x ptr], align 16 %9 = alloca i8, align 1 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = call i32 @atoi(ptr noundef %12) store i32 %13, ptr %7, align 4 %14 = call i32 @srandom(i32 noundef 101173) store i32 0, ptr %5, align 4 br label %15 15: ; preds = %50, %2 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %53 19: ; preds = %15 store i32 0, ptr %6, align 4 br label %20 20: ; preds = %45, %19 %21 = load i32, ptr %6, align 4 %22 = icmp slt i32 %21, 8 br i1 %22, label %23, label %48 23: ; preds = %20 %24 = call i32 (...) @random() %25 = srem i32 %24, 122 %26 = trunc i32 %25 to i8 store i8 %26, ptr %9, align 1 br label %27 27: ; preds = %31, %23 %28 = load i8, ptr %9, align 1 %29 = sext i8 %28 to i32 %30 = icmp slt i32 %29, 48 br i1 %30, label %31, label %41 31: ; preds = %27 %32 = call i32 (...) @random() %33 = load i8, ptr %9, align 1 %34 = sext i8 %33 to i32 %35 = sub nsw i32 122, %34 %36 = srem i32 %32, %35 %37 = load i8, ptr %9, align 1 %38 = sext i8 %37 to i32 %39 = add nsw i32 %38, %36 %40 = trunc i32 %39 to i8 store i8 %40, ptr %9, align 1 br label %27, !llvm.loop !6 41: ; preds = %27 %42 = load i8, ptr %9, align 1 %43 = sext i8 %42 to i32 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %43) br label %45 45: ; preds = %41 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %6, align 4 br label %20, !llvm.loop !8 48: ; preds = %20 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %50 50: ; preds = %48 %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %5, align 4 br label %15, !llvm.loop !9 53: ; preds = %15 ret void } declare i32 @atoi(ptr noundef) #1 declare i32 @srandom(i32 noundef) #1 declare i32 @random(...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjru8_9f4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [8 x ptr], align 16 %9 = alloca i8, align 1 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = call i32 @atoi(ptr noundef %12) store i32 %13, ptr %7, align 4 %14 = call i32 @srandom(i32 noundef 101173) store i32 0, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph5, label %58 .lr.ph5: ; preds = %2 br label %18 18: ; preds = %.lr.ph5, %52 store i32 0, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %19, 8 br i1 %20, label %.lr.ph2, label %50 .lr.ph2: ; preds = %18 br label %21 21: ; preds = %.lr.ph2, %45 %22 = call i32 (...) @random() %23 = srem i32 %22, 122 %24 = trunc i32 %23 to i8 store i8 %24, ptr %9, align 1 %25 = load i8, ptr %9, align 1 %26 = sext i8 %25 to i32 %27 = icmp slt i32 %26, 48 br i1 %27, label %.lr.ph, label %41 .lr.ph: ; preds = %21 br label %28 28: ; preds = %.lr.ph, %28 %29 = call i32 (...) @random() %30 = load i8, ptr %9, align 1 %31 = sext i8 %30 to i32 %32 = sub nsw i32 122, %31 %33 = srem i32 %29, %32 %34 = load i8, ptr %9, align 1 %35 = sext i8 %34 to i32 %36 = add nsw i32 %35, %33 %37 = trunc i32 %36 to i8 store i8 %37, ptr %9, align 1 %38 = load i8, ptr %9, align 1 %39 = sext i8 %38 to i32 %40 = icmp slt i32 %39, 48 br i1 %40, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %41 41: ; preds = %._crit_edge, %21 %42 = load i8, ptr %9, align 1 %43 = sext i8 %42 to i32 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %43) br label %45 45: ; preds = %41 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %6, align 4 %48 = load i32, ptr %6, align 4 %49 = icmp slt i32 %48, 8 br i1 %49, label %21, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %45 br label %50 50: ; preds = %._crit_edge3, %18 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %52 52: ; preds = %50 %53 = load i32, ptr %5, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %5, align 4 %55 = load i32, ptr %5, align 4 %56 = load i32, ptr %7, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %18, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %52 br label %58 58: ; preds = %._crit_edge6, %2 ret void } declare i32 @atoi(ptr noundef) #1 declare i32 @srandom(i32 noundef) #1 declare i32 @random(...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp1wa80zuy.c' source_filename = "/tmp/tmp1wa80zuy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ifc_enable(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 (...) @ifc_init() %5 = load ptr, ptr %2, align 8 %6 = call i32 @ifc_up(ptr noundef %5) store i32 %6, ptr %3, align 4 %7 = call i32 (...) @ifc_close() %8 = load i32, ptr %3, align 4 ret i32 %8 } declare i32 @ifc_init(...) #1 declare i32 @ifc_up(ptr noundef) #1 declare i32 @ifc_close(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1wa80zuy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ifc_enable(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 (...) @ifc_init() %5 = load ptr, ptr %2, align 8 %6 = call i32 @ifc_up(ptr noundef %5) store i32 %6, ptr %3, align 4 %7 = call i32 (...) @ifc_close() %8 = load i32, ptr %3, align 4 ret i32 %8 } declare i32 @ifc_init(...) #1 declare i32 @ifc_up(ptr noundef) #1 declare i32 @ifc_close(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpptxehtoq.c' source_filename = "/tmp/tmpptxehtoq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @systemInit() %3 = call i32 (...) @init() br label %4 4: ; preds = %4, %0 %5 = call i32 (...) @computeDpll() br label %4 } declare i32 @systemInit(...) #1 declare i32 @init(...) #1 declare i32 @computeDpll(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpptxehtoq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @systemInit() %3 = call i32 (...) @init() br label %4 4: ; preds = %4, %0 %5 = call i32 (...) @computeDpll() br label %4 } declare i32 @systemInit(...) #1 declare i32 @init(...) #1 declare i32 @computeDpll(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwzojffi0.c' source_filename = "/tmp/tmpwzojffi0.c" target datalayout = "e-m:e-p270: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/tmpwzojffi0.c" target datalayout = "e-m:e-p270: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/tmp917u03_w.c' source_filename = "/tmp/tmp917u03_w.c" target datalayout = "e-m:e-p270: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/tmp917u03_w.c" target datalayout = "e-m:e-p270: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/tmphwdlrqq5.c' source_filename = "/tmp/tmphwdlrqq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dictionary.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"It took %0.3f second(s) to build our hashmap.\0A\00", align 1 @CLOCKS_PER_SEC = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [58 x i8] c"With %d words in %d buckets, the hashmap's load is %0.3f\0A\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"Enter a word (or press 'Return' to exit): \00", align 1 @stdin = dso_local global ptr null, align 8 @.str.5 = private unnamed_addr constant [10 x i8] c"Goodbye!\0A\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c"The word is spelled correctly.\0A\00", align 1 @.str.7 = private unnamed_addr constant [25 x i8] c"The word is misspelled.\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 [100 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %8, align 4 store i32 1000, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = call ptr @createHashMap(i32 noundef %10) store ptr %11, ptr %5, align 8 %12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %12, ptr %2, align 8 %13 = load ptr, ptr %2, align 8 %14 = icmp ne ptr %13, null %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = call double (...) @clock() store double %17, ptr %6, align 8 br label %18 18: ; preds = %39, %0 %19 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %20 = load ptr, ptr %2, align 8 %21 = call i64 @fgets(ptr noundef %19, i32 noundef 100, ptr noundef %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %42 23: ; preds = %18 %24 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %25 = call ptr @strchr(ptr noundef %24, i8 noundef signext 10) store ptr %25, ptr %4, align 8 %26 = load ptr, ptr %4, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %30 28: ; preds = %23 %29 = load ptr, ptr %4, align 8 store i8 0, ptr %29, align 1 br label %30 30: ; preds = %28, %23 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %33 = call i32 @containsKey(ptr noundef %31, ptr noundef %32) %34 = icmp ne i32 %33, 0 br i1 %34, label %39, label %35 35: ; preds = %30 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %38 = call i32 @insertMap(ptr noundef %36, ptr noundef %37, i32 noundef 1) br label %39 39: ; preds = %35, %30 %40 = load i32, ptr %8, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %8, align 4 br label %18, !llvm.loop !6 42: ; preds = %18 %43 = call double (...) @clock() store double %43, ptr %7, align 8 %44 = load double, ptr %7, align 8 %45 = load double, ptr %6, align 8 %46 = fsub double %44, %45 %47 = load i64, ptr @CLOCKS_PER_SEC, align 8 %48 = sitofp i64 %47 to double %49 = fdiv double %46, %48 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %49) %51 = load i32, ptr %8, align 4 %52 = load i32, ptr %9, align 4 %53 = load ptr, ptr %5, align 8 %54 = call double @tableLoad(ptr noundef %53) %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %51, i32 noundef %52, double noundef %54) %56 = load ptr, ptr %2, align 8 %57 = call i32 @fclose(ptr noundef %56) %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %59 59: ; preds = %86, %42 %60 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %61 = load ptr, ptr @stdin, align 8 %62 = call i64 @fgets(ptr noundef %60, i32 noundef 100, ptr noundef %61) %63 = icmp ne i64 %62, 0 br i1 %63, label %64, label %88 64: ; preds = %59 %65 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %66 = call ptr @strchr(ptr noundef %65, i8 noundef signext 10) store ptr %66, ptr %4, align 8 %67 = load ptr, ptr %4, align 8 %68 = icmp ne ptr %67, null br i1 %68, label %69, label %71 69: ; preds = %64 %70 = load ptr, ptr %4, align 8 store i8 0, ptr %70, align 1 br label %71 71: ; preds = %69, %64 %72 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %73 = call i64 @strlen(ptr noundef %72) %74 = icmp eq i64 %73, 0 br i1 %74, label %75, label %77 75: ; preds = %71 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %88 77: ; preds = %71 %78 = load ptr, ptr %5, align 8 %79 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %80 = call i32 @containsKey(ptr noundef %78, ptr noundef %79) %81 = icmp eq i32 %80, 1 br i1 %81, label %82, label %84 82: ; preds = %77 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %86 84: ; preds = %77 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %86 86: ; preds = %84, %82 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %59, !llvm.loop !8 88: ; preds = %75, %59 ret i32 0 } declare ptr @createHashMap(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare double @clock(...) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @containsKey(ptr noundef, ptr noundef) #1 declare i32 @insertMap(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @tableLoad(ptr noundef) #1 declare i32 @fclose(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphwdlrqq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dictionary.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"It took %0.3f second(s) to build our hashmap.\0A\00", align 1 @CLOCKS_PER_SEC = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [58 x i8] c"With %d words in %d buckets, the hashmap's load is %0.3f\0A\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"Enter a word (or press 'Return' to exit): \00", align 1 @stdin = dso_local global ptr null, align 8 @.str.5 = private unnamed_addr constant [10 x i8] c"Goodbye!\0A\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c"The word is spelled correctly.\0A\00", align 1 @.str.7 = private unnamed_addr constant [25 x i8] c"The word is misspelled.\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 [100 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %8, align 4 store i32 1000, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = call ptr @createHashMap(i32 noundef %10) store ptr %11, ptr %5, align 8 %12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %12, ptr %2, align 8 %13 = load ptr, ptr %2, align 8 %14 = icmp ne ptr %13, null %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = call double (...) @clock() store double %17, ptr %6, align 8 %18 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %19 = load ptr, ptr %2, align 8 %20 = call i64 @fgets(ptr noundef %18, i32 noundef 100, ptr noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %.lr.ph, label %44 .lr.ph: ; preds = %0 br label %22 22: ; preds = %.lr.ph, %38 %23 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %24 = call ptr @strchr(ptr noundef %23, i8 noundef signext 10) store ptr %24, ptr %4, align 8 %25 = load ptr, ptr %4, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %27, label %29 27: ; preds = %22 %28 = load ptr, ptr %4, align 8 store i8 0, ptr %28, align 1 br label %29 29: ; preds = %27, %22 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %32 = call i32 @containsKey(ptr noundef %30, ptr noundef %31) %33 = icmp ne i32 %32, 0 br i1 %33, label %38, label %34 34: ; preds = %29 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %37 = call i32 @insertMap(ptr noundef %35, ptr noundef %36, i32 noundef 1) br label %38 38: ; preds = %34, %29 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 %41 = load ptr, ptr %2, align 8 %42 = call i64 @fgets(ptr noundef %18, i32 noundef 100, ptr noundef %41) %43 = icmp ne i64 %42, 0 br i1 %43, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %0 %45 = call double (...) @clock() store double %45, ptr %7, align 8 %46 = load double, ptr %7, align 8 %47 = load double, ptr %6, align 8 %48 = fsub double %46, %47 %49 = load i64, ptr @CLOCKS_PER_SEC, align 8 %50 = sitofp i64 %49 to double %51 = fdiv double %48, %50 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %51) %53 = load i32, ptr %8, align 4 %54 = load i32, ptr %9, align 4 %55 = load ptr, ptr %5, align 8 %56 = call double @tableLoad(ptr noundef %55) %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %53, i32 noundef %54, double noundef %56) %58 = load ptr, ptr %2, align 8 %59 = call i32 @fclose(ptr noundef %58) %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %61 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %62 = load ptr, ptr @stdin, align 8 %63 = call i64 @fgets(ptr noundef %61, i32 noundef 100, ptr noundef %62) %64 = icmp ne i64 %63, 0 br i1 %64, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %44 br label %65 65: ; preds = %.lr.ph2, %87 %66 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %67 = call ptr @strchr(ptr noundef %66, i8 noundef signext 10) store ptr %67, ptr %4, align 8 %68 = load ptr, ptr %4, align 8 %69 = icmp ne ptr %68, null br i1 %69, label %70, label %72 70: ; preds = %65 %71 = load ptr, ptr %4, align 8 store i8 0, ptr %71, align 1 br label %72 72: ; preds = %70, %65 %73 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %74 = call i64 @strlen(ptr noundef %73) %75 = icmp eq i64 %74, 0 br i1 %75, label %76, label %78 76: ; preds = %72 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %92 78: ; preds = %72 %79 = load ptr, ptr %5, align 8 %80 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %81 = call i32 @containsKey(ptr noundef %79, ptr noundef %80) %82 = icmp eq i32 %81, 1 br i1 %82, label %83, label %85 83: ; preds = %78 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %87 85: ; preds = %78 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %87 87: ; preds = %85, %83 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %89 = load ptr, ptr @stdin, align 8 %90 = call i64 @fgets(ptr noundef %61, i32 noundef 100, ptr noundef %89) %91 = icmp ne i64 %90, 0 br i1 %91, label %65, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %87 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %44 br label %92 92: ; preds = %.loopexit, %76 ret i32 0 } declare ptr @createHashMap(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare double @clock(...) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @containsKey(ptr noundef, ptr noundef) #1 declare i32 @insertMap(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @tableLoad(ptr noundef) #1 declare i32 @fclose(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmptj05xijq.c' source_filename = "/tmp/tmptj05xijq.c" target datalayout = "e-m:e-p270: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.anon = type { i32, double } @__const.titi.t = private unnamed_addr constant %struct.anon { i32 0, double 4.000000e+00 }, align 8 @.str = private unnamed_addr constant [11 x i8] c"i:%d d:%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @titi() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.anon, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2, ptr align 8 @__const.titi.t, i64 16, i1 false) br label %3 3: ; preds = %13, %0 %4 = getelementptr inbounds %struct.anon, ptr %2, i32 0, i32 0 %5 = load i32, ptr %4, align 8 %6 = icmp slt i32 %5, 20 br i1 %6, label %7, label %20 7: ; preds = %3 %8 = getelementptr inbounds %struct.anon, ptr %2, i32 0, i32 0 %9 = load i32, ptr %8, align 8 %10 = getelementptr inbounds %struct.anon, ptr %2, i32 0, i32 1 %11 = load double, ptr %10, align 8 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %9, double noundef %11) br label %13 13: ; preds = %7 %14 = getelementptr inbounds %struct.anon, ptr %2, i32 0, i32 0 %15 = load i32, ptr %14, align 8 %16 = add nsw i32 %15, 1 store i32 %16, ptr %14, align 8 %17 = getelementptr inbounds %struct.anon, ptr %2, i32 0, i32 1 %18 = load double, ptr %17, align 8 %19 = fadd double %18, 1.000000e+00 store double %19, ptr %17, align 8 br label %3, !llvm.loop !6 20: ; preds = %3 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef, 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 nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptj05xijq.c" target datalayout = "e-m:e-p270: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.anon = type { i32, double } @__const.titi.t = private unnamed_addr constant %struct.anon { i32 0, double 4.000000e+00 }, align 8 @.str = private unnamed_addr constant [11 x i8] c"i:%d d:%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @titi() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.anon, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 8 %2, ptr align 8 @__const.titi.t, i64 16, i1 false) %3 = getelementptr inbounds %struct.anon, ptr %2, i32 0, i32 0 %4 = load i32, ptr %3, align 8 %5 = icmp slt i32 %4, 20 br i1 %5, label %.lr.ph, label %21 .lr.ph: ; preds = %0 %6 = getelementptr inbounds %struct.anon, ptr %2, i32 0, i32 0 br label %7 7: ; preds = %.lr.ph, %13 %8 = getelementptr inbounds %struct.anon, ptr %2, i32 0, i32 0 %9 = load i32, ptr %8, align 8 %10 = getelementptr inbounds %struct.anon, ptr %2, i32 0, i32 1 %11 = load double, ptr %10, align 8 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %9, double noundef %11) br label %13 13: ; preds = %7 %14 = load i32, ptr %6, align 8 %15 = add nsw i32 %14, 1 store i32 %15, ptr %6, align 8 %16 = getelementptr inbounds %struct.anon, ptr %2, i32 0, i32 1 %17 = load double, ptr %16, align 8 %18 = fadd double %17, 1.000000e+00 store double %18, ptr %16, align 8 %19 = load i32, ptr %3, align 8 %20 = icmp slt i32 %19, 20 br i1 %20, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %21 21: ; preds = %._crit_edge, %0 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef, 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 nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkh971vlk.c' source_filename = "/tmp/tmpkh971vlk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, 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/tmpkh971vlk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, 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/tmphr4m1012.c' source_filename = "/tmp/tmphr4m1012.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GenReadCRegIdent(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = call i32 @GenPrintInstr2Operands(i32 noundef 1, i32 noundef 0, i32 noundef 5, i32 noundef 0, i32 noundef 17, i32 noundef %8) br label %20 10: ; preds = %2 %11 = load i32, ptr %3, align 4 %12 = icmp eq i32 %11, 1 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = call i32 @GenPrintInstr2Operands(i32 noundef 2, i32 noundef 0, i32 noundef 5, i32 noundef 0, i32 noundef 17, i32 noundef %14) br label %19 16: ; preds = %10 %17 = load i32, ptr %4, align 4 %18 = call i32 @GenPrintInstr2Operands(i32 noundef 0, i32 noundef 0, i32 noundef 5, i32 noundef 0, i32 noundef 16, i32 noundef %17) br label %19 19: ; preds = %16, %13 br label %20 20: ; preds = %19, %7 ret void } declare i32 @GenPrintInstr2Operands(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphr4m1012.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GenReadCRegIdent(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = call i32 @GenPrintInstr2Operands(i32 noundef 1, i32 noundef 0, i32 noundef 5, i32 noundef 0, i32 noundef 17, i32 noundef %8) br label %20 10: ; preds = %2 %11 = load i32, ptr %3, align 4 %12 = icmp eq i32 %11, 1 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = call i32 @GenPrintInstr2Operands(i32 noundef 2, i32 noundef 0, i32 noundef 5, i32 noundef 0, i32 noundef 17, i32 noundef %14) br label %19 16: ; preds = %10 %17 = load i32, ptr %4, align 4 %18 = call i32 @GenPrintInstr2Operands(i32 noundef 0, i32 noundef 0, i32 noundef 5, i32 noundef 0, i32 noundef 16, i32 noundef %17) br label %19 19: ; preds = %16, %13 br label %20 20: ; preds = %19, %7 ret void } declare i32 @GenPrintInstr2Operands(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkmly83xp.c' source_filename = "/tmp/tmpkmly83xp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KeccakP1600_OverwriteBytes(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %7, align 4 %10 = icmp ult i32 %9, 200 %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = add i32 %13, %14 %16 = icmp ule i32 %15, 200 %17 = zext i1 %16 to i32 %18 = call i32 @assert(i32 noundef %17) %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %7, align 4 %21 = zext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %8, align 4 %25 = call i32 @memcpy(ptr noundef %22, ptr noundef %23, i32 noundef %24) ret void } declare i32 @assert(i32 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/tmpkmly83xp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KeccakP1600_OverwriteBytes(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %7, align 4 %10 = icmp ult i32 %9, 200 %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = add i32 %13, %14 %16 = icmp ule i32 %15, 200 %17 = zext i1 %16 to i32 %18 = call i32 @assert(i32 noundef %17) %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %7, align 4 %21 = zext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %8, align 4 %25 = call i32 @memcpy(ptr noundef %22, ptr noundef %23, i32 noundef %24) ret void } declare i32 @assert(i32 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/tmpia0mjpaf.c' source_filename = "/tmp/tmpia0mjpaf.c" target datalayout = "e-m:e-p270: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/tmpia0mjpaf.c" target datalayout = "e-m:e-p270: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/tmpe7tg__zz.c' source_filename = "/tmp/tmpe7tg__zz.c" target datalayout = "e-m:e-p270: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/tmpe7tg__zz.c" target datalayout = "e-m:e-p270: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/tmpai2y89rt.c' source_filename = "/tmp/tmpai2y89rt.c" target datalayout = "e-m:e-p270: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 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @head(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [1024 x i8], align 16 store i32 %0, ptr %2, align 4 store i32 1, ptr %3, align 4 br label %5 5: ; preds = %16, %1 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp sle i32 %6, %7 br i1 %8, label %9, label %14 9: ; preds = %5 %10 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %11 = load i32, ptr @stdin, align 4 %12 = call ptr @fgets(ptr noundef %10, i32 noundef 1024, i32 noundef %11) %13 = icmp ne ptr %12, null br label %14 14: ; preds = %9, %5 %15 = phi i1 [ false, %5 ], [ %13, %9 ] br i1 %15, label %16, label %22 16: ; preds = %14 %17 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %18 = load i32, ptr @stdout, align 4 %19 = call i32 @fputs(ptr noundef %17, i32 noundef %18) %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 br label %5, !llvm.loop !6 22: ; preds = %14 ret i32 0 } declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fputs(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/tmpai2y89rt.c" target datalayout = "e-m:e-p270: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 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @head(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [1024 x i8], align 16 store i32 %0, ptr %2, align 4 store i32 1, ptr %3, align 4 br label %5 5: ; preds = %16, %1 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp sle i32 %6, %7 br i1 %8, label %9, label %14 9: ; preds = %5 %10 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %11 = load i32, ptr @stdin, align 4 %12 = call ptr @fgets(ptr noundef %10, i32 noundef 1024, i32 noundef %11) %13 = icmp ne ptr %12, null br label %14 14: ; preds = %9, %5 %15 = phi i1 [ false, %5 ], [ %13, %9 ] br i1 %15, label %16, label %22 16: ; preds = %14 %17 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %18 = load i32, ptr @stdout, align 4 %19 = call i32 @fputs(ptr noundef %17, i32 noundef %18) %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 br label %5, !llvm.loop !6 22: ; preds = %14 ret i32 0 } declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fputs(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/tmpuzix5ns2.c' source_filename = "/tmp/tmpuzix5ns2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [59 x i8] c"Invoke: UPnPRenderingControl_GetBlueVideoBlackLevel(%u);\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @UPnPRenderingControl_GetBlueVideoBlackLevel(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_GetBlueVideoBlackLevel(ptr noundef %7, i32 noundef 250) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @UPnPResponse_RenderingControl_GetBlueVideoBlackLevel(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/tmpuzix5ns2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [59 x i8] c"Invoke: UPnPRenderingControl_GetBlueVideoBlackLevel(%u);\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @UPnPRenderingControl_GetBlueVideoBlackLevel(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_GetBlueVideoBlackLevel(ptr noundef %7, i32 noundef 250) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @UPnPResponse_RenderingControl_GetBlueVideoBlackLevel(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/tmp04678ghd.c' source_filename = "/tmp/tmp04678ghd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AStar(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [1034 x i32], align 16 %6 = alloca [1034 x float], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca float, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %9, align 4 br label %12 12: ; preds = %20, %2 %13 = load i32, ptr %9, align 4 %14 = icmp slt i32 %13, 262144 br i1 %14, label %15, label %23 15: ; preds = %12 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %9, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds float, ptr %16, i64 %18 store float 0.000000e+00, ptr %19, align 4 br label %20 20: ; preds = %15 %21 = load i32, ptr %9, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %9, align 4 br label %12, !llvm.loop !6 23: ; preds = %12 store i32 0, ptr %7, align 4 br label %24 24: ; preds = %85, %23 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %25, 180 br i1 %26, label %27, label %88 27: ; preds = %24 store i32 0, ptr %8, align 4 br label %28 28: ; preds = %81, %27 %29 = load i32, ptr %8, align 4 %30 = icmp slt i32 %29, 768 br i1 %30, label %31, label %84 31: ; preds = %28 store i32 0, ptr %9, align 4 br label %32 32: ; preds = %42, %31 %33 = load i32, ptr %9, align 4 %34 = icmp slt i32 %33, 1024 br i1 %34, label %35, label %45 35: ; preds = %32 %36 = load i32, ptr %9, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [1034 x i32], ptr %5, i64 0, i64 %37 store i32 0, ptr %38, align 4 %39 = load i32, ptr %9, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [1034 x float], ptr %6, i64 0, i64 %40 store float 0.000000e+00, ptr %41, align 4 br label %42 42: ; preds = %35 %43 = load i32, ptr %9, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %9, align 4 br label %32, !llvm.loop !8 45: ; preds = %32 %46 = load i32, ptr %7, align 4 %47 = load i32, ptr %8, align 4 %48 = getelementptr inbounds [1034 x i32], ptr %5, i64 0, i64 0 %49 = getelementptr inbounds [1034 x float], ptr %6, i64 0, i64 0 %50 = call i32 @wray(i32 noundef %46, i32 noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef %10, ptr noundef %11) store i32 0, ptr %9, align 4 br label %51 51: ; preds = %77, %45 %52 = load i32, ptr %9, align 4 %53 = load i32, ptr %10, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %55, label %80 55: ; preds = %51 %56 = load ptr, ptr %4, align 8 %57 = load i32, ptr %7, align 4 %58 = mul nsw i32 %57, 768 %59 = load i32, ptr %8, align 4 %60 = add nsw i32 %58, %59 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds float, ptr %56, i64 %61 %63 = load float, ptr %62, align 4 %64 = load i32, ptr %9, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [1034 x float], ptr %6, i64 0, i64 %65 %67 = load float, ptr %66, align 4 %68 = load ptr, ptr %3, align 8 %69 = load i32, ptr %9, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [1034 x i32], ptr %5, i64 0, i64 %70 %72 = load i32, ptr %71, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds float, ptr %68, i64 %73 %75 = load float, ptr %74, align 4 %76 = call float @llvm.fmuladd.f32(float %63, float %67, float %75) store float %76, ptr %74, align 4 br label %77 77: ; preds = %55 %78 = load i32, ptr %9, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %9, align 4 br label %51, !llvm.loop !9 80: ; preds = %51 br label %81 81: ; preds = %80 %82 = load i32, ptr %8, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %8, align 4 br label %28, !llvm.loop !10 84: ; preds = %28 br label %85 85: ; preds = %84 %86 = load i32, ptr %7, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %7, align 4 br label %24, !llvm.loop !11 88: ; preds = %24 ret void } declare i32 @wray(i32 noundef, i32 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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp04678ghd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AStar(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [1034 x i32], align 16 %6 = alloca [1034 x float], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca float, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %9, align 4 %12 = load i32, ptr %9, align 4 %13 = icmp slt i32 %12, 262144 br i1 %13, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %19 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %9, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds float, ptr %15, i64 %17 store float 0.000000e+00, ptr %18, align 4 br label %19 19: ; preds = %14 %20 = load i32, ptr %9, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %9, align 4 %22 = load i32, ptr %9, align 4 %23 = icmp slt i32 %22, 262144 br i1 %23, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %2 store i32 0, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %25, 180 br i1 %26, label %.lr.ph11, label %94 .lr.ph11: ; preds = %24 br label %27 27: ; preds = %.lr.ph11, %89 store i32 0, ptr %8, align 4 %28 = load i32, ptr %8, align 4 %29 = icmp slt i32 %28, 768 br i1 %29, label %.lr.ph8, label %88 .lr.ph8: ; preds = %27 br label %30 30: ; preds = %.lr.ph8, %83 store i32 0, ptr %9, align 4 %31 = load i32, ptr %9, align 4 %32 = icmp slt i32 %31, 1024 br i1 %32, label %.lr.ph2, label %45 .lr.ph2: ; preds = %30 br label %33 33: ; preds = %.lr.ph2, %40 %34 = load i32, ptr %9, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [1034 x i32], ptr %5, i64 0, i64 %35 store i32 0, ptr %36, align 4 %37 = load i32, ptr %9, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [1034 x float], ptr %6, i64 0, i64 %38 store float 0.000000e+00, ptr %39, align 4 br label %40 40: ; preds = %33 %41 = load i32, ptr %9, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %9, align 4 %43 = load i32, ptr %9, align 4 %44 = icmp slt i32 %43, 1024 br i1 %44, label %33, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %40 br label %45 45: ; preds = %._crit_edge3, %30 %46 = load i32, ptr %7, align 4 %47 = load i32, ptr %8, align 4 %48 = getelementptr inbounds [1034 x i32], ptr %5, i64 0, i64 0 %49 = getelementptr inbounds [1034 x float], ptr %6, i64 0, i64 0 %50 = call i32 @wray(i32 noundef %46, i32 noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef %10, ptr noundef %11) store i32 0, ptr %9, align 4 %51 = load i32, ptr %9, align 4 %52 = load i32, ptr %10, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %.lr.ph5, label %82 .lr.ph5: ; preds = %45 br label %54 54: ; preds = %.lr.ph5, %76 %55 = load ptr, ptr %4, align 8 %56 = load i32, ptr %7, align 4 %57 = mul nsw i32 %56, 768 %58 = load i32, ptr %8, align 4 %59 = add nsw i32 %57, %58 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds float, ptr %55, i64 %60 %62 = load float, ptr %61, align 4 %63 = load i32, ptr %9, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [1034 x float], ptr %6, i64 0, i64 %64 %66 = load float, ptr %65, align 4 %67 = load ptr, ptr %3, align 8 %68 = load i32, ptr %9, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [1034 x i32], ptr %5, i64 0, i64 %69 %71 = load i32, ptr %70, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds float, ptr %67, i64 %72 %74 = load float, ptr %73, align 4 %75 = call float @llvm.fmuladd.f32(float %62, float %66, float %74) store float %75, ptr %73, align 4 br label %76 76: ; preds = %54 %77 = load i32, ptr %9, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %9, align 4 %79 = load i32, ptr %9, align 4 %80 = load i32, ptr %10, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %54, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %76 br label %82 82: ; preds = %._crit_edge6, %45 br label %83 83: ; preds = %82 %84 = load i32, ptr %8, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %8, align 4 %86 = load i32, ptr %8, align 4 %87 = icmp slt i32 %86, 768 br i1 %87, label %30, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %83 br label %88 88: ; preds = %._crit_edge9, %27 br label %89 89: ; preds = %88 %90 = load i32, ptr %7, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %7, align 4 %92 = load i32, ptr %7, align 4 %93 = icmp slt i32 %92, 180 br i1 %93, label %27, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %89 br label %94 94: ; preds = %._crit_edge12, %24 ret void } declare i32 @wray(i32 noundef, i32 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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpuil6_s3t.c' source_filename = "/tmp/tmpuil6_s3t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syspool_quaddobl_initialize(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 319, ptr noundef %2, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc4c(i32 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/tmpuil6_s3t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syspool_quaddobl_initialize(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 319, ptr noundef %2, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc4c(i32 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/tmpgzzk7sln.c' source_filename = "/tmp/tmpgzzk7sln.c" target datalayout = "e-m:e-p270: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_XTextProperty_nitems(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/tmpgzzk7sln.c" target datalayout = "e-m:e-p270: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_XTextProperty_nitems(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/tmpeva69xas.c' source_filename = "/tmp/tmpeva69xas.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 br label %6 6: ; preds = %24, %0 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %27 10: ; preds = %6 store i32 0, ptr %4, align 4 br label %11 11: ; preds = %19, %10 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %13, %14 %16 = icmp slt i32 %12, %15 br i1 %16, label %17, label %22 17: ; preds = %11 %18 = call i32 @printf(ptr noundef @.str.1) br label %19 19: ; preds = %17 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 br label %11, !llvm.loop !6 22: ; preds = %11 %23 = call i32 @printf(ptr noundef @.str.2) br label %24 24: ; preds = %22 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 br label %6, !llvm.loop !8 27: ; preds = %6 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeva69xas.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph2, label %33 .lr.ph2: ; preds = %0 br label %9 9: ; preds = %.lr.ph2, %27 store i32 0, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %11, %12 %14 = icmp slt i32 %10, %13 br i1 %14, label %.lr.ph, label %25 .lr.ph: ; preds = %9 br label %15 15: ; preds = %.lr.ph, %17 %16 = call i32 @printf(ptr noundef @.str.1) br label %17 17: ; preds = %15 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %21, %22 %24 = icmp slt i32 %20, %23 br i1 %24, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %25 25: ; preds = %._crit_edge, %9 %26 = call i32 @printf(ptr noundef @.str.2) br label %27 27: ; preds = %25 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %2, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %9, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %27 br label %33 33: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp_57l9r0m.c' source_filename = "/tmp/tmp_57l9r0m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.balance = private unnamed_addr constant [5 x i32] [i32 1000, i32 2, i32 3, i32 17, i32 50], align 16 @.str = private unnamed_addr constant [24 x i8] c"Average value is : %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 %3 = alloca double, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.balance, i64 20, i1 false) %4 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %5 = call double @getAverage(ptr noundef %4, i32 noundef 5) store double %5, ptr %3, align 8 %6 = load double, ptr %3, align 8 %7 = call i32 @printf(ptr noundef @.str, double noundef %6) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare double @getAverage(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, 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 nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_57l9r0m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.balance = private unnamed_addr constant [5 x i32] [i32 1000, i32 2, i32 3, i32 17, i32 50], align 16 @.str = private unnamed_addr constant [24 x i8] c"Average value is : %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 %3 = alloca double, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.balance, i64 20, i1 false) %4 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %5 = call double @getAverage(ptr noundef %4, i32 noundef 5) store double %5, ptr %3, align 8 %6 = load double, ptr %3, align 8 %7 = call i32 @printf(ptr noundef @.str, double noundef %6) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare double @getAverage(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, 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 nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpru1ob3j7.c' source_filename = "/tmp/tmpru1ob3j7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"BASIC\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"DATA\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"LIST\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"BASIC*\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"COM\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"ASM\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"TXT\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"PAS\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"SCR\00", align 1 @.str.9 = private unnamed_addr constant [37 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\00", align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"(none)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_file_type(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 i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr null, ptr %9, align 8 %10 = load ptr, ptr %7, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 1 %12 = load i8, ptr %11, align 1 %13 = zext i8 %12 to i32 %14 = icmp eq i32 %13, 211 br i1 %14, label %15, label %34 15: ; preds = %3 %16 = load ptr, ptr %7, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 2 %18 = load i8, ptr %17, align 1 %19 = zext i8 %18 to i32 %20 = icmp eq i32 %19, 211 br i1 %20, label %21, label %34 21: ; preds = %15 %22 = load ptr, ptr %7, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 3 %24 = load i8, ptr %23, align 1 %25 = zext i8 %24 to i32 %26 = icmp eq i32 %25, 211 br i1 %26, label %27, label %34 27: ; preds = %21 store ptr @.str, ptr %9, align 8 %28 = load ptr, ptr %5, align 8 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 4 %31 = call i32 @memcpy(ptr noundef %28, ptr noundef %30, i32 noundef 8) %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 8 store i8 0, ptr %33, align 1 br label %34 34: ; preds = %27, %21, %15, %3 %35 = load ptr, ptr %7, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 1 %37 = load i8, ptr %36, align 1 %38 = zext i8 %37 to i32 %39 = icmp eq i32 %38, 212 br i1 %39, label %40, label %59 40: ; preds = %34 %41 = load ptr, ptr %7, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 2 %43 = load i8, ptr %42, align 1 %44 = zext i8 %43 to i32 %45 = icmp eq i32 %44, 212 br i1 %45, label %46, label %59 46: ; preds = %40 %47 = load ptr, ptr %7, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 3 %49 = load i8, ptr %48, align 1 %50 = zext i8 %49 to i32 %51 = icmp eq i32 %50, 212 br i1 %51, label %52, label %59 52: ; preds = %46 store ptr @.str.1, ptr %9, align 8 %53 = load ptr, ptr %5, align 8 %54 = load ptr, ptr %7, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 4 %56 = call i32 @memcpy(ptr noundef %53, ptr noundef %55, i32 noundef 8) %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 8 store i8 0, ptr %58, align 1 br label %59 59: ; preds = %52, %46, %40, %34 %60 = load ptr, ptr %7, align 8 %61 = getelementptr inbounds i8, ptr %60, i64 1 %62 = load i8, ptr %61, align 1 %63 = zext i8 %62 to i32 %64 = icmp eq i32 %63, 213 br i1 %64, label %65, label %84 65: ; preds = %59 %66 = load ptr, ptr %7, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 2 %68 = load i8, ptr %67, align 1 %69 = zext i8 %68 to i32 %70 = icmp eq i32 %69, 213 br i1 %70, label %71, label %84 71: ; preds = %65 %72 = load ptr, ptr %7, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 3 %74 = load i8, ptr %73, align 1 %75 = zext i8 %74 to i32 %76 = icmp eq i32 %75, 213 br i1 %76, label %77, label %84 77: ; preds = %71 store ptr @.str.2, ptr %9, align 8 %78 = load ptr, ptr %5, align 8 %79 = load ptr, ptr %7, align 8 %80 = getelementptr inbounds i8, ptr %79, i64 4 %81 = call i32 @memcpy(ptr noundef %78, ptr noundef %80, i32 noundef 8) %82 = load ptr, ptr %5, align 8 %83 = getelementptr inbounds i8, ptr %82, i64 8 store i8 0, ptr %83, align 1 br label %84 84: ; preds = %77, %71, %65, %59 %85 = load ptr, ptr %7, align 8 %86 = getelementptr inbounds i8, ptr %85, i64 1 %87 = load i8, ptr %86, align 1 %88 = zext i8 %87 to i32 %89 = icmp eq i32 %88, 215 br i1 %89, label %90, label %109 90: ; preds = %84 %91 = load ptr, ptr %7, align 8 %92 = getelementptr inbounds i8, ptr %91, i64 2 %93 = load i8, ptr %92, align 1 %94 = zext i8 %93 to i32 %95 = icmp eq i32 %94, 215 br i1 %95, label %96, label %109 96: ; preds = %90 %97 = load ptr, ptr %7, align 8 %98 = getelementptr inbounds i8, ptr %97, i64 3 %99 = load i8, ptr %98, align 1 %100 = zext i8 %99 to i32 %101 = icmp eq i32 %100, 215 br i1 %101, label %102, label %109 102: ; preds = %96 store ptr @.str.3, ptr %9, align 8 %103 = load ptr, ptr %5, align 8 %104 = load ptr, ptr %7, align 8 %105 = getelementptr inbounds i8, ptr %104, i64 4 %106 = call i32 @memcpy(ptr noundef %103, ptr noundef %105, i32 noundef 8) %107 = load ptr, ptr %5, align 8 %108 = getelementptr inbounds i8, ptr %107, i64 8 store i8 0, ptr %108, align 1 br label %109 109: ; preds = %102, %96, %90, %84 %110 = load ptr, ptr %7, align 8 %111 = getelementptr inbounds i8, ptr %110, i64 9 %112 = load i8, ptr %111, align 1 %113 = zext i8 %112 to i32 %114 = icmp eq i32 %113, 67 br i1 %114, label %115, label %134 115: ; preds = %109 %116 = load ptr, ptr %7, align 8 %117 = getelementptr inbounds i8, ptr %116, i64 10 %118 = load i8, ptr %117, align 1 %119 = zext i8 %118 to i32 %120 = icmp eq i32 %119, 79 br i1 %120, label %121, label %134 121: ; preds = %115 %122 = load ptr, ptr %7, align 8 %123 = getelementptr inbounds i8, ptr %122, i64 11 %124 = load i8, ptr %123, align 1 %125 = zext i8 %124 to i32 %126 = icmp eq i32 %125, 77 br i1 %126, label %127, label %134 127: ; preds = %121 store ptr @.str.4, ptr %9, align 8 %128 = load ptr, ptr %5, align 8 %129 = load ptr, ptr %7, align 8 %130 = getelementptr inbounds i8, ptr %129, i64 1 %131 = call i32 @memcpy(ptr noundef %128, ptr noundef %130, i32 noundef 8) %132 = load ptr, ptr %5, align 8 %133 = getelementptr inbounds i8, ptr %132, i64 8 store i8 0, ptr %133, align 1 br label %134 134: ; preds = %127, %121, %115, %109 %135 = load ptr, ptr %7, align 8 %136 = getelementptr inbounds i8, ptr %135, i64 9 %137 = load i8, ptr %136, align 1 %138 = zext i8 %137 to i32 %139 = icmp eq i32 %138, 65 br i1 %139, label %140, label %159 140: ; preds = %134 %141 = load ptr, ptr %7, align 8 %142 = getelementptr inbounds i8, ptr %141, i64 10 %143 = load i8, ptr %142, align 1 %144 = zext i8 %143 to i32 %145 = icmp eq i32 %144, 83 br i1 %145, label %146, label %159 146: ; preds = %140 %147 = load ptr, ptr %7, align 8 %148 = getelementptr inbounds i8, ptr %147, i64 11 %149 = load i8, ptr %148, align 1 %150 = zext i8 %149 to i32 %151 = icmp eq i32 %150, 77 br i1 %151, label %152, label %159 152: ; preds = %146 store ptr @.str.5, ptr %9, align 8 %153 = load ptr, ptr %5, align 8 %154 = load ptr, ptr %7, align 8 %155 = getelementptr inbounds i8, ptr %154, i64 1 %156 = call i32 @memcpy(ptr noundef %153, ptr noundef %155, i32 noundef 8) %157 = load ptr, ptr %5, align 8 %158 = getelementptr inbounds i8, ptr %157, i64 8 store i8 0, ptr %158, align 1 br label %159 159: ; preds = %152, %146, %140, %134 %160 = load ptr, ptr %7, align 8 %161 = getelementptr inbounds i8, ptr %160, i64 9 %162 = load i8, ptr %161, align 1 %163 = zext i8 %162 to i32 %164 = icmp eq i32 %163, 84 br i1 %164, label %165, label %184 165: ; preds = %159 %166 = load ptr, ptr %7, align 8 %167 = getelementptr inbounds i8, ptr %166, i64 10 %168 = load i8, ptr %167, align 1 %169 = zext i8 %168 to i32 %170 = icmp eq i32 %169, 88 br i1 %170, label %171, label %184 171: ; preds = %165 %172 = load ptr, ptr %7, align 8 %173 = getelementptr inbounds i8, ptr %172, i64 11 %174 = load i8, ptr %173, align 1 %175 = zext i8 %174 to i32 %176 = icmp eq i32 %175, 84 br i1 %176, label %177, label %184 177: ; preds = %171 store ptr @.str.6, ptr %9, align 8 %178 = load ptr, ptr %5, align 8 %179 = load ptr, ptr %7, align 8 %180 = getelementptr inbounds i8, ptr %179, i64 1 %181 = call i32 @memcpy(ptr noundef %178, ptr noundef %180, i32 noundef 8) %182 = load ptr, ptr %5, align 8 %183 = getelementptr inbounds i8, ptr %182, i64 8 store i8 0, ptr %183, align 1 br label %184 184: ; preds = %177, %171, %165, %159 %185 = load ptr, ptr %7, align 8 %186 = getelementptr inbounds i8, ptr %185, i64 9 %187 = load i8, ptr %186, align 1 %188 = zext i8 %187 to i32 %189 = icmp eq i32 %188, 80 br i1 %189, label %190, label %209 190: ; preds = %184 %191 = load ptr, ptr %7, align 8 %192 = getelementptr inbounds i8, ptr %191, i64 10 %193 = load i8, ptr %192, align 1 %194 = zext i8 %193 to i32 %195 = icmp eq i32 %194, 65 br i1 %195, label %196, label %209 196: ; preds = %190 %197 = load ptr, ptr %7, align 8 %198 = getelementptr inbounds i8, ptr %197, i64 11 %199 = load i8, ptr %198, align 1 %200 = zext i8 %199 to i32 %201 = icmp eq i32 %200, 83 br i1 %201, label %202, label %209 202: ; preds = %196 store ptr @.str.7, ptr %9, align 8 %203 = load ptr, ptr %5, align 8 %204 = load ptr, ptr %7, align 8 %205 = getelementptr inbounds i8, ptr %204, i64 1 %206 = call i32 @memcpy(ptr noundef %203, ptr noundef %205, i32 noundef 8) %207 = load ptr, ptr %5, align 8 %208 = getelementptr inbounds i8, ptr %207, i64 8 store i8 0, ptr %208, align 1 br label %209 209: ; preds = %202, %196, %190, %184 %210 = load ptr, ptr %7, align 8 %211 = getelementptr inbounds i8, ptr %210, i64 9 %212 = load i8, ptr %211, align 1 %213 = zext i8 %212 to i32 %214 = icmp eq i32 %213, 83 br i1 %214, label %215, label %234 215: ; preds = %209 %216 = load ptr, ptr %7, align 8 %217 = getelementptr inbounds i8, ptr %216, i64 10 %218 = load i8, ptr %217, align 1 %219 = zext i8 %218 to i32 %220 = icmp eq i32 %219, 67 br i1 %220, label %221, label %234 221: ; preds = %215 %222 = load ptr, ptr %7, align 8 %223 = getelementptr inbounds i8, ptr %222, i64 11 %224 = load i8, ptr %223, align 1 %225 = zext i8 %224 to i32 %226 = icmp eq i32 %225, 82 br i1 %226, label %227, label %234 227: ; preds = %221 store ptr @.str.8, ptr %9, align 8 %228 = load ptr, ptr %5, align 8 %229 = load ptr, ptr %7, align 8 %230 = getelementptr inbounds i8, ptr %229, i64 1 %231 = call i32 @memcpy(ptr noundef %228, ptr noundef %230, i32 noundef 8) %232 = load ptr, ptr %5, align 8 %233 = getelementptr inbounds i8, ptr %232, i64 8 store i8 0, ptr %233, align 1 br label %234 234: ; preds = %227, %221, %215, %209 %235 = load ptr, ptr %7, align 8 %236 = getelementptr inbounds i8, ptr %235, i64 9 %237 = load i8, ptr %236, align 1 %238 = zext i8 %237 to i32 %239 = icmp eq i32 %238, 0 br i1 %239, label %240, label %266 240: ; preds = %234 %241 = load ptr, ptr %7, align 8 %242 = getelementptr inbounds i8, ptr %241, i64 10 %243 = load i8, ptr %242, align 1 %244 = zext i8 %243 to i32 %245 = icmp eq i32 %244, 0 br i1 %245, label %246, label %266 246: ; preds = %240 %247 = load ptr, ptr %7, align 8 %248 = getelementptr inbounds i8, ptr %247, i64 11 %249 = load i8, ptr %248, align 1 %250 = zext i8 %249 to i32 %251 = icmp eq i32 %250, 0 br i1 %251, label %252, label %266 252: ; preds = %246 %253 = load ptr, ptr %7, align 8 %254 = getelementptr inbounds i8, ptr %253, i64 1 %255 = load i8, ptr %254, align 1 %256 = call ptr @strchr(ptr noundef @.str.9, i8 noundef zeroext %255) %257 = icmp ne ptr %256, null br i1 %257, label %258, label %265 258: ; preds = %252 store ptr @.str.10, ptr %9, align 8 %259 = load ptr, ptr %5, align 8 %260 = load ptr, ptr %7, align 8 %261 = getelementptr inbounds i8, ptr %260, i64 1 %262 = call i32 @memcpy(ptr noundef %259, ptr noundef %261, i32 noundef 8) %263 = load ptr, ptr %5, align 8 %264 = getelementptr inbounds i8, ptr %263, i64 8 store i8 0, ptr %264, align 1 br label %265 265: ; preds = %258, %252 br label %266 266: ; preds = %265, %246, %240, %234 %267 = load ptr, ptr %9, align 8 %268 = icmp eq ptr %267, null br i1 %268, label %269, label %270 269: ; preds = %266 store i32 0, ptr %4, align 4 br label %296 270: ; preds = %266 store i32 7, ptr %8, align 4 br label %271 271: ; preds = %289, %270 %272 = load i32, ptr %8, align 4 %273 = icmp sgt i32 %272, 0 br i1 %273, label %274, label %282 274: ; preds = %271 %275 = load ptr, ptr %5, align 8 %276 = load i32, ptr %8, align 4 %277 = sext i32 %276 to i64 %278 = getelementptr inbounds i8, ptr %275, i64 %277 %279 = load i8, ptr %278, align 1 %280 = sext i8 %279 to i32 %281 = icmp eq i32 %280, 32 br label %282 282: ; preds = %274, %271 %283 = phi i1 [ false, %271 ], [ %281, %274 ] br i1 %283, label %284, label %292 284: ; preds = %282 %285 = load ptr, ptr %5, align 8 %286 = load i32, ptr %8, align 4 %287 = sext i32 %286 to i64 %288 = getelementptr inbounds i8, ptr %285, i64 %287 store i8 0, ptr %288, align 1 br label %289 289: ; preds = %284 %290 = load i32, ptr %8, align 4 %291 = add nsw i32 %290, -1 store i32 %291, ptr %8, align 4 br label %271, !llvm.loop !6 292: ; preds = %282 %293 = load ptr, ptr %6, align 8 %294 = load ptr, ptr %9, align 8 %295 = call i32 @strcpy(ptr noundef %293, ptr noundef %294) store i32 1, ptr %4, align 4 br label %296 296: ; preds = %292, %269 %297 = load i32, ptr %4, align 4 ret i32 %297 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef zeroext) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpru1ob3j7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"BASIC\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"DATA\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"LIST\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"BASIC*\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"COM\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"ASM\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"TXT\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"PAS\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"SCR\00", align 1 @.str.9 = private unnamed_addr constant [37 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\00", align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"(none)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_file_type(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 i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr null, ptr %9, align 8 %10 = load ptr, ptr %7, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 1 %12 = load i8, ptr %11, align 1 %13 = zext i8 %12 to i32 %14 = icmp eq i32 %13, 211 br i1 %14, label %15, label %34 15: ; preds = %3 %16 = load ptr, ptr %7, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 2 %18 = load i8, ptr %17, align 1 %19 = zext i8 %18 to i32 %20 = icmp eq i32 %19, 211 br i1 %20, label %21, label %34 21: ; preds = %15 %22 = load ptr, ptr %7, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 3 %24 = load i8, ptr %23, align 1 %25 = zext i8 %24 to i32 %26 = icmp eq i32 %25, 211 br i1 %26, label %27, label %34 27: ; preds = %21 store ptr @.str, ptr %9, align 8 %28 = load ptr, ptr %5, align 8 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 4 %31 = call i32 @memcpy(ptr noundef %28, ptr noundef %30, i32 noundef 8) %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 8 store i8 0, ptr %33, align 1 br label %34 34: ; preds = %27, %21, %15, %3 %35 = load ptr, ptr %7, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 1 %37 = load i8, ptr %36, align 1 %38 = zext i8 %37 to i32 %39 = icmp eq i32 %38, 212 br i1 %39, label %40, label %59 40: ; preds = %34 %41 = load ptr, ptr %7, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 2 %43 = load i8, ptr %42, align 1 %44 = zext i8 %43 to i32 %45 = icmp eq i32 %44, 212 br i1 %45, label %46, label %59 46: ; preds = %40 %47 = load ptr, ptr %7, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 3 %49 = load i8, ptr %48, align 1 %50 = zext i8 %49 to i32 %51 = icmp eq i32 %50, 212 br i1 %51, label %52, label %59 52: ; preds = %46 store ptr @.str.1, ptr %9, align 8 %53 = load ptr, ptr %5, align 8 %54 = load ptr, ptr %7, align 8 %55 = getelementptr inbounds i8, ptr %54, i64 4 %56 = call i32 @memcpy(ptr noundef %53, ptr noundef %55, i32 noundef 8) %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 8 store i8 0, ptr %58, align 1 br label %59 59: ; preds = %52, %46, %40, %34 %60 = load ptr, ptr %7, align 8 %61 = getelementptr inbounds i8, ptr %60, i64 1 %62 = load i8, ptr %61, align 1 %63 = zext i8 %62 to i32 %64 = icmp eq i32 %63, 213 br i1 %64, label %65, label %84 65: ; preds = %59 %66 = load ptr, ptr %7, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 2 %68 = load i8, ptr %67, align 1 %69 = zext i8 %68 to i32 %70 = icmp eq i32 %69, 213 br i1 %70, label %71, label %84 71: ; preds = %65 %72 = load ptr, ptr %7, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 3 %74 = load i8, ptr %73, align 1 %75 = zext i8 %74 to i32 %76 = icmp eq i32 %75, 213 br i1 %76, label %77, label %84 77: ; preds = %71 store ptr @.str.2, ptr %9, align 8 %78 = load ptr, ptr %5, align 8 %79 = load ptr, ptr %7, align 8 %80 = getelementptr inbounds i8, ptr %79, i64 4 %81 = call i32 @memcpy(ptr noundef %78, ptr noundef %80, i32 noundef 8) %82 = load ptr, ptr %5, align 8 %83 = getelementptr inbounds i8, ptr %82, i64 8 store i8 0, ptr %83, align 1 br label %84 84: ; preds = %77, %71, %65, %59 %85 = load ptr, ptr %7, align 8 %86 = getelementptr inbounds i8, ptr %85, i64 1 %87 = load i8, ptr %86, align 1 %88 = zext i8 %87 to i32 %89 = icmp eq i32 %88, 215 br i1 %89, label %90, label %109 90: ; preds = %84 %91 = load ptr, ptr %7, align 8 %92 = getelementptr inbounds i8, ptr %91, i64 2 %93 = load i8, ptr %92, align 1 %94 = zext i8 %93 to i32 %95 = icmp eq i32 %94, 215 br i1 %95, label %96, label %109 96: ; preds = %90 %97 = load ptr, ptr %7, align 8 %98 = getelementptr inbounds i8, ptr %97, i64 3 %99 = load i8, ptr %98, align 1 %100 = zext i8 %99 to i32 %101 = icmp eq i32 %100, 215 br i1 %101, label %102, label %109 102: ; preds = %96 store ptr @.str.3, ptr %9, align 8 %103 = load ptr, ptr %5, align 8 %104 = load ptr, ptr %7, align 8 %105 = getelementptr inbounds i8, ptr %104, i64 4 %106 = call i32 @memcpy(ptr noundef %103, ptr noundef %105, i32 noundef 8) %107 = load ptr, ptr %5, align 8 %108 = getelementptr inbounds i8, ptr %107, i64 8 store i8 0, ptr %108, align 1 br label %109 109: ; preds = %102, %96, %90, %84 %110 = load ptr, ptr %7, align 8 %111 = getelementptr inbounds i8, ptr %110, i64 9 %112 = load i8, ptr %111, align 1 %113 = zext i8 %112 to i32 %114 = icmp eq i32 %113, 67 br i1 %114, label %115, label %134 115: ; preds = %109 %116 = load ptr, ptr %7, align 8 %117 = getelementptr inbounds i8, ptr %116, i64 10 %118 = load i8, ptr %117, align 1 %119 = zext i8 %118 to i32 %120 = icmp eq i32 %119, 79 br i1 %120, label %121, label %134 121: ; preds = %115 %122 = load ptr, ptr %7, align 8 %123 = getelementptr inbounds i8, ptr %122, i64 11 %124 = load i8, ptr %123, align 1 %125 = zext i8 %124 to i32 %126 = icmp eq i32 %125, 77 br i1 %126, label %127, label %134 127: ; preds = %121 store ptr @.str.4, ptr %9, align 8 %128 = load ptr, ptr %5, align 8 %129 = load ptr, ptr %7, align 8 %130 = getelementptr inbounds i8, ptr %129, i64 1 %131 = call i32 @memcpy(ptr noundef %128, ptr noundef %130, i32 noundef 8) %132 = load ptr, ptr %5, align 8 %133 = getelementptr inbounds i8, ptr %132, i64 8 store i8 0, ptr %133, align 1 br label %134 134: ; preds = %127, %121, %115, %109 %135 = load ptr, ptr %7, align 8 %136 = getelementptr inbounds i8, ptr %135, i64 9 %137 = load i8, ptr %136, align 1 %138 = zext i8 %137 to i32 %139 = icmp eq i32 %138, 65 br i1 %139, label %140, label %159 140: ; preds = %134 %141 = load ptr, ptr %7, align 8 %142 = getelementptr inbounds i8, ptr %141, i64 10 %143 = load i8, ptr %142, align 1 %144 = zext i8 %143 to i32 %145 = icmp eq i32 %144, 83 br i1 %145, label %146, label %159 146: ; preds = %140 %147 = load ptr, ptr %7, align 8 %148 = getelementptr inbounds i8, ptr %147, i64 11 %149 = load i8, ptr %148, align 1 %150 = zext i8 %149 to i32 %151 = icmp eq i32 %150, 77 br i1 %151, label %152, label %159 152: ; preds = %146 store ptr @.str.5, ptr %9, align 8 %153 = load ptr, ptr %5, align 8 %154 = load ptr, ptr %7, align 8 %155 = getelementptr inbounds i8, ptr %154, i64 1 %156 = call i32 @memcpy(ptr noundef %153, ptr noundef %155, i32 noundef 8) %157 = load ptr, ptr %5, align 8 %158 = getelementptr inbounds i8, ptr %157, i64 8 store i8 0, ptr %158, align 1 br label %159 159: ; preds = %152, %146, %140, %134 %160 = load ptr, ptr %7, align 8 %161 = getelementptr inbounds i8, ptr %160, i64 9 %162 = load i8, ptr %161, align 1 %163 = zext i8 %162 to i32 %164 = icmp eq i32 %163, 84 br i1 %164, label %165, label %184 165: ; preds = %159 %166 = load ptr, ptr %7, align 8 %167 = getelementptr inbounds i8, ptr %166, i64 10 %168 = load i8, ptr %167, align 1 %169 = zext i8 %168 to i32 %170 = icmp eq i32 %169, 88 br i1 %170, label %171, label %184 171: ; preds = %165 %172 = load ptr, ptr %7, align 8 %173 = getelementptr inbounds i8, ptr %172, i64 11 %174 = load i8, ptr %173, align 1 %175 = zext i8 %174 to i32 %176 = icmp eq i32 %175, 84 br i1 %176, label %177, label %184 177: ; preds = %171 store ptr @.str.6, ptr %9, align 8 %178 = load ptr, ptr %5, align 8 %179 = load ptr, ptr %7, align 8 %180 = getelementptr inbounds i8, ptr %179, i64 1 %181 = call i32 @memcpy(ptr noundef %178, ptr noundef %180, i32 noundef 8) %182 = load ptr, ptr %5, align 8 %183 = getelementptr inbounds i8, ptr %182, i64 8 store i8 0, ptr %183, align 1 br label %184 184: ; preds = %177, %171, %165, %159 %185 = load ptr, ptr %7, align 8 %186 = getelementptr inbounds i8, ptr %185, i64 9 %187 = load i8, ptr %186, align 1 %188 = zext i8 %187 to i32 %189 = icmp eq i32 %188, 80 br i1 %189, label %190, label %209 190: ; preds = %184 %191 = load ptr, ptr %7, align 8 %192 = getelementptr inbounds i8, ptr %191, i64 10 %193 = load i8, ptr %192, align 1 %194 = zext i8 %193 to i32 %195 = icmp eq i32 %194, 65 br i1 %195, label %196, label %209 196: ; preds = %190 %197 = load ptr, ptr %7, align 8 %198 = getelementptr inbounds i8, ptr %197, i64 11 %199 = load i8, ptr %198, align 1 %200 = zext i8 %199 to i32 %201 = icmp eq i32 %200, 83 br i1 %201, label %202, label %209 202: ; preds = %196 store ptr @.str.7, ptr %9, align 8 %203 = load ptr, ptr %5, align 8 %204 = load ptr, ptr %7, align 8 %205 = getelementptr inbounds i8, ptr %204, i64 1 %206 = call i32 @memcpy(ptr noundef %203, ptr noundef %205, i32 noundef 8) %207 = load ptr, ptr %5, align 8 %208 = getelementptr inbounds i8, ptr %207, i64 8 store i8 0, ptr %208, align 1 br label %209 209: ; preds = %202, %196, %190, %184 %210 = load ptr, ptr %7, align 8 %211 = getelementptr inbounds i8, ptr %210, i64 9 %212 = load i8, ptr %211, align 1 %213 = zext i8 %212 to i32 %214 = icmp eq i32 %213, 83 br i1 %214, label %215, label %234 215: ; preds = %209 %216 = load ptr, ptr %7, align 8 %217 = getelementptr inbounds i8, ptr %216, i64 10 %218 = load i8, ptr %217, align 1 %219 = zext i8 %218 to i32 %220 = icmp eq i32 %219, 67 br i1 %220, label %221, label %234 221: ; preds = %215 %222 = load ptr, ptr %7, align 8 %223 = getelementptr inbounds i8, ptr %222, i64 11 %224 = load i8, ptr %223, align 1 %225 = zext i8 %224 to i32 %226 = icmp eq i32 %225, 82 br i1 %226, label %227, label %234 227: ; preds = %221 store ptr @.str.8, ptr %9, align 8 %228 = load ptr, ptr %5, align 8 %229 = load ptr, ptr %7, align 8 %230 = getelementptr inbounds i8, ptr %229, i64 1 %231 = call i32 @memcpy(ptr noundef %228, ptr noundef %230, i32 noundef 8) %232 = load ptr, ptr %5, align 8 %233 = getelementptr inbounds i8, ptr %232, i64 8 store i8 0, ptr %233, align 1 br label %234 234: ; preds = %227, %221, %215, %209 %235 = load ptr, ptr %7, align 8 %236 = getelementptr inbounds i8, ptr %235, i64 9 %237 = load i8, ptr %236, align 1 %238 = zext i8 %237 to i32 %239 = icmp eq i32 %238, 0 br i1 %239, label %240, label %266 240: ; preds = %234 %241 = load ptr, ptr %7, align 8 %242 = getelementptr inbounds i8, ptr %241, i64 10 %243 = load i8, ptr %242, align 1 %244 = zext i8 %243 to i32 %245 = icmp eq i32 %244, 0 br i1 %245, label %246, label %266 246: ; preds = %240 %247 = load ptr, ptr %7, align 8 %248 = getelementptr inbounds i8, ptr %247, i64 11 %249 = load i8, ptr %248, align 1 %250 = zext i8 %249 to i32 %251 = icmp eq i32 %250, 0 br i1 %251, label %252, label %266 252: ; preds = %246 %253 = load ptr, ptr %7, align 8 %254 = getelementptr inbounds i8, ptr %253, i64 1 %255 = load i8, ptr %254, align 1 %256 = call ptr @strchr(ptr noundef @.str.9, i8 noundef zeroext %255) %257 = icmp ne ptr %256, null br i1 %257, label %258, label %265 258: ; preds = %252 store ptr @.str.10, ptr %9, align 8 %259 = load ptr, ptr %5, align 8 %260 = load ptr, ptr %7, align 8 %261 = getelementptr inbounds i8, ptr %260, i64 1 %262 = call i32 @memcpy(ptr noundef %259, ptr noundef %261, i32 noundef 8) %263 = load ptr, ptr %5, align 8 %264 = getelementptr inbounds i8, ptr %263, i64 8 store i8 0, ptr %264, align 1 br label %265 265: ; preds = %258, %252 br label %266 266: ; preds = %265, %246, %240, %234 %267 = load ptr, ptr %9, align 8 %268 = icmp eq ptr %267, null br i1 %268, label %269, label %270 269: ; preds = %266 store i32 0, ptr %4, align 4 br label %296 270: ; preds = %266 store i32 7, ptr %8, align 4 br label %271 271: ; preds = %289, %270 %272 = load i32, ptr %8, align 4 %273 = icmp sgt i32 %272, 0 br i1 %273, label %274, label %282 274: ; preds = %271 %275 = load ptr, ptr %5, align 8 %276 = load i32, ptr %8, align 4 %277 = sext i32 %276 to i64 %278 = getelementptr inbounds i8, ptr %275, i64 %277 %279 = load i8, ptr %278, align 1 %280 = sext i8 %279 to i32 %281 = icmp eq i32 %280, 32 br label %282 282: ; preds = %274, %271 %283 = phi i1 [ false, %271 ], [ %281, %274 ] br i1 %283, label %284, label %292 284: ; preds = %282 %285 = load ptr, ptr %5, align 8 %286 = load i32, ptr %8, align 4 %287 = sext i32 %286 to i64 %288 = getelementptr inbounds i8, ptr %285, i64 %287 store i8 0, ptr %288, align 1 br label %289 289: ; preds = %284 %290 = load i32, ptr %8, align 4 %291 = add nsw i32 %290, -1 store i32 %291, ptr %8, align 4 br label %271, !llvm.loop !6 292: ; preds = %282 %293 = load ptr, ptr %6, align 8 %294 = load ptr, ptr %9, align 8 %295 = call i32 @strcpy(ptr noundef %293, ptr noundef %294) store i32 1, ptr %4, align 4 br label %296 296: ; preds = %292, %269 %297 = load i32, ptr %4, align 4 ret i32 %297 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef zeroext) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfliub0ix.c' source_filename = "/tmp/tmpfliub0ix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_optima(ptr noundef %0, ptr noundef %1, double noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca double, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store double %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 0 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 0 %24 = load ptr, ptr %23, align 8 %25 = call i32 @find_roots(i32 noundef %21, ptr noundef %24, ptr noundef %13) store i32 %25, ptr %10, align 4 %26 = load i32, ptr %10, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %30, label %28 28: ; preds = %4 %29 = call ptr @xmalloc(i32 noundef 8) store ptr %29, ptr %13, align 8 br label %30 30: ; preds = %28, %4 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds i32, ptr %31, i64 1 %33 = load i32, ptr %32, align 4 %34 = load ptr, ptr %6, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8 %37 = call i32 @find_roots(i32 noundef %33, ptr noundef %36, ptr noundef %12) store i32 %37, ptr %9, align 4 %38 = load i32, ptr %9, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %65 40: ; preds = %30 %41 = load ptr, ptr %13, align 8 %42 = load i32, ptr %9, align 4 %43 = load i32, ptr %10, align 4 %44 = add nsw i32 %42, %43 %45 = sext i32 %44 to i64 %46 = mul i64 %45, 8 %47 = trunc i64 %46 to i32 %48 = call i64 @xrealloc(ptr noundef %41, i32 noundef %47) %49 = inttoptr i64 %48 to ptr store ptr %49, ptr %13, align 8 %50 = load ptr, ptr %13, align 8 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds double, ptr %50, i64 %52 %54 = load ptr, ptr %12, align 8 %55 = load i32, ptr %9, align 4 %56 = sext i32 %55 to i64 %57 = mul i64 %56, 8 %58 = trunc i64 %57 to i32 %59 = call i32 @memcpy(ptr noundef %53, ptr noundef %54, i32 noundef %58) %60 = load ptr, ptr %12, align 8 %61 = call i32 @free(ptr noundef %60) %62 = load i32, ptr %9, align 4 %63 = load i32, ptr %10, align 4 %64 = add nsw i32 %63, %62 store i32 %64, ptr %10, align 4 br label %65 65: ; preds = %40, %30 store i32 0, ptr %9, align 4 br label %66 66: ; preds = %78, %65 %67 = load i32, ptr %9, align 4 %68 = load i32, ptr %10, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %70, label %81 70: ; preds = %66 %71 = load double, ptr %7, align 8 %72 = load ptr, ptr %13, align 8 %73 = load i32, ptr %9, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds double, ptr %72, i64 %74 %76 = load double, ptr %75, align 8 %77 = fdiv double %76, %71 store double %77, ptr %75, align 8 br label %78 78: ; preds = %70 %79 = load i32, ptr %9, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %9, align 4 br label %66, !llvm.loop !6 81: ; preds = %66 store i32 0, ptr %11, align 4 br label %82 82: ; preds = %234, %81 %83 = load i32, ptr %11, align 4 %84 = icmp slt i32 %83, 2 br i1 %84, label %85, label %237 85: ; preds = %82 %86 = load ptr, ptr %5, align 8 %87 = load i32, ptr %11, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %86, i64 %88 %90 = load i32, ptr %89, align 4 store i32 %90, ptr %17, align 4 %91 = load i32, ptr %17, align 4 %92 = add nsw i32 %91, 1 %93 = sext i32 %92 to i64 %94 = mul i64 %93, 8 %95 = trunc i64 %94 to i32 %96 = call ptr @xmalloc(i32 noundef %95) store ptr %96, ptr %14, align 8 %97 = load i32, ptr %17, align 4 %98 = add nsw i32 %97, 1 %99 = sext i32 %98 to i64 %100 = mul i64 %99, 8 %101 = trunc i64 %100 to i32 %102 = call ptr @xmalloc(i32 noundef %101) store ptr %102, ptr %15, align 8 store double 1.000000e+00, ptr %16, align 8 store i32 0, ptr %18, align 4 br label %103 103: ; preds = %126, %85 %104 = load i32, ptr %18, align 4 %105 = load i32, ptr %17, align 4 %106 = icmp sle i32 %104, %105 br i1 %106, label %107, label %129 107: ; preds = %103 %108 = load ptr, ptr %6, align 8 %109 = load i32, ptr %11, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds ptr, ptr %108, i64 %110 %112 = load ptr, ptr %111, align 8 %113 = load i32, ptr %18, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds double, ptr %112, i64 %114 %116 = load double, ptr %115, align 8 %117 = load double, ptr %16, align 8 %118 = fmul double %116, %117 %119 = load ptr, ptr %15, align 8 %120 = load i32, ptr %18, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds double, ptr %119, i64 %121 store double %118, ptr %122, align 8 %123 = load double, ptr %7, align 8 %124 = load double, ptr %16, align 8 %125 = fmul double %124, %123 store double %125, ptr %16, align 8 br label %126 126: ; preds = %107 %127 = load i32, ptr %18, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %18, align 4 br label %103, !llvm.loop !8 129: ; preds = %103 store i32 0, ptr %18, align 4 br label %130 130: ; preds = %150, %129 %131 = load i32, ptr %18, align 4 %132 = load i32, ptr %17, align 4 %133 = icmp slt i32 %131, %132 br i1 %133, label %134, label %153 134: ; preds = %130 %135 = load ptr, ptr %15, align 8 %136 = load i32, ptr %18, align 4 %137 = add nsw i32 %136, 1 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds double, ptr %135, i64 %138 %140 = load double, ptr %139, align 8 %141 = fneg double %140 %142 = load i32, ptr %18, align 4 %143 = add nsw i32 %142, 1 %144 = sitofp i32 %143 to double %145 = fmul double %141, %144 %146 = load ptr, ptr %14, align 8 %147 = load i32, ptr %18, align 4 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds double, ptr %146, i64 %148 store double %145, ptr %149, align 8 br label %150 150: ; preds = %134 %151 = load i32, ptr %18, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %18, align 4 br label %130, !llvm.loop !9 153: ; preds = %130 %154 = load ptr, ptr %14, align 8 %155 = load i32, ptr %17, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds double, ptr %154, i64 %156 store double 0.000000e+00, ptr %157, align 8 store i32 0, ptr %18, align 4 br label %158 158: ; preds = %179, %153 %159 = load i32, ptr %18, align 4 %160 = load i32, ptr %17, align 4 %161 = icmp slt i32 %159, %160 br i1 %161, label %162, label %182 162: ; preds = %158 %163 = load ptr, ptr %15, align 8 %164 = load i32, ptr %18, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds double, ptr %163, i64 %165 %167 = load double, ptr %166, align 8 %168 = load i32, ptr %17, align 4 %169 = load i32, ptr %18, align 4 %170 = sub nsw i32 %168, %169 %171 = sitofp i32 %170 to double %172 = load ptr, ptr %14, align 8 %173 = load i32, ptr %18, align 4 %174 = add nsw i32 %173, 1 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds double, ptr %172, i64 %175 %177 = load double, ptr %176, align 8 %178 = call double @llvm.fmuladd.f64(double %167, double %171, double %177) store double %178, ptr %176, align 8 br label %179 179: ; preds = %162 %180 = load i32, ptr %18, align 4 %181 = add nsw i32 %180, 1 store i32 %181, ptr %18, align 4 br label %158, !llvm.loop !10 182: ; preds = %158 br label %183 183: ; preds = %197, %182 %184 = load i32, ptr %17, align 4 %185 = icmp ne i32 %184, 0 br i1 %185, label %186, label %198 186: ; preds = %183 %187 = load ptr, ptr %14, align 8 %188 = load i32, ptr %17, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds double, ptr %187, i64 %189 %191 = load double, ptr %190, align 8 %192 = fcmp une double %191, 0.000000e+00 br i1 %192, label %193, label %194 193: ; preds = %186 br label %198 194: ; preds = %186 %195 = load i32, ptr %17, align 4 %196 = add nsw i32 %195, -1 store i32 %196, ptr %17, align 4 br label %197 197: ; preds = %194 br label %183, !llvm.loop !11 198: ; preds = %193, %183 %199 = load i32, ptr %17, align 4 %200 = load ptr, ptr %14, align 8 %201 = call i32 @find_roots(i32 noundef %199, ptr noundef %200, ptr noundef %12) store i32 %201, ptr %9, align 4 %202 = load i32, ptr %9, align 4 %203 = icmp ne i32 %202, 0 br i1 %203, label %204, label %229 204: ; preds = %198 %205 = load ptr, ptr %13, align 8 %206 = load i32, ptr %9, align 4 %207 = load i32, ptr %10, align 4 %208 = add nsw i32 %206, %207 %209 = sext i32 %208 to i64 %210 = mul i64 %209, 8 %211 = trunc i64 %210 to i32 %212 = call i64 @xrealloc(ptr noundef %205, i32 noundef %211) %213 = inttoptr i64 %212 to ptr store ptr %213, ptr %13, align 8 %214 = load ptr, ptr %13, align 8 %215 = load i32, ptr %10, align 4 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds double, ptr %214, i64 %216 %218 = load ptr, ptr %12, align 8 %219 = load i32, ptr %9, align 4 %220 = sext i32 %219 to i64 %221 = mul i64 %220, 8 %222 = trunc i64 %221 to i32 %223 = call i32 @memcpy(ptr noundef %217, ptr noundef %218, i32 noundef %222) %224 = load ptr, ptr %12, align 8 %225 = call i32 @free(ptr noundef %224) %226 = load i32, ptr %9, align 4 %227 = load i32, ptr %10, align 4 %228 = add nsw i32 %227, %226 store i32 %228, ptr %10, align 4 br label %229 229: ; preds = %204, %198 %230 = load ptr, ptr %14, align 8 %231 = call i32 @free(ptr noundef %230) %232 = load ptr, ptr %15, align 8 %233 = call i32 @free(ptr noundef %232) br label %234 234: ; preds = %229 %235 = load i32, ptr %11, align 4 %236 = add nsw i32 %235, 1 store i32 %236, ptr %11, align 4 br label %82, !llvm.loop !12 237: ; preds = %82 %238 = load i32, ptr %10, align 4 %239 = add nsw i32 %238, 2 store i32 %239, ptr %10, align 4 %240 = load ptr, ptr %13, align 8 %241 = load i32, ptr %10, align 4 %242 = sext i32 %241 to i64 %243 = mul i64 %242, 8 %244 = trunc i64 %243 to i32 %245 = call i64 @xrealloc(ptr noundef %240, i32 noundef %244) %246 = inttoptr i64 %245 to ptr store ptr %246, ptr %13, align 8 %247 = load ptr, ptr %13, align 8 %248 = load i32, ptr %10, align 4 %249 = sub nsw i32 %248, 2 %250 = sext i32 %249 to i64 %251 = getelementptr inbounds double, ptr %247, i64 %250 store double -1.000000e+20, ptr %251, align 8 %252 = load ptr, ptr %13, align 8 %253 = load i32, ptr %10, align 4 %254 = sub nsw i32 %253, 1 %255 = sext i32 %254 to i64 %256 = getelementptr inbounds double, ptr %252, i64 %255 store double 1.000000e+20, ptr %256, align 8 %257 = load ptr, ptr %13, align 8 %258 = load ptr, ptr %8, align 8 store ptr %257, ptr %258, align 8 %259 = load i32, ptr %10, align 4 ret i32 %259 } declare i32 @find_roots(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @xmalloc(i32 noundef) #1 declare i64 @xrealloc(ptr noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfliub0ix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_optima(ptr noundef %0, ptr noundef %1, double noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca double, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store double %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 0 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 0 %24 = load ptr, ptr %23, align 8 %25 = call i32 @find_roots(i32 noundef %21, ptr noundef %24, ptr noundef %13) store i32 %25, ptr %10, align 4 %26 = load i32, ptr %10, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %30, label %28 28: ; preds = %4 %29 = call ptr @xmalloc(i32 noundef 8) store ptr %29, ptr %13, align 8 br label %30 30: ; preds = %28, %4 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds i32, ptr %31, i64 1 %33 = load i32, ptr %32, align 4 %34 = load ptr, ptr %6, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8 %37 = call i32 @find_roots(i32 noundef %33, ptr noundef %36, ptr noundef %12) store i32 %37, ptr %9, align 4 %38 = load i32, ptr %9, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %65 40: ; preds = %30 %41 = load ptr, ptr %13, align 8 %42 = load i32, ptr %9, align 4 %43 = load i32, ptr %10, align 4 %44 = add nsw i32 %42, %43 %45 = sext i32 %44 to i64 %46 = mul i64 %45, 8 %47 = trunc i64 %46 to i32 %48 = call i64 @xrealloc(ptr noundef %41, i32 noundef %47) %49 = inttoptr i64 %48 to ptr store ptr %49, ptr %13, align 8 %50 = load ptr, ptr %13, align 8 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds double, ptr %50, i64 %52 %54 = load ptr, ptr %12, align 8 %55 = load i32, ptr %9, align 4 %56 = sext i32 %55 to i64 %57 = mul i64 %56, 8 %58 = trunc i64 %57 to i32 %59 = call i32 @memcpy(ptr noundef %53, ptr noundef %54, i32 noundef %58) %60 = load ptr, ptr %12, align 8 %61 = call i32 @free(ptr noundef %60) %62 = load i32, ptr %9, align 4 %63 = load i32, ptr %10, align 4 %64 = add nsw i32 %63, %62 store i32 %64, ptr %10, align 4 br label %65 65: ; preds = %40, %30 store i32 0, ptr %9, align 4 %66 = load i32, ptr %9, align 4 %67 = load i32, ptr %10, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %.lr.ph, label %83 .lr.ph: ; preds = %65 br label %69 69: ; preds = %.lr.ph, %77 %70 = load double, ptr %7, align 8 %71 = load ptr, ptr %13, align 8 %72 = load i32, ptr %9, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds double, ptr %71, i64 %73 %75 = load double, ptr %74, align 8 %76 = fdiv double %75, %70 store double %76, ptr %74, align 8 br label %77 77: ; preds = %69 %78 = load i32, ptr %9, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %9, align 4 %80 = load i32, ptr %9, align 4 %81 = load i32, ptr %10, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %69, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %77 br label %83 83: ; preds = %._crit_edge, %65 store i32 0, ptr %11, align 4 %84 = load i32, ptr %11, align 4 %85 = icmp slt i32 %84, 2 br i1 %85, label %.lr.ph13, label %247 .lr.ph13: ; preds = %83 br label %86 86: ; preds = %.lr.ph13, %242 %87 = load ptr, ptr %5, align 8 %88 = load i32, ptr %11, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i32, ptr %87, i64 %89 %91 = load i32, ptr %90, align 4 store i32 %91, ptr %17, align 4 %92 = load i32, ptr %17, align 4 %93 = add nsw i32 %92, 1 %94 = sext i32 %93 to i64 %95 = mul i64 %94, 8 %96 = trunc i64 %95 to i32 %97 = call ptr @xmalloc(i32 noundef %96) store ptr %97, ptr %14, align 8 %98 = load i32, ptr %17, align 4 %99 = add nsw i32 %98, 1 %100 = sext i32 %99 to i64 %101 = mul i64 %100, 8 %102 = trunc i64 %101 to i32 %103 = call ptr @xmalloc(i32 noundef %102) store ptr %103, ptr %15, align 8 store double 1.000000e+00, ptr %16, align 8 store i32 0, ptr %18, align 4 %104 = load i32, ptr %18, align 4 %105 = load i32, ptr %17, align 4 %106 = icmp sle i32 %104, %105 br i1 %106, label %.lr.ph2, label %132 .lr.ph2: ; preds = %86 br label %107 107: ; preds = %.lr.ph2, %126 %108 = load ptr, ptr %6, align 8 %109 = load i32, ptr %11, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds ptr, ptr %108, i64 %110 %112 = load ptr, ptr %111, align 8 %113 = load i32, ptr %18, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds double, ptr %112, i64 %114 %116 = load double, ptr %115, align 8 %117 = load double, ptr %16, align 8 %118 = fmul double %116, %117 %119 = load ptr, ptr %15, align 8 %120 = load i32, ptr %18, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds double, ptr %119, i64 %121 store double %118, ptr %122, align 8 %123 = load double, ptr %7, align 8 %124 = load double, ptr %16, align 8 %125 = fmul double %124, %123 store double %125, ptr %16, align 8 br label %126 126: ; preds = %107 %127 = load i32, ptr %18, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %18, align 4 %129 = load i32, ptr %18, align 4 %130 = load i32, ptr %17, align 4 %131 = icmp sle i32 %129, %130 br i1 %131, label %107, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %126 br label %132 132: ; preds = %._crit_edge3, %86 store i32 0, ptr %18, align 4 %133 = load i32, ptr %18, align 4 %134 = load i32, ptr %17, align 4 %135 = icmp slt i32 %133, %134 br i1 %135, label %.lr.ph5, label %158 .lr.ph5: ; preds = %132 br label %136 136: ; preds = %.lr.ph5, %152 %137 = load ptr, ptr %15, align 8 %138 = load i32, ptr %18, align 4 %139 = add nsw i32 %138, 1 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds double, ptr %137, i64 %140 %142 = load double, ptr %141, align 8 %143 = fneg double %142 %144 = load i32, ptr %18, align 4 %145 = add nsw i32 %144, 1 %146 = sitofp i32 %145 to double %147 = fmul double %143, %146 %148 = load ptr, ptr %14, align 8 %149 = load i32, ptr %18, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds double, ptr %148, i64 %150 store double %147, ptr %151, align 8 br label %152 152: ; preds = %136 %153 = load i32, ptr %18, align 4 %154 = add nsw i32 %153, 1 store i32 %154, ptr %18, align 4 %155 = load i32, ptr %18, align 4 %156 = load i32, ptr %17, align 4 %157 = icmp slt i32 %155, %156 br i1 %157, label %136, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %152 br label %158 158: ; preds = %._crit_edge6, %132 %159 = load ptr, ptr %14, align 8 %160 = load i32, ptr %17, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds double, ptr %159, i64 %161 store double 0.000000e+00, ptr %162, align 8 store i32 0, ptr %18, align 4 %163 = load i32, ptr %18, align 4 %164 = load i32, ptr %17, align 4 %165 = icmp slt i32 %163, %164 br i1 %165, label %.lr.ph8, label %189 .lr.ph8: ; preds = %158 br label %166 166: ; preds = %.lr.ph8, %183 %167 = load ptr, ptr %15, align 8 %168 = load i32, ptr %18, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds double, ptr %167, i64 %169 %171 = load double, ptr %170, align 8 %172 = load i32, ptr %17, align 4 %173 = load i32, ptr %18, align 4 %174 = sub nsw i32 %172, %173 %175 = sitofp i32 %174 to double %176 = load ptr, ptr %14, align 8 %177 = load i32, ptr %18, align 4 %178 = add nsw i32 %177, 1 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds double, ptr %176, i64 %179 %181 = load double, ptr %180, align 8 %182 = call double @llvm.fmuladd.f64(double %171, double %175, double %181) store double %182, ptr %180, align 8 br label %183 183: ; preds = %166 %184 = load i32, ptr %18, align 4 %185 = add nsw i32 %184, 1 store i32 %185, ptr %18, align 4 %186 = load i32, ptr %18, align 4 %187 = load i32, ptr %17, align 4 %188 = icmp slt i32 %186, %187 br i1 %188, label %166, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %183 br label %189 189: ; preds = %._crit_edge9, %158 %190 = load i32, ptr %17, align 4 %191 = icmp ne i32 %190, 0 br i1 %191, label %.lr.ph11, label %.loopexit .lr.ph11: ; preds = %189 br label %192 192: ; preds = %.lr.ph11, %203 %193 = load ptr, ptr %14, align 8 %194 = load i32, ptr %17, align 4 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds double, ptr %193, i64 %195 %197 = load double, ptr %196, align 8 %198 = fcmp une double %197, 0.000000e+00 br i1 %198, label %199, label %200 199: ; preds = %192 br label %206 200: ; preds = %192 %201 = load i32, ptr %17, align 4 %202 = add nsw i32 %201, -1 store i32 %202, ptr %17, align 4 br label %203 203: ; preds = %200 %204 = load i32, ptr %17, align 4 %205 = icmp ne i32 %204, 0 br i1 %205, label %192, label %..loopexit_crit_edge, !llvm.loop !11 ..loopexit_crit_edge: ; preds = %203 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %189 br label %206 206: ; preds = %.loopexit, %199 %207 = load i32, ptr %17, align 4 %208 = load ptr, ptr %14, align 8 %209 = call i32 @find_roots(i32 noundef %207, ptr noundef %208, ptr noundef %12) store i32 %209, ptr %9, align 4 %210 = load i32, ptr %9, align 4 %211 = icmp ne i32 %210, 0 br i1 %211, label %212, label %237 212: ; preds = %206 %213 = load ptr, ptr %13, align 8 %214 = load i32, ptr %9, align 4 %215 = load i32, ptr %10, align 4 %216 = add nsw i32 %214, %215 %217 = sext i32 %216 to i64 %218 = mul i64 %217, 8 %219 = trunc i64 %218 to i32 %220 = call i64 @xrealloc(ptr noundef %213, i32 noundef %219) %221 = inttoptr i64 %220 to ptr store ptr %221, ptr %13, align 8 %222 = load ptr, ptr %13, align 8 %223 = load i32, ptr %10, align 4 %224 = sext i32 %223 to i64 %225 = getelementptr inbounds double, ptr %222, i64 %224 %226 = load ptr, ptr %12, align 8 %227 = load i32, ptr %9, align 4 %228 = sext i32 %227 to i64 %229 = mul i64 %228, 8 %230 = trunc i64 %229 to i32 %231 = call i32 @memcpy(ptr noundef %225, ptr noundef %226, i32 noundef %230) %232 = load ptr, ptr %12, align 8 %233 = call i32 @free(ptr noundef %232) %234 = load i32, ptr %9, align 4 %235 = load i32, ptr %10, align 4 %236 = add nsw i32 %235, %234 store i32 %236, ptr %10, align 4 br label %237 237: ; preds = %212, %206 %238 = load ptr, ptr %14, align 8 %239 = call i32 @free(ptr noundef %238) %240 = load ptr, ptr %15, align 8 %241 = call i32 @free(ptr noundef %240) br label %242 242: ; preds = %237 %243 = load i32, ptr %11, align 4 %244 = add nsw i32 %243, 1 store i32 %244, ptr %11, align 4 %245 = load i32, ptr %11, align 4 %246 = icmp slt i32 %245, 2 br i1 %246, label %86, label %._crit_edge14, !llvm.loop !12 ._crit_edge14: ; preds = %242 br label %247 247: ; preds = %._crit_edge14, %83 %248 = load i32, ptr %10, align 4 %249 = add nsw i32 %248, 2 store i32 %249, ptr %10, align 4 %250 = load ptr, ptr %13, align 8 %251 = load i32, ptr %10, align 4 %252 = sext i32 %251 to i64 %253 = mul i64 %252, 8 %254 = trunc i64 %253 to i32 %255 = call i64 @xrealloc(ptr noundef %250, i32 noundef %254) %256 = inttoptr i64 %255 to ptr store ptr %256, ptr %13, align 8 %257 = load ptr, ptr %13, align 8 %258 = load i32, ptr %10, align 4 %259 = sub nsw i32 %258, 2 %260 = sext i32 %259 to i64 %261 = getelementptr inbounds double, ptr %257, i64 %260 store double -1.000000e+20, ptr %261, align 8 %262 = load ptr, ptr %13, align 8 %263 = load i32, ptr %10, align 4 %264 = sub nsw i32 %263, 1 %265 = sext i32 %264 to i64 %266 = getelementptr inbounds double, ptr %262, i64 %265 store double 1.000000e+20, ptr %266, align 8 %267 = load ptr, ptr %13, align 8 %268 = load ptr, ptr %8, align 8 store ptr %267, ptr %268, align 8 %269 = load i32, ptr %10, align 4 ret i32 %269 } declare i32 @find_roots(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @xmalloc(i32 noundef) #1 declare i64 @xrealloc(ptr noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmphw3ge8jq.c' source_filename = "/tmp/tmphw3ge8jq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @fdiml(x86_fp80 noundef %0, x86_fp80 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca x86_fp80, align 16 %5 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %4, align 16 store x86_fp80 %1, ptr %5, align 16 %6 = load x86_fp80, ptr %4, align 16 %7 = call i64 @isnan(x86_fp80 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = load x86_fp80, ptr %4, align 16 store x86_fp80 %10, ptr %3, align 16 br label %28 11: ; preds = %2 %12 = load x86_fp80, ptr %5, align 16 %13 = call i64 @isnan(x86_fp80 noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = load x86_fp80, ptr %5, align 16 store x86_fp80 %16, ptr %3, align 16 br label %28 17: ; preds = %11 %18 = load x86_fp80, ptr %4, align 16 %19 = load x86_fp80, ptr %5, align 16 %20 = fcmp ogt x86_fp80 %18, %19 br i1 %20, label %21, label %25 21: ; preds = %17 %22 = load x86_fp80, ptr %4, align 16 %23 = load x86_fp80, ptr %5, align 16 %24 = fsub x86_fp80 %22, %23 br label %26 25: ; preds = %17 br label %26 26: ; preds = %25, %21 %27 = phi x86_fp80 [ %24, %21 ], [ 0xK00000000000000000000, %25 ] store x86_fp80 %27, ptr %3, align 16 br label %28 28: ; preds = %26, %15, %9 %29 = load x86_fp80, ptr %3, align 16 ret x86_fp80 %29 } declare i64 @isnan(x86_fp80 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphw3ge8jq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @fdiml(x86_fp80 noundef %0, x86_fp80 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca x86_fp80, align 16 %5 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %4, align 16 store x86_fp80 %1, ptr %5, align 16 %6 = load x86_fp80, ptr %4, align 16 %7 = call i64 @isnan(x86_fp80 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = load x86_fp80, ptr %4, align 16 store x86_fp80 %10, ptr %3, align 16 br label %28 11: ; preds = %2 %12 = load x86_fp80, ptr %5, align 16 %13 = call i64 @isnan(x86_fp80 noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = load x86_fp80, ptr %5, align 16 store x86_fp80 %16, ptr %3, align 16 br label %28 17: ; preds = %11 %18 = load x86_fp80, ptr %4, align 16 %19 = load x86_fp80, ptr %5, align 16 %20 = fcmp ogt x86_fp80 %18, %19 br i1 %20, label %21, label %25 21: ; preds = %17 %22 = load x86_fp80, ptr %4, align 16 %23 = load x86_fp80, ptr %5, align 16 %24 = fsub x86_fp80 %22, %23 br label %26 25: ; preds = %17 br label %26 26: ; preds = %25, %21 %27 = phi x86_fp80 [ %24, %21 ], [ 0xK00000000000000000000, %25 ] store x86_fp80 %27, ptr %3, align 16 br label %28 28: ; preds = %26, %15, %9 %29 = load x86_fp80, ptr %3, align 16 ret x86_fp80 %29 } declare i64 @isnan(x86_fp80 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpchoxff63.c' source_filename = "/tmp/tmpchoxff63.c" target datalayout = "e-m:e-p270: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/tmpchoxff63.c" target datalayout = "e-m:e-p270: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_69nif50.c' source_filename = "/tmp/tmp_69nif50.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bbm_com_word_write(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i16, align 2 %6 = alloca i16, align 2 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i16 %1, ptr %5, align 2 store i16 %2, ptr %6, align 2 %8 = load ptr, ptr %4, align 8 %9 = load i16, ptr %5, align 2 %10 = load i16, ptr %6, align 2 %11 = call i32 @bbm_word_write(ptr noundef %8, i16 noundef zeroext %9, i16 noundef zeroext %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 ret i32 %12 } declare i32 @bbm_word_write(ptr noundef, i16 noundef zeroext, i16 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_69nif50.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bbm_com_word_write(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i16, align 2 %6 = alloca i16, align 2 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i16 %1, ptr %5, align 2 store i16 %2, ptr %6, align 2 %8 = load ptr, ptr %4, align 8 %9 = load i16, ptr %5, align 2 %10 = load i16, ptr %6, align 2 %11 = call i32 @bbm_word_write(ptr noundef %8, i16 noundef zeroext %9, i16 noundef zeroext %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 ret i32 %12 } declare i32 @bbm_word_write(ptr noundef, i16 noundef zeroext, i16 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"}
; ModuleID = '/tmp/tmp6ti9us91.c' source_filename = "/tmp/tmp6ti9us91.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flash_read(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @__mib_flash_read(ptr noundef %7, i32 noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @__mib_flash_read(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/tmp6ti9us91.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flash_read(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @__mib_flash_read(ptr noundef %7, i32 noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @__mib_flash_read(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/tmpxea0rxm1.c' source_filename = "/tmp/tmpxea0rxm1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBSTK5515_I2C_reset() #0 { %1 = call i32 (...) @USBSTK5515_I2C_close() %2 = call i32 (...) @USBSTK5515_I2C_init() ret i16 0 } declare i32 @USBSTK5515_I2C_close(...) #1 declare i32 @USBSTK5515_I2C_init(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxea0rxm1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBSTK5515_I2C_reset() #0 { %1 = call i32 (...) @USBSTK5515_I2C_close() %2 = call i32 (...) @USBSTK5515_I2C_init() ret i16 0 } declare i32 @USBSTK5515_I2C_close(...) #1 declare i32 @USBSTK5515_I2C_init(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa0w5jdza.c' source_filename = "/tmp/tmpa0w5jdza.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ParseTextAreaLines2.uEnd = internal global i32 0, align 4 @ParseTextAreaLines2.uStart = internal global i32 0, align 4 @ParseTextAreaLines2.cRetVal = internal global [512 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [7 x i8] c"%.511s\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ParseTextAreaLines2(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 store i32 %4, ptr @ParseTextAreaLines2.uStart, align 4 br label %5 5: ; preds = %96, %1 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %8 = add i32 %7, 1 store i32 %8, ptr @ParseTextAreaLines2.uEnd, align 4 %9 = zext i32 %7 to i64 %10 = getelementptr inbounds i8, ptr %6, i64 %9 %11 = load i8, ptr %10, align 1 %12 = icmp ne i8 %11, 0 br i1 %12, label %13, label %97 13: ; preds = %5 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr @ParseTextAreaLines2.uEnd, 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, 10 br i1 %20, label %53, label %21 21: ; preds = %13 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %24 = zext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 13 br i1 %28, label %53, label %29 29: ; preds = %21 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr @ParseTextAreaLines2.uEnd, 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, 0 br i1 %36, label %53, label %37 37: ; preds = %29 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %40 = zext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %43, 10 br i1 %44, label %53, label %45 45: ; preds = %37 %46 = load ptr, ptr %3, align 8 %47 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %48 = zext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = icmp eq i32 %51, 13 br i1 %52, label %53, label %96 53: ; preds = %45, %37, %29, %21, %13 %54 = load ptr, ptr %3, align 8 %55 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %56 = zext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %62 61: ; preds = %53 br label %97 62: ; preds = %53 %63 = load ptr, ptr %3, align 8 %64 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %65 = zext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 store i8 0, ptr %66, align 1 %67 = load ptr, ptr %3, align 8 %68 = load i32, ptr @ParseTextAreaLines2.uStart, align 4 %69 = zext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %67, i64 %69 %71 = call i32 @sprintf(ptr noundef @ParseTextAreaLines2.cRetVal, ptr noundef @.str, ptr noundef %70) %72 = load i8, ptr @ParseTextAreaLines2.cRetVal, align 16 %73 = sext i8 %72 to i32 %74 = icmp eq i32 %73, 10 br i1 %74, label %79, label %75 75: ; preds = %62 %76 = load i8, ptr @ParseTextAreaLines2.cRetVal, align 16 %77 = sext i8 %76 to i32 %78 = icmp eq i32 %77, 13 br i1 %78, label %79, label %80 79: ; preds = %75, %62 store i32 0, ptr @ParseTextAreaLines2.uEnd, align 4 store i32 0, ptr @ParseTextAreaLines2.uStart, align 4 store ptr @.str.1, ptr %2, align 8 br label %108 80: ; preds = %75 %81 = load ptr, ptr %3, align 8 %82 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %83 = add i32 %82, 1 %84 = zext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %81, i64 %84 %86 = load i8, ptr %85, align 1 %87 = sext i8 %86 to i32 %88 = icmp eq i32 %87, 10 br i1 %88, label %89, label %92 89: ; preds = %80 %90 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %91 = add i32 %90, 2 store i32 %91, ptr @ParseTextAreaLines2.uEnd, align 4 br label %95 92: ; preds = %80 %93 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %94 = add i32 %93, 1 store i32 %94, ptr @ParseTextAreaLines2.uEnd, align 4 br label %95 95: ; preds = %92, %89 store ptr @ParseTextAreaLines2.cRetVal, ptr %2, align 8 br label %108 96: ; preds = %45 br label %5, !llvm.loop !6 97: ; preds = %61, %5 %98 = load i32, ptr @ParseTextAreaLines2.uStart, align 4 %99 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %100 = icmp ne i32 %98, %99 br i1 %100, label %101, label %107 101: ; preds = %97 %102 = load ptr, ptr %3, align 8 %103 = load i32, ptr @ParseTextAreaLines2.uStart, align 4 %104 = zext i32 %103 to i64 %105 = getelementptr inbounds i8, ptr %102, i64 %104 %106 = call i32 @sprintf(ptr noundef @ParseTextAreaLines2.cRetVal, ptr noundef @.str, ptr noundef %105) store ptr @ParseTextAreaLines2.cRetVal, ptr %2, align 8 br label %108 107: ; preds = %97 store i32 0, ptr @ParseTextAreaLines2.uEnd, align 4 store i32 0, ptr @ParseTextAreaLines2.uStart, align 4 store ptr @.str.1, ptr %2, align 8 br label %108 108: ; preds = %107, %101, %95, %79 %109 = load ptr, ptr %2, align 8 ret ptr %109 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa0w5jdza.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ParseTextAreaLines2.uEnd = internal global i32 0, align 4 @ParseTextAreaLines2.uStart = internal global i32 0, align 4 @ParseTextAreaLines2.cRetVal = internal global [512 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [7 x i8] c"%.511s\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ParseTextAreaLines2(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 store i32 %4, ptr @ParseTextAreaLines2.uStart, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %7 = add i32 %6, 1 store i32 %7, ptr @ParseTextAreaLines2.uEnd, align 4 %8 = zext i32 %6 to i64 %9 = getelementptr inbounds i8, ptr %5, i64 %8 %10 = load i8, ptr %9, align 1 %11 = icmp ne i8 %10, 0 br i1 %11, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %20 12: ; preds = %52 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %15 = add i32 %14, 1 store i32 %15, ptr @ParseTextAreaLines2.uEnd, align 4 %16 = zext i32 %14 to i64 %17 = getelementptr inbounds i8, ptr %13, i64 %16 %18 = load i8, ptr %17, align 1 %19 = icmp ne i8 %18, 0 br i1 %19, label %20, label %..loopexit_crit_edge, !llvm.loop !6 20: ; preds = %.lr.ph, %12 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %23 = zext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 10 br i1 %27, label %60, label %28 28: ; preds = %20 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %31 = zext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 13 br i1 %35, label %60, label %36 36: ; preds = %28 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %39 = zext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 0 br i1 %43, label %60, label %44 44: ; preds = %36 %45 = load ptr, ptr %3, align 8 %46 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %47 = zext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 10 br i1 %51, label %60, label %52 52: ; preds = %44 %53 = load ptr, ptr %3, align 8 %54 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %55 = zext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp eq i32 %58, 13 br i1 %59, label %60, label %12 60: ; preds = %52, %44, %36, %28, %20 %61 = load ptr, ptr %3, align 8 %62 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %63 = zext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %69 68: ; preds = %60 br label %103 69: ; preds = %60 %70 = load ptr, ptr %3, align 8 %71 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %72 = zext i32 %71 to i64 %73 = getelementptr inbounds i8, ptr %70, i64 %72 store i8 0, ptr %73, align 1 %74 = load ptr, ptr %3, align 8 %75 = load i32, ptr @ParseTextAreaLines2.uStart, align 4 %76 = zext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %74, i64 %76 %78 = call i32 @sprintf(ptr noundef @ParseTextAreaLines2.cRetVal, ptr noundef @.str, ptr noundef %77) %79 = load i8, ptr @ParseTextAreaLines2.cRetVal, align 16 %80 = sext i8 %79 to i32 %81 = icmp eq i32 %80, 10 br i1 %81, label %86, label %82 82: ; preds = %69 %83 = load i8, ptr @ParseTextAreaLines2.cRetVal, align 16 %84 = sext i8 %83 to i32 %85 = icmp eq i32 %84, 13 br i1 %85, label %86, label %87 86: ; preds = %82, %69 store i32 0, ptr @ParseTextAreaLines2.uEnd, align 4 store i32 0, ptr @ParseTextAreaLines2.uStart, align 4 store ptr @.str.1, ptr %2, align 8 br label %114 87: ; preds = %82 %88 = load ptr, ptr %3, align 8 %89 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %90 = add i32 %89, 1 %91 = zext i32 %90 to i64 %92 = getelementptr inbounds i8, ptr %88, i64 %91 %93 = load i8, ptr %92, align 1 %94 = sext i8 %93 to i32 %95 = icmp eq i32 %94, 10 br i1 %95, label %96, label %99 96: ; preds = %87 %97 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %98 = add i32 %97, 2 store i32 %98, ptr @ParseTextAreaLines2.uEnd, align 4 br label %102 99: ; preds = %87 %100 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %101 = add i32 %100, 1 store i32 %101, ptr @ParseTextAreaLines2.uEnd, align 4 br label %102 102: ; preds = %99, %96 store ptr @ParseTextAreaLines2.cRetVal, ptr %2, align 8 br label %114 ..loopexit_crit_edge: ; preds = %12 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %103 103: ; preds = %.loopexit, %68 %104 = load i32, ptr @ParseTextAreaLines2.uStart, align 4 %105 = load i32, ptr @ParseTextAreaLines2.uEnd, align 4 %106 = icmp ne i32 %104, %105 br i1 %106, label %107, label %113 107: ; preds = %103 %108 = load ptr, ptr %3, align 8 %109 = load i32, ptr @ParseTextAreaLines2.uStart, align 4 %110 = zext i32 %109 to i64 %111 = getelementptr inbounds i8, ptr %108, i64 %110 %112 = call i32 @sprintf(ptr noundef @ParseTextAreaLines2.cRetVal, ptr noundef @.str, ptr noundef %111) store ptr @ParseTextAreaLines2.cRetVal, ptr %2, align 8 br label %114 113: ; preds = %103 store i32 0, ptr @ParseTextAreaLines2.uEnd, align 4 store i32 0, ptr @ParseTextAreaLines2.uStart, align 4 store ptr @.str.1, ptr %2, align 8 br label %114 114: ; preds = %113, %107, %102, %86 %115 = load ptr, ptr %2, align 8 ret ptr %115 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpopn4hqde.c' source_filename = "/tmp/tmpopn4hqde.c" target datalayout = "e-m:e-p270: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/tmpopn4hqde.c" target datalayout = "e-m:e-p270: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/tmpwp3d3g04.c' source_filename = "/tmp/tmpwp3d3g04.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @minmax(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %10 10: ; preds = %20, %4 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %23 14: ; preds = %10 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %9, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = call i32 @scanf(ptr noundef @.str, ptr noundef %18) br label %20 20: ; preds = %14 %21 = load i32, ptr %9, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %9, align 4 br label %10, !llvm.loop !6 23: ; preds = %10 %24 = load ptr, ptr %8, align 8 store i32 0, ptr %24, align 4 %25 = load ptr, ptr %7, align 8 store i32 0, ptr %25, align 4 store i32 0, ptr %9, align 4 br label %26 26: ; preds = %63, %23 %27 = load i32, ptr %9, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %66 30: ; preds = %26 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 %35 = load i32, ptr %34, align 4 %36 = load ptr, ptr %8, align 8 %37 = load i32, ptr %36, align 4 %38 = icmp sgt i32 %35, %37 br i1 %38, label %39, label %46 39: ; preds = %30 %40 = load ptr, ptr %5, align 8 %41 = load i32, ptr %9, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 %44 = load i32, ptr %43, align 4 %45 = load ptr, ptr %8, align 8 store i32 %44, ptr %45, align 4 br label %46 46: ; preds = %39, %30 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %9, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %47, i64 %49 %51 = load i32, ptr %50, align 4 %52 = load ptr, ptr %7, align 8 %53 = load i32, ptr %52, align 4 %54 = icmp slt i32 %51, %53 br i1 %54, label %55, label %62 55: ; preds = %46 %56 = load ptr, ptr %5, align 8 %57 = load i32, ptr %9, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 %60 = load i32, ptr %59, align 4 %61 = load ptr, ptr %7, align 8 store i32 %60, ptr %61, align 4 br label %62 62: ; preds = %55, %46 br label %63 63: ; preds = %62 %64 = load i32, ptr %9, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %9, align 4 br label %26, !llvm.loop !8 66: ; preds = %26 %67 = load ptr, ptr %8, align 8 %68 = load i32, ptr %67, align 4 %69 = load ptr, ptr %7, align 8 %70 = load i32, ptr %69, align 4 %71 = add nsw i32 %68, %70 %72 = call i32 @printf(ptr noundef @.str, i32 noundef %71) ret void } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwp3d3g04.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @minmax(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %25 .lr.ph: ; preds = %4 br label %13 13: ; preds = %.lr.ph, %19 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %9, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = call i32 @scanf(ptr noundef @.str, ptr noundef %17) br label %19 19: ; preds = %13 %20 = load i32, ptr %9, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %9, align 4 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %4 %26 = load ptr, ptr %8, align 8 store i32 0, ptr %26, align 4 %27 = load ptr, ptr %7, align 8 store i32 0, ptr %27, align 4 store i32 0, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %.lr.ph2, label %70 .lr.ph2: ; preds = %25 br label %31 31: ; preds = %.lr.ph2, %64 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %9, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 %36 = load i32, ptr %35, align 4 %37 = load ptr, ptr %8, align 8 %38 = load i32, ptr %37, align 4 %39 = icmp sgt i32 %36, %38 br i1 %39, label %40, label %47 40: ; preds = %31 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %9, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 %45 = load i32, ptr %44, align 4 %46 = load ptr, ptr %8, align 8 store i32 %45, ptr %46, align 4 br label %47 47: ; preds = %40, %31 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 %52 = load i32, ptr %51, align 4 %53 = load ptr, ptr %7, align 8 %54 = load i32, ptr %53, align 4 %55 = icmp slt i32 %52, %54 br i1 %55, label %56, label %63 56: ; preds = %47 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %9, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 %61 = load i32, ptr %60, align 4 %62 = load ptr, ptr %7, align 8 store i32 %61, ptr %62, align 4 br label %63 63: ; preds = %56, %47 br label %64 64: ; preds = %63 %65 = load i32, ptr %9, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %9, align 4 %67 = load i32, ptr %9, align 4 %68 = load i32, ptr %6, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %31, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %64 br label %70 70: ; preds = %._crit_edge3, %25 %71 = load ptr, ptr %8, align 8 %72 = load i32, ptr %71, align 4 %73 = load ptr, ptr %7, align 8 %74 = load i32, ptr %73, align 4 %75 = add nsw i32 %72, %74 %76 = call i32 @printf(ptr noundef @.str, i32 noundef %75) ret void } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpjraut1ab.c' source_filename = "/tmp/tmpjraut1ab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cal_date(double noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca double, align 8 store double %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %16 = load double, ptr %6, align 8 %17 = fadd double %16, 5.000000e-01 store double %17, ptr %15, align 8 %18 = load double, ptr %15, align 8 %19 = fptosi double %18 to i64 store i64 %19, ptr %11, align 8 %20 = load double, ptr %15, align 8 %21 = call double @fmod(double noundef %20, double noundef 1.000000e+00) #2 %22 = fmul double %21, 2.400000e+01 %23 = load ptr, ptr %10, align 8 store double %22, ptr %23, align 8 %24 = load i64, ptr %11, align 8 %25 = add nsw i64 %24, 68569 store i64 %25, ptr %12, align 8 %26 = load i64, ptr %12, align 8 %27 = mul nsw i64 4, %26 %28 = sdiv i64 %27, 146097 store i64 %28, ptr %14, align 8 %29 = load i64, ptr %12, align 8 %30 = load i64, ptr %14, align 8 %31 = mul nsw i64 146097, %30 %32 = add nsw i64 %31, 3 %33 = sdiv i64 %32, 4 %34 = sub nsw i64 %29, %33 store i64 %34, ptr %12, align 8 %35 = load i64, ptr %12, align 8 %36 = add nsw i64 %35, 1 %37 = mul nsw i64 4000, %36 %38 = sdiv i64 %37, 1461001 store i64 %38, ptr %13, align 8 %39 = load i64, ptr %12, align 8 %40 = load i64, ptr %13, align 8 %41 = mul nsw i64 1461, %40 %42 = sdiv i64 %41, 4 %43 = sub nsw i64 %39, %42 %44 = add nsw i64 %43, 31 store i64 %44, ptr %12, align 8 %45 = load i64, ptr %12, align 8 %46 = mul nsw i64 80, %45 %47 = sdiv i64 %46, 2447 %48 = trunc i64 %47 to i16 %49 = load ptr, ptr %8, align 8 store i16 %48, ptr %49, align 2 %50 = load i64, ptr %12, align 8 %51 = load ptr, ptr %8, align 8 %52 = load i16, ptr %51, align 2 %53 = sext i16 %52 to i64 %54 = mul nsw i64 2447, %53 %55 = sdiv i64 %54, 80 %56 = sub nsw i64 %50, %55 %57 = trunc i64 %56 to i16 %58 = load ptr, ptr %9, align 8 store i16 %57, ptr %58, align 2 %59 = load ptr, ptr %8, align 8 %60 = load i16, ptr %59, align 2 %61 = sext i16 %60 to i64 %62 = sdiv i64 %61, 11 store i64 %62, ptr %12, align 8 %63 = load ptr, ptr %8, align 8 %64 = load i16, ptr %63, align 2 %65 = sext i16 %64 to i64 %66 = add nsw i64 %65, 2 %67 = load i64, ptr %12, align 8 %68 = mul nsw i64 12, %67 %69 = sub nsw i64 %66, %68 %70 = trunc i64 %69 to i16 %71 = load ptr, ptr %8, align 8 store i16 %70, ptr %71, align 2 %72 = load i64, ptr %14, align 8 %73 = sub nsw i64 %72, 49 %74 = mul nsw i64 100, %73 %75 = load i64, ptr %13, align 8 %76 = add nsw i64 %74, %75 %77 = load i64, ptr %12, align 8 %78 = add nsw i64 %76, %77 %79 = trunc i64 %78 to i16 %80 = load ptr, ptr %7, align 8 store i16 %79, ptr %80, align 2 ret void } ; Function Attrs: nounwind declare double @fmod(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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/tmpjraut1ab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cal_date(double noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca double, align 8 store double %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %16 = load double, ptr %6, align 8 %17 = fadd double %16, 5.000000e-01 store double %17, ptr %15, align 8 %18 = load double, ptr %15, align 8 %19 = fptosi double %18 to i64 store i64 %19, ptr %11, align 8 %20 = load double, ptr %15, align 8 %21 = call double @fmod(double noundef %20, double noundef 1.000000e+00) #2 %22 = fmul double %21, 2.400000e+01 %23 = load ptr, ptr %10, align 8 store double %22, ptr %23, align 8 %24 = load i64, ptr %11, align 8 %25 = add nsw i64 %24, 68569 store i64 %25, ptr %12, align 8 %26 = load i64, ptr %12, align 8 %27 = mul nsw i64 4, %26 %28 = sdiv i64 %27, 146097 store i64 %28, ptr %14, align 8 %29 = load i64, ptr %12, align 8 %30 = load i64, ptr %14, align 8 %31 = mul nsw i64 146097, %30 %32 = add nsw i64 %31, 3 %33 = sdiv i64 %32, 4 %34 = sub nsw i64 %29, %33 store i64 %34, ptr %12, align 8 %35 = load i64, ptr %12, align 8 %36 = add nsw i64 %35, 1 %37 = mul nsw i64 4000, %36 %38 = sdiv i64 %37, 1461001 store i64 %38, ptr %13, align 8 %39 = load i64, ptr %12, align 8 %40 = load i64, ptr %13, align 8 %41 = mul nsw i64 1461, %40 %42 = sdiv i64 %41, 4 %43 = sub nsw i64 %39, %42 %44 = add nsw i64 %43, 31 store i64 %44, ptr %12, align 8 %45 = load i64, ptr %12, align 8 %46 = mul nsw i64 80, %45 %47 = sdiv i64 %46, 2447 %48 = trunc i64 %47 to i16 %49 = load ptr, ptr %8, align 8 store i16 %48, ptr %49, align 2 %50 = load i64, ptr %12, align 8 %51 = load ptr, ptr %8, align 8 %52 = load i16, ptr %51, align 2 %53 = sext i16 %52 to i64 %54 = mul nsw i64 2447, %53 %55 = sdiv i64 %54, 80 %56 = sub nsw i64 %50, %55 %57 = trunc i64 %56 to i16 %58 = load ptr, ptr %9, align 8 store i16 %57, ptr %58, align 2 %59 = load ptr, ptr %8, align 8 %60 = load i16, ptr %59, align 2 %61 = sext i16 %60 to i64 %62 = sdiv i64 %61, 11 store i64 %62, ptr %12, align 8 %63 = load ptr, ptr %8, align 8 %64 = load i16, ptr %63, align 2 %65 = sext i16 %64 to i64 %66 = add nsw i64 %65, 2 %67 = load i64, ptr %12, align 8 %68 = mul nsw i64 12, %67 %69 = sub nsw i64 %66, %68 %70 = trunc i64 %69 to i16 %71 = load ptr, ptr %8, align 8 store i16 %70, ptr %71, align 2 %72 = load i64, ptr %14, align 8 %73 = sub nsw i64 %72, 49 %74 = mul nsw i64 100, %73 %75 = load i64, ptr %13, align 8 %76 = add nsw i64 %74, %75 %77 = load i64, ptr %12, align 8 %78 = add nsw i64 %76, %77 %79 = trunc i64 %78 to i16 %80 = load ptr, ptr %7, align 8 store i16 %79, ptr %80, align 2 ret void } ; Function Attrs: nounwind declare double @fmod(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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/tmppk3b49wj.c' source_filename = "/tmp/tmppk3b49wj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Arkanoid(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 70, ptr %4, align 4 store i32 64, ptr %5, align 4 store i32 35, ptr %6, align 4 store i32 65, ptr %7, align 4 store i32 63, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 3, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 3, ptr %13, align 4 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %8, align 4 %18 = load ptr, ptr %2, align 8 %19 = call i32 @InicjujGre(i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, ptr noundef %18) %20 = call i32 (...) @CzekajNaRozpoczecie() br label %21 21: ; preds = %57, %1 %22 = load i32, ptr %9, align 4 %23 = icmp ne i32 %22, 0 %24 = xor i1 %23, true br i1 %24, label %25, label %58 25: ; preds = %21 %26 = load ptr, ptr %2, align 8 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %6, align 4 %29 = call i32 @skasujPilke(ptr noundef %26, i32 noundef %27, i32 noundef %28) %30 = load ptr, ptr %2, align 8 %31 = call i32 @ZmienParametryPaletki(ptr noundef %7, ptr noundef %8, ptr noundef %30) %32 = load i32, ptr %7, align 4 %33 = load ptr, ptr %2, align 8 %34 = call i32 @ZmienParametryPilki(ptr noundef %5, ptr noundef %6, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, i32 noundef %32, ptr noundef %4, ptr noundef %33) %35 = load ptr, ptr %2, align 8 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %6, align 4 %38 = call i32 @rysujPilke(ptr noundef %35, i32 noundef %36, i32 noundef %37) %39 = load ptr, ptr %2, align 8 %40 = load i32, ptr %7, align 4 %41 = call i32 @przemiescPaletke(ptr noundef %39, i32 noundef %40) store i32 500, ptr %3, align 4 br label %42 42: ; preds = %47, %25 %43 = load i32, ptr %3, align 4 %44 = icmp ugt i32 %43, 0 br i1 %44, label %45, label %50 45: ; preds = %42 %46 = call i32 (...) @delay() br label %47 47: ; preds = %45 %48 = load i32, ptr %3, align 4 %49 = add i32 %48, -1 store i32 %49, ptr %3, align 4 br label %42, !llvm.loop !6 50: ; preds = %42 %51 = load i32, ptr %4, align 4 %52 = icmp sle i32 %51, 0 br i1 %52, label %56, label %53 53: ; preds = %50 %54 = load i32, ptr %6, align 4 %55 = icmp sge i32 %54, 63 br i1 %55, label %56, label %57 56: ; preds = %53, %50 store i32 1, ptr %9, align 4 br label %57 57: ; preds = %56, %53 br label %21, !llvm.loop !8 58: ; preds = %21 %59 = load i32, ptr %4, align 4 %60 = icmp sle i32 %59, 0 br i1 %60, label %61, label %63 61: ; preds = %58 %62 = call i32 (...) @WyswietlEkranWygranej() br label %65 63: ; preds = %58 %64 = call i32 (...) @WyswietlEkranPrzegranej() br label %65 65: ; preds = %63, %61 store i32 50000, ptr %3, align 4 br label %66 66: ; preds = %71, %65 %67 = load i32, ptr %3, align 4 %68 = icmp ugt i32 %67, 0 br i1 %68, label %69, label %74 69: ; preds = %66 %70 = call i32 (...) @delay() br label %71 71: ; preds = %69 %72 = load i32, ptr %3, align 4 %73 = add i32 %72, -1 store i32 %73, ptr %3, align 4 br label %66, !llvm.loop !9 74: ; preds = %66 ret void } declare i32 @InicjujGre(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @CzekajNaRozpoczecie(...) #1 declare i32 @skasujPilke(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ZmienParametryPaletki(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @ZmienParametryPilki(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @rysujPilke(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @przemiescPaletke(ptr noundef, i32 noundef) #1 declare i32 @delay(...) #1 declare i32 @WyswietlEkranWygranej(...) #1 declare i32 @WyswietlEkranPrzegranej(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmppk3b49wj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Arkanoid(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 70, ptr %4, align 4 store i32 64, ptr %5, align 4 store i32 35, ptr %6, align 4 store i32 65, ptr %7, align 4 store i32 63, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 3, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 3, ptr %13, align 4 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %8, align 4 %18 = load ptr, ptr %2, align 8 %19 = call i32 @InicjujGre(i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, ptr noundef %18) %20 = call i32 (...) @CzekajNaRozpoczecie() %21 = load i32, ptr %9, align 4 %22 = icmp ne i32 %21, 0 %23 = xor i1 %22, true br i1 %23, label %.lr.ph2, label %61 .lr.ph2: ; preds = %1 br label %24 24: ; preds = %.lr.ph2, %57 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %6, align 4 %28 = call i32 @skasujPilke(ptr noundef %25, i32 noundef %26, i32 noundef %27) %29 = load ptr, ptr %2, align 8 %30 = call i32 @ZmienParametryPaletki(ptr noundef %7, ptr noundef %8, ptr noundef %29) %31 = load i32, ptr %7, align 4 %32 = load ptr, ptr %2, align 8 %33 = call i32 @ZmienParametryPilki(ptr noundef %5, ptr noundef %6, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, i32 noundef %31, ptr noundef %4, ptr noundef %32) %34 = load ptr, ptr %2, align 8 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %6, align 4 %37 = call i32 @rysujPilke(ptr noundef %34, i32 noundef %35, i32 noundef %36) %38 = load ptr, ptr %2, align 8 %39 = load i32, ptr %7, align 4 %40 = call i32 @przemiescPaletke(ptr noundef %38, i32 noundef %39) store i32 500, ptr %3, align 4 %41 = load i32, ptr %3, align 4 %42 = icmp ugt i32 %41, 0 br i1 %42, label %.lr.ph, label %50 .lr.ph: ; preds = %24 br label %43 43: ; preds = %.lr.ph, %45 %44 = call i32 (...) @delay() br label %45 45: ; preds = %43 %46 = load i32, ptr %3, align 4 %47 = add i32 %46, -1 store i32 %47, ptr %3, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp ugt i32 %48, 0 br i1 %49, label %43, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %50 50: ; preds = %._crit_edge, %24 %51 = load i32, ptr %4, align 4 %52 = icmp sle i32 %51, 0 br i1 %52, label %56, label %53 53: ; preds = %50 %54 = load i32, ptr %6, align 4 %55 = icmp sge i32 %54, 63 br i1 %55, label %56, label %57 56: ; preds = %53, %50 store i32 1, ptr %9, align 4 br label %57 57: ; preds = %56, %53 %58 = load i32, ptr %9, align 4 %59 = icmp ne i32 %58, 0 %60 = xor i1 %59, true br i1 %60, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %61 61: ; preds = %._crit_edge3, %1 %62 = load i32, ptr %4, align 4 %63 = icmp sle i32 %62, 0 br i1 %63, label %64, label %66 64: ; preds = %61 %65 = call i32 (...) @WyswietlEkranWygranej() br label %68 66: ; preds = %61 %67 = call i32 (...) @WyswietlEkranPrzegranej() br label %68 68: ; preds = %66, %64 store i32 50000, ptr %3, align 4 %69 = load i32, ptr %3, align 4 %70 = icmp ugt i32 %69, 0 br i1 %70, label %.lr.ph5, label %78 .lr.ph5: ; preds = %68 br label %71 71: ; preds = %.lr.ph5, %73 %72 = call i32 (...) @delay() br label %73 73: ; preds = %71 %74 = load i32, ptr %3, align 4 %75 = add i32 %74, -1 store i32 %75, ptr %3, align 4 %76 = load i32, ptr %3, align 4 %77 = icmp ugt i32 %76, 0 br i1 %77, label %71, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %73 br label %78 78: ; preds = %._crit_edge6, %68 ret void } declare i32 @InicjujGre(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @CzekajNaRozpoczecie(...) #1 declare i32 @skasujPilke(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ZmienParametryPaletki(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @ZmienParametryPilki(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @rysujPilke(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @przemiescPaletke(ptr noundef, i32 noundef) #1 declare i32 @delay(...) #1 declare i32 @WyswietlEkranWygranej(...) #1 declare i32 @WyswietlEkranPrzegranej(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpa6_lrgy1.c' source_filename = "/tmp/tmpa6_lrgy1.c" target datalayout = "e-m:e-p270: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_5__ = type { ptr, i32, ptr, i32, i64, ptr, ptr, ptr } @Z_MEM_ERROR = dso_local global i32 0, align 4 @Z_NO_FLUSH = dso_local global i32 0, align 4 @Z_OK = dso_local global i32 0, align 4 @Z_STREAM_END = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @gzinflatebuf(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca %struct.TYPE_5__, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr null, ptr %9, align 8 %12 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 7 store ptr null, ptr %12, align 8 %13 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 6 store ptr null, ptr %13, align 8 %14 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 5 store ptr null, ptr %14, align 8 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 0 store ptr %15, ptr %16, align 8 %17 = load i32, ptr %6, align 4 %18 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 1 store i32 %17, ptr %18, align 8 %19 = load ptr, ptr %9, align 8 %20 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 2 store ptr %19, ptr %20, align 8 %21 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 4 store i64 0, ptr %21, align 8 %22 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 3 store i32 0, ptr %22, align 8 %23 = call i64 @inflateInit2(ptr noundef %8, i32 noundef 31) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %3 store ptr null, ptr %4, align 8 br label %85 26: ; preds = %3 br label %27 27: ; preds = %61, %26 %28 = load ptr, ptr %9, align 8 %29 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 3 %30 = load i32, ptr %29, align 8 %31 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 1 %32 = load i32, ptr %31, align 8 %33 = mul nsw i32 %32, 5 %34 = add nsw i32 %30, %33 %35 = add nsw i32 %34, 1 %36 = call ptr @realloc(ptr noundef %28, i32 noundef %35) store ptr %36, ptr %10, align 8 %37 = icmp ne ptr %36, null br i1 %37, label %40, label %38 38: ; preds = %27 %39 = load i32, ptr @Z_MEM_ERROR, align 4 store i32 %39, ptr %11, align 4 br label %66 40: ; preds = %27 %41 = load ptr, ptr %10, align 8 store ptr %41, ptr %9, align 8 br label %42 42: ; preds = %40 %43 = load ptr, ptr %9, align 8 %44 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 3 %45 = load i32, ptr %44, align 8 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %43, i64 %46 store i8 0, ptr %47, align 1 %48 = load ptr, ptr %9, align 8 %49 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 3 %50 = load i32, ptr %49, align 8 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %48, i64 %51 %53 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 2 store ptr %52, ptr %53, align 8 %54 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 1 %55 = load i32, ptr %54, align 8 %56 = mul nsw i32 %55, 5 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 4 %59 = load i64, ptr %58, align 8 %60 = add nsw i64 %59, %57 store i64 %60, ptr %58, align 8 br label %61 61: ; preds = %42 %62 = load i32, ptr @Z_NO_FLUSH, align 4 %63 = call i32 @inflate(ptr noundef %8, i32 noundef %62) store i32 %63, ptr %11, align 4 %64 = load i32, ptr @Z_OK, align 4 %65 = icmp eq i32 %63, %64 br i1 %65, label %27, label %66, !llvm.loop !6 66: ; preds = %61, %38 %67 = load i32, ptr %11, align 4 %68 = load i32, ptr @Z_STREAM_END, align 4 %69 = icmp eq i32 %67, %68 br i1 %69, label %70, label %78 70: ; preds = %66 %71 = load ptr, ptr %9, align 8 %72 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 3 %73 = load i32, ptr %72, align 8 %74 = call ptr @realloc(ptr noundef %71, i32 noundef %73) store ptr %74, ptr %9, align 8 %75 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 3 %76 = load i32, ptr %75, align 8 %77 = load ptr, ptr %7, align 8 store i32 %76, ptr %77, align 4 br label %82 78: ; preds = %66 %79 = load ptr, ptr %9, align 8 %80 = call i32 @free(ptr noundef %79) %81 = load ptr, ptr %7, align 8 store i32 0, ptr %81, align 4 store ptr null, ptr %9, align 8 br label %82 82: ; preds = %78, %70 %83 = call i32 @inflateEnd(ptr noundef %8) %84 = load ptr, ptr %9, align 8 store ptr %84, ptr %4, align 8 br label %85 85: ; preds = %82, %25 %86 = load ptr, ptr %4, align 8 ret ptr %86 } declare i64 @inflateInit2(ptr noundef, i32 noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @inflate(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @inflateEnd(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpa6_lrgy1.c" target datalayout = "e-m:e-p270: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_5__ = type { ptr, i32, ptr, i32, i64, ptr, ptr, ptr } @Z_MEM_ERROR = dso_local global i32 0, align 4 @Z_NO_FLUSH = dso_local global i32 0, align 4 @Z_OK = dso_local global i32 0, align 4 @Z_STREAM_END = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @gzinflatebuf(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca %struct.TYPE_5__, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr null, ptr %9, align 8 %12 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 7 store ptr null, ptr %12, align 8 %13 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 6 store ptr null, ptr %13, align 8 %14 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 5 store ptr null, ptr %14, align 8 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 0 store ptr %15, ptr %16, align 8 %17 = load i32, ptr %6, align 4 %18 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 1 store i32 %17, ptr %18, align 8 %19 = load ptr, ptr %9, align 8 %20 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 2 store ptr %19, ptr %20, align 8 %21 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 4 store i64 0, ptr %21, align 8 %22 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 3 store i32 0, ptr %22, align 8 %23 = call i64 @inflateInit2(ptr noundef %8, i32 noundef 31) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %3 store ptr null, ptr %4, align 8 br label %85 26: ; preds = %3 br label %27 27: ; preds = %61, %26 %28 = load ptr, ptr %9, align 8 %29 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 3 %30 = load i32, ptr %29, align 8 %31 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 1 %32 = load i32, ptr %31, align 8 %33 = mul nsw i32 %32, 5 %34 = add nsw i32 %30, %33 %35 = add nsw i32 %34, 1 %36 = call ptr @realloc(ptr noundef %28, i32 noundef %35) store ptr %36, ptr %10, align 8 %37 = icmp ne ptr %36, null br i1 %37, label %40, label %38 38: ; preds = %27 %39 = load i32, ptr @Z_MEM_ERROR, align 4 store i32 %39, ptr %11, align 4 br label %66 40: ; preds = %27 %41 = load ptr, ptr %10, align 8 store ptr %41, ptr %9, align 8 br label %42 42: ; preds = %40 %43 = load ptr, ptr %9, align 8 %44 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 3 %45 = load i32, ptr %44, align 8 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %43, i64 %46 store i8 0, ptr %47, align 1 %48 = load ptr, ptr %9, align 8 %49 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 3 %50 = load i32, ptr %49, align 8 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %48, i64 %51 %53 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 2 store ptr %52, ptr %53, align 8 %54 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 1 %55 = load i32, ptr %54, align 8 %56 = mul nsw i32 %55, 5 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 4 %59 = load i64, ptr %58, align 8 %60 = add nsw i64 %59, %57 store i64 %60, ptr %58, align 8 br label %61 61: ; preds = %42 %62 = load i32, ptr @Z_NO_FLUSH, align 4 %63 = call i32 @inflate(ptr noundef %8, i32 noundef %62) store i32 %63, ptr %11, align 4 %64 = load i32, ptr @Z_OK, align 4 %65 = icmp eq i32 %63, %64 br i1 %65, label %27, label %.loopexit, !llvm.loop !6 .loopexit: ; preds = %61 br label %66 66: ; preds = %.loopexit, %38 %67 = load i32, ptr %11, align 4 %68 = load i32, ptr @Z_STREAM_END, align 4 %69 = icmp eq i32 %67, %68 br i1 %69, label %70, label %78 70: ; preds = %66 %71 = load ptr, ptr %9, align 8 %72 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 3 %73 = load i32, ptr %72, align 8 %74 = call ptr @realloc(ptr noundef %71, i32 noundef %73) store ptr %74, ptr %9, align 8 %75 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 3 %76 = load i32, ptr %75, align 8 %77 = load ptr, ptr %7, align 8 store i32 %76, ptr %77, align 4 br label %82 78: ; preds = %66 %79 = load ptr, ptr %9, align 8 %80 = call i32 @free(ptr noundef %79) %81 = load ptr, ptr %7, align 8 store i32 0, ptr %81, align 4 store ptr null, ptr %9, align 8 br label %82 82: ; preds = %78, %70 %83 = call i32 @inflateEnd(ptr noundef %8) %84 = load ptr, ptr %9, align 8 store ptr %84, ptr %4, align 8 br label %85 85: ; preds = %82, %25 %86 = load ptr, ptr %4, align 8 ret ptr %86 } declare i64 @inflateInit2(ptr noundef, i32 noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @inflate(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @inflateEnd(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp7euwmh5d.c' source_filename = "/tmp/tmp7euwmh5d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_END = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"APETAGEX\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_ape(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [32 x i8], align 16 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i64 @ftell(ptr noundef %6) store i64 %7, ptr %5, align 8 %8 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0 %9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 32) %10 = load ptr, ptr %3, align 8 %11 = load ptr, ptr %3, align 8 %12 = call i64 @is_id3v1(ptr noundef %11) %13 = icmp ne i64 %12, 0 %14 = zext i1 %13 to i64 %15 = select i1 %13, i32 -160, i32 -32 %16 = sext i32 %15 to i64 %17 = load i32, ptr @SEEK_END, align 4 %18 = call i32 @fseek(ptr noundef %10, i64 noundef %16, i32 noundef %17) %19 = load ptr, ptr %3, align 8 %20 = call i32 @fread(ptr noundef %4, i32 noundef 1, i32 noundef 32, ptr noundef %19) %21 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0 %22 = call i64 @memcmp(ptr noundef %21, ptr noundef @.str, i32 noundef 8) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %29 24: ; preds = %1 %25 = load ptr, ptr %3, align 8 %26 = load i64, ptr %5, align 8 %27 = load i32, ptr @SEEK_SET, align 4 %28 = call i32 @fseek(ptr noundef %25, i64 noundef %26, i32 noundef %27) store i32 0, ptr %2, align 4 br label %56 29: ; preds = %1 %30 = load ptr, ptr %3, align 8 %31 = load i64, ptr %5, align 8 %32 = load i32, ptr @SEEK_SET, align 4 %33 = call i32 @fseek(ptr noundef %30, i64 noundef %31, i32 noundef %32) %34 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0 %35 = getelementptr inbounds i8, ptr %34, i64 8 %36 = getelementptr inbounds i8, ptr %35, i64 4 %37 = call i32 @is_tag_ape2long(ptr noundef %36) %38 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0 %39 = getelementptr inbounds i8, ptr %38, i64 8 %40 = call i32 @is_tag_ape2long(ptr noundef %39) %41 = icmp eq i32 %40, 2000 br i1 %41, label %42, label %51 42: ; preds = %29 %43 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0 %44 = getelementptr inbounds i8, ptr %43, i64 8 %45 = getelementptr inbounds i8, ptr %44, i64 4 %46 = getelementptr inbounds i8, ptr %45, i64 8 %47 = call i32 @is_tag_ape2long(ptr noundef %46) %48 = and i32 %47, 1073741824 %49 = icmp ne i32 %48, 0 %50 = xor i1 %49, true br label %51 51: ; preds = %42, %29 %52 = phi i1 [ false, %29 ], [ %50, %42 ] %53 = zext i1 %52 to i64 %54 = select i1 %52, i32 32, i32 0 %55 = add nsw i32 %37, %54 store i32 %55, ptr %2, align 4 br label %56 56: ; preds = %51, %24 %57 = load i32, ptr %2, align 4 ret i32 %57 } declare i64 @ftell(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @is_id3v1(ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @is_tag_ape2long(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7euwmh5d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_END = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"APETAGEX\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_ape(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [32 x i8], align 16 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i64 @ftell(ptr noundef %6) store i64 %7, ptr %5, align 8 %8 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0 %9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 32) %10 = load ptr, ptr %3, align 8 %11 = load ptr, ptr %3, align 8 %12 = call i64 @is_id3v1(ptr noundef %11) %13 = icmp ne i64 %12, 0 %14 = zext i1 %13 to i64 %15 = select i1 %13, i32 -160, i32 -32 %16 = sext i32 %15 to i64 %17 = load i32, ptr @SEEK_END, align 4 %18 = call i32 @fseek(ptr noundef %10, i64 noundef %16, i32 noundef %17) %19 = load ptr, ptr %3, align 8 %20 = call i32 @fread(ptr noundef %4, i32 noundef 1, i32 noundef 32, ptr noundef %19) %21 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0 %22 = call i64 @memcmp(ptr noundef %21, ptr noundef @.str, i32 noundef 8) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %29 24: ; preds = %1 %25 = load ptr, ptr %3, align 8 %26 = load i64, ptr %5, align 8 %27 = load i32, ptr @SEEK_SET, align 4 %28 = call i32 @fseek(ptr noundef %25, i64 noundef %26, i32 noundef %27) store i32 0, ptr %2, align 4 br label %56 29: ; preds = %1 %30 = load ptr, ptr %3, align 8 %31 = load i64, ptr %5, align 8 %32 = load i32, ptr @SEEK_SET, align 4 %33 = call i32 @fseek(ptr noundef %30, i64 noundef %31, i32 noundef %32) %34 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0 %35 = getelementptr inbounds i8, ptr %34, i64 8 %36 = getelementptr inbounds i8, ptr %35, i64 4 %37 = call i32 @is_tag_ape2long(ptr noundef %36) %38 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0 %39 = getelementptr inbounds i8, ptr %38, i64 8 %40 = call i32 @is_tag_ape2long(ptr noundef %39) %41 = icmp eq i32 %40, 2000 br i1 %41, label %42, label %51 42: ; preds = %29 %43 = getelementptr inbounds [32 x i8], ptr %4, i64 0, i64 0 %44 = getelementptr inbounds i8, ptr %43, i64 8 %45 = getelementptr inbounds i8, ptr %44, i64 4 %46 = getelementptr inbounds i8, ptr %45, i64 8 %47 = call i32 @is_tag_ape2long(ptr noundef %46) %48 = and i32 %47, 1073741824 %49 = icmp ne i32 %48, 0 %50 = xor i1 %49, true br label %51 51: ; preds = %42, %29 %52 = phi i1 [ false, %29 ], [ %50, %42 ] %53 = zext i1 %52 to i64 %54 = select i1 %52, i32 32, i32 0 %55 = add nsw i32 %37, %54 store i32 %55, ptr %2, align 4 br label %56 56: ; preds = %51, %24 %57 = load i32, ptr %2, align 4 ret i32 %57 } declare i64 @ftell(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @is_id3v1(ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @is_tag_ape2long(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzwuvou8e.c' source_filename = "/tmp/tmpzwuvou8e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %10, %2 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 10 br i1 %9, label %10, label %15 10: ; preds = %7 %11 = load i32, ptr %6, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) %13 = load i32, ptr %6, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %6, align 4 br label %7, !llvm.loop !6 15: ; preds = %7 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzwuvou8e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %.lr.ph, label %16 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %9 %10 = load i32, ptr %6, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) %12 = load i32, ptr %6, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %14, 10 br i1 %15, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %16 16: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpg4_udvuy.c' source_filename = "/tmp/tmpg4_udvuy.c" target datalayout = "e-m:e-p270: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/tmpg4_udvuy.c" target datalayout = "e-m:e-p270: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/tmprqagyj4b.c' source_filename = "/tmp/tmprqagyj4b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_Z7swlrintd(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 @lrint(double noundef %3) ret double %4 } declare double @lrint(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/tmprqagyj4b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_Z7swlrintd(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 @lrint(double noundef %3) ret double %4 } declare double @lrint(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/tmpge1xjfqd.c' source_filename = "/tmp/tmpge1xjfqd.c" target datalayout = "e-m:e-p270: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 [75 x i8] c"*info* generating a random buffer with a size %zd bytes, cyclic %zd bytes\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"stutools - %s - %ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @generateRandomBufferCyclic(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i8, align 1 %13 = alloca i64, align 8 %14 = alloca [1000 x i8], align 16 %15 = alloca i64, align 8 %16 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %17 = load i64, ptr %8, align 8 %18 = load i64, ptr %6, align 8 %19 = icmp ugt i64 %17, %18 br i1 %19, label %23, label %20 20: ; preds = %4 %21 = load i64, ptr %8, align 8 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %20, %4 %24 = load i64, ptr %6, align 8 store i64 %24, ptr %8, align 8 br label %25 25: ; preds = %23, %20 %26 = load i64, ptr %8, align 8 %27 = load i64, ptr %6, align 8 %28 = icmp ne i64 %26, %27 br i1 %28, label %29, label %34 29: ; preds = %25 %30 = load i32, ptr @stderr, align 4 %31 = load i64, ptr %6, align 8 %32 = load i64, ptr %8, align 8 %33 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str, i64 noundef %31, i64 noundef %32) br label %34 34: ; preds = %29, %25 %35 = load i64, ptr %7, align 8 %36 = call i32 @srand48(i64 noundef %35) %37 = call ptr (...) @username() store ptr %37, ptr %9, align 8 %38 = call i32 (...) @lrand48() %39 = srem i32 %38, 15 %40 = add nsw i32 32, %39 %41 = trunc i32 %40 to i8 store i8 %41, ptr %10, align 1 %42 = call i32 (...) @lrand48() %43 = srem i32 %42, 3 %44 = add nsw i32 %43, 1 %45 = trunc i32 %44 to i8 store i8 %45, ptr %11, align 1 %46 = load i8, ptr %10, align 1 store i8 %46, ptr %12, align 1 store i64 0, ptr %13, align 8 br label %47 47: ; preds = %68, %34 %48 = load i64, ptr %13, align 8 %49 = load i64, ptr %8, align 8 %50 = icmp ult i64 %48, %49 br i1 %50, label %51, label %71 51: ; preds = %47 %52 = load i8, ptr %12, align 1 %53 = load ptr, ptr %5, align 8 %54 = load i64, ptr %13, align 8 %55 = getelementptr inbounds i8, ptr %53, i64 %54 store i8 %52, ptr %55, align 1 %56 = load i8, ptr %11, align 1 %57 = sext i8 %56 to i32 %58 = load i8, ptr %12, align 1 %59 = sext i8 %58 to i32 %60 = add nsw i32 %59, %57 %61 = trunc i32 %60 to i8 store i8 %61, ptr %12, align 1 %62 = load i8, ptr %12, align 1 %63 = sext i8 %62 to i32 %64 = icmp sgt i32 %63, 122 br i1 %64, label %65, label %67 65: ; preds = %51 %66 = load i8, ptr %10, align 1 store i8 %66, ptr %12, align 1 br label %67 67: ; preds = %65, %51 br label %68 68: ; preds = %67 %69 = load i64, ptr %13, align 8 %70 = add i64 %69, 1 store i64 %70, ptr %13, align 8 br label %47, !llvm.loop !6 71: ; preds = %47 %72 = getelementptr inbounds [1000 x i8], ptr %14, i64 0, i64 0 %73 = call i32 @memset(ptr noundef %72, i32 noundef 0, i32 noundef 1000) %74 = getelementptr inbounds [1000 x i8], ptr %14, i64 0, i64 0 %75 = load ptr, ptr %9, align 8 %76 = icmp eq ptr %75, null br i1 %76, label %77, label %78 77: ; preds = %71 br label %80 78: ; preds = %71 %79 = load ptr, ptr %9, align 8 br label %80 80: ; preds = %78, %77 %81 = phi ptr [ @.str.2, %77 ], [ %79, %78 ] %82 = load i64, ptr %7, align 8 %83 = call i64 @sprintf(ptr noundef %74, ptr noundef @.str.1, ptr noundef %81, i64 noundef %82) store i64 %83, ptr %15, align 8 %84 = load ptr, ptr %5, align 8 %85 = getelementptr inbounds [1000 x i8], ptr %14, i64 0, i64 0 %86 = load i64, ptr %15, align 8 %87 = call i32 @strncpy(ptr noundef %84, ptr noundef %85, i64 noundef %86) %88 = load i64, ptr %8, align 8 store i64 %88, ptr %16, align 8 br label %89 89: ; preds = %103, %80 %90 = load i64, ptr %16, align 8 %91 = load i64, ptr %6, align 8 %92 = icmp ult i64 %90, %91 br i1 %92, label %93, label %106 93: ; preds = %89 %94 = load ptr, ptr %5, align 8 %95 = load i64, ptr %16, align 8 %96 = load i64, ptr %8, align 8 %97 = urem i64 %95, %96 %98 = getelementptr inbounds i8, ptr %94, i64 %97 %99 = load i8, ptr %98, align 1 %100 = load ptr, ptr %5, align 8 %101 = load i64, ptr %16, align 8 %102 = getelementptr inbounds i8, ptr %100, i64 %101 store i8 %99, ptr %102, align 1 br label %103 103: ; preds = %93 %104 = load i64, ptr %16, align 8 %105 = add i64 %104, 1 store i64 %105, ptr %16, align 8 br label %89, !llvm.loop !8 106: ; preds = %89 %107 = load ptr, ptr %9, align 8 %108 = call i32 @free(ptr noundef %107) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @srand48(i64 noundef) #1 declare ptr @username(...) #1 declare i32 @lrand48(...) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @sprintf(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i64 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpge1xjfqd.c" target datalayout = "e-m:e-p270: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 [75 x i8] c"*info* generating a random buffer with a size %zd bytes, cyclic %zd bytes\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"stutools - %s - %ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @generateRandomBufferCyclic(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i8, align 1 %13 = alloca i64, align 8 %14 = alloca [1000 x i8], align 16 %15 = alloca i64, align 8 %16 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %17 = load i64, ptr %8, align 8 %18 = load i64, ptr %6, align 8 %19 = icmp ugt i64 %17, %18 br i1 %19, label %23, label %20 20: ; preds = %4 %21 = load i64, ptr %8, align 8 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %20, %4 %24 = load i64, ptr %6, align 8 store i64 %24, ptr %8, align 8 br label %25 25: ; preds = %23, %20 %26 = load i64, ptr %8, align 8 %27 = load i64, ptr %6, align 8 %28 = icmp ne i64 %26, %27 br i1 %28, label %29, label %34 29: ; preds = %25 %30 = load i32, ptr @stderr, align 4 %31 = load i64, ptr %6, align 8 %32 = load i64, ptr %8, align 8 %33 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str, i64 noundef %31, i64 noundef %32) br label %34 34: ; preds = %29, %25 %35 = load i64, ptr %7, align 8 %36 = call i32 @srand48(i64 noundef %35) %37 = call ptr (...) @username() store ptr %37, ptr %9, align 8 %38 = call i32 (...) @lrand48() %39 = srem i32 %38, 15 %40 = add nsw i32 32, %39 %41 = trunc i32 %40 to i8 store i8 %41, ptr %10, align 1 %42 = call i32 (...) @lrand48() %43 = srem i32 %42, 3 %44 = add nsw i32 %43, 1 %45 = trunc i32 %44 to i8 store i8 %45, ptr %11, align 1 %46 = load i8, ptr %10, align 1 store i8 %46, ptr %12, align 1 store i64 0, ptr %13, align 8 %47 = load i64, ptr %13, align 8 %48 = load i64, ptr %8, align 8 %49 = icmp ult i64 %47, %48 br i1 %49, label %.lr.ph, label %73 .lr.ph: ; preds = %34 br label %50 50: ; preds = %.lr.ph, %67 %51 = load i8, ptr %12, align 1 %52 = load ptr, ptr %5, align 8 %53 = load i64, ptr %13, align 8 %54 = getelementptr inbounds i8, ptr %52, i64 %53 store i8 %51, ptr %54, align 1 %55 = load i8, ptr %11, align 1 %56 = sext i8 %55 to i32 %57 = load i8, ptr %12, align 1 %58 = sext i8 %57 to i32 %59 = add nsw i32 %58, %56 %60 = trunc i32 %59 to i8 store i8 %60, ptr %12, align 1 %61 = load i8, ptr %12, align 1 %62 = sext i8 %61 to i32 %63 = icmp sgt i32 %62, 122 br i1 %63, label %64, label %66 64: ; preds = %50 %65 = load i8, ptr %10, align 1 store i8 %65, ptr %12, align 1 br label %66 66: ; preds = %64, %50 br label %67 67: ; preds = %66 %68 = load i64, ptr %13, align 8 %69 = add i64 %68, 1 store i64 %69, ptr %13, align 8 %70 = load i64, ptr %13, align 8 %71 = load i64, ptr %8, align 8 %72 = icmp ult i64 %70, %71 br i1 %72, label %50, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %67 br label %73 73: ; preds = %._crit_edge, %34 %74 = getelementptr inbounds [1000 x i8], ptr %14, i64 0, i64 0 %75 = call i32 @memset(ptr noundef %74, i32 noundef 0, i32 noundef 1000) %76 = getelementptr inbounds [1000 x i8], ptr %14, i64 0, i64 0 %77 = load ptr, ptr %9, align 8 %78 = icmp eq ptr %77, null br i1 %78, label %79, label %80 79: ; preds = %73 br label %82 80: ; preds = %73 %81 = load ptr, ptr %9, align 8 br label %82 82: ; preds = %80, %79 %83 = phi ptr [ @.str.2, %79 ], [ %81, %80 ] %84 = load i64, ptr %7, align 8 %85 = call i64 @sprintf(ptr noundef %76, ptr noundef @.str.1, ptr noundef %83, i64 noundef %84) store i64 %85, ptr %15, align 8 %86 = load ptr, ptr %5, align 8 %87 = getelementptr inbounds [1000 x i8], ptr %14, i64 0, i64 0 %88 = load i64, ptr %15, align 8 %89 = call i32 @strncpy(ptr noundef %86, ptr noundef %87, i64 noundef %88) %90 = load i64, ptr %8, align 8 store i64 %90, ptr %16, align 8 %91 = load i64, ptr %16, align 8 %92 = load i64, ptr %6, align 8 %93 = icmp ult i64 %91, %92 br i1 %93, label %.lr.ph2, label %110 .lr.ph2: ; preds = %82 br label %94 94: ; preds = %.lr.ph2, %104 %95 = load ptr, ptr %5, align 8 %96 = load i64, ptr %16, align 8 %97 = load i64, ptr %8, align 8 %98 = urem i64 %96, %97 %99 = getelementptr inbounds i8, ptr %95, i64 %98 %100 = load i8, ptr %99, align 1 %101 = load ptr, ptr %5, align 8 %102 = load i64, ptr %16, align 8 %103 = getelementptr inbounds i8, ptr %101, i64 %102 store i8 %100, ptr %103, align 1 br label %104 104: ; preds = %94 %105 = load i64, ptr %16, align 8 %106 = add i64 %105, 1 store i64 %106, ptr %16, align 8 %107 = load i64, ptr %16, align 8 %108 = load i64, ptr %6, align 8 %109 = icmp ult i64 %107, %108 br i1 %109, label %94, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %104 br label %110 110: ; preds = %._crit_edge3, %82 %111 = load ptr, ptr %9, align 8 %112 = call i32 @free(ptr noundef %111) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @srand48(i64 noundef) #1 declare ptr @username(...) #1 declare i32 @lrand48(...) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @sprintf(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i64 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpdciygo0d.c' source_filename = "/tmp/tmpdciygo0d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_rpc_handler2(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = load ptr, ptr %7, align 8 %12 = load ptr, ptr %8, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdciygo0d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_rpc_handler2(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = load ptr, ptr %7, align 8 %12 = load ptr, ptr %8, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjwxxks1s.c' source_filename = "/tmp/tmpjwxxks1s.c" target datalayout = "e-m:e-p270: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/tmpjwxxks1s.c" target datalayout = "e-m:e-p270: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/tmpajfaifji.c' source_filename = "/tmp/tmpajfaifji.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [84 x i8] c"AVRCP_ Invoke Response: AVTransport/GetDeviceCapabilities[ErrorCode:%d](%s,%s,%s)\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @AVRCP_ResponseSink_AVTransport_GetDeviceCapabilities(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load i32, ptr %8, align 4 %14 = load ptr, ptr %10, align 8 %15 = load ptr, ptr %11, align 8 %16 = load ptr, ptr %12, align 8 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16) ret void } declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpajfaifji.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [84 x i8] c"AVRCP_ Invoke Response: AVTransport/GetDeviceCapabilities[ErrorCode:%d](%s,%s,%s)\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @AVRCP_ResponseSink_AVTransport_GetDeviceCapabilities(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load i32, ptr %8, align 4 %14 = load ptr, ptr %10, align 8 %15 = load ptr, ptr %11, align 8 %16 = load ptr, ptr %12, align 8 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16) ret void } declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpywe14okm.c' source_filename = "/tmp/tmpywe14okm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_time.start_time = internal global double 0.000000e+00, align 8 @get_time.start_flag = internal global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @get_time() #0 { %1 = load i32, ptr @get_time.start_flag, align 4 %2 = icmp ne i32 %1, 0 br i1 %2, label %5, label %3 3: ; preds = %0 %4 = call double (...) @getUnixTime() store double %4, ptr @get_time.start_time, align 8 store i32 1, ptr @get_time.start_flag, align 4 br label %5 5: ; preds = %3, %0 %6 = call double (...) @getUnixTime() %7 = load double, ptr @get_time.start_time, align 8 %8 = fsub double %6, %7 ret double %8 } declare double @getUnixTime(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpywe14okm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_time.start_time = internal global double 0.000000e+00, align 8 @get_time.start_flag = internal global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @get_time() #0 { %1 = load i32, ptr @get_time.start_flag, align 4 %2 = icmp ne i32 %1, 0 br i1 %2, label %5, label %3 3: ; preds = %0 %4 = call double (...) @getUnixTime() store double %4, ptr @get_time.start_time, align 8 store i32 1, ptr @get_time.start_flag, align 4 br label %5 5: ; preds = %3, %0 %6 = call double (...) @getUnixTime() %7 = load double, ptr @get_time.start_time, align 8 %8 = fsub double %6, %7 ret double %8 } declare double @getUnixTime(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpka9kt6bn.c' source_filename = "/tmp/tmpka9kt6bn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @readFloat2(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 br label %6 6: ; preds = %13, %2 %7 = load ptr, ptr %4, align 8 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9) store i32 %10, ptr %5, align 4 %11 = load i32, ptr @stdin, align 4 %12 = call i32 @__fpurge(i32 noundef %11) br label %13 13: ; preds = %6 %14 = load i32, ptr %5, align 4 %15 = icmp ne i32 %14, 1 br i1 %15, label %6, label %16, !llvm.loop !6 16: ; preds = %13 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @__fpurge(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/tmpka9kt6bn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @readFloat2(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 br label %6 6: ; preds = %13, %2 %7 = load ptr, ptr %4, align 8 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9) store i32 %10, ptr %5, align 4 %11 = load i32, ptr @stdin, align 4 %12 = call i32 @__fpurge(i32 noundef %11) br label %13 13: ; preds = %6 %14 = load i32, ptr %5, align 4 %15 = icmp ne i32 %14, 1 br i1 %15, label %6, label %16, !llvm.loop !6 16: ; preds = %13 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @__fpurge(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/tmpup3hlo08.c' source_filename = "/tmp/tmpup3hlo08.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpup3hlo08.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdrxw6f3p.c' source_filename = "/tmp/tmpdrxw6f3p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Time: %g seconds\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Memory: %d GB\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Validation: SUCCESS\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef 1.837000e+02) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 24) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdrxw6f3p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Time: %g seconds\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Memory: %d GB\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Validation: SUCCESS\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef 1.837000e+02) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 24) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwyhrzfa0.c' source_filename = "/tmp/tmpwyhrzfa0.c" target datalayout = "e-m:e-p270: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/tmpwyhrzfa0.c" target datalayout = "e-m:e-p270: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/tmpmhp_xerr.c' source_filename = "/tmp/tmpmhp_xerr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @_Z6swcoshe(x86_fp80 noundef %0) #0 { %2 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %2, align 16 %3 = load x86_fp80, ptr %2, align 16 %4 = call x86_fp80 @coshl(x86_fp80 noundef %3) #2 ret x86_fp80 %4 } ; Function Attrs: nounwind declare x86_fp80 @coshl(x86_fp80 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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/tmpmhp_xerr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @_Z6swcoshe(x86_fp80 noundef %0) #0 { %2 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %2, align 16 %3 = load x86_fp80, ptr %2, align 16 %4 = call x86_fp80 @coshl(x86_fp80 noundef %3) #2 ret x86_fp80 %4 } ; Function Attrs: nounwind declare x86_fp80 @coshl(x86_fp80 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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/tmp_ghhtw6f.c' source_filename = "/tmp/tmp_ghhtw6f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DbpString(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = call i32 @DbpStringEx(i32 noundef 1, ptr noundef %3, i32 noundef %5) ret void } declare i32 @DbpStringEx(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ghhtw6f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DbpString(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = call i32 @DbpStringEx(i32 noundef 1, ptr noundef %3, i32 noundef %5) ret void } declare i32 @DbpStringEx(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj0vst06y.c' source_filename = "/tmp/tmpj0vst06y.c" target datalayout = "e-m:e-p270: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/tmpj0vst06y.c" target datalayout = "e-m:e-p270: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/tmpytg67i1z.c' source_filename = "/tmp/tmpytg67i1z.c" target datalayout = "e-m:e-p270: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/tmpytg67i1z.c" target datalayout = "e-m:e-p270: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/tmpzrwccvz9.c' source_filename = "/tmp/tmpzrwccvz9.c" target datalayout = "e-m:e-p270: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/tmpzrwccvz9.c" target datalayout = "e-m:e-p270: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/tmpy6p2zliq.c' source_filename = "/tmp/tmpy6p2zliq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [9 x i8] c"zhangfei\00", align 1 @__const.main.b = private unnamed_addr constant [7 x i8] c"guanyu\00", align 1 @__const.main.c = private unnamed_addr constant [8 x i8] c"zhaoyun\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [9 x i8], align 1 %3 = alloca [7 x i8], align 1 %4 = alloca [8 x i8], align 1 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.a, i64 9, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.b, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.c, i64 8, i1 false) %6 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 0 store ptr %6, ptr %5, align 8 %7 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 0 %8 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 0 %9 = call i64 @strcmp(ptr noundef %7, ptr noundef %8) %10 = icmp sgt i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %0 %12 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 0 store ptr %12, ptr %5, align 8 br label %13 13: ; preds = %11, %0 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 0 %16 = call i64 @strcmp(ptr noundef %14, ptr noundef %15) %17 = icmp slt i64 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %13 %19 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 0 store ptr %19, ptr %5, align 8 br label %20 20: ; preds = %18, %13 %21 = load ptr, ptr %5, align 8 %22 = call i32 @puts(ptr noundef %21) %23 = call i32 (...) @getchar() ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @puts(ptr noundef) #2 declare i32 @getchar(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy6p2zliq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [9 x i8] c"zhangfei\00", align 1 @__const.main.b = private unnamed_addr constant [7 x i8] c"guanyu\00", align 1 @__const.main.c = private unnamed_addr constant [8 x i8] c"zhaoyun\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [9 x i8], align 1 %3 = alloca [7 x i8], align 1 %4 = alloca [8 x i8], align 1 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.a, i64 9, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.b, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.c, i64 8, i1 false) %6 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 0 store ptr %6, ptr %5, align 8 %7 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 0 %8 = getelementptr inbounds [7 x i8], ptr %3, i64 0, i64 0 %9 = call i64 @strcmp(ptr noundef %7, ptr noundef %8) %10 = icmp sgt i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %0 %12 = getelementptr inbounds [9 x i8], ptr %2, i64 0, i64 0 store ptr %12, ptr %5, align 8 br label %13 13: ; preds = %11, %0 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 0 %16 = call i64 @strcmp(ptr noundef %14, ptr noundef %15) %17 = icmp slt i64 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %13 %19 = getelementptr inbounds [8 x i8], ptr %4, i64 0, i64 0 store ptr %19, ptr %5, align 8 br label %20 20: ; preds = %18, %13 %21 = load ptr, ptr %5, align 8 %22 = call i32 @puts(ptr noundef %21) %23 = call i32 (...) @getchar() ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @puts(ptr noundef) #2 declare i32 @getchar(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6gbb1nb1.c' source_filename = "/tmp/tmp6gbb1nb1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @muliply_one_Good() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @unknown_uint() store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = mul nsw i32 %4, 1 store i32 %5, ptr %2, align 4 ret void } declare i32 @unknown_uint(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6gbb1nb1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @muliply_one_Good() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @unknown_uint() store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = mul nsw i32 %4, 1 store i32 %5, ptr %2, align 4 ret void } declare i32 @unknown_uint(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn2ef3ymb.c' source_filename = "/tmp/tmpn2ef3ymb.c" target datalayout = "e-m:e-p270: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/tmpn2ef3ymb.c" target datalayout = "e-m:e-p270: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/tmpk1jmnb_e.c' source_filename = "/tmp/tmpk1jmnb_e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @AC_getMiePhase(float noundef %0, float noundef %1, float noundef %2, float noundef %3) #0 { %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 store float %0, ptr %5, align 4 store float %1, ptr %6, align 4 store float %2, ptr %7, align 4 store float %3, ptr %8, align 4 %9 = load float, ptr %8, align 4 %10 = fpext float %9 to double %11 = fsub double 1.000000e+00, %10 %12 = load float, ptr %8, align 4 %13 = fpext float %12 to double %14 = fadd double 2.000000e+00, %13 %15 = fdiv double %11, %14 %16 = fmul double 1.500000e+00, %15 %17 = load float, ptr %6, align 4 %18 = fpext float %17 to double %19 = fadd double 1.000000e+00, %18 %20 = fmul double %16, %19 %21 = load float, ptr %8, align 4 %22 = fpext float %21 to double %23 = fadd double 1.000000e+00, %22 %24 = load float, ptr %7, align 4 %25 = fpext float %24 to double %26 = fmul double 2.000000e+00, %25 %27 = load float, ptr %5, align 4 %28 = fpext float %27 to double %29 = fneg double %26 %30 = call double @llvm.fmuladd.f64(double %29, double %28, double %23) %31 = call i32 @abs(double noundef %30) %32 = call double @pow(i32 noundef %31, double noundef 1.500000e+00) %33 = fdiv double %20, %32 %34 = fptrunc double %33 to float ret float %34 } declare double @pow(i32 noundef, double noundef) #1 declare i32 @abs(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk1jmnb_e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @AC_getMiePhase(float noundef %0, float noundef %1, float noundef %2, float noundef %3) #0 { %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 store float %0, ptr %5, align 4 store float %1, ptr %6, align 4 store float %2, ptr %7, align 4 store float %3, ptr %8, align 4 %9 = load float, ptr %8, align 4 %10 = fpext float %9 to double %11 = fsub double 1.000000e+00, %10 %12 = load float, ptr %8, align 4 %13 = fpext float %12 to double %14 = fadd double 2.000000e+00, %13 %15 = fdiv double %11, %14 %16 = fmul double 1.500000e+00, %15 %17 = load float, ptr %6, align 4 %18 = fpext float %17 to double %19 = fadd double 1.000000e+00, %18 %20 = fmul double %16, %19 %21 = load float, ptr %8, align 4 %22 = fpext float %21 to double %23 = fadd double 1.000000e+00, %22 %24 = load float, ptr %7, align 4 %25 = fpext float %24 to double %26 = fmul double 2.000000e+00, %25 %27 = load float, ptr %5, align 4 %28 = fpext float %27 to double %29 = fneg double %26 %30 = call double @llvm.fmuladd.f64(double %29, double %28, double %23) %31 = call i32 @abs(double noundef %30) %32 = call double @pow(i32 noundef %31, double noundef 1.500000e+00) %33 = fdiv double %20, %32 %34 = fptrunc double %33 to float ret float %34 } declare double @pow(i32 noundef, double noundef) #1 declare i32 @abs(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph95n83jt.c' source_filename = "/tmp/tmph95n83jt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @endwin = dso_local global i64 0, align 8 @COLOR_WHITE = dso_local global i32 0, align 4 @COLOR_RED = dso_local global i32 0, align 4 @COLOR_YELLOW = dso_local global i32 0, align 4 @COLOR_GREEN = dso_local global i32 0, align 4 @COLOR_BLUE = dso_local global i32 0, align 4 @COLOR_MAGENTA = dso_local global i32 0, align 4 @COLOR_CYAN = dso_local global i32 0, align 4 @COLOR_BLACK = dso_local global i32 0, align 4 @A_BOLD = dso_local global i32 0, align 4 @stdscr = dso_local global i32 0, align 4 @TRUE = dso_local global i32 0, align 4 @LINES = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [10 x i8] c"GAME OVER\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Press Q to exit\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"Press any other key to play again\00", align 1 @KEY_LEFT = dso_local global i32 0, align 4 @KEY_RIGHT = dso_local global i32 0, align 4 @KEY_UP = dso_local global i32 0, align 4 @KEY_DOWN = 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 i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (...) @initscr() %9 = load i64, ptr @endwin, align 8 %10 = inttoptr i64 %9 to ptr %11 = call i32 @atexit(ptr noundef %10) %12 = call i32 (...) @start_color() %13 = load i32, ptr @COLOR_WHITE, align 4 %14 = load i32, ptr @COLOR_RED, align 4 %15 = call i32 @init_pair(i32 noundef 1, i32 noundef %13, i32 noundef %14) %16 = load i32, ptr @COLOR_WHITE, align 4 %17 = load i32, ptr @COLOR_YELLOW, align 4 %18 = call i32 @init_pair(i32 noundef 2, i32 noundef %16, i32 noundef %17) %19 = load i32, ptr @COLOR_WHITE, align 4 %20 = load i32, ptr @COLOR_GREEN, align 4 %21 = call i32 @init_pair(i32 noundef 3, i32 noundef %19, i32 noundef %20) %22 = load i32, ptr @COLOR_WHITE, align 4 %23 = load i32, ptr @COLOR_BLUE, align 4 %24 = call i32 @init_pair(i32 noundef 4, i32 noundef %22, i32 noundef %23) %25 = load i32, ptr @COLOR_WHITE, align 4 %26 = load i32, ptr @COLOR_MAGENTA, align 4 %27 = call i32 @init_pair(i32 noundef 5, i32 noundef %25, i32 noundef %26) %28 = load i32, ptr @COLOR_YELLOW, align 4 %29 = load i32, ptr @COLOR_CYAN, align 4 %30 = call i32 @init_pair(i32 noundef 6, i32 noundef %28, i32 noundef %29) %31 = load i32, ptr @COLOR_YELLOW, align 4 %32 = load i32, ptr @COLOR_BLACK, align 4 %33 = call i32 @init_pair(i32 noundef 7, i32 noundef %31, i32 noundef %32) %34 = load i32, ptr @COLOR_GREEN, align 4 %35 = load i32, ptr @COLOR_BLACK, align 4 %36 = call i32 @init_pair(i32 noundef 8, i32 noundef %34, i32 noundef %35) %37 = load i32, ptr @COLOR_RED, align 4 %38 = load i32, ptr @COLOR_BLACK, align 4 %39 = call i32 @init_pair(i32 noundef 9, i32 noundef %37, i32 noundef %38) %40 = load i32, ptr @COLOR_WHITE, align 4 %41 = load i32, ptr @COLOR_BLACK, align 4 %42 = call i32 @init_pair(i32 noundef 10, i32 noundef %40, i32 noundef %41) %43 = load i32, ptr @A_BOLD, align 4 %44 = call i32 @attron(i32 noundef %43) %45 = call i32 @curs_set(i32 noundef 0) %46 = call i32 (...) @cbreak() %47 = load i32, ptr @stdscr, align 4 %48 = load i32, ptr @TRUE, align 4 %49 = call i32 @keypad(i32 noundef %47, i32 noundef %48) br label %50 50: ; preds = %96, %2 %51 = call i32 (...) @game() store i32 %51, ptr %7, align 4 %52 = load i32, ptr %7, align 4 %53 = icmp ne i32 %52, 0 br i1 %53, label %54, label %56 54: ; preds = %50 %55 = call i32 @color_set(i32 noundef 8, i32 noundef 0) br label %58 56: ; preds = %50 %57 = call i32 @color_set(i32 noundef 9, i32 noundef 0) br label %58 58: ; preds = %56, %54 %59 = load i64, ptr @LINES, align 8 %60 = sub nsw i64 %59, 4 %61 = call i32 @mvaddstr(i64 noundef %60, i32 noundef 2, ptr noundef @.str) %62 = load i64, ptr @LINES, align 8 %63 = sub nsw i64 %62, 3 %64 = call i32 @mvaddstr(i64 noundef %63, i32 noundef 2, ptr noundef @.str.1) %65 = load i64, ptr @LINES, align 8 %66 = sub nsw i64 %65, 2 %67 = call i32 @mvaddstr(i64 noundef %66, i32 noundef 2, ptr noundef @.str.2) %68 = call i32 (...) @refresh() br label %69 69: ; preds = %87, %58 %70 = call i32 (...) @getch() store i32 %70, ptr %6, align 4 br label %71 71: ; preds = %69 %72 = load i32, ptr %6, align 4 %73 = load i32, ptr @KEY_LEFT, align 4 %74 = icmp eq i32 %72, %73 br i1 %74, label %87, label %75 75: ; preds = %71 %76 = load i32, ptr %6, align 4 %77 = load i32, ptr @KEY_RIGHT, align 4 %78 = icmp eq i32 %76, %77 br i1 %78, label %87, label %79 79: ; preds = %75 %80 = load i32, ptr %6, align 4 %81 = load i32, ptr @KEY_UP, align 4 %82 = icmp eq i32 %80, %81 br i1 %82, label %87, label %83 83: ; preds = %79 %84 = load i32, ptr %6, align 4 %85 = load i32, ptr @KEY_DOWN, align 4 %86 = icmp eq i32 %84, %85 br label %87 87: ; preds = %83, %79, %75, %71 %88 = phi i1 [ true, %79 ], [ true, %75 ], [ true, %71 ], [ %86, %83 ] br i1 %88, label %69, label %89, !llvm.loop !6 89: ; preds = %87 br label %90 90: ; preds = %89 %91 = load i32, ptr %6, align 4 %92 = icmp ne i32 %91, 113 br i1 %92, label %93, label %96 93: ; preds = %90 %94 = load i32, ptr %6, align 4 %95 = icmp ne i32 %94, 81 br label %96 96: ; preds = %93, %90 %97 = phi i1 [ false, %90 ], [ %95, %93 ] br i1 %97, label %50, label %98, !llvm.loop !8 98: ; preds = %96 ret i32 0 } declare i32 @initscr(...) #1 declare i32 @atexit(ptr noundef) #1 declare i32 @start_color(...) #1 declare i32 @init_pair(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @attron(i32 noundef) #1 declare i32 @curs_set(i32 noundef) #1 declare i32 @cbreak(...) #1 declare i32 @keypad(i32 noundef, i32 noundef) #1 declare i32 @game(...) #1 declare i32 @color_set(i32 noundef, i32 noundef) #1 declare i32 @mvaddstr(i64 noundef, i32 noundef, ptr noundef) #1 declare i32 @refresh(...) #1 declare i32 @getch(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmph95n83jt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @endwin = dso_local global i64 0, align 8 @COLOR_WHITE = dso_local global i32 0, align 4 @COLOR_RED = dso_local global i32 0, align 4 @COLOR_YELLOW = dso_local global i32 0, align 4 @COLOR_GREEN = dso_local global i32 0, align 4 @COLOR_BLUE = dso_local global i32 0, align 4 @COLOR_MAGENTA = dso_local global i32 0, align 4 @COLOR_CYAN = dso_local global i32 0, align 4 @COLOR_BLACK = dso_local global i32 0, align 4 @A_BOLD = dso_local global i32 0, align 4 @stdscr = dso_local global i32 0, align 4 @TRUE = dso_local global i32 0, align 4 @LINES = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [10 x i8] c"GAME OVER\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Press Q to exit\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"Press any other key to play again\00", align 1 @KEY_LEFT = dso_local global i32 0, align 4 @KEY_RIGHT = dso_local global i32 0, align 4 @KEY_UP = dso_local global i32 0, align 4 @KEY_DOWN = 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 i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (...) @initscr() %9 = load i64, ptr @endwin, align 8 %10 = inttoptr i64 %9 to ptr %11 = call i32 @atexit(ptr noundef %10) %12 = call i32 (...) @start_color() %13 = load i32, ptr @COLOR_WHITE, align 4 %14 = load i32, ptr @COLOR_RED, align 4 %15 = call i32 @init_pair(i32 noundef 1, i32 noundef %13, i32 noundef %14) %16 = load i32, ptr @COLOR_WHITE, align 4 %17 = load i32, ptr @COLOR_YELLOW, align 4 %18 = call i32 @init_pair(i32 noundef 2, i32 noundef %16, i32 noundef %17) %19 = load i32, ptr @COLOR_WHITE, align 4 %20 = load i32, ptr @COLOR_GREEN, align 4 %21 = call i32 @init_pair(i32 noundef 3, i32 noundef %19, i32 noundef %20) %22 = load i32, ptr @COLOR_WHITE, align 4 %23 = load i32, ptr @COLOR_BLUE, align 4 %24 = call i32 @init_pair(i32 noundef 4, i32 noundef %22, i32 noundef %23) %25 = load i32, ptr @COLOR_WHITE, align 4 %26 = load i32, ptr @COLOR_MAGENTA, align 4 %27 = call i32 @init_pair(i32 noundef 5, i32 noundef %25, i32 noundef %26) %28 = load i32, ptr @COLOR_YELLOW, align 4 %29 = load i32, ptr @COLOR_CYAN, align 4 %30 = call i32 @init_pair(i32 noundef 6, i32 noundef %28, i32 noundef %29) %31 = load i32, ptr @COLOR_YELLOW, align 4 %32 = load i32, ptr @COLOR_BLACK, align 4 %33 = call i32 @init_pair(i32 noundef 7, i32 noundef %31, i32 noundef %32) %34 = load i32, ptr @COLOR_GREEN, align 4 %35 = load i32, ptr @COLOR_BLACK, align 4 %36 = call i32 @init_pair(i32 noundef 8, i32 noundef %34, i32 noundef %35) %37 = load i32, ptr @COLOR_RED, align 4 %38 = load i32, ptr @COLOR_BLACK, align 4 %39 = call i32 @init_pair(i32 noundef 9, i32 noundef %37, i32 noundef %38) %40 = load i32, ptr @COLOR_WHITE, align 4 %41 = load i32, ptr @COLOR_BLACK, align 4 %42 = call i32 @init_pair(i32 noundef 10, i32 noundef %40, i32 noundef %41) %43 = load i32, ptr @A_BOLD, align 4 %44 = call i32 @attron(i32 noundef %43) %45 = call i32 @curs_set(i32 noundef 0) %46 = call i32 (...) @cbreak() %47 = load i32, ptr @stdscr, align 4 %48 = load i32, ptr @TRUE, align 4 %49 = call i32 @keypad(i32 noundef %47, i32 noundef %48) br label %50 50: ; preds = %96, %2 %51 = call i32 (...) @game() store i32 %51, ptr %7, align 4 %52 = load i32, ptr %7, align 4 %53 = icmp ne i32 %52, 0 br i1 %53, label %54, label %56 54: ; preds = %50 %55 = call i32 @color_set(i32 noundef 8, i32 noundef 0) br label %58 56: ; preds = %50 %57 = call i32 @color_set(i32 noundef 9, i32 noundef 0) br label %58 58: ; preds = %56, %54 %59 = load i64, ptr @LINES, align 8 %60 = sub nsw i64 %59, 4 %61 = call i32 @mvaddstr(i64 noundef %60, i32 noundef 2, ptr noundef @.str) %62 = load i64, ptr @LINES, align 8 %63 = sub nsw i64 %62, 3 %64 = call i32 @mvaddstr(i64 noundef %63, i32 noundef 2, ptr noundef @.str.1) %65 = load i64, ptr @LINES, align 8 %66 = sub nsw i64 %65, 2 %67 = call i32 @mvaddstr(i64 noundef %66, i32 noundef 2, ptr noundef @.str.2) %68 = call i32 (...) @refresh() br label %69 69: ; preds = %87, %58 %70 = call i32 (...) @getch() store i32 %70, ptr %6, align 4 br label %71 71: ; preds = %69 %72 = load i32, ptr %6, align 4 %73 = load i32, ptr @KEY_LEFT, align 4 %74 = icmp eq i32 %72, %73 br i1 %74, label %87, label %75 75: ; preds = %71 %76 = load i32, ptr %6, align 4 %77 = load i32, ptr @KEY_RIGHT, align 4 %78 = icmp eq i32 %76, %77 br i1 %78, label %87, label %79 79: ; preds = %75 %80 = load i32, ptr %6, align 4 %81 = load i32, ptr @KEY_UP, align 4 %82 = icmp eq i32 %80, %81 br i1 %82, label %87, label %83 83: ; preds = %79 %84 = load i32, ptr %6, align 4 %85 = load i32, ptr @KEY_DOWN, align 4 %86 = icmp eq i32 %84, %85 br label %87 87: ; preds = %83, %79, %75, %71 %88 = phi i1 [ true, %79 ], [ true, %75 ], [ true, %71 ], [ %86, %83 ] br i1 %88, label %69, label %89, !llvm.loop !6 89: ; preds = %87 br label %90 90: ; preds = %89 %91 = load i32, ptr %6, align 4 %92 = icmp ne i32 %91, 113 br i1 %92, label %93, label %96 93: ; preds = %90 %94 = load i32, ptr %6, align 4 %95 = icmp ne i32 %94, 81 br label %96 96: ; preds = %93, %90 %97 = phi i1 [ false, %90 ], [ %95, %93 ] br i1 %97, label %50, label %98, !llvm.loop !8 98: ; preds = %96 ret i32 0 } declare i32 @initscr(...) #1 declare i32 @atexit(ptr noundef) #1 declare i32 @start_color(...) #1 declare i32 @init_pair(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @attron(i32 noundef) #1 declare i32 @curs_set(i32 noundef) #1 declare i32 @cbreak(...) #1 declare i32 @keypad(i32 noundef, i32 noundef) #1 declare i32 @game(...) #1 declare i32 @color_set(i32 noundef, i32 noundef) #1 declare i32 @mvaddstr(i64 noundef, i32 noundef, ptr noundef) #1 declare i32 @refresh(...) #1 declare i32 @getch(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpb7h3jb_l.c' source_filename = "/tmp/tmpb7h3jb_l.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [12 x i8] c"getsockname\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"socket has port %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"lsrp-router.log\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Getsockname(i32 noundef %0, i32 %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca %struct.sockaddr_in, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [128 x i8], align 16 %11 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 store i32 %1, ptr %11, align 4 store i32 %0, ptr %6, align 4 store i32 %2, ptr %7, align 4 %12 = load i32, ptr %6, align 4 %13 = call i32 @getsockname(i32 noundef %12, ptr noundef %5, ptr noundef %7) store i32 %13, ptr %8, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %3 %16 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %27 17: ; preds = %3 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 %19 = load i32, ptr %18, align 4 %20 = call i32 @ntohs(i32 noundef %19) store i32 %20, ptr %9, align 4 %21 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %22 = load i32, ptr %9, align 4 %23 = call i32 @snprintf(ptr noundef %21, i32 noundef 128, ptr noundef @.str.1, i32 noundef %22) %24 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %25 = call i32 @logging(ptr noundef @.str.2, ptr noundef %24) %26 = load i32, ptr %9, align 4 store i32 %26, ptr %4, align 4 br label %27 27: ; preds = %17, %15 %28 = load i32, ptr %4, align 4 ret i32 %28 } declare i32 @getsockname(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @ntohs(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @logging(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/tmpb7h3jb_l.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [12 x i8] c"getsockname\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"socket has port %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"lsrp-router.log\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Getsockname(i32 noundef %0, i32 %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca %struct.sockaddr_in, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [128 x i8], align 16 %11 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 store i32 %1, ptr %11, align 4 store i32 %0, ptr %6, align 4 store i32 %2, ptr %7, align 4 %12 = load i32, ptr %6, align 4 %13 = call i32 @getsockname(i32 noundef %12, ptr noundef %5, ptr noundef %7) store i32 %13, ptr %8, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %3 %16 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %27 17: ; preds = %3 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 %19 = load i32, ptr %18, align 4 %20 = call i32 @ntohs(i32 noundef %19) store i32 %20, ptr %9, align 4 %21 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %22 = load i32, ptr %9, align 4 %23 = call i32 @snprintf(ptr noundef %21, i32 noundef 128, ptr noundef @.str.1, i32 noundef %22) %24 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0 %25 = call i32 @logging(ptr noundef @.str.2, ptr noundef %24) %26 = load i32, ptr %9, align 4 store i32 %26, ptr %4, align 4 br label %27 27: ; preds = %17, %15 %28 = load i32, ptr %4, align 4 ret i32 %28 } declare i32 @getsockname(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @ntohs(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @logging(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"}