llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpvgzllwxp.c' source_filename = "/tmp/tmpvgzllwxp.c" target datalayout = "e-m:e-p270: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 @SEEK_SET = 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/tmpvgzllwxp.c" target datalayout = "e-m:e-p270: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 @SEEK_SET = 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/tmpusfu5r6b.c' source_filename = "/tmp/tmpusfu5r6b.c" target datalayout = "e-m:e-p270: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/tmpusfu5r6b.c" target datalayout = "e-m:e-p270: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/tmpeqit_yvs.c' source_filename = "/tmp/tmpeqit_yvs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @btshas_getext(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %4, i64 %7 store ptr %8, ptr %3, align 8 br label %9 9: ; preds = %21, %1 %10 = load ptr, ptr %3, align 8 %11 = load ptr, ptr %2, align 8 %12 = icmp ugt ptr %10, %11 br i1 %12, label %13, label %19 13: ; preds = %9 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 -1 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 46 br label %19 19: ; preds = %13, %9 %20 = phi i1 [ false, %9 ], [ %18, %13 ] br i1 %20, label %21, label %24 21: ; preds = %19 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 -1 store ptr %23, ptr %3, align 8 br label %9, !llvm.loop !6 24: ; preds = %19 %25 = load ptr, ptr %3, align 8 ret ptr %25 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeqit_yvs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @btshas_getext(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %4, i64 %7 store ptr %8, ptr %3, align 8 br label %9 9: ; preds = %21, %1 %10 = load ptr, ptr %3, align 8 %11 = load ptr, ptr %2, align 8 %12 = icmp ugt ptr %10, %11 br i1 %12, label %13, label %19 13: ; preds = %9 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 -1 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 46 br label %19 19: ; preds = %13, %9 %20 = phi i1 [ false, %9 ], [ %18, %13 ] br i1 %20, label %21, label %24 21: ; preds = %19 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 -1 store ptr %23, ptr %3, align 8 br label %9, !llvm.loop !6 24: ; preds = %19 %25 = load ptr, ptr %3, align 8 ret ptr %25 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpu0oh2csw.c' source_filename = "/tmp/tmpu0oh2csw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Prime Number Checker \0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"Enter a Natural Number (Greater than 1): \0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"Invalid Input \0A\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"Number (%d) is Not a Prime Number \0A\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c"Number (%d) is a Prime Number \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %2) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %14 11: ; preds = %0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %1, align 4 br label %37 14: ; preds = %0 store i32 2, ptr %3, align 4 br label %15 15: ; preds = %30, %14 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = call i32 @sqrt(i32 noundef %17) %19 = icmp sle i32 %16, %18 br i1 %19, label %20, label %33 20: ; preds = %15 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %3, align 4 %23 = srem i32 %21, %22 %24 = icmp ne i32 %23, 0 br i1 %24, label %29, label %25 25: ; preds = %20 %26 = load i32, ptr %2, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %26) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %1, align 4 br label %37 29: ; preds = %20 br label %30 30: ; preds = %29 %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %3, align 4 br label %15, !llvm.loop !6 33: ; preds = %15 %34 = load i32, ptr %2, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %34) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %37 37: ; preds = %33, %25, %11 %38 = load i32, ptr %1, align 4 ret i32 %38 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @sqrt(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/tmpu0oh2csw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Prime Number Checker \0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"Enter a Natural Number (Greater than 1): \0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"Invalid Input \0A\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"Number (%d) is Not a Prime Number \0A\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c"Number (%d) is a Prime Number \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %2) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %14 11: ; preds = %0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %1, align 4 br label %40 14: ; preds = %0 store i32 2, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = call i32 @sqrt(i32 noundef %16) %18 = icmp sle i32 %15, %17 br i1 %18, label %.lr.ph, label %36 .lr.ph: ; preds = %14 br label %19 19: ; preds = %.lr.ph, %29 %20 = load i32, ptr %2, align 4 %21 = load i32, ptr %3, align 4 %22 = srem i32 %20, %21 %23 = icmp ne i32 %22, 0 br i1 %23, label %28, label %24 24: ; preds = %19 %25 = load i32, ptr %2, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %25) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %1, align 4 br label %40 28: ; preds = %19 br label %29 29: ; preds = %28 %30 = load i32, ptr %3, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %3, align 4 %32 = load i32, ptr %3, align 4 %33 = load i32, ptr %2, align 4 %34 = call i32 @sqrt(i32 noundef %33) %35 = icmp sle i32 %32, %34 br i1 %35, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %36 36: ; preds = %._crit_edge, %14 %37 = load i32, ptr %2, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %37) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %40 40: ; preds = %36, %24, %11 %41 = load i32, ptr %1, align 4 ret i32 %41 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @sqrt(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/tmpg0hpff_z.c' source_filename = "/tmp/tmpg0hpff_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c",;\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"@xref{%s}.@*\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_textinfo_xref(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @strtok(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %5, align 8 br label %8 8: ; preds = %27, %2 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %32 11: ; preds = %8 br label %12 12: ; preds = %24, %11 %13 = load ptr, ptr %5, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %22 17: ; preds = %12 %18 = load ptr, ptr %5, align 8 %19 = load i8, ptr %18, align 1 %20 = call i64 @isspace(i8 noundef signext %19) %21 = icmp ne i64 %20, 0 br label %22 22: ; preds = %17, %12 %23 = phi i1 [ false, %12 ], [ %21, %17 ] br i1 %23, label %24, label %27 24: ; preds = %22 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %5, align 8 br label %12, !llvm.loop !6 27: ; preds = %22 %28 = load ptr, ptr %3, align 8 %29 = load ptr, ptr %5, align 8 %30 = call i32 @tfprintf(ptr noundef %28, ptr noundef @.str.1, ptr noundef %29) %31 = call ptr @strtok(ptr noundef null, ptr noundef @.str) store ptr %31, ptr %5, align 8 br label %8, !llvm.loop !8 32: ; preds = %8 ret void } declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @isspace(i8 noundef signext) #1 declare i32 @tfprintf(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg0hpff_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c",;\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"@xref{%s}.@*\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_textinfo_xref(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @strtok(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %.lr.ph, label %33 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %26 br label %11 11: ; preds = %23, %10 %12 = load ptr, ptr %5, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %21 16: ; preds = %11 %17 = load ptr, ptr %5, align 8 %18 = load i8, ptr %17, align 1 %19 = call i64 @isspace(i8 noundef signext %18) %20 = icmp ne i64 %19, 0 br label %21 21: ; preds = %16, %11 %22 = phi i1 [ false, %11 ], [ %20, %16 ] br i1 %22, label %23, label %26 23: ; preds = %21 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %5, align 8 br label %11, !llvm.loop !6 26: ; preds = %21 %27 = load ptr, ptr %3, align 8 %28 = load ptr, ptr %5, align 8 %29 = call i32 @tfprintf(ptr noundef %27, ptr noundef @.str.1, ptr noundef %28) %30 = call ptr @strtok(ptr noundef null, ptr noundef @.str) store ptr %30, ptr %5, align 8 %31 = load ptr, ptr %5, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %10, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %26 br label %33 33: ; preds = %._crit_edge, %2 ret void } declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @isspace(i8 noundef signext) #1 declare i32 @tfprintf(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpbxrthuws.c' source_filename = "/tmp/tmpbxrthuws.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @findPoint() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %1) br label %9 9: ; preds = %13, %0 %10 = load i32, ptr %1, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %1, align 4 %12 = icmp ne i32 %10, 0 br i1 %12, label %13, label %29 13: ; preds = %9 %14 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %15 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5) %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %2, align 4 %18 = sub nsw i32 %16, %17 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %3, align 4 %21 = sub nsw i32 %19, %20 store i32 %21, ptr %7, align 4 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %22, %23 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %25, %26 %28 = call i32 @printf(ptr noundef @.str.2, i32 noundef %24, i32 noundef %27) br label %9, !llvm.loop !6 29: ; preds = %9 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbxrthuws.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @findPoint() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %1) %9 = load i32, ptr %1, align 4 %10 = add nsw i32 %9, -1 store i32 %10, ptr %1, align 4 %11 = icmp ne i32 %9, 0 br i1 %11, label %.lr.ph, label %31 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %12 %13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %14 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5) %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %2, align 4 %17 = sub nsw i32 %15, %16 store i32 %17, ptr %6, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %3, align 4 %20 = sub nsw i32 %18, %19 store i32 %20, ptr %7, align 4 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %21, %22 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %24, %25 %27 = call i32 @printf(ptr noundef @.str.2, i32 noundef %23, i32 noundef %26) %28 = load i32, ptr %1, align 4 %29 = add nsw i32 %28, -1 store i32 %29, ptr %1, align 4 %30 = icmp ne i32 %28, 0 br i1 %30, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %31 31: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpcpfvic05.c' source_filename = "/tmp/tmpcpfvic05.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"You did it :))\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"flag.txt\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [10 x i8] c"Flag is: \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @secretFunc() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [128 x i8], align 16 %4 = call i32 @puts(ptr noundef @.str) %5 = load i32, ptr @O_RDONLY, align 4 %6 = call i32 @open(ptr noundef @.str.1, i32 noundef %5) store i32 %6, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %8 8: ; preds = %13, %0 %9 = load i32, ptr %1, align 4 %10 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @read(i32 noundef %9, ptr noundef %10, i32 noundef 128) store i32 %11, ptr %2, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %19 13: ; preds = %8 %14 = load i32, ptr %2, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 %15 store i8 0, ptr %16, align 1 %17 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %17) br label %8, !llvm.loop !6 19: ; preds = %8 %20 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @puts(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcpfvic05.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"You did it :))\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"flag.txt\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [10 x i8] c"Flag is: \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @secretFunc() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [128 x i8], align 16 %4 = call i32 @puts(ptr noundef @.str) %5 = load i32, ptr @O_RDONLY, align 4 %6 = call i32 @open(ptr noundef @.str.1, i32 noundef %5) store i32 %6, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = load i32, ptr %1, align 4 %9 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @read(i32 noundef %8, ptr noundef %9, i32 noundef 128) store i32 %10, ptr %2, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %12 %13 = load i32, ptr %2, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 %14 store i8 0, ptr %15, align 1 %16 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %16) %18 = load i32, ptr %1, align 4 %19 = call i32 @read(i32 noundef %18, ptr noundef %9, i32 noundef 128) store i32 %19, ptr %2, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %21 21: ; preds = %._crit_edge, %0 %22 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @puts(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjdsgf9gs.c' source_filename = "/tmp/tmpjdsgf9gs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @get_input(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) store i32 0, ptr %5, align 4 br label %9 9: ; preds = %33, %2 %10 = load i32, ptr %5, align 4 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %11, align 4 %13 = icmp slt i32 %10, %12 br i1 %13, label %14, label %36 14: ; preds = %9 store i32 0, ptr %6, align 4 br label %15 15: ; preds = %29, %14 %16 = load i32, ptr %6, align 4 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %17, align 4 %19 = icmp slt i32 %16, %18 br i1 %19, label %20, label %32 20: ; preds = %15 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [11 x i32], ptr %21, i64 %23 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [11 x i32], ptr %24, i64 0, i64 %26 %28 = call i32 @scanf(ptr noundef @.str, ptr noundef %27) br label %29 29: ; preds = %20 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %6, align 4 br label %15, !llvm.loop !6 32: ; preds = %15 br label %33 33: ; preds = %32 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 br label %9, !llvm.loop !8 36: ; preds = %9 ret void } declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjdsgf9gs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @get_input(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) store i32 0, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %10, align 4 %12 = icmp slt i32 %9, %11 br i1 %12, label %.lr.ph2, label %42 .lr.ph2: ; preds = %2 br label %13 13: ; preds = %.lr.ph2, %35 store i32 0, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %15, align 4 %17 = icmp slt i32 %14, %16 br i1 %17, label %.lr.ph, label %34 .lr.ph: ; preds = %13 br label %18 18: ; preds = %.lr.ph, %27 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [11 x i32], ptr %19, i64 %21 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [11 x i32], ptr %22, i64 0, i64 %24 %26 = call i32 @scanf(ptr noundef @.str, ptr noundef %25) br label %27 27: ; preds = %18 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = load ptr, ptr %3, align 8 %32 = load i32, ptr %31, align 4 %33 = icmp slt i32 %30, %32 br i1 %33, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %34 34: ; preds = %._crit_edge, %13 br label %35 35: ; preds = %34 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %5, align 4 %38 = load i32, ptr %5, align 4 %39 = load ptr, ptr %3, align 8 %40 = load i32, ptr %39, align 4 %41 = icmp slt i32 %38, %40 br i1 %41, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %35 br label %42 42: ; preds = %._crit_edge3, %2 ret void } declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp6s6jvyy1.c' source_filename = "/tmp/tmp6s6jvyy1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"Hello, C!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @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/tmp6s6jvyy1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"Hello, C!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @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/tmprvhvb5iy.c' source_filename = "/tmp/tmprvhvb5iy.c" target datalayout = "e-m:e-p270: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/tmprvhvb5iy.c" target datalayout = "e-m:e-p270: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/tmpb82syqk9.c' source_filename = "/tmp/tmpb82syqk9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @all_mapped() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %18, %0 %4 = load i32, ptr %1, align 4 %5 = icmp slt i32 %4, 20 br i1 %5, label %6, label %21 6: ; preds = %3 store i32 0, ptr %2, align 4 br label %7 7: ; preds = %14, %6 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %8, 49 br i1 %9, label %10, label %17 10: ; preds = %7 %11 = load i32, ptr %1, align 4 %12 = load i32, ptr %2, align 4 %13 = call i32 @mark_mapped(i32 noundef %11, i32 noundef %12) br label %14 14: ; preds = %10 %15 = load i32, ptr %2, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %2, align 4 br label %7, !llvm.loop !6 17: ; preds = %7 br label %18 18: ; preds = %17 %19 = load i32, ptr %1, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %1, align 4 br label %3, !llvm.loop !8 21: ; preds = %3 ret void } declare i32 @mark_mapped(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb82syqk9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @all_mapped() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp slt i32 %3, 20 br i1 %4, label %.lr.ph2, label %23 .lr.ph2: ; preds = %0 br label %5 5: ; preds = %.lr.ph2, %18 store i32 0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 49 br i1 %7, label %.lr.ph, label %17 .lr.ph: ; preds = %5 br label %8 8: ; preds = %.lr.ph, %12 %9 = load i32, ptr %1, align 4 %10 = load i32, ptr %2, align 4 %11 = call i32 @mark_mapped(i32 noundef %9, i32 noundef %10) br label %12 12: ; preds = %8 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %15, 49 br i1 %16, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %5 br label %18 18: ; preds = %17 %19 = load i32, ptr %1, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %1, align 4 %21 = load i32, ptr %1, align 4 %22 = icmp slt i32 %21, 20 br i1 %22, label %5, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %18 br label %23 23: ; preds = %._crit_edge3, %0 ret void } declare i32 @mark_mapped(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmptwf83n_l.c' source_filename = "/tmp/tmptwf83n_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" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptwf83n_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" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm9b_9t6l.c' source_filename = "/tmp/tmpm9b_9t6l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @openssl_locking_callback = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @openssl_init_locks() #0 { %1 = load i32, ptr @openssl_locking_callback, align 4 %2 = call i32 @CRYPTO_set_locking_callback(i32 noundef %1) ret void } declare i32 @CRYPTO_set_locking_callback(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/tmpm9b_9t6l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @openssl_locking_callback = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @openssl_init_locks() #0 { %1 = load i32, ptr @openssl_locking_callback, align 4 %2 = call i32 @CRYPTO_set_locking_callback(i32 noundef %1) ret void } declare i32 @CRYPTO_set_locking_callback(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/tmpzvvux8pr.c' source_filename = "/tmp/tmpzvvux8pr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Give a number \00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"'%c' only allowed as first character!\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Invalid input!\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 1, ptr %5, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %7 7: ; preds = %62, %33, %26, %19, %0 %8 = call signext i8 (...) @getchar() %9 = sext i8 %8 to i32 store i32 %9, ptr %2, align 4 %10 = icmp ne i32 %9, 10 br i1 %10, label %11, label %64 11: ; preds = %7 %12 = load i32, ptr %4, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %4, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp eq i32 %14, 43 br i1 %15, label %16, label %20 16: ; preds = %11 %17 = load i32, ptr %4, align 4 %18 = icmp eq i32 %17, 1 br i1 %18, label %19, label %20 19: ; preds = %16 br label %7, !llvm.loop !6 20: ; preds = %16, %11 %21 = load i32, ptr %2, align 4 %22 = icmp eq i32 %21, 45 br i1 %22, label %23, label %27 23: ; preds = %20 %24 = load i32, ptr %4, align 4 %25 = icmp eq i32 %24, 1 br i1 %25, label %26, label %27 26: ; preds = %23 store i32 -1, ptr %5, align 4 br label %7, !llvm.loop !6 27: ; preds = %23, %20 %28 = load i32, ptr %2, align 4 %29 = icmp sge i32 %28, 48 br i1 %29, label %30, label %39 30: ; preds = %27 %31 = load i32, ptr %2, align 4 %32 = icmp sle i32 %31, 57 br i1 %32, label %33, label %39 33: ; preds = %30 %34 = load i32, ptr %3, align 4 %35 = mul nsw i32 10, %34 %36 = load i32, ptr %2, align 4 %37 = sub nsw i32 %36, 48 %38 = add nsw i32 %35, %37 store i32 %38, ptr %3, align 4 br label %7, !llvm.loop !6 39: ; preds = %30, %27 %40 = load i32, ptr %2, align 4 %41 = icmp eq i32 %40, 43 br i1 %41, label %45, label %42 42: ; preds = %39 %43 = load i32, ptr %2, align 4 %44 = icmp eq i32 %43, 45 br i1 %44, label %45, label %51 45: ; preds = %42, %39 %46 = load i32, ptr %4, align 4 %47 = icmp sgt i32 %46, 1 br i1 %47, label %48, label %51 48: ; preds = %45 %49 = load i32, ptr %2, align 4 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %49) br label %53 51: ; preds = %45, %42 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %53 53: ; preds = %51, %48 br label %54 54: ; preds = %53 br label %55 55: ; preds = %54 br label %56 56: ; preds = %55 store i32 1, ptr %5, align 4 br label %57 57: ; preds = %61, %56 %58 = call signext i8 (...) @getchar() %59 = sext i8 %58 to i32 %60 = icmp ne i32 %59, 10 br i1 %60, label %61, label %62 61: ; preds = %57 br label %57, !llvm.loop !8 62: ; preds = %57 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %7, !llvm.loop !6 64: ; preds = %7 %65 = load i32, ptr %3, align 4 %66 = load i32, ptr %5, align 4 %67 = mul nsw i32 %65, %66 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %67) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzvvux8pr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Give a number \00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"'%c' only allowed as first character!\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Invalid input!\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 1, ptr %5, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call signext i8 (...) @getchar() %8 = sext i8 %7 to i32 store i32 %8, ptr %2, align 4 %9 = icmp ne i32 %8, 10 br i1 %9, label %.lr.ph, label %65 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %.backedge %11 = load i32, ptr %4, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp eq i32 %13, 43 br i1 %14, label %15, label %22 15: ; preds = %10 %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %16, 1 br i1 %17, label %18, label %22 18: ; preds = %15 br label %.backedge .backedge: ; preds = %18, %28, %35, %63 %19 = call signext i8 (...) @getchar() %20 = sext i8 %19 to i32 store i32 %20, ptr %2, align 4 %21 = icmp ne i32 %20, 10 br i1 %21, label %10, label %._crit_edge, !llvm.loop !6 22: ; preds = %15, %10 %23 = load i32, ptr %2, align 4 %24 = icmp eq i32 %23, 45 br i1 %24, label %25, label %29 25: ; preds = %22 %26 = load i32, ptr %4, align 4 %27 = icmp eq i32 %26, 1 br i1 %27, label %28, label %29 28: ; preds = %25 store i32 -1, ptr %5, align 4 br label %.backedge 29: ; preds = %25, %22 %30 = load i32, ptr %2, align 4 %31 = icmp sge i32 %30, 48 br i1 %31, label %32, label %41 32: ; preds = %29 %33 = load i32, ptr %2, align 4 %34 = icmp sle i32 %33, 57 br i1 %34, label %35, label %41 35: ; preds = %32 %36 = load i32, ptr %3, align 4 %37 = mul nsw i32 10, %36 %38 = load i32, ptr %2, align 4 %39 = sub nsw i32 %38, 48 %40 = add nsw i32 %37, %39 store i32 %40, ptr %3, align 4 br label %.backedge 41: ; preds = %32, %29 %42 = load i32, ptr %2, align 4 %43 = icmp eq i32 %42, 43 br i1 %43, label %47, label %44 44: ; preds = %41 %45 = load i32, ptr %2, align 4 %46 = icmp eq i32 %45, 45 br i1 %46, label %47, label %53 47: ; preds = %44, %41 %48 = load i32, ptr %4, align 4 %49 = icmp sgt i32 %48, 1 br i1 %49, label %50, label %53 50: ; preds = %47 %51 = load i32, ptr %2, align 4 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %51) br label %55 53: ; preds = %47, %44 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %55 55: ; preds = %53, %50 br label %56 56: ; preds = %55 br label %57 57: ; preds = %56 br label %58 58: ; preds = %57 store i32 1, ptr %5, align 4 br label %59 59: ; preds = %59, %58 %60 = call signext i8 (...) @getchar() %61 = sext i8 %60 to i32 %62 = icmp ne i32 %61, 10 br i1 %62, label %59, label %63, !llvm.loop !8 63: ; preds = %59 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %.backedge ._crit_edge: ; preds = %.backedge br label %65 65: ; preds = %._crit_edge, %0 %66 = load i32, ptr %3, align 4 %67 = load i32, ptr %5, align 4 %68 = mul nsw i32 %66, %67 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %68) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpnt9h7jf3.c' source_filename = "/tmp/tmpnt9h7jf3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @heapsort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = sdiv i32 %7, 2 %9 = sub nsw i32 %8, 1 store i32 %9, ptr %5, align 4 br label %10 10: ; preds = %18, %2 %11 = load i32, ptr %5, align 4 %12 = icmp sge i32 %11, 0 br i1 %12, label %13, label %21 13: ; preds = %10 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %4, align 4 %17 = call i32 @adjust(ptr noundef %14, i32 noundef %15, i32 noundef %16) br label %18 18: ; preds = %13 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, -1 store i32 %20, ptr %5, align 4 br label %10, !llvm.loop !6 21: ; preds = %10 %22 = load i32, ptr %4, align 4 store i32 %22, ptr %5, align 4 br label %23 23: ; preds = %46, %21 %24 = load i32, ptr %5, align 4 %25 = icmp sge i32 %24, 1 br i1 %25, label %26, label %49 26: ; preds = %23 %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds i32, ptr %27, i64 0 %29 = load i32, ptr %28, align 4 store i32 %29, ptr %6, align 4 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %5, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds i32, ptr %35, i64 0 store i32 %34, ptr %36, align 4 %37 = load i32, ptr %6, align 4 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %5, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 store i32 %37, ptr %41, align 4 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %5, align 4 %44 = sub nsw i32 %43, 1 %45 = call i32 @adjust(ptr noundef %42, i32 noundef 0, i32 noundef %44) br label %46 46: ; preds = %26 %47 = load i32, ptr %5, align 4 %48 = add nsw i32 %47, -1 store i32 %48, ptr %5, align 4 br label %23, !llvm.loop !8 49: ; preds = %23 ret void } declare i32 @adjust(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnt9h7jf3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @heapsort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = sdiv i32 %7, 2 %9 = sub nsw i32 %8, 1 store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp sge i32 %10, 0 br i1 %11, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %17 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %4, align 4 %16 = call i32 @adjust(ptr noundef %13, i32 noundef %14, i32 noundef %15) br label %17 17: ; preds = %12 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, -1 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp sge i32 %20, 0 br i1 %21, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %2 %23 = load i32, ptr %4, align 4 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp sge i32 %24, 1 br i1 %25, label %.lr.ph2, label %51 .lr.ph2: ; preds = %22 br label %26 26: ; preds = %.lr.ph2, %46 %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds i32, ptr %27, i64 0 %29 = load i32, ptr %28, align 4 store i32 %29, ptr %6, align 4 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %5, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds i32, ptr %35, i64 0 store i32 %34, ptr %36, align 4 %37 = load i32, ptr %6, align 4 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %5, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 store i32 %37, ptr %41, align 4 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %5, align 4 %44 = sub nsw i32 %43, 1 %45 = call i32 @adjust(ptr noundef %42, i32 noundef 0, i32 noundef %44) br label %46 46: ; preds = %26 %47 = load i32, ptr %5, align 4 %48 = add nsw i32 %47, -1 store i32 %48, ptr %5, align 4 %49 = load i32, ptr %5, align 4 %50 = icmp sge i32 %49, 1 br i1 %50, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %46 br label %51 51: ; preds = %._crit_edge3, %22 ret void } declare i32 @adjust(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp0ink_put.c' source_filename = "/tmp/tmp0ink_put.c" target datalayout = "e-m:e-p270: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.iwreq = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @SIOCGIWNAME = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sysapi_is_wdev(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 %struct.iwreq, align 4 store ptr %0, ptr %3, align 8 %7 = load i32, ptr @AF_INET, align 4 %8 = load i32, ptr @SOCK_DGRAM, align 4 %9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %1 store i32 0, ptr %2, align 4 br label %28 13: ; preds = %1 %14 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 4) %15 = getelementptr inbounds %struct.iwreq, ptr %6, i32 0, i32 0 %16 = load i32, ptr %15, align 4 %17 = load ptr, ptr %3, align 8 %18 = call i32 @strncpy(i32 noundef %16, ptr noundef %17, i32 noundef 4) %19 = load i32, ptr %5, align 4 %20 = load i32, ptr @SIOCGIWNAME, align 4 %21 = call i32 @ioctl(i32 noundef %19, i32 noundef %20, ptr noundef %6) store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %27 24: ; preds = %13 %25 = load i32, ptr %5, align 4 %26 = call i32 @close(i32 noundef %25) store i32 0, ptr %2, align 4 br label %28 27: ; preds = %13 store i32 1, ptr %2, align 4 br label %28 28: ; preds = %27, %24, %12 %29 = load i32, ptr %2, align 4 ret i32 %29 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ink_put.c" target datalayout = "e-m:e-p270: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.iwreq = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @SIOCGIWNAME = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sysapi_is_wdev(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 %struct.iwreq, align 4 store ptr %0, ptr %3, align 8 %7 = load i32, ptr @AF_INET, align 4 %8 = load i32, ptr @SOCK_DGRAM, align 4 %9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %1 store i32 0, ptr %2, align 4 br label %28 13: ; preds = %1 %14 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 4) %15 = getelementptr inbounds %struct.iwreq, ptr %6, i32 0, i32 0 %16 = load i32, ptr %15, align 4 %17 = load ptr, ptr %3, align 8 %18 = call i32 @strncpy(i32 noundef %16, ptr noundef %17, i32 noundef 4) %19 = load i32, ptr %5, align 4 %20 = load i32, ptr @SIOCGIWNAME, align 4 %21 = call i32 @ioctl(i32 noundef %19, i32 noundef %20, ptr noundef %6) store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %27 24: ; preds = %13 %25 = load i32, ptr %5, align 4 %26 = call i32 @close(i32 noundef %25) store i32 0, ptr %2, align 4 br label %28 27: ; preds = %13 store i32 1, ptr %2, align 4 br label %28 28: ; preds = %27, %24, %12 %29 = load i32, ptr %2, align 4 ret i32 %29 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdu4ffh1h.c' source_filename = "/tmp/tmpdu4ffh1h.c" target datalayout = "e-m:e-p270: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/tmpdu4ffh1h.c" target datalayout = "e-m:e-p270: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/tmpdvttmmnz.c' source_filename = "/tmp/tmpdvttmmnz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call i32 (...) @decode_key_pressed() store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call ptr @get_key_name(i32 noundef %5) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @puts(ptr noundef %7) ret i32 0 } declare i32 @decode_key_pressed(...) #1 declare ptr @get_key_name(i32 noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdvttmmnz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call i32 (...) @decode_key_pressed() store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call ptr @get_key_name(i32 noundef %5) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @puts(ptr noundef %7) ret i32 0 } declare i32 @decode_key_pressed(...) #1 declare ptr @get_key_name(i32 noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzy1oga85.c' source_filename = "/tmp/tmpzy1oga85.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGABRT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sbtabort() #0 { %1 = call i32 (...) @getpid() %2 = load i32, ptr @SIGABRT, align 4 %3 = call i32 @kill(i32 noundef %1, i32 noundef %2) ret void } declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzy1oga85.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGABRT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sbtabort() #0 { %1 = call i32 (...) @getpid() %2 = load i32, ptr @SIGABRT, align 4 %3 = call i32 @kill(i32 noundef %1, i32 noundef %2) ret void } declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz7a6ld5c.c' source_filename = "/tmp/tmpz7a6ld5c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [55 x i8] c"0 pour conversion en hex, 1 pour conversion en d\C3\A9c : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"n : \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%X\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"R\C3\A9sultat en hexa : %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"R\C3\A9sultat en hexa : %x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %0 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %10 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %2) %11 = load i32, ptr %2, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %11) br label %18 13: ; preds = %0 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %16 = load i32, ptr %2, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %16) br label %18 18: ; preds = %13, %8 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz7a6ld5c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [55 x i8] c"0 pour conversion en hex, 1 pour conversion en d\C3\A9c : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"n : \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%X\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"R\C3\A9sultat en hexa : %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"R\C3\A9sultat en hexa : %x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %0 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %10 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %2) %11 = load i32, ptr %2, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %11) br label %18 13: ; preds = %0 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %16 = load i32, ptr %2, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %16) br label %18 18: ; preds = %13, %8 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8eld3w9a.c' source_filename = "/tmp/tmp8eld3w9a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [106 x i8] c"iptables -D INPUT -p tcp -m multiport --sport 53,80 --tcp-flags SYN,ACK SYN,ACK -j NFQUEUE --queue-num %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @x2_teardown() #0 { %1 = alloca [256 x i8], align 16 %2 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @sprintf(ptr noundef %2, ptr noundef @.str, i32 noundef 1) %4 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @system(ptr noundef %4) ret i32 0 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8eld3w9a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [106 x i8] c"iptables -D INPUT -p tcp -m multiport --sport 53,80 --tcp-flags SYN,ACK SYN,ACK -j NFQUEUE --queue-num %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @x2_teardown() #0 { %1 = alloca [256 x i8], align 16 %2 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @sprintf(ptr noundef %2, ptr noundef @.str, i32 noundef 1) %4 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @system(ptr noundef %4) ret i32 0 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyd93uq2e.c' source_filename = "/tmp/tmpyd93uq2e.c" target datalayout = "e-m:e-p270: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/tmpyd93uq2e.c" target datalayout = "e-m:e-p270: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/tmpwgfpiqrf.c' source_filename = "/tmp/tmpwgfpiqrf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call i32 (...) @setup_HW_interface() %4 = call i32 (...) @setup_fueling() %5 = call i32 (...) @setup_ignition() br label %6 6: ; preds = %0, %19 %7 = load ptr, ptr %2, align 8 %8 = call ptr @register_fueling(ptr noundef %7) store ptr %8, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = call ptr @register_ignition(ptr noundef %9) store ptr %10, ptr %2, align 8 %11 = load ptr, ptr %2, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %19 13: ; preds = %6 %14 = load ptr, ptr %2, align 8 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 0 %17 = load i32, ptr %16, align 4 %18 = call i32 @hw_register_events(ptr noundef %14, i32 noundef %17) br label %19 19: ; preds = %13, %6 br label %6 } declare i32 @setup_HW_interface(...) #1 declare i32 @setup_fueling(...) #1 declare i32 @setup_ignition(...) #1 declare ptr @register_fueling(ptr noundef) #1 declare ptr @register_ignition(ptr noundef) #1 declare i32 @hw_register_events(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/tmpwgfpiqrf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call i32 (...) @setup_HW_interface() %4 = call i32 (...) @setup_fueling() %5 = call i32 (...) @setup_ignition() br label %6 6: ; preds = %19, %0 %7 = load ptr, ptr %2, align 8 %8 = call ptr @register_fueling(ptr noundef %7) store ptr %8, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = call ptr @register_ignition(ptr noundef %9) store ptr %10, ptr %2, align 8 %11 = load ptr, ptr %2, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %19 13: ; preds = %6 %14 = load ptr, ptr %2, align 8 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 0 %17 = load i32, ptr %16, align 4 %18 = call i32 @hw_register_events(ptr noundef %14, i32 noundef %17) br label %19 19: ; preds = %13, %6 br label %6 } declare i32 @setup_HW_interface(...) #1 declare i32 @setup_fueling(...) #1 declare i32 @setup_ignition(...) #1 declare ptr @register_fueling(ptr noundef) #1 declare ptr @register_ignition(ptr noundef) #1 declare i32 @hw_register_events(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/tmpyuect5z9.c' source_filename = "/tmp/tmpyuect5z9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @say_hello() #0 { %1 = call i32 @UART1_Write_Text(ptr noundef @.str) ret void } declare i32 @UART1_Write_Text(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyuect5z9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @say_hello() #0 { %1 = call i32 @UART1_Write_Text(ptr noundef @.str) ret void } declare i32 @UART1_Write_Text(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppjipw0y6.c' source_filename = "/tmp/tmppjipw0y6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mkdir_p(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strdup(ptr noundef %4) %6 = call ptr @dirname(i32 noundef %5) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i64 @strchr(ptr noundef %7, i8 noundef signext 47) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 call void @mkdir_p(ptr noundef %11) br label %12 12: ; preds = %10, %1 %13 = load ptr, ptr %3, align 8 %14 = call i32 @mkdir(ptr noundef %13, i32 noundef 493) ret void } declare ptr @dirname(i32 noundef) #1 declare i32 @strdup(ptr noundef) #1 declare i64 @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @mkdir(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/tmppjipw0y6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mkdir_p(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strdup(ptr noundef %4) %6 = call ptr @dirname(i32 noundef %5) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i64 @strchr(ptr noundef %7, i8 noundef signext 47) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 call void @mkdir_p(ptr noundef %11) br label %12 12: ; preds = %10, %1 %13 = load ptr, ptr %3, align 8 %14 = call i32 @mkdir(ptr noundef %13, i32 noundef 493) ret void } declare ptr @dirname(i32 noundef) #1 declare i32 @strdup(ptr noundef) #1 declare i64 @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @mkdir(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/tmp3dzg9ath.c' source_filename = "/tmp/tmp3dzg9ath.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [50 x i8] c"\09public void update(%s %s) throws SQLException {\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"\09\09\09String sql = 'UPDATE %s SET' +\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"\09\09\09'%s=?' +\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"\09\09\09'WHERE %s=?';\0A\00", align 1 @.str.4 = private unnamed_addr constant [63 x i8] c"\09\09\09PreparedStatement statement = conn.preparedStatement(sql);\0A\00", align 1 @.str.5 = private unnamed_addr constant [37 x i8] c"\09\09\09statement.set%s(%d, %s.get%s());\0A\00", align 1 @.str.6 = private unnamed_addr constant [50 x i8] c"\09\09\09int rowsInserted = statement.executeUpdate();\0A\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"\09\09\09if (rowsInserted > 0) {\0A\00", align 1 @.str.8 = private unnamed_addr constant [69 x i8] c"\09\09\09\09System.out.println('An existing %s was updated successfully!');\0A\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"\09\09\09}\0A\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"\09\09}\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mount_method_update(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca [500 x i8], align 16 %12 = alloca [500 x i8], align 16 %13 = alloca [500 x i8], align 16 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca [500 x i8], align 16 %18 = alloca [500 x i8], align 16 %19 = alloca i32, align 4 %20 = alloca [500 x i8], align 16 %21 = alloca [500 x i8], align 16 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 store ptr %4, ptr %10, align 8 %22 = getelementptr inbounds [500 x i8], ptr %11, i64 0, i64 0 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds [500 x i8], ptr %23, i64 0 %25 = getelementptr inbounds [500 x i8], ptr %24, i64 0, i64 0 %26 = call i32 @strcpy(ptr noundef %22, ptr noundef %25) %27 = getelementptr inbounds [500 x i8], ptr %11, i64 0, i64 0 %28 = call i32 @capitalize_name(ptr noundef %27) %29 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 0 %30 = load ptr, ptr %7, align 8 %31 = getelementptr inbounds [500 x i8], ptr %30, i64 0 %32 = getelementptr inbounds [500 x i8], ptr %31, i64 0, i64 0 %33 = call i32 @strcpy(ptr noundef %29, ptr noundef %32) %34 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 0 %35 = call i32 @uncapitalize_name(ptr noundef %34) %36 = getelementptr inbounds [500 x i8], ptr %13, i64 0, i64 0 %37 = load ptr, ptr %10, align 8 %38 = call i32 @strcpy(ptr noundef %36, ptr noundef %37) %39 = getelementptr inbounds [500 x i8], ptr %13, i64 0, i64 0 %40 = call i32 @capitalize_name(ptr noundef %39) store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 %41 = load i32, ptr %9, align 4 %42 = load i32, ptr %15, align 4 %43 = load ptr, ptr %8, align 8 %44 = call ptr @write_array_type(i32 noundef %41, i32 noundef %42, ptr noundef %43) store ptr %44, ptr %16, align 8 store i32 0, ptr %15, align 4 br label %45 45: ; preds = %67, %5 %46 = load i32, ptr %15, align 4 %47 = load i32, ptr %9, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %70 49: ; preds = %45 %50 = load ptr, ptr %7, align 8 %51 = load i32, ptr %15, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [500 x i8], ptr %50, i64 %52 %54 = getelementptr inbounds [500 x i8], ptr %53, i64 0, i64 0 %55 = load ptr, ptr %10, align 8 %56 = call i64 @strcmp(ptr noundef %54, ptr noundef %55) %57 = icmp eq i64 %56, 0 br i1 %57, label %58, label %66 58: ; preds = %49 %59 = getelementptr inbounds [500 x i8], ptr %17, i64 0, i64 0 %60 = load ptr, ptr %16, align 8 %61 = load i32, ptr %15, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds ptr, ptr %60, i64 %62 %64 = load ptr, ptr %63, align 8 %65 = call i32 @strcpy(ptr noundef %59, ptr noundef %64) br label %66 66: ; preds = %58, %49 br label %67 67: ; preds = %66 %68 = load i32, ptr %15, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %15, align 4 br label %45, !llvm.loop !6 70: ; preds = %45 %71 = getelementptr inbounds [500 x i8], ptr %18, i64 0, i64 0 %72 = getelementptr inbounds [500 x i8], ptr %17, i64 0, i64 0 %73 = call i32 @strcpy(ptr noundef %71, ptr noundef %72) %74 = getelementptr inbounds [500 x i8], ptr %18, i64 0, i64 0 %75 = call i32 @capitalize_name(ptr noundef %74) %76 = load ptr, ptr %6, align 8 %77 = getelementptr inbounds [500 x i8], ptr %11, i64 0, i64 0 %78 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 0 %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef @.str, ptr noundef %77, ptr noundef %78) %80 = load ptr, ptr %6, align 8 %81 = load ptr, ptr %7, align 8 %82 = getelementptr inbounds [500 x i8], ptr %81, i64 0 %83 = getelementptr inbounds [500 x i8], ptr %82, i64 0, i64 0 %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef @.str.1, ptr noundef %83) store i32 1, ptr %14, align 4 br label %85 85: ; preds = %107, %70 %86 = load i32, ptr %14, align 4 %87 = load i32, ptr %9, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %89, label %110 89: ; preds = %85 %90 = load ptr, ptr %7, align 8 %91 = load i32, ptr %14, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [500 x i8], ptr %90, i64 %92 %94 = getelementptr inbounds [500 x i8], ptr %93, i64 0, i64 0 %95 = load ptr, ptr %10, align 8 %96 = call i64 @strcmp(ptr noundef %94, ptr noundef %95) %97 = icmp ne i64 %96, 0 br i1 %97, label %98, label %106 98: ; preds = %89 %99 = load ptr, ptr %6, align 8 %100 = load ptr, ptr %7, align 8 %101 = load i32, ptr %14, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [500 x i8], ptr %100, i64 %102 %104 = getelementptr inbounds [500 x i8], ptr %103, i64 0, i64 0 %105 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %99, ptr noundef @.str.2, ptr noundef %104) br label %106 106: ; preds = %98, %89 br label %107 107: ; preds = %106 %108 = load i32, ptr %14, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %14, align 4 br label %85, !llvm.loop !8 110: ; preds = %85 %111 = load ptr, ptr %6, align 8 %112 = load ptr, ptr %10, align 8 %113 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef @.str.3, ptr noundef %112) %114 = load ptr, ptr %6, align 8 %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %114, ptr noundef @.str.4) store i32 1, ptr %19, align 4 store i32 1, ptr %14, align 4 br label %116 116: ; preds = %157, %110 %117 = load i32, ptr %14, align 4 %118 = load i32, ptr %9, align 4 %119 = icmp slt i32 %117, %118 br i1 %119, label %120, label %160 120: ; preds = %116 %121 = load ptr, ptr %7, align 8 %122 = load i32, ptr %14, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds [500 x i8], ptr %121, i64 %123 %125 = getelementptr inbounds [500 x i8], ptr %124, i64 0, i64 0 %126 = load ptr, ptr %10, align 8 %127 = call i64 @strcmp(ptr noundef %125, ptr noundef %126) %128 = icmp ne i64 %127, 0 br i1 %128, label %129, label %156 129: ; preds = %120 %130 = getelementptr inbounds [500 x i8], ptr %20, i64 0, i64 0 %131 = load ptr, ptr %7, align 8 %132 = load i32, ptr %14, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds [500 x i8], ptr %131, i64 %133 %135 = getelementptr inbounds [500 x i8], ptr %134, i64 0, i64 0 %136 = call i32 @strcpy(ptr noundef %130, ptr noundef %135) %137 = getelementptr inbounds [500 x i8], ptr %20, i64 0, i64 0 %138 = call i32 @capitalize_name(ptr noundef %137) %139 = getelementptr inbounds [500 x i8], ptr %21, i64 0, i64 0 %140 = load ptr, ptr %16, align 8 %141 = load i32, ptr %14, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds ptr, ptr %140, i64 %142 %144 = load ptr, ptr %143, align 8 %145 = call i32 @strcpy(ptr noundef %139, ptr noundef %144) %146 = getelementptr inbounds [500 x i8], ptr %21, i64 0, i64 0 %147 = call i32 @capitalize_name(ptr noundef %146) %148 = load ptr, ptr %6, align 8 %149 = getelementptr inbounds [500 x i8], ptr %21, i64 0, i64 0 %150 = load i32, ptr %19, align 4 %151 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 0 %152 = getelementptr inbounds [500 x i8], ptr %20, i64 0, i64 0 %153 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %148, ptr noundef @.str.5, ptr noundef %149, i32 noundef %150, ptr noundef %151, ptr noundef %152) %154 = load i32, ptr %19, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %19, align 4 br label %156 156: ; preds = %129, %120 br label %157 157: ; preds = %156 %158 = load i32, ptr %14, align 4 %159 = add nsw i32 %158, 1 store i32 %159, ptr %14, align 4 br label %116, !llvm.loop !9 160: ; preds = %116 %161 = load ptr, ptr %6, align 8 %162 = getelementptr inbounds [500 x i8], ptr %18, i64 0, i64 0 %163 = load i32, ptr %9, align 4 %164 = sub nsw i32 %163, 1 %165 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 0 %166 = getelementptr inbounds [500 x i8], ptr %13, i64 0, i64 0 %167 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %161, ptr noundef @.str.5, ptr noundef %162, i32 noundef %164, ptr noundef %165, ptr noundef %166) %168 = load ptr, ptr %6, align 8 %169 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef @.str.6) %170 = load ptr, ptr %6, align 8 %171 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %170, ptr noundef @.str.7) %172 = load ptr, ptr %6, align 8 %173 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 0 %174 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %172, ptr noundef @.str.8, ptr noundef %173) %175 = load ptr, ptr %6, align 8 %176 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %175, ptr noundef @.str.9) %177 = load ptr, ptr %6, align 8 %178 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %177, ptr noundef @.str.10) ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @capitalize_name(ptr noundef) #1 declare i32 @uncapitalize_name(ptr noundef) #1 declare ptr @write_array_type(i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3dzg9ath.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [50 x i8] c"\09public void update(%s %s) throws SQLException {\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"\09\09\09String sql = 'UPDATE %s SET' +\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"\09\09\09'%s=?' +\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"\09\09\09'WHERE %s=?';\0A\00", align 1 @.str.4 = private unnamed_addr constant [63 x i8] c"\09\09\09PreparedStatement statement = conn.preparedStatement(sql);\0A\00", align 1 @.str.5 = private unnamed_addr constant [37 x i8] c"\09\09\09statement.set%s(%d, %s.get%s());\0A\00", align 1 @.str.6 = private unnamed_addr constant [50 x i8] c"\09\09\09int rowsInserted = statement.executeUpdate();\0A\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"\09\09\09if (rowsInserted > 0) {\0A\00", align 1 @.str.8 = private unnamed_addr constant [69 x i8] c"\09\09\09\09System.out.println('An existing %s was updated successfully!');\0A\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"\09\09\09}\0A\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"\09\09}\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mount_method_update(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca [500 x i8], align 16 %12 = alloca [500 x i8], align 16 %13 = alloca [500 x i8], align 16 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca [500 x i8], align 16 %18 = alloca [500 x i8], align 16 %19 = alloca i32, align 4 %20 = alloca [500 x i8], align 16 %21 = alloca [500 x i8], align 16 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 store ptr %4, ptr %10, align 8 %22 = getelementptr inbounds [500 x i8], ptr %11, i64 0, i64 0 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds [500 x i8], ptr %23, i64 0 %25 = getelementptr inbounds [500 x i8], ptr %24, i64 0, i64 0 %26 = call i32 @strcpy(ptr noundef %22, ptr noundef %25) %27 = getelementptr inbounds [500 x i8], ptr %11, i64 0, i64 0 %28 = call i32 @capitalize_name(ptr noundef %27) %29 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 0 %30 = load ptr, ptr %7, align 8 %31 = getelementptr inbounds [500 x i8], ptr %30, i64 0 %32 = getelementptr inbounds [500 x i8], ptr %31, i64 0, i64 0 %33 = call i32 @strcpy(ptr noundef %29, ptr noundef %32) %34 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 0 %35 = call i32 @uncapitalize_name(ptr noundef %34) %36 = getelementptr inbounds [500 x i8], ptr %13, i64 0, i64 0 %37 = load ptr, ptr %10, align 8 %38 = call i32 @strcpy(ptr noundef %36, ptr noundef %37) %39 = getelementptr inbounds [500 x i8], ptr %13, i64 0, i64 0 %40 = call i32 @capitalize_name(ptr noundef %39) store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 %41 = load i32, ptr %9, align 4 %42 = load i32, ptr %15, align 4 %43 = load ptr, ptr %8, align 8 %44 = call ptr @write_array_type(i32 noundef %41, i32 noundef %42, ptr noundef %43) store ptr %44, ptr %16, align 8 store i32 0, ptr %15, align 4 %45 = load i32, ptr %15, align 4 %46 = load i32, ptr %9, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %.lr.ph, label %72 .lr.ph: ; preds = %5 br label %48 48: ; preds = %.lr.ph, %66 %49 = load ptr, ptr %7, align 8 %50 = load i32, ptr %15, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [500 x i8], ptr %49, i64 %51 %53 = getelementptr inbounds [500 x i8], ptr %52, i64 0, i64 0 %54 = load ptr, ptr %10, align 8 %55 = call i64 @strcmp(ptr noundef %53, ptr noundef %54) %56 = icmp eq i64 %55, 0 br i1 %56, label %57, label %65 57: ; preds = %48 %58 = getelementptr inbounds [500 x i8], ptr %17, i64 0, i64 0 %59 = load ptr, ptr %16, align 8 %60 = load i32, ptr %15, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %59, i64 %61 %63 = load ptr, ptr %62, align 8 %64 = call i32 @strcpy(ptr noundef %58, ptr noundef %63) br label %65 65: ; preds = %57, %48 br label %66 66: ; preds = %65 %67 = load i32, ptr %15, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %15, align 4 %69 = load i32, ptr %15, align 4 %70 = load i32, ptr %9, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %48, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %66 br label %72 72: ; preds = %._crit_edge, %5 %73 = getelementptr inbounds [500 x i8], ptr %18, i64 0, i64 0 %74 = getelementptr inbounds [500 x i8], ptr %17, i64 0, i64 0 %75 = call i32 @strcpy(ptr noundef %73, ptr noundef %74) %76 = getelementptr inbounds [500 x i8], ptr %18, i64 0, i64 0 %77 = call i32 @capitalize_name(ptr noundef %76) %78 = load ptr, ptr %6, align 8 %79 = getelementptr inbounds [500 x i8], ptr %11, i64 0, i64 0 %80 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 0 %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef @.str, ptr noundef %79, ptr noundef %80) %82 = load ptr, ptr %6, align 8 %83 = load ptr, ptr %7, align 8 %84 = getelementptr inbounds [500 x i8], ptr %83, i64 0 %85 = getelementptr inbounds [500 x i8], ptr %84, i64 0, i64 0 %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef @.str.1, ptr noundef %85) store i32 1, ptr %14, align 4 %87 = load i32, ptr %14, align 4 %88 = load i32, ptr %9, align 4 %89 = icmp slt i32 %87, %88 br i1 %89, label %.lr.ph2, label %114 .lr.ph2: ; preds = %72 br label %90 90: ; preds = %.lr.ph2, %108 %91 = load ptr, ptr %7, align 8 %92 = load i32, ptr %14, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [500 x i8], ptr %91, i64 %93 %95 = getelementptr inbounds [500 x i8], ptr %94, i64 0, i64 0 %96 = load ptr, ptr %10, align 8 %97 = call i64 @strcmp(ptr noundef %95, ptr noundef %96) %98 = icmp ne i64 %97, 0 br i1 %98, label %99, label %107 99: ; preds = %90 %100 = load ptr, ptr %6, align 8 %101 = load ptr, ptr %7, align 8 %102 = load i32, ptr %14, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [500 x i8], ptr %101, i64 %103 %105 = getelementptr inbounds [500 x i8], ptr %104, i64 0, i64 0 %106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef @.str.2, ptr noundef %105) br label %107 107: ; preds = %99, %90 br label %108 108: ; preds = %107 %109 = load i32, ptr %14, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %14, align 4 %111 = load i32, ptr %14, align 4 %112 = load i32, ptr %9, align 4 %113 = icmp slt i32 %111, %112 br i1 %113, label %90, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %108 br label %114 114: ; preds = %._crit_edge3, %72 %115 = load ptr, ptr %6, align 8 %116 = load ptr, ptr %10, align 8 %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %115, ptr noundef @.str.3, ptr noundef %116) %118 = load ptr, ptr %6, align 8 %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %118, ptr noundef @.str.4) store i32 1, ptr %19, align 4 store i32 1, ptr %14, align 4 %120 = load i32, ptr %14, align 4 %121 = load i32, ptr %9, align 4 %122 = icmp slt i32 %120, %121 br i1 %122, label %.lr.ph5, label %166 .lr.ph5: ; preds = %114 br label %123 123: ; preds = %.lr.ph5, %160 %124 = load ptr, ptr %7, align 8 %125 = load i32, ptr %14, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [500 x i8], ptr %124, i64 %126 %128 = getelementptr inbounds [500 x i8], ptr %127, i64 0, i64 0 %129 = load ptr, ptr %10, align 8 %130 = call i64 @strcmp(ptr noundef %128, ptr noundef %129) %131 = icmp ne i64 %130, 0 br i1 %131, label %132, label %159 132: ; preds = %123 %133 = getelementptr inbounds [500 x i8], ptr %20, i64 0, i64 0 %134 = load ptr, ptr %7, align 8 %135 = load i32, ptr %14, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds [500 x i8], ptr %134, i64 %136 %138 = getelementptr inbounds [500 x i8], ptr %137, i64 0, i64 0 %139 = call i32 @strcpy(ptr noundef %133, ptr noundef %138) %140 = getelementptr inbounds [500 x i8], ptr %20, i64 0, i64 0 %141 = call i32 @capitalize_name(ptr noundef %140) %142 = getelementptr inbounds [500 x i8], ptr %21, i64 0, i64 0 %143 = load ptr, ptr %16, align 8 %144 = load i32, ptr %14, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds ptr, ptr %143, i64 %145 %147 = load ptr, ptr %146, align 8 %148 = call i32 @strcpy(ptr noundef %142, ptr noundef %147) %149 = getelementptr inbounds [500 x i8], ptr %21, i64 0, i64 0 %150 = call i32 @capitalize_name(ptr noundef %149) %151 = load ptr, ptr %6, align 8 %152 = getelementptr inbounds [500 x i8], ptr %21, i64 0, i64 0 %153 = load i32, ptr %19, align 4 %154 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 0 %155 = getelementptr inbounds [500 x i8], ptr %20, i64 0, i64 0 %156 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %151, ptr noundef @.str.5, ptr noundef %152, i32 noundef %153, ptr noundef %154, ptr noundef %155) %157 = load i32, ptr %19, align 4 %158 = add nsw i32 %157, 1 store i32 %158, ptr %19, align 4 br label %159 159: ; preds = %132, %123 br label %160 160: ; preds = %159 %161 = load i32, ptr %14, align 4 %162 = add nsw i32 %161, 1 store i32 %162, ptr %14, align 4 %163 = load i32, ptr %14, align 4 %164 = load i32, ptr %9, align 4 %165 = icmp slt i32 %163, %164 br i1 %165, label %123, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %160 br label %166 166: ; preds = %._crit_edge6, %114 %167 = load ptr, ptr %6, align 8 %168 = getelementptr inbounds [500 x i8], ptr %18, i64 0, i64 0 %169 = load i32, ptr %9, align 4 %170 = sub nsw i32 %169, 1 %171 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 0 %172 = getelementptr inbounds [500 x i8], ptr %13, i64 0, i64 0 %173 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %167, ptr noundef @.str.5, ptr noundef %168, i32 noundef %170, ptr noundef %171, ptr noundef %172) %174 = load ptr, ptr %6, align 8 %175 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %174, ptr noundef @.str.6) %176 = load ptr, ptr %6, align 8 %177 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef @.str.7) %178 = load ptr, ptr %6, align 8 %179 = getelementptr inbounds [500 x i8], ptr %12, i64 0, i64 0 %180 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %178, ptr noundef @.str.8, ptr noundef %179) %181 = load ptr, ptr %6, align 8 %182 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %181, ptr noundef @.str.9) %183 = load ptr, ptr %6, align 8 %184 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %183, ptr noundef @.str.10) ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @capitalize_name(ptr noundef) #1 declare i32 @uncapitalize_name(ptr noundef) #1 declare ptr @write_array_type(i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp2u1_uug9.c' source_filename = "/tmp/tmp2u1_uug9.c" target datalayout = "e-m:e-p270: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/tmp2u1_uug9.c" target datalayout = "e-m:e-p270: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/tmpzcz_k7nd.c' source_filename = "/tmp/tmpzcz_k7nd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ip_sprintf.ipbuf = internal global [18 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [12 x i8] c"%d.%d.%d.%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ip_sprintf(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 store ptr %2, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 0 %6 = load i8, ptr %5, align 1 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 1 %9 = load i8, ptr %8, align 1 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 2 %12 = load i8, ptr %11, align 1 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 3 %15 = load i8, ptr %14, align 1 %16 = call i32 @snprintf(ptr noundef @ip_sprintf.ipbuf, i32 noundef 18, ptr noundef @.str, i8 noundef zeroext %6, i8 noundef zeroext %9, i8 noundef zeroext %12, i8 noundef zeroext %15) ret ptr @ip_sprintf.ipbuf } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzcz_k7nd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ip_sprintf.ipbuf = internal global [18 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [12 x i8] c"%d.%d.%d.%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ip_sprintf(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 store ptr %2, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 0 %6 = load i8, ptr %5, align 1 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 1 %9 = load i8, ptr %8, align 1 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 2 %12 = load i8, ptr %11, align 1 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 3 %15 = load i8, ptr %14, align 1 %16 = call i32 @snprintf(ptr noundef @ip_sprintf.ipbuf, i32 noundef 18, ptr noundef @.str, i8 noundef zeroext %6, i8 noundef zeroext %9, i8 noundef zeroext %12, i8 noundef zeroext %15) ret ptr @ip_sprintf.ipbuf } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzjiif1u5.c' source_filename = "/tmp/tmpzjiif1u5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @alloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = call ptr @malloc(i32 noundef 4) store ptr %4, ptr %3, align 8 %5 = load i32, ptr %2, align 4 %6 = load ptr, ptr %3, align 8 store i32 %5, ptr %6, align 4 %7 = load ptr, ptr %3, align 8 ret ptr %7 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzjiif1u5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @alloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = call ptr @malloc(i32 noundef 4) store ptr %4, ptr %3, align 8 %5 = load i32, ptr %2, align 4 %6 = load ptr, ptr %3, align 8 store i32 %5, ptr %6, align 4 %7 = load ptr, ptr %3, align 8 ret ptr %7 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbj0lxaf6.c' source_filename = "/tmp/tmpbj0lxaf6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SV_SoundIndex(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 @SV_FindIndex(ptr noundef %3, i32 noundef 288, i32 noundef 256, i32 noundef 1) ret i32 %4 } declare i32 @SV_FindIndex(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbj0lxaf6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SV_SoundIndex(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 @SV_FindIndex(ptr noundef %3, i32 noundef 288, i32 noundef 256, i32 noundef 1) ret i32 %4 } declare i32 @SV_FindIndex(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzki89qff.c' source_filename = "/tmp/tmpzki89qff.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_square_wave(i32 noundef 44100, i32 noundef 440, i32 noundef 1000, double noundef 3.000000e-01) ret i32 0 } declare i32 @gen_square_wave(i32 noundef, i32 noundef, i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzki89qff.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_square_wave(i32 noundef 44100, i32 noundef 440, i32 noundef 1000, double noundef 3.000000e-01) ret i32 0 } declare i32 @gen_square_wave(i32 noundef, i32 noundef, i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn4274454.c' source_filename = "/tmp/tmpn4274454.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\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 i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 1, ptr %8, align 4 br label %10 10: ; preds = %22, %2 %11 = load i32, ptr %8, align 4 %12 = icmp sle i32 %11, 100 br i1 %12, label %13, label %25 13: ; preds = %10 %14 = load i32, ptr %8, align 4 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %15, %14 store i32 %16, ptr %6, align 4 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %8, align 4 %19 = mul nsw i32 %17, %18 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, %19 store i32 %21, ptr %7, align 4 br label %22 22: ; preds = %13 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %8, align 4 br label %10, !llvm.loop !6 25: ; preds = %10 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %6, align 4 %28 = mul nsw i32 %26, %27 %29 = load i32, ptr %7, align 4 %30 = sub nsw i32 %28, %29 store i32 %30, ptr %9, align 4 %31 = load i32, ptr %9, align 4 %32 = call i32 @printf(ptr noundef @.str, i32 noundef %31) 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/tmpn4274454.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\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 i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 1, ptr %8, align 4 %10 = load i32, ptr %8, align 4 %11 = icmp sle i32 %10, 100 br i1 %11, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %21 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %6, align 4 %15 = add nsw i32 %14, %13 store i32 %15, ptr %6, align 4 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %8, align 4 %18 = mul nsw i32 %16, %17 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %19, %18 store i32 %20, ptr %7, align 4 br label %21 21: ; preds = %12 %22 = load i32, ptr %8, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp sle i32 %24, 100 br i1 %25, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %2 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = mul nsw i32 %27, %28 %30 = load i32, ptr %7, align 4 %31 = sub nsw i32 %29, %30 store i32 %31, ptr %9, align 4 %32 = load i32, ptr %9, align 4 %33 = call i32 @printf(ptr noundef @.str, i32 noundef %32) 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/tmpee5im6u0.c' source_filename = "/tmp/tmpee5im6u0.c" target datalayout = "e-m:e-p270: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/tmpee5im6u0.c" target datalayout = "e-m:e-p270: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/tmpqj21m7_m.c' source_filename = "/tmp/tmpqj21m7_m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } %struct.hostent = type { i32, i32 } @.str = private unnamed_addr constant [28 x i8] c"\0APort number is missing...\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"ERROR opening socket\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"129.120.151.94\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"\0AERROR, no such host...\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"ERROR connecting the server...\0A\00", align 1 @.str.5 = private unnamed_addr constant [34 x i8] c"\0AEnter message (use Bye to end): \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [24 x i8] c"ERROR writing to socket\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"Bye\00", align 1 @.str.8 = private unnamed_addr constant [26 x i8] c"ERROR reading from socket\00", align 1 @.str.9 = private unnamed_addr constant [36 x i8] c"The number of vowels present is %s\0A\00", align 1 @.str.10 = private unnamed_addr constant [9 x i8] c"Goodbye\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 %struct.sockaddr_in, align 4 %10 = alloca ptr, align 8 %11 = alloca [256 x i8], align 16 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 2 br i1 %14, label %15, label %18 15: ; preds = %2 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str) %17 = call i32 @exit(i32 noundef 0) #3 unreachable 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i32 @atoi(ptr noundef %21) store i32 %22, ptr %7, align 4 %23 = load i32, ptr @AF_INET, align 4 %24 = load i32, ptr @SOCK_STREAM, align 4 %25 = call i32 @socket(i32 noundef %23, i32 noundef %24, i32 noundef 0) store i32 %25, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %18 %29 = load i32, ptr @EXIT_FAILURE, align 4 %30 = call i32 @error(i32 noundef %29, i32 noundef 0, ptr noundef @.str.1) br label %31 31: ; preds = %28, %18 %32 = call ptr @gethostbyname(ptr noundef @.str.2) store ptr %32, ptr %10, align 8 %33 = load ptr, ptr %10, align 8 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %38 35: ; preds = %31 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %37 = call i32 @exit(i32 noundef 0) #3 unreachable 38: ; preds = %31 %39 = call i32 @bzero(ptr noundef %9, i32 noundef 12) %40 = load i32, ptr @AF_INET, align 4 %41 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2 store i32 %40, ptr %41, align 4 %42 = load i32, ptr %7, align 4 %43 = call i32 @htons(i32 noundef %42) %44 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1 store i32 %43, ptr %44, align 4 %45 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 %46 = load ptr, ptr %10, align 8 %47 = getelementptr inbounds %struct.hostent, ptr %46, i32 0, i32 1 %48 = load i32, ptr %47, align 4 %49 = load ptr, ptr %10, align 8 %50 = getelementptr inbounds %struct.hostent, ptr %49, i32 0, i32 0 %51 = load i32, ptr %50, align 4 %52 = call i32 @memcpy(ptr noundef %45, i32 noundef %48, i32 noundef %51) %53 = load i32, ptr %6, align 4 %54 = call i64 @connect(i32 noundef %53, ptr noundef %9, i32 noundef 12) %55 = icmp slt i64 %54, 0 br i1 %55, label %56, label %59 56: ; preds = %38 %57 = load i32, ptr @EXIT_FAILURE, align 4 %58 = call i32 @error(i32 noundef %57, i32 noundef 0, ptr noundef @.str.4) br label %59 59: ; preds = %56, %38 store i32 0, ptr %12, align 4 br label %60 60: ; preds = %101, %59 %61 = load i32, ptr %12, align 4 %62 = icmp eq i32 %61, 0 br i1 %62, label %63, label %102 63: ; preds = %60 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %65 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %66 = call i32 @bzero(ptr noundef %65, i32 noundef 256) %67 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %68 = load i32, ptr @stdin, align 4 %69 = call i32 @fgets(ptr noundef %67, i32 noundef 256, i32 noundef %68) %70 = load i32, ptr %6, align 4 %71 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %72 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %73 = call i32 @strlen(ptr noundef %72) %74 = call i32 @write(i32 noundef %70, ptr noundef %71, i32 noundef %73) store i32 %74, ptr %8, align 4 %75 = load i32, ptr %8, align 4 %76 = icmp slt i32 %75, 0 br i1 %76, label %77, label %80 77: ; preds = %63 %78 = load i32, ptr @EXIT_FAILURE, align 4 %79 = call i32 @error(i32 noundef %78, i32 noundef 0, ptr noundef @.str.6) br label %80 80: ; preds = %77, %63 %81 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %82 = call ptr @strstr(ptr noundef %81, ptr noundef @.str.7) %83 = icmp eq ptr %82, null br i1 %83, label %84, label %99 84: ; preds = %80 %85 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %86 = call i32 @bzero(ptr noundef %85, i32 noundef 256) %87 = load i32, ptr %6, align 4 %88 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %89 = call i32 @read(i32 noundef %87, ptr noundef %88, i32 noundef 255) store i32 %89, ptr %8, align 4 %90 = load i32, ptr %8, align 4 %91 = icmp slt i32 %90, 0 br i1 %91, label %92, label %95 92: ; preds = %84 %93 = load i32, ptr @EXIT_FAILURE, align 4 %94 = call i32 @error(i32 noundef %93, i32 noundef 0, ptr noundef @.str.8) br label %98 95: ; preds = %84 %96 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %96) br label %98 98: ; preds = %95, %92 br label %101 99: ; preds = %80 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) store i32 1, ptr %12, align 4 br label %101 101: ; preds = %99, %98 br label %60, !llvm.loop !6 102: ; preds = %60 %103 = load i32, ptr %6, align 4 %104 = call i32 @close(i32 noundef %103) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @error(i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqj21m7_m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } %struct.hostent = type { i32, i32 } @.str = private unnamed_addr constant [28 x i8] c"\0APort number is missing...\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"ERROR opening socket\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"129.120.151.94\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"\0AERROR, no such host...\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"ERROR connecting the server...\0A\00", align 1 @.str.5 = private unnamed_addr constant [34 x i8] c"\0AEnter message (use Bye to end): \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [24 x i8] c"ERROR writing to socket\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"Bye\00", align 1 @.str.8 = private unnamed_addr constant [26 x i8] c"ERROR reading from socket\00", align 1 @.str.9 = private unnamed_addr constant [36 x i8] c"The number of vowels present is %s\0A\00", align 1 @.str.10 = private unnamed_addr constant [9 x i8] c"Goodbye\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 %struct.sockaddr_in, align 4 %10 = alloca ptr, align 8 %11 = alloca [256 x i8], align 16 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 2 br i1 %14, label %15, label %18 15: ; preds = %2 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str) %17 = call i32 @exit(i32 noundef 0) #3 unreachable 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i32 @atoi(ptr noundef %21) store i32 %22, ptr %7, align 4 %23 = load i32, ptr @AF_INET, align 4 %24 = load i32, ptr @SOCK_STREAM, align 4 %25 = call i32 @socket(i32 noundef %23, i32 noundef %24, i32 noundef 0) store i32 %25, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %18 %29 = load i32, ptr @EXIT_FAILURE, align 4 %30 = call i32 @error(i32 noundef %29, i32 noundef 0, ptr noundef @.str.1) br label %31 31: ; preds = %28, %18 %32 = call ptr @gethostbyname(ptr noundef @.str.2) store ptr %32, ptr %10, align 8 %33 = load ptr, ptr %10, align 8 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %38 35: ; preds = %31 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %37 = call i32 @exit(i32 noundef 0) #3 unreachable 38: ; preds = %31 %39 = call i32 @bzero(ptr noundef %9, i32 noundef 12) %40 = load i32, ptr @AF_INET, align 4 %41 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2 store i32 %40, ptr %41, align 4 %42 = load i32, ptr %7, align 4 %43 = call i32 @htons(i32 noundef %42) %44 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1 store i32 %43, ptr %44, align 4 %45 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 %46 = load ptr, ptr %10, align 8 %47 = getelementptr inbounds %struct.hostent, ptr %46, i32 0, i32 1 %48 = load i32, ptr %47, align 4 %49 = load ptr, ptr %10, align 8 %50 = getelementptr inbounds %struct.hostent, ptr %49, i32 0, i32 0 %51 = load i32, ptr %50, align 4 %52 = call i32 @memcpy(ptr noundef %45, i32 noundef %48, i32 noundef %51) %53 = load i32, ptr %6, align 4 %54 = call i64 @connect(i32 noundef %53, ptr noundef %9, i32 noundef 12) %55 = icmp slt i64 %54, 0 br i1 %55, label %56, label %59 56: ; preds = %38 %57 = load i32, ptr @EXIT_FAILURE, align 4 %58 = call i32 @error(i32 noundef %57, i32 noundef 0, ptr noundef @.str.4) br label %59 59: ; preds = %56, %38 store i32 0, ptr %12, align 4 %60 = load i32, ptr %12, align 4 %61 = icmp eq i32 %60, 0 br i1 %61, label %.lr.ph, label %103 .lr.ph: ; preds = %59 br label %62 62: ; preds = %.lr.ph, %100 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %64 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %65 = call i32 @bzero(ptr noundef %64, i32 noundef 256) %66 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %67 = load i32, ptr @stdin, align 4 %68 = call i32 @fgets(ptr noundef %66, i32 noundef 256, i32 noundef %67) %69 = load i32, ptr %6, align 4 %70 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %71 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %72 = call i32 @strlen(ptr noundef %71) %73 = call i32 @write(i32 noundef %69, ptr noundef %70, i32 noundef %72) store i32 %73, ptr %8, align 4 %74 = load i32, ptr %8, align 4 %75 = icmp slt i32 %74, 0 br i1 %75, label %76, label %79 76: ; preds = %62 %77 = load i32, ptr @EXIT_FAILURE, align 4 %78 = call i32 @error(i32 noundef %77, i32 noundef 0, ptr noundef @.str.6) br label %79 79: ; preds = %76, %62 %80 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %81 = call ptr @strstr(ptr noundef %80, ptr noundef @.str.7) %82 = icmp eq ptr %81, null br i1 %82, label %83, label %98 83: ; preds = %79 %84 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %85 = call i32 @bzero(ptr noundef %84, i32 noundef 256) %86 = load i32, ptr %6, align 4 %87 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %88 = call i32 @read(i32 noundef %86, ptr noundef %87, i32 noundef 255) store i32 %88, ptr %8, align 4 %89 = load i32, ptr %8, align 4 %90 = icmp slt i32 %89, 0 br i1 %90, label %91, label %94 91: ; preds = %83 %92 = load i32, ptr @EXIT_FAILURE, align 4 %93 = call i32 @error(i32 noundef %92, i32 noundef 0, ptr noundef @.str.8) br label %97 94: ; preds = %83 %95 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %95) br label %97 97: ; preds = %94, %91 br label %100 98: ; preds = %79 %99 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) store i32 1, ptr %12, align 4 br label %100 100: ; preds = %98, %97 %101 = load i32, ptr %12, align 4 %102 = icmp eq i32 %101, 0 br i1 %102, label %62, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %100 br label %103 103: ; preds = %._crit_edge, %59 %104 = load i32, ptr %6, align 4 %105 = call i32 @close(i32 noundef %104) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @error(i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwzj5j5tp.c' source_filename = "/tmp/tmpwzj5j5tp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_X_randreal_32bit(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = call ptr @get_X_randreal_64bit(i32 noundef %6) store ptr %7, ptr %3, align 8 %8 = load i32, ptr %2, align 4 %9 = mul nsw i32 %8, 2 %10 = sext i32 %9 to i64 %11 = mul i64 %10, 4 %12 = trunc i64 %11 to i32 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %4, align 8 %15 = load i32, ptr %2, align 4 %16 = mul nsw i32 %15, 2 store i32 %16, ptr %5, align 4 br label %17 17: ; preds = %21, %1 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, -1 store i32 %19, ptr %5, align 4 %20 = icmp ne i32 %18, 0 br i1 %20, label %21, label %32 21: ; preds = %17 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds double, ptr %22, i64 %24 %26 = load double, ptr %25, align 8 %27 = fptrunc double %26 to float %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds float, ptr %28, i64 %30 store float %27, ptr %31, align 4 br label %17, !llvm.loop !6 32: ; preds = %17 %33 = load ptr, ptr %4, align 8 ret ptr %33 } declare ptr @get_X_randreal_64bit(i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwzj5j5tp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_X_randreal_32bit(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = call ptr @get_X_randreal_64bit(i32 noundef %6) store ptr %7, ptr %3, align 8 %8 = load i32, ptr %2, align 4 %9 = mul nsw i32 %8, 2 %10 = sext i32 %9 to i64 %11 = mul i64 %10, 4 %12 = trunc i64 %11 to i32 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %4, align 8 %15 = load i32, ptr %2, align 4 %16 = mul nsw i32 %15, 2 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, -1 store i32 %18, ptr %5, align 4 %19 = icmp ne i32 %17, 0 br i1 %19, label %.lr.ph, label %34 .lr.ph: ; preds = %1 br label %20 20: ; preds = %.lr.ph, %20 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds double, ptr %21, i64 %23 %25 = load double, ptr %24, align 8 %26 = fptrunc double %25 to float %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds float, ptr %27, i64 %29 store float %26, ptr %30, align 4 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, -1 store i32 %32, ptr %5, align 4 %33 = icmp ne i32 %31, 0 br i1 %33, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %34 34: ; preds = %._crit_edge, %1 %35 = load ptr, ptr %4, align 8 ret ptr %35 } declare ptr @get_X_randreal_64bit(i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpcoeckowg.c' source_filename = "/tmp/tmpcoeckowg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drawScene(float noundef %0, i32 noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca i32, align 4 store float %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %2 %8 = call i32 @glColor3f(i32 noundef 0, i32 noundef 0, i32 noundef 0) br label %9 9: ; preds = %7, %2 %10 = call i32 (...) @glPushMatrix() %11 = load float, ptr %3, align 4 %12 = fpext float %11 to double %13 = fmul double 5.000000e-01, %12 %14 = load float, ptr %3, align 4 %15 = fpext float %14 to double %16 = fmul double 0x3FB3333333333333, %15 %17 = call i32 @glTranslatef(double noundef %13, double noundef %16, i32 noundef 0) %18 = load float, ptr %3, align 4 %19 = fpext float %18 to double %20 = fmul double 1.000000e-01, %19 %21 = call i32 @glutSolidCube(double noundef %20) %22 = call i32 (...) @glPopMatrix() %23 = call i32 (...) @glPushMatrix() %24 = load float, ptr %3, align 4 %25 = fpext float %24 to double %26 = load float, ptr %3, align 4 %27 = fpext float %26 to double %28 = fmul double 5.000000e-02, %27 %29 = call double @llvm.fmuladd.f64(double 5.000000e-02, double %25, double %28) %30 = call i32 @glTranslatef(double noundef 0.000000e+00, double noundef %29, i32 noundef 0) %31 = load float, ptr %3, align 4 %32 = fpext float %31 to double %33 = fmul double 1.000000e-01, %32 %34 = call i32 @glutWireTeapot(double noundef %33) %35 = call i32 (...) @glPopMatrix() %36 = call i32 (...) @glPushMatrix() %37 = load float, ptr %3, align 4 %38 = fpext float %37 to double %39 = fmul double -5.000000e-01, %38 %40 = load float, ptr %3, align 4 %41 = fpext float %40 to double %42 = fmul double 0x3FB3333333333333, %41 %43 = load float, ptr %3, align 4 %44 = fpext float %43 to double %45 = fmul double 0.000000e+00, %44 %46 = fptosi double %45 to i32 %47 = call i32 @glTranslatef(double noundef %39, double noundef %42, i32 noundef %46) %48 = load float, ptr %3, align 4 %49 = fpext float %48 to double %50 = fmul double 1.000000e-01, %49 %51 = call i32 @glutSolidCube(double noundef %50) %52 = load float, ptr %3, align 4 %53 = fpext float %52 to double %54 = fmul double -1.000000e-02, %53 %55 = load float, ptr %3, align 4 %56 = fpext float %55 to double %57 = fmul double 1.000000e-01, %56 %58 = load float, ptr %3, align 4 %59 = fpext float %58 to double %60 = fmul double 0.000000e+00, %59 %61 = fptosi double %60 to i32 %62 = call i32 @glTranslatef(double noundef %54, double noundef %57, i32 noundef %61) %63 = load float, ptr %3, align 4 %64 = fpext float %63 to double %65 = fmul double 1.000000e-01, %64 %66 = call i32 @glutSolidCube(double noundef %65) %67 = load float, ptr %3, align 4 %68 = fpext float %67 to double %69 = fmul double 3.000000e-02, %68 %70 = load float, ptr %3, align 4 %71 = fpext float %70 to double %72 = fmul double 1.000000e-01, %71 %73 = call i32 @glTranslatef(double noundef %69, double noundef %72, i32 noundef 0) %74 = load float, ptr %3, align 4 %75 = fpext float %74 to double %76 = fmul double 1.000000e-01, %75 %77 = call i32 @glutSolidCube(double noundef %76) %78 = call i32 (...) @glPopMatrix() %79 = call i32 (...) @glPushMatrix() %80 = load float, ptr %3, align 4 %81 = fpext float %80 to double %82 = fmul double -3.000000e-01, %81 %83 = load float, ptr %3, align 4 %84 = fpext float %83 to double %85 = fmul double 7.500000e-01, %84 %86 = load float, ptr %3, align 4 %87 = fpext float %86 to double %88 = fmul double 7.500000e-01, %87 %89 = load float, ptr %3, align 4 %90 = fpext float %89 to double %91 = fmul double 4.000000e-01, %90 %92 = load float, ptr %3, align 4 %93 = fpext float %92 to double %94 = fmul double 5.000000e-02, %93 %95 = load i32, ptr %4, align 4 %96 = call i32 @drawChair(i32 noundef 0, double noundef %82, double noundef %85, double noundef %88, double noundef %91, double noundef %94, i32 noundef %95) %97 = call i32 (...) @glPopMatrix() %98 = call i32 (...) @glPushMatrix() %99 = call i32 @glRotatef(i32 noundef 180, i32 noundef 0, i32 noundef 1, i32 noundef 0) %100 = load float, ptr %3, align 4 %101 = fpext float %100 to double %102 = fmul double -3.000000e-01, %101 %103 = load float, ptr %3, align 4 %104 = fpext float %103 to double %105 = fmul double 7.500000e-01, %104 %106 = load float, ptr %3, align 4 %107 = fpext float %106 to double %108 = fmul double 7.500000e-01, %107 %109 = load float, ptr %3, align 4 %110 = fpext float %109 to double %111 = fmul double 4.000000e-01, %110 %112 = load float, ptr %3, align 4 %113 = fpext float %112 to double %114 = fmul double 5.000000e-02, %113 %115 = load i32, ptr %4, align 4 %116 = call i32 @drawChair(i32 noundef 0, double noundef %102, double noundef %105, double noundef %108, double noundef %111, double noundef %114, i32 noundef %115) %117 = call i32 (...) @glPopMatrix() %118 = call i32 (...) @glPushMatrix() %119 = call i32 @glRotatef(i32 noundef 90, i32 noundef 0, i32 noundef 1, i32 noundef 0) %120 = load float, ptr %3, align 4 %121 = fpext float %120 to double %122 = fmul double -3.000000e-01, %121 %123 = load float, ptr %3, align 4 %124 = fpext float %123 to double %125 = fmul double 7.500000e-01, %124 %126 = load float, ptr %3, align 4 %127 = fpext float %126 to double %128 = fmul double 7.500000e-01, %127 %129 = load float, ptr %3, align 4 %130 = fpext float %129 to double %131 = fmul double 4.000000e-01, %130 %132 = load float, ptr %3, align 4 %133 = fpext float %132 to double %134 = fmul double 5.000000e-02, %133 %135 = load i32, ptr %4, align 4 %136 = call i32 @drawChair(i32 noundef 0, double noundef %122, double noundef %125, double noundef %128, double noundef %131, double noundef %134, i32 noundef %135) %137 = call i32 (...) @glPopMatrix() %138 = call i32 (...) @glPushMatrix() %139 = call i32 @glRotatef(i32 noundef -90, i32 noundef 0, i32 noundef 1, i32 noundef 0) %140 = load float, ptr %3, align 4 %141 = fpext float %140 to double %142 = fmul double -3.000000e-01, %141 %143 = load float, ptr %3, align 4 %144 = fpext float %143 to double %145 = fmul double 7.500000e-01, %144 %146 = load float, ptr %3, align 4 %147 = fpext float %146 to double %148 = fmul double 7.500000e-01, %147 %149 = load float, ptr %3, align 4 %150 = fpext float %149 to double %151 = fmul double 4.000000e-01, %150 %152 = load float, ptr %3, align 4 %153 = fpext float %152 to double %154 = fmul double 5.000000e-02, %153 %155 = load i32, ptr %4, align 4 %156 = call i32 @drawChair(i32 noundef 0, double noundef %142, double noundef %145, double noundef %148, double noundef %151, double noundef %154, i32 noundef %155) %157 = call i32 (...) @glPopMatrix() %158 = call i32 (...) @glPushMatrix() %159 = load float, ptr %3, align 4 %160 = fpext float %159 to double %161 = fmul double 5.000000e-02, %160 %162 = load float, ptr %3, align 4 %163 = fpext float %162 to double %164 = fmul double 1.500000e+00, %163 %165 = load float, ptr %3, align 4 %166 = fpext float %165 to double %167 = fmul double 1.000000e+00, %166 %168 = load float, ptr %3, align 4 %169 = fpext float %168 to double %170 = fmul double 1.000000e-01, %169 %171 = load float, ptr %3, align 4 %172 = fpext float %171 to double %173 = fmul double 8.000000e-01, %172 %174 = call i32 @drawTable(double noundef %161, double noundef %164, double noundef %167, double noundef %170, double noundef %173) %175 = call i32 (...) @glPopMatrix() ret void } declare i32 @glColor3f(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @glPushMatrix(...) #1 declare i32 @glTranslatef(double noundef, double noundef, i32 noundef) #1 declare i32 @glutSolidCube(double noundef) #1 declare i32 @glPopMatrix(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @glutWireTeapot(double noundef) #1 declare i32 @drawChair(i32 noundef, double noundef, double noundef, double noundef, double noundef, double noundef, i32 noundef) #1 declare i32 @glRotatef(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @drawTable(double noundef, double noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpcoeckowg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drawScene(float noundef %0, i32 noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca i32, align 4 store float %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %2 %8 = call i32 @glColor3f(i32 noundef 0, i32 noundef 0, i32 noundef 0) br label %9 9: ; preds = %7, %2 %10 = call i32 (...) @glPushMatrix() %11 = load float, ptr %3, align 4 %12 = fpext float %11 to double %13 = fmul double 5.000000e-01, %12 %14 = load float, ptr %3, align 4 %15 = fpext float %14 to double %16 = fmul double 0x3FB3333333333333, %15 %17 = call i32 @glTranslatef(double noundef %13, double noundef %16, i32 noundef 0) %18 = load float, ptr %3, align 4 %19 = fpext float %18 to double %20 = fmul double 1.000000e-01, %19 %21 = call i32 @glutSolidCube(double noundef %20) %22 = call i32 (...) @glPopMatrix() %23 = call i32 (...) @glPushMatrix() %24 = load float, ptr %3, align 4 %25 = fpext float %24 to double %26 = load float, ptr %3, align 4 %27 = fpext float %26 to double %28 = fmul double 5.000000e-02, %27 %29 = call double @llvm.fmuladd.f64(double 5.000000e-02, double %25, double %28) %30 = call i32 @glTranslatef(double noundef 0.000000e+00, double noundef %29, i32 noundef 0) %31 = load float, ptr %3, align 4 %32 = fpext float %31 to double %33 = fmul double 1.000000e-01, %32 %34 = call i32 @glutWireTeapot(double noundef %33) %35 = call i32 (...) @glPopMatrix() %36 = call i32 (...) @glPushMatrix() %37 = load float, ptr %3, align 4 %38 = fpext float %37 to double %39 = fmul double -5.000000e-01, %38 %40 = load float, ptr %3, align 4 %41 = fpext float %40 to double %42 = fmul double 0x3FB3333333333333, %41 %43 = load float, ptr %3, align 4 %44 = fpext float %43 to double %45 = fmul double 0.000000e+00, %44 %46 = fptosi double %45 to i32 %47 = call i32 @glTranslatef(double noundef %39, double noundef %42, i32 noundef %46) %48 = load float, ptr %3, align 4 %49 = fpext float %48 to double %50 = fmul double 1.000000e-01, %49 %51 = call i32 @glutSolidCube(double noundef %50) %52 = load float, ptr %3, align 4 %53 = fpext float %52 to double %54 = fmul double -1.000000e-02, %53 %55 = load float, ptr %3, align 4 %56 = fpext float %55 to double %57 = fmul double 1.000000e-01, %56 %58 = load float, ptr %3, align 4 %59 = fpext float %58 to double %60 = fmul double 0.000000e+00, %59 %61 = fptosi double %60 to i32 %62 = call i32 @glTranslatef(double noundef %54, double noundef %57, i32 noundef %61) %63 = load float, ptr %3, align 4 %64 = fpext float %63 to double %65 = fmul double 1.000000e-01, %64 %66 = call i32 @glutSolidCube(double noundef %65) %67 = load float, ptr %3, align 4 %68 = fpext float %67 to double %69 = fmul double 3.000000e-02, %68 %70 = load float, ptr %3, align 4 %71 = fpext float %70 to double %72 = fmul double 1.000000e-01, %71 %73 = call i32 @glTranslatef(double noundef %69, double noundef %72, i32 noundef 0) %74 = load float, ptr %3, align 4 %75 = fpext float %74 to double %76 = fmul double 1.000000e-01, %75 %77 = call i32 @glutSolidCube(double noundef %76) %78 = call i32 (...) @glPopMatrix() %79 = call i32 (...) @glPushMatrix() %80 = load float, ptr %3, align 4 %81 = fpext float %80 to double %82 = fmul double -3.000000e-01, %81 %83 = load float, ptr %3, align 4 %84 = fpext float %83 to double %85 = fmul double 7.500000e-01, %84 %86 = load float, ptr %3, align 4 %87 = fpext float %86 to double %88 = fmul double 7.500000e-01, %87 %89 = load float, ptr %3, align 4 %90 = fpext float %89 to double %91 = fmul double 4.000000e-01, %90 %92 = load float, ptr %3, align 4 %93 = fpext float %92 to double %94 = fmul double 5.000000e-02, %93 %95 = load i32, ptr %4, align 4 %96 = call i32 @drawChair(i32 noundef 0, double noundef %82, double noundef %85, double noundef %88, double noundef %91, double noundef %94, i32 noundef %95) %97 = call i32 (...) @glPopMatrix() %98 = call i32 (...) @glPushMatrix() %99 = call i32 @glRotatef(i32 noundef 180, i32 noundef 0, i32 noundef 1, i32 noundef 0) %100 = load float, ptr %3, align 4 %101 = fpext float %100 to double %102 = fmul double -3.000000e-01, %101 %103 = load float, ptr %3, align 4 %104 = fpext float %103 to double %105 = fmul double 7.500000e-01, %104 %106 = load float, ptr %3, align 4 %107 = fpext float %106 to double %108 = fmul double 7.500000e-01, %107 %109 = load float, ptr %3, align 4 %110 = fpext float %109 to double %111 = fmul double 4.000000e-01, %110 %112 = load float, ptr %3, align 4 %113 = fpext float %112 to double %114 = fmul double 5.000000e-02, %113 %115 = load i32, ptr %4, align 4 %116 = call i32 @drawChair(i32 noundef 0, double noundef %102, double noundef %105, double noundef %108, double noundef %111, double noundef %114, i32 noundef %115) %117 = call i32 (...) @glPopMatrix() %118 = call i32 (...) @glPushMatrix() %119 = call i32 @glRotatef(i32 noundef 90, i32 noundef 0, i32 noundef 1, i32 noundef 0) %120 = load float, ptr %3, align 4 %121 = fpext float %120 to double %122 = fmul double -3.000000e-01, %121 %123 = load float, ptr %3, align 4 %124 = fpext float %123 to double %125 = fmul double 7.500000e-01, %124 %126 = load float, ptr %3, align 4 %127 = fpext float %126 to double %128 = fmul double 7.500000e-01, %127 %129 = load float, ptr %3, align 4 %130 = fpext float %129 to double %131 = fmul double 4.000000e-01, %130 %132 = load float, ptr %3, align 4 %133 = fpext float %132 to double %134 = fmul double 5.000000e-02, %133 %135 = load i32, ptr %4, align 4 %136 = call i32 @drawChair(i32 noundef 0, double noundef %122, double noundef %125, double noundef %128, double noundef %131, double noundef %134, i32 noundef %135) %137 = call i32 (...) @glPopMatrix() %138 = call i32 (...) @glPushMatrix() %139 = call i32 @glRotatef(i32 noundef -90, i32 noundef 0, i32 noundef 1, i32 noundef 0) %140 = load float, ptr %3, align 4 %141 = fpext float %140 to double %142 = fmul double -3.000000e-01, %141 %143 = load float, ptr %3, align 4 %144 = fpext float %143 to double %145 = fmul double 7.500000e-01, %144 %146 = load float, ptr %3, align 4 %147 = fpext float %146 to double %148 = fmul double 7.500000e-01, %147 %149 = load float, ptr %3, align 4 %150 = fpext float %149 to double %151 = fmul double 4.000000e-01, %150 %152 = load float, ptr %3, align 4 %153 = fpext float %152 to double %154 = fmul double 5.000000e-02, %153 %155 = load i32, ptr %4, align 4 %156 = call i32 @drawChair(i32 noundef 0, double noundef %142, double noundef %145, double noundef %148, double noundef %151, double noundef %154, i32 noundef %155) %157 = call i32 (...) @glPopMatrix() %158 = call i32 (...) @glPushMatrix() %159 = load float, ptr %3, align 4 %160 = fpext float %159 to double %161 = fmul double 5.000000e-02, %160 %162 = load float, ptr %3, align 4 %163 = fpext float %162 to double %164 = fmul double 1.500000e+00, %163 %165 = load float, ptr %3, align 4 %166 = fpext float %165 to double %167 = fmul double 1.000000e+00, %166 %168 = load float, ptr %3, align 4 %169 = fpext float %168 to double %170 = fmul double 1.000000e-01, %169 %171 = load float, ptr %3, align 4 %172 = fpext float %171 to double %173 = fmul double 8.000000e-01, %172 %174 = call i32 @drawTable(double noundef %161, double noundef %164, double noundef %167, double noundef %170, double noundef %173) %175 = call i32 (...) @glPopMatrix() ret void } declare i32 @glColor3f(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @glPushMatrix(...) #1 declare i32 @glTranslatef(double noundef, double noundef, i32 noundef) #1 declare i32 @glutSolidCube(double noundef) #1 declare i32 @glPopMatrix(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @glutWireTeapot(double noundef) #1 declare i32 @drawChair(i32 noundef, double noundef, double noundef, double noundef, double noundef, double noundef, i32 noundef) #1 declare i32 @glRotatef(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @drawTable(double noundef, double noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp56mfwi9a.c' source_filename = "/tmp/tmp56mfwi9a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bridge_cross(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 -1, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = call i32 @bridge_sendToDomain(ptr noundef %8, ptr noundef %9, i32 noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 ret i32 %12 } declare i32 @bridge_sendToDomain(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/tmp56mfwi9a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bridge_cross(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 -1, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = call i32 @bridge_sendToDomain(ptr noundef %8, ptr noundef %9, i32 noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 ret i32 %12 } declare i32 @bridge_sendToDomain(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/tmp48nzenan.c' source_filename = "/tmp/tmp48nzenan.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @binsearch(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %9, align 4 %12 = load i32, ptr %7, align 4 %13 = sub nsw i32 %12, 1 store i32 %13, ptr %10, align 4 br label %14 14: ; preds = %43, %3 %15 = load i32, ptr %9, align 4 %16 = load i32, ptr %10, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %18, label %44 18: ; preds = %14 %19 = load i32, ptr %9, align 4 %20 = load i32, ptr %10, align 4 %21 = add nsw i32 %19, %20 %22 = sdiv i32 %21, 2 store i32 %22, ptr %11, align 4 %23 = load ptr, ptr %5, align 8 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %11, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i32 @strcmp(ptr noundef %23, ptr noundef %28) store i32 %29, ptr %8, align 4 %30 = icmp slt i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %18 %32 = load i32, ptr %11, align 4 %33 = sub nsw i32 %32, 1 store i32 %33, ptr %10, align 4 br label %43 34: ; preds = %18 %35 = load i32, ptr %8, align 4 %36 = icmp sgt i32 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %34 %38 = load i32, ptr %11, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %9, align 4 br label %42 40: ; preds = %34 %41 = load i32, ptr %11, align 4 store i32 %41, ptr %4, align 4 br label %45 42: ; preds = %37 br label %43 43: ; preds = %42, %31 br label %14, !llvm.loop !6 44: ; preds = %14 store i32 -1, ptr %4, align 4 br label %45 45: ; preds = %44, %40 %46 = load i32, ptr %4, align 4 ret i32 %46 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp48nzenan.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @binsearch(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %9, align 4 %12 = load i32, ptr %7, align 4 %13 = sub nsw i32 %12, 1 store i32 %13, ptr %10, align 4 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %10, align 4 %16 = icmp sle i32 %14, %15 br i1 %16, label %.lr.ph, label %46 .lr.ph: ; preds = %3 br label %17 17: ; preds = %.lr.ph, %42 %18 = load i32, ptr %9, align 4 %19 = load i32, ptr %10, align 4 %20 = add nsw i32 %18, %19 %21 = sdiv i32 %20, 2 store i32 %21, ptr %11, align 4 %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %11, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i32 @strcmp(ptr noundef %22, ptr noundef %27) store i32 %28, ptr %8, align 4 %29 = icmp slt i32 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %17 %31 = load i32, ptr %11, align 4 %32 = sub nsw i32 %31, 1 store i32 %32, ptr %10, align 4 br label %42 33: ; preds = %17 %34 = load i32, ptr %8, align 4 %35 = icmp sgt i32 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %33 %37 = load i32, ptr %11, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %9, align 4 br label %41 39: ; preds = %33 %40 = load i32, ptr %11, align 4 store i32 %40, ptr %4, align 4 br label %47 41: ; preds = %36 br label %42 42: ; preds = %41, %30 %43 = load i32, ptr %9, align 4 %44 = load i32, ptr %10, align 4 %45 = icmp sle i32 %43, %44 br i1 %45, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %46 46: ; preds = %._crit_edge, %3 store i32 -1, ptr %4, align 4 br label %47 47: ; preds = %46, %39 %48 = load i32, ptr %4, align 4 ret i32 %48 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpzq_wcg6a.c' source_filename = "/tmp/tmpzq_wcg6a.c" target datalayout = "e-m:e-p270: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/tmpzq_wcg6a.c" target datalayout = "e-m:e-p270: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/tmpvl5pj1up.c' source_filename = "/tmp/tmpvl5pj1up.c" target datalayout = "e-m:e-p270: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/tmpvl5pj1up.c" target datalayout = "e-m:e-p270: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/tmpdyiavrvr.c' source_filename = "/tmp/tmpdyiavrvr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ntohl_util(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = call i64 (...) @little_endianess() %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr %3, align 4 %8 = call i32 @ntohl(i32 noundef %7) store i32 %8, ptr %2, align 4 br label %11 9: ; preds = %1 %10 = load i32, ptr %3, align 4 store i32 %10, ptr %2, align 4 br label %11 11: ; preds = %9, %6 %12 = load i32, ptr %2, align 4 ret i32 %12 } declare i64 @little_endianess(...) #1 declare i32 @ntohl(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/tmpdyiavrvr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ntohl_util(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = call i64 (...) @little_endianess() %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr %3, align 4 %8 = call i32 @ntohl(i32 noundef %7) store i32 %8, ptr %2, align 4 br label %11 9: ; preds = %1 %10 = load i32, ptr %3, align 4 store i32 %10, ptr %2, align 4 br label %11 11: ; preds = %9, %6 %12 = load i32, ptr %2, align 4 ret i32 %12 } declare i64 @little_endianess(...) #1 declare i32 @ntohl(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/tmpikowdsvu.c' source_filename = "/tmp/tmpikowdsvu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @B_TempFree(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 @BG_TempFree(i32 noundef %3) ret void } declare i32 @BG_TempFree(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/tmpikowdsvu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @B_TempFree(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 @BG_TempFree(i32 noundef %3) ret void } declare i32 @BG_TempFree(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/tmpr362xx10.c' source_filename = "/tmp/tmpr362xx10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @iothub_messaging_ll_sample_run() ret i32 0 } declare i32 @iothub_messaging_ll_sample_run(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr362xx10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @iothub_messaging_ll_sample_run() ret i32 0 } declare i32 @iothub_messaging_ll_sample_run(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1ceqxlbh.c' source_filename = "/tmp/tmp1ceqxlbh.c" target datalayout = "e-m:e-p270: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/tmp1ceqxlbh.c" target datalayout = "e-m:e-p270: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/tmpccqf_757.c' source_filename = "/tmp/tmpccqf_757.c" target datalayout = "e-m:e-p270: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/tmpccqf_757.c" target datalayout = "e-m:e-p270: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/tmpi5wq6d9t.c' source_filename = "/tmp/tmpi5wq6d9t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MFRC522_Init(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = call i32 (...) @MFRC522_HAL_init() %4 = load i8, ptr %2, align 1 %5 = call i32 @MFRC522_Setup(i8 noundef signext %4) ret i32 %5 } declare i32 @MFRC522_HAL_init(...) #1 declare i32 @MFRC522_Setup(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi5wq6d9t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MFRC522_Init(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = call i32 (...) @MFRC522_HAL_init() %4 = load i8, ptr %2, align 1 %5 = call i32 @MFRC522_Setup(i8 noundef signext %4) ret i32 %5 } declare i32 @MFRC522_HAL_init(...) #1 declare i32 @MFRC522_Setup(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvf0ns5p2.c' source_filename = "/tmp/tmpvf0ns5p2.c" target datalayout = "e-m:e-p270: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/tmpvf0ns5p2.c" target datalayout = "e-m:e-p270: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/tmpad_iiepm.c' source_filename = "/tmp/tmpad_iiepm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @fsort() ret i32 0 } declare i32 @fsort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpad_iiepm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @fsort() ret i32 0 } declare i32 @fsort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjr81pgk8.c' source_filename = "/tmp/tmpjr81pgk8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i64 0, align 8 @SYS_sched_getaffinity = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjr81pgk8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i64 0, align 8 @SYS_sched_getaffinity = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmw8h0jos.c' source_filename = "/tmp/tmpmw8h0jos.c" target datalayout = "e-m:e-p270: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/tmpmw8h0jos.c" target datalayout = "e-m:e-p270: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/tmp12ecftdu.c' source_filename = "/tmp/tmp12ecftdu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scan_string(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = load i32, ptr %4, align 4 switch i32 %7, label %51 [ i32 10, label %8 i32 16, label %32 ] 8: ; preds = %2 br label %9 9: ; preds = %28, %8 %10 = load ptr, ptr %5, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = call i32 @isdigit(i32 noundef %12) #2 %14 = icmp ne i32 %13, 0 br i1 %14, label %25, label %15 15: ; preds = %9 %16 = load ptr, ptr %5, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 45 br i1 %19, label %25, label %20 20: ; preds = %15 %21 = load ptr, ptr %5, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 0 br label %25 25: ; preds = %20, %15, %9 %26 = phi i1 [ true, %15 ], [ true, %9 ], [ %24, %20 ] %27 = xor i1 %26, true br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %5, align 8 br label %9, !llvm.loop !6 31: ; preds = %25 br label %51 32: ; preds = %2 br label %33 33: ; preds = %47, %32 %34 = load ptr, ptr %5, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = call i32 @isxdigit(i32 noundef %36) #2 %38 = icmp ne i32 %37, 0 br i1 %38, label %44, label %39 39: ; preds = %33 %40 = load ptr, ptr %5, align 8 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 0 br label %44 44: ; preds = %39, %33 %45 = phi i1 [ true, %33 ], [ %43, %39 ] %46 = xor i1 %45, true br i1 %46, label %47, label %50 47: ; preds = %44 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds i8, ptr %48, i32 1 store ptr %49, ptr %5, align 8 br label %33, !llvm.loop !8 50: ; preds = %44 br label %51 51: ; preds = %2, %50, %31 %52 = load ptr, ptr %5, align 8 ret ptr %52 } ; Function Attrs: nounwind willreturn memory(read) declare i32 @isdigit(i32 noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isxdigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp12ecftdu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scan_string(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = load i32, ptr %4, align 4 switch i32 %7, label %51 [ i32 10, label %8 i32 16, label %32 ] 8: ; preds = %2 br label %9 9: ; preds = %28, %8 %10 = load ptr, ptr %5, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = call i32 @isdigit(i32 noundef %12) #2 %14 = icmp ne i32 %13, 0 br i1 %14, label %25, label %15 15: ; preds = %9 %16 = load ptr, ptr %5, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 45 br i1 %19, label %25, label %20 20: ; preds = %15 %21 = load ptr, ptr %5, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 0 br label %25 25: ; preds = %20, %15, %9 %26 = phi i1 [ true, %15 ], [ true, %9 ], [ %24, %20 ] %27 = xor i1 %26, true br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %5, align 8 br label %9, !llvm.loop !6 31: ; preds = %25 br label %51 32: ; preds = %2 br label %33 33: ; preds = %47, %32 %34 = load ptr, ptr %5, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = call i32 @isxdigit(i32 noundef %36) #2 %38 = icmp ne i32 %37, 0 br i1 %38, label %44, label %39 39: ; preds = %33 %40 = load ptr, ptr %5, align 8 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 0 br label %44 44: ; preds = %39, %33 %45 = phi i1 [ true, %33 ], [ %43, %39 ] %46 = xor i1 %45, true br i1 %46, label %47, label %50 47: ; preds = %44 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds i8, ptr %48, i32 1 store ptr %49, ptr %5, align 8 br label %33, !llvm.loop !8 50: ; preds = %44 br label %51 51: ; preds = %50, %31, %2 %52 = load ptr, ptr %5, align 8 ret ptr %52 } ; Function Attrs: nounwind willreturn memory(read) declare i32 @isdigit(i32 noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isxdigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpjuhu1p1z.c' source_filename = "/tmp/tmpjuhu1p1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"No args for now\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"ma[N/10]=%4.6f\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 float, align 4 %7 = 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 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 1 br i1 %9, label %10, label %14 10: ; preds = %2 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = load i32, ptr @EXIT_SUCCESS, align 4 %13 = call i32 @exit(i32 noundef %12) #3 unreachable 14: ; preds = %2 store float 3.000000e+00, ptr %6, align 4 %15 = call ptr @malloc(i32 noundef 800) store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %7, align 8 %17 = load float, ptr %6, align 4 %18 = fptosi float %17 to i64 %19 = sitofp i64 %18 to float %20 = call i32 @memset(ptr noundef %16, float noundef %19, i32 noundef 800) %21 = load ptr, ptr %7, align 8 %22 = load float, ptr %6, align 4 %23 = call i32 @memset(ptr noundef %21, float noundef %22, i32 noundef 800) %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds double, ptr %24, i64 10 %26 = load double, ptr %25, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %26) %28 = load ptr, ptr %7, align 8 %29 = call i32 @free(ptr noundef %28) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, float noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjuhu1p1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"No args for now\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"ma[N/10]=%4.6f\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 float, align 4 %7 = 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 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 1 br i1 %9, label %10, label %14 10: ; preds = %2 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = load i32, ptr @EXIT_SUCCESS, align 4 %13 = call i32 @exit(i32 noundef %12) #3 unreachable 14: ; preds = %2 store float 3.000000e+00, ptr %6, align 4 %15 = call ptr @malloc(i32 noundef 800) store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %7, align 8 %17 = load float, ptr %6, align 4 %18 = fptosi float %17 to i64 %19 = sitofp i64 %18 to float %20 = call i32 @memset(ptr noundef %16, float noundef %19, i32 noundef 800) %21 = load ptr, ptr %7, align 8 %22 = load float, ptr %6, align 4 %23 = call i32 @memset(ptr noundef %21, float noundef %22, i32 noundef 800) %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds double, ptr %24, i64 10 %26 = load double, ptr %25, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %26) %28 = load ptr, ptr %7, align 8 %29 = call i32 @free(ptr noundef %28) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, float noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8w8fm0_s.c' source_filename = "/tmp/tmp8w8fm0_s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"a+\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @check(ptr noundef %0) #0 { %2 = alloca i8, align 1 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str) store ptr %6, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %1 %9 = load ptr, ptr %4, align 8 %10 = call i32 @fclose(ptr noundef %9) store i8 110, ptr %2, align 1 br label %14 11: ; preds = %1 %12 = load ptr, ptr %4, align 8 %13 = call i32 @fclose(ptr noundef %12) store i8 121, ptr %2, align 1 br label %14 14: ; preds = %11, %8 %15 = load i8, ptr %2, align 1 ret i8 %15 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8w8fm0_s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"a+\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @check(ptr noundef %0) #0 { %2 = alloca i8, align 1 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str) store ptr %6, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %1 %9 = load ptr, ptr %4, align 8 %10 = call i32 @fclose(ptr noundef %9) store i8 110, ptr %2, align 1 br label %14 11: ; preds = %1 %12 = load ptr, ptr %4, align 8 %13 = call i32 @fclose(ptr noundef %12) store i8 121, ptr %2, align 1 br label %14 14: ; preds = %11, %8 %15 = load i8, ptr %2, align 1 ret i8 %15 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx7ppxs3a.c' source_filename = "/tmp/tmpx7ppxs3a.c" target datalayout = "e-m:e-p270: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/tmpx7ppxs3a.c" target datalayout = "e-m:e-p270: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/tmp8zmftg97.c' source_filename = "/tmp/tmp8zmftg97.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @time(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 (...) @sys_time() store i32 %4, ptr %3, align 4 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = load ptr, ptr %2, align 8 store i32 %8, ptr %9, align 4 br label %10 10: ; preds = %7, %1 %11 = load i32, ptr %3, align 4 ret i32 %11 } declare i32 @sys_time(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8zmftg97.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @time(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 (...) @sys_time() store i32 %4, ptr %3, align 4 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = load ptr, ptr %2, align 8 store i32 %8, ptr %9, align 4 br label %10 10: ; preds = %7, %1 %11 = load i32, ptr %3, align 4 ret i32 %11 } declare i32 @sys_time(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy3mr20ab.c' source_filename = "/tmp/tmpy3mr20ab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @supply_register_by_name(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @find_regno(ptr noundef %5) %7 = load ptr, ptr %4, align 8 %8 = call i32 @supply_register(i32 noundef %6, ptr noundef %7) ret void } declare i32 @supply_register(i32 noundef, ptr noundef) #1 declare i32 @find_regno(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy3mr20ab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @supply_register_by_name(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @find_regno(ptr noundef %5) %7 = load ptr, ptr %4, align 8 %8 = call i32 @supply_register(i32 noundef %6, ptr noundef %7) ret void } declare i32 @supply_register(i32 noundef, ptr noundef) #1 declare i32 @find_regno(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb4eiyjmc.c' source_filename = "/tmp/tmpb4eiyjmc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @next_term(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 = srem i32 %4, 2 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %14 7: ; preds = %1 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %8, %9 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %10, %11 %13 = add nsw i32 %12, 1 br label %17 14: ; preds = %1 %15 = load i32, ptr %2, align 4 %16 = ashr i32 %15, 1 br label %17 17: ; preds = %14, %7 %18 = phi i32 [ %13, %7 ], [ %16, %14 ] store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 ret i32 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb4eiyjmc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @next_term(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 = srem i32 %4, 2 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %14 7: ; preds = %1 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %8, %9 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %10, %11 %13 = add nsw i32 %12, 1 br label %17 14: ; preds = %1 %15 = load i32, ptr %2, align 4 %16 = ashr i32 %15, 1 br label %17 17: ; preds = %14, %7 %18 = phi i32 [ %13, %7 ], [ %16, %14 ] store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 ret i32 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiv4kjhfk.c' source_filename = "/tmp/tmpiv4kjhfk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"%u.%u.%u.%u\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @utilIp2IpStr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %11, label %8 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %8, %2 store i64 -1, ptr %3, align 8 br label %27 12: ; preds = %8 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 0 %16 = load i8, ptr %15, align 1 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 1 %19 = load i8, ptr %18, align 1 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 2 %22 = load i8, ptr %21, align 1 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 3 %25 = load i8, ptr %24, align 1 %26 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, i8 noundef zeroext %16, i8 noundef zeroext %19, i8 noundef zeroext %22, i8 noundef zeroext %25) store i64 0, ptr %3, align 8 br label %27 27: ; preds = %12, %11 %28 = load i64, ptr %3, align 8 ret i64 %28 } declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiv4kjhfk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"%u.%u.%u.%u\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @utilIp2IpStr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %11, label %8 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %8, %2 store i64 -1, ptr %3, align 8 br label %27 12: ; preds = %8 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 0 %16 = load i8, ptr %15, align 1 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 1 %19 = load i8, ptr %18, align 1 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 2 %22 = load i8, ptr %21, align 1 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 3 %25 = load i8, ptr %24, align 1 %26 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, i8 noundef zeroext %16, i8 noundef zeroext %19, i8 noundef zeroext %22, i8 noundef zeroext %25) store i64 0, ptr %3, align 8 br label %27 27: ; preds = %12, %11 %28 = load i64, ptr %3, align 8 ret i64 %28 } declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptya9uekw.c' source_filename = "/tmp/tmptya9uekw.c" target datalayout = "e-m:e-p270: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/tmptya9uekw.c" target datalayout = "e-m:e-p270: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/tmpga_gan69.c' source_filename = "/tmp/tmpga_gan69.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Usage: %s set/get/cmp file\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"set\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"cmp\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"'%s' open failed.\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"/dev/mem\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_SYNC = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [23 x i8] c"/dev/mem open failed.\0A\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [11 x i8] c"mmap fail\0A\00", align 1 @.str.9 = private unnamed_addr constant [34 x i8] c"MFP Memory mapped at address %p.\0A\00", align 1 @.str.10 = private unnamed_addr constant [42 x i8] c"Init, mfp virtual base at %p (phys=0x%X)\0A\00", align 1 @.str.11 = private unnamed_addr constant [12 x i8] c"alloc fail\0A\00", align 1 @.str.12 = private unnamed_addr constant [19 x i8] c"num\09addr\09file\09MFP\0A\00", align 1 @.str.13 = private unnamed_addr constant [20 x i8] c"%i:\09%04x\09%08x\09%08x\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 i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 1088487424, ptr %6, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 2 br i1 %15, label %16, label %21 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %19) store i32 0, ptr %3, align 4 br label %159 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str.1) %26 = icmp ne i32 %25, 0 br i1 %26, label %28, label %27 27: ; preds = %21 store i32 0, ptr %10, align 4 br label %37 28: ; preds = %21 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 %32 = call i32 @strcmp(ptr noundef %31, ptr noundef @.str.2) %33 = icmp ne i32 %32, 0 br i1 %33, label %35, label %34 34: ; preds = %28 store i32 2, ptr %10, align 4 br label %36 35: ; preds = %28 store i32 1, ptr %10, align 4 br label %36 36: ; preds = %35, %34 br label %37 37: ; preds = %36, %27 %38 = load i32, ptr %10, align 4 %39 = icmp eq i32 %38, 1 br i1 %39, label %40, label %45 40: ; preds = %37 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 2 %43 = load ptr, ptr %42, align 8 %44 = call ptr @fopen(ptr noundef %43, ptr noundef @.str.3) store ptr %44, ptr %13, align 8 br label %50 45: ; preds = %37 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 2 %48 = load ptr, ptr %47, align 8 %49 = call ptr @fopen(ptr noundef %48, ptr noundef @.str.4) store ptr %49, ptr %13, align 8 br label %50 50: ; preds = %45, %40 %51 = load ptr, ptr %13, align 8 %52 = icmp ne ptr %51, null br i1 %52, label %58, label %53 53: ; preds = %50 %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds ptr, ptr %54, i64 2 %56 = load ptr, ptr %55, align 8 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %56) store i32 0, ptr %3, align 4 br label %159 58: ; preds = %50 %59 = load i32, ptr @O_RDWR, align 4 %60 = load i32, ptr @O_SYNC, align 4 %61 = or i32 %59, %60 %62 = call i32 @open(ptr noundef @.str.6, i32 noundef %61) store i32 %62, ptr %9, align 4 %63 = load i32, ptr %9, align 4 %64 = icmp ne i32 %63, 0 br i1 %64, label %67, label %65 65: ; preds = %58 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 0, ptr %3, align 4 br label %159 67: ; preds = %58 %68 = load i32, ptr @PROT_READ, align 4 %69 = load i32, ptr @PROT_WRITE, align 4 %70 = or i32 %68, %69 %71 = load i32, ptr @MAP_SHARED, align 4 %72 = load i32, ptr %9, align 4 %73 = load i64, ptr %6, align 8 %74 = and i64 %73, -16384 %75 = call ptr @mmap(i32 noundef 0, i64 noundef 16384, i32 noundef %70, i32 noundef %71, i32 noundef %72, i64 noundef %74) store ptr %75, ptr %7, align 8 %76 = load ptr, ptr %7, align 8 %77 = icmp eq ptr %76, inttoptr (i64 -1 to ptr) br i1 %77, label %78, label %80 78: ; preds = %67 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 0, ptr %3, align 4 br label %159 80: ; preds = %67 %81 = load ptr, ptr %7, align 8 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %81) %83 = load ptr, ptr %7, align 8 %84 = load i64, ptr %6, align 8 %85 = and i64 %84, 16383 %86 = getelementptr i8, ptr %83, i64 %85 store ptr %86, ptr %8, align 8 %87 = load ptr, ptr %8, align 8 %88 = load i64, ptr %6, align 8 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %87, i64 noundef %88) %90 = load i32, ptr %10, align 4 %91 = icmp eq i32 %90, 0 br i1 %91, label %92, label %96 92: ; preds = %80 %93 = load ptr, ptr %8, align 8 %94 = load ptr, ptr %13, align 8 %95 = call i32 @fread(ptr noundef %93, i64 noundef 16384, i32 noundef 1, ptr noundef %94) br label %154 96: ; preds = %80 %97 = load i32, ptr %10, align 4 %98 = icmp eq i32 %97, 1 br i1 %98, label %99, label %103 99: ; preds = %96 %100 = load ptr, ptr %8, align 8 %101 = load ptr, ptr %13, align 8 %102 = call i32 @fwrite(ptr noundef %100, i64 noundef 16384, i32 noundef 1, ptr noundef %101) br label %153 103: ; preds = %96 %104 = call i64 @malloc(i64 noundef 16384) %105 = inttoptr i64 %104 to ptr store ptr %105, ptr %11, align 8 %106 = load ptr, ptr %11, align 8 %107 = icmp ne ptr %106, null br i1 %107, label %110, label %108 108: ; preds = %103 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) store i32 0, ptr %3, align 4 br label %159 110: ; preds = %103 %111 = load ptr, ptr %11, align 8 %112 = load ptr, ptr %13, align 8 %113 = call i32 @fread(ptr noundef %111, i64 noundef 16384, i32 noundef 1, ptr noundef %112) %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) store i32 0, ptr %12, align 4 br label %115 115: ; preds = %147, %110 %116 = load i32, ptr %12, align 4 %117 = sext i32 %116 to i64 %118 = icmp ult i64 %117, 4096 br i1 %118, label %119, label %150 119: ; preds = %115 %120 = load ptr, ptr %11, align 8 %121 = load i32, ptr %12, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds i64, ptr %120, i64 %122 %124 = load i64, ptr %123, align 8 %125 = load ptr, ptr %8, align 8 %126 = load i32, ptr %12, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i64, ptr %125, i64 %127 %129 = load i64, ptr %128, align 8 %130 = icmp ne i64 %124, %129 br i1 %130, label %131, label %146 131: ; preds = %119 %132 = load i32, ptr %12, align 4 %133 = load i32, ptr %12, align 4 %134 = mul nsw i32 %133, 4 %135 = load ptr, ptr %11, align 8 %136 = load i32, ptr %12, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds i64, ptr %135, i64 %137 %139 = load i64, ptr %138, align 8 %140 = load ptr, ptr %8, align 8 %141 = load i32, ptr %12, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds i64, ptr %140, i64 %142 %144 = load i64, ptr %143, align 8 %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %132, i32 noundef %134, i64 noundef %139, i64 noundef %144) br label %146 146: ; preds = %131, %119 br label %147 147: ; preds = %146 %148 = load i32, ptr %12, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %12, align 4 br label %115, !llvm.loop !6 150: ; preds = %115 %151 = load ptr, ptr %11, align 8 %152 = call i32 @free(ptr noundef %151) br label %153 153: ; preds = %150, %99 br label %154 154: ; preds = %153, %92 %155 = load ptr, ptr %13, align 8 %156 = call i32 @fclose(ptr noundef %155) %157 = load ptr, ptr %7, align 8 %158 = call i32 @munmap(ptr noundef %157, i64 noundef 16384) br label %159 159: ; preds = %154, %108, %78, %65, %53, %16 %160 = load i32, ptr %3, align 4 ret i32 %160 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare ptr @mmap(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) #1 declare i32 @fread(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @munmap(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpga_gan69.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Usage: %s set/get/cmp file\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"set\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"cmp\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"'%s' open failed.\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"/dev/mem\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_SYNC = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [23 x i8] c"/dev/mem open failed.\0A\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [11 x i8] c"mmap fail\0A\00", align 1 @.str.9 = private unnamed_addr constant [34 x i8] c"MFP Memory mapped at address %p.\0A\00", align 1 @.str.10 = private unnamed_addr constant [42 x i8] c"Init, mfp virtual base at %p (phys=0x%X)\0A\00", align 1 @.str.11 = private unnamed_addr constant [12 x i8] c"alloc fail\0A\00", align 1 @.str.12 = private unnamed_addr constant [19 x i8] c"num\09addr\09file\09MFP\0A\00", align 1 @.str.13 = private unnamed_addr constant [20 x i8] c"%i:\09%04x\09%08x\09%08x\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 i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 1088487424, ptr %6, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 2 br i1 %15, label %16, label %21 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %19) store i32 0, ptr %3, align 4 br label %161 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str.1) %26 = icmp ne i32 %25, 0 br i1 %26, label %28, label %27 27: ; preds = %21 store i32 0, ptr %10, align 4 br label %37 28: ; preds = %21 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 %32 = call i32 @strcmp(ptr noundef %31, ptr noundef @.str.2) %33 = icmp ne i32 %32, 0 br i1 %33, label %35, label %34 34: ; preds = %28 store i32 2, ptr %10, align 4 br label %36 35: ; preds = %28 store i32 1, ptr %10, align 4 br label %36 36: ; preds = %35, %34 br label %37 37: ; preds = %36, %27 %38 = load i32, ptr %10, align 4 %39 = icmp eq i32 %38, 1 br i1 %39, label %40, label %45 40: ; preds = %37 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 2 %43 = load ptr, ptr %42, align 8 %44 = call ptr @fopen(ptr noundef %43, ptr noundef @.str.3) store ptr %44, ptr %13, align 8 br label %50 45: ; preds = %37 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 2 %48 = load ptr, ptr %47, align 8 %49 = call ptr @fopen(ptr noundef %48, ptr noundef @.str.4) store ptr %49, ptr %13, align 8 br label %50 50: ; preds = %45, %40 %51 = load ptr, ptr %13, align 8 %52 = icmp ne ptr %51, null br i1 %52, label %58, label %53 53: ; preds = %50 %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds ptr, ptr %54, i64 2 %56 = load ptr, ptr %55, align 8 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %56) store i32 0, ptr %3, align 4 br label %161 58: ; preds = %50 %59 = load i32, ptr @O_RDWR, align 4 %60 = load i32, ptr @O_SYNC, align 4 %61 = or i32 %59, %60 %62 = call i32 @open(ptr noundef @.str.6, i32 noundef %61) store i32 %62, ptr %9, align 4 %63 = load i32, ptr %9, align 4 %64 = icmp ne i32 %63, 0 br i1 %64, label %67, label %65 65: ; preds = %58 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 0, ptr %3, align 4 br label %161 67: ; preds = %58 %68 = load i32, ptr @PROT_READ, align 4 %69 = load i32, ptr @PROT_WRITE, align 4 %70 = or i32 %68, %69 %71 = load i32, ptr @MAP_SHARED, align 4 %72 = load i32, ptr %9, align 4 %73 = load i64, ptr %6, align 8 %74 = and i64 %73, -16384 %75 = call ptr @mmap(i32 noundef 0, i64 noundef 16384, i32 noundef %70, i32 noundef %71, i32 noundef %72, i64 noundef %74) store ptr %75, ptr %7, align 8 %76 = load ptr, ptr %7, align 8 %77 = icmp eq ptr %76, inttoptr (i64 -1 to ptr) br i1 %77, label %78, label %80 78: ; preds = %67 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 0, ptr %3, align 4 br label %161 80: ; preds = %67 %81 = load ptr, ptr %7, align 8 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %81) %83 = load ptr, ptr %7, align 8 %84 = load i64, ptr %6, align 8 %85 = and i64 %84, 16383 %86 = getelementptr i8, ptr %83, i64 %85 store ptr %86, ptr %8, align 8 %87 = load ptr, ptr %8, align 8 %88 = load i64, ptr %6, align 8 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %87, i64 noundef %88) %90 = load i32, ptr %10, align 4 %91 = icmp eq i32 %90, 0 br i1 %91, label %92, label %96 92: ; preds = %80 %93 = load ptr, ptr %8, align 8 %94 = load ptr, ptr %13, align 8 %95 = call i32 @fread(ptr noundef %93, i64 noundef 16384, i32 noundef 1, ptr noundef %94) br label %156 96: ; preds = %80 %97 = load i32, ptr %10, align 4 %98 = icmp eq i32 %97, 1 br i1 %98, label %99, label %103 99: ; preds = %96 %100 = load ptr, ptr %8, align 8 %101 = load ptr, ptr %13, align 8 %102 = call i32 @fwrite(ptr noundef %100, i64 noundef 16384, i32 noundef 1, ptr noundef %101) br label %155 103: ; preds = %96 %104 = call i64 @malloc(i64 noundef 16384) %105 = inttoptr i64 %104 to ptr store ptr %105, ptr %11, align 8 %106 = load ptr, ptr %11, align 8 %107 = icmp ne ptr %106, null br i1 %107, label %110, label %108 108: ; preds = %103 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) store i32 0, ptr %3, align 4 br label %161 110: ; preds = %103 %111 = load ptr, ptr %11, align 8 %112 = load ptr, ptr %13, align 8 %113 = call i32 @fread(ptr noundef %111, i64 noundef 16384, i32 noundef 1, ptr noundef %112) %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) store i32 0, ptr %12, align 4 %115 = load i32, ptr %12, align 4 %116 = sext i32 %115 to i64 %117 = icmp ult i64 %116, 4096 br i1 %117, label %.lr.ph, label %152 .lr.ph: ; preds = %110 br label %118 118: ; preds = %.lr.ph, %146 %119 = load ptr, ptr %11, align 8 %120 = load i32, ptr %12, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds i64, ptr %119, i64 %121 %123 = load i64, ptr %122, align 8 %124 = load ptr, ptr %8, align 8 %125 = load i32, ptr %12, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds i64, ptr %124, i64 %126 %128 = load i64, ptr %127, align 8 %129 = icmp ne i64 %123, %128 br i1 %129, label %130, label %145 130: ; preds = %118 %131 = load i32, ptr %12, align 4 %132 = load i32, ptr %12, align 4 %133 = mul nsw i32 %132, 4 %134 = load ptr, ptr %11, align 8 %135 = load i32, ptr %12, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds i64, ptr %134, i64 %136 %138 = load i64, ptr %137, align 8 %139 = load ptr, ptr %8, align 8 %140 = load i32, ptr %12, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds i64, ptr %139, i64 %141 %143 = load i64, ptr %142, align 8 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %131, i32 noundef %133, i64 noundef %138, i64 noundef %143) br label %145 145: ; preds = %130, %118 br label %146 146: ; preds = %145 %147 = load i32, ptr %12, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %12, align 4 %149 = load i32, ptr %12, align 4 %150 = sext i32 %149 to i64 %151 = icmp ult i64 %150, 4096 br i1 %151, label %118, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %146 br label %152 152: ; preds = %._crit_edge, %110 %153 = load ptr, ptr %11, align 8 %154 = call i32 @free(ptr noundef %153) br label %155 155: ; preds = %152, %99 br label %156 156: ; preds = %155, %92 %157 = load ptr, ptr %13, align 8 %158 = call i32 @fclose(ptr noundef %157) %159 = load ptr, ptr %7, align 8 %160 = call i32 @munmap(ptr noundef %159, i64 noundef 16384) br label %161 161: ; preds = %156, %108, %78, %65, %53, %16 %162 = load i32, ptr %3, align 4 ret i32 %162 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare ptr @mmap(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) #1 declare i32 @fread(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @munmap(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpt3iq9p5q.c' source_filename = "/tmp/tmpt3iq9p5q.c" target datalayout = "e-m:e-p270: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/tmpt3iq9p5q.c" target datalayout = "e-m:e-p270: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_75a8ert.c' source_filename = "/tmp/tmp_75a8ert.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"\0AEnter no of names\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"\0AEnter %d names\0A\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"\0AThe names in sorted form \0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c"\0AEnter the name you want to search\0A\00", align 1 @.str.7 = private unnamed_addr constant [35 x i8] c"\0AKey name %s found at position %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [24 x i8] c"\0AKey element not found\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x [30 x i8]], align 16 %3 = alloca [30 x i8], align 16 %4 = alloca [30 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %15 = call i32 (...) @getchar() %16 = load i32, ptr %5, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16) store i32 0, ptr %6, align 4 br label %18 18: ; preds = %28, %0 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %31 22: ; preds = %18 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [20 x [30 x i8]], ptr %2, i64 0, i64 %24 %26 = getelementptr inbounds [30 x i8], ptr %25, i64 0, i64 0 %27 = call i32 @gets(ptr noundef %26) br label %28 28: ; preds = %22 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 br label %18, !llvm.loop !6 31: ; preds = %18 store i32 0, ptr %6, align 4 br label %32 32: ; preds = %81, %31 %33 = load i32, ptr %6, align 4 %34 = load i32, ptr %5, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %84 36: ; preds = %32 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %7, align 4 br label %39 39: ; preds = %77, %36 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %43, label %80 43: ; preds = %39 %44 = load i32, ptr %6, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [20 x [30 x i8]], ptr %2, i64 0, i64 %45 %47 = getelementptr inbounds [30 x i8], ptr %46, i64 0, i64 0 %48 = load i32, ptr %7, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [20 x [30 x i8]], ptr %2, i64 0, i64 %49 %51 = getelementptr inbounds [30 x i8], ptr %50, i64 0, i64 0 %52 = call i64 @strcmp(ptr noundef %47, ptr noundef %51) %53 = icmp sgt i64 %52, 0 br i1 %53, label %54, label %76 54: ; preds = %43 %55 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %56 = load i32, ptr %6, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [20 x [30 x i8]], ptr %2, i64 0, i64 %57 %59 = getelementptr inbounds [30 x i8], ptr %58, i64 0, i64 0 %60 = call i32 @strcpy(ptr noundef %55, ptr noundef %59) %61 = load i32, ptr %6, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [20 x [30 x i8]], ptr %2, i64 0, i64 %62 %64 = getelementptr inbounds [30 x i8], ptr %63, i64 0, i64 0 %65 = load i32, ptr %7, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [20 x [30 x i8]], ptr %2, i64 0, i64 %66 %68 = getelementptr inbounds [30 x i8], ptr %67, i64 0, i64 0 %69 = call i32 @strcpy(ptr noundef %64, ptr noundef %68) %70 = load i32, ptr %7, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [20 x [30 x i8]], ptr %2, i64 0, i64 %71 %73 = getelementptr inbounds [30 x i8], ptr %72, i64 0, i64 0 %74 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %75 = call i32 @strcpy(ptr noundef %73, ptr noundef %74) br label %76 76: ; preds = %54, %43 br label %77 77: ; preds = %76 %78 = load i32, ptr %7, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %7, align 4 br label %39, !llvm.loop !8 80: ; preds = %39 br label %81 81: ; preds = %80 %82 = load i32, ptr %6, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %6, align 4 br label %32, !llvm.loop !9 84: ; preds = %32 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %6, align 4 br label %86 86: ; preds = %96, %84 %87 = load i32, ptr %6, align 4 %88 = load i32, ptr %5, align 4 %89 = icmp slt i32 %87, %88 br i1 %89, label %90, label %99 90: ; preds = %86 %91 = load i32, ptr %6, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [20 x [30 x i8]], ptr %2, i64 0, i64 %92 %94 = getelementptr inbounds [30 x i8], ptr %93, i64 0, i64 0 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %94) br label %96 96: ; preds = %90 %97 = load i32, ptr %6, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %6, align 4 br label %86, !llvm.loop !10 99: ; preds = %86 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %102 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0 %103 = call i32 @gets(ptr noundef %102) store i32 0, ptr %12, align 4 store i32 0, ptr %9, align 4 %104 = load i32, ptr %5, align 4 %105 = sub nsw i32 %104, 1 store i32 %105, ptr %10, align 4 br label %106 106: ; preds = %139, %99 %107 = load i32, ptr %9, align 4 %108 = load i32, ptr %10, align 4 %109 = icmp sle i32 %107, %108 br i1 %109, label %110, label %140 110: ; preds = %106 %111 = load i32, ptr %9, align 4 %112 = load i32, ptr %10, align 4 %113 = add nsw i32 %111, %112 %114 = sdiv i32 %113, 2 store i32 %114, ptr %11, align 4 %115 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0 %116 = load i32, ptr %11, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [20 x [30 x i8]], ptr %2, i64 0, i64 %117 %119 = getelementptr inbounds [30 x i8], ptr %118, i64 0, i64 0 %120 = call i64 @strcmp(ptr noundef %115, ptr noundef %119) %121 = icmp eq i64 %120, 0 br i1 %121, label %122, label %124 122: ; preds = %110 %123 = load i32, ptr %11, align 4 store i32 %123, ptr %8, align 4 store i32 1, ptr %12, align 4 br label %140 124: ; preds = %110 %125 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0 %126 = load i32, ptr %11, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds [20 x [30 x i8]], ptr %2, i64 0, i64 %127 %129 = getelementptr inbounds [30 x i8], ptr %128, i64 0, i64 0 %130 = call i64 @strcmp(ptr noundef %125, ptr noundef %129) %131 = icmp slt i64 %130, 0 br i1 %131, label %132, label %135 132: ; preds = %124 %133 = load i32, ptr %11, align 4 %134 = sub nsw i32 %133, 1 store i32 %134, ptr %10, align 4 br label %138 135: ; preds = %124 %136 = load i32, ptr %11, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %9, align 4 br label %138 138: ; preds = %135, %132 br label %139 139: ; preds = %138 br label %106, !llvm.loop !11 140: ; preds = %122, %106 %141 = load i32, ptr %12, align 4 %142 = icmp ne i32 %141, 0 br i1 %142, label %143, label %148 143: ; preds = %140 %144 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0 %145 = load i32, ptr %8, align 4 %146 = add nsw i32 %145, 1 %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %144, i32 noundef %146) br label %150 148: ; preds = %140 %149 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %150 150: ; preds = %148, %143 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @getchar(...) #1 declare i32 @gets(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmp_75a8ert.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"\0AEnter no of names\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"\0AEnter %d names\0A\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"\0AThe names in sorted form \0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c"\0AEnter the name you want to search\0A\00", align 1 @.str.7 = private unnamed_addr constant [35 x i8] c"\0AKey name %s found at position %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [24 x i8] c"\0AKey element not found\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x [30 x i8]], align 16 %3 = alloca [30 x i8], align 16 %4 = alloca [30 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %15 = call i32 (...) @getchar() %16 = load i32, ptr %5, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16) store i32 0, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %33 .lr.ph: ; preds = %0 br label %21 21: ; preds = %.lr.ph, %27 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [20 x [30 x i8]], ptr %2, i64 0, i64 %23 %25 = getelementptr inbounds [30 x i8], ptr %24, i64 0, i64 0 %26 = call i32 @gets(ptr noundef %25) br label %27 27: ; preds = %21 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %5, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %0 store i32 0, ptr %6, align 4 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %5, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %.lr.ph5, label %90 .lr.ph5: ; preds = %33 br label %37 37: ; preds = %.lr.ph5, %84 %38 = load i32, ptr %6, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %.lr.ph2, label %83 .lr.ph2: ; preds = %37 br label %43 43: ; preds = %.lr.ph2, %77 %44 = load i32, ptr %6, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [20 x [30 x i8]], ptr %2, i64 0, i64 %45 %47 = getelementptr inbounds [30 x i8], ptr %46, i64 0, i64 0 %48 = load i32, ptr %7, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [20 x [30 x i8]], ptr %2, i64 0, i64 %49 %51 = getelementptr inbounds [30 x i8], ptr %50, i64 0, i64 0 %52 = call i64 @strcmp(ptr noundef %47, ptr noundef %51) %53 = icmp sgt i64 %52, 0 br i1 %53, label %54, label %76 54: ; preds = %43 %55 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %56 = load i32, ptr %6, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [20 x [30 x i8]], ptr %2, i64 0, i64 %57 %59 = getelementptr inbounds [30 x i8], ptr %58, i64 0, i64 0 %60 = call i32 @strcpy(ptr noundef %55, ptr noundef %59) %61 = load i32, ptr %6, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [20 x [30 x i8]], ptr %2, i64 0, i64 %62 %64 = getelementptr inbounds [30 x i8], ptr %63, i64 0, i64 0 %65 = load i32, ptr %7, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [20 x [30 x i8]], ptr %2, i64 0, i64 %66 %68 = getelementptr inbounds [30 x i8], ptr %67, i64 0, i64 0 %69 = call i32 @strcpy(ptr noundef %64, ptr noundef %68) %70 = load i32, ptr %7, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [20 x [30 x i8]], ptr %2, i64 0, i64 %71 %73 = getelementptr inbounds [30 x i8], ptr %72, i64 0, i64 0 %74 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %75 = call i32 @strcpy(ptr noundef %73, ptr noundef %74) br label %76 76: ; preds = %54, %43 br label %77 77: ; preds = %76 %78 = load i32, ptr %7, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %7, align 4 %80 = load i32, ptr %7, align 4 %81 = load i32, ptr %5, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %43, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %77 br label %83 83: ; preds = %._crit_edge3, %37 br label %84 84: ; preds = %83 %85 = load i32, ptr %6, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %6, align 4 %87 = load i32, ptr %6, align 4 %88 = load i32, ptr %5, align 4 %89 = icmp slt i32 %87, %88 br i1 %89, label %37, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %84 br label %90 90: ; preds = %._crit_edge6, %33 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %6, align 4 %92 = load i32, ptr %6, align 4 %93 = load i32, ptr %5, align 4 %94 = icmp slt i32 %92, %93 br i1 %94, label %.lr.ph8, label %107 .lr.ph8: ; preds = %90 br label %95 95: ; preds = %.lr.ph8, %101 %96 = load i32, ptr %6, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [20 x [30 x i8]], ptr %2, i64 0, i64 %97 %99 = getelementptr inbounds [30 x i8], ptr %98, i64 0, i64 0 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %99) br label %101 101: ; preds = %95 %102 = load i32, ptr %6, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %6, align 4 %104 = load i32, ptr %6, align 4 %105 = load i32, ptr %5, align 4 %106 = icmp slt i32 %104, %105 br i1 %106, label %95, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %101 br label %107 107: ; preds = %._crit_edge9, %90 %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %110 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0 %111 = call i32 @gets(ptr noundef %110) store i32 0, ptr %12, align 4 store i32 0, ptr %9, align 4 %112 = load i32, ptr %5, align 4 %113 = sub nsw i32 %112, 1 store i32 %113, ptr %10, align 4 %114 = load i32, ptr %9, align 4 %115 = load i32, ptr %10, align 4 %116 = icmp sle i32 %114, %115 br i1 %116, label %.lr.ph11, label %.loopexit .lr.ph11: ; preds = %107 br label %117 117: ; preds = %.lr.ph11, %146 %118 = load i32, ptr %9, align 4 %119 = load i32, ptr %10, align 4 %120 = add nsw i32 %118, %119 %121 = sdiv i32 %120, 2 store i32 %121, ptr %11, align 4 %122 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0 %123 = load i32, ptr %11, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds [20 x [30 x i8]], ptr %2, i64 0, i64 %124 %126 = getelementptr inbounds [30 x i8], ptr %125, i64 0, i64 0 %127 = call i64 @strcmp(ptr noundef %122, ptr noundef %126) %128 = icmp eq i64 %127, 0 br i1 %128, label %129, label %131 129: ; preds = %117 %130 = load i32, ptr %11, align 4 store i32 %130, ptr %8, align 4 store i32 1, ptr %12, align 4 br label %150 131: ; preds = %117 %132 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0 %133 = load i32, ptr %11, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [20 x [30 x i8]], ptr %2, i64 0, i64 %134 %136 = getelementptr inbounds [30 x i8], ptr %135, i64 0, i64 0 %137 = call i64 @strcmp(ptr noundef %132, ptr noundef %136) %138 = icmp slt i64 %137, 0 br i1 %138, label %139, label %142 139: ; preds = %131 %140 = load i32, ptr %11, align 4 %141 = sub nsw i32 %140, 1 store i32 %141, ptr %10, align 4 br label %145 142: ; preds = %131 %143 = load i32, ptr %11, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %9, align 4 br label %145 145: ; preds = %142, %139 br label %146 146: ; preds = %145 %147 = load i32, ptr %9, align 4 %148 = load i32, ptr %10, align 4 %149 = icmp sle i32 %147, %148 br i1 %149, label %117, label %..loopexit_crit_edge, !llvm.loop !11 ..loopexit_crit_edge: ; preds = %146 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %107 br label %150 150: ; preds = %.loopexit, %129 %151 = load i32, ptr %12, align 4 %152 = icmp ne i32 %151, 0 br i1 %152, label %153, label %158 153: ; preds = %150 %154 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0 %155 = load i32, ptr %8, align 4 %156 = add nsw i32 %155, 1 %157 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %154, i32 noundef %156) br label %160 158: ; preds = %150 %159 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %160 160: ; preds = %158, %153 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @getchar(...) #1 declare i32 @gets(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmpq_japg_q.c' source_filename = "/tmp/tmpq_japg_q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fill_volume(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 float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 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 store i32 0, ptr %6, align 4 store float 0.000000e+00, ptr %7, align 4 store float 0.000000e+00, ptr %8, align 4 store float 0.000000e+00, ptr %9, align 4 store i32 0, ptr %3, align 4 br label %10 10: ; preds = %88, %1 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %11, 25 br i1 %12, label %13, label %91 13: ; preds = %10 store i32 0, ptr %4, align 4 br label %14 14: ; preds = %84, %13 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 288 br i1 %16, label %17, label %87 17: ; preds = %14 %18 = load i32, ptr %3, align 4 %19 = sdiv i32 %18, 5 %20 = sitofp i32 %19 to double %21 = fmul double 5.000000e-02, %20 %22 = fmul double %21, 2.880000e+02 %23 = fptrunc double %22 to float store float %23, ptr %7, align 4 %24 = load float, ptr %7, align 4 %25 = fpext float %24 to double %26 = fadd double 2.880000e+01, %25 %27 = fptrunc double %26 to float store float %27, ptr %8, align 4 %28 = load float, ptr %7, align 4 %29 = fpext float %28 to double %30 = fadd double 3.744000e+01, %29 %31 = fptrunc double %30 to float store float %31, ptr %9, align 4 store i32 0, ptr %5, align 4 br label %32 32: ; preds = %80, %17 %33 = load i32, ptr %5, align 4 %34 = icmp slt i32 %33, 352 br i1 %34, label %35, label %83 35: ; preds = %32 %36 = load i32, ptr %3, align 4 %37 = mul nsw i32 %36, 352 %38 = mul nsw i32 %37, 288 %39 = load i32, ptr %4, align 4 %40 = mul nsw i32 %39, 352 %41 = add nsw i32 %38, %40 %42 = load i32, ptr %5, align 4 %43 = add nsw i32 %41, %42 store i32 %43, ptr %6, align 4 %44 = load i32, ptr %5, align 4 %45 = load i32, ptr %4, align 4 %46 = add nsw i32 %44, %45 %47 = load i32, ptr %3, align 4 %48 = mul nsw i32 %47, 3 %49 = add nsw i32 %46, %48 %50 = trunc i32 %49 to i8 %51 = load ptr, ptr %2, align 8 %52 = load i32, ptr %6, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 store i8 %50, ptr %54, align 1 %55 = load i32, ptr %4, align 4 %56 = sitofp i32 %55 to float %57 = load float, ptr %8, align 4 %58 = fcmp ogt float %56, %57 br i1 %58, label %59, label %79 59: ; preds = %35 %60 = load i32, ptr %4, align 4 %61 = sitofp i32 %60 to float %62 = load float, ptr %9, align 4 %63 = fcmp olt float %61, %62 br i1 %63, label %64, label %79 64: ; preds = %59 %65 = load i32, ptr %5, align 4 %66 = srem i32 %65, 4 %67 = icmp slt i32 %66, 2 br i1 %67, label %68, label %79 68: ; preds = %64 %69 = load i32, ptr %5, align 4 %70 = load i32, ptr %6, align 4 %71 = add nsw i32 %70, 1 %72 = mul nsw i32 5, %71 %73 = icmp sle i32 %69, %72 br i1 %73, label %74, label %79 74: ; preds = %68 %75 = load ptr, ptr %2, align 8 %76 = load i32, ptr %6, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 store i8 16, ptr %78, align 1 br label %79 79: ; preds = %74, %68, %64, %59, %35 br label %80 80: ; preds = %79 %81 = load i32, ptr %5, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %5, align 4 br label %32, !llvm.loop !6 83: ; preds = %32 store i32 0, ptr %5, align 4 br label %84 84: ; preds = %83 %85 = load i32, ptr %4, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %4, align 4 br label %14, !llvm.loop !8 87: ; preds = %14 store i32 0, ptr %4, align 4 br label %88 88: ; preds = %87 %89 = load i32, ptr %3, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %3, align 4 br label %10, !llvm.loop !9 91: ; preds = %10 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq_japg_q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fill_volume(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 float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 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 store i32 0, ptr %6, align 4 store float 0.000000e+00, ptr %7, align 4 store float 0.000000e+00, ptr %8, align 4 store float 0.000000e+00, ptr %9, align 4 store i32 0, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 25 br i1 %11, label %.lr.ph5, label %94 .lr.ph5: ; preds = %1 br label %12 12: ; preds = %.lr.ph5, %89 store i32 0, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 288 br i1 %14, label %.lr.ph2, label %88 .lr.ph2: ; preds = %12 br label %15 15: ; preds = %.lr.ph2, %83 %16 = load i32, ptr %3, align 4 %17 = sdiv i32 %16, 5 %18 = sitofp i32 %17 to double %19 = fmul double 5.000000e-02, %18 %20 = fmul double %19, 2.880000e+02 %21 = fptrunc double %20 to float store float %21, ptr %7, align 4 %22 = load float, ptr %7, align 4 %23 = fpext float %22 to double %24 = fadd double 2.880000e+01, %23 %25 = fptrunc double %24 to float store float %25, ptr %8, align 4 %26 = load float, ptr %7, align 4 %27 = fpext float %26 to double %28 = fadd double 3.744000e+01, %27 %29 = fptrunc double %28 to float store float %29, ptr %9, align 4 store i32 0, ptr %5, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp slt i32 %30, 352 br i1 %31, label %.lr.ph, label %82 .lr.ph: ; preds = %15 br label %32 32: ; preds = %.lr.ph, %77 %33 = load i32, ptr %3, align 4 %34 = mul nsw i32 %33, 352 %35 = mul nsw i32 %34, 288 %36 = load i32, ptr %4, align 4 %37 = mul nsw i32 %36, 352 %38 = add nsw i32 %35, %37 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %38, %39 store i32 %40, ptr %6, align 4 %41 = load i32, ptr %5, align 4 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %41, %42 %44 = load i32, ptr %3, align 4 %45 = mul nsw i32 %44, 3 %46 = add nsw i32 %43, %45 %47 = trunc i32 %46 to i8 %48 = load ptr, ptr %2, align 8 %49 = load i32, ptr %6, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 store i8 %47, ptr %51, align 1 %52 = load i32, ptr %4, align 4 %53 = sitofp i32 %52 to float %54 = load float, ptr %8, align 4 %55 = fcmp ogt float %53, %54 br i1 %55, label %56, label %76 56: ; preds = %32 %57 = load i32, ptr %4, align 4 %58 = sitofp i32 %57 to float %59 = load float, ptr %9, align 4 %60 = fcmp olt float %58, %59 br i1 %60, label %61, label %76 61: ; preds = %56 %62 = load i32, ptr %5, align 4 %63 = srem i32 %62, 4 %64 = icmp slt i32 %63, 2 br i1 %64, label %65, label %76 65: ; preds = %61 %66 = load i32, ptr %5, align 4 %67 = load i32, ptr %6, align 4 %68 = add nsw i32 %67, 1 %69 = mul nsw i32 5, %68 %70 = icmp sle i32 %66, %69 br i1 %70, label %71, label %76 71: ; preds = %65 %72 = load ptr, ptr %2, align 8 %73 = load i32, ptr %6, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 store i8 16, ptr %75, align 1 br label %76 76: ; preds = %71, %65, %61, %56, %32 br label %77 77: ; preds = %76 %78 = load i32, ptr %5, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %5, align 4 %80 = load i32, ptr %5, align 4 %81 = icmp slt i32 %80, 352 br i1 %81, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %77 br label %82 82: ; preds = %._crit_edge, %15 store i32 0, ptr %5, align 4 br label %83 83: ; preds = %82 %84 = load i32, ptr %4, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %4, align 4 %86 = load i32, ptr %4, align 4 %87 = icmp slt i32 %86, 288 br i1 %87, label %15, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %83 br label %88 88: ; preds = %._crit_edge3, %12 store i32 0, ptr %4, align 4 br label %89 89: ; preds = %88 %90 = load i32, ptr %3, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %3, align 4 %92 = load i32, ptr %3, align 4 %93 = icmp slt i32 %92, 25 br i1 %93, label %12, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %89 br label %94 94: ; preds = %._crit_edge6, %1 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpm4ewndzj.c' source_filename = "/tmp/tmpm4ewndzj.c" target datalayout = "e-m:e-p270: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/tmpm4ewndzj.c" target datalayout = "e-m:e-p270: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/tmpgwo3jv8x.c' source_filename = "/tmp/tmpgwo3jv8x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [256 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 1 %10 = load ptr, ptr %9, align 8 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str) store ptr %11, ptr %6, align 8 %12 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %13 = load ptr, ptr %6, align 8 %14 = call i32 @fgets(ptr noundef %12, i32 noundef 2014, ptr noundef %13) %15 = load ptr, ptr %6, align 8 %16 = call i32 @fclose(ptr noundef %15) %17 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %18 = call i32 @printf(ptr noundef @.str.1, ptr noundef %17) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgwo3jv8x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [256 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 1 %10 = load ptr, ptr %9, align 8 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str) store ptr %11, ptr %6, align 8 %12 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %13 = load ptr, ptr %6, align 8 %14 = call i32 @fgets(ptr noundef %12, i32 noundef 2014, ptr noundef %13) %15 = load ptr, ptr %6, align 8 %16 = call i32 @fclose(ptr noundef %15) %17 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %18 = call i32 @printf(ptr noundef @.str.1, ptr noundef %17) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpawzvt_ta.c' source_filename = "/tmp/tmpawzvt_ta.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_scan_atx_header_start.yybm = internal constant <{ [33 x i8], [223 x i8] }> <{ [33 x i8] c"\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\80", [223 x i8] zeroinitializer }>, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_scan_atx_header_start(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %3, align 8 %9 = load i8, ptr %8, align 1 store i8 %9, ptr %6, align 1 %10 = load i8, ptr %6, align 1 %11 = zext i8 %10 to i32 %12 = icmp eq i32 %11, 10 br i1 %12, label %13, label %14 13: ; preds = %1 br label %20 14: ; preds = %1 %15 = load i8, ptr %6, align 1 %16 = zext i8 %15 to i32 %17 = icmp eq i32 %16, 35 br i1 %17, label %18, label %19 18: ; preds = %14 br label %21 19: ; preds = %14 br label %46 20: ; preds = %101, %46, %45, %13 store i32 0, ptr %2, align 4 br label %195 21: ; preds = %18 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %3, align 8 store ptr %23, ptr %4, align 8 %24 = load i8, ptr %23, align 1 store i8 %24, ptr %6, align 1 %25 = load i8, ptr %6, align 1 %26 = zext i8 %25 to i32 %27 = add nsw i32 0, %26 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [256 x i8], ptr @_scan_atx_header_start.yybm, i64 0, i64 %28 %30 = load i8, ptr %29, align 1 %31 = zext i8 %30 to i32 %32 = and i32 %31, 128 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %21 br label %60 35: ; preds = %21 %36 = load i8, ptr %6, align 1 %37 = zext i8 %36 to i32 %38 = icmp eq i32 %37, 10 br i1 %38, label %39, label %40 39: ; preds = %35 br label %50 40: ; preds = %35 %41 = load i8, ptr %6, align 1 %42 = zext i8 %41 to i32 %43 = icmp eq i32 %42, 35 br i1 %43, label %44, label %45 44: ; preds = %40 br label %76 45: ; preds = %40 br label %20 46: ; preds = %19 %47 = load ptr, ptr %3, align 8 %48 = getelementptr inbounds i8, ptr %47, i32 1 store ptr %48, ptr %3, align 8 %49 = load i8, ptr %48, align 1 store i8 %49, ptr %6, align 1 br label %20 50: ; preds = %193, %169, %145, %121, %94, %39 %51 = load ptr, ptr %3, align 8 %52 = getelementptr inbounds i8, ptr %51, i32 1 store ptr %52, ptr %3, align 8 br label %53 53: ; preds = %75, %50 %54 = load ptr, ptr %3, align 8 %55 = load ptr, ptr %5, align 8 %56 = ptrtoint ptr %54 to i64 %57 = ptrtoint ptr %55 to i64 %58 = sub i64 %56, %57 %59 = trunc i64 %58 to i32 store i32 %59, ptr %2, align 4 br label %195 60: ; preds = %188, %164, %140, %116, %89, %74, %34 %61 = load ptr, ptr %3, align 8 %62 = getelementptr inbounds i8, ptr %61, i32 1 store ptr %62, ptr %3, align 8 %63 = load ptr, ptr %3, align 8 %64 = load i8, ptr %63, align 1 store i8 %64, ptr %6, align 1 %65 = load i8, ptr %6, align 1 %66 = zext i8 %65 to i32 %67 = add nsw i32 0, %66 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [256 x i8], ptr @_scan_atx_header_start.yybm, i64 0, i64 %68 %70 = load i8, ptr %69, align 1 %71 = zext i8 %70 to i32 %72 = and i32 %71, 128 %73 = icmp ne i32 %72, 0 br i1 %73, label %74, label %75 74: ; preds = %60 br label %60 75: ; preds = %60 br label %53 76: ; preds = %44 %77 = load ptr, ptr %3, align 8 %78 = getelementptr inbounds i8, ptr %77, i32 1 store ptr %78, ptr %3, align 8 %79 = load i8, ptr %78, align 1 store i8 %79, ptr %6, align 1 %80 = load i8, ptr %6, align 1 %81 = zext i8 %80 to i32 %82 = add nsw i32 0, %81 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [256 x i8], ptr @_scan_atx_header_start.yybm, i64 0, i64 %83 %85 = load i8, ptr %84, align 1 %86 = zext i8 %85 to i32 %87 = and i32 %86, 128 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %90 89: ; preds = %76 br label %60 90: ; preds = %76 %91 = load i8, ptr %6, align 1 %92 = zext i8 %91 to i32 %93 = icmp eq i32 %92, 10 br i1 %93, label %94, label %95 94: ; preds = %90 br label %50 95: ; preds = %90 %96 = load i8, ptr %6, align 1 %97 = zext i8 %96 to i32 %98 = icmp eq i32 %97, 35 br i1 %98, label %99, label %100 99: ; preds = %95 br label %103 100: ; preds = %95 br label %101 101: ; preds = %194, %174, %150, %126, %100 %102 = load ptr, ptr %4, align 8 store ptr %102, ptr %3, align 8 br label %20 103: ; preds = %99 %104 = load ptr, ptr %3, align 8 %105 = getelementptr inbounds i8, ptr %104, i32 1 store ptr %105, ptr %3, align 8 %106 = load i8, ptr %105, align 1 store i8 %106, ptr %6, align 1 %107 = load i8, ptr %6, align 1 %108 = zext i8 %107 to i32 %109 = add nsw i32 0, %108 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds [256 x i8], ptr @_scan_atx_header_start.yybm, i64 0, i64 %110 %112 = load i8, ptr %111, align 1 %113 = zext i8 %112 to i32 %114 = and i32 %113, 128 %115 = icmp ne i32 %114, 0 br i1 %115, label %116, label %117 116: ; preds = %103 br label %60 117: ; preds = %103 %118 = load i8, ptr %6, align 1 %119 = zext i8 %118 to i32 %120 = icmp eq i32 %119, 10 br i1 %120, label %121, label %122 121: ; preds = %117 br label %50 122: ; preds = %117 %123 = load i8, ptr %6, align 1 %124 = zext i8 %123 to i32 %125 = icmp ne i32 %124, 35 br i1 %125, label %126, label %127 126: ; preds = %122 br label %101 127: ; preds = %122 %128 = load ptr, ptr %3, align 8 %129 = getelementptr inbounds i8, ptr %128, i32 1 store ptr %129, ptr %3, align 8 %130 = load i8, ptr %129, align 1 store i8 %130, ptr %6, align 1 %131 = load i8, ptr %6, align 1 %132 = zext i8 %131 to i32 %133 = add nsw i32 0, %132 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [256 x i8], ptr @_scan_atx_header_start.yybm, i64 0, i64 %134 %136 = load i8, ptr %135, align 1 %137 = zext i8 %136 to i32 %138 = and i32 %137, 128 %139 = icmp ne i32 %138, 0 br i1 %139, label %140, label %141 140: ; preds = %127 br label %60 141: ; preds = %127 %142 = load i8, ptr %6, align 1 %143 = zext i8 %142 to i32 %144 = icmp eq i32 %143, 10 br i1 %144, label %145, label %146 145: ; preds = %141 br label %50 146: ; preds = %141 %147 = load i8, ptr %6, align 1 %148 = zext i8 %147 to i32 %149 = icmp ne i32 %148, 35 br i1 %149, label %150, label %151 150: ; preds = %146 br label %101 151: ; preds = %146 %152 = load ptr, ptr %3, align 8 %153 = getelementptr inbounds i8, ptr %152, i32 1 store ptr %153, ptr %3, align 8 %154 = load i8, ptr %153, align 1 store i8 %154, ptr %6, align 1 %155 = load i8, ptr %6, align 1 %156 = zext i8 %155 to i32 %157 = add nsw i32 0, %156 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds [256 x i8], ptr @_scan_atx_header_start.yybm, i64 0, i64 %158 %160 = load i8, ptr %159, align 1 %161 = zext i8 %160 to i32 %162 = and i32 %161, 128 %163 = icmp ne i32 %162, 0 br i1 %163, label %164, label %165 164: ; preds = %151 br label %60 165: ; preds = %151 %166 = load i8, ptr %6, align 1 %167 = zext i8 %166 to i32 %168 = icmp eq i32 %167, 10 br i1 %168, label %169, label %170 169: ; preds = %165 br label %50 170: ; preds = %165 %171 = load i8, ptr %6, align 1 %172 = zext i8 %171 to i32 %173 = icmp ne i32 %172, 35 br i1 %173, label %174, label %175 174: ; preds = %170 br label %101 175: ; preds = %170 %176 = load ptr, ptr %3, align 8 %177 = getelementptr inbounds i8, ptr %176, i32 1 store ptr %177, ptr %3, align 8 %178 = load ptr, ptr %3, align 8 %179 = load i8, ptr %178, align 1 store i8 %179, ptr %6, align 1 %180 = zext i8 %179 to i32 %181 = add nsw i32 0, %180 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds [256 x i8], ptr @_scan_atx_header_start.yybm, i64 0, i64 %182 %184 = load i8, ptr %183, align 1 %185 = zext i8 %184 to i32 %186 = and i32 %185, 128 %187 = icmp ne i32 %186, 0 br i1 %187, label %188, label %189 188: ; preds = %175 br label %60 189: ; preds = %175 %190 = load i8, ptr %6, align 1 %191 = zext i8 %190 to i32 %192 = icmp eq i32 %191, 10 br i1 %192, label %193, label %194 193: ; preds = %189 br label %50 194: ; preds = %189 br label %101 195: ; preds = %53, %20 %196 = load i32, ptr %2, align 4 ret i32 %196 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpawzvt_ta.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_scan_atx_header_start.yybm = internal constant <{ [33 x i8], [223 x i8] }> <{ [33 x i8] c"\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\80", [223 x i8] zeroinitializer }>, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_scan_atx_header_start(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %3, align 8 %9 = load i8, ptr %8, align 1 store i8 %9, ptr %6, align 1 %10 = load i8, ptr %6, align 1 %11 = zext i8 %10 to i32 %12 = icmp eq i32 %11, 10 br i1 %12, label %13, label %14 13: ; preds = %1 br label %20 14: ; preds = %1 %15 = load i8, ptr %6, align 1 %16 = zext i8 %15 to i32 %17 = icmp eq i32 %16, 35 br i1 %17, label %18, label %19 18: ; preds = %14 br label %21 19: ; preds = %14 br label %46 20: ; preds = %100, %46, %45, %13 store i32 0, ptr %2, align 4 br label %194 21: ; preds = %18 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %3, align 8 store ptr %23, ptr %4, align 8 %24 = load i8, ptr %23, align 1 store i8 %24, ptr %6, align 1 %25 = load i8, ptr %6, align 1 %26 = zext i8 %25 to i32 %27 = add nsw i32 0, %26 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [256 x i8], ptr @_scan_atx_header_start.yybm, i64 0, i64 %28 %30 = load i8, ptr %29, align 1 %31 = zext i8 %30 to i32 %32 = and i32 %31, 128 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %21 br label %.preheader 35: ; preds = %21 %36 = load i8, ptr %6, align 1 %37 = zext i8 %36 to i32 %38 = icmp eq i32 %37, 10 br i1 %38, label %39, label %40 39: ; preds = %35 br label %50 40: ; preds = %35 %41 = load i8, ptr %6, align 1 %42 = zext i8 %41 to i32 %43 = icmp eq i32 %42, 35 br i1 %43, label %44, label %45 44: ; preds = %40 br label %75 45: ; preds = %40 br label %20 46: ; preds = %19 %47 = load ptr, ptr %3, align 8 %48 = getelementptr inbounds i8, ptr %47, i32 1 store ptr %48, ptr %3, align 8 %49 = load i8, ptr %48, align 1 store i8 %49, ptr %6, align 1 br label %20 50: ; preds = %192, %168, %144, %120, %93, %39 %51 = load ptr, ptr %3, align 8 %52 = getelementptr inbounds i8, ptr %51, i32 1 store ptr %52, ptr %3, align 8 br label %53 53: ; preds = %74, %50 %54 = load ptr, ptr %3, align 8 %55 = load ptr, ptr %5, align 8 %56 = ptrtoint ptr %54 to i64 %57 = ptrtoint ptr %55 to i64 %58 = sub i64 %56, %57 %59 = trunc i64 %58 to i32 store i32 %59, ptr %2, align 4 br label %194 60: ; preds = %60, %.preheader %61 = load ptr, ptr %3, align 8 %62 = getelementptr inbounds i8, ptr %61, i32 1 store ptr %62, ptr %3, align 8 %63 = load ptr, ptr %3, align 8 %64 = load i8, ptr %63, align 1 store i8 %64, ptr %6, align 1 %65 = load i8, ptr %6, align 1 %66 = zext i8 %65 to i32 %67 = add nsw i32 0, %66 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [256 x i8], ptr @_scan_atx_header_start.yybm, i64 0, i64 %68 %70 = load i8, ptr %69, align 1 %71 = zext i8 %70 to i32 %72 = and i32 %71, 128 %73 = icmp ne i32 %72, 0 br i1 %73, label %60, label %74 74: ; preds = %60 br label %53 75: ; preds = %44 %76 = load ptr, ptr %3, align 8 %77 = getelementptr inbounds i8, ptr %76, i32 1 store ptr %77, ptr %3, align 8 %78 = load i8, ptr %77, align 1 store i8 %78, ptr %6, align 1 %79 = load i8, ptr %6, align 1 %80 = zext i8 %79 to i32 %81 = add nsw i32 0, %80 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [256 x i8], ptr @_scan_atx_header_start.yybm, i64 0, i64 %82 %84 = load i8, ptr %83, align 1 %85 = zext i8 %84 to i32 %86 = and i32 %85, 128 %87 = icmp ne i32 %86, 0 br i1 %87, label %88, label %89 88: ; preds = %75 br label %.preheader 89: ; preds = %75 %90 = load i8, ptr %6, align 1 %91 = zext i8 %90 to i32 %92 = icmp eq i32 %91, 10 br i1 %92, label %93, label %94 93: ; preds = %89 br label %50 94: ; preds = %89 %95 = load i8, ptr %6, align 1 %96 = zext i8 %95 to i32 %97 = icmp eq i32 %96, 35 br i1 %97, label %98, label %99 98: ; preds = %94 br label %102 99: ; preds = %94 br label %100 100: ; preds = %193, %173, %149, %125, %99 %101 = load ptr, ptr %4, align 8 store ptr %101, ptr %3, align 8 br label %20 102: ; preds = %98 %103 = load ptr, ptr %3, align 8 %104 = getelementptr inbounds i8, ptr %103, i32 1 store ptr %104, ptr %3, align 8 %105 = load i8, ptr %104, align 1 store i8 %105, ptr %6, align 1 %106 = load i8, ptr %6, align 1 %107 = zext i8 %106 to i32 %108 = add nsw i32 0, %107 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [256 x i8], ptr @_scan_atx_header_start.yybm, i64 0, i64 %109 %111 = load i8, ptr %110, align 1 %112 = zext i8 %111 to i32 %113 = and i32 %112, 128 %114 = icmp ne i32 %113, 0 br i1 %114, label %115, label %116 115: ; preds = %102 br label %.preheader 116: ; preds = %102 %117 = load i8, ptr %6, align 1 %118 = zext i8 %117 to i32 %119 = icmp eq i32 %118, 10 br i1 %119, label %120, label %121 120: ; preds = %116 br label %50 121: ; preds = %116 %122 = load i8, ptr %6, align 1 %123 = zext i8 %122 to i32 %124 = icmp ne i32 %123, 35 br i1 %124, label %125, label %126 125: ; preds = %121 br label %100 126: ; preds = %121 %127 = load ptr, ptr %3, align 8 %128 = getelementptr inbounds i8, ptr %127, i32 1 store ptr %128, ptr %3, align 8 %129 = load i8, ptr %128, align 1 store i8 %129, ptr %6, align 1 %130 = load i8, ptr %6, align 1 %131 = zext i8 %130 to i32 %132 = add nsw i32 0, %131 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds [256 x i8], ptr @_scan_atx_header_start.yybm, i64 0, i64 %133 %135 = load i8, ptr %134, align 1 %136 = zext i8 %135 to i32 %137 = and i32 %136, 128 %138 = icmp ne i32 %137, 0 br i1 %138, label %139, label %140 139: ; preds = %126 br label %.preheader 140: ; preds = %126 %141 = load i8, ptr %6, align 1 %142 = zext i8 %141 to i32 %143 = icmp eq i32 %142, 10 br i1 %143, label %144, label %145 144: ; preds = %140 br label %50 145: ; preds = %140 %146 = load i8, ptr %6, align 1 %147 = zext i8 %146 to i32 %148 = icmp ne i32 %147, 35 br i1 %148, label %149, label %150 149: ; preds = %145 br label %100 150: ; preds = %145 %151 = load ptr, ptr %3, align 8 %152 = getelementptr inbounds i8, ptr %151, i32 1 store ptr %152, ptr %3, align 8 %153 = load i8, ptr %152, align 1 store i8 %153, ptr %6, align 1 %154 = load i8, ptr %6, align 1 %155 = zext i8 %154 to i32 %156 = add nsw i32 0, %155 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds [256 x i8], ptr @_scan_atx_header_start.yybm, i64 0, i64 %157 %159 = load i8, ptr %158, align 1 %160 = zext i8 %159 to i32 %161 = and i32 %160, 128 %162 = icmp ne i32 %161, 0 br i1 %162, label %163, label %164 163: ; preds = %150 br label %.preheader 164: ; preds = %150 %165 = load i8, ptr %6, align 1 %166 = zext i8 %165 to i32 %167 = icmp eq i32 %166, 10 br i1 %167, label %168, label %169 168: ; preds = %164 br label %50 169: ; preds = %164 %170 = load i8, ptr %6, align 1 %171 = zext i8 %170 to i32 %172 = icmp ne i32 %171, 35 br i1 %172, label %173, label %174 173: ; preds = %169 br label %100 174: ; preds = %169 %175 = load ptr, ptr %3, align 8 %176 = getelementptr inbounds i8, ptr %175, i32 1 store ptr %176, ptr %3, align 8 %177 = load ptr, ptr %3, align 8 %178 = load i8, ptr %177, align 1 store i8 %178, ptr %6, align 1 %179 = zext i8 %178 to i32 %180 = add nsw i32 0, %179 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds [256 x i8], ptr @_scan_atx_header_start.yybm, i64 0, i64 %181 %183 = load i8, ptr %182, align 1 %184 = zext i8 %183 to i32 %185 = and i32 %184, 128 %186 = icmp ne i32 %185, 0 br i1 %186, label %187, label %188 187: ; preds = %174 br label %.preheader .preheader: ; preds = %34, %88, %115, %139, %163, %187 br label %60 188: ; preds = %174 %189 = load i8, ptr %6, align 1 %190 = zext i8 %189 to i32 %191 = icmp eq i32 %190, 10 br i1 %191, label %192, label %193 192: ; preds = %188 br label %50 193: ; preds = %188 br label %100 194: ; preds = %53, %20 %195 = load i32, ptr %2, align 4 ret i32 %195 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr7ek6x92.c' source_filename = "/tmp/tmpr7ek6x92.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"syntax:_N N is the offset number\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c" sN---seek from the begin\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c" cN---seek from the current\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c" eN---seek from the end\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"input where to seek pls:\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @SEEK_CUR = dso_local global i32 0, align 4 @SEEK_END = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [18 x i8] c"Check you input!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @m_seek(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @printf(ptr noundef @.str.1) %7 = call i32 @printf(ptr noundef @.str.2) %8 = call i32 @printf(ptr noundef @.str.3) %9 = call i32 @printf(ptr noundef @.str.4) %10 = call signext i8 (...) @getchar() store i8 %10, ptr %3, align 1 %11 = call i32 @scanf(ptr noundef @.str.5, ptr noundef %4) %12 = call signext i8 (...) @getchar() %13 = load i8, ptr %3, align 1 %14 = sext i8 %13 to i32 switch i32 %14, label %30 [ i32 115, label %15 i32 99, label %20 i32 101, label %25 ] 15: ; preds = %1 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr @SEEK_SET, align 4 %19 = call i32 @lseek(i32 noundef %16, i32 noundef %17, i32 noundef %18) br label %32 20: ; preds = %1 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr @SEEK_CUR, align 4 %24 = call i32 @lseek(i32 noundef %21, i32 noundef %22, i32 noundef %23) br label %32 25: ; preds = %1 %26 = load i32, ptr %2, align 4 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr @SEEK_END, align 4 %29 = call i32 @lseek(i32 noundef %26, i32 noundef %27, i32 noundef %28) br label %32 30: ; preds = %1 %31 = call i32 @printf(ptr noundef @.str.6) br label %32 32: ; preds = %30, %25, %20, %15 ret void } declare i32 @printf(ptr noundef) #1 declare signext i8 @getchar(...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @lseek(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/tmpr7ek6x92.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"syntax:_N N is the offset number\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c" sN---seek from the begin\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c" cN---seek from the current\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c" eN---seek from the end\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"input where to seek pls:\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @SEEK_CUR = dso_local global i32 0, align 4 @SEEK_END = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [18 x i8] c"Check you input!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @m_seek(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @printf(ptr noundef @.str.1) %7 = call i32 @printf(ptr noundef @.str.2) %8 = call i32 @printf(ptr noundef @.str.3) %9 = call i32 @printf(ptr noundef @.str.4) %10 = call signext i8 (...) @getchar() store i8 %10, ptr %3, align 1 %11 = call i32 @scanf(ptr noundef @.str.5, ptr noundef %4) %12 = call signext i8 (...) @getchar() %13 = load i8, ptr %3, align 1 %14 = sext i8 %13 to i32 switch i32 %14, label %30 [ i32 115, label %15 i32 99, label %20 i32 101, label %25 ] 15: ; preds = %1 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr @SEEK_SET, align 4 %19 = call i32 @lseek(i32 noundef %16, i32 noundef %17, i32 noundef %18) br label %32 20: ; preds = %1 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr @SEEK_CUR, align 4 %24 = call i32 @lseek(i32 noundef %21, i32 noundef %22, i32 noundef %23) br label %32 25: ; preds = %1 %26 = load i32, ptr %2, align 4 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr @SEEK_END, align 4 %29 = call i32 @lseek(i32 noundef %26, i32 noundef %27, i32 noundef %28) br label %32 30: ; preds = %1 %31 = call i32 @printf(ptr noundef @.str.6) br label %32 32: ; preds = %30, %25, %20, %15 ret void } declare i32 @printf(ptr noundef) #1 declare signext i8 @getchar(...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @lseek(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/tmpvijukfxg.c' source_filename = "/tmp/tmpvijukfxg.c" target datalayout = "e-m:e-p270: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/tmpvijukfxg.c" target datalayout = "e-m:e-p270: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/tmpyofn3x3q.c' source_filename = "/tmp/tmpyofn3x3q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %24, %1 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %27 12: ; preds = %8 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 47 br i1 %19, label %20, label %23 20: ; preds = %12 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %2, align 4 br label %29 23: ; preds = %12 br label %24 24: ; preds = %23 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 br label %8, !llvm.loop !6 27: ; preds = %8 %28 = load i32, ptr %4, align 4 store i32 %28, ptr %2, align 4 br label %29 29: ; preds = %27, %20 %30 = load i32, ptr %2, align 4 ret i32 %30 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyofn3x3q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %4, align 4 store i32 0, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %29 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %23 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 47 br i1 %18, label %19, label %22 19: ; preds = %11 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %2, align 4 br label %31 22: ; preds = %11 br label %23 23: ; preds = %22 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %1 %30 = load i32, ptr %4, align 4 store i32 %30, ptr %2, align 4 br label %31 31: ; preds = %29, %19 %32 = load i32, ptr %2, align 4 ret i32 %32 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppj_0euds.c' source_filename = "/tmp/tmppj_0euds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uhashkey(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 store i32 0, ptr %8, align 4 %10 = load ptr, ptr %7, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp sge i32 %12, 97 br i1 %13, label %14, label %25 14: ; preds = %3 %15 = load ptr, ptr %7, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp sle i32 %17, 122 br i1 %18, label %19, label %25 19: ; preds = %14 %20 = load ptr, ptr %7, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = sub nsw i32 %22, 97 %24 = load ptr, ptr %5, align 8 store i32 %23, ptr %24, align 4 br label %44 25: ; preds = %14, %3 %26 = load ptr, ptr %7, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp sge i32 %28, 65 br i1 %29, label %30, label %41 30: ; preds = %25 %31 = load ptr, ptr %7, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp sle i32 %33, 90 br i1 %34, label %35, label %41 35: ; preds = %30 %36 = load ptr, ptr %7, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = sub nsw i32 %38, 65 %40 = load ptr, ptr %5, align 8 store i32 %39, ptr %40, align 4 br label %43 41: ; preds = %30, %25 %42 = load ptr, ptr %5, align 8 store i32 0, ptr %42, align 4 br label %43 43: ; preds = %41, %35 br label %44 44: ; preds = %43, %19 %45 = load ptr, ptr %7, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %7, align 8 %47 = load ptr, ptr %7, align 8 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp sge i32 %49, 97 br i1 %50, label %51, label %62 51: ; preds = %44 %52 = load ptr, ptr %7, align 8 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp sle i32 %54, 122 br i1 %55, label %56, label %62 56: ; preds = %51 %57 = load ptr, ptr %7, align 8 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = sub nsw i32 %59, 97 %61 = load ptr, ptr %6, align 8 store i32 %60, ptr %61, align 4 br label %81 62: ; preds = %51, %44 %63 = load ptr, ptr %7, align 8 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp sge i32 %65, 65 br i1 %66, label %67, label %78 67: ; preds = %62 %68 = load ptr, ptr %7, align 8 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = icmp sle i32 %70, 90 br i1 %71, label %72, label %78 72: ; preds = %67 %73 = load ptr, ptr %7, align 8 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = sub nsw i32 %75, 65 %77 = load ptr, ptr %6, align 8 store i32 %76, ptr %77, align 4 br label %80 78: ; preds = %67, %62 %79 = load ptr, ptr %6, align 8 store i32 0, ptr %79, align 4 br label %80 80: ; preds = %78, %72 br label %81 81: ; preds = %80, %56 %82 = load ptr, ptr %7, align 8 %83 = getelementptr inbounds i8, ptr %82, i32 1 store ptr %83, ptr %7, align 8 br label %84 84: ; preds = %89, %81 %85 = load ptr, ptr %7, align 8 %86 = load i8, ptr %85, align 1 %87 = sext i8 %86 to i32 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %99 89: ; preds = %84 %90 = load ptr, ptr %7, align 8 %91 = load i8, ptr %90, align 1 %92 = call i64 @toupper(i8 noundef signext %91) %93 = load i32, ptr %8, align 4 %94 = sext i32 %93 to i64 %95 = add nsw i64 %94, %92 %96 = trunc i64 %95 to i32 store i32 %96, ptr %8, align 4 %97 = load ptr, ptr %7, align 8 %98 = getelementptr inbounds i8, ptr %97, i32 1 store ptr %98, ptr %7, align 8 br label %84, !llvm.loop !6 99: ; preds = %84 %100 = load i32, ptr %8, align 4 %101 = srem i32 %100, 256 ret i32 %101 } declare i64 @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/tmppj_0euds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uhashkey(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 store i32 0, ptr %8, align 4 %10 = load ptr, ptr %7, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp sge i32 %12, 97 br i1 %13, label %14, label %25 14: ; preds = %3 %15 = load ptr, ptr %7, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp sle i32 %17, 122 br i1 %18, label %19, label %25 19: ; preds = %14 %20 = load ptr, ptr %7, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = sub nsw i32 %22, 97 %24 = load ptr, ptr %5, align 8 store i32 %23, ptr %24, align 4 br label %44 25: ; preds = %14, %3 %26 = load ptr, ptr %7, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp sge i32 %28, 65 br i1 %29, label %30, label %41 30: ; preds = %25 %31 = load ptr, ptr %7, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp sle i32 %33, 90 br i1 %34, label %35, label %41 35: ; preds = %30 %36 = load ptr, ptr %7, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = sub nsw i32 %38, 65 %40 = load ptr, ptr %5, align 8 store i32 %39, ptr %40, align 4 br label %43 41: ; preds = %30, %25 %42 = load ptr, ptr %5, align 8 store i32 0, ptr %42, align 4 br label %43 43: ; preds = %41, %35 br label %44 44: ; preds = %43, %19 %45 = load ptr, ptr %7, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %7, align 8 %47 = load ptr, ptr %7, align 8 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp sge i32 %49, 97 br i1 %50, label %51, label %62 51: ; preds = %44 %52 = load ptr, ptr %7, align 8 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp sle i32 %54, 122 br i1 %55, label %56, label %62 56: ; preds = %51 %57 = load ptr, ptr %7, align 8 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = sub nsw i32 %59, 97 %61 = load ptr, ptr %6, align 8 store i32 %60, ptr %61, align 4 br label %81 62: ; preds = %51, %44 %63 = load ptr, ptr %7, align 8 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp sge i32 %65, 65 br i1 %66, label %67, label %78 67: ; preds = %62 %68 = load ptr, ptr %7, align 8 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = icmp sle i32 %70, 90 br i1 %71, label %72, label %78 72: ; preds = %67 %73 = load ptr, ptr %7, align 8 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = sub nsw i32 %75, 65 %77 = load ptr, ptr %6, align 8 store i32 %76, ptr %77, align 4 br label %80 78: ; preds = %67, %62 %79 = load ptr, ptr %6, align 8 store i32 0, ptr %79, align 4 br label %80 80: ; preds = %78, %72 br label %81 81: ; preds = %80, %56 %82 = load ptr, ptr %7, align 8 %83 = getelementptr inbounds i8, ptr %82, i32 1 store ptr %83, ptr %7, align 8 %84 = load ptr, ptr %7, align 8 %85 = load i8, ptr %84, align 1 %86 = sext i8 %85 to i32 %87 = icmp ne i32 %86, 0 br i1 %87, label %.lr.ph, label %102 .lr.ph: ; preds = %81 br label %88 88: ; preds = %.lr.ph, %88 %89 = load ptr, ptr %7, align 8 %90 = load i8, ptr %89, align 1 %91 = call i64 @toupper(i8 noundef signext %90) %92 = load i32, ptr %8, align 4 %93 = sext i32 %92 to i64 %94 = add nsw i64 %93, %91 %95 = trunc i64 %94 to i32 store i32 %95, ptr %8, align 4 %96 = load ptr, ptr %7, align 8 %97 = getelementptr inbounds i8, ptr %96, i32 1 store ptr %97, ptr %7, align 8 %98 = load ptr, ptr %7, align 8 %99 = load i8, ptr %98, align 1 %100 = sext i8 %99 to i32 %101 = icmp ne i32 %100, 0 br i1 %101, label %88, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %88 br label %102 102: ; preds = %._crit_edge, %81 %103 = load i32, ptr %8, align 4 %104 = srem i32 %103, 256 ret i32 %104 } declare i64 @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/tmp56q0fwq3.c' source_filename = "/tmp/tmp56q0fwq3.c" target datalayout = "e-m:e-p270: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/tmp56q0fwq3.c" target datalayout = "e-m:e-p270: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/tmpjo92h7jg.c' source_filename = "/tmp/tmpjo92h7jg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bentley_mcilroy_3way_partition(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %18 = load i32, ptr %6, align 4 %19 = sub nsw i32 %18, 1 store i32 %19, ptr %10, align 4 %20 = load i32, ptr %9, align 4 store i32 %20, ptr %11, align 4 %21 = load i32, ptr %10, align 4 store i32 %21, ptr %12, align 4 br label %22 22: ; preds = %76, %73, %48, %4 %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %10, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %83 26: ; preds = %22 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %9, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = load i32, ptr %30, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp sle i32 %31, %32 br i1 %33, label %34, label %51 34: ; preds = %26 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %9, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 %40 = load i32, ptr %7, align 4 %41 = icmp eq i32 %39, %40 br i1 %41, label %42, label %48 42: ; preds = %34 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %9, align 4 %45 = load i32, ptr %11, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %11, align 4 %47 = call i32 @u_swap(ptr noundef %43, i32 noundef %44, i32 noundef %45) br label %48 48: ; preds = %42, %34 %49 = load i32, ptr %9, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %9, align 4 br label %22, !llvm.loop !6 51: ; preds = %26 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = load i32, ptr %7, align 4 %58 = icmp sge i32 %56, %57 br i1 %58, label %59, label %76 59: ; preds = %51 %60 = load ptr, ptr %5, align 8 %61 = load i32, ptr %10, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %60, i64 %62 %64 = load i32, ptr %63, align 4 %65 = load i32, ptr %7, align 4 %66 = icmp eq i32 %64, %65 br i1 %66, label %67, label %73 67: ; preds = %59 %68 = load ptr, ptr %5, align 8 %69 = load i32, ptr %10, align 4 %70 = load i32, ptr %12, align 4 %71 = add nsw i32 %70, -1 store i32 %71, ptr %12, align 4 %72 = call i32 @u_swap(ptr noundef %68, i32 noundef %69, i32 noundef %70) br label %73 73: ; preds = %67, %59 %74 = load i32, ptr %10, align 4 %75 = add nsw i32 %74, -1 store i32 %75, ptr %10, align 4 br label %22, !llvm.loop !6 76: ; preds = %51 %77 = load ptr, ptr %5, align 8 %78 = load i32, ptr %9, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %9, align 4 %80 = load i32, ptr %10, align 4 %81 = add nsw i32 %80, -1 store i32 %81, ptr %10, align 4 %82 = call i32 @u_swap(ptr noundef %77, i32 noundef %78, i32 noundef %80) br label %22, !llvm.loop !6 83: ; preds = %22 %84 = load i32, ptr %9, align 4 %85 = load i32, ptr %10, align 4 %86 = icmp eq i32 %84, %85 br i1 %86, label %87, label %118 87: ; preds = %83 %88 = load ptr, ptr %5, align 8 %89 = load i32, ptr %9, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %88, i64 %90 %92 = load i32, ptr %91, align 4 store i32 %92, ptr %13, align 4 %93 = load i32, ptr %13, align 4 %94 = load i32, ptr %7, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %96, label %99 96: ; preds = %87 %97 = load i32, ptr %9, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %9, align 4 br label %99 99: ; preds = %96, %87 %100 = load i32, ptr %13, align 4 %101 = load i32, ptr %7, align 4 %102 = icmp sgt i32 %100, %101 br i1 %102, label %103, label %106 103: ; preds = %99 %104 = load i32, ptr %10, align 4 %105 = add nsw i32 %104, -1 store i32 %105, ptr %10, align 4 br label %106 106: ; preds = %103, %99 %107 = load i32, ptr %13, align 4 %108 = load i32, ptr %7, align 4 %109 = icmp eq i32 %107, %108 br i1 %109, label %110, label %117 110: ; preds = %106 %111 = load ptr, ptr %5, align 8 %112 = load i32, ptr %9, align 4 %113 = add nsw i32 %112, 1 store i32 %113, ptr %9, align 4 %114 = load i32, ptr %11, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %11, align 4 %116 = call i32 @u_swap(ptr noundef %111, i32 noundef %112, i32 noundef %114) br label %117 117: ; preds = %110, %106 br label %118 118: ; preds = %117, %83 %119 = load i32, ptr %11, align 4 %120 = load i32, ptr %9, align 4 %121 = load i32, ptr %11, align 4 %122 = sub nsw i32 %120, %121 %123 = call i32 @u_min(i32 noundef %119, i32 noundef %122) store i32 %123, ptr %14, align 4 store i32 0, ptr %15, align 4 br label %124 124: ; preds = %136, %118 %125 = load i32, ptr %15, align 4 %126 = load i32, ptr %14, align 4 %127 = icmp slt i32 %125, %126 br i1 %127, label %128, label %139 128: ; preds = %124 %129 = load ptr, ptr %5, align 8 %130 = load i32, ptr %15, align 4 %131 = load i32, ptr %9, align 4 %132 = sub nsw i32 %131, 1 %133 = load i32, ptr %15, align 4 %134 = sub nsw i32 %132, %133 %135 = call i32 @u_swap(ptr noundef %129, i32 noundef %130, i32 noundef %134) br label %136 136: ; preds = %128 %137 = load i32, ptr %15, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %15, align 4 br label %124, !llvm.loop !8 139: ; preds = %124 %140 = load i32, ptr %6, align 4 %141 = load i32, ptr %12, align 4 %142 = sub nsw i32 %140, %141 %143 = load i32, ptr %12, align 4 %144 = load i32, ptr %10, align 4 %145 = sub nsw i32 %143, %144 %146 = call i32 @u_min(i32 noundef %142, i32 noundef %145) store i32 %146, ptr %16, align 4 store i32 0, ptr %17, align 4 br label %147 147: ; preds = %162, %139 %148 = load i32, ptr %17, align 4 %149 = load i32, ptr %16, align 4 %150 = icmp slt i32 %148, %149 br i1 %150, label %151, label %165 151: ; preds = %147 %152 = load ptr, ptr %5, align 8 %153 = load i32, ptr %10, align 4 %154 = add nsw i32 %153, 1 %155 = load i32, ptr %17, align 4 %156 = add nsw i32 %154, %155 %157 = load i32, ptr %6, align 4 %158 = sub nsw i32 %157, 1 %159 = load i32, ptr %17, align 4 %160 = sub nsw i32 %158, %159 %161 = call i32 @u_swap(ptr noundef %152, i32 noundef %156, i32 noundef %160) br label %162 162: ; preds = %151 %163 = load i32, ptr %17, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %17, align 4 br label %147, !llvm.loop !9 165: ; preds = %147 %166 = load ptr, ptr %8, align 8 %167 = getelementptr inbounds i32, ptr %166, i64 0 store i32 0, ptr %167, align 4 %168 = load i32, ptr %9, align 4 %169 = load i32, ptr %11, align 4 %170 = sub nsw i32 %168, %169 %171 = load ptr, ptr %8, align 8 %172 = getelementptr inbounds i32, ptr %171, i64 1 store i32 %170, ptr %172, align 4 %173 = load i32, ptr %6, align 4 %174 = load i32, ptr %12, align 4 %175 = load i32, ptr %10, align 4 %176 = sub nsw i32 %174, %175 %177 = sub nsw i32 %173, %176 %178 = load ptr, ptr %8, align 8 %179 = getelementptr inbounds i32, ptr %178, i64 2 store i32 %177, ptr %179, align 4 %180 = load i32, ptr %6, align 4 %181 = load ptr, ptr %8, align 8 %182 = getelementptr inbounds i32, ptr %181, i64 3 store i32 %180, ptr %182, align 4 ret void } declare i32 @u_swap(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @u_min(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjo92h7jg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bentley_mcilroy_3way_partition(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %18 = load i32, ptr %6, align 4 %19 = sub nsw i32 %18, 1 store i32 %19, ptr %10, align 4 %20 = load i32, ptr %9, align 4 store i32 %20, ptr %11, align 4 %21 = load i32, ptr %10, align 4 store i32 %21, ptr %12, align 4 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %10, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph, label %85 .lr.ph: ; preds = %4 br label %25 25: ; preds = %.lr.ph, %.backedge %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 %30 = load i32, ptr %29, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp sle i32 %30, %31 br i1 %32, label %33, label %53 33: ; preds = %25 %34 = load ptr, ptr %5, align 8 %35 = load i32, ptr %9, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = load i32, ptr %37, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp eq i32 %38, %39 br i1 %40, label %41, label %47 41: ; preds = %33 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %9, align 4 %44 = load i32, ptr %11, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %11, align 4 %46 = call i32 @u_swap(ptr noundef %42, i32 noundef %43, i32 noundef %44) br label %47 47: ; preds = %41, %33 %48 = load i32, ptr %9, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %9, align 4 br label %.backedge .backedge: ; preds = %47, %75, %78 %50 = load i32, ptr %9, align 4 %51 = load i32, ptr %10, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %25, label %._crit_edge, !llvm.loop !6 53: ; preds = %25 %54 = load ptr, ptr %5, align 8 %55 = load i32, ptr %10, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %54, i64 %56 %58 = load i32, ptr %57, align 4 %59 = load i32, ptr %7, align 4 %60 = icmp sge i32 %58, %59 br i1 %60, label %61, label %78 61: ; preds = %53 %62 = load ptr, ptr %5, align 8 %63 = load i32, ptr %10, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %62, i64 %64 %66 = load i32, ptr %65, align 4 %67 = load i32, ptr %7, align 4 %68 = icmp eq i32 %66, %67 br i1 %68, label %69, label %75 69: ; preds = %61 %70 = load ptr, ptr %5, align 8 %71 = load i32, ptr %10, align 4 %72 = load i32, ptr %12, align 4 %73 = add nsw i32 %72, -1 store i32 %73, ptr %12, align 4 %74 = call i32 @u_swap(ptr noundef %70, i32 noundef %71, i32 noundef %72) br label %75 75: ; preds = %69, %61 %76 = load i32, ptr %10, align 4 %77 = add nsw i32 %76, -1 store i32 %77, ptr %10, align 4 br label %.backedge 78: ; preds = %53 %79 = load ptr, ptr %5, align 8 %80 = load i32, ptr %9, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %9, align 4 %82 = load i32, ptr %10, align 4 %83 = add nsw i32 %82, -1 store i32 %83, ptr %10, align 4 %84 = call i32 @u_swap(ptr noundef %79, i32 noundef %80, i32 noundef %82) br label %.backedge ._crit_edge: ; preds = %.backedge br label %85 85: ; preds = %._crit_edge, %4 %86 = load i32, ptr %9, align 4 %87 = load i32, ptr %10, align 4 %88 = icmp eq i32 %86, %87 br i1 %88, label %89, label %120 89: ; preds = %85 %90 = load ptr, ptr %5, align 8 %91 = load i32, ptr %9, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i32, ptr %90, i64 %92 %94 = load i32, ptr %93, align 4 store i32 %94, ptr %13, align 4 %95 = load i32, ptr %13, align 4 %96 = load i32, ptr %7, align 4 %97 = icmp slt i32 %95, %96 br i1 %97, label %98, label %101 98: ; preds = %89 %99 = load i32, ptr %9, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %9, align 4 br label %101 101: ; preds = %98, %89 %102 = load i32, ptr %13, align 4 %103 = load i32, ptr %7, align 4 %104 = icmp sgt i32 %102, %103 br i1 %104, label %105, label %108 105: ; preds = %101 %106 = load i32, ptr %10, align 4 %107 = add nsw i32 %106, -1 store i32 %107, ptr %10, align 4 br label %108 108: ; preds = %105, %101 %109 = load i32, ptr %13, align 4 %110 = load i32, ptr %7, align 4 %111 = icmp eq i32 %109, %110 br i1 %111, label %112, label %119 112: ; preds = %108 %113 = load ptr, ptr %5, align 8 %114 = load i32, ptr %9, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %9, align 4 %116 = load i32, ptr %11, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %11, align 4 %118 = call i32 @u_swap(ptr noundef %113, i32 noundef %114, i32 noundef %116) br label %119 119: ; preds = %112, %108 br label %120 120: ; preds = %119, %85 %121 = load i32, ptr %11, align 4 %122 = load i32, ptr %9, align 4 %123 = load i32, ptr %11, align 4 %124 = sub nsw i32 %122, %123 %125 = call i32 @u_min(i32 noundef %121, i32 noundef %124) store i32 %125, ptr %14, align 4 store i32 0, ptr %15, align 4 %126 = load i32, ptr %15, align 4 %127 = load i32, ptr %14, align 4 %128 = icmp slt i32 %126, %127 br i1 %128, label %.lr.ph2, label %143 .lr.ph2: ; preds = %120 br label %129 129: ; preds = %.lr.ph2, %137 %130 = load ptr, ptr %5, align 8 %131 = load i32, ptr %15, align 4 %132 = load i32, ptr %9, align 4 %133 = sub nsw i32 %132, 1 %134 = load i32, ptr %15, align 4 %135 = sub nsw i32 %133, %134 %136 = call i32 @u_swap(ptr noundef %130, i32 noundef %131, i32 noundef %135) br label %137 137: ; preds = %129 %138 = load i32, ptr %15, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %15, align 4 %140 = load i32, ptr %15, align 4 %141 = load i32, ptr %14, align 4 %142 = icmp slt i32 %140, %141 br i1 %142, label %129, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %137 br label %143 143: ; preds = %._crit_edge3, %120 %144 = load i32, ptr %6, align 4 %145 = load i32, ptr %12, align 4 %146 = sub nsw i32 %144, %145 %147 = load i32, ptr %12, align 4 %148 = load i32, ptr %10, align 4 %149 = sub nsw i32 %147, %148 %150 = call i32 @u_min(i32 noundef %146, i32 noundef %149) store i32 %150, ptr %16, align 4 store i32 0, ptr %17, align 4 %151 = load i32, ptr %17, align 4 %152 = load i32, ptr %16, align 4 %153 = icmp slt i32 %151, %152 br i1 %153, label %.lr.ph5, label %171 .lr.ph5: ; preds = %143 br label %154 154: ; preds = %.lr.ph5, %165 %155 = load ptr, ptr %5, align 8 %156 = load i32, ptr %10, align 4 %157 = add nsw i32 %156, 1 %158 = load i32, ptr %17, align 4 %159 = add nsw i32 %157, %158 %160 = load i32, ptr %6, align 4 %161 = sub nsw i32 %160, 1 %162 = load i32, ptr %17, align 4 %163 = sub nsw i32 %161, %162 %164 = call i32 @u_swap(ptr noundef %155, i32 noundef %159, i32 noundef %163) br label %165 165: ; preds = %154 %166 = load i32, ptr %17, align 4 %167 = add nsw i32 %166, 1 store i32 %167, ptr %17, align 4 %168 = load i32, ptr %17, align 4 %169 = load i32, ptr %16, align 4 %170 = icmp slt i32 %168, %169 br i1 %170, label %154, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %165 br label %171 171: ; preds = %._crit_edge6, %143 %172 = load ptr, ptr %8, align 8 %173 = getelementptr inbounds i32, ptr %172, i64 0 store i32 0, ptr %173, align 4 %174 = load i32, ptr %9, align 4 %175 = load i32, ptr %11, align 4 %176 = sub nsw i32 %174, %175 %177 = load ptr, ptr %8, align 8 %178 = getelementptr inbounds i32, ptr %177, i64 1 store i32 %176, ptr %178, align 4 %179 = load i32, ptr %6, align 4 %180 = load i32, ptr %12, align 4 %181 = load i32, ptr %10, align 4 %182 = sub nsw i32 %180, %181 %183 = sub nsw i32 %179, %182 %184 = load ptr, ptr %8, align 8 %185 = getelementptr inbounds i32, ptr %184, i64 2 store i32 %183, ptr %185, align 4 %186 = load i32, ptr %6, align 4 %187 = load ptr, ptr %8, align 8 %188 = getelementptr inbounds i32, ptr %187, i64 3 store i32 %186, ptr %188, align 4 ret void } declare i32 @u_swap(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @u_min(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpxmxn52xs.c' source_filename = "/tmp/tmpxmxn52xs.c" target datalayout = "e-m:e-p270: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 i64 @get_XSelectionEvent_time(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 ret i64 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxmxn52xs.c" target datalayout = "e-m:e-p270: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 i64 @get_XSelectionEvent_time(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 ret i64 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz5orud74.c' source_filename = "/tmp/tmpz5orud74.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_memcmp_15(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i32 @memcmp(ptr noundef %8, ptr noundef %9, i32 noundef 15) store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %18 13: ; preds = %3 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %13 %17 = call i32 (...) @abort() #3 unreachable 18: ; preds = %13, %3 %19 = load i32, ptr %7, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %18 %22 = load i32, ptr %6, align 4 %23 = icmp sgt i32 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %21 %25 = call i32 (...) @abort() #3 unreachable 26: ; preds = %21, %18 %27 = load i32, ptr %7, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %34 29: ; preds = %26 %30 = load i32, ptr %6, align 4 %31 = icmp eq i32 %30, 0 br i1 %31, label %34, label %32 32: ; preds = %29 %33 = call i32 (...) @abort() #3 unreachable 34: ; preds = %29, %26 ret void } declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #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/tmpz5orud74.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_memcmp_15(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i32 @memcmp(ptr noundef %8, ptr noundef %9, i32 noundef 15) store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %18 13: ; preds = %3 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %13 %17 = call i32 (...) @abort() #3 unreachable 18: ; preds = %13, %3 %19 = load i32, ptr %7, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %18 %22 = load i32, ptr %6, align 4 %23 = icmp sgt i32 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %21 %25 = call i32 (...) @abort() #3 unreachable 26: ; preds = %21, %18 %27 = load i32, ptr %7, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %34 29: ; preds = %26 %30 = load i32, ptr %6, align 4 %31 = icmp eq i32 %30, 0 br i1 %31, label %34, label %32 32: ; preds = %29 %33 = call i32 (...) @abort() #3 unreachable 34: ; preds = %29, %26 ret void } declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #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/tmp5mr9kklg.c' source_filename = "/tmp/tmp5mr9kklg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"%8.5f %9.6f\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"%8.5f %9.6f %9.6f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @testmain1d() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 store i32 12, ptr %13, align 4 %20 = load i32, ptr %13, align 4 %21 = sext i32 %20 to i64 %22 = mul i64 %21, 8 %23 = trunc i64 %22 to i32 %24 = call i64 @malloc(i32 noundef %23) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %2, align 8 %26 = load i32, ptr %13, align 4 %27 = sext i32 %26 to i64 %28 = mul i64 %27, 8 %29 = trunc i64 %28 to i32 %30 = call i64 @malloc(i32 noundef %29) %31 = inttoptr i64 %30 to ptr store ptr %31, ptr %3, align 8 %32 = load i32, ptr %13, align 4 %33 = sext i32 %32 to i64 %34 = mul i64 %33, 8 %35 = trunc i64 %34 to i32 %36 = call i64 @malloc(i32 noundef %35) %37 = inttoptr i64 %36 to ptr store ptr %37, ptr %4, align 8 %38 = load ptr, ptr %2, align 8 %39 = getelementptr inbounds double, ptr %38, i64 0 store double 0.000000e+00, ptr %39, align 8 %40 = load ptr, ptr %2, align 8 %41 = getelementptr inbounds double, ptr %40, i64 1 store double 1.000000e-01, ptr %41, align 8 store i32 2, ptr %10, align 4 br label %42 42: ; preds = %54, %0 %43 = load i32, ptr %10, align 4 %44 = load i32, ptr %13, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %46, label %57 46: ; preds = %42 %47 = load i32, ptr %10, align 4 %48 = sitofp i32 %47 to double %49 = fsub double %48, 1.000000e+00 %50 = load ptr, ptr %2, align 8 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds double, ptr %50, i64 %52 store double %49, ptr %53, align 8 br label %54 54: ; preds = %46 %55 = load i32, ptr %10, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %10, align 4 br label %42, !llvm.loop !6 57: ; preds = %42 store i32 0, ptr %10, align 4 br label %58 58: ; preds = %97, %57 %59 = load i32, ptr %10, align 4 %60 = load i32, ptr %13, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %62, label %100 62: ; preds = %58 %63 = load i32, ptr @M_PI, align 4 %64 = load ptr, ptr %2, align 8 %65 = load i32, ptr %10, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds double, ptr %64, i64 %66 %68 = load double, ptr %67, align 8 %69 = load ptr, ptr %2, align 8 %70 = load i32, ptr %10, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds double, ptr %69, i64 %71 %73 = load double, ptr %72, align 8 %74 = fmul double %68, %73 %75 = call i32 @sqrt(double noundef %74) %76 = mul nsw i32 %63, %75 %77 = sitofp i32 %76 to double %78 = fdiv double %77, 2.000000e+00 store double %78, ptr %7, align 8 %79 = load double, ptr %7, align 8 %80 = fcmp une double %79, 0.000000e+00 br i1 %80, label %81, label %86 81: ; preds = %62 %82 = load double, ptr %7, align 8 %83 = call double @sin(double noundef %82) #4 %84 = load double, ptr %7, align 8 %85 = fdiv double %83, %84 br label %87 86: ; preds = %62 br label %87 87: ; preds = %86, %81 %88 = phi double [ %85, %81 ], [ 1.000000e+00, %86 ] store double %88, ptr %6, align 8 %89 = load double, ptr %6, align 8 %90 = load ptr, ptr %3, align 8 %91 = load i32, ptr %10, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds double, ptr %90, i64 %92 store double %89, ptr %93, align 8 %94 = load double, ptr %7, align 8 %95 = load double, ptr %6, align 8 %96 = call i32 (ptr, double, double, ...) @printf(ptr noundef @.str, double noundef %94, double noundef %95) br label %97 97: ; preds = %87 %98 = load i32, ptr %10, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %10, align 4 br label %58, !llvm.loop !8 100: ; preds = %58 %101 = load ptr, ptr %2, align 8 %102 = load ptr, ptr %3, align 8 %103 = load i32, ptr %13, align 4 %104 = load ptr, ptr %4, align 8 %105 = call i64 @csp1d(ptr noundef %101, ptr noundef %102, i32 noundef %103, double noundef 1.000000e+30, double noundef 1.000000e+30, ptr noundef %104) %106 = icmp ne i64 %105, 0 br i1 %106, label %107, label %108 107: ; preds = %100 store i32 1, ptr %1, align 4 br label %260 108: ; preds = %100 store i32 0, ptr %12, align 4 store i32 0, ptr %11, align 4 br label %109 109: ; preds = %250, %108 %110 = load i32, ptr %11, align 4 %111 = icmp slt i32 %110, 101 br i1 %111, label %112, label %253 112: ; preds = %109 %113 = load i32, ptr %11, align 4 %114 = sitofp i32 %113 to double %115 = fdiv double %114, 1.000000e+01 store double %115, ptr %5, align 8 br label %116 116: ; preds = %129, %112 %117 = load i32, ptr %12, align 4 %118 = icmp sgt i32 %117, 0 br i1 %118, label %119, label %127 119: ; preds = %116 %120 = load double, ptr %5, align 8 %121 = load ptr, ptr %2, align 8 %122 = load i32, ptr %12, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds double, ptr %121, i64 %123 %125 = load double, ptr %124, align 8 %126 = fcmp olt double %120, %125 br label %127 127: ; preds = %119, %116 %128 = phi i1 [ false, %116 ], [ %126, %119 ] br i1 %128, label %129, label %132 129: ; preds = %127 %130 = load i32, ptr %12, align 4 %131 = add nsw i32 %130, -1 store i32 %131, ptr %12, align 4 br label %116, !llvm.loop !9 132: ; preds = %127 br label %133 133: ; preds = %149, %132 %134 = load i32, ptr %12, align 4 %135 = load i32, ptr %13, align 4 %136 = sub nsw i32 %135, 2 %137 = icmp slt i32 %134, %136 br i1 %137, label %138, label %147 138: ; preds = %133 %139 = load double, ptr %5, align 8 %140 = load ptr, ptr %2, align 8 %141 = load i32, ptr %12, align 4 %142 = add nsw i32 %141, 1 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds double, ptr %140, i64 %143 %145 = load double, ptr %144, align 8 %146 = fcmp ogt double %139, %145 br label %147 147: ; preds = %138, %133 %148 = phi i1 [ false, %133 ], [ %146, %138 ] br i1 %148, label %149, label %152 149: ; preds = %147 %150 = load i32, ptr %12, align 4 %151 = add nsw i32 %150, 1 store i32 %151, ptr %12, align 4 br label %133, !llvm.loop !10 152: ; preds = %147 %153 = load ptr, ptr %2, align 8 %154 = load i32, ptr %12, align 4 %155 = add nsw i32 %154, 1 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds double, ptr %153, i64 %156 %158 = load double, ptr %157, align 8 %159 = load ptr, ptr %2, align 8 %160 = load i32, ptr %12, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds double, ptr %159, i64 %161 %163 = load double, ptr %162, align 8 %164 = fsub double %158, %163 store double %164, ptr %14, align 8 %165 = load double, ptr %5, align 8 %166 = load ptr, ptr %2, align 8 %167 = load i32, ptr %12, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds double, ptr %166, i64 %168 %170 = load double, ptr %169, align 8 %171 = fsub double %165, %170 %172 = load double, ptr %14, align 8 %173 = fdiv double %171, %172 store double %173, ptr %16, align 8 %174 = load double, ptr %16, align 8 %175 = fsub double 1.000000e+00, %174 store double %175, ptr %15, align 8 %176 = load double, ptr %14, align 8 %177 = load double, ptr %14, align 8 %178 = fmul double %176, %177 %179 = fdiv double %178, 6.000000e+00 store double %179, ptr %19, align 8 %180 = load double, ptr %19, align 8 %181 = load double, ptr %15, align 8 %182 = load double, ptr %15, align 8 %183 = fmul double %181, %182 %184 = load double, ptr %15, align 8 %185 = load double, ptr %15, align 8 %186 = fneg double %185 %187 = call double @llvm.fmuladd.f64(double %183, double %184, double %186) %188 = fmul double %180, %187 store double %188, ptr %17, align 8 %189 = load double, ptr %19, align 8 %190 = load double, ptr %16, align 8 %191 = load double, ptr %16, align 8 %192 = fmul double %190, %191 %193 = load double, ptr %16, align 8 %194 = load double, ptr %16, align 8 %195 = fneg double %194 %196 = call double @llvm.fmuladd.f64(double %192, double %193, double %195) %197 = fmul double %189, %196 store double %197, ptr %18, align 8 %198 = load double, ptr %15, align 8 %199 = load ptr, ptr %3, align 8 %200 = load i32, ptr %12, align 4 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds double, ptr %199, i64 %201 %203 = load double, ptr %202, align 8 %204 = load double, ptr %16, align 8 %205 = load ptr, ptr %3, align 8 %206 = load i32, ptr %12, align 4 %207 = add nsw i32 %206, 1 %208 = sext i32 %207 to i64 %209 = getelementptr inbounds double, ptr %205, i64 %208 %210 = load double, ptr %209, align 8 %211 = fmul double %204, %210 %212 = call double @llvm.fmuladd.f64(double %198, double %203, double %211) %213 = load double, ptr %17, align 8 %214 = load ptr, ptr %4, align 8 %215 = load i32, ptr %12, align 4 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds double, ptr %214, i64 %216 %218 = load double, ptr %217, align 8 %219 = call double @llvm.fmuladd.f64(double %213, double %218, double %212) %220 = load double, ptr %18, align 8 %221 = load ptr, ptr %4, align 8 %222 = load i32, ptr %12, align 4 %223 = add nsw i32 %222, 1 %224 = sext i32 %223 to i64 %225 = getelementptr inbounds double, ptr %221, i64 %224 %226 = load double, ptr %225, align 8 %227 = call double @llvm.fmuladd.f64(double %220, double %226, double %219) store double %227, ptr %8, align 8 %228 = load i32, ptr @M_PI, align 4 %229 = load double, ptr %5, align 8 %230 = load double, ptr %5, align 8 %231 = fmul double %229, %230 %232 = call i32 @sqrt(double noundef %231) %233 = mul nsw i32 %228, %232 %234 = sitofp i32 %233 to double %235 = fdiv double %234, 2.000000e+00 store double %235, ptr %7, align 8 %236 = load double, ptr %7, align 8 %237 = fcmp une double %236, 0.000000e+00 br i1 %237, label %238, label %243 238: ; preds = %152 %239 = load double, ptr %7, align 8 %240 = call double @sin(double noundef %239) #4 %241 = load double, ptr %7, align 8 %242 = fdiv double %240, %241 br label %244 243: ; preds = %152 br label %244 244: ; preds = %243, %238 %245 = phi double [ %242, %238 ], [ 1.000000e+00, %243 ] store double %245, ptr %9, align 8 %246 = load double, ptr %7, align 8 %247 = load double, ptr %8, align 8 %248 = load double, ptr %9, align 8 %249 = call i32 (ptr, double, double, ...) @printf(ptr noundef @.str.1, double noundef %246, double noundef %247, double noundef %248) br label %250 250: ; preds = %244 %251 = load i32, ptr %11, align 4 %252 = add nsw i32 %251, 1 store i32 %252, ptr %11, align 4 br label %109, !llvm.loop !11 253: ; preds = %109 %254 = load ptr, ptr %3, align 8 %255 = call i32 @free(ptr noundef %254) %256 = load ptr, ptr %4, align 8 %257 = call i32 @free(ptr noundef %256) %258 = load ptr, ptr %2, align 8 %259 = call i32 @free(ptr noundef %258) store i32 0, ptr %1, align 4 br label %260 260: ; preds = %253, %107 %261 = load i32, ptr %1, align 4 ret i32 %261 } declare i64 @malloc(i32 noundef) #1 declare i32 @sqrt(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #2 declare i32 @printf(ptr noundef, double noundef, double noundef, ...) #1 declare i64 @csp1d(ptr noundef, ptr noundef, i32 noundef, double noundef, double noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5mr9kklg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"%8.5f %9.6f\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"%8.5f %9.6f %9.6f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @testmain1d() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 store i32 12, ptr %13, align 4 %20 = load i32, ptr %13, align 4 %21 = sext i32 %20 to i64 %22 = mul i64 %21, 8 %23 = trunc i64 %22 to i32 %24 = call i64 @malloc(i32 noundef %23) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %2, align 8 %26 = load i32, ptr %13, align 4 %27 = sext i32 %26 to i64 %28 = mul i64 %27, 8 %29 = trunc i64 %28 to i32 %30 = call i64 @malloc(i32 noundef %29) %31 = inttoptr i64 %30 to ptr store ptr %31, ptr %3, align 8 %32 = load i32, ptr %13, align 4 %33 = sext i32 %32 to i64 %34 = mul i64 %33, 8 %35 = trunc i64 %34 to i32 %36 = call i64 @malloc(i32 noundef %35) %37 = inttoptr i64 %36 to ptr store ptr %37, ptr %4, align 8 %38 = load ptr, ptr %2, align 8 %39 = getelementptr inbounds double, ptr %38, i64 0 store double 0.000000e+00, ptr %39, align 8 %40 = load ptr, ptr %2, align 8 %41 = getelementptr inbounds double, ptr %40, i64 1 store double 1.000000e-01, ptr %41, align 8 store i32 2, ptr %10, align 4 %42 = load i32, ptr %10, align 4 %43 = load i32, ptr %13, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %.lr.ph, label %59 .lr.ph: ; preds = %0 br label %45 45: ; preds = %.lr.ph, %53 %46 = load i32, ptr %10, align 4 %47 = sitofp i32 %46 to double %48 = fsub double %47, 1.000000e+00 %49 = load ptr, ptr %2, align 8 %50 = load i32, ptr %10, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds double, ptr %49, i64 %51 store double %48, ptr %52, align 8 br label %53 53: ; preds = %45 %54 = load i32, ptr %10, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %10, align 4 %56 = load i32, ptr %10, align 4 %57 = load i32, ptr %13, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %45, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %53 br label %59 59: ; preds = %._crit_edge, %0 store i32 0, ptr %10, align 4 %60 = load i32, ptr %10, align 4 %61 = load i32, ptr %13, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %.lr.ph2, label %104 .lr.ph2: ; preds = %59 br label %63 63: ; preds = %.lr.ph2, %98 %64 = load i32, ptr @M_PI, align 4 %65 = load ptr, ptr %2, align 8 %66 = load i32, ptr %10, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds double, ptr %65, i64 %67 %69 = load double, ptr %68, align 8 %70 = load ptr, ptr %2, align 8 %71 = load i32, ptr %10, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %70, i64 %72 %74 = load double, ptr %73, align 8 %75 = fmul double %69, %74 %76 = call i32 @sqrt(double noundef %75) %77 = mul nsw i32 %64, %76 %78 = sitofp i32 %77 to double %79 = fdiv double %78, 2.000000e+00 store double %79, ptr %7, align 8 %80 = load double, ptr %7, align 8 %81 = fcmp une double %80, 0.000000e+00 br i1 %81, label %82, label %87 82: ; preds = %63 %83 = load double, ptr %7, align 8 %84 = call double @sin(double noundef %83) #4 %85 = load double, ptr %7, align 8 %86 = fdiv double %84, %85 br label %88 87: ; preds = %63 br label %88 88: ; preds = %87, %82 %89 = phi double [ %86, %82 ], [ 1.000000e+00, %87 ] store double %89, ptr %6, align 8 %90 = load double, ptr %6, align 8 %91 = load ptr, ptr %3, align 8 %92 = load i32, ptr %10, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds double, ptr %91, i64 %93 store double %90, ptr %94, align 8 %95 = load double, ptr %7, align 8 %96 = load double, ptr %6, align 8 %97 = call i32 (ptr, double, double, ...) @printf(ptr noundef @.str, double noundef %95, double noundef %96) br label %98 98: ; preds = %88 %99 = load i32, ptr %10, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %10, align 4 %101 = load i32, ptr %10, align 4 %102 = load i32, ptr %13, align 4 %103 = icmp slt i32 %101, %102 br i1 %103, label %63, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %98 br label %104 104: ; preds = %._crit_edge3, %59 %105 = load ptr, ptr %2, align 8 %106 = load ptr, ptr %3, align 8 %107 = load i32, ptr %13, align 4 %108 = load ptr, ptr %4, align 8 %109 = call i64 @csp1d(ptr noundef %105, ptr noundef %106, i32 noundef %107, double noundef 1.000000e+30, double noundef 1.000000e+30, ptr noundef %108) %110 = icmp ne i64 %109, 0 br i1 %110, label %111, label %112 111: ; preds = %104 store i32 1, ptr %1, align 4 br label %265 112: ; preds = %104 store i32 0, ptr %12, align 4 store i32 0, ptr %11, align 4 %113 = load i32, ptr %11, align 4 %114 = icmp slt i32 %113, 101 br i1 %114, label %.lr.ph5, label %258 .lr.ph5: ; preds = %112 br label %115 115: ; preds = %.lr.ph5, %253 %116 = load i32, ptr %11, align 4 %117 = sitofp i32 %116 to double %118 = fdiv double %117, 1.000000e+01 store double %118, ptr %5, align 8 br label %119 119: ; preds = %132, %115 %120 = load i32, ptr %12, align 4 %121 = icmp sgt i32 %120, 0 br i1 %121, label %122, label %130 122: ; preds = %119 %123 = load double, ptr %5, align 8 %124 = load ptr, ptr %2, align 8 %125 = load i32, ptr %12, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds double, ptr %124, i64 %126 %128 = load double, ptr %127, align 8 %129 = fcmp olt double %123, %128 br label %130 130: ; preds = %122, %119 %131 = phi i1 [ false, %119 ], [ %129, %122 ] br i1 %131, label %132, label %135 132: ; preds = %130 %133 = load i32, ptr %12, align 4 %134 = add nsw i32 %133, -1 store i32 %134, ptr %12, align 4 br label %119, !llvm.loop !9 135: ; preds = %130 br label %136 136: ; preds = %152, %135 %137 = load i32, ptr %12, align 4 %138 = load i32, ptr %13, align 4 %139 = sub nsw i32 %138, 2 %140 = icmp slt i32 %137, %139 br i1 %140, label %141, label %150 141: ; preds = %136 %142 = load double, ptr %5, align 8 %143 = load ptr, ptr %2, align 8 %144 = load i32, ptr %12, align 4 %145 = add nsw i32 %144, 1 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds double, ptr %143, i64 %146 %148 = load double, ptr %147, align 8 %149 = fcmp ogt double %142, %148 br label %150 150: ; preds = %141, %136 %151 = phi i1 [ false, %136 ], [ %149, %141 ] br i1 %151, label %152, label %155 152: ; preds = %150 %153 = load i32, ptr %12, align 4 %154 = add nsw i32 %153, 1 store i32 %154, ptr %12, align 4 br label %136, !llvm.loop !10 155: ; preds = %150 %156 = load ptr, ptr %2, align 8 %157 = load i32, ptr %12, align 4 %158 = add nsw i32 %157, 1 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds double, ptr %156, i64 %159 %161 = load double, ptr %160, align 8 %162 = load ptr, ptr %2, align 8 %163 = load i32, ptr %12, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds double, ptr %162, i64 %164 %166 = load double, ptr %165, align 8 %167 = fsub double %161, %166 store double %167, ptr %14, align 8 %168 = load double, ptr %5, align 8 %169 = load ptr, ptr %2, align 8 %170 = load i32, ptr %12, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds double, ptr %169, i64 %171 %173 = load double, ptr %172, align 8 %174 = fsub double %168, %173 %175 = load double, ptr %14, align 8 %176 = fdiv double %174, %175 store double %176, ptr %16, align 8 %177 = load double, ptr %16, align 8 %178 = fsub double 1.000000e+00, %177 store double %178, ptr %15, align 8 %179 = load double, ptr %14, align 8 %180 = load double, ptr %14, align 8 %181 = fmul double %179, %180 %182 = fdiv double %181, 6.000000e+00 store double %182, ptr %19, align 8 %183 = load double, ptr %19, align 8 %184 = load double, ptr %15, align 8 %185 = load double, ptr %15, align 8 %186 = fmul double %184, %185 %187 = load double, ptr %15, align 8 %188 = load double, ptr %15, align 8 %189 = fneg double %188 %190 = call double @llvm.fmuladd.f64(double %186, double %187, double %189) %191 = fmul double %183, %190 store double %191, ptr %17, align 8 %192 = load double, ptr %19, align 8 %193 = load double, ptr %16, align 8 %194 = load double, ptr %16, align 8 %195 = fmul double %193, %194 %196 = load double, ptr %16, align 8 %197 = load double, ptr %16, align 8 %198 = fneg double %197 %199 = call double @llvm.fmuladd.f64(double %195, double %196, double %198) %200 = fmul double %192, %199 store double %200, ptr %18, align 8 %201 = load double, ptr %15, align 8 %202 = load ptr, ptr %3, align 8 %203 = load i32, ptr %12, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds double, ptr %202, i64 %204 %206 = load double, ptr %205, align 8 %207 = load double, ptr %16, align 8 %208 = load ptr, ptr %3, align 8 %209 = load i32, ptr %12, align 4 %210 = add nsw i32 %209, 1 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds double, ptr %208, i64 %211 %213 = load double, ptr %212, align 8 %214 = fmul double %207, %213 %215 = call double @llvm.fmuladd.f64(double %201, double %206, double %214) %216 = load double, ptr %17, align 8 %217 = load ptr, ptr %4, align 8 %218 = load i32, ptr %12, align 4 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds double, ptr %217, i64 %219 %221 = load double, ptr %220, align 8 %222 = call double @llvm.fmuladd.f64(double %216, double %221, double %215) %223 = load double, ptr %18, align 8 %224 = load ptr, ptr %4, align 8 %225 = load i32, ptr %12, align 4 %226 = add nsw i32 %225, 1 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds double, ptr %224, i64 %227 %229 = load double, ptr %228, align 8 %230 = call double @llvm.fmuladd.f64(double %223, double %229, double %222) store double %230, ptr %8, align 8 %231 = load i32, ptr @M_PI, align 4 %232 = load double, ptr %5, align 8 %233 = load double, ptr %5, align 8 %234 = fmul double %232, %233 %235 = call i32 @sqrt(double noundef %234) %236 = mul nsw i32 %231, %235 %237 = sitofp i32 %236 to double %238 = fdiv double %237, 2.000000e+00 store double %238, ptr %7, align 8 %239 = load double, ptr %7, align 8 %240 = fcmp une double %239, 0.000000e+00 br i1 %240, label %241, label %246 241: ; preds = %155 %242 = load double, ptr %7, align 8 %243 = call double @sin(double noundef %242) #4 %244 = load double, ptr %7, align 8 %245 = fdiv double %243, %244 br label %247 246: ; preds = %155 br label %247 247: ; preds = %246, %241 %248 = phi double [ %245, %241 ], [ 1.000000e+00, %246 ] store double %248, ptr %9, align 8 %249 = load double, ptr %7, align 8 %250 = load double, ptr %8, align 8 %251 = load double, ptr %9, align 8 %252 = call i32 (ptr, double, double, ...) @printf(ptr noundef @.str.1, double noundef %249, double noundef %250, double noundef %251) br label %253 253: ; preds = %247 %254 = load i32, ptr %11, align 4 %255 = add nsw i32 %254, 1 store i32 %255, ptr %11, align 4 %256 = load i32, ptr %11, align 4 %257 = icmp slt i32 %256, 101 br i1 %257, label %115, label %._crit_edge6, !llvm.loop !11 ._crit_edge6: ; preds = %253 br label %258 258: ; preds = %._crit_edge6, %112 %259 = load ptr, ptr %3, align 8 %260 = call i32 @free(ptr noundef %259) %261 = load ptr, ptr %4, align 8 %262 = call i32 @free(ptr noundef %261) %263 = load ptr, ptr %2, align 8 %264 = call i32 @free(ptr noundef %263) store i32 0, ptr %1, align 4 br label %265 265: ; preds = %258, %111 %266 = load i32, ptr %1, align 4 ret i32 %266 } declare i64 @malloc(i32 noundef) #1 declare i32 @sqrt(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #2 declare i32 @printf(ptr noundef, double noundef, double noundef, ...) #1 declare i64 @csp1d(ptr noundef, ptr noundef, i32 noundef, double noundef, double noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpbu2n47ut.c' source_filename = "/tmp/tmpbu2n47ut.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPPROTO_TCP = dso_local global i32 0, align 4 @TCP_NODELAY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_nodelay(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 1, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @IPPROTO_TCP, align 4 %6 = load i32, ptr @TCP_NODELAY, align 4 %7 = call i32 @setsockopt(i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %3, i32 noundef 4) ret i32 %7 } declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbu2n47ut.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPPROTO_TCP = dso_local global i32 0, align 4 @TCP_NODELAY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_nodelay(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 1, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @IPPROTO_TCP, align 4 %6 = load i32, ptr @TCP_NODELAY, align 4 %7 = call i32 @setsockopt(i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %3, i32 noundef 4) ret i32 %7 } declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp37mnscwc.c' source_filename = "/tmp/tmp37mnscwc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_GETFD = dso_local global i32 0, align 4 @F_SETFD = dso_local global i32 0, align 4 @FD_CLOEXEC = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @os_fd_set_cloexec(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i64, align 8 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 -1, ptr %2, align 4 br label %26 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr @F_GETFD, align 4 %11 = call i32 (i32, i32, ...) @fcntl(i32 noundef %9, i32 noundef %10) %12 = sext i32 %11 to i64 store i64 %12, ptr %4, align 8 %13 = load i64, ptr %4, align 8 %14 = icmp eq i64 %13, -1 br i1 %14, label %15, label %16 15: ; preds = %8 store i32 -1, ptr %2, align 4 br label %26 16: ; preds = %8 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr @F_SETFD, align 4 %19 = load i64, ptr %4, align 8 %20 = load i64, ptr @FD_CLOEXEC, align 8 %21 = or i64 %19, %20 %22 = call i32 (i32, i32, ...) @fcntl(i32 noundef %17, i32 noundef %18, i64 noundef %21) %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %25 24: ; preds = %16 store i32 -1, ptr %2, align 4 br label %26 25: ; preds = %16 store i32 0, ptr %2, align 4 br label %26 26: ; preds = %25, %24, %15, %7 %27 = load i32, ptr %2, align 4 ret i32 %27 } declare i32 @fcntl(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/tmp37mnscwc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_GETFD = dso_local global i32 0, align 4 @F_SETFD = dso_local global i32 0, align 4 @FD_CLOEXEC = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @os_fd_set_cloexec(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i64, align 8 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 -1, ptr %2, align 4 br label %26 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr @F_GETFD, align 4 %11 = call i32 (i32, i32, ...) @fcntl(i32 noundef %9, i32 noundef %10) %12 = sext i32 %11 to i64 store i64 %12, ptr %4, align 8 %13 = load i64, ptr %4, align 8 %14 = icmp eq i64 %13, -1 br i1 %14, label %15, label %16 15: ; preds = %8 store i32 -1, ptr %2, align 4 br label %26 16: ; preds = %8 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr @F_SETFD, align 4 %19 = load i64, ptr %4, align 8 %20 = load i64, ptr @FD_CLOEXEC, align 8 %21 = or i64 %19, %20 %22 = call i32 (i32, i32, ...) @fcntl(i32 noundef %17, i32 noundef %18, i64 noundef %21) %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %25 24: ; preds = %16 store i32 -1, ptr %2, align 4 br label %26 25: ; preds = %16 store i32 0, ptr %2, align 4 br label %26 26: ; preds = %25, %24, %15, %7 %27 = load i32, ptr %2, align 4 ret i32 %27 } declare i32 @fcntl(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/tmp36myvht6.c' source_filename = "/tmp/tmp36myvht6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"nombre del programa: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"numero de argumentos: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"argumento %d: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"California\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"Oregon\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"Washington\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"Texas\00", align 1 @__const.main.states = private unnamed_addr constant [4 x ptr] [ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6], align 16 @.str.7 = private unnamed_addr constant [15 x i8] c"Estado %d: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [4 x ptr], align 16 %8 = 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 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11) %13 = load i32, ptr %4, align 4 %14 = sub nsw i32 %13, 1 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14) store i32 1, ptr %6, align 4 br label %16 16: ; preds = %28, %2 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %31 20: ; preds = %16 %21 = load i32, ptr %6, align 4 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %22, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21, ptr noundef %26) br label %28 28: ; preds = %20 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 br label %16, !llvm.loop !6 31: ; preds = %16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.states, i64 32, i1 false) store i32 4, ptr %8, align 4 store i32 0, ptr %6, align 4 br label %32 32: ; preds = %43, %31 %33 = load i32, ptr %6, align 4 %34 = load i32, ptr %8, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %46 36: ; preds = %32 %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [4 x ptr], ptr %7, i64 0, i64 %39 %41 = load ptr, ptr %40, align 8 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %37, ptr noundef %41) br label %43 43: ; preds = %36 %44 = load i32, ptr %6, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %6, align 4 br label %32, !llvm.loop !8 46: ; preds = %32 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp36myvht6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"nombre del programa: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"numero de argumentos: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"argumento %d: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"California\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"Oregon\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"Washington\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"Texas\00", align 1 @__const.main.states = private unnamed_addr constant [4 x ptr] [ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6], align 16 @.str.7 = private unnamed_addr constant [15 x i8] c"Estado %d: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [4 x ptr], align 16 %8 = 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 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11) %13 = load i32, ptr %4, align 4 %14 = sub nsw i32 %13, 1 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14) store i32 1, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %33 .lr.ph: ; preds = %2 br label %19 19: ; preds = %.lr.ph, %27 %20 = load i32, ptr %6, align 4 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20, ptr noundef %25) br label %27 27: ; preds = %19 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %2 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.states, i64 32, i1 false) store i32 4, ptr %8, align 4 store i32 0, ptr %6, align 4 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %8, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %.lr.ph2, label %50 .lr.ph2: ; preds = %33 br label %37 37: ; preds = %.lr.ph2, %44 %38 = load i32, ptr %6, align 4 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [4 x ptr], ptr %7, i64 0, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %38, ptr noundef %42) br label %44 44: ; preds = %37 %45 = load i32, ptr %6, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %6, align 4 %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %8, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %37, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %44 br label %50 50: ; preds = %._crit_edge3, %33 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpw9aiz0pl.c' source_filename = "/tmp/tmpw9aiz0pl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"%s takes no arguments\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp sgt i32 %6, 1 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) store i32 1, ptr %3, align 4 br label %21 13: ; preds = %2 %14 = call i32 (...) @test_output_header() %15 = call i32 (...) @test_output_statements_complete() %16 = call i32 (...) @test_output_footer() %17 = call i32 (...) @test_output_add() %18 = call i32 (...) @test_output_subtract() %19 = call i32 (...) @test_output_multiply() %20 = call i32 (...) @test_output_divide() store i32 0, ptr %3, align 4 br label %21 21: ; preds = %13, %8 %22 = load i32, ptr %3, align 4 ret i32 %22 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @test_output_header(...) #1 declare i32 @test_output_statements_complete(...) #1 declare i32 @test_output_footer(...) #1 declare i32 @test_output_add(...) #1 declare i32 @test_output_subtract(...) #1 declare i32 @test_output_multiply(...) #1 declare i32 @test_output_divide(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw9aiz0pl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"%s takes no arguments\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp sgt i32 %6, 1 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) store i32 1, ptr %3, align 4 br label %21 13: ; preds = %2 %14 = call i32 (...) @test_output_header() %15 = call i32 (...) @test_output_statements_complete() %16 = call i32 (...) @test_output_footer() %17 = call i32 (...) @test_output_add() %18 = call i32 (...) @test_output_subtract() %19 = call i32 (...) @test_output_multiply() %20 = call i32 (...) @test_output_divide() store i32 0, ptr %3, align 4 br label %21 21: ; preds = %13, %8 %22 = load i32, ptr %3, align 4 ret i32 %22 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @test_output_header(...) #1 declare i32 @test_output_statements_complete(...) #1 declare i32 @test_output_footer(...) #1 declare i32 @test_output_add(...) #1 declare i32 @test_output_subtract(...) #1 declare i32 @test_output_multiply(...) #1 declare i32 @test_output_divide(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppw0n5u1v.c' source_filename = "/tmp/tmppw0n5u1v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"# include \22%[^\22]\22\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"[%99[^]]]\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c" %63[^= ] = %191[^\0A]\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [26 x i8] c"%s:%d: error: no section\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"%s:%d: syntax error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cfg_parse_file(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [256 x i8], align 16 %9 = alloca [64 x i8], align 16 %10 = alloca [192 x i8], align 16 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 %16 = load ptr, ptr %5, align 8 %17 = call ptr @fopen(ptr noundef %16, ptr noundef @.str) store ptr %17, ptr %11, align 8 %18 = icmp eq ptr null, %17 br i1 %18, label %19, label %20 19: ; preds = %2 store i32 -1, ptr %3, align 4 br label %146 20: ; preds = %2 store i32 0, ptr %12, align 4 %21 = load ptr, ptr %4, align 8 %22 = call ptr @cfg_get_domain(ptr noundef %21) store ptr %22, ptr %6, align 8 br label %23 23: ; preds = %142, %78, %54, %20 %24 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %25 = load ptr, ptr %11, align 8 %26 = call ptr @fgets(ptr noundef %24, i32 noundef 255, ptr noundef %25) %27 = icmp ne ptr null, %26 br i1 %27, label %28, label %143 28: ; preds = %23 %29 = load i32, ptr %12, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %12, align 4 %31 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %32 = getelementptr inbounds [192 x i8], ptr %10, i64 0, i64 0 %33 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %31, ptr noundef @.str.1, ptr noundef %32) %34 = icmp eq i32 1, %33 br i1 %34, label %35, label %63 35: ; preds = %28 %36 = load ptr, ptr %5, align 8 %37 = call i32 @strlen(ptr noundef %36) %38 = getelementptr inbounds [192 x i8], ptr %10, i64 0, i64 0 %39 = call i32 @strlen(ptr noundef %38) %40 = add nsw i32 %37, %39 %41 = call ptr @malloc(i32 noundef %40) store ptr %41, ptr %14, align 8 %42 = load ptr, ptr %14, align 8 %43 = load ptr, ptr %5, align 8 %44 = call i32 @strcpy(ptr noundef %42, ptr noundef %43) %45 = load ptr, ptr %14, align 8 %46 = call ptr @strrchr(ptr noundef %45, i8 noundef signext 47) store ptr %46, ptr %13, align 8 %47 = load ptr, ptr %13, align 8 %48 = icmp ne ptr %47, null br i1 %48, label %49, label %52 49: ; preds = %35 %50 = load ptr, ptr %13, align 8 %51 = getelementptr inbounds i8, ptr %50, i32 1 store ptr %51, ptr %13, align 8 br label %54 52: ; preds = %35 %53 = load ptr, ptr %14, align 8 store ptr %53, ptr %13, align 8 br label %54 54: ; preds = %52, %49 %55 = load ptr, ptr %13, align 8 %56 = getelementptr inbounds [192 x i8], ptr %10, i64 0, i64 0 %57 = call i32 @strcpy(ptr noundef %55, ptr noundef %56) %58 = load ptr, ptr %4, align 8 %59 = load ptr, ptr %14, align 8 %60 = call i32 @cfg_parse_file(ptr noundef %58, ptr noundef %59) %61 = load ptr, ptr %14, align 8 %62 = call i32 @free(ptr noundef %61) br label %23, !llvm.loop !6 63: ; preds = %28 %64 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %65 = load i8, ptr %64, align 16 %66 = sext i8 %65 to i32 %67 = icmp eq i32 %66, 10 br i1 %67, label %78, label %68 68: ; preds = %63 %69 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %70 = load i8, ptr %69, align 16 %71 = sext i8 %70 to i32 %72 = icmp eq i32 %71, 35 br i1 %72, label %78, label %73 73: ; preds = %68 %74 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %75 = load i8, ptr %74, align 16 %76 = sext i8 %75 to i32 %77 = icmp eq i32 %76, 37 br i1 %77, label %78, label %79 78: ; preds = %73, %68, %63 br label %23, !llvm.loop !6 79: ; preds = %73 %80 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %81 = getelementptr inbounds [192 x i8], ptr %10, i64 0, i64 0 %82 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %80, ptr noundef @.str.2, ptr noundef %81) %83 = icmp eq i32 1, %82 br i1 %83, label %84, label %88 84: ; preds = %79 %85 = load ptr, ptr %6, align 8 %86 = getelementptr inbounds [192 x i8], ptr %10, i64 0, i64 0 %87 = call ptr @cfg_get_section(ptr noundef %85, ptr noundef %86) store ptr %87, ptr %7, align 8 br label %142 88: ; preds = %79 %89 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %90 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0 %91 = getelementptr inbounds [192 x i8], ptr %10, i64 0, i64 0 %92 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %89, ptr noundef @.str.3, ptr noundef %90, ptr noundef %91) %93 = icmp eq i32 2, %92 br i1 %93, label %94, label %136 94: ; preds = %88 %95 = load ptr, ptr %7, align 8 %96 = icmp eq ptr null, %95 br i1 %96, label %97, label %102 97: ; preds = %94 %98 = load i32, ptr @stderr, align 4 %99 = load ptr, ptr %5, align 8 %100 = load i32, ptr %12, align 4 %101 = call i32 @fprintf(i32 noundef %98, ptr noundef @.str.4, ptr noundef %99, i32 noundef %100) br label %135 102: ; preds = %94 %103 = getelementptr inbounds [192 x i8], ptr %10, i64 0, i64 0 %104 = getelementptr inbounds [192 x i8], ptr %10, i64 0, i64 0 %105 = call i32 @strlen(ptr noundef %104) %106 = sext i32 %105 to i64 %107 = getelementptr inbounds i8, ptr %103, i64 %106 %108 = getelementptr inbounds i8, ptr %107, i64 -1 store ptr %108, ptr %15, align 8 br label %109 109: ; preds = %127, %102 %110 = load ptr, ptr %15, align 8 %111 = getelementptr inbounds [192 x i8], ptr %10, i64 0, i64 0 %112 = icmp ugt ptr %110, %111 br i1 %112, label %113, label %125 113: ; preds = %109 %114 = load ptr, ptr %15, align 8 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = icmp eq i32 %116, 32 br i1 %117, label %123, label %118 118: ; preds = %113 %119 = load ptr, ptr %15, align 8 %120 = load i8, ptr %119, align 1 %121 = sext i8 %120 to i32 %122 = icmp eq i32 %121, 9 br label %123 123: ; preds = %118, %113 %124 = phi i1 [ true, %113 ], [ %122, %118 ] br label %125 125: ; preds = %123, %109 %126 = phi i1 [ false, %109 ], [ %124, %123 ] br i1 %126, label %127, label %130 127: ; preds = %125 %128 = load ptr, ptr %15, align 8 %129 = getelementptr inbounds i8, ptr %128, i32 -1 store ptr %129, ptr %15, align 8 store i8 0, ptr %128, align 1 br label %109, !llvm.loop !8 130: ; preds = %125 %131 = load ptr, ptr %7, align 8 %132 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0 %133 = getelementptr inbounds [192 x i8], ptr %10, i64 0, i64 0 %134 = call i32 @cfg_set_entry(ptr noundef %131, ptr noundef %132, ptr noundef %133) br label %135 135: ; preds = %130, %97 br label %141 136: ; preds = %88 %137 = load i32, ptr @stderr, align 4 %138 = load ptr, ptr %5, align 8 %139 = load i32, ptr %12, align 4 %140 = call i32 @fprintf(i32 noundef %137, ptr noundef @.str.5, ptr noundef %138, i32 noundef %139) br label %141 141: ; preds = %136, %135 br label %142 142: ; preds = %141, %84 br label %23, !llvm.loop !6 143: ; preds = %23 %144 = load ptr, ptr %11, align 8 %145 = call i32 @fclose(ptr noundef %144) store i32 0, ptr %3, align 4 br label %146 146: ; preds = %143, %19 %147 = load i32, ptr %3, align 4 ret i32 %147 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @cfg_get_domain(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @free(ptr noundef) #1 declare ptr @cfg_get_section(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @cfg_set_entry(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppw0n5u1v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"# include \22%[^\22]\22\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"[%99[^]]]\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c" %63[^= ] = %191[^\0A]\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [26 x i8] c"%s:%d: error: no section\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"%s:%d: syntax error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cfg_parse_file(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [256 x i8], align 16 %9 = alloca [64 x i8], align 16 %10 = alloca [192 x i8], align 16 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 %16 = load ptr, ptr %5, align 8 %17 = call ptr @fopen(ptr noundef %16, ptr noundef @.str) store ptr %17, ptr %11, align 8 %18 = icmp eq ptr null, %17 br i1 %18, label %19, label %20 19: ; preds = %2 store i32 -1, ptr %3, align 4 br label %148 20: ; preds = %2 store i32 0, ptr %12, align 4 %21 = load ptr, ptr %4, align 8 %22 = call ptr @cfg_get_domain(ptr noundef %21) store ptr %22, ptr %6, align 8 %23 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %24 = load ptr, ptr %11, align 8 %25 = call ptr @fgets(ptr noundef %23, i32 noundef 255, ptr noundef %24) %26 = icmp ne ptr null, %25 br i1 %26, label %.lr.ph, label %145 .lr.ph: ; preds = %20 br label %27 27: ; preds = %.lr.ph, %.backedge %28 = load i32, ptr %12, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %12, align 4 %30 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %31 = getelementptr inbounds [192 x i8], ptr %10, i64 0, i64 0 %32 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %30, ptr noundef @.str.1, ptr noundef %31) %33 = icmp eq i32 1, %32 br i1 %33, label %34, label %65 34: ; preds = %27 %35 = load ptr, ptr %5, align 8 %36 = call i32 @strlen(ptr noundef %35) %37 = getelementptr inbounds [192 x i8], ptr %10, i64 0, i64 0 %38 = call i32 @strlen(ptr noundef %37) %39 = add nsw i32 %36, %38 %40 = call ptr @malloc(i32 noundef %39) store ptr %40, ptr %14, align 8 %41 = load ptr, ptr %14, align 8 %42 = load ptr, ptr %5, align 8 %43 = call i32 @strcpy(ptr noundef %41, ptr noundef %42) %44 = load ptr, ptr %14, align 8 %45 = call ptr @strrchr(ptr noundef %44, i8 noundef signext 47) store ptr %45, ptr %13, align 8 %46 = load ptr, ptr %13, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %48, label %51 48: ; preds = %34 %49 = load ptr, ptr %13, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %13, align 8 br label %53 51: ; preds = %34 %52 = load ptr, ptr %14, align 8 store ptr %52, ptr %13, align 8 br label %53 53: ; preds = %51, %48 %54 = load ptr, ptr %13, align 8 %55 = getelementptr inbounds [192 x i8], ptr %10, i64 0, i64 0 %56 = call i32 @strcpy(ptr noundef %54, ptr noundef %55) %57 = load ptr, ptr %4, align 8 %58 = load ptr, ptr %14, align 8 %59 = call i32 @cfg_parse_file(ptr noundef %57, ptr noundef %58) %60 = load ptr, ptr %14, align 8 %61 = call i32 @free(ptr noundef %60) br label %.backedge .backedge: ; preds = %53, %80, %144 %62 = load ptr, ptr %11, align 8 %63 = call ptr @fgets(ptr noundef %23, i32 noundef 255, ptr noundef %62) %64 = icmp ne ptr null, %63 br i1 %64, label %27, label %._crit_edge, !llvm.loop !6 65: ; preds = %27 %66 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %67 = load i8, ptr %66, align 16 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 10 br i1 %69, label %80, label %70 70: ; preds = %65 %71 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %72 = load i8, ptr %71, align 16 %73 = sext i8 %72 to i32 %74 = icmp eq i32 %73, 35 br i1 %74, label %80, label %75 75: ; preds = %70 %76 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %77 = load i8, ptr %76, align 16 %78 = sext i8 %77 to i32 %79 = icmp eq i32 %78, 37 br i1 %79, label %80, label %81 80: ; preds = %75, %70, %65 br label %.backedge 81: ; preds = %75 %82 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %83 = getelementptr inbounds [192 x i8], ptr %10, i64 0, i64 0 %84 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %82, ptr noundef @.str.2, ptr noundef %83) %85 = icmp eq i32 1, %84 br i1 %85, label %86, label %90 86: ; preds = %81 %87 = load ptr, ptr %6, align 8 %88 = getelementptr inbounds [192 x i8], ptr %10, i64 0, i64 0 %89 = call ptr @cfg_get_section(ptr noundef %87, ptr noundef %88) store ptr %89, ptr %7, align 8 br label %144 90: ; preds = %81 %91 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %92 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0 %93 = getelementptr inbounds [192 x i8], ptr %10, i64 0, i64 0 %94 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %91, ptr noundef @.str.3, ptr noundef %92, ptr noundef %93) %95 = icmp eq i32 2, %94 br i1 %95, label %96, label %138 96: ; preds = %90 %97 = load ptr, ptr %7, align 8 %98 = icmp eq ptr null, %97 br i1 %98, label %99, label %104 99: ; preds = %96 %100 = load i32, ptr @stderr, align 4 %101 = load ptr, ptr %5, align 8 %102 = load i32, ptr %12, align 4 %103 = call i32 @fprintf(i32 noundef %100, ptr noundef @.str.4, ptr noundef %101, i32 noundef %102) br label %137 104: ; preds = %96 %105 = getelementptr inbounds [192 x i8], ptr %10, i64 0, i64 0 %106 = getelementptr inbounds [192 x i8], ptr %10, i64 0, i64 0 %107 = call i32 @strlen(ptr noundef %106) %108 = sext i32 %107 to i64 %109 = getelementptr inbounds i8, ptr %105, i64 %108 %110 = getelementptr inbounds i8, ptr %109, i64 -1 store ptr %110, ptr %15, align 8 br label %111 111: ; preds = %129, %104 %112 = load ptr, ptr %15, align 8 %113 = getelementptr inbounds [192 x i8], ptr %10, i64 0, i64 0 %114 = icmp ugt ptr %112, %113 br i1 %114, label %115, label %127 115: ; preds = %111 %116 = load ptr, ptr %15, align 8 %117 = load i8, ptr %116, align 1 %118 = sext i8 %117 to i32 %119 = icmp eq i32 %118, 32 br i1 %119, label %125, label %120 120: ; preds = %115 %121 = load ptr, ptr %15, align 8 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = icmp eq i32 %123, 9 br label %125 125: ; preds = %120, %115 %126 = phi i1 [ true, %115 ], [ %124, %120 ] br label %127 127: ; preds = %125, %111 %128 = phi i1 [ false, %111 ], [ %126, %125 ] br i1 %128, label %129, label %132 129: ; preds = %127 %130 = load ptr, ptr %15, align 8 %131 = getelementptr inbounds i8, ptr %130, i32 -1 store ptr %131, ptr %15, align 8 store i8 0, ptr %130, align 1 br label %111, !llvm.loop !8 132: ; preds = %127 %133 = load ptr, ptr %7, align 8 %134 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0 %135 = getelementptr inbounds [192 x i8], ptr %10, i64 0, i64 0 %136 = call i32 @cfg_set_entry(ptr noundef %133, ptr noundef %134, ptr noundef %135) br label %137 137: ; preds = %132, %99 br label %143 138: ; preds = %90 %139 = load i32, ptr @stderr, align 4 %140 = load ptr, ptr %5, align 8 %141 = load i32, ptr %12, align 4 %142 = call i32 @fprintf(i32 noundef %139, ptr noundef @.str.5, ptr noundef %140, i32 noundef %141) br label %143 143: ; preds = %138, %137 br label %144 144: ; preds = %143, %86 br label %.backedge ._crit_edge: ; preds = %.backedge br label %145 145: ; preds = %._crit_edge, %20 %146 = load ptr, ptr %11, align 8 %147 = call i32 @fclose(ptr noundef %146) store i32 0, ptr %3, align 4 br label %148 148: ; preds = %145, %19 %149 = load i32, ptr %3, align 4 ret i32 %149 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @cfg_get_domain(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @free(ptr noundef) #1 declare ptr @cfg_get_section(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @cfg_set_entry(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp8gq86460.c' source_filename = "/tmp/tmp8gq86460.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 store i64 0, ptr %7, align 8 br label %8 8: ; preds = %18, %3 %9 = load i64, ptr %7, align 8 %10 = load i64, ptr %6, align 8 %11 = icmp ult i64 %9, %10 br i1 %11, label %12, label %21 12: ; preds = %8 %13 = load i32, ptr %5, align 4 %14 = trunc i32 %13 to i8 %15 = load ptr, ptr %4, align 8 %16 = load i64, ptr %7, align 8 %17 = getelementptr inbounds i8, ptr %15, i64 %16 store i8 %14, ptr %17, align 1 br label %18 18: ; preds = %12 %19 = load i64, ptr %7, align 8 %20 = add i64 %19, 1 store i64 %20, ptr %7, align 8 br label %8, !llvm.loop !6 21: ; preds = %8 %22 = load ptr, ptr %4, align 8 ret ptr %22 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp8gq86460.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 store i64 0, ptr %7, align 8 %8 = load i64, ptr %7, align 8 %9 = load i64, ptr %6, align 8 %10 = icmp ult i64 %8, %9 br i1 %10, label %.lr.ph, label %23 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %17 %12 = load i32, ptr %5, align 4 %13 = trunc i32 %12 to i8 %14 = load ptr, ptr %4, align 8 %15 = load i64, ptr %7, align 8 %16 = getelementptr inbounds i8, ptr %14, i64 %15 store i8 %13, ptr %16, align 1 br label %17 17: ; preds = %11 %18 = load i64, ptr %7, align 8 %19 = add i64 %18, 1 store i64 %19, ptr %7, align 8 %20 = load i64, ptr %7, align 8 %21 = load i64, ptr %6, align 8 %22 = icmp ult i64 %20, %21 br i1 %22, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %3 %24 = load ptr, ptr %4, align 8 ret ptr %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpup8sqq54.c' source_filename = "/tmp/tmpup8sqq54.c" target datalayout = "e-m:e-p270: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/tmpup8sqq54.c" target datalayout = "e-m:e-p270: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/tmp7u6d75gg.c' source_filename = "/tmp/tmp7u6d75gg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec_circular_lmsi16(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %9, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load ptr, ptr %7, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 0 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %9, align 4 %19 = sub nsw i32 %17, %18 %20 = load i32, ptr %10, align 4 %21 = call i32 @vec_lmsi16(ptr noundef %14, ptr noundef %16, i32 noundef %19, i32 noundef %20) %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds i32, ptr %22, i64 0 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %9, align 4 %27 = sub nsw i32 %25, %26 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %24, i64 %28 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %10, align 4 %32 = call i32 @vec_lmsi16(ptr noundef %23, ptr noundef %29, i32 noundef %30, i32 noundef %31) ret void } declare i32 @vec_lmsi16(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7u6d75gg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec_circular_lmsi16(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %9, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load ptr, ptr %7, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 0 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %9, align 4 %19 = sub nsw i32 %17, %18 %20 = load i32, ptr %10, align 4 %21 = call i32 @vec_lmsi16(ptr noundef %14, ptr noundef %16, i32 noundef %19, i32 noundef %20) %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds i32, ptr %22, i64 0 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %9, align 4 %27 = sub nsw i32 %25, %26 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %24, i64 %28 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %10, align 4 %32 = call i32 @vec_lmsi16(ptr noundef %23, ptr noundef %29, i32 noundef %30, i32 noundef %31) ret void } declare i32 @vec_lmsi16(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzht6c11y.c' source_filename = "/tmp/tmpzht6c11y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alloc2d_int(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 8 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %6, align 8 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = mul nsw i32 %13, %14 %16 = call i64 @calloc(i32 noundef %15, i32 noundef 4) %17 = inttoptr i64 %16 to ptr %18 = load ptr, ptr %6, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 store ptr %17, ptr %19, align 8 store i32 1, ptr %5, align 4 br label %20 20: ; preds = %37, %2 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %40 24: ; preds = %20 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 0 %27 = load ptr, ptr %26, align 8 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %4, align 4 %30 = mul nsw i32 %28, %29 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %27, i64 %31 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr %5, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 store ptr %32, ptr %36, align 8 br label %37 37: ; preds = %24 %38 = load i32, ptr %5, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %5, align 4 br label %20, !llvm.loop !6 40: ; preds = %20 %41 = load ptr, ptr %6, align 8 ret ptr %41 } declare i64 @malloc(i32 noundef) #1 declare i64 @calloc(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/tmpzht6c11y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alloc2d_int(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 8 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %6, align 8 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = mul nsw i32 %13, %14 %16 = call i64 @calloc(i32 noundef %15, i32 noundef 4) %17 = inttoptr i64 %16 to ptr %18 = load ptr, ptr %6, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 store ptr %17, ptr %19, align 8 store i32 1, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %42 .lr.ph: ; preds = %2 br label %23 23: ; preds = %.lr.ph, %36 %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 0 %26 = load ptr, ptr %25, align 8 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %4, align 4 %29 = mul nsw i32 %27, %28 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %26, i64 %30 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %32, i64 %34 store ptr %31, ptr %35, align 8 br label %36 36: ; preds = %23 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %5, align 4 %39 = load i32, ptr %5, align 4 %40 = load i32, ptr %3, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %42 42: ; preds = %._crit_edge, %2 %43 = load ptr, ptr %6, align 8 ret ptr %43 } declare i64 @malloc(i32 noundef) #1 declare i64 @calloc(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/tmp9r3xrx8v.c' source_filename = "/tmp/tmp9r3xrx8v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @silc_file_open_mode(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = call i32 @open(ptr noundef %8, i32 noundef %9, i32 noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 ret i32 %12 } declare i32 @open(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/tmp9r3xrx8v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @silc_file_open_mode(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = call i32 @open(ptr noundef %8, i32 noundef %9, i32 noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 ret i32 %12 } declare i32 @open(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/tmphevtengr.c' source_filename = "/tmp/tmphevtengr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @next_quaddobl_solution(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 508, ptr noundef %2, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, 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/tmphevtengr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @next_quaddobl_solution(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 508, ptr noundef %2, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, 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/tmpw0dvzdj0.c' source_filename = "/tmp/tmpw0dvzdj0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"result\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"input strings:\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s \00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [20 x i8], align 16 %4 = alloca i8, align 1 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %5, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @gets(ptr noundef %8) %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %12 = call i32 @fprintf(ptr noundef %10, ptr noundef @.str.3, ptr noundef %11) %13 = call signext i8 (...) @getchar() store i8 %13, ptr %4, align 1 %14 = load ptr, ptr %5, align 8 %15 = call i32 @fclose(ptr noundef %14) %16 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.4) store ptr %16, ptr %5, align 8 br label %17 17: ; preds = %60, %0 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %20 = call i64 @fscanf(ptr noundef %18, ptr noundef @.str.5, ptr noundef %19) %21 = load i64, ptr @EOF, align 8 %22 = icmp ne i64 %20, %21 br i1 %22, label %23, label %63 23: ; preds = %17 store i32 0, ptr %2, align 4 br label %24 24: ; preds = %57, %23 %25 = load i32, ptr %2, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %60 31: ; preds = %24 %32 = load i32, ptr %2, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp sge i32 %36, 97 br i1 %37, label %38, label %56 38: ; preds = %31 %39 = load i32, ptr %2, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp sle i32 %43, 122 br i1 %44, label %45, label %56 45: ; preds = %38 %46 = load i32, ptr %2, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %47 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = sub nsw i32 %50, 32 %52 = trunc i32 %51 to i8 %53 = load i32, ptr %2, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %54 store i8 %52, ptr %55, align 1 br label %56 56: ; preds = %45, %38, %31 br label %57 57: ; preds = %56 %58 = load i32, ptr %2, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %2, align 4 br label %24, !llvm.loop !6 60: ; preds = %24 %61 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %61) br label %17, !llvm.loop !8 63: ; preds = %17 %64 = load ptr, ptr %5, align 8 %65 = call i32 @fclose(ptr noundef %64) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @gets(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare signext i8 @getchar(...) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw0dvzdj0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"result\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"input strings:\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s \00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [20 x i8], align 16 %4 = alloca i8, align 1 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %5, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @gets(ptr noundef %8) %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %12 = call i32 @fprintf(ptr noundef %10, ptr noundef @.str.3, ptr noundef %11) %13 = call signext i8 (...) @getchar() store i8 %13, ptr %4, align 1 %14 = load ptr, ptr %5, align 8 %15 = call i32 @fclose(ptr noundef %14) %16 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.4) store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %19 = call i64 @fscanf(ptr noundef %17, ptr noundef @.str.5, ptr noundef %18) %20 = load i64, ptr @EOF, align 8 %21 = icmp ne i64 %19, %20 br i1 %21, label %.lr.ph2, label %71 .lr.ph2: ; preds = %0 br label %22 22: ; preds = %.lr.ph2, %64 store i32 0, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 0 br i1 %28, label %.lr.ph, label %64 .lr.ph: ; preds = %22 br label %29 29: ; preds = %.lr.ph, %55 %30 = load i32, ptr %2, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp sge i32 %34, 97 br i1 %35, label %36, label %54 36: ; preds = %29 %37 = load i32, ptr %2, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp sle i32 %41, 122 br i1 %42, label %43, label %54 43: ; preds = %36 %44 = load i32, ptr %2, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = sub nsw i32 %48, 32 %50 = trunc i32 %49 to i8 %51 = load i32, ptr %2, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %52 store i8 %50, ptr %53, align 1 br label %54 54: ; preds = %43, %36, %29 br label %55 55: ; preds = %54 %56 = load i32, ptr %2, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %2, align 4 %58 = load i32, ptr %2, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp ne i32 %62, 0 br i1 %63, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %55 br label %64 64: ; preds = %._crit_edge, %22 %65 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %65) %67 = load ptr, ptr %5, align 8 %68 = call i64 @fscanf(ptr noundef %67, ptr noundef @.str.5, ptr noundef %18) %69 = load i64, ptr @EOF, align 8 %70 = icmp ne i64 %68, %69 br i1 %70, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %64 br label %71 71: ; preds = %._crit_edge3, %0 %72 = load ptr, ptr %5, align 8 %73 = call i32 @fclose(ptr noundef %72) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @gets(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare signext i8 @getchar(...) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmph6h3909v.c' source_filename = "/tmp/tmph6h3909v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello world!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { br label %1 1: ; preds = %1, %0 %2 = call i32 @printf(ptr noundef @.str) br label %1 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph6h3909v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello world!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { br label %1 1: ; preds = %1, %0 %2 = call i32 @printf(ptr noundef @.str) br label %1 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnbgxvral.c' source_filename = "/tmp/tmpnbgxvral.c" target datalayout = "e-m:e-p270: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/tmpnbgxvral.c" target datalayout = "e-m:e-p270: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/tmpkjzdj7l5.c' source_filename = "/tmp/tmpkjzdj7l5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Value of var is: %d \0A \00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Address of var is: %p \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 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %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/tmpkjzdj7l5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Value of var is: %d \0A \00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Address of var is: %p \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 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %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/tmp79k_8lix.c' source_filename = "/tmp/tmp79k_8lix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Candidato A:%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Candidato B:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mostra_candidato() #0 { %1 = call i32 @printf(ptr noundef @.str, i32 noundef 42) %2 = call i32 @printf(ptr noundef @.str.1, i32 noundef 18) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp79k_8lix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Candidato A:%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Candidato B:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mostra_candidato() #0 { %1 = call i32 @printf(ptr noundef @.str, i32 noundef 42) %2 = call i32 @printf(ptr noundef @.str.1, i32 noundef 18) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps2bbi3h8.c' source_filename = "/tmp/tmps2bbi3h8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [60 x i8] c"Usage: cpu [-h?rai] [-s seconds] [-c count] [-d <device>]\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c" -h? this help\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c" -v print version info\0A\00", align 1 @.str.3 = private unnamed_addr constant [40 x i8] c" -r repeated output\0A\00", align 1 @.str.4 = private unnamed_addr constant [45 x i8] c" -a print system average\0A\00", align 1 @.str.5 = private unnamed_addr constant [55 x i8] c" -i idle measurement via busy loop\0A\00", align 1 @.str.6 = private unnamed_addr constant [43 x i8] c" -c count repeat count times\0A\00", align 1 @.str.7 = private unnamed_addr constant [47 x i8] c" -s seconds seconds between output\0A\00", align 1 @.str.8 = private unnamed_addr constant [64 x i8] c" -d <device> proc device to use (default /proc/stat)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str) %7 = load ptr, ptr %3, align 8 %8 = call i32 @fprintf(ptr noundef %7, ptr noundef @.str.1) %9 = load ptr, ptr %3, align 8 %10 = call i32 @fprintf(ptr noundef %9, ptr noundef @.str.2) %11 = load ptr, ptr %3, align 8 %12 = call i32 @fprintf(ptr noundef %11, ptr noundef @.str.3) %13 = load ptr, ptr %3, align 8 %14 = call i32 @fprintf(ptr noundef %13, ptr noundef @.str.4) %15 = load ptr, ptr %3, align 8 %16 = call i32 @fprintf(ptr noundef %15, ptr noundef @.str.5) %17 = load ptr, ptr %3, align 8 %18 = call i32 @fprintf(ptr noundef %17, ptr noundef @.str.6) %19 = load ptr, ptr %3, align 8 %20 = call i32 @fprintf(ptr noundef %19, ptr noundef @.str.7) %21 = load ptr, ptr %3, align 8 %22 = call i32 @fprintf(ptr noundef %21, ptr noundef @.str.8) %23 = load i32, ptr %4, align 4 %24 = call i32 @exit(i32 noundef %23) #3 unreachable } declare i32 @fprintf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps2bbi3h8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [60 x i8] c"Usage: cpu [-h?rai] [-s seconds] [-c count] [-d <device>]\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c" -h? this help\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c" -v print version info\0A\00", align 1 @.str.3 = private unnamed_addr constant [40 x i8] c" -r repeated output\0A\00", align 1 @.str.4 = private unnamed_addr constant [45 x i8] c" -a print system average\0A\00", align 1 @.str.5 = private unnamed_addr constant [55 x i8] c" -i idle measurement via busy loop\0A\00", align 1 @.str.6 = private unnamed_addr constant [43 x i8] c" -c count repeat count times\0A\00", align 1 @.str.7 = private unnamed_addr constant [47 x i8] c" -s seconds seconds between output\0A\00", align 1 @.str.8 = private unnamed_addr constant [64 x i8] c" -d <device> proc device to use (default /proc/stat)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str) %7 = load ptr, ptr %3, align 8 %8 = call i32 @fprintf(ptr noundef %7, ptr noundef @.str.1) %9 = load ptr, ptr %3, align 8 %10 = call i32 @fprintf(ptr noundef %9, ptr noundef @.str.2) %11 = load ptr, ptr %3, align 8 %12 = call i32 @fprintf(ptr noundef %11, ptr noundef @.str.3) %13 = load ptr, ptr %3, align 8 %14 = call i32 @fprintf(ptr noundef %13, ptr noundef @.str.4) %15 = load ptr, ptr %3, align 8 %16 = call i32 @fprintf(ptr noundef %15, ptr noundef @.str.5) %17 = load ptr, ptr %3, align 8 %18 = call i32 @fprintf(ptr noundef %17, ptr noundef @.str.6) %19 = load ptr, ptr %3, align 8 %20 = call i32 @fprintf(ptr noundef %19, ptr noundef @.str.7) %21 = load ptr, ptr %3, align 8 %22 = call i32 @fprintf(ptr noundef %21, ptr noundef @.str.8) %23 = load i32, ptr %4, align 4 %24 = call i32 @exit(i32 noundef %23) #3 unreachable } declare i32 @fprintf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdajvn1yq.c' source_filename = "/tmp/tmpdajvn1yq.c" target datalayout = "e-m:e-p270: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/tmpdajvn1yq.c" target datalayout = "e-m:e-p270: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/tmp1nrydwo_.c' source_filename = "/tmp/tmp1nrydwo_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"server name\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"max fragment length\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"client certificate URL\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"trusted CA keys\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"truncated HMAC\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"status request\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"user mapping\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"client authz\00", align 1 @.str.8 = private unnamed_addr constant [13 x i8] c"server authz\00", align 1 @.str.9 = private unnamed_addr constant [10 x i8] c"cert type\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"elliptic curves\00", align 1 @.str.11 = private unnamed_addr constant [17 x i8] c"EC point formats\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"SRP\00", align 1 @.str.13 = private unnamed_addr constant [21 x i8] c"signature algorithms\00", align 1 @.str.14 = private unnamed_addr constant [9 x i8] c"use SRTP\00", align 1 @.str.15 = private unnamed_addr constant [10 x i8] c"heartbeat\00", align 1 @.str.16 = private unnamed_addr constant [15 x i8] c"session ticket\00", align 1 @.str.17 = private unnamed_addr constant [19 x i8] c"renegotiation info\00", align 1 @.str.18 = private unnamed_addr constant [8 x i8] c"unknown\00", align 1 @.str.19 = private unnamed_addr constant [39 x i8] c"TLS %s extension \22%s\22 (id=%d), len=%d\0A\00", align 1 @.str.20 = private unnamed_addr constant [7 x i8] c"server\00", align 1 @.str.21 = private unnamed_addr constant [7 x i8] c"client\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tlsext_cb(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 %15 = load ptr, ptr %12, align 8 store ptr %15, ptr %13, align 8 %16 = load i32, ptr %9, align 4 switch i32 %16, label %35 [ i32 136, label %17 i32 139, label %18 i32 143, label %19 i32 130, label %20 i32 131, label %21 i32 132, label %22 i32 128, label %23 i32 144, label %24 i32 137, label %25 i32 145, label %26 i32 141, label %27 i32 142, label %28 i32 133, label %29 i32 134, label %30 i32 129, label %31 i32 140, label %32 i32 135, label %33 i32 138, label %34 ] 17: ; preds = %6 store ptr @.str, ptr %14, align 8 br label %36 18: ; preds = %6 store ptr @.str.1, ptr %14, align 8 br label %36 19: ; preds = %6 store ptr @.str.2, ptr %14, align 8 br label %36 20: ; preds = %6 store ptr @.str.3, ptr %14, align 8 br label %36 21: ; preds = %6 store ptr @.str.4, ptr %14, align 8 br label %36 22: ; preds = %6 store ptr @.str.5, ptr %14, align 8 br label %36 23: ; preds = %6 store ptr @.str.6, ptr %14, align 8 br label %36 24: ; preds = %6 store ptr @.str.7, ptr %14, align 8 br label %36 25: ; preds = %6 store ptr @.str.8, ptr %14, align 8 br label %36 26: ; preds = %6 store ptr @.str.9, ptr %14, align 8 br label %36 27: ; preds = %6 store ptr @.str.10, ptr %14, align 8 br label %36 28: ; preds = %6 store ptr @.str.11, ptr %14, align 8 br label %36 29: ; preds = %6 store ptr @.str.12, ptr %14, align 8 br label %36 30: ; preds = %6 store ptr @.str.13, ptr %14, align 8 br label %36 31: ; preds = %6 store ptr @.str.14, ptr %14, align 8 br label %36 32: ; preds = %6 store ptr @.str.15, ptr %14, align 8 br label %36 33: ; preds = %6 store ptr @.str.16, ptr %14, align 8 br label %36 34: ; preds = %6 store ptr @.str.17, ptr %14, align 8 br label %36 35: ; preds = %6 store ptr @.str.18, ptr %14, align 8 br label %36 36: ; preds = %35, %34, %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17 %37 = load ptr, ptr %13, align 8 %38 = load i32, ptr %8, align 4 %39 = icmp ne i32 %38, 0 %40 = zext i1 %39 to i64 %41 = select i1 %39, ptr @.str.20, ptr @.str.21 %42 = load ptr, ptr %14, align 8 %43 = load i32, ptr %9, align 4 %44 = load i32, ptr %11, align 4 %45 = call i32 @BIO_printf(ptr noundef %37, ptr noundef @.str.19, ptr noundef %41, ptr noundef %42, i32 noundef %43, i32 noundef %44) %46 = load ptr, ptr %13, align 8 %47 = load ptr, ptr %10, align 8 %48 = load i32, ptr %11, align 4 %49 = call i32 @BIO_dump(ptr noundef %46, ptr noundef %47, i32 noundef %48) %50 = load ptr, ptr %13, align 8 %51 = call i32 @BIO_flush(ptr noundef %50) ret void } declare i32 @BIO_printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @BIO_dump(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @BIO_flush(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1nrydwo_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"server name\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"max fragment length\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"client certificate URL\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"trusted CA keys\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"truncated HMAC\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"status request\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"user mapping\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"client authz\00", align 1 @.str.8 = private unnamed_addr constant [13 x i8] c"server authz\00", align 1 @.str.9 = private unnamed_addr constant [10 x i8] c"cert type\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"elliptic curves\00", align 1 @.str.11 = private unnamed_addr constant [17 x i8] c"EC point formats\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"SRP\00", align 1 @.str.13 = private unnamed_addr constant [21 x i8] c"signature algorithms\00", align 1 @.str.14 = private unnamed_addr constant [9 x i8] c"use SRTP\00", align 1 @.str.15 = private unnamed_addr constant [10 x i8] c"heartbeat\00", align 1 @.str.16 = private unnamed_addr constant [15 x i8] c"session ticket\00", align 1 @.str.17 = private unnamed_addr constant [19 x i8] c"renegotiation info\00", align 1 @.str.18 = private unnamed_addr constant [8 x i8] c"unknown\00", align 1 @.str.19 = private unnamed_addr constant [39 x i8] c"TLS %s extension \22%s\22 (id=%d), len=%d\0A\00", align 1 @.str.20 = private unnamed_addr constant [7 x i8] c"server\00", align 1 @.str.21 = private unnamed_addr constant [7 x i8] c"client\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tlsext_cb(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 %15 = load ptr, ptr %12, align 8 store ptr %15, ptr %13, align 8 %16 = load i32, ptr %9, align 4 switch i32 %16, label %35 [ i32 136, label %17 i32 139, label %18 i32 143, label %19 i32 130, label %20 i32 131, label %21 i32 132, label %22 i32 128, label %23 i32 144, label %24 i32 137, label %25 i32 145, label %26 i32 141, label %27 i32 142, label %28 i32 133, label %29 i32 134, label %30 i32 129, label %31 i32 140, label %32 i32 135, label %33 i32 138, label %34 ] 17: ; preds = %6 store ptr @.str, ptr %14, align 8 br label %36 18: ; preds = %6 store ptr @.str.1, ptr %14, align 8 br label %36 19: ; preds = %6 store ptr @.str.2, ptr %14, align 8 br label %36 20: ; preds = %6 store ptr @.str.3, ptr %14, align 8 br label %36 21: ; preds = %6 store ptr @.str.4, ptr %14, align 8 br label %36 22: ; preds = %6 store ptr @.str.5, ptr %14, align 8 br label %36 23: ; preds = %6 store ptr @.str.6, ptr %14, align 8 br label %36 24: ; preds = %6 store ptr @.str.7, ptr %14, align 8 br label %36 25: ; preds = %6 store ptr @.str.8, ptr %14, align 8 br label %36 26: ; preds = %6 store ptr @.str.9, ptr %14, align 8 br label %36 27: ; preds = %6 store ptr @.str.10, ptr %14, align 8 br label %36 28: ; preds = %6 store ptr @.str.11, ptr %14, align 8 br label %36 29: ; preds = %6 store ptr @.str.12, ptr %14, align 8 br label %36 30: ; preds = %6 store ptr @.str.13, ptr %14, align 8 br label %36 31: ; preds = %6 store ptr @.str.14, ptr %14, align 8 br label %36 32: ; preds = %6 store ptr @.str.15, ptr %14, align 8 br label %36 33: ; preds = %6 store ptr @.str.16, ptr %14, align 8 br label %36 34: ; preds = %6 store ptr @.str.17, ptr %14, align 8 br label %36 35: ; preds = %6 store ptr @.str.18, ptr %14, align 8 br label %36 36: ; preds = %35, %34, %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17 %37 = load ptr, ptr %13, align 8 %38 = load i32, ptr %8, align 4 %39 = icmp ne i32 %38, 0 %40 = zext i1 %39 to i64 %41 = select i1 %39, ptr @.str.20, ptr @.str.21 %42 = load ptr, ptr %14, align 8 %43 = load i32, ptr %9, align 4 %44 = load i32, ptr %11, align 4 %45 = call i32 @BIO_printf(ptr noundef %37, ptr noundef @.str.19, ptr noundef %41, ptr noundef %42, i32 noundef %43, i32 noundef %44) %46 = load ptr, ptr %13, align 8 %47 = load ptr, ptr %10, align 8 %48 = load i32, ptr %11, align 4 %49 = call i32 @BIO_dump(ptr noundef %46, ptr noundef %47, i32 noundef %48) %50 = load ptr, ptr %13, align 8 %51 = call i32 @BIO_flush(ptr noundef %50) ret void } declare i32 @BIO_printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @BIO_dump(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @BIO_flush(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfw4q8ijt.c' source_filename = "/tmp/tmpfw4q8ijt.c" target datalayout = "e-m:e-p270: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/tmpfw4q8ijt.c" target datalayout = "e-m:e-p270: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/tmprgbwzbip.c' source_filename = "/tmp/tmprgbwzbip.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"/%%DCN%3u%%/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @nmdc_string_unescape(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %3, align 8 store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %4, align 4 %13 = zext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 store ptr %14, ptr %8, align 8 br label %15 15: ; preds = %42, %2 %16 = load ptr, ptr %6, align 8 %17 = load ptr, ptr %8, align 8 %18 = icmp ult ptr %16, %17 br i1 %18, label %19, label %47 19: ; preds = %15 %20 = load ptr, ptr %6, align 8 %21 = load i8, ptr %20, align 1 %22 = load ptr, ptr %7, align 8 store i8 %21, ptr %22, align 1 %23 = load ptr, ptr %6, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 47 br i1 %26, label %27, label %28 27: ; preds = %19 br label %42 28: ; preds = %19 %29 = load ptr, ptr %6, align 8 %30 = call i32 @sscanf(ptr noundef %29, ptr noundef @.str, ptr noundef %5) %31 = icmp ne i32 %30, 0 br i1 %31, label %33, label %32 32: ; preds = %28 br label %42 33: ; preds = %28 %34 = load i32, ptr %5, align 4 %35 = trunc i32 %34 to i8 %36 = zext i8 %35 to i32 %37 = and i32 %36, 127 %38 = trunc i32 %37 to i8 %39 = load ptr, ptr %7, align 8 store i8 %38, ptr %39, align 1 %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 9 store ptr %41, ptr %6, align 8 br label %42 42: ; preds = %33, %32, %27 %43 = load ptr, ptr %6, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %6, align 8 %45 = load ptr, ptr %7, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %7, align 8 br label %15, !llvm.loop !6 47: ; preds = %15 %48 = load ptr, ptr %7, align 8 store i8 0, ptr %48, align 1 %49 = load ptr, ptr %7, align 8 %50 = load ptr, ptr %3, align 8 %51 = ptrtoint ptr %49 to i64 %52 = ptrtoint ptr %50 to i64 %53 = sub i64 %51, %52 %54 = trunc i64 %53 to i32 ret i32 %54 } declare i32 @sscanf(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/tmprgbwzbip.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"/%%DCN%3u%%/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @nmdc_string_unescape(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %3, align 8 store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %4, align 4 %13 = zext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 store ptr %14, ptr %8, align 8 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %8, align 8 %17 = icmp ult ptr %15, %16 br i1 %17, label %.lr.ph, label %49 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %41 %19 = load ptr, ptr %6, align 8 %20 = load i8, ptr %19, align 1 %21 = load ptr, ptr %7, align 8 store i8 %20, ptr %21, align 1 %22 = load ptr, ptr %6, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 47 br i1 %25, label %26, label %27 26: ; preds = %18 br label %41 27: ; preds = %18 %28 = load ptr, ptr %6, align 8 %29 = call i32 @sscanf(ptr noundef %28, ptr noundef @.str, ptr noundef %5) %30 = icmp ne i32 %29, 0 br i1 %30, label %32, label %31 31: ; preds = %27 br label %41 32: ; preds = %27 %33 = load i32, ptr %5, align 4 %34 = trunc i32 %33 to i8 %35 = zext i8 %34 to i32 %36 = and i32 %35, 127 %37 = trunc i32 %36 to i8 %38 = load ptr, ptr %7, align 8 store i8 %37, ptr %38, align 1 %39 = load ptr, ptr %6, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 9 store ptr %40, ptr %6, align 8 br label %41 41: ; preds = %32, %31, %26 %42 = load ptr, ptr %6, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 1 store ptr %43, ptr %6, align 8 %44 = load ptr, ptr %7, align 8 %45 = getelementptr inbounds i8, ptr %44, i32 1 store ptr %45, ptr %7, align 8 %46 = load ptr, ptr %6, align 8 %47 = load ptr, ptr %8, align 8 %48 = icmp ult ptr %46, %47 br i1 %48, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %49 49: ; preds = %._crit_edge, %2 %50 = load ptr, ptr %7, align 8 store i8 0, ptr %50, align 1 %51 = load ptr, ptr %7, align 8 %52 = load ptr, ptr %3, align 8 %53 = ptrtoint ptr %51 to i64 %54 = ptrtoint ptr %52 to i64 %55 = sub i64 %53, %54 %56 = trunc i64 %55 to i32 ret i32 %56 } declare i32 @sscanf(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/tmpzivpp_nc.c' source_filename = "/tmp/tmpzivpp_nc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am a simple \00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"computer.\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"My favorite number is %d because it is first.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %9 = load i32, ptr %6, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9) 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/tmpzivpp_nc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am a simple \00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"computer.\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"My favorite number is %d because it is first.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %9 = load i32, ptr %6, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9) 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/tmpblmug007.c' source_filename = "/tmp/tmpblmug007.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [119 x i8] c"\D0\B2\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D1\86\D0\B5\D0\BB\D1\8B\D0\B5 i, j, k, \D0\BE\D1\82\D0\BB\D0\B8\D1\87\D0\BD\D1\8B\D0\B5 \D0\BE\D1\82 0 \D0\B8 \D0\B4\D0\B5\D0\B9\D1\81\D1\82\D0\B2\D0\B8\D1\82\D0\B5\D0\BB\D1\8C\D0\BD\D1\8B\D0\B5 m \D0\B8 n \D0\BD\D0\B5 \D1\80\D0\B0\D0\B2\D0\BD\D0\BE\D0\B5 0\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"%d\0A%d\0A%d\0A%f\0A%f\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"%d\0A%d\0A%d\0A%d\0A%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"V=%f\0A W=%\0A Z = %\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store float 0.000000e+00, ptr %9, align 4 br label %10 10: ; preds = %21, %0 %11 = load i32, ptr %2, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %19, label %13 13: ; preds = %10 %14 = load i32, ptr %3, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %13 %17 = load i32, ptr %4, align 4 %18 = icmp eq i32 %17, 0 br label %19 19: ; preds = %16, %13, %10 %20 = phi i1 [ true, %13 ], [ true, %10 ], [ %18, %16 ] br i1 %20, label %21, label %24 21: ; preds = %19 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str) %23 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) br label %10, !llvm.loop !6 24: ; preds = %19 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = load float, ptr %5, align 4 %29 = fpext float %28 to double %30 = load float, ptr %6, align 4 %31 = fpext float %30 to double %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25, i32 noundef %26, i32 noundef %27, double noundef %29, double noundef %31) %33 = load i32, ptr %2, align 4 %34 = sdiv i32 110000, %33 %35 = load i32, ptr %2, align 4 %36 = load i32, ptr %3, align 4 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %36, %37 %39 = sdiv i32 %35, %38 %40 = add nsw i32 %34, %39 %41 = load i32, ptr %3, align 4 %42 = load i32, ptr %4, align 4 %43 = mul nsw i32 %41, %42 %44 = load i32, ptr %2, align 4 %45 = sdiv i32 %43, %44 %46 = add nsw i32 %40, %45 %47 = sitofp i32 %46 to float store float %47, ptr %7, align 4 %48 = load i32, ptr %2, align 4 %49 = sitofp i32 %48 to float %50 = load float, ptr %5, align 4 %51 = load float, ptr %6, align 4 %52 = fdiv float %50, %51 %53 = fadd float %49, %52 %54 = load i32, ptr %3, align 4 %55 = load i32, ptr %2, align 4 %56 = load i32, ptr %4, align 4 %57 = sdiv i32 %55, %56 %58 = add nsw i32 %54, %57 %59 = sitofp i32 %58 to float %60 = fdiv float %53, %59 %61 = fadd float %60, 0.000000e+00 store float %61, ptr %8, align 4 %62 = load i32, ptr %2, align 4 %63 = sdiv i32 1, %62 %64 = load i32, ptr %4, align 4 %65 = sdiv i32 1, %64 %66 = add nsw i32 %63, %65 %67 = load i32, ptr %3, align 4 %68 = sdiv i32 1, %67 %69 = add nsw i32 %66, %68 %70 = sitofp i32 %69 to float %71 = load float, ptr %5, align 4 %72 = fdiv float 1.000000e+00, %71 %73 = fadd float %70, %72 %74 = load float, ptr %6, align 4 %75 = fdiv float 1.000000e+00, %74 %76 = fadd float %73, %75 store float %76, ptr %9, align 4 %77 = load float, ptr %7, align 4 %78 = fpext float %77 to double %79 = load float, ptr %8, align 4 %80 = fpext float %79 to double %81 = load float, ptr %9, align 4 %82 = fpext float %81 to double %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %78, double noundef %80, double noundef %82) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpblmug007.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [119 x i8] c"\D0\B2\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D1\86\D0\B5\D0\BB\D1\8B\D0\B5 i, j, k, \D0\BE\D1\82\D0\BB\D0\B8\D1\87\D0\BD\D1\8B\D0\B5 \D0\BE\D1\82 0 \D0\B8 \D0\B4\D0\B5\D0\B9\D1\81\D1\82\D0\B2\D0\B8\D1\82\D0\B5\D0\BB\D1\8C\D0\BD\D1\8B\D0\B5 m \D0\B8 n \D0\BD\D0\B5 \D1\80\D0\B0\D0\B2\D0\BD\D0\BE\D0\B5 0\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"%d\0A%d\0A%d\0A%f\0A%f\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"%d\0A%d\0A%d\0A%d\0A%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"V=%f\0A W=%\0A Z = %\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store float 0.000000e+00, ptr %9, align 4 br label %10 10: ; preds = %21, %0 %11 = load i32, ptr %2, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %19, label %13 13: ; preds = %10 %14 = load i32, ptr %3, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %13 %17 = load i32, ptr %4, align 4 %18 = icmp eq i32 %17, 0 br label %19 19: ; preds = %16, %13, %10 %20 = phi i1 [ true, %13 ], [ true, %10 ], [ %18, %16 ] br i1 %20, label %21, label %24 21: ; preds = %19 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str) %23 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) br label %10, !llvm.loop !6 24: ; preds = %19 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = load float, ptr %5, align 4 %29 = fpext float %28 to double %30 = load float, ptr %6, align 4 %31 = fpext float %30 to double %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25, i32 noundef %26, i32 noundef %27, double noundef %29, double noundef %31) %33 = load i32, ptr %2, align 4 %34 = sdiv i32 110000, %33 %35 = load i32, ptr %2, align 4 %36 = load i32, ptr %3, align 4 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %36, %37 %39 = sdiv i32 %35, %38 %40 = add nsw i32 %34, %39 %41 = load i32, ptr %3, align 4 %42 = load i32, ptr %4, align 4 %43 = mul nsw i32 %41, %42 %44 = load i32, ptr %2, align 4 %45 = sdiv i32 %43, %44 %46 = add nsw i32 %40, %45 %47 = sitofp i32 %46 to float store float %47, ptr %7, align 4 %48 = load i32, ptr %2, align 4 %49 = sitofp i32 %48 to float %50 = load float, ptr %5, align 4 %51 = load float, ptr %6, align 4 %52 = fdiv float %50, %51 %53 = fadd float %49, %52 %54 = load i32, ptr %3, align 4 %55 = load i32, ptr %2, align 4 %56 = load i32, ptr %4, align 4 %57 = sdiv i32 %55, %56 %58 = add nsw i32 %54, %57 %59 = sitofp i32 %58 to float %60 = fdiv float %53, %59 %61 = fadd float %60, 0.000000e+00 store float %61, ptr %8, align 4 %62 = load i32, ptr %2, align 4 %63 = sdiv i32 1, %62 %64 = load i32, ptr %4, align 4 %65 = sdiv i32 1, %64 %66 = add nsw i32 %63, %65 %67 = load i32, ptr %3, align 4 %68 = sdiv i32 1, %67 %69 = add nsw i32 %66, %68 %70 = sitofp i32 %69 to float %71 = load float, ptr %5, align 4 %72 = fdiv float 1.000000e+00, %71 %73 = fadd float %70, %72 %74 = load float, ptr %6, align 4 %75 = fdiv float 1.000000e+00, %74 %76 = fadd float %73, %75 store float %76, ptr %9, align 4 %77 = load float, ptr %7, align 4 %78 = fpext float %77 to double %79 = load float, ptr %8, align 4 %80 = fpext float %79 to double %81 = load float, ptr %9, align 4 %82 = fpext float %81 to double %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %78, double noundef %80, double noundef %82) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpzdiz5ta8.c' source_filename = "/tmp/tmpzdiz5ta8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"idea(int)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @IDEA_options() #0 { ret ptr @.str } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzdiz5ta8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"idea(int)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @IDEA_options() #0 { ret ptr @.str } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp53rhib9o.c' source_filename = "/tmp/tmp53rhib9o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wlWriteByte(i8 noundef zeroext %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i8 %0, ptr %6, align 1 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 7, ptr %10, align 4 br label %12 12: ; preds = %29, %4 %13 = load i32, ptr %10, align 4 %14 = icmp sge i32 %13, 0 br i1 %14, label %15, label %32 15: ; preds = %12 %16 = load i8, ptr %6, align 1 %17 = zext i8 %16 to i32 %18 = load i32, ptr %10, align 4 %19 = ashr i32 %17, %18 %20 = and i32 %19, 1 store i32 %20, ptr %11, align 4 %21 = load i32, ptr %11, align 4 %22 = load ptr, ptr %7, align 8 %23 = load ptr, ptr %8, align 8 %24 = load ptr, ptr %9, align 8 %25 = call i32 @wlWriteBit(i32 noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24) %26 = icmp ne i32 %25, 0 br i1 %26, label %28, label %27 27: ; preds = %15 store i32 0, ptr %5, align 4 br label %33 28: ; preds = %15 br label %29 29: ; preds = %28 %30 = load i32, ptr %10, align 4 %31 = add nsw i32 %30, -1 store i32 %31, ptr %10, align 4 br label %12, !llvm.loop !6 32: ; preds = %12 store i32 1, ptr %5, align 4 br label %33 33: ; preds = %32, %27 %34 = load i32, ptr %5, align 4 ret i32 %34 } declare i32 @wlWriteBit(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp53rhib9o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wlWriteByte(i8 noundef zeroext %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i8 %0, ptr %6, align 1 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 7, ptr %10, align 4 %12 = load i32, ptr %10, align 4 %13 = icmp sge i32 %12, 0 br i1 %13, label %.lr.ph, label %33 .lr.ph: ; preds = %4 br label %14 14: ; preds = %.lr.ph, %28 %15 = load i8, ptr %6, align 1 %16 = zext i8 %15 to i32 %17 = load i32, ptr %10, align 4 %18 = ashr i32 %16, %17 %19 = and i32 %18, 1 store i32 %19, ptr %11, align 4 %20 = load i32, ptr %11, align 4 %21 = load ptr, ptr %7, align 8 %22 = load ptr, ptr %8, align 8 %23 = load ptr, ptr %9, align 8 %24 = call i32 @wlWriteBit(i32 noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23) %25 = icmp ne i32 %24, 0 br i1 %25, label %27, label %26 26: ; preds = %14 store i32 0, ptr %5, align 4 br label %34 27: ; preds = %14 br label %28 28: ; preds = %27 %29 = load i32, ptr %10, align 4 %30 = add nsw i32 %29, -1 store i32 %30, ptr %10, align 4 %31 = load i32, ptr %10, align 4 %32 = icmp sge i32 %31, 0 br i1 %32, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %33 33: ; preds = %._crit_edge, %4 store i32 1, ptr %5, align 4 br label %34 34: ; preds = %33, %26 %35 = load i32, ptr %5, align 4 ret i32 %35 } declare i32 @wlWriteBit(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}