llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpe1i0uhnp.c' source_filename = "/tmp/tmpe1i0uhnp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @vsd_munmap(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 -1, ptr %6, align 8 %8 = call i32 (...) @getpagesize() %9 = sext i32 %8 to i64 store i64 %9, ptr %7, align 8 %10 = load i64, ptr %5, align 8 %11 = load i64, ptr %7, align 8 %12 = urem i64 %10, %11 %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %15, ptr %3, align 4 br label %23 16: ; preds = %2 %17 = call i32 @vsd_get_size(ptr noundef %6) %18 = load ptr, ptr %4, align 8 %19 = load i64, ptr %6, align 8 %20 = load i64, ptr %5, align 8 %21 = sub i64 %19, %20 %22 = call i32 @munmap(ptr noundef %18, i64 noundef %21) store i32 %22, ptr %3, align 4 br label %23 23: ; preds = %16, %14 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare i32 @getpagesize(...) #1 declare i32 @vsd_get_size(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe1i0uhnp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @vsd_munmap(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 -1, ptr %6, align 8 %8 = call i32 (...) @getpagesize() %9 = sext i32 %8 to i64 store i64 %9, ptr %7, align 8 %10 = load i64, ptr %5, align 8 %11 = load i64, ptr %7, align 8 %12 = urem i64 %10, %11 %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %15, ptr %3, align 4 br label %23 16: ; preds = %2 %17 = call i32 @vsd_get_size(ptr noundef %6) %18 = load ptr, ptr %4, align 8 %19 = load i64, ptr %6, align 8 %20 = load i64, ptr %5, align 8 %21 = sub i64 %19, %20 %22 = call i32 @munmap(ptr noundef %18, i64 noundef %21) store i32 %22, ptr %3, align 4 br label %23 23: ; preds = %16, %14 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare i32 @getpagesize(...) #1 declare i32 @vsd_get_size(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"}
; ModuleID = '/tmp/tmpj_aenibd.c' source_filename = "/tmp/tmpj_aenibd.c" target datalayout = "e-m:e-p270: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/tmpj_aenibd.c" target datalayout = "e-m:e-p270: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/tmpqapljlls.c' source_filename = "/tmp/tmpqapljlls.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"\\label{\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"\\label \00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"\\label\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"LabelTag = <%s>\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"missing\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ExtractLabelTag(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call ptr @strstr(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call ptr @strstr(ptr noundef %12, ptr noundef @.str.1) store ptr %13, ptr %4, align 8 br label %14 14: ; preds = %11, %1 %15 = load ptr, ptr %4, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %18, label %17 17: ; preds = %14 store ptr null, ptr %2, align 8 br label %40 18: ; preds = %14 %19 = call i32 @strlen(ptr noundef @.str.2) %20 = load ptr, ptr %4, align 8 %21 = sext i32 %19 to i64 %22 = getelementptr inbounds i8, ptr %20, i64 %21 store ptr %22, ptr %4, align 8 %23 = load ptr, ptr %4, align 8 %24 = call i32 @PushSource(ptr noundef null, ptr noundef %23) %25 = call ptr (...) @getBraceParam() store ptr %25, ptr %5, align 8 %26 = call i32 (...) @PopSource() %27 = load ptr, ptr %5, align 8 %28 = call ptr @strdup_nobadchars(ptr noundef %27) store ptr %28, ptr %6, align 8 %29 = load ptr, ptr %5, align 8 %30 = call i32 @free(ptr noundef %29) %31 = load ptr, ptr %6, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %33, label %35 33: ; preds = %18 %34 = load ptr, ptr %6, align 8 br label %36 35: ; preds = %18 br label %36 36: ; preds = %35, %33 %37 = phi ptr [ %34, %33 ], [ @.str.4, %35 ] %38 = call i32 @diagnostics(i32 noundef 4, ptr noundef @.str.3, ptr noundef %37) %39 = load ptr, ptr %6, align 8 store ptr %39, ptr %2, align 8 br label %40 40: ; preds = %36, %17 %41 = load ptr, ptr %2, align 8 ret ptr %41 } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @PushSource(ptr noundef, ptr noundef) #1 declare ptr @getBraceParam(...) #1 declare i32 @PopSource(...) #1 declare ptr @strdup_nobadchars(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @diagnostics(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqapljlls.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"\\label{\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"\\label \00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"\\label\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"LabelTag = <%s>\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"missing\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ExtractLabelTag(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call ptr @strstr(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call ptr @strstr(ptr noundef %12, ptr noundef @.str.1) store ptr %13, ptr %4, align 8 br label %14 14: ; preds = %11, %1 %15 = load ptr, ptr %4, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %18, label %17 17: ; preds = %14 store ptr null, ptr %2, align 8 br label %40 18: ; preds = %14 %19 = call i32 @strlen(ptr noundef @.str.2) %20 = load ptr, ptr %4, align 8 %21 = sext i32 %19 to i64 %22 = getelementptr inbounds i8, ptr %20, i64 %21 store ptr %22, ptr %4, align 8 %23 = load ptr, ptr %4, align 8 %24 = call i32 @PushSource(ptr noundef null, ptr noundef %23) %25 = call ptr (...) @getBraceParam() store ptr %25, ptr %5, align 8 %26 = call i32 (...) @PopSource() %27 = load ptr, ptr %5, align 8 %28 = call ptr @strdup_nobadchars(ptr noundef %27) store ptr %28, ptr %6, align 8 %29 = load ptr, ptr %5, align 8 %30 = call i32 @free(ptr noundef %29) %31 = load ptr, ptr %6, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %33, label %35 33: ; preds = %18 %34 = load ptr, ptr %6, align 8 br label %36 35: ; preds = %18 br label %36 36: ; preds = %35, %33 %37 = phi ptr [ %34, %33 ], [ @.str.4, %35 ] %38 = call i32 @diagnostics(i32 noundef 4, ptr noundef @.str.3, ptr noundef %37) %39 = load ptr, ptr %6, align 8 store ptr %39, ptr %2, align 8 br label %40 40: ; preds = %36, %17 %41 = load ptr, ptr %2, align 8 ret ptr %41 } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @PushSource(ptr noundef, ptr noundef) #1 declare ptr @getBraceParam(...) #1 declare i32 @PopSource(...) #1 declare ptr @strdup_nobadchars(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @diagnostics(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp454eanfp.c' source_filename = "/tmp/tmp454eanfp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"RmDir\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wBasRmDir() #0 { %1 = alloca ptr, align 8 %2 = call ptr (...) @wPopString() store ptr %2, ptr %1, align 8 %3 = call i32 @wNotYet(ptr noundef @.str) %4 = load ptr, ptr %1, align 8 %5 = call i32 @free(ptr noundef %4) ret void } declare ptr @wPopString(...) #1 declare i32 @wNotYet(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp454eanfp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"RmDir\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wBasRmDir() #0 { %1 = alloca ptr, align 8 %2 = call ptr (...) @wPopString() store ptr %2, ptr %1, align 8 %3 = call i32 @wNotYet(ptr noundef @.str) %4 = load ptr, ptr %1, align 8 %5 = call i32 @free(ptr noundef %4) ret void } declare ptr @wPopString(...) #1 declare i32 @wNotYet(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4_nvjpzp.c' source_filename = "/tmp/tmp4_nvjpzp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @calc_hash(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %20 8: ; preds = %2 store i32 0, ptr %5, align 4 br label %9 9: ; preds = %16, %8 %10 = load ptr, ptr %3, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ult ptr %10, %11 br i1 %12, label %13, label %19 13: ; preds = %9 %14 = load ptr, ptr %3, align 8 %15 = call i32 @update_hash(ptr noundef %5, ptr noundef %14) br label %16 16: ; preds = %13 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %3, align 8 br label %9, !llvm.loop !6 19: ; preds = %9 br label %34 20: ; preds = %2 store i32 0, ptr %5, align 4 br label %21 21: ; preds = %28, %20 %22 = load ptr, ptr %3, align 8 %23 = load i8, ptr %22, align 1 %24 = icmp ne i8 %23, 0 br i1 %24, label %25, label %31 25: ; preds = %21 %26 = load ptr, ptr %3, align 8 %27 = call i32 @update_hash(ptr noundef %5, ptr noundef %26) br label %28 28: ; preds = %25 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %3, align 8 br label %21, !llvm.loop !8 31: ; preds = %21 %32 = load ptr, ptr %3, align 8 %33 = call i32 @update_hash(ptr noundef %5, ptr noundef %32) br label %34 34: ; preds = %31, %19 %35 = load i32, ptr %5, align 4 ret i32 %35 } declare i32 @update_hash(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/tmp4_nvjpzp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @calc_hash(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %22 8: ; preds = %2 store i32 0, ptr %5, align 4 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp ult ptr %9, %10 br i1 %11, label %.lr.ph2, label %21 .lr.ph2: ; preds = %8 br label %12 12: ; preds = %.lr.ph2, %15 %13 = load ptr, ptr %3, align 8 %14 = call i32 @update_hash(ptr noundef %5, ptr noundef %13) br label %15 15: ; preds = %12 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %3, align 8 %18 = load ptr, ptr %3, align 8 %19 = load ptr, ptr %4, align 8 %20 = icmp ult ptr %18, %19 br i1 %20, label %12, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %15 br label %21 21: ; preds = %._crit_edge3, %8 br label %38 22: ; preds = %2 store i32 0, ptr %5, align 4 %23 = load ptr, ptr %3, align 8 %24 = load i8, ptr %23, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %.lr.ph, label %35 .lr.ph: ; preds = %22 br label %26 26: ; preds = %.lr.ph, %29 %27 = load ptr, ptr %3, align 8 %28 = call i32 @update_hash(ptr noundef %5, ptr noundef %27) br label %29 29: ; preds = %26 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %3, align 8 %32 = load ptr, ptr %3, align 8 %33 = load i8, ptr %32, align 1 %34 = icmp ne i8 %33, 0 br i1 %34, label %26, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %22 %36 = load ptr, ptr %3, align 8 %37 = call i32 @update_hash(ptr noundef %5, ptr noundef %36) br label %38 38: ; preds = %35, %21 %39 = load i32, ptr %5, align 4 ret i32 %39 } declare i32 @update_hash(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/tmpgoqrwanp.c' source_filename = "/tmp/tmpgoqrwanp.c" target datalayout = "e-m:e-p270: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/tmpgoqrwanp.c" target datalayout = "e-m:e-p270: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/tmpm6erbl2x.c' source_filename = "/tmp/tmpm6erbl2x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello from file2.c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = 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/tmpm6erbl2x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello from file2.c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = 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/tmpb5oug5u2.c' source_filename = "/tmp/tmpb5oug5u2.c" target datalayout = "e-m:e-p270: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/tmpb5oug5u2.c" target datalayout = "e-m:e-p270: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/tmpnmsr4e8n.c' source_filename = "/tmp/tmpnmsr4e8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (...) @__VERIFIER_nondet_int() store i32 %5, ptr %2, align 4 %6 = call i32 (...) @__VERIFIER_nondet_int() store i32 %6, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %0 store i32 0, ptr %1, align 4 br label %15 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = call i32 @Ack(i32 noundef %11, i32 noundef %12) store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 store i32 %14, ptr %1, align 4 br label %15 15: ; preds = %10, %9 %16 = load i32, ptr %1, align 4 ret i32 %16 } declare i32 @__VERIFIER_nondet_int(...) #1 declare i32 @Ack(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/tmpnmsr4e8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (...) @__VERIFIER_nondet_int() store i32 %5, ptr %2, align 4 %6 = call i32 (...) @__VERIFIER_nondet_int() store i32 %6, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %0 store i32 0, ptr %1, align 4 br label %15 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = call i32 @Ack(i32 noundef %11, i32 noundef %12) store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 store i32 %14, ptr %1, align 4 br label %15 15: ; preds = %10, %9 %16 = load i32, ptr %1, align 4 ret i32 %16 } declare i32 @__VERIFIER_nondet_int(...) #1 declare i32 @Ack(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/tmpvg68rd7c.c' source_filename = "/tmp/tmpvg68rd7c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0123456789\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"pigpio initialisation failed.\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 %10 = alloca [64 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp sgt i32 %11, 1 br i1 %12, label %13, label %50 13: ; preds = %2 store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 br label %14 14: ; preds = %46, %13 %15 = load i32, ptr %6, align 4 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call i32 @strlen(ptr noundef %18) %20 = icmp slt i32 %15, %19 br i1 %20, label %21, label %49 21: ; preds = %14 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = call i32 @tolower(i8 noundef signext %28) store i32 %29, ptr %8, align 4 %30 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %31 = load i32, ptr %8, align 4 %32 = trunc i32 %31 to i8 %33 = call i64 @strchr(ptr noundef %30, i8 noundef signext %32) %34 = icmp ne i64 %33, 0 br i1 %34, label %45, label %35 35: ; preds = %21 %36 = load i32, ptr %8, align 4 %37 = trunc i32 %36 to i8 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 %40 = sext i32 %38 to i64 %41 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 %40 store i8 %37, ptr %41, align 1 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 %43 store i8 0, ptr %44, align 1 br label %45 45: ; preds = %35, %21 br label %46 46: ; preds = %45 %47 = load i32, ptr %6, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %6, align 4 br label %14, !llvm.loop !6 49: ; preds = %14 br label %53 50: ; preds = %2 %51 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %52 = call i32 @strcat(ptr noundef %51, ptr noundef @.str) br label %53 53: ; preds = %50, %49 %54 = call i32 (...) @gpioInitialise() store i32 %54, ptr %9, align 4 %55 = load i32, ptr %9, align 4 %56 = icmp slt i32 %55, 0 br i1 %56, label %57, label %60 57: ; preds = %53 %58 = load i32, ptr @stderr, align 4 %59 = call i32 @fprintf(i32 noundef %58, ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %140 60: ; preds = %53 %61 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %62 = call i64 @strchr(ptr noundef %61, i8 noundef signext 48) %63 = icmp ne i64 %62, 0 br i1 %63, label %64, label %66 64: ; preds = %60 %65 = call i32 (...) @t0() br label %66 66: ; preds = %64, %60 %67 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %68 = call i64 @strchr(ptr noundef %67, i8 noundef signext 49) %69 = icmp ne i64 %68, 0 br i1 %69, label %70, label %72 70: ; preds = %66 %71 = call i32 (...) @t1() br label %72 72: ; preds = %70, %66 %73 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %74 = call i64 @strchr(ptr noundef %73, i8 noundef signext 50) %75 = icmp ne i64 %74, 0 br i1 %75, label %76, label %78 76: ; preds = %72 %77 = call i32 (...) @t2() br label %78 78: ; preds = %76, %72 %79 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %80 = call i64 @strchr(ptr noundef %79, i8 noundef signext 51) %81 = icmp ne i64 %80, 0 br i1 %81, label %82, label %84 82: ; preds = %78 %83 = call i32 (...) @t3() br label %84 84: ; preds = %82, %78 %85 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %86 = call i64 @strchr(ptr noundef %85, i8 noundef signext 52) %87 = icmp ne i64 %86, 0 br i1 %87, label %88, label %90 88: ; preds = %84 %89 = call i32 (...) @t4() br label %90 90: ; preds = %88, %84 %91 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %92 = call i64 @strchr(ptr noundef %91, i8 noundef signext 53) %93 = icmp ne i64 %92, 0 br i1 %93, label %94, label %96 94: ; preds = %90 %95 = call i32 (...) @t5() br label %96 96: ; preds = %94, %90 %97 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %98 = call i64 @strchr(ptr noundef %97, i8 noundef signext 54) %99 = icmp ne i64 %98, 0 br i1 %99, label %100, label %102 100: ; preds = %96 %101 = call i32 (...) @t6() br label %102 102: ; preds = %100, %96 %103 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %104 = call i64 @strchr(ptr noundef %103, i8 noundef signext 55) %105 = icmp ne i64 %104, 0 br i1 %105, label %106, label %108 106: ; preds = %102 %107 = call i32 (...) @t7() br label %108 108: ; preds = %106, %102 %109 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %110 = call i64 @strchr(ptr noundef %109, i8 noundef signext 56) %111 = icmp ne i64 %110, 0 br i1 %111, label %112, label %114 112: ; preds = %108 %113 = call i32 (...) @t8() br label %114 114: ; preds = %112, %108 %115 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %116 = call i64 @strchr(ptr noundef %115, i8 noundef signext 57) %117 = icmp ne i64 %116, 0 br i1 %117, label %118, label %120 118: ; preds = %114 %119 = call i32 (...) @t9() br label %120 120: ; preds = %118, %114 %121 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %122 = call i64 @strchr(ptr noundef %121, i8 noundef signext 97) %123 = icmp ne i64 %122, 0 br i1 %123, label %124, label %126 124: ; preds = %120 %125 = call i32 (...) @ta() br label %126 126: ; preds = %124, %120 %127 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %128 = call i64 @strchr(ptr noundef %127, i8 noundef signext 98) %129 = icmp ne i64 %128, 0 br i1 %129, label %130, label %132 130: ; preds = %126 %131 = call i32 (...) @tb() br label %132 132: ; preds = %130, %126 %133 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %134 = call i64 @strchr(ptr noundef %133, i8 noundef signext 99) %135 = icmp ne i64 %134, 0 br i1 %135, label %136, label %138 136: ; preds = %132 %137 = call i32 (...) @tc() br label %138 138: ; preds = %136, %132 %139 = call i32 (...) @gpioTerminate() store i32 0, ptr %3, align 4 br label %140 140: ; preds = %138, %57 %141 = load i32, ptr %3, align 4 ret i32 %141 } declare i32 @strlen(ptr noundef) #1 declare i32 @tolower(i8 noundef signext) #1 declare i64 @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @gpioInitialise(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @t0(...) #1 declare i32 @t1(...) #1 declare i32 @t2(...) #1 declare i32 @t3(...) #1 declare i32 @t4(...) #1 declare i32 @t5(...) #1 declare i32 @t6(...) #1 declare i32 @t7(...) #1 declare i32 @t8(...) #1 declare i32 @t9(...) #1 declare i32 @ta(...) #1 declare i32 @tb(...) #1 declare i32 @tc(...) #1 declare i32 @gpioTerminate(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpvg68rd7c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0123456789\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"pigpio initialisation failed.\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 %10 = alloca [64 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp sgt i32 %11, 1 br i1 %12, label %13, label %55 13: ; preds = %2 store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = call i32 @strlen(ptr noundef %17) %19 = icmp slt i32 %14, %18 br i1 %19, label %.lr.ph, label %54 .lr.ph: ; preds = %13 br label %20 20: ; preds = %.lr.ph, %45 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = call i32 @tolower(i8 noundef signext %27) store i32 %28, ptr %8, align 4 %29 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %30 = load i32, ptr %8, align 4 %31 = trunc i32 %30 to i8 %32 = call i64 @strchr(ptr noundef %29, i8 noundef signext %31) %33 = icmp ne i64 %32, 0 br i1 %33, label %44, label %34 34: ; preds = %20 %35 = load i32, ptr %8, align 4 %36 = trunc i32 %35 to i8 %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %7, align 4 %39 = sext i32 %37 to i64 %40 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 %39 store i8 %36, ptr %40, align 1 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 %42 store i8 0, ptr %43, align 1 br label %44 44: ; preds = %34, %20 br label %45 45: ; preds = %44 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %6, align 4 %48 = load i32, ptr %6, align 4 %49 = load ptr, ptr %5, align 8 %50 = getelementptr inbounds ptr, ptr %49, i64 1 %51 = load ptr, ptr %50, align 8 %52 = call i32 @strlen(ptr noundef %51) %53 = icmp slt i32 %48, %52 br i1 %53, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %54 54: ; preds = %._crit_edge, %13 br label %58 55: ; preds = %2 %56 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %57 = call i32 @strcat(ptr noundef %56, ptr noundef @.str) br label %58 58: ; preds = %55, %54 %59 = call i32 (...) @gpioInitialise() store i32 %59, ptr %9, align 4 %60 = load i32, ptr %9, align 4 %61 = icmp slt i32 %60, 0 br i1 %61, label %62, label %65 62: ; preds = %58 %63 = load i32, ptr @stderr, align 4 %64 = call i32 @fprintf(i32 noundef %63, ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %145 65: ; preds = %58 %66 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %67 = call i64 @strchr(ptr noundef %66, i8 noundef signext 48) %68 = icmp ne i64 %67, 0 br i1 %68, label %69, label %71 69: ; preds = %65 %70 = call i32 (...) @t0() br label %71 71: ; preds = %69, %65 %72 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %73 = call i64 @strchr(ptr noundef %72, i8 noundef signext 49) %74 = icmp ne i64 %73, 0 br i1 %74, label %75, label %77 75: ; preds = %71 %76 = call i32 (...) @t1() br label %77 77: ; preds = %75, %71 %78 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %79 = call i64 @strchr(ptr noundef %78, i8 noundef signext 50) %80 = icmp ne i64 %79, 0 br i1 %80, label %81, label %83 81: ; preds = %77 %82 = call i32 (...) @t2() br label %83 83: ; preds = %81, %77 %84 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %85 = call i64 @strchr(ptr noundef %84, i8 noundef signext 51) %86 = icmp ne i64 %85, 0 br i1 %86, label %87, label %89 87: ; preds = %83 %88 = call i32 (...) @t3() br label %89 89: ; preds = %87, %83 %90 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %91 = call i64 @strchr(ptr noundef %90, i8 noundef signext 52) %92 = icmp ne i64 %91, 0 br i1 %92, label %93, label %95 93: ; preds = %89 %94 = call i32 (...) @t4() br label %95 95: ; preds = %93, %89 %96 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %97 = call i64 @strchr(ptr noundef %96, i8 noundef signext 53) %98 = icmp ne i64 %97, 0 br i1 %98, label %99, label %101 99: ; preds = %95 %100 = call i32 (...) @t5() br label %101 101: ; preds = %99, %95 %102 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %103 = call i64 @strchr(ptr noundef %102, i8 noundef signext 54) %104 = icmp ne i64 %103, 0 br i1 %104, label %105, label %107 105: ; preds = %101 %106 = call i32 (...) @t6() br label %107 107: ; preds = %105, %101 %108 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %109 = call i64 @strchr(ptr noundef %108, i8 noundef signext 55) %110 = icmp ne i64 %109, 0 br i1 %110, label %111, label %113 111: ; preds = %107 %112 = call i32 (...) @t7() br label %113 113: ; preds = %111, %107 %114 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %115 = call i64 @strchr(ptr noundef %114, i8 noundef signext 56) %116 = icmp ne i64 %115, 0 br i1 %116, label %117, label %119 117: ; preds = %113 %118 = call i32 (...) @t8() br label %119 119: ; preds = %117, %113 %120 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %121 = call i64 @strchr(ptr noundef %120, i8 noundef signext 57) %122 = icmp ne i64 %121, 0 br i1 %122, label %123, label %125 123: ; preds = %119 %124 = call i32 (...) @t9() br label %125 125: ; preds = %123, %119 %126 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %127 = call i64 @strchr(ptr noundef %126, i8 noundef signext 97) %128 = icmp ne i64 %127, 0 br i1 %128, label %129, label %131 129: ; preds = %125 %130 = call i32 (...) @ta() br label %131 131: ; preds = %129, %125 %132 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %133 = call i64 @strchr(ptr noundef %132, i8 noundef signext 98) %134 = icmp ne i64 %133, 0 br i1 %134, label %135, label %137 135: ; preds = %131 %136 = call i32 (...) @tb() br label %137 137: ; preds = %135, %131 %138 = getelementptr inbounds [64 x i8], ptr %10, i64 0, i64 0 %139 = call i64 @strchr(ptr noundef %138, i8 noundef signext 99) %140 = icmp ne i64 %139, 0 br i1 %140, label %141, label %143 141: ; preds = %137 %142 = call i32 (...) @tc() br label %143 143: ; preds = %141, %137 %144 = call i32 (...) @gpioTerminate() store i32 0, ptr %3, align 4 br label %145 145: ; preds = %143, %62 %146 = load i32, ptr %3, align 4 ret i32 %146 } declare i32 @strlen(ptr noundef) #1 declare i32 @tolower(i8 noundef signext) #1 declare i64 @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @gpioInitialise(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @t0(...) #1 declare i32 @t1(...) #1 declare i32 @t2(...) #1 declare i32 @t3(...) #1 declare i32 @t4(...) #1 declare i32 @t5(...) #1 declare i32 @t6(...) #1 declare i32 @t7(...) #1 declare i32 @t8(...) #1 declare i32 @t9(...) #1 declare i32 @ta(...) #1 declare i32 @tb(...) #1 declare i32 @tc(...) #1 declare i32 @gpioTerminate(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmps6yp4myy.c' source_filename = "/tmp/tmps6yp4myy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GETVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @qsem_check(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr @GETVAL, align 4 %9 = call i64 @semctl(i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef 0) %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 1, ptr %3, align 4 br label %13 12: ; preds = %2 store i32 0, ptr %3, align 4 br label %13 13: ; preds = %12, %11 %14 = load i32, ptr %3, align 4 ret i32 %14 } declare i64 @semctl(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps6yp4myy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GETVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @qsem_check(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr @GETVAL, align 4 %9 = call i64 @semctl(i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef 0) %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 1, ptr %3, align 4 br label %13 12: ; preds = %2 store i32 0, ptr %3, align 4 br label %13 13: ; preds = %12, %11 %14 = load i32, ptr %3, align 4 ret i32 %14 } declare i64 @semctl(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiqwhczdj.c' source_filename = "/tmp/tmpiqwhczdj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"Cannot read file %s\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"=\00", align 1 @.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.5 = private unnamed_addr constant [46 x i8] c"Error: no value for %s in configuration file\0A\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.6 = private unnamed_addr constant [36 x i8] c"Could not close configuration file \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @update_conf(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [255 x i8], align 16 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %3, align 8 %10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str) store ptr %10, ptr %4, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %17 12: ; preds = %1 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %3, align 8 %15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef %14) %16 = call i32 @perror(ptr noundef @.str.2) store i32 -1, ptr %2, align 4 br label %75 17: ; preds = %1 br label %18 18: ; preds = %54, %33, %17 %19 = getelementptr inbounds [255 x i8], ptr %5, i64 0, i64 0 %20 = load ptr, ptr %4, align 8 %21 = call ptr @fgets(ptr noundef %19, i32 noundef 255, ptr noundef %20) %22 = icmp ne ptr %21, null br i1 %22, label %23, label %62 23: ; preds = %18 %24 = getelementptr inbounds [255 x i8], ptr %5, i64 0, i64 0 %25 = call ptr @strtrim(ptr noundef %24) %26 = call i32 @strlen(ptr noundef %25) %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %33 28: ; preds = %23 %29 = getelementptr inbounds [255 x i8], ptr %5, i64 0, i64 0 %30 = load i8, ptr %29, align 16 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 35 br i1 %32, label %33, label %34 33: ; preds = %28, %23 br label %18, !llvm.loop !6 34: ; preds = %28 %35 = getelementptr inbounds [255 x i8], ptr %5, i64 0, i64 0 %36 = call ptr @strtok(ptr noundef %35, ptr noundef @.str.3) store ptr %36, ptr %6, align 8 %37 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) store ptr %37, ptr %7, align 8 %38 = load ptr, ptr %6, align 8 %39 = call ptr @strtrim(ptr noundef %38) store ptr %39, ptr %6, align 8 %40 = load ptr, ptr %7, align 8 %41 = call ptr @strtrim(ptr noundef %40) store ptr %41, ptr %7, align 8 %42 = icmp eq ptr %41, null br i1 %42, label %43, label %54 43: ; preds = %34 %44 = load i32, ptr @stderr, align 4 %45 = load ptr, ptr %6, align 8 %46 = call i32 @fprintf(i32 noundef %44, ptr noundef @.str.5, ptr noundef %45) %47 = load ptr, ptr %4, align 8 %48 = call i64 @fclose(ptr noundef %47) %49 = load i64, ptr @EOF, align 8 %50 = icmp eq i64 %48, %49 br i1 %50, label %51, label %53 51: ; preds = %43 %52 = call i32 @perror(ptr noundef @.str.6) br label %53 53: ; preds = %51, %43 store i32 -1, ptr %2, align 4 br label %75 54: ; preds = %34 %55 = load ptr, ptr %6, align 8 %56 = load ptr, ptr %7, align 8 %57 = call i64 @set_conf(ptr noundef %55, ptr noundef %56) %58 = load i32, ptr %8, align 4 %59 = sext i32 %58 to i64 %60 = add nsw i64 %59, %57 %61 = trunc i64 %60 to i32 store i32 %61, ptr %8, align 4 br label %18, !llvm.loop !6 62: ; preds = %18 %63 = load ptr, ptr %4, align 8 %64 = call i64 @fclose(ptr noundef %63) %65 = load i64, ptr @EOF, align 8 %66 = icmp eq i64 %64, %65 br i1 %66, label %67, label %69 67: ; preds = %62 %68 = call i32 @perror(ptr noundef @.str.6) br label %69 69: ; preds = %67, %62 %70 = load i32, ptr %8, align 4 %71 = icmp slt i32 %70, 0 br i1 %71, label %72, label %73 72: ; preds = %69 store i32 -1, ptr %2, align 4 br label %75 73: ; preds = %69 %74 = load i32, ptr %8, align 4 store i32 %74, ptr %2, align 4 br label %75 75: ; preds = %73, %72, %53, %12 %76 = load i32, ptr %2, align 4 ret i32 %76 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strtrim(ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @fclose(ptr noundef) #1 declare i64 @set_conf(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/tmpiqwhczdj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"Cannot read file %s\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"=\00", align 1 @.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.5 = private unnamed_addr constant [46 x i8] c"Error: no value for %s in configuration file\0A\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.6 = private unnamed_addr constant [36 x i8] c"Could not close configuration file \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @update_conf(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [255 x i8], align 16 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %3, align 8 %10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str) store ptr %10, ptr %4, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %17 12: ; preds = %1 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %3, align 8 %15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef %14) %16 = call i32 @perror(ptr noundef @.str.2) store i32 -1, ptr %2, align 4 br label %77 17: ; preds = %1 %18 = getelementptr inbounds [255 x i8], ptr %5, i64 0, i64 0 %19 = load ptr, ptr %4, align 8 %20 = call ptr @fgets(ptr noundef %18, i32 noundef 255, ptr noundef %19) %21 = icmp ne ptr %20, null br i1 %21, label %.lr.ph, label %64 .lr.ph: ; preds = %17 br label %22 22: ; preds = %.lr.ph, %.backedge %23 = getelementptr inbounds [255 x i8], ptr %5, i64 0, i64 0 %24 = call ptr @strtrim(ptr noundef %23) %25 = call i32 @strlen(ptr noundef %24) %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %32 27: ; preds = %22 %28 = getelementptr inbounds [255 x i8], ptr %5, i64 0, i64 0 %29 = load i8, ptr %28, align 16 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 35 br i1 %31, label %32, label %36 32: ; preds = %27, %22 br label %.backedge .backedge: ; preds = %32, %56 %33 = load ptr, ptr %4, align 8 %34 = call ptr @fgets(ptr noundef %18, i32 noundef 255, ptr noundef %33) %35 = icmp ne ptr %34, null br i1 %35, label %22, label %._crit_edge, !llvm.loop !6 36: ; preds = %27 %37 = getelementptr inbounds [255 x i8], ptr %5, i64 0, i64 0 %38 = call ptr @strtok(ptr noundef %37, ptr noundef @.str.3) store ptr %38, ptr %6, align 8 %39 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) store ptr %39, ptr %7, align 8 %40 = load ptr, ptr %6, align 8 %41 = call ptr @strtrim(ptr noundef %40) store ptr %41, ptr %6, align 8 %42 = load ptr, ptr %7, align 8 %43 = call ptr @strtrim(ptr noundef %42) store ptr %43, ptr %7, align 8 %44 = icmp eq ptr %43, null br i1 %44, label %45, label %56 45: ; preds = %36 %46 = load i32, ptr @stderr, align 4 %47 = load ptr, ptr %6, align 8 %48 = call i32 @fprintf(i32 noundef %46, ptr noundef @.str.5, ptr noundef %47) %49 = load ptr, ptr %4, align 8 %50 = call i64 @fclose(ptr noundef %49) %51 = load i64, ptr @EOF, align 8 %52 = icmp eq i64 %50, %51 br i1 %52, label %53, label %55 53: ; preds = %45 %54 = call i32 @perror(ptr noundef @.str.6) br label %55 55: ; preds = %53, %45 store i32 -1, ptr %2, align 4 br label %77 56: ; preds = %36 %57 = load ptr, ptr %6, align 8 %58 = load ptr, ptr %7, align 8 %59 = call i64 @set_conf(ptr noundef %57, ptr noundef %58) %60 = load i32, ptr %8, align 4 %61 = sext i32 %60 to i64 %62 = add nsw i64 %61, %59 %63 = trunc i64 %62 to i32 store i32 %63, ptr %8, align 4 br label %.backedge ._crit_edge: ; preds = %.backedge br label %64 64: ; preds = %._crit_edge, %17 %65 = load ptr, ptr %4, align 8 %66 = call i64 @fclose(ptr noundef %65) %67 = load i64, ptr @EOF, align 8 %68 = icmp eq i64 %66, %67 br i1 %68, label %69, label %71 69: ; preds = %64 %70 = call i32 @perror(ptr noundef @.str.6) br label %71 71: ; preds = %69, %64 %72 = load i32, ptr %8, align 4 %73 = icmp slt i32 %72, 0 br i1 %73, label %74, label %75 74: ; preds = %71 store i32 -1, ptr %2, align 4 br label %77 75: ; preds = %71 %76 = load i32, ptr %8, align 4 store i32 %76, ptr %2, align 4 br label %77 77: ; preds = %75, %74, %55, %12 %78 = load i32, ptr %2, align 4 ret i32 %78 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strtrim(ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @fclose(ptr noundef) #1 declare i64 @set_conf(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/tmp8w54nm6w.c' source_filename = "/tmp/tmp8w54nm6w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"Testing arrayCountNegative(...)\0A\00", align 1 @__const.test_01_arrayCountNegative.array1 = private unnamed_addr constant [4 x i32] [i32 1, i32 4, i32 -5, i32 4], align 16 @__const.test_01_arrayCountNegative.array3 = private unnamed_addr constant [5 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4], align 16 @__const.test_01_arrayCountNegative.array4 = private unnamed_addr constant [4 x i32] [i32 -1, i32 -2, i32 -3, i32 -4], align 16 @__const.test_01_arrayCountNegative.array5 = private unnamed_addr constant [4 x i32] [i32 11, i32 0, i32 0, i32 -1], align 16 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_01_arrayCountNegative() #0 { %1 = alloca [4 x i32], align 16 %2 = alloca i32, align 4 %3 = alloca [0 x i32], align 4 %4 = alloca i32, align 4 %5 = alloca [5 x i32], align 16 %6 = alloca i32, align 4 %7 = alloca [4 x i32], align 16 %8 = alloca i32, align 4 %9 = alloca [4 x i32], align 16 %10 = alloca i32, align 4 %11 = call i32 @printf(ptr noundef @.str) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_01_arrayCountNegative.array1, i64 16, i1 false) store i32 4, ptr %2, align 4 %12 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 0 %13 = load i32, ptr %2, align 4 %14 = call i32 @test_arrayCountNegative(ptr noundef %12, i32 noundef %13, i32 noundef 1) store i32 0, ptr %4, align 4 %15 = getelementptr inbounds [0 x i32], ptr %3, i64 0, i64 0 %16 = load i32, ptr %4, align 4 %17 = call i32 @test_arrayCountNegative(ptr noundef %15, i32 noundef %16, i32 noundef 0) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.test_01_arrayCountNegative.array3, i64 20, i1 false) store i32 5, ptr %6, align 4 %18 = getelementptr inbounds [5 x i32], ptr %5, i64 0, i64 0 %19 = load i32, ptr %6, align 4 %20 = call i32 @test_arrayCountNegative(ptr noundef %18, i32 noundef %19, i32 noundef 0) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.test_01_arrayCountNegative.array4, i64 16, i1 false) store i32 4, ptr %8, align 4 %21 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 0 %22 = load i32, ptr %8, align 4 %23 = call i32 @test_arrayCountNegative(ptr noundef %21, i32 noundef %22, i32 noundef 4) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.test_01_arrayCountNegative.array5, i64 16, i1 false) store i32 4, ptr %10, align 4 %24 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 %25 = load i32, ptr %10, align 4 %26 = call i32 @test_arrayCountNegative(ptr noundef %24, i32 noundef %25, i32 noundef 1) %27 = call i32 @printf(ptr noundef @.str.1) ret void } 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 declare i32 @test_arrayCountNegative(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" } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8w54nm6w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"Testing arrayCountNegative(...)\0A\00", align 1 @__const.test_01_arrayCountNegative.array1 = private unnamed_addr constant [4 x i32] [i32 1, i32 4, i32 -5, i32 4], align 16 @__const.test_01_arrayCountNegative.array3 = private unnamed_addr constant [5 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4], align 16 @__const.test_01_arrayCountNegative.array4 = private unnamed_addr constant [4 x i32] [i32 -1, i32 -2, i32 -3, i32 -4], align 16 @__const.test_01_arrayCountNegative.array5 = private unnamed_addr constant [4 x i32] [i32 11, i32 0, i32 0, i32 -1], align 16 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_01_arrayCountNegative() #0 { %1 = alloca [4 x i32], align 16 %2 = alloca i32, align 4 %3 = alloca [0 x i32], align 4 %4 = alloca i32, align 4 %5 = alloca [5 x i32], align 16 %6 = alloca i32, align 4 %7 = alloca [4 x i32], align 16 %8 = alloca i32, align 4 %9 = alloca [4 x i32], align 16 %10 = alloca i32, align 4 %11 = call i32 @printf(ptr noundef @.str) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_01_arrayCountNegative.array1, i64 16, i1 false) store i32 4, ptr %2, align 4 %12 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 0 %13 = load i32, ptr %2, align 4 %14 = call i32 @test_arrayCountNegative(ptr noundef %12, i32 noundef %13, i32 noundef 1) store i32 0, ptr %4, align 4 %15 = getelementptr inbounds [0 x i32], ptr %3, i64 0, i64 0 %16 = load i32, ptr %4, align 4 %17 = call i32 @test_arrayCountNegative(ptr noundef %15, i32 noundef %16, i32 noundef 0) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.test_01_arrayCountNegative.array3, i64 20, i1 false) store i32 5, ptr %6, align 4 %18 = getelementptr inbounds [5 x i32], ptr %5, i64 0, i64 0 %19 = load i32, ptr %6, align 4 %20 = call i32 @test_arrayCountNegative(ptr noundef %18, i32 noundef %19, i32 noundef 0) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.test_01_arrayCountNegative.array4, i64 16, i1 false) store i32 4, ptr %8, align 4 %21 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 0 %22 = load i32, ptr %8, align 4 %23 = call i32 @test_arrayCountNegative(ptr noundef %21, i32 noundef %22, i32 noundef 4) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.test_01_arrayCountNegative.array5, i64 16, i1 false) store i32 4, ptr %10, align 4 %24 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 %25 = load i32, ptr %10, align 4 %26 = call i32 @test_arrayCountNegative(ptr noundef %24, i32 noundef %25, i32 noundef 1) %27 = call i32 @printf(ptr noundef @.str.1) ret void } 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 declare i32 @test_arrayCountNegative(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" } 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"}
; ModuleID = '/tmp/tmpph10bapw.c' source_filename = "/tmp/tmpph10bapw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"I'm thinking of a number between %d and %d.\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"Can you think of the number?\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"Take a Guess: \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"Nope, try again: \00", align 1 @.str.5 = private unnamed_addr constant [52 x i8] c"Wow, you got it on the first try. Wasn't that fun!\0A\00", align 1 @.str.6 = private unnamed_addr constant [44 x i8] c"You got it. I guess third times the charm.\0A\00", align 1 @.str.7 = private unnamed_addr constant [61 x i8] c"Seven wonders. Seven sins. Seven attempts. Awesome tenacity!\00", align 1 @.str.8 = private unnamed_addr constant [47 x i8] c"You're really good at the art of elimination.\0A\00", align 1 @.str.9 = private unnamed_addr constant [63 x i8] c"You finally got it, but I think you need your memory checked.\0A\00", align 1 @.str.10 = private unnamed_addr constant [35 x i8] c"Yep, it was %d. How did you know?\0A\00", align 1 @.str.11 = private unnamed_addr constant [34 x i8] c"Thanks for playing. bye bye now.\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 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 store i32 10, ptr %3, align 4 %7 = call i32 @time(ptr noundef null) %8 = call i32 @srand(i32 noundef %7) %9 = call i32 (...) @rand() %10 = srem i32 %9, 10 %11 = add nsw i32 %10, 1 store i32 %11, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 -1, ptr %6, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1, i32 noundef 10) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %15 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %6) %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %5, align 4 br label %18 18: ; preds = %22, %0 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp ne i32 %19, %20 br i1 %21, label %22, label %27 22: ; preds = %18 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %24 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %6) %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 br label %18, !llvm.loop !6 27: ; preds = %18 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp eq i32 %28, %29 br i1 %30, label %31, label %65 31: ; preds = %27 %32 = load i32, ptr %5, align 4 %33 = icmp eq i32 %32, 1 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %63 36: ; preds = %31 %37 = load i32, ptr %5, align 4 %38 = icmp eq i32 %37, 3 br i1 %38, label %39, label %41 39: ; preds = %36 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %62 41: ; preds = %36 %42 = load i32, ptr %5, align 4 %43 = icmp eq i32 %42, 7 br i1 %43, label %44, label %46 44: ; preds = %41 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %61 46: ; preds = %41 %47 = load i32, ptr %5, align 4 %48 = icmp eq i32 %47, 10 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %60 51: ; preds = %46 %52 = load i32, ptr %5, align 4 %53 = icmp sgt i32 %52, 11 br i1 %53, label %54, label %56 54: ; preds = %51 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %59 56: ; preds = %51 %57 = load i32, ptr %4, align 4 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %57) br label %59 59: ; preds = %56, %54 br label %60 60: ; preds = %59, %49 br label %61 61: ; preds = %60, %44 br label %62 62: ; preds = %61, %39 br label %63 63: ; preds = %62, %34 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) br label %65 65: ; preds = %63, %27 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpph10bapw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"I'm thinking of a number between %d and %d.\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"Can you think of the number?\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"Take a Guess: \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"Nope, try again: \00", align 1 @.str.5 = private unnamed_addr constant [52 x i8] c"Wow, you got it on the first try. Wasn't that fun!\0A\00", align 1 @.str.6 = private unnamed_addr constant [44 x i8] c"You got it. I guess third times the charm.\0A\00", align 1 @.str.7 = private unnamed_addr constant [61 x i8] c"Seven wonders. Seven sins. Seven attempts. Awesome tenacity!\00", align 1 @.str.8 = private unnamed_addr constant [47 x i8] c"You're really good at the art of elimination.\0A\00", align 1 @.str.9 = private unnamed_addr constant [63 x i8] c"You finally got it, but I think you need your memory checked.\0A\00", align 1 @.str.10 = private unnamed_addr constant [35 x i8] c"Yep, it was %d. How did you know?\0A\00", align 1 @.str.11 = private unnamed_addr constant [34 x i8] c"Thanks for playing. bye bye now.\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 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 store i32 10, ptr %3, align 4 %7 = call i32 @time(ptr noundef null) %8 = call i32 @srand(i32 noundef %7) %9 = call i32 (...) @rand() %10 = srem i32 %9, 10 %11 = add nsw i32 %10, 1 store i32 %11, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 -1, ptr %6, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1, i32 noundef 10) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %15 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %6) %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %5, align 4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp ne i32 %18, %19 br i1 %20, label %.lr.ph, label %29 .lr.ph: ; preds = %0 br label %21 21: ; preds = %.lr.ph, %21 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %23 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %6) %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp ne i32 %26, %27 br i1 %28, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %29 29: ; preds = %._crit_edge, %0 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp eq i32 %30, %31 br i1 %32, label %33, label %67 33: ; preds = %29 %34 = load i32, ptr %5, align 4 %35 = icmp eq i32 %34, 1 br i1 %35, label %36, label %38 36: ; preds = %33 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %65 38: ; preds = %33 %39 = load i32, ptr %5, align 4 %40 = icmp eq i32 %39, 3 br i1 %40, label %41, label %43 41: ; preds = %38 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %64 43: ; preds = %38 %44 = load i32, ptr %5, align 4 %45 = icmp eq i32 %44, 7 br i1 %45, label %46, label %48 46: ; preds = %43 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %63 48: ; preds = %43 %49 = load i32, ptr %5, align 4 %50 = icmp eq i32 %49, 10 br i1 %50, label %51, label %53 51: ; preds = %48 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %62 53: ; preds = %48 %54 = load i32, ptr %5, align 4 %55 = icmp sgt i32 %54, 11 br i1 %55, label %56, label %58 56: ; preds = %53 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %61 58: ; preds = %53 %59 = load i32, ptr %4, align 4 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %59) br label %61 61: ; preds = %58, %56 br label %62 62: ; preds = %61, %51 br label %63 63: ; preds = %62, %46 br label %64 64: ; preds = %63, %41 br label %65 65: ; preds = %64, %36 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) br label %67 67: ; preds = %65, %29 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfhrjln6z.c' source_filename = "/tmp/tmpfhrjln6z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c":\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%02x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_hex(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i8, align 1 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 0 %8 = load i8, ptr %7, align 1 %9 = zext i8 %8 to i32 %10 = add nsw i32 %9, 4 store i32 %10, ptr %3, align 4 store i8 0, ptr %4, align 1 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 br label %12 12: ; preds = %34, %1 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp ult i32 %13, %14 br i1 %15, label %16, label %37 16: ; preds = %12 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %5, align 4 %19 = zext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = zext i8 %21 to i32 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %22) %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %5, align 4 %26 = zext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 %30 = load i8, ptr %4, align 1 %31 = zext i8 %30 to i32 %32 = sub nsw i32 %31, %29 %33 = trunc i32 %32 to i8 store i8 %33, ptr %4, align 1 br label %34 34: ; preds = %16 %35 = load i32, ptr %5, align 4 %36 = add i32 %35, 1 store i32 %36, ptr %5, align 4 br label %12, !llvm.loop !6 37: ; preds = %12 %38 = load i8, ptr %4, align 1 %39 = zext i8 %38 to i32 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %39) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfhrjln6z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c":\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%02x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_hex(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i8, align 1 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 0 %8 = load i8, ptr %7, align 1 %9 = zext i8 %8 to i32 %10 = add nsw i32 %9, 4 store i32 %10, ptr %3, align 4 store i8 0, ptr %4, align 1 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp ult i32 %12, %13 br i1 %14, label %.lr.ph, label %39 .lr.ph: ; preds = %1 br label %15 15: ; preds = %.lr.ph, %33 %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %5, align 4 %18 = zext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = zext i8 %20 to i32 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21) %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %5, align 4 %25 = zext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = zext i8 %27 to i32 %29 = load i8, ptr %4, align 1 %30 = zext i8 %29 to i32 %31 = sub nsw i32 %30, %28 %32 = trunc i32 %31 to i8 store i8 %32, ptr %4, align 1 br label %33 33: ; preds = %15 %34 = load i32, ptr %5, align 4 %35 = add i32 %34, 1 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %3, align 4 %38 = icmp ult i32 %36, %37 br i1 %38, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %1 %40 = load i8, ptr %4, align 1 %41 = zext i8 %40 to i32 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %41) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgot2gef6.c' source_filename = "/tmp/tmpgot2gef6.c" target datalayout = "e-m:e-p270: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/tmpgot2gef6.c" target datalayout = "e-m:e-p270: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_ypg5kx7.c' source_filename = "/tmp/tmp_ypg5kx7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aes_cfbenc(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca [16 x i8], align 16 %15 = alloca i64, align 8 %16 = alloca i16, align 2 %17 = alloca i16, align 2 %18 = alloca i16, align 2 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %19 = load ptr, ptr %11, align 8 store ptr %19, ptr %13, align 8 store i64 0, ptr %15, align 8 br label %20 20: ; preds = %65, %6 %21 = load i64, ptr %15, align 8 %22 = add i64 %21, 15 %23 = load i64, ptr %9, align 8 %24 = icmp ult i64 %22, %23 br i1 %24, label %25, label %68 25: ; preds = %20 %26 = load i32, ptr %7, align 4 %27 = load ptr, ptr %13, align 8 %28 = load ptr, ptr %10, align 8 %29 = load ptr, ptr %12, align 8 %30 = load i64, ptr %15, align 8 %31 = getelementptr inbounds i8, ptr %29, i64 %30 %32 = call i32 @aes_cipher(i32 noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %31) store i16 0, ptr %16, align 2 br label %33 33: ; preds = %58, %25 %34 = load i16, ptr %16, align 2 %35 = sext i16 %34 to i32 %36 = icmp slt i32 %35, 16 br i1 %36, label %37, label %61 37: ; preds = %33 %38 = load ptr, ptr %8, align 8 %39 = load i64, ptr %15, align 8 %40 = getelementptr inbounds i8, ptr %38, i64 %39 %41 = load i16, ptr %16, align 2 %42 = sext i16 %41 to i32 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %40, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = load ptr, ptr %12, align 8 %48 = load i64, ptr %15, align 8 %49 = getelementptr inbounds i8, ptr %47, i64 %48 %50 = load i16, ptr %16, align 2 %51 = sext i16 %50 to i32 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %49, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = xor i32 %55, %46 %57 = trunc i32 %56 to i8 store i8 %57, ptr %53, align 1 br label %58 58: ; preds = %37 %59 = load i16, ptr %16, align 2 %60 = add i16 %59, 1 store i16 %60, ptr %16, align 2 br label %33, !llvm.loop !6 61: ; preds = %33 %62 = load ptr, ptr %12, align 8 %63 = load i64, ptr %15, align 8 %64 = getelementptr inbounds i8, ptr %62, i64 %63 store ptr %64, ptr %13, align 8 br label %65 65: ; preds = %61 %66 = load i64, ptr %15, align 8 %67 = add i64 %66, 16 store i64 %67, ptr %15, align 8 br label %20, !llvm.loop !8 68: ; preds = %20 %69 = load ptr, ptr %8, align 8 %70 = load i64, ptr %9, align 8 %71 = getelementptr inbounds [16 x i8], ptr %14, i64 0, i64 0 %72 = call signext i16 @aes_pkcs7padding(ptr noundef %69, i64 noundef %70, ptr noundef %71) store i16 %72, ptr %17, align 2 %73 = load i32, ptr %7, align 4 %74 = load ptr, ptr %13, align 8 %75 = load ptr, ptr %10, align 8 %76 = load ptr, ptr %12, align 8 %77 = load i64, ptr %9, align 8 %78 = getelementptr inbounds i8, ptr %76, i64 %77 %79 = load i16, ptr %17, align 2 %80 = sext i16 %79 to i32 %81 = sext i32 %80 to i64 %82 = sub i64 0, %81 %83 = getelementptr inbounds i8, ptr %78, i64 %82 %84 = call i32 @aes_cipher(i32 noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %83) store i16 0, ptr %18, align 2 br label %85 85: ; preds = %111, %68 %86 = load i16, ptr %18, align 2 %87 = sext i16 %86 to i32 %88 = icmp slt i32 %87, 16 br i1 %88, label %89, label %114 89: ; preds = %85 %90 = load i16, ptr %18, align 2 %91 = sext i16 %90 to i64 %92 = getelementptr inbounds [16 x i8], ptr %14, i64 0, i64 %91 %93 = load i8, ptr %92, align 1 %94 = sext i8 %93 to i32 %95 = load ptr, ptr %12, align 8 %96 = load i64, ptr %9, align 8 %97 = getelementptr inbounds i8, ptr %95, i64 %96 %98 = load i16, ptr %17, align 2 %99 = sext i16 %98 to i32 %100 = sext i32 %99 to i64 %101 = sub i64 0, %100 %102 = getelementptr inbounds i8, ptr %97, i64 %101 %103 = load i16, ptr %18, align 2 %104 = sext i16 %103 to i32 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i8, ptr %102, i64 %105 %107 = load i8, ptr %106, align 1 %108 = sext i8 %107 to i32 %109 = xor i32 %108, %94 %110 = trunc i32 %109 to i8 store i8 %110, ptr %106, align 1 br label %111 111: ; preds = %89 %112 = load i16, ptr %18, align 2 %113 = add i16 %112, 1 store i16 %113, ptr %18, align 2 br label %85, !llvm.loop !9 114: ; preds = %85 ret void } declare i32 @aes_cipher(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare signext i16 @aes_pkcs7padding(ptr noundef, i64 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/tmp_ypg5kx7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aes_cfbenc(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca [16 x i8], align 16 %15 = alloca i64, align 8 %16 = alloca i16, align 2 %17 = alloca i16, align 2 %18 = alloca i16, align 2 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %19 = load ptr, ptr %11, align 8 store ptr %19, ptr %13, align 8 store i64 0, ptr %15, align 8 %20 = load i64, ptr %15, align 8 %21 = add i64 %20, 15 %22 = load i64, ptr %9, align 8 %23 = icmp ult i64 %21, %22 br i1 %23, label %.lr.ph2, label %73 .lr.ph2: ; preds = %6 br label %24 24: ; preds = %.lr.ph2, %66 %25 = load i32, ptr %7, align 4 %26 = load ptr, ptr %13, align 8 %27 = load ptr, ptr %10, align 8 %28 = load ptr, ptr %12, align 8 %29 = load i64, ptr %15, align 8 %30 = getelementptr inbounds i8, ptr %28, i64 %29 %31 = call i32 @aes_cipher(i32 noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %30) store i16 0, ptr %16, align 2 %32 = load i16, ptr %16, align 2 %33 = sext i16 %32 to i32 %34 = icmp slt i32 %33, 16 br i1 %34, label %.lr.ph, label %62 .lr.ph: ; preds = %24 br label %35 35: ; preds = %.lr.ph, %56 %36 = load ptr, ptr %8, align 8 %37 = load i64, ptr %15, align 8 %38 = getelementptr inbounds i8, ptr %36, i64 %37 %39 = load i16, ptr %16, align 2 %40 = sext i16 %39 to i32 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %38, i64 %41 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = load ptr, ptr %12, align 8 %46 = load i64, ptr %15, align 8 %47 = getelementptr inbounds i8, ptr %45, i64 %46 %48 = load i16, ptr %16, align 2 %49 = sext i16 %48 to i32 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %47, i64 %50 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = xor i32 %53, %44 %55 = trunc i32 %54 to i8 store i8 %55, ptr %51, align 1 br label %56 56: ; preds = %35 %57 = load i16, ptr %16, align 2 %58 = add i16 %57, 1 store i16 %58, ptr %16, align 2 %59 = load i16, ptr %16, align 2 %60 = sext i16 %59 to i32 %61 = icmp slt i32 %60, 16 br i1 %61, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %62 62: ; preds = %._crit_edge, %24 %63 = load ptr, ptr %12, align 8 %64 = load i64, ptr %15, align 8 %65 = getelementptr inbounds i8, ptr %63, i64 %64 store ptr %65, ptr %13, align 8 br label %66 66: ; preds = %62 %67 = load i64, ptr %15, align 8 %68 = add i64 %67, 16 store i64 %68, ptr %15, align 8 %69 = load i64, ptr %15, align 8 %70 = add i64 %69, 15 %71 = load i64, ptr %9, align 8 %72 = icmp ult i64 %70, %71 br i1 %72, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %66 br label %73 73: ; preds = %._crit_edge3, %6 %74 = load ptr, ptr %8, align 8 %75 = load i64, ptr %9, align 8 %76 = getelementptr inbounds [16 x i8], ptr %14, i64 0, i64 0 %77 = call signext i16 @aes_pkcs7padding(ptr noundef %74, i64 noundef %75, ptr noundef %76) store i16 %77, ptr %17, align 2 %78 = load i32, ptr %7, align 4 %79 = load ptr, ptr %13, align 8 %80 = load ptr, ptr %10, align 8 %81 = load ptr, ptr %12, align 8 %82 = load i64, ptr %9, align 8 %83 = getelementptr inbounds i8, ptr %81, i64 %82 %84 = load i16, ptr %17, align 2 %85 = sext i16 %84 to i32 %86 = sext i32 %85 to i64 %87 = sub i64 0, %86 %88 = getelementptr inbounds i8, ptr %83, i64 %87 %89 = call i32 @aes_cipher(i32 noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %88) store i16 0, ptr %18, align 2 %90 = load i16, ptr %18, align 2 %91 = sext i16 %90 to i32 %92 = icmp slt i32 %91, 16 br i1 %92, label %.lr.ph5, label %121 .lr.ph5: ; preds = %73 br label %93 93: ; preds = %.lr.ph5, %115 %94 = load i16, ptr %18, align 2 %95 = sext i16 %94 to i64 %96 = getelementptr inbounds [16 x i8], ptr %14, i64 0, i64 %95 %97 = load i8, ptr %96, align 1 %98 = sext i8 %97 to i32 %99 = load ptr, ptr %12, align 8 %100 = load i64, ptr %9, align 8 %101 = getelementptr inbounds i8, ptr %99, i64 %100 %102 = load i16, ptr %17, align 2 %103 = sext i16 %102 to i32 %104 = sext i32 %103 to i64 %105 = sub i64 0, %104 %106 = getelementptr inbounds i8, ptr %101, i64 %105 %107 = load i16, ptr %18, align 2 %108 = sext i16 %107 to i32 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i8, ptr %106, i64 %109 %111 = load i8, ptr %110, align 1 %112 = sext i8 %111 to i32 %113 = xor i32 %112, %98 %114 = trunc i32 %113 to i8 store i8 %114, ptr %110, align 1 br label %115 115: ; preds = %93 %116 = load i16, ptr %18, align 2 %117 = add i16 %116, 1 store i16 %117, ptr %18, align 2 %118 = load i16, ptr %18, align 2 %119 = sext i16 %118 to i32 %120 = icmp slt i32 %119, 16 br i1 %120, label %93, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %115 br label %121 121: ; preds = %._crit_edge6, %73 ret void } declare i32 @aes_cipher(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare signext i16 @aes_pkcs7padding(ptr noundef, i64 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/tmpzmvnlcqd.c' source_filename = "/tmp/tmpzmvnlcqd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PF_PACKET = dso_local global i32 0, align 4 @SOCK_RAW = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_RCVTIMEO = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzmvnlcqd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PF_PACKET = dso_local global i32 0, align 4 @SOCK_RAW = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_RCVTIMEO = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3bjkztlh.c' source_filename = "/tmp/tmp3bjkztlh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_REALTIME = 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/tmp3bjkztlh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_REALTIME = 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/tmpp0cxn645.c' source_filename = "/tmp/tmpp0cxn645.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"O superfatorial de 4: %d\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 @superfatorial(i32 noundef 4) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @superfatorial(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/tmpp0cxn645.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"O superfatorial de 4: %d\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 @superfatorial(i32 noundef 4) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @superfatorial(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/tmpr2p_ku26.c' source_filename = "/tmp/tmpr2p_ku26.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normalize(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = call double @magnitude(ptr noundef %7) %9 = fdiv double 1.000000e+00, %8 %10 = call ptr @scale(ptr noundef %5, ptr noundef %6, double noundef %9) ret ptr %10 } declare ptr @scale(ptr noundef, ptr noundef, double noundef) #1 declare double @magnitude(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/tmpr2p_ku26.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @normalize(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = call double @magnitude(ptr noundef %7) %9 = fdiv double 1.000000e+00, %8 %10 = call ptr @scale(ptr noundef %5, ptr noundef %6, double noundef %9) ret ptr %10 } declare ptr @scale(ptr noundef, ptr noundef, double noundef) #1 declare double @magnitude(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/tmpocl1pklq.c' source_filename = "/tmp/tmpocl1pklq.c" target datalayout = "e-m:e-p270: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/tmpocl1pklq.c" target datalayout = "e-m:e-p270: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/tmpsyo5ro1z.c' source_filename = "/tmp/tmpsyo5ro1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global 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/tmpsyo5ro1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global 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/tmplkka0q92.c' source_filename = "/tmp/tmplkka0q92.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foobar\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_memcpy() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %3 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @strcpy(ptr noundef %3, ptr noundef @.str) %5 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 3 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = icmp eq i32 %7, 98 br i1 %8, label %9, label %10 9: ; preds = %0 store i32 1, ptr %1, align 4 br label %11 10: ; preds = %0 store i32 0, ptr %1, align 4 br label %11 11: ; preds = %10, %9 %12 = load i32, ptr %1, align 4 ret i32 %12 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplkka0q92.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foobar\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_memcpy() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %3 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @strcpy(ptr noundef %3, ptr noundef @.str) %5 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 3 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = icmp eq i32 %7, 98 br i1 %8, label %9, label %10 9: ; preds = %0 store i32 1, ptr %1, align 4 br label %11 10: ; preds = %0 store i32 0, ptr %1, align 4 br label %11 11: ; preds = %10, %9 %12 = load i32, ptr %1, align 4 ret i32 %12 } 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"}
; ModuleID = '/tmp/tmpr73k61mr.c' source_filename = "/tmp/tmpr73k61mr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOMEM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @EINTR = dso_local global i32 0, align 4 @ESPIPE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sha512_file_ctx(i32 noundef %0, i32 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i64 0, ptr %11, align 8 %14 = call ptr @malloc(i32 noundef 32840) store ptr %14, ptr %12, align 8 %15 = load ptr, ptr %12, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %20, label %17 17: ; preds = %4 %18 = load i32, ptr @ENOMEM, align 4 %19 = sub nsw i32 0, %18 store i32 %19, ptr %5, align 4 br label %100 20: ; preds = %4 br label %21 21: ; preds = %20, %82 store i64 0, ptr %10, align 8 br label %22 22: ; preds = %21, %38, %70 %23 = load i32, ptr %6, align 4 %24 = load ptr, ptr %12, align 8 %25 = load i64, ptr %10, align 8 %26 = getelementptr inbounds i8, ptr %24, i64 %25 %27 = load i64, ptr %10, align 8 %28 = sub i64 32768, %27 %29 = trunc i64 %28 to i32 %30 = load i32, ptr %7, align 4 %31 = call i32 @pread(i32 noundef %23, ptr noundef %26, i32 noundef %29, i32 noundef %30) store i32 %31, ptr %13, align 4 %32 = load i32, ptr %13, align 4 %33 = icmp eq i32 %32, -1 br i1 %33, label %34, label %44 34: ; preds = %22 %35 = load i32, ptr @errno, align 4 %36 = load i32, ptr @EINTR, align 4 %37 = icmp eq i32 %35, %36 br i1 %37, label %38, label %39 38: ; preds = %34 br label %22 39: ; preds = %34 %40 = load ptr, ptr %12, align 8 %41 = call i32 @free(ptr noundef %40) %42 = load i32, ptr @errno, align 4 %43 = sub nsw i32 0, %42 store i32 %43, ptr %5, align 4 br label %100 44: ; preds = %22 %45 = load i32, ptr %13, align 4 %46 = sext i32 %45 to i64 %47 = load i64, ptr %10, align 8 %48 = add i64 %47, %46 store i64 %48, ptr %10, align 8 %49 = load i32, ptr %13, align 4 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, %49 store i32 %51, ptr %7, align 4 %52 = load i64, ptr %10, align 8 %53 = icmp eq i64 %52, 32768 br i1 %53, label %54, label %55 54: ; preds = %44 br label %71 55: ; preds = %44 %56 = load i32, ptr %13, align 4 %57 = icmp eq i32 %56, 0 br i1 %57, label %58, label %70 58: ; preds = %55 %59 = load i64, ptr %11, align 8 %60 = load i64, ptr %10, align 8 %61 = add i64 %59, %60 %62 = load i64, ptr %8, align 8 %63 = icmp ult i64 %61, %62 br i1 %63, label %64, label %69 64: ; preds = %58 %65 = load ptr, ptr %12, align 8 %66 = call i32 @free(ptr noundef %65) %67 = load i32, ptr @ESPIPE, align 4 %68 = sub nsw i32 0, %67 store i32 %68, ptr %5, align 4 br label %100 69: ; preds = %58 br label %86 70: ; preds = %55 br label %22 71: ; preds = %54 %72 = load i64, ptr %11, align 8 %73 = load i64, ptr %10, align 8 %74 = add i64 %72, %73 %75 = load i64, ptr %8, align 8 %76 = icmp ult i64 %74, %75 br i1 %76, label %77, label %81 77: ; preds = %71 %78 = load i64, ptr %10, align 8 %79 = load i64, ptr %11, align 8 %80 = add i64 %79, %78 store i64 %80, ptr %11, align 8 br label %82 81: ; preds = %71 br label %86 82: ; preds = %77 %83 = load ptr, ptr %12, align 8 %84 = load ptr, ptr %9, align 8 %85 = call i32 @sha512_process_block(ptr noundef %83, i32 noundef 32768, ptr noundef %84) br label %21 86: ; preds = %81, %69 %87 = load i64, ptr %8, align 8 %88 = load i64, ptr %11, align 8 %89 = sub i64 %87, %88 store i64 %89, ptr %10, align 8 %90 = load i64, ptr %10, align 8 %91 = icmp ugt i64 %90, 0 br i1 %91, label %92, label %97 92: ; preds = %86 %93 = load ptr, ptr %12, align 8 %94 = load i64, ptr %10, align 8 %95 = load ptr, ptr %9, align 8 %96 = call i32 @sha512_process_bytes(ptr noundef %93, i64 noundef %94, ptr noundef %95) br label %97 97: ; preds = %92, %86 %98 = load ptr, ptr %12, align 8 %99 = call i32 @free(ptr noundef %98) store i32 0, ptr %5, align 4 br label %100 100: ; preds = %97, %64, %39, %17 %101 = load i32, ptr %5, align 4 ret i32 %101 } declare ptr @malloc(i32 noundef) #1 declare i32 @pread(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @sha512_process_block(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sha512_process_bytes(ptr noundef, i64 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/tmpr73k61mr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOMEM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @EINTR = dso_local global i32 0, align 4 @ESPIPE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sha512_file_ctx(i32 noundef %0, i32 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i64 0, ptr %11, align 8 %14 = call ptr @malloc(i32 noundef 32840) store ptr %14, ptr %12, align 8 %15 = load ptr, ptr %12, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %20, label %17 17: ; preds = %4 %18 = load i32, ptr @ENOMEM, align 4 %19 = sub nsw i32 0, %18 store i32 %19, ptr %5, align 4 br label %100 20: ; preds = %4 br label %21 21: ; preds = %82, %20 store i64 0, ptr %10, align 8 br label %22 22: ; preds = %.backedge, %21 %23 = load i32, ptr %6, align 4 %24 = load ptr, ptr %12, align 8 %25 = load i64, ptr %10, align 8 %26 = getelementptr inbounds i8, ptr %24, i64 %25 %27 = load i64, ptr %10, align 8 %28 = sub i64 32768, %27 %29 = trunc i64 %28 to i32 %30 = load i32, ptr %7, align 4 %31 = call i32 @pread(i32 noundef %23, ptr noundef %26, i32 noundef %29, i32 noundef %30) store i32 %31, ptr %13, align 4 %32 = load i32, ptr %13, align 4 %33 = icmp eq i32 %32, -1 br i1 %33, label %34, label %44 34: ; preds = %22 %35 = load i32, ptr @errno, align 4 %36 = load i32, ptr @EINTR, align 4 %37 = icmp eq i32 %35, %36 br i1 %37, label %38, label %39 38: ; preds = %34 br label %.backedge .backedge: ; preds = %38, %70 br label %22 39: ; preds = %34 %40 = load ptr, ptr %12, align 8 %41 = call i32 @free(ptr noundef %40) %42 = load i32, ptr @errno, align 4 %43 = sub nsw i32 0, %42 store i32 %43, ptr %5, align 4 br label %100 44: ; preds = %22 %45 = load i32, ptr %13, align 4 %46 = sext i32 %45 to i64 %47 = load i64, ptr %10, align 8 %48 = add i64 %47, %46 store i64 %48, ptr %10, align 8 %49 = load i32, ptr %13, align 4 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, %49 store i32 %51, ptr %7, align 4 %52 = load i64, ptr %10, align 8 %53 = icmp eq i64 %52, 32768 br i1 %53, label %54, label %55 54: ; preds = %44 br label %71 55: ; preds = %44 %56 = load i32, ptr %13, align 4 %57 = icmp eq i32 %56, 0 br i1 %57, label %58, label %70 58: ; preds = %55 %59 = load i64, ptr %11, align 8 %60 = load i64, ptr %10, align 8 %61 = add i64 %59, %60 %62 = load i64, ptr %8, align 8 %63 = icmp ult i64 %61, %62 br i1 %63, label %64, label %69 64: ; preds = %58 %65 = load ptr, ptr %12, align 8 %66 = call i32 @free(ptr noundef %65) %67 = load i32, ptr @ESPIPE, align 4 %68 = sub nsw i32 0, %67 store i32 %68, ptr %5, align 4 br label %100 69: ; preds = %58 br label %86 70: ; preds = %55 br label %.backedge 71: ; preds = %54 %72 = load i64, ptr %11, align 8 %73 = load i64, ptr %10, align 8 %74 = add i64 %72, %73 %75 = load i64, ptr %8, align 8 %76 = icmp ult i64 %74, %75 br i1 %76, label %77, label %81 77: ; preds = %71 %78 = load i64, ptr %10, align 8 %79 = load i64, ptr %11, align 8 %80 = add i64 %79, %78 store i64 %80, ptr %11, align 8 br label %82 81: ; preds = %71 br label %86 82: ; preds = %77 %83 = load ptr, ptr %12, align 8 %84 = load ptr, ptr %9, align 8 %85 = call i32 @sha512_process_block(ptr noundef %83, i32 noundef 32768, ptr noundef %84) br label %21 86: ; preds = %81, %69 %87 = load i64, ptr %8, align 8 %88 = load i64, ptr %11, align 8 %89 = sub i64 %87, %88 store i64 %89, ptr %10, align 8 %90 = load i64, ptr %10, align 8 %91 = icmp ugt i64 %90, 0 br i1 %91, label %92, label %97 92: ; preds = %86 %93 = load ptr, ptr %12, align 8 %94 = load i64, ptr %10, align 8 %95 = load ptr, ptr %9, align 8 %96 = call i32 @sha512_process_bytes(ptr noundef %93, i64 noundef %94, ptr noundef %95) br label %97 97: ; preds = %92, %86 %98 = load ptr, ptr %12, align 8 %99 = call i32 @free(ptr noundef %98) store i32 0, ptr %5, align 4 br label %100 100: ; preds = %97, %64, %39, %17 %101 = load i32, ptr %5, align 4 ret i32 %101 } declare ptr @malloc(i32 noundef) #1 declare i32 @pread(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @sha512_process_block(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @sha512_process_bytes(ptr noundef, i64 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/tmpcdjxf1mx.c' source_filename = "/tmp/tmpcdjxf1mx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"hpet_open_close: device-name\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"hpet_open_close: open failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hpet_open_close(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 1 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) br label %26 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = load i32, ptr @O_RDONLY, align 4 %16 = call i32 @open(ptr noundef %14, i32 noundef %15) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %11 %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.1) br label %25 22: ; preds = %11 %23 = load i32, ptr %5, align 4 %24 = call i32 @close(i32 noundef %23) br label %25 25: ; preds = %22, %19 br label %26 26: ; preds = %25, %8 ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @open(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcdjxf1mx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"hpet_open_close: device-name\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"hpet_open_close: open failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hpet_open_close(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 1 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) br label %26 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = load i32, ptr @O_RDONLY, align 4 %16 = call i32 @open(ptr noundef %14, i32 noundef %15) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %11 %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.1) br label %25 22: ; preds = %11 %23 = load i32, ptr %5, align 4 %24 = call i32 @close(i32 noundef %23) br label %25 25: ; preds = %22, %19 br label %26 26: ; preds = %25, %8 ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @open(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf06kx3vs.c' source_filename = "/tmp/tmpf06kx3vs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_str(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fmt_strlen(ptr noundef %4) %6 = call i32 @print(ptr noundef %3, i32 noundef %5) ret void } declare i32 @print(ptr noundef, i32 noundef) #1 declare i32 @fmt_strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf06kx3vs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_str(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fmt_strlen(ptr noundef %4) %6 = call i32 @print(ptr noundef %3, i32 noundef %5) ret void } declare i32 @print(ptr noundef, i32 noundef) #1 declare i32 @fmt_strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdtktn55x.c' source_filename = "/tmp/tmpdtktn55x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strrev(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = call i64 @malloc(i32 noundef 100) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %27, %1 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %2, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = icmp slt i32 %9, %11 br i1 %12, label %13, label %30 13: ; preds = %8 %14 = load ptr, ptr %2, align 8 %15 = load ptr, ptr %2, align 8 %16 = call i32 @strlen(ptr noundef %15) %17 = sub nsw i32 %16, 1 %18 = load i32, ptr %5, align 4 %19 = sub nsw i32 %17, %18 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %14, i64 %20 %22 = load i8, ptr %21, align 1 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 store i8 %22, ptr %26, align 1 br label %27 27: ; preds = %13 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 br label %8, !llvm.loop !6 30: ; preds = %8 %31 = load ptr, ptr %4, align 8 ret ptr %31 } declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdtktn55x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strrev(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = call i64 @malloc(i32 noundef 100) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %4, align 8 store i32 0, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = icmp slt i32 %8, %10 br i1 %11, label %.lr.ph, label %33 .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %26 %13 = load ptr, ptr %2, align 8 %14 = load ptr, ptr %2, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = sub nsw i32 %15, 1 %17 = load i32, ptr %5, align 4 %18 = sub nsw i32 %16, %17 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %13, i64 %19 %21 = load i8, ptr %20, align 1 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 store i8 %21, ptr %25, align 1 br label %26 26: ; preds = %12 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = load ptr, ptr %2, align 8 %31 = call i32 @strlen(ptr noundef %30) %32 = icmp slt i32 %29, %31 br i1 %32, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %33 33: ; preds = %._crit_edge, %1 %34 = load ptr, ptr %4, align 8 ret ptr %34 } declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpl2sjlkc8.c' source_filename = "/tmp/tmpl2sjlkc8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @fpoint() #0 { %1 = alloca float, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 store i32 0, ptr %2, align 4 store i32 10, ptr %3, align 4 br label %6 6: ; preds = %41, %0 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %42 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = sub nsw i32 %12, %13 %15 = add nsw i32 %11, %14 %16 = sdiv i32 %15, 2 %17 = sitofp i32 %16 to float store float %17, ptr %4, align 4 %18 = load float, ptr %4, align 4 %19 = call float @func(float noundef %18) store float %19, ptr %5, align 4 %20 = load float, ptr %5, align 4 %21 = load float, ptr %4, align 4 %22 = fsub float %20, %21 %23 = call i32 @abs(float noundef %22) %24 = sitofp i32 %23 to double %25 = fcmp olt double %24, 0x3BC79CA10C924223 br i1 %25, label %26, label %28 26: ; preds = %10 %27 = load float, ptr %4, align 4 store float %27, ptr %1, align 4 br label %42 28: ; preds = %10 %29 = load float, ptr %5, align 4 %30 = load float, ptr %4, align 4 %31 = fcmp ogt float %29, %30 br i1 %31, label %32, label %36 32: ; preds = %28 %33 = load float, ptr %4, align 4 %34 = fsub float %33, 1.000000e+00 %35 = fptosi float %34 to i32 store i32 %35, ptr %3, align 4 br label %40 36: ; preds = %28 %37 = load float, ptr %4, align 4 %38 = fadd float %37, 1.000000e+00 %39 = fptosi float %38 to i32 store i32 %39, ptr %2, align 4 br label %40 40: ; preds = %36, %32 br label %41 41: ; preds = %40 br label %6, !llvm.loop !6 42: ; preds = %26, %6 %43 = load float, ptr %1, align 4 ret float %43 } declare float @func(float noundef) #1 declare i32 @abs(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl2sjlkc8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @fpoint() #0 { %1 = alloca float, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 store i32 0, ptr %2, align 4 store i32 10, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %40 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = sub nsw i32 %11, %12 %14 = add nsw i32 %10, %13 %15 = sdiv i32 %14, 2 %16 = sitofp i32 %15 to float store float %16, ptr %4, align 4 %17 = load float, ptr %4, align 4 %18 = call float @func(float noundef %17) store float %18, ptr %5, align 4 %19 = load float, ptr %5, align 4 %20 = load float, ptr %4, align 4 %21 = fsub float %19, %20 %22 = call i32 @abs(float noundef %21) %23 = sitofp i32 %22 to double %24 = fcmp olt double %23, 0x3BC79CA10C924223 br i1 %24, label %25, label %27 25: ; preds = %9 %26 = load float, ptr %4, align 4 store float %26, ptr %1, align 4 br label %44 27: ; preds = %9 %28 = load float, ptr %5, align 4 %29 = load float, ptr %4, align 4 %30 = fcmp ogt float %28, %29 br i1 %30, label %31, label %35 31: ; preds = %27 %32 = load float, ptr %4, align 4 %33 = fsub float %32, 1.000000e+00 %34 = fptosi float %33 to i32 store i32 %34, ptr %3, align 4 br label %39 35: ; preds = %27 %36 = load float, ptr %4, align 4 %37 = fadd float %36, 1.000000e+00 %38 = fptosi float %37 to i32 store i32 %38, ptr %2, align 4 br label %39 39: ; preds = %35, %31 br label %40 40: ; preds = %39 %41 = load i32, ptr %2, align 4 %42 = load i32, ptr %3, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %9, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %40 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %44 44: ; preds = %.loopexit, %25 %45 = load float, ptr %1, align 4 ret float %45 } declare float @func(float noundef) #1 declare i32 @abs(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1i7jicd0.c' source_filename = "/tmp/tmp1i7jicd0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i3_get_field(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [256 x i32], align 16 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i8 0, ptr %6, align 1 store i8 0, ptr %7, align 1 store i8 0, ptr %8, align 1 %9 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 0 %10 = call i32 @bzero(ptr noundef %9, i32 noundef 1024) %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %4, align 8 store ptr %11, ptr %12, align 8 br label %13 13: ; preds = %2, %118 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 0 %16 = load ptr, ptr %15, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 switch i32 %18, label %114 [ i32 123, label %19 i32 125, label %27 i32 91, label %35 i32 93, label %43 i32 40, label %51 i32 41, label %59 i32 92, label %67 i32 34, label %73 i32 44, label %84 i32 58, label %84 ] 19: ; preds = %13 %20 = load i8, ptr %6, align 1 %21 = icmp ne i8 %20, 0 br i1 %21, label %26, label %22 22: ; preds = %19 %23 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 123 %24 = load i32, ptr %23, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %23, align 4 br label %26 26: ; preds = %22, %19 br label %114 27: ; preds = %13 %28 = load i8, ptr %6, align 1 %29 = icmp ne i8 %28, 0 br i1 %29, label %34, label %30 30: ; preds = %27 %31 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 125 %32 = load i32, ptr %31, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %31, align 4 br label %34 34: ; preds = %30, %27 br label %114 35: ; preds = %13 %36 = load i8, ptr %6, align 1 %37 = icmp ne i8 %36, 0 br i1 %37, label %42, label %38 38: ; preds = %35 %39 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 91 %40 = load i32, ptr %39, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %39, align 4 br label %42 42: ; preds = %38, %35 br label %114 43: ; preds = %13 %44 = load i8, ptr %6, align 1 %45 = icmp ne i8 %44, 0 br i1 %45, label %50, label %46 46: ; preds = %43 %47 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 93 %48 = load i32, ptr %47, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %47, align 4 br label %50 50: ; preds = %46, %43 br label %114 51: ; preds = %13 %52 = load i8, ptr %6, align 1 %53 = icmp ne i8 %52, 0 br i1 %53, label %58, label %54 54: ; preds = %51 %55 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 40 %56 = load i32, ptr %55, align 16 %57 = add nsw i32 %56, 1 store i32 %57, ptr %55, align 16 br label %58 58: ; preds = %54, %51 br label %114 59: ; preds = %13 %60 = load i8, ptr %6, align 1 %61 = icmp ne i8 %60, 0 br i1 %61, label %66, label %62 62: ; preds = %59 %63 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 41 %64 = load i32, ptr %63, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %63, align 4 br label %66 66: ; preds = %62, %59 br label %114 67: ; preds = %13 %68 = load i8, ptr %7, align 1 %69 = icmp ne i8 %68, 0 br i1 %69, label %70, label %71 70: ; preds = %67 store i8 0, ptr %7, align 1 br label %72 71: ; preds = %67 store i8 1, ptr %7, align 1 br label %72 72: ; preds = %71, %70 br label %114 73: ; preds = %13 %74 = load i8, ptr %7, align 1 %75 = icmp ne i8 %74, 0 br i1 %75, label %76, label %77 76: ; preds = %73 store i8 0, ptr %7, align 1 br label %83 77: ; preds = %73 %78 = load i8, ptr %6, align 1 %79 = icmp ne i8 %78, 0 br i1 %79, label %80, label %81 80: ; preds = %77 store i8 0, ptr %6, align 1 br label %82 81: ; preds = %77 store i8 1, ptr %6, align 1 br label %82 82: ; preds = %81, %80 br label %83 83: ; preds = %82, %76 br label %114 84: ; preds = %13, %13 %85 = load i8, ptr %6, align 1 %86 = icmp ne i8 %85, 0 br i1 %86, label %87, label %88 87: ; preds = %84 br label %114 88: ; preds = %84 %89 = load i8, ptr %7, align 1 %90 = icmp ne i8 %89, 0 br i1 %90, label %91, label %92 91: ; preds = %88 br label %114 92: ; preds = %88 %93 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 123 %94 = load i32, ptr %93, align 4 %95 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 125 %96 = load i32, ptr %95, align 4 %97 = icmp ne i32 %94, %96 br i1 %97, label %98, label %99 98: ; preds = %92 br label %114 99: ; preds = %92 %100 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 91 %101 = load i32, ptr %100, align 4 %102 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 93 %103 = load i32, ptr %102, align 4 %104 = icmp ne i32 %101, %103 br i1 %104, label %105, label %106 105: ; preds = %99 br label %114 106: ; preds = %99 %107 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 40 %108 = load i32, ptr %107, align 16 %109 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 41 %110 = load i32, ptr %109, align 4 %111 = icmp ne i32 %108, %110 br i1 %111, label %112, label %113 112: ; preds = %106 br label %114 113: ; preds = %106 store i8 1, ptr %8, align 1 br label %114 114: ; preds = %13, %113, %112, %105, %98, %91, %87, %83, %72, %66, %58, %50, %42, %34, %26 %115 = load i8, ptr %8, align 1 %116 = icmp ne i8 %115, 0 br i1 %116, label %117, label %118 117: ; preds = %114 br label %122 118: ; preds = %114 %119 = load ptr, ptr %4, align 8 %120 = load ptr, ptr %119, align 8 %121 = getelementptr inbounds i8, ptr %120, i32 1 store ptr %121, ptr %119, align 8 br label %13 122: ; preds = %117 %123 = load ptr, ptr %4, align 8 %124 = getelementptr inbounds ptr, ptr %123, i64 0 %125 = load ptr, ptr %124, align 8 store i8 0, ptr %125, align 1 %126 = load ptr, ptr %4, align 8 %127 = load ptr, ptr %126, align 8 %128 = getelementptr inbounds i8, ptr %127, i32 1 store ptr %128, ptr %126, align 8 %129 = load ptr, ptr %4, align 8 %130 = load ptr, ptr %129, align 8 ret ptr %130 } declare i32 @bzero(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/tmp1i7jicd0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i3_get_field(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [256 x i32], align 16 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i8 0, ptr %6, align 1 store i8 0, ptr %7, align 1 store i8 0, ptr %8, align 1 %9 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 0 %10 = call i32 @bzero(ptr noundef %9, i32 noundef 1024) %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %4, align 8 store ptr %11, ptr %12, align 8 br label %13 13: ; preds = %118, %2 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 0 %16 = load ptr, ptr %15, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 switch i32 %18, label %114 [ i32 123, label %19 i32 125, label %27 i32 91, label %35 i32 93, label %43 i32 40, label %51 i32 41, label %59 i32 92, label %67 i32 34, label %73 i32 44, label %84 i32 58, label %84 ] 19: ; preds = %13 %20 = load i8, ptr %6, align 1 %21 = icmp ne i8 %20, 0 br i1 %21, label %26, label %22 22: ; preds = %19 %23 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 123 %24 = load i32, ptr %23, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %23, align 4 br label %26 26: ; preds = %22, %19 br label %114 27: ; preds = %13 %28 = load i8, ptr %6, align 1 %29 = icmp ne i8 %28, 0 br i1 %29, label %34, label %30 30: ; preds = %27 %31 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 125 %32 = load i32, ptr %31, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %31, align 4 br label %34 34: ; preds = %30, %27 br label %114 35: ; preds = %13 %36 = load i8, ptr %6, align 1 %37 = icmp ne i8 %36, 0 br i1 %37, label %42, label %38 38: ; preds = %35 %39 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 91 %40 = load i32, ptr %39, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %39, align 4 br label %42 42: ; preds = %38, %35 br label %114 43: ; preds = %13 %44 = load i8, ptr %6, align 1 %45 = icmp ne i8 %44, 0 br i1 %45, label %50, label %46 46: ; preds = %43 %47 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 93 %48 = load i32, ptr %47, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %47, align 4 br label %50 50: ; preds = %46, %43 br label %114 51: ; preds = %13 %52 = load i8, ptr %6, align 1 %53 = icmp ne i8 %52, 0 br i1 %53, label %58, label %54 54: ; preds = %51 %55 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 40 %56 = load i32, ptr %55, align 16 %57 = add nsw i32 %56, 1 store i32 %57, ptr %55, align 16 br label %58 58: ; preds = %54, %51 br label %114 59: ; preds = %13 %60 = load i8, ptr %6, align 1 %61 = icmp ne i8 %60, 0 br i1 %61, label %66, label %62 62: ; preds = %59 %63 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 41 %64 = load i32, ptr %63, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %63, align 4 br label %66 66: ; preds = %62, %59 br label %114 67: ; preds = %13 %68 = load i8, ptr %7, align 1 %69 = icmp ne i8 %68, 0 br i1 %69, label %70, label %71 70: ; preds = %67 store i8 0, ptr %7, align 1 br label %72 71: ; preds = %67 store i8 1, ptr %7, align 1 br label %72 72: ; preds = %71, %70 br label %114 73: ; preds = %13 %74 = load i8, ptr %7, align 1 %75 = icmp ne i8 %74, 0 br i1 %75, label %76, label %77 76: ; preds = %73 store i8 0, ptr %7, align 1 br label %83 77: ; preds = %73 %78 = load i8, ptr %6, align 1 %79 = icmp ne i8 %78, 0 br i1 %79, label %80, label %81 80: ; preds = %77 store i8 0, ptr %6, align 1 br label %82 81: ; preds = %77 store i8 1, ptr %6, align 1 br label %82 82: ; preds = %81, %80 br label %83 83: ; preds = %82, %76 br label %114 84: ; preds = %13, %13 %85 = load i8, ptr %6, align 1 %86 = icmp ne i8 %85, 0 br i1 %86, label %87, label %88 87: ; preds = %84 br label %114 88: ; preds = %84 %89 = load i8, ptr %7, align 1 %90 = icmp ne i8 %89, 0 br i1 %90, label %91, label %92 91: ; preds = %88 br label %114 92: ; preds = %88 %93 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 123 %94 = load i32, ptr %93, align 4 %95 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 125 %96 = load i32, ptr %95, align 4 %97 = icmp ne i32 %94, %96 br i1 %97, label %98, label %99 98: ; preds = %92 br label %114 99: ; preds = %92 %100 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 91 %101 = load i32, ptr %100, align 4 %102 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 93 %103 = load i32, ptr %102, align 4 %104 = icmp ne i32 %101, %103 br i1 %104, label %105, label %106 105: ; preds = %99 br label %114 106: ; preds = %99 %107 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 40 %108 = load i32, ptr %107, align 16 %109 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 41 %110 = load i32, ptr %109, align 4 %111 = icmp ne i32 %108, %110 br i1 %111, label %112, label %113 112: ; preds = %106 br label %114 113: ; preds = %106 store i8 1, ptr %8, align 1 br label %114 114: ; preds = %113, %112, %105, %98, %91, %87, %83, %72, %66, %58, %50, %42, %34, %26, %13 %115 = load i8, ptr %8, align 1 %116 = icmp ne i8 %115, 0 br i1 %116, label %117, label %118 117: ; preds = %114 br label %122 118: ; preds = %114 %119 = load ptr, ptr %4, align 8 %120 = load ptr, ptr %119, align 8 %121 = getelementptr inbounds i8, ptr %120, i32 1 store ptr %121, ptr %119, align 8 br label %13 122: ; preds = %117 %123 = load ptr, ptr %4, align 8 %124 = getelementptr inbounds ptr, ptr %123, i64 0 %125 = load ptr, ptr %124, align 8 store i8 0, ptr %125, align 1 %126 = load ptr, ptr %4, align 8 %127 = load ptr, ptr %126, align 8 %128 = getelementptr inbounds i8, ptr %127, i32 1 store ptr %128, ptr %126, align 8 %129 = load ptr, ptr %4, align 8 %130 = load ptr, ptr %129, align 8 ret ptr %130 } declare i32 @bzero(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/tmpzmp10enl.c' source_filename = "/tmp/tmpzmp10enl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) store i32 1, ptr %2, align 4 br label %6 6: ; preds = %15, %0 %7 = load i32, ptr %2, align 4 %8 = icmp sle i32 %7, 20 br i1 %8, label %9, label %18 9: ; preds = %6 %10 = call i32 (...) @rand() %11 = srem i32 %10, 8 %12 = add nsw i32 %11, -4 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %13) br label %15 15: ; preds = %9 %16 = load i32, ptr %2, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %2, align 4 br label %6, !llvm.loop !6 18: ; preds = %6 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzmp10enl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) store i32 1, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp sle i32 %6, 20 br i1 %7, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %14 %9 = call i32 (...) @rand() %10 = srem i32 %9, 8 %11 = add nsw i32 %10, -4 store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) br label %14 14: ; preds = %8 %15 = load i32, ptr %2, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %2, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp sle i32 %17, 20 br i1 %18, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbpf05o3d.c' source_filename = "/tmp/tmpbpf05o3d.c" target datalayout = "e-m:e-p270: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/tmpbpf05o3d.c" target datalayout = "e-m:e-p270: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/tmpqqcqi9_m.c' source_filename = "/tmp/tmpqqcqi9_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" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqqcqi9_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" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp83xbphwv.c' source_filename = "/tmp/tmp83xbphwv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hawkc_fixed_time_equal(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i32 1, ptr %7, align 4 store i64 0, ptr %8, align 8 br label %9 9: ; preds = %29, %3 %10 = load i64, ptr %8, align 8 %11 = trunc i64 %10 to i32 %12 = load i64, ptr %6, align 8 %13 = trunc i64 %12 to i32 %14 = icmp slt i32 %11, %13 br i1 %14, label %15, label %32 15: ; preds = %9 %16 = load ptr, ptr %4, align 8 %17 = load i64, ptr %8, align 8 %18 = getelementptr inbounds i8, ptr %16, i64 %17 %19 = load i8, ptr %18, align 1 %20 = zext i8 %19 to i32 %21 = load ptr, ptr %5, align 8 %22 = load i64, ptr %8, align 8 %23 = getelementptr inbounds i8, ptr %21, i64 %22 %24 = load i8, ptr %23, align 1 %25 = zext i8 %24 to i32 %26 = icmp ne i32 %20, %25 br i1 %26, label %27, label %28 27: ; preds = %15 store i32 0, ptr %7, align 4 br label %28 28: ; preds = %27, %15 br label %29 29: ; preds = %28 %30 = load i64, ptr %8, align 8 %31 = add i64 %30, 1 store i64 %31, ptr %8, align 8 br label %9, !llvm.loop !6 32: ; preds = %9 %33 = load i32, ptr %7, align 4 ret i32 %33 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp83xbphwv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hawkc_fixed_time_equal(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i32 1, ptr %7, align 4 store i64 0, ptr %8, align 8 %9 = load i64, ptr %8, align 8 %10 = trunc i64 %9 to i32 %11 = load i64, ptr %6, align 8 %12 = trunc i64 %11 to i32 %13 = icmp slt i32 %10, %12 br i1 %13, label %.lr.ph, label %36 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %28 %15 = load ptr, ptr %4, align 8 %16 = load i64, ptr %8, align 8 %17 = getelementptr inbounds i8, ptr %15, i64 %16 %18 = load i8, ptr %17, align 1 %19 = zext i8 %18 to i32 %20 = load ptr, ptr %5, align 8 %21 = load i64, ptr %8, align 8 %22 = getelementptr inbounds i8, ptr %20, i64 %21 %23 = load i8, ptr %22, align 1 %24 = zext i8 %23 to i32 %25 = icmp ne i32 %19, %24 br i1 %25, label %26, label %27 26: ; preds = %14 store i32 0, ptr %7, align 4 br label %27 27: ; preds = %26, %14 br label %28 28: ; preds = %27 %29 = load i64, ptr %8, align 8 %30 = add i64 %29, 1 store i64 %30, ptr %8, align 8 %31 = load i64, ptr %8, align 8 %32 = trunc i64 %31 to i32 %33 = load i64, ptr %6, align 8 %34 = trunc i64 %33 to i32 %35 = icmp slt i32 %32, %34 br i1 %35, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %36 36: ; preds = %._crit_edge, %3 %37 = load i32, ptr %7, align 4 ret i32 %37 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpeyvtj_l7.c' source_filename = "/tmp/tmpeyvtj_l7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @power2(i32 noundef 4) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @power2(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/tmpeyvtj_l7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @power2(i32 noundef 4) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @power2(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/tmp8l2_39uj.c' source_filename = "/tmp/tmp8l2_39uj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"This is the first string.\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"This is the second string.\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"string1 = %s and string2 = %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 store ptr @.str, ptr %1, align 8 store ptr @.str.1, ptr %2, align 8 %3 = call i32 @swap(ptr noundef %1, ptr noundef %2) %4 = load ptr, ptr %1, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @printf(ptr noundef @.str.2, ptr noundef %4, ptr noundef %5) ret i32 0 } declare i32 @swap(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8l2_39uj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"This is the first string.\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"This is the second string.\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"string1 = %s and string2 = %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 store ptr @.str, ptr %1, align 8 store ptr @.str.1, ptr %2, align 8 %3 = call i32 @swap(ptr noundef %1, ptr noundef %2) %4 = load ptr, ptr %1, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @printf(ptr noundef @.str.2, ptr noundef %4, ptr noundef %5) ret i32 0 } declare i32 @swap(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph611nnvk.c' source_filename = "/tmp/tmph611nnvk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @coap_option_nibble(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 13 br i1 %6, label %7, label %11 7: ; preds = %2 %8 = load i32, ptr %3, align 4 %9 = and i32 255, %8 %10 = load ptr, ptr %4, align 8 store i32 %9, ptr %10, align 4 br label %23 11: ; preds = %2 %12 = load i32, ptr %3, align 4 %13 = icmp sle i32 %12, 268 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = load ptr, ptr %4, align 8 store i32 13, ptr %15, align 4 br label %22 16: ; preds = %11 %17 = load i32, ptr %3, align 4 %18 = icmp sle i32 %17, 65804 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = load ptr, ptr %4, align 8 store i32 14, ptr %20, align 4 br label %21 21: ; preds = %19, %16 br label %22 22: ; preds = %21, %14 br label %23 23: ; preds = %22, %7 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph611nnvk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @coap_option_nibble(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 13 br i1 %6, label %7, label %11 7: ; preds = %2 %8 = load i32, ptr %3, align 4 %9 = and i32 255, %8 %10 = load ptr, ptr %4, align 8 store i32 %9, ptr %10, align 4 br label %23 11: ; preds = %2 %12 = load i32, ptr %3, align 4 %13 = icmp sle i32 %12, 268 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = load ptr, ptr %4, align 8 store i32 13, ptr %15, align 4 br label %22 16: ; preds = %11 %17 = load i32, ptr %3, align 4 %18 = icmp sle i32 %17, 65804 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = load ptr, ptr %4, align 8 store i32 14, ptr %20, align 4 br label %21 21: ; preds = %19, %16 br label %22 22: ; preds = %21, %14 br label %23 23: ; preds = %22, %7 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1gb0177l.c' source_filename = "/tmp/tmp1gb0177l.c" target datalayout = "e-m:e-p270: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/tmp1gb0177l.c" target datalayout = "e-m:e-p270: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/tmpj6c_iekq.c' source_filename = "/tmp/tmpj6c_iekq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @matrixCopyL(ptr noundef %0, i16 noundef signext %1, i16 noundef signext %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i16 %1, ptr %6, align 2 store i16 %2, ptr %7, align 2 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %8, align 8 %10 = load ptr, ptr %5, align 8 %11 = load i16, ptr %6, align 2 %12 = sext i16 %11 to i32 %13 = load i16, ptr %7, align 2 %14 = sext i16 %13 to i32 %15 = mul nsw i32 %12, %14 %16 = sext i32 %15 to i64 %17 = mul i64 %16, 8 %18 = trunc i64 %17 to i16 %19 = call i32 @memcpy(ptr noundef %9, ptr noundef %10, i16 noundef signext %18) ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i16 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/tmpj6c_iekq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @matrixCopyL(ptr noundef %0, i16 noundef signext %1, i16 noundef signext %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i16 %1, ptr %6, align 2 store i16 %2, ptr %7, align 2 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %8, align 8 %10 = load ptr, ptr %5, align 8 %11 = load i16, ptr %6, align 2 %12 = sext i16 %11 to i32 %13 = load i16, ptr %7, align 2 %14 = sext i16 %13 to i32 %15 = mul nsw i32 %12, %14 %16 = sext i32 %15 to i64 %17 = mul i64 %16, 8 %18 = trunc i64 %17 to i16 %19 = call i32 @memcpy(ptr noundef %9, ptr noundef %10, i16 noundef signext %18) ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i16 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/tmp9plq94yb.c' source_filename = "/tmp/tmp9plq94yb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = add nsw i32 %5, %6 %8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9plq94yb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = add nsw i32 %5, %6 %8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp80sz9ucr.c' source_filename = "/tmp/tmp80sz9ucr.c" target datalayout = "e-m:e-p270: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/tmp80sz9ucr.c" target datalayout = "e-m:e-p270: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/tmpmo4dbit8.c' source_filename = "/tmp/tmpmo4dbit8.c" target datalayout = "e-m:e-p270: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/tmpmo4dbit8.c" target datalayout = "e-m:e-p270: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/tmptam70vse.c' source_filename = "/tmp/tmptam70vse.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Usage: %s [FILE]\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"INFINITY\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"%.4f\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 [13 x i8], align 1 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %17 = load i32, ptr %4, align 4 %18 = icmp ne i32 %17, 2 br i1 %18, label %19, label %24 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 0 %22 = load ptr, ptr %21, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %22) store i32 1, ptr %3, align 4 br label %140 24: ; preds = %2 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i32 1 store ptr %26, ptr %5, align 8 %27 = load ptr, ptr %26, align 8 %28 = call ptr @fopen(ptr noundef %27, ptr noundef @.str.1) store ptr %28, ptr %6, align 8 br label %29 29: ; preds = %137, %24 %30 = getelementptr inbounds [13 x i8], ptr %7, i64 0, i64 0 %31 = load ptr, ptr %6, align 8 %32 = call i64 @fgets(ptr noundef %30, i32 noundef 7, ptr noundef %31) %33 = icmp ne i64 %32, 0 br i1 %33, label %34, label %139 34: ; preds = %29 %35 = getelementptr inbounds [13 x i8], ptr %7, i64 0, i64 0 %36 = call i32 @atoi(ptr noundef %35) store i32 %36, ptr %10, align 4 store i64 100000000, ptr %11, align 8 %37 = load i32, ptr %10, align 4 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %40 39: ; preds = %34 store i32 0, ptr %3, align 4 br label %140 40: ; preds = %34 %41 = load i32, ptr %10, align 4 %42 = zext i32 %41 to i64 %43 = call ptr @llvm.stacksave() store ptr %43, ptr %12, align 8 %44 = alloca [2 x i32], i64 %42, align 16 store i64 %42, ptr %13, align 8 store i32 0, ptr %8, align 4 br label %45 45: ; preds = %63, %40 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr %10, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %66 49: ; preds = %45 %50 = getelementptr inbounds [13 x i8], ptr %7, i64 0, i64 0 %51 = load ptr, ptr %6, align 8 %52 = call i64 @fgets(ptr noundef %50, i32 noundef 13, ptr noundef %51) %53 = getelementptr inbounds [13 x i8], ptr %7, i64 0, i64 0 %54 = load i32, ptr %8, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [2 x i32], ptr %44, i64 %55 %57 = getelementptr inbounds [2 x i32], ptr %56, i64 0, i64 0 %58 = load i32, ptr %8, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [2 x i32], ptr %44, i64 %59 %61 = getelementptr inbounds [2 x i32], ptr %60, i64 0, i64 1 %62 = call i32 @sscanf(ptr noundef %53, ptr noundef @.str.2, ptr noundef %57, ptr noundef %61) br label %63 63: ; preds = %49 %64 = load i32, ptr %8, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %8, align 4 br label %45, !llvm.loop !6 66: ; preds = %45 %67 = load i32, ptr %10, align 4 %68 = icmp sgt i32 %67, 1 br i1 %68, label %69, label %127 69: ; preds = %66 store i32 0, ptr %8, align 4 br label %70 70: ; preds = %123, %69 %71 = load i32, ptr %8, align 4 %72 = load i32, ptr %10, align 4 %73 = sub nsw i32 %72, 1 %74 = icmp slt i32 %71, %73 br i1 %74, label %75, label %126 75: ; preds = %70 %76 = load i32, ptr %8, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %9, align 4 br label %78 78: ; preds = %119, %75 %79 = load i32, ptr %9, align 4 %80 = load i32, ptr %10, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %82, label %122 82: ; preds = %78 %83 = load i32, ptr %8, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [2 x i32], ptr %44, i64 %84 %86 = getelementptr inbounds [2 x i32], ptr %85, i64 0, i64 0 %87 = load i32, ptr %86, align 8 %88 = load i32, ptr %9, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [2 x i32], ptr %44, i64 %89 %91 = getelementptr inbounds [2 x i32], ptr %90, i64 0, i64 0 %92 = load i32, ptr %91, align 8 %93 = sub nsw i32 %87, %92 store i32 %93, ptr %14, align 4 %94 = load i32, ptr %8, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [2 x i32], ptr %44, i64 %95 %97 = getelementptr inbounds [2 x i32], ptr %96, i64 0, i64 1 %98 = load i32, ptr %97, align 4 %99 = load i32, ptr %9, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [2 x i32], ptr %44, i64 %100 %102 = getelementptr inbounds [2 x i32], ptr %101, i64 0, i64 1 %103 = load i32, ptr %102, align 4 %104 = sub nsw i32 %98, %103 store i32 %104, ptr %15, align 4 %105 = load i32, ptr %14, align 4 %106 = load i32, ptr %14, align 4 %107 = mul nsw i32 %105, %106 %108 = load i32, ptr %15, align 4 %109 = load i32, ptr %15, align 4 %110 = mul nsw i32 %108, %109 %111 = add nsw i32 %107, %110 %112 = sext i32 %111 to i64 store i64 %112, ptr %16, align 8 %113 = load i64, ptr %16, align 8 %114 = load i64, ptr %11, align 8 %115 = icmp ult i64 %113, %114 br i1 %115, label %116, label %118 116: ; preds = %82 %117 = load i64, ptr %16, align 8 store i64 %117, ptr %11, align 8 br label %118 118: ; preds = %116, %82 br label %119 119: ; preds = %118 %120 = load i32, ptr %9, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %9, align 4 br label %78, !llvm.loop !8 122: ; preds = %78 br label %123 123: ; preds = %122 %124 = load i32, ptr %8, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %8, align 4 br label %70, !llvm.loop !9 126: ; preds = %70 br label %127 127: ; preds = %126, %66 %128 = load i64, ptr %11, align 8 %129 = icmp eq i64 %128, 100000000 br i1 %129, label %130, label %132 130: ; preds = %127 %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %137 132: ; preds = %127 %133 = load i64, ptr %11, align 8 %134 = uitofp i64 %133 to float %135 = call double @sqrtf(float noundef %134) %136 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %135) br label %137 137: ; preds = %132, %130 %138 = load ptr, ptr %12, align 8 call void @llvm.stackrestore(ptr %138) br label %29, !llvm.loop !10 139: ; preds = %29 store i32 0, ptr %3, align 4 br label %140 140: ; preds = %139, %39, %19 %141 = load i32, ptr %3, align 4 ret i32 %141 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @sqrtf(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptam70vse.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Usage: %s [FILE]\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"INFINITY\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"%.4f\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 [13 x i8], align 1 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %17 = load i32, ptr %4, align 4 %18 = icmp ne i32 %17, 2 br i1 %18, label %19, label %24 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 0 %22 = load ptr, ptr %21, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %22) store i32 1, ptr %3, align 4 br label %149 24: ; preds = %2 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i32 1 store ptr %26, ptr %5, align 8 %27 = load ptr, ptr %26, align 8 %28 = call ptr @fopen(ptr noundef %27, ptr noundef @.str.1) store ptr %28, ptr %6, align 8 %29 = getelementptr inbounds [13 x i8], ptr %7, i64 0, i64 0 %30 = load ptr, ptr %6, align 8 %31 = call i64 @fgets(ptr noundef %29, i32 noundef 7, ptr noundef %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %.lr.ph8, label %148 .lr.ph8: ; preds = %24 br label %33 33: ; preds = %.lr.ph8, %143 %34 = getelementptr inbounds [13 x i8], ptr %7, i64 0, i64 0 %35 = call i32 @atoi(ptr noundef %34) store i32 %35, ptr %10, align 4 store i64 100000000, ptr %11, align 8 %36 = load i32, ptr %10, align 4 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %33 store i32 0, ptr %3, align 4 br label %149 39: ; preds = %33 %40 = load i32, ptr %10, align 4 %41 = zext i32 %40 to i64 %42 = call ptr @llvm.stacksave() store ptr %42, ptr %12, align 8 %43 = alloca [2 x i32], i64 %41, align 16 store i64 %41, ptr %13, align 8 store i32 0, ptr %8, align 4 %44 = load i32, ptr %8, align 4 %45 = load i32, ptr %10, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %.lr.ph, label %67 .lr.ph: ; preds = %39 br label %47 47: ; preds = %.lr.ph, %61 %48 = getelementptr inbounds [13 x i8], ptr %7, i64 0, i64 0 %49 = load ptr, ptr %6, align 8 %50 = call i64 @fgets(ptr noundef %48, i32 noundef 13, ptr noundef %49) %51 = getelementptr inbounds [13 x i8], ptr %7, i64 0, i64 0 %52 = load i32, ptr %8, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [2 x i32], ptr %43, i64 %53 %55 = getelementptr inbounds [2 x i32], ptr %54, i64 0, i64 0 %56 = load i32, ptr %8, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [2 x i32], ptr %43, i64 %57 %59 = getelementptr inbounds [2 x i32], ptr %58, i64 0, i64 1 %60 = call i32 @sscanf(ptr noundef %51, ptr noundef @.str.2, ptr noundef %55, ptr noundef %59) br label %61 61: ; preds = %47 %62 = load i32, ptr %8, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %8, align 4 %64 = load i32, ptr %8, align 4 %65 = load i32, ptr %10, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %47, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %61 br label %67 67: ; preds = %._crit_edge, %39 %68 = load i32, ptr %10, align 4 %69 = icmp sgt i32 %68, 1 br i1 %69, label %70, label %133 70: ; preds = %67 store i32 0, ptr %8, align 4 %71 = load i32, ptr %8, align 4 %72 = load i32, ptr %10, align 4 %73 = sub nsw i32 %72, 1 %74 = icmp slt i32 %71, %73 br i1 %74, label %.lr.ph5, label %132 .lr.ph5: ; preds = %70 br label %75 75: ; preds = %.lr.ph5, %125 %76 = load i32, ptr %8, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %9, align 4 %78 = load i32, ptr %9, align 4 %79 = load i32, ptr %10, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %.lr.ph2, label %124 .lr.ph2: ; preds = %75 br label %81 81: ; preds = %.lr.ph2, %118 %82 = load i32, ptr %8, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [2 x i32], ptr %43, i64 %83 %85 = getelementptr inbounds [2 x i32], ptr %84, i64 0, i64 0 %86 = load i32, ptr %85, align 8 %87 = load i32, ptr %9, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [2 x i32], ptr %43, i64 %88 %90 = getelementptr inbounds [2 x i32], ptr %89, i64 0, i64 0 %91 = load i32, ptr %90, align 8 %92 = sub nsw i32 %86, %91 store i32 %92, ptr %14, align 4 %93 = load i32, ptr %8, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds [2 x i32], ptr %43, i64 %94 %96 = getelementptr inbounds [2 x i32], ptr %95, i64 0, i64 1 %97 = load i32, ptr %96, align 4 %98 = load i32, ptr %9, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [2 x i32], ptr %43, i64 %99 %101 = getelementptr inbounds [2 x i32], ptr %100, i64 0, i64 1 %102 = load i32, ptr %101, align 4 %103 = sub nsw i32 %97, %102 store i32 %103, ptr %15, align 4 %104 = load i32, ptr %14, align 4 %105 = load i32, ptr %14, align 4 %106 = mul nsw i32 %104, %105 %107 = load i32, ptr %15, align 4 %108 = load i32, ptr %15, align 4 %109 = mul nsw i32 %107, %108 %110 = add nsw i32 %106, %109 %111 = sext i32 %110 to i64 store i64 %111, ptr %16, align 8 %112 = load i64, ptr %16, align 8 %113 = load i64, ptr %11, align 8 %114 = icmp ult i64 %112, %113 br i1 %114, label %115, label %117 115: ; preds = %81 %116 = load i64, ptr %16, align 8 store i64 %116, ptr %11, align 8 br label %117 117: ; preds = %115, %81 br label %118 118: ; preds = %117 %119 = load i32, ptr %9, align 4 %120 = add nsw i32 %119, 1 store i32 %120, ptr %9, align 4 %121 = load i32, ptr %9, align 4 %122 = load i32, ptr %10, align 4 %123 = icmp slt i32 %121, %122 br i1 %123, label %81, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %118 br label %124 124: ; preds = %._crit_edge3, %75 br label %125 125: ; preds = %124 %126 = load i32, ptr %8, align 4 %127 = add nsw i32 %126, 1 store i32 %127, ptr %8, align 4 %128 = load i32, ptr %8, align 4 %129 = load i32, ptr %10, align 4 %130 = sub nsw i32 %129, 1 %131 = icmp slt i32 %128, %130 br i1 %131, label %75, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %125 br label %132 132: ; preds = %._crit_edge6, %70 br label %133 133: ; preds = %132, %67 %134 = load i64, ptr %11, align 8 %135 = icmp eq i64 %134, 100000000 br i1 %135, label %136, label %138 136: ; preds = %133 %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %143 138: ; preds = %133 %139 = load i64, ptr %11, align 8 %140 = uitofp i64 %139 to float %141 = call double @sqrtf(float noundef %140) %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %141) br label %143 143: ; preds = %138, %136 %144 = load ptr, ptr %12, align 8 call void @llvm.stackrestore(ptr %144) %145 = load ptr, ptr %6, align 8 %146 = call i64 @fgets(ptr noundef %29, i32 noundef 7, ptr noundef %145) %147 = icmp ne i64 %146, 0 br i1 %147, label %33, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %143 br label %148 148: ; preds = %._crit_edge9, %24 store i32 0, ptr %3, align 4 br label %149 149: ; preds = %148, %38, %19 %150 = load i32, ptr %3, align 4 ret i32 %150 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @sqrtf(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpx1wcqva3.c' source_filename = "/tmp/tmpx1wcqva3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @debinarise(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = icmp eq i64 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %1 %6 = load i64, ptr %2, align 8 %7 = icmp eq i64 %6, 1 br i1 %7, label %8, label %10 8: ; preds = %5, %1 %9 = load i64, ptr %2, align 8 br label %18 10: ; preds = %5 %11 = load i64, ptr %2, align 8 %12 = urem i64 %11, 10 %13 = load i64, ptr %2, align 8 %14 = udiv i64 %13, 10 %15 = call i64 @debinarise(i64 noundef %14) %16 = mul i64 2, %15 %17 = add i64 %12, %16 br label %18 18: ; preds = %10, %8 %19 = phi i64 [ %9, %8 ], [ %17, %10 ] ret i64 %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/tmpx1wcqva3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @debinarise(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = icmp eq i64 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %1 %6 = load i64, ptr %2, align 8 %7 = icmp eq i64 %6, 1 br i1 %7, label %8, label %10 8: ; preds = %5, %1 %9 = load i64, ptr %2, align 8 br label %18 10: ; preds = %5 %11 = load i64, ptr %2, align 8 %12 = urem i64 %11, 10 %13 = load i64, ptr %2, align 8 %14 = udiv i64 %13, 10 %15 = call i64 @debinarise(i64 noundef %14) %16 = mul i64 2, %15 %17 = add i64 %12, %16 br label %18 18: ; preds = %10, %8 %19 = phi i64 [ %9, %8 ], [ %17, %10 ] ret i64 %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/tmpett60grh.c' source_filename = "/tmp/tmpett60grh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xdg_mime_mime_type_subclass(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = call i32 (...) @xdg_mime_init() %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_xdg_mime_mime_type_subclass(ptr noundef %6, ptr noundef %7) ret i32 %8 } declare i32 @xdg_mime_init(...) #1 declare i32 @_xdg_mime_mime_type_subclass(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/tmpett60grh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xdg_mime_mime_type_subclass(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = call i32 (...) @xdg_mime_init() %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_xdg_mime_mime_type_subclass(ptr noundef %6, ptr noundef %7) ret i32 %8 } declare i32 @xdg_mime_init(...) #1 declare i32 @_xdg_mime_mime_type_subclass(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/tmphlll_izl.c' source_filename = "/tmp/tmphlll_izl.c" target datalayout = "e-m:e-p270: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/tmphlll_izl.c" target datalayout = "e-m:e-p270: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/tmpm2e1pgpj.c' source_filename = "/tmp/tmpm2e1pgpj.c" target datalayout = "e-m:e-p270: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/tmpm2e1pgpj.c" target datalayout = "e-m:e-p270: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/tmph0bx64fx.c' source_filename = "/tmp/tmph0bx64fx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"in1\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"in2\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Error on select()\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(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 %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 [255 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 store i32 0, ptr %10, align 4 %16 = load i32, ptr @O_RDONLY, align 4 %17 = call i32 @open(ptr noundef @.str, i32 noundef %16) store i32 %17, ptr %11, align 4 %18 = icmp eq i32 -1, %17 br i1 %18, label %19, label %20 19: ; preds = %2 store i32 1, ptr %3, align 4 br label %110 20: ; preds = %2 store i32 0, ptr %13, align 4 %21 = load i32, ptr @O_RDONLY, align 4 %22 = call i32 @open(ptr noundef @.str.1, i32 noundef %21) store i32 %22, ptr %12, align 4 %23 = icmp eq i32 -1, %22 br i1 %23, label %24, label %25 24: ; preds = %20 store i32 1, ptr %3, align 4 br label %110 25: ; preds = %20 store i32 0, ptr %14, align 4 br label %26 26: ; preds = %106, %25 %27 = load i32, ptr %13, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %33, label %29 29: ; preds = %26 %30 = load i32, ptr %11, align 4 %31 = call i64 @FD_ISSET(i32 noundef %30, ptr noundef %7) %32 = icmp ne i64 %31, 0 br i1 %32, label %42, label %33 33: ; preds = %29, %26 %34 = load i32, ptr %14, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %40, label %36 36: ; preds = %33 %37 = load i32, ptr %12, align 4 %38 = call i64 @FD_ISSET(i32 noundef %37, ptr noundef %7) %39 = icmp ne i64 %38, 0 br label %40 40: ; preds = %36, %33 %41 = phi i1 [ false, %33 ], [ %39, %36 ] br label %42 42: ; preds = %40, %29 %43 = phi i1 [ true, %29 ], [ %41, %40 ] br i1 %43, label %44, label %107 44: ; preds = %42 %45 = call i32 @FD_ZERO(ptr noundef %7) %46 = load i32, ptr %11, align 4 %47 = call i32 @FD_SET(i32 noundef %46, ptr noundef %7) %48 = load i32, ptr %12, align 4 %49 = call i32 @FD_SET(i32 noundef %48, ptr noundef %7) %50 = load i32, ptr %12, align 4 %51 = add nsw i32 %50, 1 %52 = call i32 @select(i32 noundef %51, ptr noundef %7, ptr noundef null, ptr noundef null, ptr noundef null) store i32 %52, ptr %6, align 4 %53 = load i32, ptr %6, align 4 %54 = icmp sgt i32 %53, 0 br i1 %54, label %55, label %100 55: ; preds = %44 %56 = load i32, ptr %13, align 4 %57 = icmp ne i32 %56, 0 br i1 %57, label %77, label %58 58: ; preds = %55 %59 = load i32, ptr %11, align 4 %60 = call i64 @FD_ISSET(i32 noundef %59, ptr noundef %7) %61 = icmp ne i64 %60, 0 br i1 %61, label %62, label %77 62: ; preds = %58 %63 = load i32, ptr %11, align 4 %64 = getelementptr inbounds [255 x i8], ptr %15, i64 0, i64 0 %65 = call i32 @read(i32 noundef %63, ptr noundef %64, i32 noundef 255) store i32 %65, ptr %6, align 4 %66 = load i32, ptr %6, align 4 %67 = icmp eq i32 0, %66 br i1 %67, label %68, label %69 68: ; preds = %62 store i32 1, ptr %13, align 4 br label %76 69: ; preds = %62 %70 = getelementptr inbounds [255 x i8], ptr %15, i64 0, i64 0 %71 = call i64 @atoi(ptr noundef %70) %72 = load i32, ptr %10, align 4 %73 = sext i32 %72 to i64 %74 = add nsw i64 %73, %71 %75 = trunc i64 %74 to i32 store i32 %75, ptr %10, align 4 br label %76 76: ; preds = %69, %68 br label %77 77: ; preds = %76, %58, %55 %78 = load i32, ptr %14, align 4 %79 = icmp ne i32 %78, 0 br i1 %79, label %99, label %80 80: ; preds = %77 %81 = load i32, ptr %12, align 4 %82 = call i64 @FD_ISSET(i32 noundef %81, ptr noundef %7) %83 = icmp ne i64 %82, 0 br i1 %83, label %84, label %99 84: ; preds = %80 %85 = load i32, ptr %12, align 4 %86 = getelementptr inbounds [255 x i8], ptr %15, i64 0, i64 0 %87 = call i32 @read(i32 noundef %85, ptr noundef %86, i32 noundef 255) store i32 %87, ptr %6, align 4 %88 = load i32, ptr %6, align 4 %89 = icmp eq i32 0, %88 br i1 %89, label %90, label %91 90: ; preds = %84 store i32 1, ptr %14, align 4 br label %98 91: ; preds = %84 %92 = getelementptr inbounds [255 x i8], ptr %15, i64 0, i64 0 %93 = call i64 @atoi(ptr noundef %92) %94 = load i32, ptr %10, align 4 %95 = sext i32 %94 to i64 %96 = add nsw i64 %95, %93 %97 = trunc i64 %96 to i32 store i32 %97, ptr %10, align 4 br label %98 98: ; preds = %91, %90 br label %99 99: ; preds = %98, %80, %77 br label %106 100: ; preds = %44 %101 = load i32, ptr %6, align 4 %102 = icmp slt i32 %101, 0 br i1 %102, label %103, label %105 103: ; preds = %100 %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %105 105: ; preds = %103, %100 br label %106 106: ; preds = %105, %99 br label %26, !llvm.loop !6 107: ; preds = %42 %108 = load i32, ptr %10, align 4 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %108) store i32 0, ptr %3, align 4 br label %110 110: ; preds = %107, %24, %19 %111 = load i32, ptr %3, align 4 ret i32 %111 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph0bx64fx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"in1\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"in2\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Error on select()\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(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 %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 [255 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 store i32 0, ptr %10, align 4 %16 = load i32, ptr @O_RDONLY, align 4 %17 = call i32 @open(ptr noundef @.str, i32 noundef %16) store i32 %17, ptr %11, align 4 %18 = icmp eq i32 -1, %17 br i1 %18, label %19, label %20 19: ; preds = %2 store i32 1, ptr %3, align 4 br label %110 20: ; preds = %2 store i32 0, ptr %13, align 4 %21 = load i32, ptr @O_RDONLY, align 4 %22 = call i32 @open(ptr noundef @.str.1, i32 noundef %21) store i32 %22, ptr %12, align 4 %23 = icmp eq i32 -1, %22 br i1 %23, label %24, label %25 24: ; preds = %20 store i32 1, ptr %3, align 4 br label %110 25: ; preds = %20 store i32 0, ptr %14, align 4 br label %26 26: ; preds = %106, %25 %27 = load i32, ptr %13, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %33, label %29 29: ; preds = %26 %30 = load i32, ptr %11, align 4 %31 = call i64 @FD_ISSET(i32 noundef %30, ptr noundef %7) %32 = icmp ne i64 %31, 0 br i1 %32, label %42, label %33 33: ; preds = %29, %26 %34 = load i32, ptr %14, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %40, label %36 36: ; preds = %33 %37 = load i32, ptr %12, align 4 %38 = call i64 @FD_ISSET(i32 noundef %37, ptr noundef %7) %39 = icmp ne i64 %38, 0 br label %40 40: ; preds = %36, %33 %41 = phi i1 [ false, %33 ], [ %39, %36 ] br label %42 42: ; preds = %40, %29 %43 = phi i1 [ true, %29 ], [ %41, %40 ] br i1 %43, label %44, label %107 44: ; preds = %42 %45 = call i32 @FD_ZERO(ptr noundef %7) %46 = load i32, ptr %11, align 4 %47 = call i32 @FD_SET(i32 noundef %46, ptr noundef %7) %48 = load i32, ptr %12, align 4 %49 = call i32 @FD_SET(i32 noundef %48, ptr noundef %7) %50 = load i32, ptr %12, align 4 %51 = add nsw i32 %50, 1 %52 = call i32 @select(i32 noundef %51, ptr noundef %7, ptr noundef null, ptr noundef null, ptr noundef null) store i32 %52, ptr %6, align 4 %53 = load i32, ptr %6, align 4 %54 = icmp sgt i32 %53, 0 br i1 %54, label %55, label %100 55: ; preds = %44 %56 = load i32, ptr %13, align 4 %57 = icmp ne i32 %56, 0 br i1 %57, label %77, label %58 58: ; preds = %55 %59 = load i32, ptr %11, align 4 %60 = call i64 @FD_ISSET(i32 noundef %59, ptr noundef %7) %61 = icmp ne i64 %60, 0 br i1 %61, label %62, label %77 62: ; preds = %58 %63 = load i32, ptr %11, align 4 %64 = getelementptr inbounds [255 x i8], ptr %15, i64 0, i64 0 %65 = call i32 @read(i32 noundef %63, ptr noundef %64, i32 noundef 255) store i32 %65, ptr %6, align 4 %66 = load i32, ptr %6, align 4 %67 = icmp eq i32 0, %66 br i1 %67, label %68, label %69 68: ; preds = %62 store i32 1, ptr %13, align 4 br label %76 69: ; preds = %62 %70 = getelementptr inbounds [255 x i8], ptr %15, i64 0, i64 0 %71 = call i64 @atoi(ptr noundef %70) %72 = load i32, ptr %10, align 4 %73 = sext i32 %72 to i64 %74 = add nsw i64 %73, %71 %75 = trunc i64 %74 to i32 store i32 %75, ptr %10, align 4 br label %76 76: ; preds = %69, %68 br label %77 77: ; preds = %76, %58, %55 %78 = load i32, ptr %14, align 4 %79 = icmp ne i32 %78, 0 br i1 %79, label %99, label %80 80: ; preds = %77 %81 = load i32, ptr %12, align 4 %82 = call i64 @FD_ISSET(i32 noundef %81, ptr noundef %7) %83 = icmp ne i64 %82, 0 br i1 %83, label %84, label %99 84: ; preds = %80 %85 = load i32, ptr %12, align 4 %86 = getelementptr inbounds [255 x i8], ptr %15, i64 0, i64 0 %87 = call i32 @read(i32 noundef %85, ptr noundef %86, i32 noundef 255) store i32 %87, ptr %6, align 4 %88 = load i32, ptr %6, align 4 %89 = icmp eq i32 0, %88 br i1 %89, label %90, label %91 90: ; preds = %84 store i32 1, ptr %14, align 4 br label %98 91: ; preds = %84 %92 = getelementptr inbounds [255 x i8], ptr %15, i64 0, i64 0 %93 = call i64 @atoi(ptr noundef %92) %94 = load i32, ptr %10, align 4 %95 = sext i32 %94 to i64 %96 = add nsw i64 %95, %93 %97 = trunc i64 %96 to i32 store i32 %97, ptr %10, align 4 br label %98 98: ; preds = %91, %90 br label %99 99: ; preds = %98, %80, %77 br label %106 100: ; preds = %44 %101 = load i32, ptr %6, align 4 %102 = icmp slt i32 %101, 0 br i1 %102, label %103, label %105 103: ; preds = %100 %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %105 105: ; preds = %103, %100 br label %106 106: ; preds = %105, %99 br label %26, !llvm.loop !6 107: ; preds = %42 %108 = load i32, ptr %10, align 4 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %108) store i32 0, ptr %3, align 4 br label %110 110: ; preds = %107, %24, %19 %111 = load i32, ptr %3, align 4 ret i32 %111 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0gz9lop5.c' source_filename = "/tmp/tmp0gz9lop5.c" target datalayout = "e-m:e-p270: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/tmp0gz9lop5.c" target datalayout = "e-m:e-p270: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/tmppza414q4.c' source_filename = "/tmp/tmppza414q4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; 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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 5 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %12, ptr %3, align 4 br label %52 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 3 %16 = load ptr, ptr %15, align 8 %17 = call i32 @atoi(ptr noundef %16) store i32 %17, ptr %6, align 4 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 4 %20 = load ptr, ptr %19, align 8 %21 = call i32 @atoi(ptr noundef %20) store i32 %21, ptr %7, align 4 %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 @strlen(ptr noundef %24) store i32 %25, ptr %8, align 4 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %8, align 4 %28 = icmp sgt i32 %26, %27 br i1 %28, label %29, label %31 29: ; preds = %13 %30 = load i32, ptr %8, align 4 store i32 %30, ptr %6, align 4 br label %31 31: ; preds = %29, %13 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 2 %34 = load ptr, ptr %33, align 8 %35 = call i32 @strlen(ptr noundef %34) store i32 %35, ptr %8, align 4 %36 = load i32, ptr %7, align 4 %37 = load i32, ptr %8, align 4 %38 = icmp sgt i32 %36, %37 br i1 %38, label %39, label %41 39: ; preds = %31 %40 = load i32, ptr %8, align 4 store i32 %40, ptr %7, align 4 br label %41 41: ; preds = %39, %31 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 1 %44 = load ptr, ptr %43, align 8 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 2 %47 = load ptr, ptr %46, align 8 %48 = load i32, ptr %6, align 4 %49 = load i32, ptr %7, align 4 %50 = call i32 @pcmpestrm_debug(ptr noundef %44, ptr noundef %47, i32 noundef %48, i32 noundef %49) %51 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %51, ptr %3, align 4 br label %52 52: ; preds = %41, %11 %53 = load i32, ptr %3, align 4 ret i32 %53 } declare i32 @atoi(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @pcmpestrm_debug(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/tmppza414q4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; 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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 5 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %12, ptr %3, align 4 br label %52 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 3 %16 = load ptr, ptr %15, align 8 %17 = call i32 @atoi(ptr noundef %16) store i32 %17, ptr %6, align 4 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 4 %20 = load ptr, ptr %19, align 8 %21 = call i32 @atoi(ptr noundef %20) store i32 %21, ptr %7, align 4 %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 @strlen(ptr noundef %24) store i32 %25, ptr %8, align 4 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %8, align 4 %28 = icmp sgt i32 %26, %27 br i1 %28, label %29, label %31 29: ; preds = %13 %30 = load i32, ptr %8, align 4 store i32 %30, ptr %6, align 4 br label %31 31: ; preds = %29, %13 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 2 %34 = load ptr, ptr %33, align 8 %35 = call i32 @strlen(ptr noundef %34) store i32 %35, ptr %8, align 4 %36 = load i32, ptr %7, align 4 %37 = load i32, ptr %8, align 4 %38 = icmp sgt i32 %36, %37 br i1 %38, label %39, label %41 39: ; preds = %31 %40 = load i32, ptr %8, align 4 store i32 %40, ptr %7, align 4 br label %41 41: ; preds = %39, %31 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 1 %44 = load ptr, ptr %43, align 8 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 2 %47 = load ptr, ptr %46, align 8 %48 = load i32, ptr %6, align 4 %49 = load i32, ptr %7, align 4 %50 = call i32 @pcmpestrm_debug(ptr noundef %44, ptr noundef %47, i32 noundef %48, i32 noundef %49) %51 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %51, ptr %3, align 4 br label %52 52: ; preds = %41, %11 %53 = load i32, ptr %3, align 4 ret i32 %53 } declare i32 @atoi(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @pcmpestrm_debug(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/tmp_8efr7nb.c' source_filename = "/tmp/tmp_8efr7nb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Usage: ./atoi 123\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"n = %d %x\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 %7 = load i32, ptr %4, align 4 %8 = icmp ne i32 %7, 2 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 @exit(i32 noundef -1) #3 unreachable 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = call i32 @myAtoi(ptr noundef %15) store i32 %16, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17, i32 noundef %18) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @myAtoi(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/tmp_8efr7nb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Usage: ./atoi 123\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"n = %d %x\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 %7 = load i32, ptr %4, align 4 %8 = icmp ne i32 %7, 2 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 @exit(i32 noundef -1) #3 unreachable 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = call i32 @myAtoi(ptr noundef %15) store i32 %16, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17, i32 noundef %18) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @myAtoi(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/tmpeba1hrnb.c' source_filename = "/tmp/tmpeba1hrnb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"0x0%x \00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"0x%x \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"0%x\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printHex(i16 noundef zeroext %0, ptr noundef %1, i8 noundef zeroext %2) #0 { %4 = alloca i16, align 2 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i16, align 2 store i16 %0, ptr %4, align 2 store ptr %1, ptr %5, align 8 store i8 %2, ptr %6, align 1 store i16 0, ptr %7, align 2 br label %8 8: ; preds = %84, %3 %9 = load i16, ptr %7, align 2 %10 = zext i16 %9 to i32 %11 = load i16, ptr %4, align 2 %12 = zext i16 %11 to i32 %13 = icmp slt i32 %10, %12 br i1 %13, label %14, label %87 14: ; preds = %8 %15 = load i8, ptr %6, align 1 %16 = zext i8 %15 to i32 %17 = icmp eq i32 %16, 1 br i1 %17, label %18, label %26 18: ; preds = %14 %19 = load ptr, ptr %5, align 8 %20 = load i16, ptr %7, align 2 %21 = zext i16 %20 to i32 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %19, i64 %22 %24 = load i8, ptr %23, align 1 %25 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %24) br label %83 26: ; preds = %14 %27 = load i8, ptr %6, align 1 %28 = zext i8 %27 to i32 %29 = icmp eq i32 %28, 2 br i1 %29, label %30, label %56 30: ; preds = %26 %31 = load ptr, ptr %5, align 8 %32 = load i16, ptr %7, align 2 %33 = zext i16 %32 to i32 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %31, i64 %34 %36 = load i8, ptr %35, align 1 %37 = zext i8 %36 to i32 %38 = icmp slt i32 %37, 16 br i1 %38, label %39, label %47 39: ; preds = %30 %40 = load ptr, ptr %5, align 8 %41 = load i16, ptr %7, align 2 %42 = zext i16 %41 to i32 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %40, i64 %43 %45 = load i8, ptr %44, align 1 %46 = call i32 @printf(ptr noundef @.str.1, i8 noundef zeroext %45) br label %55 47: ; preds = %30 %48 = load ptr, ptr %5, align 8 %49 = load i16, ptr %7, align 2 %50 = zext i16 %49 to i32 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %48, i64 %51 %53 = load i8, ptr %52, align 1 %54 = call i32 @printf(ptr noundef @.str.2, i8 noundef zeroext %53) br label %55 55: ; preds = %47, %39 br label %82 56: ; preds = %26 %57 = load ptr, ptr %5, align 8 %58 = load i16, ptr %7, align 2 %59 = zext i16 %58 to i32 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %57, i64 %60 %62 = load i8, ptr %61, align 1 %63 = zext i8 %62 to i32 %64 = icmp slt i32 %63, 16 br i1 %64, label %65, label %73 65: ; preds = %56 %66 = load ptr, ptr %5, align 8 %67 = load i16, ptr %7, align 2 %68 = zext i16 %67 to i32 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %66, i64 %69 %71 = load i8, ptr %70, align 1 %72 = call i32 @printf(ptr noundef @.str.3, i8 noundef zeroext %71) br label %81 73: ; preds = %56 %74 = load ptr, ptr %5, align 8 %75 = load i16, ptr %7, align 2 %76 = zext i16 %75 to i32 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %74, i64 %77 %79 = load i8, ptr %78, align 1 %80 = call i32 @printf(ptr noundef @.str.4, i8 noundef zeroext %79) br label %81 81: ; preds = %73, %65 br label %82 82: ; preds = %81, %55 br label %83 83: ; preds = %82, %18 br label %84 84: ; preds = %83 %85 = load i16, ptr %7, align 2 %86 = add i16 %85, 1 store i16 %86, ptr %7, align 2 br label %8, !llvm.loop !6 87: ; preds = %8 ret void } declare i32 @printf(ptr noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeba1hrnb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"0x0%x \00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"0x%x \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"0%x\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printHex(i16 noundef zeroext %0, ptr noundef %1, i8 noundef zeroext %2) #0 { %4 = alloca i16, align 2 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i16, align 2 store i16 %0, ptr %4, align 2 store ptr %1, ptr %5, align 8 store i8 %2, ptr %6, align 1 store i16 0, ptr %7, align 2 %8 = load i16, ptr %7, align 2 %9 = zext i16 %8 to i32 %10 = load i16, ptr %4, align 2 %11 = zext i16 %10 to i32 %12 = icmp slt i32 %9, %11 br i1 %12, label %.lr.ph, label %91 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %83 %14 = load i8, ptr %6, align 1 %15 = zext i8 %14 to i32 %16 = icmp eq i32 %15, 1 br i1 %16, label %17, label %25 17: ; preds = %13 %18 = load ptr, ptr %5, align 8 %19 = load i16, ptr %7, align 2 %20 = zext i16 %19 to i32 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %18, i64 %21 %23 = load i8, ptr %22, align 1 %24 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %23) br label %82 25: ; preds = %13 %26 = load i8, ptr %6, align 1 %27 = zext i8 %26 to i32 %28 = icmp eq i32 %27, 2 br i1 %28, label %29, label %55 29: ; preds = %25 %30 = load ptr, ptr %5, align 8 %31 = load i16, ptr %7, align 2 %32 = zext i16 %31 to i32 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %30, i64 %33 %35 = load i8, ptr %34, align 1 %36 = zext i8 %35 to i32 %37 = icmp slt i32 %36, 16 br i1 %37, label %38, label %46 38: ; preds = %29 %39 = load ptr, ptr %5, align 8 %40 = load i16, ptr %7, align 2 %41 = zext i16 %40 to i32 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %39, i64 %42 %44 = load i8, ptr %43, align 1 %45 = call i32 @printf(ptr noundef @.str.1, i8 noundef zeroext %44) br label %54 46: ; preds = %29 %47 = load ptr, ptr %5, align 8 %48 = load i16, ptr %7, align 2 %49 = zext i16 %48 to i32 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %47, i64 %50 %52 = load i8, ptr %51, align 1 %53 = call i32 @printf(ptr noundef @.str.2, i8 noundef zeroext %52) br label %54 54: ; preds = %46, %38 br label %81 55: ; preds = %25 %56 = load ptr, ptr %5, align 8 %57 = load i16, ptr %7, align 2 %58 = zext i16 %57 to i32 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %56, i64 %59 %61 = load i8, ptr %60, align 1 %62 = zext i8 %61 to i32 %63 = icmp slt i32 %62, 16 br i1 %63, label %64, label %72 64: ; preds = %55 %65 = load ptr, ptr %5, align 8 %66 = load i16, ptr %7, align 2 %67 = zext i16 %66 to i32 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %65, i64 %68 %70 = load i8, ptr %69, align 1 %71 = call i32 @printf(ptr noundef @.str.3, i8 noundef zeroext %70) br label %80 72: ; preds = %55 %73 = load ptr, ptr %5, align 8 %74 = load i16, ptr %7, align 2 %75 = zext i16 %74 to i32 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %73, i64 %76 %78 = load i8, ptr %77, align 1 %79 = call i32 @printf(ptr noundef @.str.4, i8 noundef zeroext %78) br label %80 80: ; preds = %72, %64 br label %81 81: ; preds = %80, %54 br label %82 82: ; preds = %81, %17 br label %83 83: ; preds = %82 %84 = load i16, ptr %7, align 2 %85 = add i16 %84, 1 store i16 %85, ptr %7, align 2 %86 = load i16, ptr %7, align 2 %87 = zext i16 %86 to i32 %88 = load i16, ptr %4, align 2 %89 = zext i16 %88 to i32 %90 = icmp slt i32 %87, %89 br i1 %90, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %83 br label %91 91: ; preds = %._crit_edge, %3 ret void } declare i32 @printf(ptr noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpzlnqtavk.c' source_filename = "/tmp/tmpzlnqtavk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Same sum test failed!\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Different sum test failed!\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"Negative numbers test failed!\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"%d tests failed.\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 0, ptr %2, align 4 %3 = call i32 (...) @test_same_sum() %4 = icmp ne i32 %3, 0 br i1 %4, label %9, label %5 5: ; preds = %0 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %2, align 4 br label %9 9: ; preds = %5, %0 %10 = call i32 (...) @test_diff_sum() %11 = icmp ne i32 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %9 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %2, align 4 br label %16 16: ; preds = %12, %9 %17 = call i32 (...) @test_neg_num() %18 = icmp ne i32 %17, 0 br i1 %18, label %23, label %19 19: ; preds = %16 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %2, align 4 br label %23 23: ; preds = %19, %16 %24 = load i32, ptr %2, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24) %26 = load i32, ptr %1, align 4 ret i32 %26 } declare i32 @test_same_sum(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @test_diff_sum(...) #1 declare i32 @test_neg_num(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzlnqtavk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Same sum test failed!\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Different sum test failed!\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"Negative numbers test failed!\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"%d tests failed.\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 0, ptr %2, align 4 %3 = call i32 (...) @test_same_sum() %4 = icmp ne i32 %3, 0 br i1 %4, label %9, label %5 5: ; preds = %0 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %2, align 4 br label %9 9: ; preds = %5, %0 %10 = call i32 (...) @test_diff_sum() %11 = icmp ne i32 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %9 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %2, align 4 br label %16 16: ; preds = %12, %9 %17 = call i32 (...) @test_neg_num() %18 = icmp ne i32 %17, 0 br i1 %18, label %23, label %19 19: ; preds = %16 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %2, align 4 br label %23 23: ; preds = %19, %16 %24 = load i32, ptr %2, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24) %26 = load i32, ptr %1, align 4 ret i32 %26 } declare i32 @test_same_sum(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @test_diff_sum(...) #1 declare i32 @test_neg_num(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgu1dv7sc.c' source_filename = "/tmp/tmpgu1dv7sc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"Can't open file %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [57 x i8] c"Usage: 'tsorts inputfile1.ts inputfile2.ts > output.ts'\0A\00", align 1 @.str.2 = private unnamed_addr constant [97 x i8] c"ts packets are read from inputfile2.ts if they are not immediatly available from inputfile1.ts'\0A\00", align 1 @F_SETFL = dso_local global i32 0, align 4 @F_GETFL = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [188 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp sge i32 %11, 3 br i1 %12, label %13, label %42 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = load i32, ptr @O_RDONLY, align 4 %18 = call i32 @open(ptr noundef %16, i32 noundef %17) store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %27 21: ; preds = %13 %22 = load i32, ptr @stderr, align 4 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str, ptr noundef %25) store i32 0, ptr %3, align 4 br label %125 27: ; preds = %13 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = load i32, ptr @O_RDONLY, align 4 %32 = call i32 @open(ptr noundef %30, i32 noundef %31) store i32 %32, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = icmp slt i32 %33, 0 br i1 %34, label %35, label %41 35: ; preds = %27 %36 = load i32, ptr @stderr, align 4 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 2 %39 = load ptr, ptr %38, align 8 %40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str, ptr noundef %39) store i32 0, ptr %3, align 4 br label %125 41: ; preds = %27 br label %47 42: ; preds = %2 %43 = load i32, ptr @stderr, align 4 %44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.1) %45 = load i32, ptr @stderr, align 4 %46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %45, ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %125 47: ; preds = %41 %48 = load i32, ptr %6, align 4 %49 = load i32, ptr @F_SETFL, align 4 %50 = load i32, ptr %6, align 4 %51 = load i32, ptr @F_GETFL, align 4 %52 = call i32 @fcntl(i32 noundef %50, i32 noundef %51, i32 noundef 0) %53 = load i32, ptr @O_NONBLOCK, align 4 %54 = or i32 %52, %53 %55 = call i32 @fcntl(i32 noundef %48, i32 noundef %49, i32 noundef %54) store i32 0, ptr %9, align 4 br label %56 56: ; preds = %47, %124 %57 = load i32, ptr %6, align 4 %58 = getelementptr inbounds [188 x i8], ptr %10, i64 0, i64 0 %59 = load i32, ptr %9, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 %62 = load i32, ptr %9, align 4 %63 = sub nsw i32 188, %62 %64 = call i32 @read(i32 noundef %57, ptr noundef %61, i32 noundef %63) store i32 %64, ptr %8, align 4 %65 = load i32, ptr %8, align 4 %66 = icmp sgt i32 %65, 0 br i1 %66, label %67, label %78 67: ; preds = %56 %68 = load i32, ptr %8, align 4 %69 = load i32, ptr %9, align 4 %70 = add nsw i32 %69, %68 store i32 %70, ptr %9, align 4 %71 = load i32, ptr %9, align 4 %72 = icmp eq i32 %71, 188 br i1 %72, label %73, label %77 73: ; preds = %67 %74 = load i32, ptr @STDOUT_FILENO, align 4 %75 = getelementptr inbounds [188 x i8], ptr %10, i64 0, i64 0 %76 = call i32 @write(i32 noundef %74, ptr noundef %75, i32 noundef 188) store i32 0, ptr %9, align 4 br label %77 77: ; preds = %73, %67 br label %124 78: ; preds = %56 %79 = load i32, ptr %8, align 4 %80 = icmp sle i32 %79, 0 br i1 %80, label %81, label %123 81: ; preds = %78 %82 = load i32, ptr %9, align 4 %83 = icmp eq i32 %82, 0 br i1 %83, label %84, label %123 84: ; preds = %81 %85 = load i32, ptr %7, align 4 %86 = getelementptr inbounds [188 x i8], ptr %10, i64 0, i64 0 %87 = call i32 @read(i32 noundef %85, ptr noundef %86, i32 noundef 188) store i32 %87, ptr %8, align 4 %88 = load i32, ptr %8, align 4 %89 = icmp eq i32 %88, 0 br i1 %89, label %90, label %118 90: ; preds = %84 %91 = load i32, ptr %7, align 4 %92 = call i32 @close(i32 noundef %91) %93 = load ptr, ptr %5, align 8 %94 = getelementptr inbounds ptr, ptr %93, i64 2 %95 = load ptr, ptr %94, align 8 %96 = load i32, ptr @O_RDONLY, align 4 %97 = call i32 @open(ptr noundef %95, i32 noundef %96) store i32 %97, ptr %7, align 4 %98 = load i32, ptr %7, align 4 %99 = icmp slt i32 %98, 0 br i1 %99, label %100, label %106 100: ; preds = %90 %101 = load i32, ptr @stderr, align 4 %102 = load ptr, ptr %5, align 8 %103 = getelementptr inbounds ptr, ptr %102, i64 2 %104 = load ptr, ptr %103, align 8 %105 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %101, ptr noundef @.str, ptr noundef %104) store i32 0, ptr %3, align 4 br label %125 106: ; preds = %90 %107 = load i32, ptr %7, align 4 %108 = getelementptr inbounds [188 x i8], ptr %10, i64 0, i64 0 %109 = call i32 @read(i32 noundef %107, ptr noundef %108, i32 noundef 188) store i32 %109, ptr %8, align 4 %110 = load i32, ptr %8, align 4 %111 = icmp sgt i32 %110, 0 br i1 %111, label %112, label %116 112: ; preds = %106 %113 = load i32, ptr @STDOUT_FILENO, align 4 %114 = getelementptr inbounds [188 x i8], ptr %10, i64 0, i64 0 %115 = call i32 @write(i32 noundef %113, ptr noundef %114, i32 noundef 188) br label %116 116: ; preds = %112, %106 br label %117 117: ; preds = %116 br label %122 118: ; preds = %84 %119 = load i32, ptr @STDOUT_FILENO, align 4 %120 = getelementptr inbounds [188 x i8], ptr %10, i64 0, i64 0 %121 = call i32 @write(i32 noundef %119, ptr noundef %120, i32 noundef 188) br label %122 122: ; preds = %118, %117 br label %123 123: ; preds = %122, %81, %78 br label %124 124: ; preds = %123, %77 br label %56 125: ; preds = %100, %42, %35, %21 %126 = load i32, ptr %3, align 4 ret i32 %126 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgu1dv7sc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"Can't open file %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [57 x i8] c"Usage: 'tsorts inputfile1.ts inputfile2.ts > output.ts'\0A\00", align 1 @.str.2 = private unnamed_addr constant [97 x i8] c"ts packets are read from inputfile2.ts if they are not immediatly available from inputfile1.ts'\0A\00", align 1 @F_SETFL = dso_local global i32 0, align 4 @F_GETFL = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [188 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp sge i32 %11, 3 br i1 %12, label %13, label %42 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = load i32, ptr @O_RDONLY, align 4 %18 = call i32 @open(ptr noundef %16, i32 noundef %17) store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %27 21: ; preds = %13 %22 = load i32, ptr @stderr, align 4 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str, ptr noundef %25) store i32 0, ptr %3, align 4 br label %125 27: ; preds = %13 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = load i32, ptr @O_RDONLY, align 4 %32 = call i32 @open(ptr noundef %30, i32 noundef %31) store i32 %32, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = icmp slt i32 %33, 0 br i1 %34, label %35, label %41 35: ; preds = %27 %36 = load i32, ptr @stderr, align 4 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 2 %39 = load ptr, ptr %38, align 8 %40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str, ptr noundef %39) store i32 0, ptr %3, align 4 br label %125 41: ; preds = %27 br label %47 42: ; preds = %2 %43 = load i32, ptr @stderr, align 4 %44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.1) %45 = load i32, ptr @stderr, align 4 %46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %45, ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %125 47: ; preds = %41 %48 = load i32, ptr %6, align 4 %49 = load i32, ptr @F_SETFL, align 4 %50 = load i32, ptr %6, align 4 %51 = load i32, ptr @F_GETFL, align 4 %52 = call i32 @fcntl(i32 noundef %50, i32 noundef %51, i32 noundef 0) %53 = load i32, ptr @O_NONBLOCK, align 4 %54 = or i32 %52, %53 %55 = call i32 @fcntl(i32 noundef %48, i32 noundef %49, i32 noundef %54) store i32 0, ptr %9, align 4 br label %56 56: ; preds = %124, %47 %57 = load i32, ptr %6, align 4 %58 = getelementptr inbounds [188 x i8], ptr %10, i64 0, i64 0 %59 = load i32, ptr %9, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 %62 = load i32, ptr %9, align 4 %63 = sub nsw i32 188, %62 %64 = call i32 @read(i32 noundef %57, ptr noundef %61, i32 noundef %63) store i32 %64, ptr %8, align 4 %65 = load i32, ptr %8, align 4 %66 = icmp sgt i32 %65, 0 br i1 %66, label %67, label %78 67: ; preds = %56 %68 = load i32, ptr %8, align 4 %69 = load i32, ptr %9, align 4 %70 = add nsw i32 %69, %68 store i32 %70, ptr %9, align 4 %71 = load i32, ptr %9, align 4 %72 = icmp eq i32 %71, 188 br i1 %72, label %73, label %77 73: ; preds = %67 %74 = load i32, ptr @STDOUT_FILENO, align 4 %75 = getelementptr inbounds [188 x i8], ptr %10, i64 0, i64 0 %76 = call i32 @write(i32 noundef %74, ptr noundef %75, i32 noundef 188) store i32 0, ptr %9, align 4 br label %77 77: ; preds = %73, %67 br label %124 78: ; preds = %56 %79 = load i32, ptr %8, align 4 %80 = icmp sle i32 %79, 0 br i1 %80, label %81, label %123 81: ; preds = %78 %82 = load i32, ptr %9, align 4 %83 = icmp eq i32 %82, 0 br i1 %83, label %84, label %123 84: ; preds = %81 %85 = load i32, ptr %7, align 4 %86 = getelementptr inbounds [188 x i8], ptr %10, i64 0, i64 0 %87 = call i32 @read(i32 noundef %85, ptr noundef %86, i32 noundef 188) store i32 %87, ptr %8, align 4 %88 = load i32, ptr %8, align 4 %89 = icmp eq i32 %88, 0 br i1 %89, label %90, label %118 90: ; preds = %84 %91 = load i32, ptr %7, align 4 %92 = call i32 @close(i32 noundef %91) %93 = load ptr, ptr %5, align 8 %94 = getelementptr inbounds ptr, ptr %93, i64 2 %95 = load ptr, ptr %94, align 8 %96 = load i32, ptr @O_RDONLY, align 4 %97 = call i32 @open(ptr noundef %95, i32 noundef %96) store i32 %97, ptr %7, align 4 %98 = load i32, ptr %7, align 4 %99 = icmp slt i32 %98, 0 br i1 %99, label %100, label %106 100: ; preds = %90 %101 = load i32, ptr @stderr, align 4 %102 = load ptr, ptr %5, align 8 %103 = getelementptr inbounds ptr, ptr %102, i64 2 %104 = load ptr, ptr %103, align 8 %105 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %101, ptr noundef @.str, ptr noundef %104) store i32 0, ptr %3, align 4 br label %125 106: ; preds = %90 %107 = load i32, ptr %7, align 4 %108 = getelementptr inbounds [188 x i8], ptr %10, i64 0, i64 0 %109 = call i32 @read(i32 noundef %107, ptr noundef %108, i32 noundef 188) store i32 %109, ptr %8, align 4 %110 = load i32, ptr %8, align 4 %111 = icmp sgt i32 %110, 0 br i1 %111, label %112, label %116 112: ; preds = %106 %113 = load i32, ptr @STDOUT_FILENO, align 4 %114 = getelementptr inbounds [188 x i8], ptr %10, i64 0, i64 0 %115 = call i32 @write(i32 noundef %113, ptr noundef %114, i32 noundef 188) br label %116 116: ; preds = %112, %106 br label %117 117: ; preds = %116 br label %122 118: ; preds = %84 %119 = load i32, ptr @STDOUT_FILENO, align 4 %120 = getelementptr inbounds [188 x i8], ptr %10, i64 0, i64 0 %121 = call i32 @write(i32 noundef %119, ptr noundef %120, i32 noundef 188) br label %122 122: ; preds = %118, %117 br label %123 123: ; preds = %122, %81, %78 br label %124 124: ; preds = %123, %77 br label %56 125: ; preds = %100, %42, %35, %21 %126 = load i32, ptr %3, align 4 ret i32 %126 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp45avioh5.c' source_filename = "/tmp/tmp45avioh5.c" target datalayout = "e-m:e-p270: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/tmp45avioh5.c" target datalayout = "e-m:e-p270: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/tmp0jul5_up.c' source_filename = "/tmp/tmp0jul5_up.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %12, label %7 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %7, %1 store i32 0, ptr %2, align 4 br label %25 13: ; preds = %7 store i32 0, ptr %4, align 4 br label %14 14: ; preds = %20, %13 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %3, align 8 %17 = load i8, ptr %15, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %14 br label %20 20: ; preds = %19 %21 = load i32, ptr %4, align 4 %22 = add i32 %21, 1 store i32 %22, ptr %4, align 4 br label %14, !llvm.loop !6 23: ; preds = %14 %24 = load i32, ptr %4, align 4 store i32 %24, ptr %2, align 4 br label %25 25: ; preds = %23, %12 %26 = load i32, ptr %2, align 4 ret i32 %26 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0jul5_up.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %12, label %7 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %7, %1 store i32 0, ptr %2, align 4 br label %28 13: ; preds = %7 store i32 0, ptr %4, align 4 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %3, align 8 %16 = load i8, ptr %14, align 1 %17 = icmp ne i8 %16, 0 br i1 %17, label %.lr.ph, label %26 .lr.ph: ; preds = %13 br label %18 18: ; preds = %.lr.ph, %19 br label %19 19: ; preds = %18 %20 = load i32, ptr %4, align 4 %21 = add i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %3, align 8 %24 = load i8, ptr %22, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %26 26: ; preds = %._crit_edge, %13 %27 = load i32, ptr %4, align 4 store i32 %27, ptr %2, align 4 br label %28 28: ; preds = %26, %12 %29 = load i32, ptr %2, align 4 ret i32 %29 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpf5x7wrmn.c' source_filename = "/tmp/tmpf5x7wrmn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @marble(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %8 = load double, ptr %4, align 8 %9 = load double, ptr %5, align 8 %10 = load double, ptr %6, align 8 %11 = call double @turbulence(double noundef %8, double noundef %9, double noundef %10, double noundef 3.000000e-01, double noundef 4.000000e+02) store double %11, ptr %7, align 8 %12 = load double, ptr %7, align 8 %13 = fcmp ogt double %12, 1.000000e+00 br i1 %13, label %14, label %15 14: ; preds = %3 store double 1.000000e+00, ptr %7, align 8 br label %15 15: ; preds = %14, %3 %16 = load double, ptr %7, align 8 %17 = fcmp olt double %16, 0.000000e+00 br i1 %17, label %18, label %19 18: ; preds = %15 store double 0.000000e+00, ptr %7, align 8 br label %19 19: ; preds = %18, %15 %20 = load double, ptr %7, align 8 ret double %20 } declare double @turbulence(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf5x7wrmn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @marble(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %8 = load double, ptr %4, align 8 %9 = load double, ptr %5, align 8 %10 = load double, ptr %6, align 8 %11 = call double @turbulence(double noundef %8, double noundef %9, double noundef %10, double noundef 3.000000e-01, double noundef 4.000000e+02) store double %11, ptr %7, align 8 %12 = load double, ptr %7, align 8 %13 = fcmp ogt double %12, 1.000000e+00 br i1 %13, label %14, label %15 14: ; preds = %3 store double 1.000000e+00, ptr %7, align 8 br label %15 15: ; preds = %14, %3 %16 = load double, ptr %7, align 8 %17 = fcmp olt double %16, 0.000000e+00 br i1 %17, label %18, label %19 18: ; preds = %15 store double 0.000000e+00, ptr %7, align 8 br label %19 19: ; preds = %18, %15 %20 = load double, ptr %7, align 8 ret double %20 } declare double @turbulence(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2s9k6co9.c' source_filename = "/tmp/tmp2s9k6co9.c" target datalayout = "e-m:e-p270: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/tmp2s9k6co9.c" target datalayout = "e-m:e-p270: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/tmpumofw3xv.c' source_filename = "/tmp/tmpumofw3xv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"exit_usage: %s\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [57 x i8] c"usage: %s [options] <fax-number> <page(s) in g3-format>\0A\00", align 1 @.str.3 = private unnamed_addr constant [72 x i8] c"\09valid options: -p, -v, -l <device(s)>, -x <debug>, -n, -S, -r, -D <x>\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"failed: command line error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @exit_usage(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %14 7: ; preds = %2 %8 = load ptr, ptr %4, align 8 %9 = call i32 (i32, ptr, ...) @lprintf(i32 noundef 1, ptr noundef @.str, ptr noundef %8) %10 = load i32, ptr @stderr, align 4 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %4, align 8 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.1, ptr noundef %11, ptr noundef %12) br label %14 14: ; preds = %7, %2 %15 = load i32, ptr @stderr, align 4 %16 = load ptr, ptr %3, align 8 %17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.2, ptr noundef %16) %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.3) %20 = call i32 (i32, ptr, ...) @lprintf(i32 noundef 2, ptr noundef @.str.4) %21 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @lprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @fprintf(i32 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/tmpumofw3xv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"exit_usage: %s\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [57 x i8] c"usage: %s [options] <fax-number> <page(s) in g3-format>\0A\00", align 1 @.str.3 = private unnamed_addr constant [72 x i8] c"\09valid options: -p, -v, -l <device(s)>, -x <debug>, -n, -S, -r, -D <x>\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"failed: command line error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @exit_usage(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %14 7: ; preds = %2 %8 = load ptr, ptr %4, align 8 %9 = call i32 (i32, ptr, ...) @lprintf(i32 noundef 1, ptr noundef @.str, ptr noundef %8) %10 = load i32, ptr @stderr, align 4 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %4, align 8 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.1, ptr noundef %11, ptr noundef %12) br label %14 14: ; preds = %7, %2 %15 = load i32, ptr @stderr, align 4 %16 = load ptr, ptr %3, align 8 %17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.2, ptr noundef %16) %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.3) %20 = call i32 (i32, ptr, ...) @lprintf(i32 noundef 2, ptr noundef @.str.4) %21 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @lprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @fprintf(i32 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/tmpa_c2qp01.c' source_filename = "/tmp/tmpa_c2qp01.c" target datalayout = "e-m:e-p270: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/tmpa_c2qp01.c" target datalayout = "e-m:e-p270: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/tmpngnvxuzi.c' source_filename = "/tmp/tmpngnvxuzi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [57 x i8] c"Quiet mode. Only print words found in the dictionary.%s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @infoSetQuiet() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpngnvxuzi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [57 x i8] c"Quiet mode. Only print words found in the dictionary.%s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @infoSetQuiet() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwaakwdrw.c' source_filename = "/tmp/tmpwaakwdrw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @funct_Ch(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 i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %8, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %10, align 4 %12 = call i32 @_mm_xor_si128(i32 noundef %9, i32 noundef %11) store i32 %12, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %14, align 4 %16 = call i32 @_mm_and_si128(i32 noundef %13, i32 noundef %15) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %18, align 4 %20 = call i32 @_mm_xor_si128(i32 noundef %17, i32 noundef %19) store i32 %20, ptr %7, align 4 %21 = load i32, ptr %7, align 4 ret i32 %21 } declare i32 @_mm_xor_si128(i32 noundef, i32 noundef) #1 declare i32 @_mm_and_si128(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/tmpwaakwdrw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @funct_Ch(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 i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %8, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %10, align 4 %12 = call i32 @_mm_xor_si128(i32 noundef %9, i32 noundef %11) store i32 %12, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %14, align 4 %16 = call i32 @_mm_and_si128(i32 noundef %13, i32 noundef %15) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %18, align 4 %20 = call i32 @_mm_xor_si128(i32 noundef %17, i32 noundef %19) store i32 %20, ptr %7, align 4 %21 = load i32, ptr %7, align 4 ret i32 %21 } declare i32 @_mm_xor_si128(i32 noundef, i32 noundef) #1 declare i32 @_mm_and_si128(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/tmpqnyf9oq5.c' source_filename = "/tmp/tmpqnyf9oq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 1, ptr %3, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %9 = load i32, ptr %1, align 4 %10 = call i32 @getid(i32 noundef %9) %11 = load i32, ptr %1, align 4 %12 = call double @sqrt(i32 noundef %11) store double %12, ptr %4, align 8 %13 = load double, ptr %4, align 8 %14 = fptosi double %13 to i32 %15 = call i32 @printid(i32 noundef %14) %16 = load double, ptr %4, align 8 %17 = call i32 @okrug(double noundef %16) store i32 %17, ptr %5, align 4 %18 = load i32, ptr %5, align 4 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %1, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = mul nsw i32 %20, %21 %23 = sub nsw i32 %19, %22 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %5, align 4 store i32 %24, ptr %6, align 4 %25 = load i32, ptr %5, align 4 %26 = call i32 @printid(i32 noundef %25) br label %27 27: ; preds = %32, %0 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %5, align 4 %30 = mul nsw i32 2, %29 %31 = icmp ne i32 %28, %30 br i1 %31, label %32, label %57 32: ; preds = %27 %33 = load double, ptr %4, align 8 %34 = load i32, ptr %2, align 4 %35 = sitofp i32 %34 to double %36 = fadd double %33, %35 %37 = load i32, ptr %3, align 4 %38 = sitofp i32 %37 to double %39 = fdiv double %36, %38 %40 = call i32 @okrug(double noundef %39) store i32 %40, ptr %7, align 4 %41 = load i32, ptr %2, align 4 %42 = sub nsw i32 0, %41 %43 = load i32, ptr %3, align 4 %44 = load i32, ptr %7, align 4 %45 = mul nsw i32 %43, %44 %46 = add nsw i32 %42, %45 store i32 %46, ptr %2, align 4 %47 = load i32, ptr %1, align 4 %48 = load i32, ptr %2, align 4 %49 = load i32, ptr %2, align 4 %50 = mul nsw i32 %48, %49 %51 = sub nsw i32 %47, %50 %52 = load i32, ptr %3, align 4 %53 = sdiv i32 %51, %52 store i32 %53, ptr %3, align 4 %54 = load i32, ptr %8, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %8, align 4 %56 = load i32, ptr %7, align 4 store i32 %56, ptr %6, align 4 br label %27, !llvm.loop !6 57: ; preds = %27 %58 = load i32, ptr %8, align 4 %59 = call i32 @printid(i32 noundef %58) ret void } declare i32 @getid(i32 noundef) #1 declare double @sqrt(i32 noundef) #1 declare i32 @printid(i32 noundef) #1 declare i32 @okrug(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqnyf9oq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 1, ptr %3, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %9 = load i32, ptr %1, align 4 %10 = call i32 @getid(i32 noundef %9) %11 = load i32, ptr %1, align 4 %12 = call double @sqrt(i32 noundef %11) store double %12, ptr %4, align 8 %13 = load double, ptr %4, align 8 %14 = fptosi double %13 to i32 %15 = call i32 @printid(i32 noundef %14) %16 = load double, ptr %4, align 8 %17 = call i32 @okrug(double noundef %16) store i32 %17, ptr %5, align 4 %18 = load i32, ptr %5, align 4 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %1, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = mul nsw i32 %20, %21 %23 = sub nsw i32 %19, %22 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %5, align 4 store i32 %24, ptr %6, align 4 %25 = load i32, ptr %5, align 4 %26 = call i32 @printid(i32 noundef %25) %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %5, align 4 %29 = mul nsw i32 2, %28 %30 = icmp ne i32 %27, %29 br i1 %30, label %.lr.ph, label %60 .lr.ph: ; preds = %0 br label %31 31: ; preds = %.lr.ph, %31 %32 = load double, ptr %4, align 8 %33 = load i32, ptr %2, align 4 %34 = sitofp i32 %33 to double %35 = fadd double %32, %34 %36 = load i32, ptr %3, align 4 %37 = sitofp i32 %36 to double %38 = fdiv double %35, %37 %39 = call i32 @okrug(double noundef %38) store i32 %39, ptr %7, align 4 %40 = load i32, ptr %2, align 4 %41 = sub nsw i32 0, %40 %42 = load i32, ptr %3, align 4 %43 = load i32, ptr %7, align 4 %44 = mul nsw i32 %42, %43 %45 = add nsw i32 %41, %44 store i32 %45, ptr %2, align 4 %46 = load i32, ptr %1, align 4 %47 = load i32, ptr %2, align 4 %48 = load i32, ptr %2, align 4 %49 = mul nsw i32 %47, %48 %50 = sub nsw i32 %46, %49 %51 = load i32, ptr %3, align 4 %52 = sdiv i32 %50, %51 store i32 %52, ptr %3, align 4 %53 = load i32, ptr %8, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %8, align 4 %55 = load i32, ptr %7, align 4 store i32 %55, ptr %6, align 4 %56 = load i32, ptr %7, align 4 %57 = load i32, ptr %5, align 4 %58 = mul nsw i32 2, %57 %59 = icmp ne i32 %56, %58 br i1 %59, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %60 60: ; preds = %._crit_edge, %0 %61 = load i32, ptr %8, align 4 %62 = call i32 @printid(i32 noundef %61) ret void } declare i32 @getid(i32 noundef) #1 declare double @sqrt(i32 noundef) #1 declare i32 @printid(i32 noundef) #1 declare i32 @okrug(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbkpeon_9.c' source_filename = "/tmp/tmpbkpeon_9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @test_proc_fort_v1() %3 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %3 } declare i32 @test_proc_fort_v1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbkpeon_9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @test_proc_fort_v1() %3 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %3 } declare i32 @test_proc_fort_v1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppcyqkn57.c' source_filename = "/tmp/tmppcyqkn57.c" target datalayout = "e-m:e-p270: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/tmppcyqkn57.c" target datalayout = "e-m:e-p270: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/tmpo5a0k2tm.c' source_filename = "/tmp/tmpo5a0k2tm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"got signal %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @myhandler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo5a0k2tm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"got signal %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @myhandler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpda58yrm_.c' source_filename = "/tmp/tmpda58yrm_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xcb_compound_text_init() #0 { %1 = call i32 (...) @_XlcInitCTInfo() ret void } declare i32 @_XlcInitCTInfo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpda58yrm_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xcb_compound_text_init() #0 { %1 = call i32 (...) @_XlcInitCTInfo() ret void } declare i32 @_XlcInitCTInfo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx9v_c2ho.c' source_filename = "/tmp/tmpx9v_c2ho.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_shuffle(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 0, ptr %5, align 8 br label %8 8: ; preds = %41, %2 %9 = load i64, ptr %5, align 8 %10 = load i64, ptr %4, align 8 %11 = sub i64 %10, 1 %12 = icmp ult i64 %9, %11 br i1 %12, label %13, label %44 13: ; preds = %8 %14 = load i64, ptr %5, align 8 %15 = call i64 (...) @rand() %16 = load i64, ptr %4, align 8 %17 = load i64, ptr %5, align 8 %18 = sub i64 %16, %17 %19 = urem i64 %15, %18 %20 = add i64 %14, %19 store i64 %20, ptr %6, align 8 %21 = load i64, ptr %5, align 8 %22 = load i64, ptr %6, align 8 %23 = icmp ne i64 %21, %22 br i1 %23, label %24, label %40 24: ; preds = %13 %25 = load ptr, ptr %3, align 8 %26 = load i64, ptr %5, align 8 %27 = getelementptr inbounds i64, ptr %25, i64 %26 %28 = load i64, ptr %27, align 8 store i64 %28, ptr %7, align 8 %29 = load ptr, ptr %3, align 8 %30 = load i64, ptr %6, align 8 %31 = getelementptr inbounds i64, ptr %29, i64 %30 %32 = load i64, ptr %31, align 8 %33 = load ptr, ptr %3, align 8 %34 = load i64, ptr %5, align 8 %35 = getelementptr inbounds i64, ptr %33, i64 %34 store i64 %32, ptr %35, align 8 %36 = load i64, ptr %7, align 8 %37 = load ptr, ptr %3, align 8 %38 = load i64, ptr %6, align 8 %39 = getelementptr inbounds i64, ptr %37, i64 %38 store i64 %36, ptr %39, align 8 br label %40 40: ; preds = %24, %13 br label %41 41: ; preds = %40 %42 = load i64, ptr %5, align 8 %43 = add i64 %42, 1 store i64 %43, ptr %5, align 8 br label %8, !llvm.loop !6 44: ; preds = %8 ret void } declare i64 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx9v_c2ho.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_shuffle(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 0, ptr %5, align 8 %8 = load i64, ptr %5, align 8 %9 = load i64, ptr %4, align 8 %10 = sub i64 %9, 1 %11 = icmp ult i64 %8, %10 br i1 %11, label %.lr.ph, label %47 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %40 %13 = load i64, ptr %5, align 8 %14 = call i64 (...) @rand() %15 = load i64, ptr %4, align 8 %16 = load i64, ptr %5, align 8 %17 = sub i64 %15, %16 %18 = urem i64 %14, %17 %19 = add i64 %13, %18 store i64 %19, ptr %6, align 8 %20 = load i64, ptr %5, align 8 %21 = load i64, ptr %6, align 8 %22 = icmp ne i64 %20, %21 br i1 %22, label %23, label %39 23: ; preds = %12 %24 = load ptr, ptr %3, align 8 %25 = load i64, ptr %5, align 8 %26 = getelementptr inbounds i64, ptr %24, i64 %25 %27 = load i64, ptr %26, align 8 store i64 %27, ptr %7, align 8 %28 = load ptr, ptr %3, align 8 %29 = load i64, ptr %6, align 8 %30 = getelementptr inbounds i64, ptr %28, i64 %29 %31 = load i64, ptr %30, align 8 %32 = load ptr, ptr %3, align 8 %33 = load i64, ptr %5, align 8 %34 = getelementptr inbounds i64, ptr %32, i64 %33 store i64 %31, ptr %34, align 8 %35 = load i64, ptr %7, align 8 %36 = load ptr, ptr %3, align 8 %37 = load i64, ptr %6, align 8 %38 = getelementptr inbounds i64, ptr %36, i64 %37 store i64 %35, ptr %38, align 8 br label %39 39: ; preds = %23, %12 br label %40 40: ; preds = %39 %41 = load i64, ptr %5, align 8 %42 = add i64 %41, 1 store i64 %42, ptr %5, align 8 %43 = load i64, ptr %5, align 8 %44 = load i64, ptr %4, align 8 %45 = sub i64 %44, 1 %46 = icmp ult i64 %43, %45 br i1 %46, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %47 47: ; preds = %._crit_edge, %2 ret void } declare i64 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmplnc3bbey.c' source_filename = "/tmp/tmplnc3bbey.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"3++ = %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @testInc() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 3, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = add nsw i32 %3, 1 store i32 %4, ptr %1, align 4 store i32 %3, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %1, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6) ret void } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplnc3bbey.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"3++ = %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @testInc() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 3, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = add nsw i32 %3, 1 store i32 %4, ptr %1, align 4 store i32 %3, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %1, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6) ret void } 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"}
; ModuleID = '/tmp/tmp7vy8t19w.c' source_filename = "/tmp/tmp7vy8t19w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rmd160_hash(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = call i32 (...) @rmd160_init() %6 = load ptr, ptr %4, align 8 %7 = call i32 @rmd160_process(ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call i32 @rmd160_finish(ptr noundef %8) ret void } declare i32 @rmd160_init(...) #1 declare i32 @rmd160_process(ptr noundef) #1 declare i32 @rmd160_finish(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/tmp7vy8t19w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rmd160_hash(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = call i32 (...) @rmd160_init() %6 = load ptr, ptr %4, align 8 %7 = call i32 @rmd160_process(ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call i32 @rmd160_finish(ptr noundef %8) ret void } declare i32 @rmd160_init(...) #1 declare i32 @rmd160_process(ptr noundef) #1 declare i32 @rmd160_finish(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/tmpe2cxehug.c' source_filename = "/tmp/tmpe2cxehug.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"0\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 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %4 4: ; preds = %10, %0 %5 = load i32, ptr %2, align 4 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %13 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8) br label %10 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %2, align 4 br label %4, !llvm.loop !6 13: ; preds = %4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe2cxehug.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"0\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 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = icmp sgt i32 %4, 0 br i1 %5, label %.lr.ph, label %14 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %9 %7 = load i32, ptr %2, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7) br label %9 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %14 14: ; preds = %._crit_edge, %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2zw20j4e.c' source_filename = "/tmp/tmp2zw20j4e.c" target datalayout = "e-m:e-p270: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/tmp2zw20j4e.c" target datalayout = "e-m:e-p270: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/tmp7zr843cj.c' source_filename = "/tmp/tmp7zr843cj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mallocEscapeFree() #0 { %1 = alloca ptr, align 8 %2 = call ptr @malloc(i32 noundef 12) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @myfoo(ptr noundef %3) %5 = load ptr, ptr %1, align 8 %6 = call i32 @free(ptr noundef %5) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @myfoo(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7zr843cj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mallocEscapeFree() #0 { %1 = alloca ptr, align 8 %2 = call ptr @malloc(i32 noundef 12) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @myfoo(ptr noundef %3) %5 = load ptr, ptr %1, align 8 %6 = call i32 @free(ptr noundef %5) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @myfoo(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphjz4_a6p.c' source_filename = "/tmp/tmphjz4_a6p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_show_bytes(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca float, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = sitofp i32 %7 to float store float %8, ptr %4, align 4 store ptr %3, ptr %5, align 8 %9 = load i32, ptr %3, align 4 %10 = call i32 @show_int(i32 noundef %9) %11 = load float, ptr %4, align 4 %12 = call i32 @show_float(float noundef %11) %13 = load ptr, ptr %5, align 8 %14 = call i32 @show_pointer(ptr noundef %13) ret void } declare i32 @show_int(i32 noundef) #1 declare i32 @show_float(float noundef) #1 declare i32 @show_pointer(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/tmphjz4_a6p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_show_bytes(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca float, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = sitofp i32 %7 to float store float %8, ptr %4, align 4 store ptr %3, ptr %5, align 8 %9 = load i32, ptr %3, align 4 %10 = call i32 @show_int(i32 noundef %9) %11 = load float, ptr %4, align 4 %12 = call i32 @show_float(float noundef %11) %13 = load ptr, ptr %5, align 8 %14 = call i32 @show_pointer(ptr noundef %13) ret void } declare i32 @show_int(i32 noundef) #1 declare i32 @show_float(float noundef) #1 declare i32 @show_pointer(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/tmpsaqoi1hq.c' source_filename = "/tmp/tmpsaqoi1hq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SQLITE_CONFIG_LOG = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @persistent_sqlite_set_log(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 i32, ptr @SQLITE_CONFIG_LOG, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @sqlite3_config(i32 noundef %5, ptr noundef %6, ptr noundef %7) ret i32 %8 } declare i32 @sqlite3_config(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsaqoi1hq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SQLITE_CONFIG_LOG = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @persistent_sqlite_set_log(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 i32, ptr @SQLITE_CONFIG_LOG, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @sqlite3_config(i32 noundef %5, ptr noundef %6, ptr noundef %7) ret i32 %8 } declare i32 @sqlite3_config(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4ixz9okn.c' source_filename = "/tmp/tmp4ixz9okn.c" target datalayout = "e-m:e-p270: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/tmp4ixz9okn.c" target datalayout = "e-m:e-p270: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/tmpk2wceuae.c' source_filename = "/tmp/tmpk2wceuae.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_vehicle() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = call i32 (...) @rand() %5 = srem i32 %4, 42 %6 = add nsw i32 %5, 2 store i32 %6, ptr %1, align 4 %7 = load i32, ptr %1, align 4 %8 = add nsw i32 %7, -1 store i32 %8, ptr %1, align 4 %9 = call ptr @malloc(i32 noundef %7) store ptr %9, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %10 10: ; preds = %23, %0 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %1, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %26 14: ; preds = %10 %15 = call i32 (...) @rand() %16 = srem i32 %15, 26 %17 = add nsw i32 97, %16 %18 = trunc i32 %17 to i8 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %3, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 store i8 %18, ptr %22, align 1 br label %23 23: ; preds = %14 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 br label %10, !llvm.loop !6 26: ; preds = %10 %27 = load ptr, ptr %2, align 8 %28 = load i32, ptr %1, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 store i8 0, ptr %30, align 1 %31 = call i32 (...) @rand() %32 = srem i32 %31, 5 %33 = load ptr, ptr %2, align 8 %34 = call ptr @mkvehicle(i32 noundef %32, ptr noundef %33) ret ptr %34 } declare i32 @rand(...) #1 declare ptr @malloc(i32 noundef) #1 declare ptr @mkvehicle(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk2wceuae.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_vehicle() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = call i32 (...) @rand() %5 = srem i32 %4, 42 %6 = add nsw i32 %5, 2 store i32 %6, ptr %1, align 4 %7 = load i32, ptr %1, align 4 %8 = add nsw i32 %7, -1 store i32 %8, ptr %1, align 4 %9 = call ptr @malloc(i32 noundef %7) store ptr %9, ptr %2, align 8 store i32 0, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %1, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %22 %14 = call i32 (...) @rand() %15 = srem i32 %14, 26 %16 = add nsw i32 97, %15 %17 = trunc i32 %16 to i8 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 store i8 %17, ptr %21, align 1 br label %22 22: ; preds = %13 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %1, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %0 %29 = load ptr, ptr %2, align 8 %30 = load i32, ptr %1, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 store i8 0, ptr %32, align 1 %33 = call i32 (...) @rand() %34 = srem i32 %33, 5 %35 = load ptr, ptr %2, align 8 %36 = call ptr @mkvehicle(i32 noundef %34, ptr noundef %35) ret ptr %36 } declare i32 @rand(...) #1 declare ptr @malloc(i32 noundef) #1 declare ptr @mkvehicle(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_8rne2x8.c' source_filename = "/tmp/tmp_8rne2x8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Iteracio n\C2\BA %d\0Anorma = %25.16lf\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Resultat:\0Ax\09y\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"%25.16lf %25.16lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @newton(double noundef %0, double noundef %1, double noundef %2, double noundef %3, i32 noundef %4, double noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca i32, align 4 store double %0, ptr %8, align 8 store double %1, ptr %9, align 8 store double %2, ptr %10, align 8 store double %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store double %5, ptr %13, align 8 store i32 10, ptr %30, align 4 %31 = load double, ptr %9, align 8 %32 = load double, ptr %8, align 8 %33 = fsub double %31, %32 %34 = load i32, ptr %12, align 4 %35 = add nsw i32 %34, 1 %36 = sitofp i32 %35 to double %37 = fdiv double %33, %36 store double %37, ptr %17, align 8 %38 = load i32, ptr %12, align 4 %39 = add nsw i32 %38, 2 %40 = sext i32 %39 to i64 %41 = mul i64 %40, 8 %42 = trunc i64 %41 to i32 %43 = call i64 @malloc(i32 noundef %42) %44 = inttoptr i64 %43 to ptr store ptr %44, ptr %24, align 8 %45 = load i32, ptr %12, align 4 %46 = add nsw i32 %45, 2 %47 = sext i32 %46 to i64 %48 = mul i64 %47, 8 %49 = trunc i64 %48 to i32 %50 = call i64 @malloc(i32 noundef %49) %51 = inttoptr i64 %50 to ptr store ptr %51, ptr %25, align 8 %52 = load i32, ptr %12, align 4 %53 = sext i32 %52 to i64 %54 = mul i64 %53, 8 %55 = trunc i64 %54 to i32 %56 = call i64 @malloc(i32 noundef %55) %57 = inttoptr i64 %56 to ptr store ptr %57, ptr %26, align 8 %58 = load i32, ptr %12, align 4 %59 = sext i32 %58 to i64 %60 = mul i64 %59, 8 %61 = trunc i64 %60 to i32 %62 = call i64 @malloc(i32 noundef %61) %63 = inttoptr i64 %62 to ptr store ptr %63, ptr %27, align 8 %64 = load i32, ptr %12, align 4 %65 = sext i32 %64 to i64 %66 = mul i64 %65, 8 %67 = trunc i64 %66 to i32 %68 = call i64 @malloc(i32 noundef %67) %69 = inttoptr i64 %68 to ptr store ptr %69, ptr %28, align 8 %70 = load i32, ptr %12, align 4 %71 = sext i32 %70 to i64 %72 = mul i64 %71, 8 %73 = trunc i64 %72 to i32 %74 = call i64 @malloc(i32 noundef %73) %75 = inttoptr i64 %74 to ptr store ptr %75, ptr %29, align 8 %76 = load double, ptr %8, align 8 %77 = load ptr, ptr %24, align 8 %78 = getelementptr inbounds double, ptr %77, i64 0 store double %76, ptr %78, align 8 store i32 1, ptr %14, align 4 br label %79 79: ; preds = %97, %6 %80 = load i32, ptr %14, align 4 %81 = load i32, ptr %12, align 4 %82 = add nsw i32 %81, 1 %83 = icmp slt i32 %80, %82 br i1 %83, label %84, label %100 84: ; preds = %79 %85 = load ptr, ptr %24, align 8 %86 = load i32, ptr %14, align 4 %87 = sub nsw i32 %86, 1 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds double, ptr %85, i64 %88 %90 = load double, ptr %89, align 8 %91 = load double, ptr %17, align 8 %92 = fadd double %90, %91 %93 = load ptr, ptr %24, align 8 %94 = load i32, ptr %14, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds double, ptr %93, i64 %95 store double %92, ptr %96, align 8 br label %97 97: ; preds = %84 %98 = load i32, ptr %14, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %14, align 4 br label %79, !llvm.loop !6 100: ; preds = %79 %101 = load double, ptr %9, align 8 %102 = load ptr, ptr %24, align 8 %103 = load i32, ptr %12, align 4 %104 = add nsw i32 %103, 1 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds double, ptr %102, i64 %105 store double %101, ptr %106, align 8 %107 = load double, ptr %9, align 8 %108 = load double, ptr %8, align 8 %109 = fsub double %107, %108 store double %109, ptr %18, align 8 %110 = load double, ptr %11, align 8 %111 = load double, ptr %10, align 8 %112 = fsub double %110, %111 store double %112, ptr %19, align 8 %113 = load double, ptr %19, align 8 %114 = load double, ptr %18, align 8 %115 = fdiv double %113, %114 store double %115, ptr %20, align 8 %116 = load double, ptr %10, align 8 %117 = load ptr, ptr %25, align 8 %118 = getelementptr inbounds double, ptr %117, i64 0 store double %116, ptr %118, align 8 store i32 1, ptr %14, align 4 br label %119 119: ; preds = %139, %100 %120 = load i32, ptr %14, align 4 %121 = load i32, ptr %12, align 4 %122 = add nsw i32 %121, 1 %123 = icmp slt i32 %120, %122 br i1 %123, label %124, label %142 124: ; preds = %119 %125 = load double, ptr %10, align 8 %126 = load double, ptr %20, align 8 %127 = load ptr, ptr %24, align 8 %128 = load i32, ptr %14, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds double, ptr %127, i64 %129 %131 = load double, ptr %130, align 8 %132 = load double, ptr %8, align 8 %133 = fsub double %131, %132 %134 = call double @llvm.fmuladd.f64(double %126, double %133, double %125) %135 = load ptr, ptr %25, align 8 %136 = load i32, ptr %14, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds double, ptr %135, i64 %137 store double %134, ptr %138, align 8 br label %139 139: ; preds = %124 %140 = load i32, ptr %14, align 4 %141 = add nsw i32 %140, 1 store i32 %141, ptr %14, align 4 br label %119, !llvm.loop !8 142: ; preds = %119 %143 = load double, ptr %11, align 8 %144 = load ptr, ptr %25, align 8 %145 = load i32, ptr %12, align 4 %146 = add nsw i32 %145, 1 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds double, ptr %144, i64 %147 store double %143, ptr %148, align 8 store i32 0, ptr %16, align 4 br label %149 149: ; preds = %324, %142 store i32 0, ptr %14, align 4 br label %150 150: ; preds = %274, %149 %151 = load i32, ptr %14, align 4 %152 = load i32, ptr %12, align 4 %153 = icmp slt i32 %151, %152 br i1 %153, label %154, label %277 154: ; preds = %150 %155 = load i32, ptr %14, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr %15, align 4 %157 = load ptr, ptr %25, align 8 %158 = load i32, ptr %15, align 4 %159 = add nsw i32 %158, 1 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds double, ptr %157, i64 %160 %162 = load double, ptr %161, align 8 %163 = load ptr, ptr %25, align 8 %164 = load i32, ptr %15, align 4 %165 = sub nsw i32 %164, 1 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds double, ptr %163, i64 %166 %168 = load double, ptr %167, align 8 %169 = fsub double %162, %168 %170 = load double, ptr %17, align 8 %171 = fmul double 2.000000e+00, %170 %172 = fdiv double %169, %171 store double %172, ptr %21, align 8 %173 = load double, ptr %17, align 8 %174 = fdiv double %173, 2.000000e+00 %175 = load ptr, ptr %24, align 8 %176 = load i32, ptr %15, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds double, ptr %175, i64 %177 %179 = load double, ptr %178, align 8 %180 = load ptr, ptr %25, align 8 %181 = load i32, ptr %15, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds double, ptr %180, i64 %182 %184 = load double, ptr %183, align 8 %185 = load double, ptr %21, align 8 %186 = call double @d3f(double noundef %179, double noundef %184, double noundef %185) %187 = fneg double %174 %188 = call double @llvm.fmuladd.f64(double %187, double %186, double -1.000000e+00) %189 = load ptr, ptr %27, align 8 %190 = load i32, ptr %14, align 4 %191 = sext i32 %190 to i64 %192 = getelementptr inbounds double, ptr %189, i64 %191 store double %188, ptr %192, align 8 %193 = load double, ptr %17, align 8 %194 = load double, ptr %17, align 8 %195 = fmul double %193, %194 %196 = load ptr, ptr %24, align 8 %197 = load i32, ptr %15, align 4 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds double, ptr %196, i64 %198 %200 = load double, ptr %199, align 8 %201 = load ptr, ptr %25, align 8 %202 = load i32, ptr %15, align 4 %203 = sext i32 %202 to i64 %204 = getelementptr inbounds double, ptr %201, i64 %203 %205 = load double, ptr %204, align 8 %206 = load double, ptr %21, align 8 %207 = call double @d2f(double noundef %200, double noundef %205, double noundef %206) %208 = call double @llvm.fmuladd.f64(double %195, double %207, double 2.000000e+00) %209 = load ptr, ptr %28, align 8 %210 = load i32, ptr %14, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds double, ptr %209, i64 %211 store double %208, ptr %212, align 8 %213 = load double, ptr %17, align 8 %214 = fdiv double %213, 2.000000e+00 %215 = load ptr, ptr %24, align 8 %216 = load i32, ptr %15, align 4 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds double, ptr %215, i64 %217 %219 = load double, ptr %218, align 8 %220 = load ptr, ptr %25, align 8 %221 = load i32, ptr %15, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds double, ptr %220, i64 %222 %224 = load double, ptr %223, align 8 %225 = load double, ptr %21, align 8 %226 = call double @d3f(double noundef %219, double noundef %224, double noundef %225) %227 = call double @llvm.fmuladd.f64(double %214, double %226, double -1.000000e+00) %228 = load ptr, ptr %29, align 8 %229 = load i32, ptr %14, align 4 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds double, ptr %228, i64 %230 store double %227, ptr %231, align 8 %232 = load ptr, ptr %25, align 8 %233 = load i32, ptr %15, align 4 %234 = sub nsw i32 %233, 1 %235 = sext i32 %234 to i64 %236 = getelementptr inbounds double, ptr %232, i64 %235 %237 = load double, ptr %236, align 8 %238 = load ptr, ptr %25, align 8 %239 = load i32, ptr %15, align 4 %240 = sext i32 %239 to i64 %241 = getelementptr inbounds double, ptr %238, i64 %240 %242 = load double, ptr %241, align 8 %243 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %242, double %237) %244 = load ptr, ptr %25, align 8 %245 = load i32, ptr %15, align 4 %246 = add nsw i32 %245, 1 %247 = sext i32 %246 to i64 %248 = getelementptr inbounds double, ptr %244, i64 %247 %249 = load double, ptr %248, align 8 %250 = fadd double %243, %249 %251 = load double, ptr %17, align 8 %252 = load double, ptr %17, align 8 %253 = fmul double %251, %252 %254 = load ptr, ptr %24, align 8 %255 = load i32, ptr %14, align 4 %256 = add nsw i32 %255, 1 %257 = sext i32 %256 to i64 %258 = getelementptr inbounds double, ptr %254, i64 %257 %259 = load double, ptr %258, align 8 %260 = load ptr, ptr %25, align 8 %261 = load i32, ptr %14, align 4 %262 = add nsw i32 %261, 1 %263 = sext i32 %262 to i64 %264 = getelementptr inbounds double, ptr %260, i64 %263 %265 = load double, ptr %264, align 8 %266 = load double, ptr %21, align 8 %267 = call double @f(double noundef %259, double noundef %265, double noundef %266) %268 = fneg double %253 %269 = call double @llvm.fmuladd.f64(double %268, double %267, double %250) %270 = load ptr, ptr %26, align 8 %271 = load i32, ptr %14, align 4 %272 = sext i32 %271 to i64 %273 = getelementptr inbounds double, ptr %270, i64 %272 store double %269, ptr %273, align 8 br label %274 274: ; preds = %154 %275 = load i32, ptr %14, align 4 %276 = add nsw i32 %275, 1 store i32 %276, ptr %14, align 4 br label %150, !llvm.loop !9 277: ; preds = %150 %278 = load i32, ptr %12, align 4 %279 = load ptr, ptr %27, align 8 %280 = load ptr, ptr %28, align 8 %281 = load ptr, ptr %29, align 8 %282 = load ptr, ptr %26, align 8 %283 = load double, ptr %13, align 8 %284 = call i64 @d3(i32 noundef %278, ptr noundef %279, ptr noundef %280, ptr noundef %281, ptr noundef %282, double noundef %283) %285 = icmp ne i64 %284, 0 br i1 %285, label %286, label %287 286: ; preds = %277 store i32 1, ptr %7, align 4 br label %349 287: ; preds = %277 %288 = load i32, ptr %12, align 4 %289 = load ptr, ptr %26, align 8 %290 = call double @normainf(i32 noundef %288, ptr noundef %289) store double %290, ptr %23, align 8 %291 = load i32, ptr %16, align 4 %292 = add nsw i32 %291, 1 %293 = load double, ptr %23, align 8 %294 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %292, double noundef %293) store i32 0, ptr %14, align 4 br label %295 295: ; preds = %311, %287 %296 = load i32, ptr %14, align 4 %297 = load i32, ptr %12, align 4 %298 = icmp slt i32 %296, %297 br i1 %298, label %299, label %314 299: ; preds = %295 %300 = load ptr, ptr %26, align 8 %301 = load i32, ptr %14, align 4 %302 = sext i32 %301 to i64 %303 = getelementptr inbounds double, ptr %300, i64 %302 %304 = load double, ptr %303, align 8 %305 = load ptr, ptr %25, align 8 %306 = load i32, ptr %14, align 4 %307 = sext i32 %306 to i64 %308 = getelementptr inbounds double, ptr %305, i64 %307 %309 = load double, ptr %308, align 8 %310 = fadd double %309, %304 store double %310, ptr %308, align 8 br label %311 311: ; preds = %299 %312 = load i32, ptr %14, align 4 %313 = add nsw i32 %312, 1 store i32 %313, ptr %14, align 4 br label %295, !llvm.loop !10 314: ; preds = %295 %315 = load i32, ptr %16, align 4 %316 = add nsw i32 %315, 1 store i32 %316, ptr %16, align 4 br label %317 317: ; preds = %314 %318 = load i32, ptr %16, align 4 %319 = icmp slt i32 %318, 10 br i1 %319, label %320, label %324 320: ; preds = %317 %321 = load double, ptr %23, align 8 %322 = load double, ptr %13, align 8 %323 = fcmp ogt double %321, %322 br label %324 324: ; preds = %320, %317 %325 = phi i1 [ false, %317 ], [ %323, %320 ] br i1 %325, label %149, label %326, !llvm.loop !11 326: ; preds = %324 %327 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %14, align 4 br label %328 328: ; preds = %345, %326 %329 = load i32, ptr %14, align 4 %330 = load i32, ptr %12, align 4 %331 = add nsw i32 %330, 2 %332 = icmp slt i32 %329, %331 br i1 %332, label %333, label %348 333: ; preds = %328 %334 = load ptr, ptr %24, align 8 %335 = load i32, ptr %14, align 4 %336 = sext i32 %335 to i64 %337 = getelementptr inbounds double, ptr %334, i64 %336 %338 = load double, ptr %337, align 8 %339 = load ptr, ptr %25, align 8 %340 = load i32, ptr %14, align 4 %341 = sext i32 %340 to i64 %342 = getelementptr inbounds double, ptr %339, i64 %341 %343 = load double, ptr %342, align 8 %344 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %338, double noundef %343) br label %345 345: ; preds = %333 %346 = load i32, ptr %14, align 4 %347 = add nsw i32 %346, 1 store i32 %347, ptr %14, align 4 br label %328, !llvm.loop !12 348: ; preds = %328 store i32 0, ptr %7, align 4 br label %349 349: ; preds = %348, %286 %350 = load i32, ptr %7, align 4 ret i32 %350 } declare i64 @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @d3f(double noundef, double noundef, double noundef) #1 declare double @d2f(double noundef, double noundef, double noundef) #1 declare double @f(double noundef, double noundef, double noundef) #1 declare i64 @d3(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef) #1 declare double @normainf(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_8rne2x8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Iteracio n\C2\BA %d\0Anorma = %25.16lf\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Resultat:\0Ax\09y\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"%25.16lf %25.16lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @newton(double noundef %0, double noundef %1, double noundef %2, double noundef %3, i32 noundef %4, double noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca i32, align 4 store double %0, ptr %8, align 8 store double %1, ptr %9, align 8 store double %2, ptr %10, align 8 store double %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store double %5, ptr %13, align 8 store i32 10, ptr %30, align 4 %31 = load double, ptr %9, align 8 %32 = load double, ptr %8, align 8 %33 = fsub double %31, %32 %34 = load i32, ptr %12, align 4 %35 = add nsw i32 %34, 1 %36 = sitofp i32 %35 to double %37 = fdiv double %33, %36 store double %37, ptr %17, align 8 %38 = load i32, ptr %12, align 4 %39 = add nsw i32 %38, 2 %40 = sext i32 %39 to i64 %41 = mul i64 %40, 8 %42 = trunc i64 %41 to i32 %43 = call i64 @malloc(i32 noundef %42) %44 = inttoptr i64 %43 to ptr store ptr %44, ptr %24, align 8 %45 = load i32, ptr %12, align 4 %46 = add nsw i32 %45, 2 %47 = sext i32 %46 to i64 %48 = mul i64 %47, 8 %49 = trunc i64 %48 to i32 %50 = call i64 @malloc(i32 noundef %49) %51 = inttoptr i64 %50 to ptr store ptr %51, ptr %25, align 8 %52 = load i32, ptr %12, align 4 %53 = sext i32 %52 to i64 %54 = mul i64 %53, 8 %55 = trunc i64 %54 to i32 %56 = call i64 @malloc(i32 noundef %55) %57 = inttoptr i64 %56 to ptr store ptr %57, ptr %26, align 8 %58 = load i32, ptr %12, align 4 %59 = sext i32 %58 to i64 %60 = mul i64 %59, 8 %61 = trunc i64 %60 to i32 %62 = call i64 @malloc(i32 noundef %61) %63 = inttoptr i64 %62 to ptr store ptr %63, ptr %27, align 8 %64 = load i32, ptr %12, align 4 %65 = sext i32 %64 to i64 %66 = mul i64 %65, 8 %67 = trunc i64 %66 to i32 %68 = call i64 @malloc(i32 noundef %67) %69 = inttoptr i64 %68 to ptr store ptr %69, ptr %28, align 8 %70 = load i32, ptr %12, align 4 %71 = sext i32 %70 to i64 %72 = mul i64 %71, 8 %73 = trunc i64 %72 to i32 %74 = call i64 @malloc(i32 noundef %73) %75 = inttoptr i64 %74 to ptr store ptr %75, ptr %29, align 8 %76 = load double, ptr %8, align 8 %77 = load ptr, ptr %24, align 8 %78 = getelementptr inbounds double, ptr %77, i64 0 store double %76, ptr %78, align 8 store i32 1, ptr %14, align 4 %79 = load i32, ptr %14, align 4 %80 = load i32, ptr %12, align 4 %81 = add nsw i32 %80, 1 %82 = icmp slt i32 %79, %81 br i1 %82, label %.lr.ph, label %103 .lr.ph: ; preds = %6 br label %83 83: ; preds = %.lr.ph, %96 %84 = load ptr, ptr %24, align 8 %85 = load i32, ptr %14, align 4 %86 = sub nsw i32 %85, 1 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds double, ptr %84, i64 %87 %89 = load double, ptr %88, align 8 %90 = load double, ptr %17, align 8 %91 = fadd double %89, %90 %92 = load ptr, ptr %24, align 8 %93 = load i32, ptr %14, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds double, ptr %92, i64 %94 store double %91, ptr %95, align 8 br label %96 96: ; preds = %83 %97 = load i32, ptr %14, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %14, align 4 %99 = load i32, ptr %14, align 4 %100 = load i32, ptr %12, align 4 %101 = add nsw i32 %100, 1 %102 = icmp slt i32 %99, %101 br i1 %102, label %83, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %96 br label %103 103: ; preds = %._crit_edge, %6 %104 = load double, ptr %9, align 8 %105 = load ptr, ptr %24, align 8 %106 = load i32, ptr %12, align 4 %107 = add nsw i32 %106, 1 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds double, ptr %105, i64 %108 store double %104, ptr %109, align 8 %110 = load double, ptr %9, align 8 %111 = load double, ptr %8, align 8 %112 = fsub double %110, %111 store double %112, ptr %18, align 8 %113 = load double, ptr %11, align 8 %114 = load double, ptr %10, align 8 %115 = fsub double %113, %114 store double %115, ptr %19, align 8 %116 = load double, ptr %19, align 8 %117 = load double, ptr %18, align 8 %118 = fdiv double %116, %117 store double %118, ptr %20, align 8 %119 = load double, ptr %10, align 8 %120 = load ptr, ptr %25, align 8 %121 = getelementptr inbounds double, ptr %120, i64 0 store double %119, ptr %121, align 8 store i32 1, ptr %14, align 4 %122 = load i32, ptr %14, align 4 %123 = load i32, ptr %12, align 4 %124 = add nsw i32 %123, 1 %125 = icmp slt i32 %122, %124 br i1 %125, label %.lr.ph2, label %148 .lr.ph2: ; preds = %103 br label %126 126: ; preds = %.lr.ph2, %141 %127 = load double, ptr %10, align 8 %128 = load double, ptr %20, align 8 %129 = load ptr, ptr %24, align 8 %130 = load i32, ptr %14, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds double, ptr %129, i64 %131 %133 = load double, ptr %132, align 8 %134 = load double, ptr %8, align 8 %135 = fsub double %133, %134 %136 = call double @llvm.fmuladd.f64(double %128, double %135, double %127) %137 = load ptr, ptr %25, align 8 %138 = load i32, ptr %14, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds double, ptr %137, i64 %139 store double %136, ptr %140, align 8 br label %141 141: ; preds = %126 %142 = load i32, ptr %14, align 4 %143 = add nsw i32 %142, 1 store i32 %143, ptr %14, align 4 %144 = load i32, ptr %14, align 4 %145 = load i32, ptr %12, align 4 %146 = add nsw i32 %145, 1 %147 = icmp slt i32 %144, %146 br i1 %147, label %126, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %141 br label %148 148: ; preds = %._crit_edge3, %103 %149 = load double, ptr %11, align 8 %150 = load ptr, ptr %25, align 8 %151 = load i32, ptr %12, align 4 %152 = add nsw i32 %151, 1 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds double, ptr %150, i64 %153 store double %149, ptr %154, align 8 store i32 0, ptr %16, align 4 br label %155 155: ; preds = %334, %148 store i32 0, ptr %14, align 4 %156 = load i32, ptr %14, align 4 %157 = load i32, ptr %12, align 4 %158 = icmp slt i32 %156, %157 br i1 %158, label %.lr.ph5, label %285 .lr.ph5: ; preds = %155 br label %159 159: ; preds = %.lr.ph5, %279 %160 = load i32, ptr %14, align 4 %161 = add nsw i32 %160, 1 store i32 %161, ptr %15, align 4 %162 = load ptr, ptr %25, align 8 %163 = load i32, ptr %15, align 4 %164 = add nsw i32 %163, 1 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds double, ptr %162, i64 %165 %167 = load double, ptr %166, align 8 %168 = load ptr, ptr %25, align 8 %169 = load i32, ptr %15, align 4 %170 = sub nsw i32 %169, 1 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds double, ptr %168, i64 %171 %173 = load double, ptr %172, align 8 %174 = fsub double %167, %173 %175 = load double, ptr %17, align 8 %176 = fmul double 2.000000e+00, %175 %177 = fdiv double %174, %176 store double %177, ptr %21, align 8 %178 = load double, ptr %17, align 8 %179 = fdiv double %178, 2.000000e+00 %180 = load ptr, ptr %24, align 8 %181 = load i32, ptr %15, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds double, ptr %180, i64 %182 %184 = load double, ptr %183, align 8 %185 = load ptr, ptr %25, align 8 %186 = load i32, ptr %15, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds double, ptr %185, i64 %187 %189 = load double, ptr %188, align 8 %190 = load double, ptr %21, align 8 %191 = call double @d3f(double noundef %184, double noundef %189, double noundef %190) %192 = fneg double %179 %193 = call double @llvm.fmuladd.f64(double %192, double %191, double -1.000000e+00) %194 = load ptr, ptr %27, align 8 %195 = load i32, ptr %14, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds double, ptr %194, i64 %196 store double %193, ptr %197, align 8 %198 = load double, ptr %17, align 8 %199 = load double, ptr %17, align 8 %200 = fmul double %198, %199 %201 = load ptr, ptr %24, align 8 %202 = load i32, ptr %15, align 4 %203 = sext i32 %202 to i64 %204 = getelementptr inbounds double, ptr %201, i64 %203 %205 = load double, ptr %204, align 8 %206 = load ptr, ptr %25, align 8 %207 = load i32, ptr %15, align 4 %208 = sext i32 %207 to i64 %209 = getelementptr inbounds double, ptr %206, i64 %208 %210 = load double, ptr %209, align 8 %211 = load double, ptr %21, align 8 %212 = call double @d2f(double noundef %205, double noundef %210, double noundef %211) %213 = call double @llvm.fmuladd.f64(double %200, double %212, double 2.000000e+00) %214 = load ptr, ptr %28, align 8 %215 = load i32, ptr %14, align 4 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds double, ptr %214, i64 %216 store double %213, ptr %217, align 8 %218 = load double, ptr %17, align 8 %219 = fdiv double %218, 2.000000e+00 %220 = load ptr, ptr %24, align 8 %221 = load i32, ptr %15, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds double, ptr %220, i64 %222 %224 = load double, ptr %223, align 8 %225 = load ptr, ptr %25, align 8 %226 = load i32, ptr %15, align 4 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds double, ptr %225, i64 %227 %229 = load double, ptr %228, align 8 %230 = load double, ptr %21, align 8 %231 = call double @d3f(double noundef %224, double noundef %229, double noundef %230) %232 = call double @llvm.fmuladd.f64(double %219, double %231, double -1.000000e+00) %233 = load ptr, ptr %29, align 8 %234 = load i32, ptr %14, align 4 %235 = sext i32 %234 to i64 %236 = getelementptr inbounds double, ptr %233, i64 %235 store double %232, ptr %236, align 8 %237 = load ptr, ptr %25, align 8 %238 = load i32, ptr %15, align 4 %239 = sub nsw i32 %238, 1 %240 = sext i32 %239 to i64 %241 = getelementptr inbounds double, ptr %237, i64 %240 %242 = load double, ptr %241, align 8 %243 = load ptr, ptr %25, align 8 %244 = load i32, ptr %15, align 4 %245 = sext i32 %244 to i64 %246 = getelementptr inbounds double, ptr %243, i64 %245 %247 = load double, ptr %246, align 8 %248 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %247, double %242) %249 = load ptr, ptr %25, align 8 %250 = load i32, ptr %15, align 4 %251 = add nsw i32 %250, 1 %252 = sext i32 %251 to i64 %253 = getelementptr inbounds double, ptr %249, i64 %252 %254 = load double, ptr %253, align 8 %255 = fadd double %248, %254 %256 = load double, ptr %17, align 8 %257 = load double, ptr %17, align 8 %258 = fmul double %256, %257 %259 = load ptr, ptr %24, align 8 %260 = load i32, ptr %14, align 4 %261 = add nsw i32 %260, 1 %262 = sext i32 %261 to i64 %263 = getelementptr inbounds double, ptr %259, i64 %262 %264 = load double, ptr %263, align 8 %265 = load ptr, ptr %25, align 8 %266 = load i32, ptr %14, align 4 %267 = add nsw i32 %266, 1 %268 = sext i32 %267 to i64 %269 = getelementptr inbounds double, ptr %265, i64 %268 %270 = load double, ptr %269, align 8 %271 = load double, ptr %21, align 8 %272 = call double @f(double noundef %264, double noundef %270, double noundef %271) %273 = fneg double %258 %274 = call double @llvm.fmuladd.f64(double %273, double %272, double %255) %275 = load ptr, ptr %26, align 8 %276 = load i32, ptr %14, align 4 %277 = sext i32 %276 to i64 %278 = getelementptr inbounds double, ptr %275, i64 %277 store double %274, ptr %278, align 8 br label %279 279: ; preds = %159 %280 = load i32, ptr %14, align 4 %281 = add nsw i32 %280, 1 store i32 %281, ptr %14, align 4 %282 = load i32, ptr %14, align 4 %283 = load i32, ptr %12, align 4 %284 = icmp slt i32 %282, %283 br i1 %284, label %159, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %279 br label %285 285: ; preds = %._crit_edge6, %155 %286 = load i32, ptr %12, align 4 %287 = load ptr, ptr %27, align 8 %288 = load ptr, ptr %28, align 8 %289 = load ptr, ptr %29, align 8 %290 = load ptr, ptr %26, align 8 %291 = load double, ptr %13, align 8 %292 = call i64 @d3(i32 noundef %286, ptr noundef %287, ptr noundef %288, ptr noundef %289, ptr noundef %290, double noundef %291) %293 = icmp ne i64 %292, 0 br i1 %293, label %294, label %295 294: ; preds = %285 store i32 1, ptr %7, align 4 br label %362 295: ; preds = %285 %296 = load i32, ptr %12, align 4 %297 = load ptr, ptr %26, align 8 %298 = call double @normainf(i32 noundef %296, ptr noundef %297) store double %298, ptr %23, align 8 %299 = load i32, ptr %16, align 4 %300 = add nsw i32 %299, 1 %301 = load double, ptr %23, align 8 %302 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %300, double noundef %301) store i32 0, ptr %14, align 4 %303 = load i32, ptr %14, align 4 %304 = load i32, ptr %12, align 4 %305 = icmp slt i32 %303, %304 br i1 %305, label %.lr.ph8, label %324 .lr.ph8: ; preds = %295 br label %306 306: ; preds = %.lr.ph8, %318 %307 = load ptr, ptr %26, align 8 %308 = load i32, ptr %14, align 4 %309 = sext i32 %308 to i64 %310 = getelementptr inbounds double, ptr %307, i64 %309 %311 = load double, ptr %310, align 8 %312 = load ptr, ptr %25, align 8 %313 = load i32, ptr %14, align 4 %314 = sext i32 %313 to i64 %315 = getelementptr inbounds double, ptr %312, i64 %314 %316 = load double, ptr %315, align 8 %317 = fadd double %316, %311 store double %317, ptr %315, align 8 br label %318 318: ; preds = %306 %319 = load i32, ptr %14, align 4 %320 = add nsw i32 %319, 1 store i32 %320, ptr %14, align 4 %321 = load i32, ptr %14, align 4 %322 = load i32, ptr %12, align 4 %323 = icmp slt i32 %321, %322 br i1 %323, label %306, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %318 br label %324 324: ; preds = %._crit_edge9, %295 %325 = load i32, ptr %16, align 4 %326 = add nsw i32 %325, 1 store i32 %326, ptr %16, align 4 br label %327 327: ; preds = %324 %328 = load i32, ptr %16, align 4 %329 = icmp slt i32 %328, 10 br i1 %329, label %330, label %334 330: ; preds = %327 %331 = load double, ptr %23, align 8 %332 = load double, ptr %13, align 8 %333 = fcmp ogt double %331, %332 br label %334 334: ; preds = %330, %327 %335 = phi i1 [ false, %327 ], [ %333, %330 ] br i1 %335, label %155, label %336, !llvm.loop !11 336: ; preds = %334 %337 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %14, align 4 %338 = load i32, ptr %14, align 4 %339 = load i32, ptr %12, align 4 %340 = add nsw i32 %339, 2 %341 = icmp slt i32 %338, %340 br i1 %341, label %.lr.ph11, label %361 .lr.ph11: ; preds = %336 br label %342 342: ; preds = %.lr.ph11, %354 %343 = load ptr, ptr %24, align 8 %344 = load i32, ptr %14, align 4 %345 = sext i32 %344 to i64 %346 = getelementptr inbounds double, ptr %343, i64 %345 %347 = load double, ptr %346, align 8 %348 = load ptr, ptr %25, align 8 %349 = load i32, ptr %14, align 4 %350 = sext i32 %349 to i64 %351 = getelementptr inbounds double, ptr %348, i64 %350 %352 = load double, ptr %351, align 8 %353 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %347, double noundef %352) br label %354 354: ; preds = %342 %355 = load i32, ptr %14, align 4 %356 = add nsw i32 %355, 1 store i32 %356, ptr %14, align 4 %357 = load i32, ptr %14, align 4 %358 = load i32, ptr %12, align 4 %359 = add nsw i32 %358, 2 %360 = icmp slt i32 %357, %359 br i1 %360, label %342, label %._crit_edge12, !llvm.loop !12 ._crit_edge12: ; preds = %354 br label %361 361: ; preds = %._crit_edge12, %336 store i32 0, ptr %7, align 4 br label %362 362: ; preds = %361, %294 %363 = load i32, ptr %7, align 4 ret i32 %363 } declare i64 @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @d3f(double noundef, double noundef, double noundef) #1 declare double @d2f(double noundef, double noundef, double noundef) #1 declare double @f(double noundef, double noundef, double noundef) #1 declare i64 @d3(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef) #1 declare double @normainf(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpxjkn3zno.c' source_filename = "/tmp/tmpxjkn3zno.c" target datalayout = "e-m:e-p270: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/tmpxjkn3zno.c" target datalayout = "e-m:e-p270: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/tmpkmp861oo.c' source_filename = "/tmp/tmpkmp861oo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__darwin_waddch(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @waddch(ptr noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @waddch(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/tmpkmp861oo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__darwin_waddch(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @waddch(ptr noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @waddch(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/tmpsv4xwj7l.c' source_filename = "/tmp/tmpsv4xwj7l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Fnv1a_create_string(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 store i64 9, ptr %3, align 8 %5 = call ptr @malloc(i64 noundef 9) store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null %8 = zext i1 %7 to i32 %9 = call i32 @assert(i32 noundef %8) %10 = load ptr, ptr %4, align 8 %11 = load i64, ptr %2, align 8 %12 = trunc i64 %11 to i32 %13 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, i32 noundef %12) %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 8 store i8 0, ptr %15, align 1 %16 = load ptr, ptr %4, align 8 ret ptr %16 } declare ptr @malloc(i64 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsv4xwj7l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Fnv1a_create_string(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 store i64 9, ptr %3, align 8 %5 = call ptr @malloc(i64 noundef 9) store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null %8 = zext i1 %7 to i32 %9 = call i32 @assert(i32 noundef %8) %10 = load ptr, ptr %4, align 8 %11 = load i64, ptr %2, align 8 %12 = trunc i64 %11 to i32 %13 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, i32 noundef %12) %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 8 store i8 0, ptr %15, align 1 %16 = load ptr, ptr %4, align 8 ret ptr %16 } declare ptr @malloc(i64 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9m2jv2p6.c' source_filename = "/tmp/tmp9m2jv2p6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__NR_pivot_root = 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/tmp9m2jv2p6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__NR_pivot_root = 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/tmp6whm_liq.c' source_filename = "/tmp/tmp6whm_liq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"|\00", align 1 @__const.countNumberOfChamps_test.stack1 = private unnamed_addr constant [38 x i8] c" alice | poisson | yourt | \00", align 16 @__const.countNumberOfChamps_test.stack2 = private unnamed_addr constant [37 x i8] c" alice | poisson | yourt |\00", align 16 @__const.countNumberOfChamps_test.stack3 = private unnamed_addr constant [36 x i8] c" alice | poisson | yourt \00", align 16 @.str.1 = private unnamed_addr constant [11 x i8] c"\09Test %d [\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"] Failed !\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"] OK !\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @countNumberOfChamps_test() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca [38 x i8], align 16 %6 = alloca [37 x i8], align 16 %7 = alloca [36 x i8], align 16 %8 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.countNumberOfChamps_test.stack1, i64 38, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.countNumberOfChamps_test.stack2, i64 37, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.countNumberOfChamps_test.stack3, i64 36, i1 false) store ptr null, ptr %8, align 8 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 1) %10 = getelementptr inbounds [38 x i8], ptr %5, i64 0, i64 0 %11 = call i32 @copierCharE(ptr noundef %10, ptr noundef %8) %12 = load ptr, ptr %8, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i32 @countNumberOfChamps(ptr noundef %12, ptr noundef %13, ptr noundef %3) store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp ne i32 %15, 3 br i1 %16, label %17, label %19 17: ; preds = %0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %21 19: ; preds = %0 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %21 21: ; preds = %19, %17 %22 = call i32 @libererSimple(ptr noundef %8) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 2) %24 = getelementptr inbounds [37 x i8], ptr %6, i64 0, i64 0 %25 = call i32 @copierCharE(ptr noundef %24, ptr noundef %8) %26 = load ptr, ptr %8, align 8 %27 = load ptr, ptr %4, align 8 %28 = call i32 @countNumberOfChamps(ptr noundef %26, ptr noundef %27, ptr noundef %3) store i32 %28, ptr %2, align 4 %29 = load i32, ptr %2, align 4 %30 = icmp ne i32 %29, 3 br i1 %30, label %31, label %33 31: ; preds = %21 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %35 33: ; preds = %21 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %35 35: ; preds = %33, %31 %36 = call i32 @libererSimple(ptr noundef %8) %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 3) %38 = getelementptr inbounds [36 x i8], ptr %7, i64 0, i64 0 %39 = call i32 @copierCharE(ptr noundef %38, ptr noundef %8) %40 = load ptr, ptr %8, align 8 %41 = load ptr, ptr %4, align 8 %42 = call i32 @countNumberOfChamps(ptr noundef %40, ptr noundef %41, ptr noundef %3) store i32 %42, ptr %2, align 4 %43 = load i32, ptr %2, align 4 %44 = icmp ne i32 %43, 3 br i1 %44, label %45, label %47 45: ; preds = %35 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %49 47: ; preds = %35 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %49 49: ; preds = %47, %45 %50 = call i32 @libererSimple(ptr noundef %8) %51 = load i32, ptr %1, align 4 ret i32 %51 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @copierCharE(ptr noundef, ptr noundef) #2 declare i32 @countNumberOfChamps(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @libererSimple(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6whm_liq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"|\00", align 1 @__const.countNumberOfChamps_test.stack1 = private unnamed_addr constant [38 x i8] c" alice | poisson | yourt | \00", align 16 @__const.countNumberOfChamps_test.stack2 = private unnamed_addr constant [37 x i8] c" alice | poisson | yourt |\00", align 16 @__const.countNumberOfChamps_test.stack3 = private unnamed_addr constant [36 x i8] c" alice | poisson | yourt \00", align 16 @.str.1 = private unnamed_addr constant [11 x i8] c"\09Test %d [\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"] Failed !\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"] OK !\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @countNumberOfChamps_test() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca [38 x i8], align 16 %6 = alloca [37 x i8], align 16 %7 = alloca [36 x i8], align 16 %8 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.countNumberOfChamps_test.stack1, i64 38, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.countNumberOfChamps_test.stack2, i64 37, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.countNumberOfChamps_test.stack3, i64 36, i1 false) store ptr null, ptr %8, align 8 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 1) %10 = getelementptr inbounds [38 x i8], ptr %5, i64 0, i64 0 %11 = call i32 @copierCharE(ptr noundef %10, ptr noundef %8) %12 = load ptr, ptr %8, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i32 @countNumberOfChamps(ptr noundef %12, ptr noundef %13, ptr noundef %3) store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp ne i32 %15, 3 br i1 %16, label %17, label %19 17: ; preds = %0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %21 19: ; preds = %0 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %21 21: ; preds = %19, %17 %22 = call i32 @libererSimple(ptr noundef %8) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 2) %24 = getelementptr inbounds [37 x i8], ptr %6, i64 0, i64 0 %25 = call i32 @copierCharE(ptr noundef %24, ptr noundef %8) %26 = load ptr, ptr %8, align 8 %27 = load ptr, ptr %4, align 8 %28 = call i32 @countNumberOfChamps(ptr noundef %26, ptr noundef %27, ptr noundef %3) store i32 %28, ptr %2, align 4 %29 = load i32, ptr %2, align 4 %30 = icmp ne i32 %29, 3 br i1 %30, label %31, label %33 31: ; preds = %21 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %35 33: ; preds = %21 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %35 35: ; preds = %33, %31 %36 = call i32 @libererSimple(ptr noundef %8) %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 3) %38 = getelementptr inbounds [36 x i8], ptr %7, i64 0, i64 0 %39 = call i32 @copierCharE(ptr noundef %38, ptr noundef %8) %40 = load ptr, ptr %8, align 8 %41 = load ptr, ptr %4, align 8 %42 = call i32 @countNumberOfChamps(ptr noundef %40, ptr noundef %41, ptr noundef %3) store i32 %42, ptr %2, align 4 %43 = load i32, ptr %2, align 4 %44 = icmp ne i32 %43, 3 br i1 %44, label %45, label %47 45: ; preds = %35 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %49 47: ; preds = %35 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %49 49: ; preds = %47, %45 %50 = call i32 @libererSimple(ptr noundef %8) %51 = load i32, ptr %1, align 4 ret i32 %51 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @copierCharE(ptr noundef, ptr noundef) #2 declare i32 @countNumberOfChamps(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @libererSimple(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkicyltfq.c' source_filename = "/tmp/tmpkicyltfq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"glyph\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getglyphnumber(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 br label %4 4: ; preds = %16, %1 %5 = load ptr, ptr %3, align 8 %6 = load i8, ptr %5, align 1 %7 = call i64 @isspace(i8 noundef signext %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %4 %10 = load ptr, ptr %3, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br label %14 14: ; preds = %9, %4 %15 = phi i1 [ false, %4 ], [ %13, %9 ] br i1 %15, label %16, label %19 16: ; preds = %14 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %3, align 8 br label %4, !llvm.loop !6 19: ; preds = %14 %20 = load ptr, ptr %3, align 8 %21 = call i64 @strncasecmp(ptr noundef %20, ptr noundef @.str, i32 noundef 5) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %19 store i32 -1, ptr %2, align 4 br label %60 24: ; preds = %19 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 5 store ptr %26, ptr %3, align 8 br label %27 27: ; preds = %39, %24 %28 = load ptr, ptr %3, align 8 %29 = load i8, ptr %28, align 1 %30 = call i64 @isspace(i8 noundef signext %29) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %37 32: ; preds = %27 %33 = load ptr, ptr %3, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 0 br label %37 37: ; preds = %32, %27 %38 = phi i1 [ false, %27 ], [ %36, %32 ] br i1 %38, label %39, label %42 39: ; preds = %37 %40 = load ptr, ptr %3, align 8 %41 = getelementptr inbounds i8, ptr %40, i32 1 store ptr %41, ptr %3, align 8 br label %27, !llvm.loop !8 42: ; preds = %37 %43 = load ptr, ptr %3, align 8 %44 = load i8, ptr %43, align 1 %45 = icmp ne i8 %44, 0 br i1 %45, label %47, label %46 46: ; preds = %42 store i32 -1, ptr %2, align 4 br label %60 47: ; preds = %42 %48 = load ptr, ptr %3, align 8 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 39 br i1 %51, label %52, label %57 52: ; preds = %47 %53 = load ptr, ptr %3, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 1 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 store i32 %56, ptr %2, align 4 br label %60 57: ; preds = %47 %58 = load ptr, ptr %3, align 8 %59 = call i32 @atoi(ptr noundef %58) store i32 %59, ptr %2, align 4 br label %60 60: ; preds = %57, %52, %46, %23 %61 = load i32, ptr %2, align 4 ret i32 %61 } declare i64 @isspace(i8 noundef signext) #1 declare i64 @strncasecmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @atoi(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/tmpkicyltfq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"glyph\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getglyphnumber(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 br label %4 4: ; preds = %16, %1 %5 = load ptr, ptr %3, align 8 %6 = load i8, ptr %5, align 1 %7 = call i64 @isspace(i8 noundef signext %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %4 %10 = load ptr, ptr %3, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br label %14 14: ; preds = %9, %4 %15 = phi i1 [ false, %4 ], [ %13, %9 ] br i1 %15, label %16, label %19 16: ; preds = %14 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %3, align 8 br label %4, !llvm.loop !6 19: ; preds = %14 %20 = load ptr, ptr %3, align 8 %21 = call i64 @strncasecmp(ptr noundef %20, ptr noundef @.str, i32 noundef 5) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %19 store i32 -1, ptr %2, align 4 br label %60 24: ; preds = %19 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 5 store ptr %26, ptr %3, align 8 br label %27 27: ; preds = %39, %24 %28 = load ptr, ptr %3, align 8 %29 = load i8, ptr %28, align 1 %30 = call i64 @isspace(i8 noundef signext %29) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %37 32: ; preds = %27 %33 = load ptr, ptr %3, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 0 br label %37 37: ; preds = %32, %27 %38 = phi i1 [ false, %27 ], [ %36, %32 ] br i1 %38, label %39, label %42 39: ; preds = %37 %40 = load ptr, ptr %3, align 8 %41 = getelementptr inbounds i8, ptr %40, i32 1 store ptr %41, ptr %3, align 8 br label %27, !llvm.loop !8 42: ; preds = %37 %43 = load ptr, ptr %3, align 8 %44 = load i8, ptr %43, align 1 %45 = icmp ne i8 %44, 0 br i1 %45, label %47, label %46 46: ; preds = %42 store i32 -1, ptr %2, align 4 br label %60 47: ; preds = %42 %48 = load ptr, ptr %3, align 8 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 39 br i1 %51, label %52, label %57 52: ; preds = %47 %53 = load ptr, ptr %3, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 1 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 store i32 %56, ptr %2, align 4 br label %60 57: ; preds = %47 %58 = load ptr, ptr %3, align 8 %59 = call i32 @atoi(ptr noundef %58) store i32 %59, ptr %2, align 4 br label %60 60: ; preds = %57, %52, %46, %23 %61 = load i32, ptr %2, align 4 ret i32 %61 } declare i64 @isspace(i8 noundef signext) #1 declare i64 @strncasecmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @atoi(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/tmp86scrugv.c' source_filename = "/tmp/tmp86scrugv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"Usage: falloc <file> <size>\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"%s is not a valid size.\0A\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [23 x i8] c"Could not open %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @FALLOC_FL_KEEP_SIZE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [35 x i8] c"Could not fallocate %lu bytes: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"Could not close file: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 3 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %14, ptr %3, align 4 br label %73 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 2 %18 = load ptr, ptr %17, align 8 %19 = call i32 @strtoll(ptr noundef %18, ptr noundef %6, i32 noundef 10) store i32 %19, ptr %7, align 4 %20 = load ptr, ptr %6, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %15 %25 = load i32, ptr %7, align 4 %26 = icmp sle i32 %25, 0 br i1 %26, label %27, label %33 27: ; preds = %24, %15 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %30) %32 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %32, ptr %3, align 4 br label %73 33: ; preds = %24 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8 %37 = load i32, ptr @O_WRONLY, align 4 %38 = call i32 @open(ptr noundef %36, i32 noundef %37) store i32 %38, ptr %8, align 4 %39 = load i32, ptr %8, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %49 41: ; preds = %33 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 1 %44 = load ptr, ptr %43, align 8 %45 = load i32, ptr @errno, align 4 %46 = call ptr @strerror(i32 noundef %45) %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %44, ptr noundef %46) %48 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %48, ptr %3, align 4 br label %73 49: ; preds = %33 %50 = load i32, ptr %8, align 4 %51 = load i32, ptr @FALLOC_FL_KEEP_SIZE, align 4 %52 = load i32, ptr %7, align 4 %53 = call i32 @fallocate(i32 noundef %50, i32 noundef %51, i32 noundef 0, i32 noundef %52) store i32 %53, ptr %9, align 4 %54 = load i32, ptr %9, align 4 %55 = icmp slt i32 %54, 0 br i1 %55, label %56, label %62 56: ; preds = %49 %57 = load i32, ptr %7, align 4 %58 = load i32, ptr @errno, align 4 %59 = call ptr @strerror(i32 noundef %58) %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %57, ptr noundef %59) %61 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %61, ptr %3, align 4 br label %73 62: ; preds = %49 %63 = load i32, ptr %8, align 4 %64 = call i32 @close(i32 noundef %63) store i32 %64, ptr %9, align 4 %65 = load i32, ptr %9, align 4 %66 = icmp slt i32 %65, 0 br i1 %66, label %67, label %72 67: ; preds = %62 %68 = load i32, ptr @errno, align 4 %69 = call ptr @strerror(i32 noundef %68) %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %69) %71 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %71, ptr %3, align 4 br label %73 72: ; preds = %62 store i32 0, ptr %3, align 4 br label %73 73: ; preds = %72, %67, %56, %41, %27, %12 %74 = load i32, ptr %3, align 4 ret i32 %74 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @strtoll(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @fallocate(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp86scrugv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"Usage: falloc <file> <size>\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"%s is not a valid size.\0A\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [23 x i8] c"Could not open %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @FALLOC_FL_KEEP_SIZE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [35 x i8] c"Could not fallocate %lu bytes: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"Could not close file: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 3 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %14, ptr %3, align 4 br label %73 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 2 %18 = load ptr, ptr %17, align 8 %19 = call i32 @strtoll(ptr noundef %18, ptr noundef %6, i32 noundef 10) store i32 %19, ptr %7, align 4 %20 = load ptr, ptr %6, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %15 %25 = load i32, ptr %7, align 4 %26 = icmp sle i32 %25, 0 br i1 %26, label %27, label %33 27: ; preds = %24, %15 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %30) %32 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %32, ptr %3, align 4 br label %73 33: ; preds = %24 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8 %37 = load i32, ptr @O_WRONLY, align 4 %38 = call i32 @open(ptr noundef %36, i32 noundef %37) store i32 %38, ptr %8, align 4 %39 = load i32, ptr %8, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %49 41: ; preds = %33 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 1 %44 = load ptr, ptr %43, align 8 %45 = load i32, ptr @errno, align 4 %46 = call ptr @strerror(i32 noundef %45) %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %44, ptr noundef %46) %48 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %48, ptr %3, align 4 br label %73 49: ; preds = %33 %50 = load i32, ptr %8, align 4 %51 = load i32, ptr @FALLOC_FL_KEEP_SIZE, align 4 %52 = load i32, ptr %7, align 4 %53 = call i32 @fallocate(i32 noundef %50, i32 noundef %51, i32 noundef 0, i32 noundef %52) store i32 %53, ptr %9, align 4 %54 = load i32, ptr %9, align 4 %55 = icmp slt i32 %54, 0 br i1 %55, label %56, label %62 56: ; preds = %49 %57 = load i32, ptr %7, align 4 %58 = load i32, ptr @errno, align 4 %59 = call ptr @strerror(i32 noundef %58) %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %57, ptr noundef %59) %61 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %61, ptr %3, align 4 br label %73 62: ; preds = %49 %63 = load i32, ptr %8, align 4 %64 = call i32 @close(i32 noundef %63) store i32 %64, ptr %9, align 4 %65 = load i32, ptr %9, align 4 %66 = icmp slt i32 %65, 0 br i1 %66, label %67, label %72 67: ; preds = %62 %68 = load i32, ptr @errno, align 4 %69 = call ptr @strerror(i32 noundef %68) %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %69) %71 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %71, ptr %3, align 4 br label %73 72: ; preds = %62 store i32 0, ptr %3, align 4 br label %73 73: ; preds = %72, %67, %56, %41, %27, %12 %74 = load i32, ptr %3, align 4 ret i32 %74 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @strtoll(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @fallocate(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4sqp5h0b.c' source_filename = "/tmp/tmp4sqp5h0b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 1, ptr %5, align 8 br label %7 7: ; preds = %74, %2 %8 = load i64, ptr %5, align 8 %9 = load i64, ptr %4, align 8 %10 = icmp ult i64 %8, %9 br i1 %10, label %11, label %77 11: ; preds = %7 store i64 0, ptr %6, align 8 br label %12 12: ; preds = %33, %11 %13 = load i64, ptr %6, align 8 %14 = load i64, ptr %4, align 8 %15 = load i64, ptr %4, align 8 %16 = load i64, ptr %5, align 8 %17 = mul i64 2, %16 %18 = urem i64 %15, %17 %19 = sub i64 %14, %18 %20 = icmp ult i64 %13, %19 br i1 %20, label %21, label %38 21: ; preds = %12 %22 = load ptr, ptr %3, align 8 %23 = load i64, ptr %6, align 8 %24 = getelementptr inbounds i64, ptr %22, i64 %23 %25 = load ptr, ptr %3, align 8 %26 = load i64, ptr %6, align 8 %27 = getelementptr inbounds i64, ptr %25, i64 %26 %28 = load i64, ptr %5, align 8 %29 = getelementptr inbounds i64, ptr %27, i64 %28 %30 = load i64, ptr %5, align 8 %31 = load i64, ptr %5, align 8 %32 = call i32 @mergeArrays(ptr noundef %24, ptr noundef %29, i64 noundef %30, i64 noundef %31) br label %33 33: ; preds = %21 %34 = load i64, ptr %5, align 8 %35 = mul i64 2, %34 %36 = load i64, ptr %6, align 8 %37 = add i64 %36, %35 store i64 %37, ptr %6, align 8 br label %12, !llvm.loop !6 38: ; preds = %12 %39 = load i64, ptr %4, align 8 %40 = load i64, ptr %5, align 8 %41 = mul i64 2, %40 %42 = urem i64 %39, %41 %43 = load i64, ptr %5, align 8 %44 = icmp ugt i64 %42, %43 br i1 %44, label %45, label %59 45: ; preds = %38 %46 = load ptr, ptr %3, align 8 %47 = load i64, ptr %6, align 8 %48 = getelementptr inbounds i64, ptr %46, i64 %47 %49 = load ptr, ptr %3, align 8 %50 = load i64, ptr %6, align 8 %51 = getelementptr inbounds i64, ptr %49, i64 %50 %52 = load i64, ptr %5, align 8 %53 = getelementptr inbounds i64, ptr %51, i64 %52 %54 = load i64, ptr %5, align 8 %55 = load i64, ptr %4, align 8 %56 = load i64, ptr %5, align 8 %57 = urem i64 %55, %56 %58 = call i32 @mergeArrays(ptr noundef %48, ptr noundef %53, i64 noundef %54, i64 noundef %57) br label %73 59: ; preds = %38 %60 = load i64, ptr %4, align 8 %61 = load i64, ptr %5, align 8 %62 = mul i64 2, %61 %63 = urem i64 %60, %62 %64 = load i64, ptr %5, align 8 %65 = icmp eq i64 %63, %64 br i1 %65, label %66, label %72 66: ; preds = %59 %67 = load ptr, ptr %3, align 8 %68 = load i64, ptr %6, align 8 %69 = getelementptr inbounds i64, ptr %67, i64 %68 %70 = load i64, ptr %5, align 8 %71 = call i32 @mergeArrays(ptr noundef %69, ptr noundef null, i64 noundef %70, i64 noundef 0) br label %72 72: ; preds = %66, %59 br label %73 73: ; preds = %72, %45 br label %74 74: ; preds = %73 %75 = load i64, ptr %5, align 8 %76 = mul i64 %75, 2 store i64 %76, ptr %5, align 8 br label %7, !llvm.loop !8 77: ; preds = %7 ret void } declare i32 @mergeArrays(ptr noundef, ptr noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4sqp5h0b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 1, ptr %5, align 8 %7 = load i64, ptr %5, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp ult i64 %7, %8 br i1 %9, label %.lr.ph2, label %86 .lr.ph2: ; preds = %2 br label %10 10: ; preds = %.lr.ph2, %80 store i64 0, ptr %6, align 8 %11 = load i64, ptr %6, align 8 %12 = load i64, ptr %4, align 8 %13 = load i64, ptr %4, align 8 %14 = load i64, ptr %5, align 8 %15 = mul i64 2, %14 %16 = urem i64 %13, %15 %17 = sub i64 %12, %16 %18 = icmp ult i64 %11, %17 br i1 %18, label %.lr.ph, label %44 .lr.ph: ; preds = %10 br label %19 19: ; preds = %.lr.ph, %31 %20 = load ptr, ptr %3, align 8 %21 = load i64, ptr %6, align 8 %22 = getelementptr inbounds i64, ptr %20, i64 %21 %23 = load ptr, ptr %3, align 8 %24 = load i64, ptr %6, align 8 %25 = getelementptr inbounds i64, ptr %23, i64 %24 %26 = load i64, ptr %5, align 8 %27 = getelementptr inbounds i64, ptr %25, i64 %26 %28 = load i64, ptr %5, align 8 %29 = load i64, ptr %5, align 8 %30 = call i32 @mergeArrays(ptr noundef %22, ptr noundef %27, i64 noundef %28, i64 noundef %29) br label %31 31: ; preds = %19 %32 = load i64, ptr %5, align 8 %33 = mul i64 2, %32 %34 = load i64, ptr %6, align 8 %35 = add i64 %34, %33 store i64 %35, ptr %6, align 8 %36 = load i64, ptr %6, align 8 %37 = load i64, ptr %4, align 8 %38 = load i64, ptr %4, align 8 %39 = load i64, ptr %5, align 8 %40 = mul i64 2, %39 %41 = urem i64 %38, %40 %42 = sub i64 %37, %41 %43 = icmp ult i64 %36, %42 br i1 %43, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %44 44: ; preds = %._crit_edge, %10 %45 = load i64, ptr %4, align 8 %46 = load i64, ptr %5, align 8 %47 = mul i64 2, %46 %48 = urem i64 %45, %47 %49 = load i64, ptr %5, align 8 %50 = icmp ugt i64 %48, %49 br i1 %50, label %51, label %65 51: ; preds = %44 %52 = load ptr, ptr %3, align 8 %53 = load i64, ptr %6, align 8 %54 = getelementptr inbounds i64, ptr %52, i64 %53 %55 = load ptr, ptr %3, align 8 %56 = load i64, ptr %6, align 8 %57 = getelementptr inbounds i64, ptr %55, i64 %56 %58 = load i64, ptr %5, align 8 %59 = getelementptr inbounds i64, ptr %57, i64 %58 %60 = load i64, ptr %5, align 8 %61 = load i64, ptr %4, align 8 %62 = load i64, ptr %5, align 8 %63 = urem i64 %61, %62 %64 = call i32 @mergeArrays(ptr noundef %54, ptr noundef %59, i64 noundef %60, i64 noundef %63) br label %79 65: ; preds = %44 %66 = load i64, ptr %4, align 8 %67 = load i64, ptr %5, align 8 %68 = mul i64 2, %67 %69 = urem i64 %66, %68 %70 = load i64, ptr %5, align 8 %71 = icmp eq i64 %69, %70 br i1 %71, label %72, label %78 72: ; preds = %65 %73 = load ptr, ptr %3, align 8 %74 = load i64, ptr %6, align 8 %75 = getelementptr inbounds i64, ptr %73, i64 %74 %76 = load i64, ptr %5, align 8 %77 = call i32 @mergeArrays(ptr noundef %75, ptr noundef null, i64 noundef %76, i64 noundef 0) br label %78 78: ; preds = %72, %65 br label %79 79: ; preds = %78, %51 br label %80 80: ; preds = %79 %81 = load i64, ptr %5, align 8 %82 = mul i64 %81, 2 store i64 %82, ptr %5, align 8 %83 = load i64, ptr %5, align 8 %84 = load i64, ptr %4, align 8 %85 = icmp ult i64 %83, %84 br i1 %85, label %10, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %80 br label %86 86: ; preds = %._crit_edge3, %2 ret void } declare i32 @mergeArrays(ptr noundef, ptr noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp6ovv50bf.c' source_filename = "/tmp/tmp6ovv50bf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @len_str(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 br label %4 4: ; preds = %12, %1 %5 = load ptr, ptr %2, align 8 %6 = load i64, ptr %3, align 8 %7 = getelementptr inbounds i8, ptr %5, i64 %6 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %15 11: ; preds = %4 br label %12 12: ; preds = %11 %13 = load i64, ptr %3, align 8 %14 = add i64 %13, 1 store i64 %14, ptr %3, align 8 br label %4, !llvm.loop !6 15: ; preds = %4 %16 = load i64, ptr %3, align 8 ret i64 %16 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp6ovv50bf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @len_str(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i64, ptr %3, align 8 %6 = getelementptr inbounds i8, ptr %4, i64 %5 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 0 br i1 %9, label %.lr.ph, label %20 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %11 br label %11 11: ; preds = %10 %12 = load i64, ptr %3, align 8 %13 = add i64 %12, 1 store i64 %13, ptr %3, align 8 %14 = load ptr, ptr %2, align 8 %15 = load i64, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %14, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 0 br i1 %19, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %20 20: ; preds = %._crit_edge, %1 %21 = load i64, ptr %3, align 8 ret i64 %21 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpzzwbeh_n.c' source_filename = "/tmp/tmpzzwbeh_n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lootr_decode_mpi(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %12 = load i32, ptr %7, align 4 %13 = sext i32 %12 to i64 %14 = icmp ult i64 %13, 4 br i1 %14, label %15, label %16 15: ; preds = %4 store i32 -2, ptr %5, align 4 br label %43 16: ; preds = %4 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %17, align 4 %19 = call i32 @be32toh(i32 noundef %18) store i32 %19, ptr %11, align 4 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = load i32, ptr %11, align 4 %23 = sext i32 %22 to i64 %24 = add i64 4, %23 %25 = icmp ult i64 %21, %24 br i1 %25, label %26, label %27 26: ; preds = %16 store i32 -2, ptr %5, align 4 br label %43 27: ; preds = %16 %28 = load ptr, ptr %6, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 4 %30 = load i32, ptr %11, align 4 %31 = load ptr, ptr %8, align 8 %32 = load ptr, ptr %31, align 8 %33 = call ptr @BN_bin2bn(ptr noundef %29, i32 noundef %30, ptr noundef %32) store ptr %33, ptr %10, align 8 %34 = load ptr, ptr %10, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %37, label %36 36: ; preds = %27 store i32 -4, ptr %5, align 4 br label %43 37: ; preds = %27 %38 = load ptr, ptr %10, align 8 %39 = load ptr, ptr %8, align 8 store ptr %38, ptr %39, align 8 %40 = load i32, ptr %11, align 4 %41 = add nsw i32 %40, 4 %42 = load ptr, ptr %9, align 8 store i32 %41, ptr %42, align 4 store i32 0, ptr %5, align 4 br label %43 43: ; preds = %37, %36, %26, %15 %44 = load i32, ptr %5, align 4 ret i32 %44 } declare i32 @be32toh(i32 noundef) #1 declare ptr @BN_bin2bn(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzzwbeh_n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lootr_decode_mpi(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %12 = load i32, ptr %7, align 4 %13 = sext i32 %12 to i64 %14 = icmp ult i64 %13, 4 br i1 %14, label %15, label %16 15: ; preds = %4 store i32 -2, ptr %5, align 4 br label %43 16: ; preds = %4 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %17, align 4 %19 = call i32 @be32toh(i32 noundef %18) store i32 %19, ptr %11, align 4 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = load i32, ptr %11, align 4 %23 = sext i32 %22 to i64 %24 = add i64 4, %23 %25 = icmp ult i64 %21, %24 br i1 %25, label %26, label %27 26: ; preds = %16 store i32 -2, ptr %5, align 4 br label %43 27: ; preds = %16 %28 = load ptr, ptr %6, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 4 %30 = load i32, ptr %11, align 4 %31 = load ptr, ptr %8, align 8 %32 = load ptr, ptr %31, align 8 %33 = call ptr @BN_bin2bn(ptr noundef %29, i32 noundef %30, ptr noundef %32) store ptr %33, ptr %10, align 8 %34 = load ptr, ptr %10, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %37, label %36 36: ; preds = %27 store i32 -4, ptr %5, align 4 br label %43 37: ; preds = %27 %38 = load ptr, ptr %10, align 8 %39 = load ptr, ptr %8, align 8 store ptr %38, ptr %39, align 8 %40 = load i32, ptr %11, align 4 %41 = add nsw i32 %40, 4 %42 = load ptr, ptr %9, align 8 store i32 %41, ptr %42, align 4 store i32 0, ptr %5, align 4 br label %43 43: ; preds = %37, %36, %26, %15 %44 = load i32, ptr %5, align 4 ret i32 %44 } declare i32 @be32toh(i32 noundef) #1 declare ptr @BN_bin2bn(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_ykwhaq7.c' source_filename = "/tmp/tmp_ykwhaq7.c" target datalayout = "e-m:e-p270: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.stat = type { i32 } @O_RDONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"%6d %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ls(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.stat, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr @O_RDONLY, align 4 %8 = call i32 @open(ptr noundef %6, i32 noundef %7) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @fstat(i32 noundef %9, ptr noundef %5) %11 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0 %12 = load i32, ptr %11, align 4 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %2, align 8 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %13, ptr noundef %14) %16 = load i32, ptr %3, align 4 %17 = call i32 @close(i32 noundef %16) ret void } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr 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/tmp_ykwhaq7.c" target datalayout = "e-m:e-p270: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.stat = type { i32 } @O_RDONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"%6d %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ls(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.stat, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr @O_RDONLY, align 4 %8 = call i32 @open(ptr noundef %6, i32 noundef %7) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @fstat(i32 noundef %9, ptr noundef %5) %11 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0 %12 = load i32, ptr %11, align 4 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %2, align 8 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %13, ptr noundef %14) %16 = load i32, ptr %3, align 4 %17 = call i32 @close(i32 noundef %16) ret void } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr 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/tmp94z92ss_.c' source_filename = "/tmp/tmp94z92ss_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"one %d two\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"one %d two %d three\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"one two three\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 1, i32 noundef 2) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp94z92ss_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"one %d two\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"one %d two %d three\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"one two three\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 1, i32 noundef 2) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcnjecxv9.c' source_filename = "/tmp/tmpcnjecxv9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getValues(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %16 = load ptr, ptr %6, align 8 store ptr %16, ptr %11, align 8 store i32 0, ptr %14, align 4 br label %17 17: ; preds = %56, %5 %18 = load ptr, ptr %11, align 8 %19 = load ptr, ptr %10, align 8 %20 = call ptr @strtok_r(ptr noundef %18, ptr noundef %19, ptr noundef %12) store ptr %20, ptr %13, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %60 22: ; preds = %17 %23 = load i32, ptr %14, align 4 %24 = load ptr, ptr %8, align 8 %25 = load i32, ptr %7, align 4 %26 = sub nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %24, i64 %27 %29 = load i32, ptr %28, align 4 %30 = icmp sgt i32 %23, %29 br i1 %30, label %31, label %32 31: ; preds = %22 br label %60 32: ; preds = %22 store i32 0, ptr %15, align 4 br label %33 33: ; preds = %53, %32 %34 = load i32, ptr %15, align 4 %35 = load i32, ptr %7, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %56 37: ; preds = %33 %38 = load i32, ptr %14, align 4 %39 = load ptr, ptr %8, align 8 %40 = load i32, ptr %15, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 %44 = icmp eq i32 %38, %43 br i1 %44, label %45, label %52 45: ; preds = %37 %46 = load ptr, ptr %11, align 8 %47 = call ptr @strdup(ptr noundef %46) %48 = load ptr, ptr %9, align 8 %49 = load i32, ptr %15, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %48, i64 %50 store ptr %47, ptr %51, align 8 br label %52 52: ; preds = %45, %37 br label %53 53: ; preds = %52 %54 = load i32, ptr %15, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %15, align 4 br label %33, !llvm.loop !6 56: ; preds = %33 %57 = load ptr, ptr %12, align 8 store ptr %57, ptr %11, align 8 %58 = load i32, ptr %14, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %14, align 4 br label %17, !llvm.loop !8 60: ; preds = %31, %17 ret void } declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strdup(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/tmpcnjecxv9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getValues(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %16 = load ptr, ptr %6, align 8 store ptr %16, ptr %11, align 8 store i32 0, ptr %14, align 4 %17 = load ptr, ptr %11, align 8 %18 = load ptr, ptr %10, align 8 %19 = call ptr @strtok_r(ptr noundef %17, ptr noundef %18, ptr noundef %12) store ptr %19, ptr %13, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %5 br label %21 21: ; preds = %.lr.ph2, %57 %22 = load i32, ptr %14, align 4 %23 = load ptr, ptr %8, align 8 %24 = load i32, ptr %7, align 4 %25 = sub nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %23, i64 %26 %28 = load i32, ptr %27, align 4 %29 = icmp sgt i32 %22, %28 br i1 %29, label %30, label %31 30: ; preds = %21 br label %65 31: ; preds = %21 store i32 0, ptr %15, align 4 %32 = load i32, ptr %15, align 4 %33 = load i32, ptr %7, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph, label %57 .lr.ph: ; preds = %31 br label %35 35: ; preds = %.lr.ph, %51 %36 = load i32, ptr %14, align 4 %37 = load ptr, ptr %8, align 8 %38 = load i32, ptr %15, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 %41 = load i32, ptr %40, align 4 %42 = icmp eq i32 %36, %41 br i1 %42, label %43, label %50 43: ; preds = %35 %44 = load ptr, ptr %11, align 8 %45 = call ptr @strdup(ptr noundef %44) %46 = load ptr, ptr %9, align 8 %47 = load i32, ptr %15, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds ptr, ptr %46, i64 %48 store ptr %45, ptr %49, align 8 br label %50 50: ; preds = %43, %35 br label %51 51: ; preds = %50 %52 = load i32, ptr %15, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %15, align 4 %54 = load i32, ptr %15, align 4 %55 = load i32, ptr %7, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %51 br label %57 57: ; preds = %._crit_edge, %31 %58 = load ptr, ptr %12, align 8 store ptr %58, ptr %11, align 8 %59 = load i32, ptr %14, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %14, align 4 %61 = load ptr, ptr %11, align 8 %62 = load ptr, ptr %10, align 8 %63 = call ptr @strtok_r(ptr noundef %61, ptr noundef %62, ptr noundef %12) store ptr %63, ptr %13, align 8 %64 = icmp ne ptr %63, null br i1 %64, label %21, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %57 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %5 br label %65 65: ; preds = %.loopexit, %30 ret void } declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strdup(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/tmpx34oqt12.c' source_filename = "/tmp/tmpx34oqt12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @assert_nonnull(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load ptr, ptr %6, align 8 %10 = call i32 @expect_nonnull(ptr noundef %7, i32 noundef %8, ptr noundef %9) %11 = load ptr, ptr %6, align 8 %12 = icmp ne ptr %11, null %13 = zext i1 %12 to i32 %14 = call i32 @abort_if_false(i32 noundef %13) ret void } declare i32 @expect_nonnull(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @abort_if_false(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/tmpx34oqt12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @assert_nonnull(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load ptr, ptr %6, align 8 %10 = call i32 @expect_nonnull(ptr noundef %7, i32 noundef %8, ptr noundef %9) %11 = load ptr, ptr %6, align 8 %12 = icmp ne ptr %11, null %13 = zext i1 %12 to i32 %14 = call i32 @abort_if_false(i32 noundef %13) ret void } declare i32 @expect_nonnull(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @abort_if_false(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/tmp2prnk20u.c' source_filename = "/tmp/tmp2prnk20u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENODEV = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @tracecmd_create_recorder_maxkb(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %11 = call ptr (...) @tracecmd_find_tracing_dir() store ptr %11, ptr %10, align 8 %12 = load ptr, ptr %10, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %16, label %14 14: ; preds = %4 %15 = load i32, ptr @ENODEV, align 4 store i32 %15, ptr @errno, align 4 store ptr null, ptr %5, align 8 br label %23 16: ; preds = %4 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %8, align 4 %20 = load ptr, ptr %10, align 8 %21 = load i32, ptr %9, align 4 %22 = call ptr @tracecmd_create_buffer_recorder_maxkb(ptr noundef %17, i32 noundef %18, i32 noundef %19, ptr noundef %20, i32 noundef %21) store ptr %22, ptr %5, align 8 br label %23 23: ; preds = %16, %14 %24 = load ptr, ptr %5, align 8 ret ptr %24 } declare ptr @tracecmd_find_tracing_dir(...) #1 declare ptr @tracecmd_create_buffer_recorder_maxkb(ptr 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/tmp2prnk20u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENODEV = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @tracecmd_create_recorder_maxkb(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %11 = call ptr (...) @tracecmd_find_tracing_dir() store ptr %11, ptr %10, align 8 %12 = load ptr, ptr %10, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %16, label %14 14: ; preds = %4 %15 = load i32, ptr @ENODEV, align 4 store i32 %15, ptr @errno, align 4 store ptr null, ptr %5, align 8 br label %23 16: ; preds = %4 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %8, align 4 %20 = load ptr, ptr %10, align 8 %21 = load i32, ptr %9, align 4 %22 = call ptr @tracecmd_create_buffer_recorder_maxkb(ptr noundef %17, i32 noundef %18, i32 noundef %19, ptr noundef %20, i32 noundef %21) store ptr %22, ptr %5, align 8 br label %23 23: ; preds = %16, %14 %24 = load ptr, ptr %5, align 8 ret ptr %24 } declare ptr @tracecmd_find_tracing_dir(...) #1 declare ptr @tracecmd_create_buffer_recorder_maxkb(ptr 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/tmpqth4yzay.c' source_filename = "/tmp/tmpqth4yzay.c" target datalayout = "e-m:e-p270: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/tmpqth4yzay.c" target datalayout = "e-m:e-p270: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/tmpu2j2yj4q.c' source_filename = "/tmp/tmpu2j2yj4q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 br label %8 8: ; preds = %12, %3 %9 = load i32, ptr %4, align 4 %10 = call i32 @read(i32 noundef %9, ptr noundef %7, i32 noundef 1) %11 = icmp ne i32 %10, -1 br i1 %11, label %12, label %13 12: ; preds = %8 br label %8, !llvm.loop !6 13: ; preds = %8 %14 = load i32, ptr %4, align 4 %15 = call i32 @close(i32 noundef %14) %16 = load i32, ptr @stderr, align 4 %17 = load i32, ptr %5, align 4 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str, i32 noundef %17) %19 = load i32, ptr @stderr, align 4 %20 = load ptr, ptr %6, align 8 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.1, ptr noundef %20) %22 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @fprintf(i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu2j2yj4q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 br label %8 8: ; preds = %8, %3 %9 = load i32, ptr %4, align 4 %10 = call i32 @read(i32 noundef %9, ptr noundef %7, i32 noundef 1) %11 = icmp ne i32 %10, -1 br i1 %11, label %8, label %12, !llvm.loop !6 12: ; preds = %8 %13 = load i32, ptr %4, align 4 %14 = call i32 @close(i32 noundef %13) %15 = load i32, ptr @stderr, align 4 %16 = load i32, ptr %5, align 4 %17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str, i32 noundef %16) %18 = load i32, ptr @stderr, align 4 %19 = load ptr, ptr %6, align 8 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.1, ptr noundef %19) %21 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @fprintf(i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkx9cfhz7.c' source_filename = "/tmp/tmpkx9cfhz7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @floppy_prepare_controller(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = call i32 @read_byte(i32 noundef 64, i32 noundef 62) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = and i32 %7, 127 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @write_byte(i32 noundef 64, i32 noundef 62, i32 noundef %9) %11 = call i32 @inp(i32 noundef 1010) %12 = and i32 %11, 4 store i32 %12, ptr %5, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %1 store i32 32, ptr %4, align 4 br label %17 16: ; preds = %1 store i32 16, ptr %4, align 4 br label %17 17: ; preds = %16, %15 %18 = load i32, ptr %4, align 4 %19 = or i32 %18, 12 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %2, align 4 %21 = load i32, ptr %4, align 4 %22 = or i32 %21, %20 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = call i32 @outp(i32 noundef 1010, i32 noundef %23) %25 = call i32 @write_byte(i32 noundef 64, i32 noundef 64, i32 noundef 37) %26 = call i32 @read_byte(i32 noundef 64, i32 noundef 139) store i32 %26, ptr %3, align 4 %27 = load i32, ptr %3, align 4 %28 = ashr i32 %27, 6 store i32 %28, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = call i32 @outp(i32 noundef 1015, i32 noundef %29) br label %31 31: ; preds = %33, %17 %32 = call i32 @inp(i32 noundef 1012) store i32 %32, ptr %3, align 4 br label %33 33: ; preds = %31 %34 = load i32, ptr %3, align 4 %35 = and i32 %34, 192 %36 = icmp ne i32 %35, 128 br i1 %36, label %31, label %37, !llvm.loop !6 37: ; preds = %33 %38 = load i32, ptr %5, align 4 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %37 %41 = call i32 (...) @floppy_wait_for_interrupt() store i32 %41, ptr %3, align 4 %42 = load i32, ptr %3, align 4 %43 = call i32 @write_byte(i32 noundef 64, i32 noundef 62, i32 noundef %42) br label %44 44: ; preds = %40, %37 ret void } declare i32 @read_byte(i32 noundef, i32 noundef) #1 declare i32 @write_byte(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @inp(i32 noundef) #1 declare i32 @outp(i32 noundef, i32 noundef) #1 declare i32 @floppy_wait_for_interrupt(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpkx9cfhz7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @floppy_prepare_controller(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = call i32 @read_byte(i32 noundef 64, i32 noundef 62) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = and i32 %7, 127 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @write_byte(i32 noundef 64, i32 noundef 62, i32 noundef %9) %11 = call i32 @inp(i32 noundef 1010) %12 = and i32 %11, 4 store i32 %12, ptr %5, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %1 store i32 32, ptr %4, align 4 br label %17 16: ; preds = %1 store i32 16, ptr %4, align 4 br label %17 17: ; preds = %16, %15 %18 = load i32, ptr %4, align 4 %19 = or i32 %18, 12 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %2, align 4 %21 = load i32, ptr %4, align 4 %22 = or i32 %21, %20 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = call i32 @outp(i32 noundef 1010, i32 noundef %23) %25 = call i32 @write_byte(i32 noundef 64, i32 noundef 64, i32 noundef 37) %26 = call i32 @read_byte(i32 noundef 64, i32 noundef 139) store i32 %26, ptr %3, align 4 %27 = load i32, ptr %3, align 4 %28 = ashr i32 %27, 6 store i32 %28, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = call i32 @outp(i32 noundef 1015, i32 noundef %29) br label %31 31: ; preds = %33, %17 %32 = call i32 @inp(i32 noundef 1012) store i32 %32, ptr %3, align 4 br label %33 33: ; preds = %31 %34 = load i32, ptr %3, align 4 %35 = and i32 %34, 192 %36 = icmp ne i32 %35, 128 br i1 %36, label %31, label %37, !llvm.loop !6 37: ; preds = %33 %38 = load i32, ptr %5, align 4 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %37 %41 = call i32 (...) @floppy_wait_for_interrupt() store i32 %41, ptr %3, align 4 %42 = load i32, ptr %3, align 4 %43 = call i32 @write_byte(i32 noundef 64, i32 noundef 62, i32 noundef %42) br label %44 44: ; preds = %40, %37 ret void } declare i32 @read_byte(i32 noundef, i32 noundef) #1 declare i32 @write_byte(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @inp(i32 noundef) #1 declare i32 @outp(i32 noundef, i32 noundef) #1 declare i32 @floppy_wait_for_interrupt(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp9lnygzyv.c' source_filename = "/tmp/tmp9lnygzyv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.Make_MGRS_String.alphabet = private unnamed_addr constant [27 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZ\00", align 16 @.str = private unnamed_addr constant [7 x i8] c"%2.2ld\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%*.*ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @Make_MGRS_String(ptr noundef %0, i64 noundef %1, ptr noundef %2, double noundef %3, double noundef %4, i64 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca double, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca [27 x i8], align 16 %19 = alloca i64, align 8 store ptr %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store double %3, ptr %10, align 8 store double %4, ptr %11, align 8 store i64 %5, ptr %12, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 @__const.Make_MGRS_String.alphabet, i64 27, i1 false) store i64 0, ptr %19, align 8 store i64 0, ptr %13, align 8 %20 = load i64, ptr %8, align 8 %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %28 22: ; preds = %6 %23 = load ptr, ptr %7, align 8 %24 = load i64, ptr %13, align 8 %25 = getelementptr inbounds i8, ptr %23, i64 %24 %26 = load i64, ptr %8, align 8 %27 = call i64 (ptr, ptr, i64, ...) @sprintf(ptr noundef %25, ptr noundef @.str, i64 noundef %26) store i64 %27, ptr %13, align 8 br label %31 28: ; preds = %6 %29 = load ptr, ptr %7, align 8 %30 = call i32 @strncpy(ptr noundef %29, ptr noundef @.str.1, i32 noundef 2) br label %31 31: ; preds = %28, %22 store i64 0, ptr %14, align 8 br label %32 32: ; preds = %47, %31 %33 = load i64, ptr %14, align 8 %34 = icmp slt i64 %33, 3 br i1 %34, label %35, label %50 35: ; preds = %32 %36 = load ptr, ptr %9, align 8 %37 = load i64, ptr %14, align 8 %38 = getelementptr inbounds i32, ptr %36, i64 %37 %39 = load i32, ptr %38, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [27 x i8], ptr %18, i64 0, i64 %40 %42 = load i8, ptr %41, align 1 %43 = load ptr, ptr %7, align 8 %44 = load i64, ptr %13, align 8 %45 = add nsw i64 %44, 1 store i64 %45, ptr %13, align 8 %46 = getelementptr inbounds i8, ptr %43, i64 %44 store i8 %42, ptr %46, align 1 br label %47 47: ; preds = %35 %48 = load i64, ptr %14, align 8 %49 = add nsw i64 %48, 1 store i64 %49, ptr %14, align 8 br label %32, !llvm.loop !6 50: ; preds = %32 %51 = load i64, ptr %12, align 8 %52 = sub nsw i64 5, %51 %53 = trunc i64 %52 to i32 %54 = call double @pow(double noundef 1.000000e+01, i32 noundef %53) store double %54, ptr %15, align 8 %55 = load double, ptr %10, align 8 %56 = call double @fmod(double noundef %55, double noundef 1.000000e+05) #4 store double %56, ptr %10, align 8 %57 = load double, ptr %10, align 8 %58 = fcmp oge double %57, 9.999950e+04 br i1 %58, label %59, label %60 59: ; preds = %50 store double 9.999900e+04, ptr %10, align 8 br label %60 60: ; preds = %59, %50 %61 = load double, ptr %10, align 8 %62 = load double, ptr %15, align 8 %63 = fdiv double %61, %62 %64 = fptosi double %63 to i64 store i64 %64, ptr %16, align 8 %65 = load ptr, ptr %7, align 8 %66 = load i64, ptr %13, align 8 %67 = getelementptr inbounds i8, ptr %65, i64 %66 %68 = load i64, ptr %12, align 8 %69 = load i64, ptr %12, align 8 %70 = load i64, ptr %16, align 8 %71 = call i64 (ptr, ptr, i64, ...) @sprintf(ptr noundef %67, ptr noundef @.str.2, i64 noundef %68, i64 noundef %69, i64 noundef %70) %72 = load i64, ptr %13, align 8 %73 = add nsw i64 %72, %71 store i64 %73, ptr %13, align 8 %74 = load double, ptr %11, align 8 %75 = call double @fmod(double noundef %74, double noundef 1.000000e+05) #4 store double %75, ptr %11, align 8 %76 = load double, ptr %11, align 8 %77 = fcmp oge double %76, 9.999950e+04 br i1 %77, label %78, label %79 78: ; preds = %60 store double 9.999900e+04, ptr %11, align 8 br label %79 79: ; preds = %78, %60 %80 = load double, ptr %11, align 8 %81 = load double, ptr %15, align 8 %82 = fdiv double %80, %81 %83 = fptosi double %82 to i64 store i64 %83, ptr %17, align 8 %84 = load ptr, ptr %7, align 8 %85 = load i64, ptr %13, align 8 %86 = getelementptr inbounds i8, ptr %84, i64 %85 %87 = load i64, ptr %12, align 8 %88 = load i64, ptr %12, align 8 %89 = load i64, ptr %17, align 8 %90 = call i64 (ptr, ptr, i64, ...) @sprintf(ptr noundef %86, ptr noundef @.str.2, i64 noundef %87, i64 noundef %88, i64 noundef %89) %91 = load i64, ptr %13, align 8 %92 = add nsw i64 %91, %90 store i64 %92, ptr %13, align 8 %93 = load i64, ptr %19, align 8 ret i64 %93 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i64 @sprintf(ptr noundef, ptr noundef, i64 noundef, ...) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2 declare double @pow(double noundef, i32 noundef) #2 ; Function Attrs: nounwind declare double @fmod(double noundef, double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9lnygzyv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.Make_MGRS_String.alphabet = private unnamed_addr constant [27 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZ\00", align 16 @.str = private unnamed_addr constant [7 x i8] c"%2.2ld\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%*.*ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @Make_MGRS_String(ptr noundef %0, i64 noundef %1, ptr noundef %2, double noundef %3, double noundef %4, i64 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca double, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca [27 x i8], align 16 %19 = alloca i64, align 8 store ptr %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store double %3, ptr %10, align 8 store double %4, ptr %11, align 8 store i64 %5, ptr %12, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 @__const.Make_MGRS_String.alphabet, i64 27, i1 false) store i64 0, ptr %19, align 8 store i64 0, ptr %13, align 8 %20 = load i64, ptr %8, align 8 %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %28 22: ; preds = %6 %23 = load ptr, ptr %7, align 8 %24 = load i64, ptr %13, align 8 %25 = getelementptr inbounds i8, ptr %23, i64 %24 %26 = load i64, ptr %8, align 8 %27 = call i64 (ptr, ptr, i64, ...) @sprintf(ptr noundef %25, ptr noundef @.str, i64 noundef %26) store i64 %27, ptr %13, align 8 br label %31 28: ; preds = %6 %29 = load ptr, ptr %7, align 8 %30 = call i32 @strncpy(ptr noundef %29, ptr noundef @.str.1, i32 noundef 2) br label %31 31: ; preds = %28, %22 store i64 0, ptr %14, align 8 %32 = load i64, ptr %14, align 8 %33 = icmp slt i64 %32, 3 br i1 %33, label %.lr.ph, label %51 .lr.ph: ; preds = %31 br label %34 34: ; preds = %.lr.ph, %46 %35 = load ptr, ptr %9, align 8 %36 = load i64, ptr %14, align 8 %37 = getelementptr inbounds i32, ptr %35, i64 %36 %38 = load i32, ptr %37, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [27 x i8], ptr %18, i64 0, i64 %39 %41 = load i8, ptr %40, align 1 %42 = load ptr, ptr %7, align 8 %43 = load i64, ptr %13, align 8 %44 = add nsw i64 %43, 1 store i64 %44, ptr %13, align 8 %45 = getelementptr inbounds i8, ptr %42, i64 %43 store i8 %41, ptr %45, align 1 br label %46 46: ; preds = %34 %47 = load i64, ptr %14, align 8 %48 = add nsw i64 %47, 1 store i64 %48, ptr %14, align 8 %49 = load i64, ptr %14, align 8 %50 = icmp slt i64 %49, 3 br i1 %50, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %51 51: ; preds = %._crit_edge, %31 %52 = load i64, ptr %12, align 8 %53 = sub nsw i64 5, %52 %54 = trunc i64 %53 to i32 %55 = call double @pow(double noundef 1.000000e+01, i32 noundef %54) store double %55, ptr %15, align 8 %56 = load double, ptr %10, align 8 %57 = call double @fmod(double noundef %56, double noundef 1.000000e+05) #4 store double %57, ptr %10, align 8 %58 = load double, ptr %10, align 8 %59 = fcmp oge double %58, 9.999950e+04 br i1 %59, label %60, label %61 60: ; preds = %51 store double 9.999900e+04, ptr %10, align 8 br label %61 61: ; preds = %60, %51 %62 = load double, ptr %10, align 8 %63 = load double, ptr %15, align 8 %64 = fdiv double %62, %63 %65 = fptosi double %64 to i64 store i64 %65, ptr %16, align 8 %66 = load ptr, ptr %7, align 8 %67 = load i64, ptr %13, align 8 %68 = getelementptr inbounds i8, ptr %66, i64 %67 %69 = load i64, ptr %12, align 8 %70 = load i64, ptr %12, align 8 %71 = load i64, ptr %16, align 8 %72 = call i64 (ptr, ptr, i64, ...) @sprintf(ptr noundef %68, ptr noundef @.str.2, i64 noundef %69, i64 noundef %70, i64 noundef %71) %73 = load i64, ptr %13, align 8 %74 = add nsw i64 %73, %72 store i64 %74, ptr %13, align 8 %75 = load double, ptr %11, align 8 %76 = call double @fmod(double noundef %75, double noundef 1.000000e+05) #4 store double %76, ptr %11, align 8 %77 = load double, ptr %11, align 8 %78 = fcmp oge double %77, 9.999950e+04 br i1 %78, label %79, label %80 79: ; preds = %61 store double 9.999900e+04, ptr %11, align 8 br label %80 80: ; preds = %79, %61 %81 = load double, ptr %11, align 8 %82 = load double, ptr %15, align 8 %83 = fdiv double %81, %82 %84 = fptosi double %83 to i64 store i64 %84, ptr %17, align 8 %85 = load ptr, ptr %7, align 8 %86 = load i64, ptr %13, align 8 %87 = getelementptr inbounds i8, ptr %85, i64 %86 %88 = load i64, ptr %12, align 8 %89 = load i64, ptr %12, align 8 %90 = load i64, ptr %17, align 8 %91 = call i64 (ptr, ptr, i64, ...) @sprintf(ptr noundef %87, ptr noundef @.str.2, i64 noundef %88, i64 noundef %89, i64 noundef %90) %92 = load i64, ptr %13, align 8 %93 = add nsw i64 %92, %91 store i64 %93, ptr %13, align 8 %94 = load i64, ptr %19, align 8 ret i64 %94 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i64 @sprintf(ptr noundef, ptr noundef, i64 noundef, ...) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2 declare double @pow(double noundef, i32 noundef) #2 ; Function Attrs: nounwind declare double @fmod(double noundef, double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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"}
; ModuleID = '/tmp/tmpwnovdhor.c' source_filename = "/tmp/tmpwnovdhor.c" target datalayout = "e-m:e-p270: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/tmpwnovdhor.c" target datalayout = "e-m:e-p270: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/tmpn_sbe5yh.c' source_filename = "/tmp/tmpn_sbe5yh.c" target datalayout = "e-m:e-p270: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/tmpn_sbe5yh.c" target datalayout = "e-m:e-p270: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/tmpjkptd8w7.c' source_filename = "/tmp/tmpjkptd8w7.c" target datalayout = "e-m:e-p270: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/tmpjkptd8w7.c" target datalayout = "e-m:e-p270: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"}