llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp43oxzcx6.c' source_filename = "/tmp/tmp43oxzcx6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dcsc_matvecs not working in m_sparsetools.c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @scsc_matvecs(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store i32 %0, ptr %9, align 4 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 %20 = call i32 @printf(ptr noundef @.str) %21 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp43oxzcx6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dcsc_matvecs not working in m_sparsetools.c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @scsc_matvecs(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store i32 %0, ptr %9, align 4 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 %20 = call i32 @printf(ptr noundef @.str) %21 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp61uphptd.c' source_filename = "/tmp/tmp61uphptd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @catmc_atomic_intptr_t_destroy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp61uphptd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @catmc_atomic_intptr_t_destroy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpozclpjzg.c' source_filename = "/tmp/tmpozclpjzg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msg_copy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i64 @msg_new_from_str(ptr noundef %3) %5 = inttoptr i64 %4 to ptr ret ptr %5 } declare i64 @msg_new_from_str(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpozclpjzg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msg_copy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i64 @msg_new_from_str(ptr noundef %3) %5 = inttoptr i64 %4 to ptr ret ptr %5 } declare i64 @msg_new_from_str(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqca016xq.c' source_filename = "/tmp/tmpqca016xq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [54 x i8] c"\0Apfm2afm - Convert Windows pfm to afm - Version 1.11\0A\00", align 1 @.str.1 = private unnamed_addr constant [63 x i8] c"This utility converts Windows pfm files for Adobe type 1 fonts\00", align 1 @.str.2 = private unnamed_addr constant [61 x i8] c"to afm files for use on OS/2. This allows fonts created for\00", align 1 @.str.3 = private unnamed_addr constant [63 x i8] c"Windows, and shipped without the afm file to be used on OS/2.\0A\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c"pfm2afm infile [outfile] -opts\00", align 1 @.str.5 = private unnamed_addr constant [62 x i8] c" The extension .pfm is added to the infile if it has none.\00", align 1 @.str.6 = private unnamed_addr constant [55 x i8] c" The outfile is defaulted from the input file name.\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c" -a = All codepoints in range\00", align 1 @.str.8 = private unnamed_addr constant [63 x i8] c"\0ANote that pfm files are missing some of the data necessary to\00", align 1 @.str.9 = private unnamed_addr constant [60 x i8] c"construct afm files, so the conversion may not be perfect.\0A\00", align 1 @.str.10 = private unnamed_addr constant [46 x i8] c"Ken Borgendale - [email protected]\0A\00", align 1 @.str.11 = private unnamed_addr constant [47 x i8] c"Russell Lang - [email protected]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help() #0 { %1 = call i32 @puts(ptr noundef @.str) %2 = call i32 @puts(ptr noundef @.str.1) %3 = call i32 @puts(ptr noundef @.str.2) %4 = call i32 @puts(ptr noundef @.str.3) %5 = call i32 @puts(ptr noundef @.str.4) %6 = call i32 @puts(ptr noundef @.str.5) %7 = call i32 @puts(ptr noundef @.str.6) %8 = call i32 @puts(ptr noundef @.str.7) %9 = call i32 @puts(ptr noundef @.str.8) %10 = call i32 @puts(ptr noundef @.str.9) %11 = call i32 @puts(ptr noundef @.str.10) %12 = call i32 @puts(ptr noundef @.str.11) %13 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @puts(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/tmpqca016xq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [54 x i8] c"\0Apfm2afm - Convert Windows pfm to afm - Version 1.11\0A\00", align 1 @.str.1 = private unnamed_addr constant [63 x i8] c"This utility converts Windows pfm files for Adobe type 1 fonts\00", align 1 @.str.2 = private unnamed_addr constant [61 x i8] c"to afm files for use on OS/2. This allows fonts created for\00", align 1 @.str.3 = private unnamed_addr constant [63 x i8] c"Windows, and shipped without the afm file to be used on OS/2.\0A\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c"pfm2afm infile [outfile] -opts\00", align 1 @.str.5 = private unnamed_addr constant [62 x i8] c" The extension .pfm is added to the infile if it has none.\00", align 1 @.str.6 = private unnamed_addr constant [55 x i8] c" The outfile is defaulted from the input file name.\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c" -a = All codepoints in range\00", align 1 @.str.8 = private unnamed_addr constant [63 x i8] c"\0ANote that pfm files are missing some of the data necessary to\00", align 1 @.str.9 = private unnamed_addr constant [60 x i8] c"construct afm files, so the conversion may not be perfect.\0A\00", align 1 @.str.10 = private unnamed_addr constant [46 x i8] c"Ken Borgendale - [email protected]\0A\00", align 1 @.str.11 = private unnamed_addr constant [47 x i8] c"Russell Lang - [email protected]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help() #0 { %1 = call i32 @puts(ptr noundef @.str) %2 = call i32 @puts(ptr noundef @.str.1) %3 = call i32 @puts(ptr noundef @.str.2) %4 = call i32 @puts(ptr noundef @.str.3) %5 = call i32 @puts(ptr noundef @.str.4) %6 = call i32 @puts(ptr noundef @.str.5) %7 = call i32 @puts(ptr noundef @.str.6) %8 = call i32 @puts(ptr noundef @.str.7) %9 = call i32 @puts(ptr noundef @.str.8) %10 = call i32 @puts(ptr noundef @.str.9) %11 = call i32 @puts(ptr noundef @.str.10) %12 = call i32 @puts(ptr noundef @.str.11) %13 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @puts(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/tmp9dixybik.c' source_filename = "/tmp/tmp9dixybik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r+\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"my_fgets fopen\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"buf = %s\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"p = %s\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @my_fgets(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca [100 x i8], align 16 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store ptr null, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 %7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %1 %11 = call i32 @perror(ptr noundef @.str.1) br label %37 12: ; preds = %1 br label %13 13: ; preds = %29, %12 %14 = load ptr, ptr %3, align 8 %15 = call i32 @feof(ptr noundef %14) %16 = icmp ne i32 %15, 0 %17 = xor i1 %16, true br i1 %17, label %18, label %30 18: ; preds = %13 %19 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %20 = load ptr, ptr %3, align 8 %21 = call ptr @fgets(ptr noundef %19, i32 noundef 100, ptr noundef %20) store ptr %21, ptr %5, align 8 %22 = load ptr, ptr %5, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %29 24: ; preds = %18 %25 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %25) %27 = load ptr, ptr %5, align 8 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %27) br label %29 29: ; preds = %24, %18 br label %13, !llvm.loop !6 30: ; preds = %13 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %32 = load ptr, ptr %3, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %37 34: ; preds = %30 %35 = load ptr, ptr %3, align 8 %36 = call i32 @fclose(ptr noundef %35) store ptr null, ptr %3, align 8 br label %37 37: ; preds = %10, %34, %30 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9dixybik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r+\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"my_fgets fopen\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"buf = %s\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"p = %s\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @my_fgets(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca [100 x i8], align 16 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store ptr null, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 %7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %1 %11 = call i32 @perror(ptr noundef @.str.1) br label %40 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 %14 = call i32 @feof(ptr noundef %13) %15 = icmp ne i32 %14, 0 %16 = xor i1 %15, true br i1 %16, label %.lr.ph, label %33 .lr.ph: ; preds = %12 br label %17 17: ; preds = %.lr.ph, %28 %18 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %19 = load ptr, ptr %3, align 8 %20 = call ptr @fgets(ptr noundef %18, i32 noundef 100, ptr noundef %19) store ptr %20, ptr %5, align 8 %21 = load ptr, ptr %5, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %23, label %28 23: ; preds = %17 %24 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %24) %26 = load ptr, ptr %5, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %26) br label %28 28: ; preds = %23, %17 %29 = load ptr, ptr %3, align 8 %30 = call i32 @feof(ptr noundef %29) %31 = icmp ne i32 %30, 0 %32 = xor i1 %31, true br i1 %32, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %33 33: ; preds = %._crit_edge, %12 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %35 = load ptr, ptr %3, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %40 37: ; preds = %33 %38 = load ptr, ptr %3, align 8 %39 = call i32 @fclose(ptr noundef %38) store ptr null, ptr %3, align 8 br label %40 40: ; preds = %37, %33, %10 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjm2i8gqj.c' source_filename = "/tmp/tmpjm2i8gqj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dt_s390mv_info() #0 { %1 = call i32 (...) @vol_print_all() ret void } declare i32 @vol_print_all(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjm2i8gqj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dt_s390mv_info() #0 { %1 = call i32 (...) @vol_print_all() ret void } declare i32 @vol_print_all(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxacrt0pg.c' source_filename = "/tmp/tmpxacrt0pg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lu\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 [1 x i64], align 8 %7 = alloca [1 x i64], align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %36 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) store i64 %29, ptr %9, align 8 %30 = load i64, ptr %9, align 8 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %32 store i64 %30, ptr %33, align 8 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 br label %19, !llvm.loop !6 36: ; preds = %19 %37 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0 %38 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %39 = call i32 @RandomFunc(ptr noundef %37, ptr noundef %38) %40 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %41 = load i64, ptr %40, align 8 %42 = icmp eq i64 %41, 5592907788617509672 br i1 %42, label %43, label %45 43: ; preds = %36 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %46 45: ; preds = %36 br label %46 46: ; preds = %45, %43 store i32 0, ptr %10, align 4 br label %47 47: ; preds = %50, %46 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 1 br i1 %49, label %50, label %58 50: ; preds = %47 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52 %54 = load i64, ptr %53, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54) %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 br label %47, !llvm.loop !8 58: ; preds = %47 %59 = load i32, ptr %3, align 4 ret i32 %59 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxacrt0pg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lu\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 [1 x i64], align 8 %7 = alloca [1 x i64], align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %37 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) store i64 %28, ptr %9, align 8 %29 = load i64, ptr %9, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %31 store i64 %29, ptr %32, align 8 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 %35 = load i32, ptr %8, align 4 %36 = icmp slt i32 %35, 1 br i1 %36, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %37 37: ; preds = %._crit_edge, %18 %38 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %42 = load i64, ptr %41, align 8 %43 = icmp eq i64 %42, 5592907788617509672 br i1 %43, label %44, label %46 44: ; preds = %37 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %47 46: ; preds = %37 br label %47 47: ; preds = %46, %44 store i32 0, ptr %10, align 4 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 1 br i1 %49, label %.lr.ph2, label %60 .lr.ph2: ; preds = %47 br label %50 50: ; preds = %.lr.ph2, %50 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52 %54 = load i64, ptr %53, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54) %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 %58 = load i32, ptr %10, align 4 %59 = icmp slt i32 %58, 1 br i1 %59, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %60 60: ; preds = %._crit_edge3, %47 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpk_xghfwn.c' source_filename = "/tmp/tmpk_xghfwn.c" target datalayout = "e-m:e-p270: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/tmpk_xghfwn.c" target datalayout = "e-m:e-p270: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/tmp9zsnnd2d.c' source_filename = "/tmp/tmp9zsnnd2d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_from_user(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 i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = call i32 (...) @assert_context_process() %9 = call i64 (...) @__VERIFIER_nondet_ulong() store i64 %9, ptr %7, align 8 %10 = load i64, ptr %7, align 8 ret i64 %10 } declare i32 @assert_context_process(...) #1 declare i64 @__VERIFIER_nondet_ulong(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9zsnnd2d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_from_user(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 i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = call i32 (...) @assert_context_process() %9 = call i64 (...) @__VERIFIER_nondet_ulong() store i64 %9, ptr %7, align 8 %10 = load i64, ptr %7, align 8 ret i64 %10 } declare i32 @assert_context_process(...) #1 declare i64 @__VERIFIER_nondet_ulong(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf_sb6gjj.c' source_filename = "/tmp/tmpf_sb6gjj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @assert(i32 noundef 1) ret i32 0 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf_sb6gjj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @assert(i32 noundef 1) ret i32 0 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp18r8phm6.c' source_filename = "/tmp/tmp18r8phm6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"As notas inseridas foram: \0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%f \09\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @listarNotas(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 br label %7 7: ; preds = %19, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %22 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds float, ptr %12, i64 %14 %16 = load float, ptr %15, align 4 %17 = fpext float %16 to double %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %17) br label %19 19: ; preds = %11 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 br label %7, !llvm.loop !6 22: ; preds = %7 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) 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/tmp18r8phm6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"As notas inseridas foram: \0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%f \09\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @listarNotas(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %18 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds float, ptr %11, i64 %13 %15 = load float, ptr %14, align 4 %16 = fpext float %15 to double %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %2 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) 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/tmpfozz3psq.c' source_filename = "/tmp/tmpfozz3psq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clrstr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i64 @strlen(ptr noundef %3) %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %1 br label %17 7: ; preds = %1 br label %8 8: ; preds = %13, %7 %9 = load ptr, ptr %2, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %8 %14 = load ptr, ptr %2, align 8 store i8 0, ptr %14, align 1 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %2, align 8 br label %8, !llvm.loop !6 17: ; preds = %6, %8 ret void } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfozz3psq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clrstr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i64 @strlen(ptr noundef %3) %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %1 br label %20 7: ; preds = %1 %8 = load ptr, ptr %2, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %7 br label %12 12: ; preds = %.lr.ph, %12 %13 = load ptr, ptr %2, align 8 store i8 0, ptr %13, align 1 %14 = load ptr, ptr %2, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %2, align 8 %16 = load ptr, ptr %2, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 0 br i1 %19, label %12, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %12 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %7 br label %20 20: ; preds = %.loopexit, %6 ret void } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgxf9tmnm.c' source_filename = "/tmp/tmpgxf9tmnm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @runner_crash(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 @exit(i32 noundef %3) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(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 = { 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 #2 = { 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/tmpgxf9tmnm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @runner_crash(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 @exit(i32 noundef %3) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(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 = { 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 #2 = { 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/tmpxue0blp_.c' source_filename = "/tmp/tmpxue0blp_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"%20.15e %20.15e %20.15e\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"%d %d %d %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"%s written.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @scg_write_front(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store i32 0, ptr %14, align 4 %15 = load ptr, ptr %11, align 8 %16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str) store ptr %16, ptr %12, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %19, label %18 18: ; preds = %5 store i32 -1, ptr %6, align 4 br label %95 19: ; preds = %5 %20 = load ptr, ptr %12, align 8 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %8, align 4 %23 = call i32 (ptr, ptr, i32, i32, ...) @fprintf(ptr noundef %20, ptr noundef @.str.1, i32 noundef %21, i32 noundef %22) store i32 0, ptr %13, align 4 br label %24 24: ; preds = %54, %19 %25 = load i32, ptr %13, align 4 %26 = load i32, ptr %7, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %57 28: ; preds = %24 %29 = load ptr, ptr %12, align 8 %30 = load ptr, ptr %9, align 8 %31 = load i32, ptr %13, align 4 %32 = mul nsw i32 3, %31 %33 = add nsw i32 %32, 0 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds double, ptr %30, i64 %34 %36 = load double, ptr %35, align 8 %37 = fptosi double %36 to i32 %38 = load ptr, ptr %9, align 8 %39 = load i32, ptr %13, align 4 %40 = mul nsw i32 3, %39 %41 = add nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds double, ptr %38, i64 %42 %44 = load double, ptr %43, align 8 %45 = fptosi double %44 to i32 %46 = load ptr, ptr %9, align 8 %47 = load i32, ptr %13, align 4 %48 = mul nsw i32 3, %47 %49 = add nsw i32 %48, 2 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds double, ptr %46, i64 %50 %52 = load double, ptr %51, align 8 %53 = call i32 (ptr, ptr, i32, i32, ...) @fprintf(ptr noundef %29, ptr noundef @.str.2, i32 noundef %37, i32 noundef %45, double noundef %52) br label %54 54: ; preds = %28 %55 = load i32, ptr %13, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %13, align 4 br label %24, !llvm.loop !6 57: ; preds = %24 store i32 0, ptr %13, align 4 br label %58 58: ; preds = %87, %57 %59 = load i32, ptr %13, align 4 %60 = load i32, ptr %8, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %62, label %90 62: ; preds = %58 %63 = load ptr, ptr %12, align 8 %64 = load ptr, ptr %10, align 8 %65 = load i32, ptr %13, align 4 %66 = mul nsw i32 3, %65 %67 = add nsw i32 %66, 0 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i32, ptr %64, i64 %68 %70 = load i32, ptr %69, align 4 %71 = load ptr, ptr %10, align 8 %72 = load i32, ptr %13, align 4 %73 = mul nsw i32 3, %72 %74 = add nsw i32 %73, 1 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i32, ptr %71, i64 %75 %77 = load i32, ptr %76, align 4 %78 = load ptr, ptr %10, align 8 %79 = load i32, ptr %13, align 4 %80 = mul nsw i32 3, %79 %81 = add nsw i32 %80, 2 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %78, i64 %82 %84 = load i32, ptr %83, align 4 %85 = load i32, ptr %14, align 4 %86 = call i32 (ptr, ptr, i32, i32, ...) @fprintf(ptr noundef %63, ptr noundef @.str.3, i32 noundef %70, i32 noundef %77, i32 noundef %84, i32 noundef %85) br label %87 87: ; preds = %62 %88 = load i32, ptr %13, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %13, align 4 br label %58, !llvm.loop !8 90: ; preds = %58 %91 = load ptr, ptr %12, align 8 %92 = call i32 @fclose(ptr noundef %91) %93 = load ptr, ptr %11, align 8 %94 = call i32 @printf(ptr noundef @.str.4, ptr noundef %93) store i32 0, ptr %6, align 4 br label %95 95: ; preds = %90, %18 %96 = load i32, ptr %6, align 4 ret i32 %96 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxue0blp_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"%20.15e %20.15e %20.15e\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"%d %d %d %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"%s written.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @scg_write_front(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store i32 0, ptr %14, align 4 %15 = load ptr, ptr %11, align 8 %16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str) store ptr %16, ptr %12, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %19, label %18 18: ; preds = %5 store i32 -1, ptr %6, align 4 br label %99 19: ; preds = %5 %20 = load ptr, ptr %12, align 8 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %8, align 4 %23 = call i32 (ptr, ptr, i32, i32, ...) @fprintf(ptr noundef %20, ptr noundef @.str.1, i32 noundef %21, i32 noundef %22) store i32 0, ptr %13, align 4 %24 = load i32, ptr %13, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph, label %59 .lr.ph: ; preds = %19 br label %27 27: ; preds = %.lr.ph, %53 %28 = load ptr, ptr %12, align 8 %29 = load ptr, ptr %9, align 8 %30 = load i32, ptr %13, align 4 %31 = mul nsw i32 3, %30 %32 = add nsw i32 %31, 0 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds double, ptr %29, i64 %33 %35 = load double, ptr %34, align 8 %36 = fptosi double %35 to i32 %37 = load ptr, ptr %9, align 8 %38 = load i32, ptr %13, align 4 %39 = mul nsw i32 3, %38 %40 = add nsw i32 %39, 1 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds double, ptr %37, i64 %41 %43 = load double, ptr %42, align 8 %44 = fptosi double %43 to i32 %45 = load ptr, ptr %9, align 8 %46 = load i32, ptr %13, align 4 %47 = mul nsw i32 3, %46 %48 = add nsw i32 %47, 2 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds double, ptr %45, i64 %49 %51 = load double, ptr %50, align 8 %52 = call i32 (ptr, ptr, i32, i32, ...) @fprintf(ptr noundef %28, ptr noundef @.str.2, i32 noundef %36, i32 noundef %44, double noundef %51) br label %53 53: ; preds = %27 %54 = load i32, ptr %13, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %13, align 4 %56 = load i32, ptr %13, align 4 %57 = load i32, ptr %7, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %53 br label %59 59: ; preds = %._crit_edge, %19 store i32 0, ptr %13, align 4 %60 = load i32, ptr %13, align 4 %61 = load i32, ptr %8, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %.lr.ph2, label %94 .lr.ph2: ; preds = %59 br label %63 63: ; preds = %.lr.ph2, %88 %64 = load ptr, ptr %12, align 8 %65 = load ptr, ptr %10, align 8 %66 = load i32, ptr %13, align 4 %67 = mul nsw i32 3, %66 %68 = add nsw i32 %67, 0 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i32, ptr %65, i64 %69 %71 = load i32, ptr %70, align 4 %72 = load ptr, ptr %10, align 8 %73 = load i32, ptr %13, align 4 %74 = mul nsw i32 3, %73 %75 = add nsw i32 %74, 1 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %72, i64 %76 %78 = load i32, ptr %77, align 4 %79 = load ptr, ptr %10, align 8 %80 = load i32, ptr %13, align 4 %81 = mul nsw i32 3, %80 %82 = add nsw i32 %81, 2 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %79, i64 %83 %85 = load i32, ptr %84, align 4 %86 = load i32, ptr %14, align 4 %87 = call i32 (ptr, ptr, i32, i32, ...) @fprintf(ptr noundef %64, ptr noundef @.str.3, i32 noundef %71, i32 noundef %78, i32 noundef %85, i32 noundef %86) br label %88 88: ; preds = %63 %89 = load i32, ptr %13, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %13, align 4 %91 = load i32, ptr %13, align 4 %92 = load i32, ptr %8, align 4 %93 = icmp slt i32 %91, %92 br i1 %93, label %63, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %88 br label %94 94: ; preds = %._crit_edge3, %59 %95 = load ptr, ptr %12, align 8 %96 = call i32 @fclose(ptr noundef %95) %97 = load ptr, ptr %11, align 8 %98 = call i32 @printf(ptr noundef @.str.4, ptr noundef %97) store i32 0, ptr %6, align 4 br label %99 99: ; preds = %94, %18 %100 = load i32, ptr %6, align 4 ret i32 %100 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpezhp4g10.c' source_filename = "/tmp/tmpezhp4g10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i32], align 4 %7 = alloca [1 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i32 store i32 %30, ptr %9, align 4 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %33 store i32 %31, ptr %34, align 4 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %42 = load i32, ptr %41, align 4 %43 = icmp eq i32 %42, -828561517 br i1 %43, label %44, label %46 44: ; preds = %37 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %47 46: ; preds = %37 br label %47 47: ; preds = %46, %44 store i32 0, ptr %10, align 4 br label %48 48: ; preds = %51, %47 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 1 br i1 %50, label %51, label %59 51: ; preds = %48 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 br label %48, !llvm.loop !8 59: ; preds = %48 %60 = load i32, ptr %3, align 4 ret i32 %60 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpezhp4g10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i32], align 4 %7 = alloca [1 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i32 store i32 %29, ptr %9, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %32 store i32 %30, ptr %33, align 4 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %43 = load i32, ptr %42, align 4 %44 = icmp eq i32 %43, -828561517 br i1 %44, label %45, label %47 45: ; preds = %38 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %38 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 1 br i1 %50, label %.lr.ph2, label %61 .lr.ph2: ; preds = %48 br label %51 51: ; preds = %.lr.ph2, %51 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 %59 = load i32, ptr %10, align 4 %60 = icmp slt i32 %59, 1 br i1 %60, label %51, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %61 61: ; preds = %._crit_edge3, %48 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpw066cgzl.c' source_filename = "/tmp/tmpw066cgzl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"No repetitions found!\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%s %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @longest_substring(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %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 ptr, align 8 %16 = alloca i64, align 8 %17 = alloca [2 x i8], align 1 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = sext i32 %20 to i64 %22 = mul i64 4, %21 %23 = trunc i64 %22 to i32 %24 = call ptr @malloc(i32 noundef %23) store ptr %24, ptr %6, align 8 store i32 0, ptr %5, align 4 br label %25 25: ; preds = %34, %2 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %37 29: ; preds = %25 %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr %5, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 store i32 -1, ptr %33, align 4 br label %34 34: ; preds = %29 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %5, align 4 br label %25, !llvm.loop !6 37: ; preds = %25 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %4, align 4 %40 = load ptr, ptr %6, align 8 %41 = call i32 @buildSuffixArray(ptr noundef %38, i32 noundef %39, ptr noundef %40) %42 = load i32, ptr %4, align 4 %43 = sub nsw i32 %42, 1 store i32 %43, ptr %7, align 4 %44 = load i32, ptr %7, align 4 %45 = zext i32 %44 to i64 %46 = call ptr @llvm.stacksave() store ptr %46, ptr %8, align 8 %47 = alloca i32, i64 %45, align 16 store i64 %45, ptr %9, align 8 %48 = load ptr, ptr %3, align 8 %49 = load ptr, ptr %6, align 8 %50 = load i32, ptr %4, align 4 %51 = call i32 @kasai_lcp(ptr noundef %48, ptr noundef %47, ptr noundef %49, i32 noundef %50) store i32 -1, ptr %10, align 4 store i32 -1, ptr %11, align 4 store i32 0, ptr %5, align 4 br label %52 52: ; preds = %70, %37 %53 = load i32, ptr %5, align 4 %54 = load i32, ptr %7, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %56, label %73 56: ; preds = %52 %57 = load i32, ptr %5, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %47, i64 %58 %60 = load i32, ptr %59, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp sgt i32 %60, %61 br i1 %62, label %63, label %69 63: ; preds = %56 %64 = load i32, ptr %5, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %47, i64 %65 %67 = load i32, ptr %66, align 4 store i32 %67, ptr %10, align 4 %68 = load i32, ptr %5, align 4 store i32 %68, ptr %11, align 4 br label %69 69: ; preds = %63, %56 br label %70 70: ; preds = %69 %71 = load i32, ptr %5, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %5, align 4 br label %52, !llvm.loop !8 73: ; preds = %52 %74 = load ptr, ptr %6, align 8 %75 = load i32, ptr %11, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %74, i64 %76 %78 = load i32, ptr %77, align 4 store i32 %78, ptr %12, align 4 %79 = load ptr, ptr %6, align 8 %80 = load i32, ptr %11, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %79, i64 %81 %83 = load i32, ptr %82, align 4 %84 = load i32, ptr %10, align 4 %85 = add nsw i32 %83, %84 %86 = sub nsw i32 %85, 1 store i32 %86, ptr %13, align 4 %87 = load i32, ptr %13, align 4 %88 = load i32, ptr %12, align 4 %89 = sub nsw i32 %87, %88 store i32 %89, ptr %14, align 4 %90 = load i32, ptr %10, align 4 %91 = icmp eq i32 %90, 0 br i1 %91, label %92, label %94 92: ; preds = %73 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %140 94: ; preds = %73 %95 = load i32, ptr %14, align 4 %96 = zext i32 %95 to i64 %97 = call ptr @llvm.stacksave() store ptr %97, ptr %15, align 8 %98 = alloca i8, i64 %96, align 16 store i64 %96, ptr %16, align 8 %99 = load ptr, ptr %3, align 8 %100 = load i32, ptr %12, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i8, ptr %99, i64 %101 %103 = load i8, ptr %102, align 1 %104 = call i32 @sprintf(ptr noundef %98, ptr noundef @.str.1, i8 noundef signext %103) %105 = load i32, ptr %12, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %5, align 4 br label %107 107: ; preds = %122, %94 %108 = load i32, ptr %5, align 4 %109 = load i32, ptr %13, align 4 %110 = add nsw i32 %109, 1 %111 = icmp slt i32 %108, %110 br i1 %111, label %112, label %125 112: ; preds = %107 %113 = getelementptr inbounds [2 x i8], ptr %17, i64 0, i64 0 %114 = load ptr, ptr %3, align 8 %115 = load i32, ptr %5, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds i8, ptr %114, i64 %116 %118 = load i8, ptr %117, align 1 %119 = call i32 @sprintf(ptr noundef %113, ptr noundef @.str.1, i8 noundef signext %118) %120 = getelementptr inbounds [2 x i8], ptr %17, i64 0, i64 0 %121 = call i32 @strcat(ptr noundef %98, ptr noundef %120) br label %122 122: ; preds = %112 %123 = load i32, ptr %5, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %5, align 4 br label %107, !llvm.loop !9 125: ; preds = %107 store i32 0, ptr %18, align 4 %126 = load ptr, ptr %3, align 8 store ptr %126, ptr %19, align 8 br label %127 127: ; preds = %131, %125 %128 = load ptr, ptr %19, align 8 %129 = call ptr @strstr(ptr noundef %128, ptr noundef %98) store ptr %129, ptr %19, align 8 %130 = icmp ne ptr %129, null br i1 %130, label %131, label %136 131: ; preds = %127 %132 = load i32, ptr %18, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %18, align 4 %134 = load ptr, ptr %19, align 8 %135 = getelementptr inbounds i8, ptr %134, i32 1 store ptr %135, ptr %19, align 8 br label %127, !llvm.loop !10 136: ; preds = %127 %137 = load i32, ptr %18, align 4 %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %98, i32 noundef %137) %139 = load ptr, ptr %15, align 8 call void @llvm.stackrestore(ptr %139) br label %140 140: ; preds = %136, %92 %141 = load ptr, ptr %6, align 8 %142 = call i32 @free(ptr noundef %141) %143 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %143) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @buildSuffixArray(ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @kasai_lcp(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef signext) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmpw066cgzl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"No repetitions found!\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%s %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @longest_substring(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %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 ptr, align 8 %16 = alloca i64, align 8 %17 = alloca [2 x i8], align 1 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = sext i32 %20 to i64 %22 = mul i64 4, %21 %23 = trunc i64 %22 to i32 %24 = call ptr @malloc(i32 noundef %23) store ptr %24, ptr %6, align 8 store i32 0, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph, label %39 .lr.ph: ; preds = %2 br label %28 28: ; preds = %.lr.ph, %33 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 store i32 -1, ptr %32, align 4 br label %33 33: ; preds = %28 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %4, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %2 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %4, align 4 %42 = load ptr, ptr %6, align 8 %43 = call i32 @buildSuffixArray(ptr noundef %40, i32 noundef %41, ptr noundef %42) %44 = load i32, ptr %4, align 4 %45 = sub nsw i32 %44, 1 store i32 %45, ptr %7, align 4 %46 = load i32, ptr %7, align 4 %47 = zext i32 %46 to i64 %48 = call ptr @llvm.stacksave() store ptr %48, ptr %8, align 8 %49 = alloca i32, i64 %47, align 16 store i64 %47, ptr %9, align 8 %50 = load ptr, ptr %3, align 8 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %4, align 4 %53 = call i32 @kasai_lcp(ptr noundef %50, ptr noundef %49, ptr noundef %51, i32 noundef %52) store i32 -1, ptr %10, align 4 store i32 -1, ptr %11, align 4 store i32 0, ptr %5, align 4 %54 = load i32, ptr %5, align 4 %55 = load i32, ptr %7, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %.lr.ph2, label %77 .lr.ph2: ; preds = %39 br label %57 57: ; preds = %.lr.ph2, %71 %58 = load i32, ptr %5, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %49, i64 %59 %61 = load i32, ptr %60, align 4 %62 = load i32, ptr %10, align 4 %63 = icmp sgt i32 %61, %62 br i1 %63, label %64, label %70 64: ; preds = %57 %65 = load i32, ptr %5, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %49, i64 %66 %68 = load i32, ptr %67, align 4 store i32 %68, ptr %10, align 4 %69 = load i32, ptr %5, align 4 store i32 %69, ptr %11, align 4 br label %70 70: ; preds = %64, %57 br label %71 71: ; preds = %70 %72 = load i32, ptr %5, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %5, align 4 %74 = load i32, ptr %5, align 4 %75 = load i32, ptr %7, align 4 %76 = icmp slt i32 %74, %75 br i1 %76, label %57, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %71 br label %77 77: ; preds = %._crit_edge3, %39 %78 = load ptr, ptr %6, align 8 %79 = load i32, ptr %11, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %78, i64 %80 %82 = load i32, ptr %81, align 4 store i32 %82, ptr %12, align 4 %83 = load ptr, ptr %6, align 8 %84 = load i32, ptr %11, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i32, ptr %83, i64 %85 %87 = load i32, ptr %86, align 4 %88 = load i32, ptr %10, align 4 %89 = add nsw i32 %87, %88 %90 = sub nsw i32 %89, 1 store i32 %90, ptr %13, align 4 %91 = load i32, ptr %13, align 4 %92 = load i32, ptr %12, align 4 %93 = sub nsw i32 %91, %92 store i32 %93, ptr %14, align 4 %94 = load i32, ptr %10, align 4 %95 = icmp eq i32 %94, 0 br i1 %95, label %96, label %98 96: ; preds = %77 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %149 98: ; preds = %77 %99 = load i32, ptr %14, align 4 %100 = zext i32 %99 to i64 %101 = call ptr @llvm.stacksave() store ptr %101, ptr %15, align 8 %102 = alloca i8, i64 %100, align 16 store i64 %100, ptr %16, align 8 %103 = load ptr, ptr %3, align 8 %104 = load i32, ptr %12, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i8, ptr %103, i64 %105 %107 = load i8, ptr %106, align 1 %108 = call i32 @sprintf(ptr noundef %102, ptr noundef @.str.1, i8 noundef signext %107) %109 = load i32, ptr %12, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %5, align 4 %111 = load i32, ptr %5, align 4 %112 = load i32, ptr %13, align 4 %113 = add nsw i32 %112, 1 %114 = icmp slt i32 %111, %113 br i1 %114, label %.lr.ph5, label %132 .lr.ph5: ; preds = %98 br label %115 115: ; preds = %.lr.ph5, %125 %116 = getelementptr inbounds [2 x i8], ptr %17, i64 0, i64 0 %117 = load ptr, ptr %3, align 8 %118 = load i32, ptr %5, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds i8, ptr %117, i64 %119 %121 = load i8, ptr %120, align 1 %122 = call i32 @sprintf(ptr noundef %116, ptr noundef @.str.1, i8 noundef signext %121) %123 = getelementptr inbounds [2 x i8], ptr %17, i64 0, i64 0 %124 = call i32 @strcat(ptr noundef %102, ptr noundef %123) br label %125 125: ; preds = %115 %126 = load i32, ptr %5, align 4 %127 = add nsw i32 %126, 1 store i32 %127, ptr %5, align 4 %128 = load i32, ptr %5, align 4 %129 = load i32, ptr %13, align 4 %130 = add nsw i32 %129, 1 %131 = icmp slt i32 %128, %130 br i1 %131, label %115, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %125 br label %132 132: ; preds = %._crit_edge6, %98 store i32 0, ptr %18, align 4 %133 = load ptr, ptr %3, align 8 store ptr %133, ptr %19, align 8 %134 = load ptr, ptr %19, align 8 %135 = call ptr @strstr(ptr noundef %134, ptr noundef %102) store ptr %135, ptr %19, align 8 %136 = icmp ne ptr %135, null br i1 %136, label %.lr.ph8, label %145 .lr.ph8: ; preds = %132 br label %137 137: ; preds = %.lr.ph8, %137 %138 = load i32, ptr %18, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %18, align 4 %140 = load ptr, ptr %19, align 8 %141 = getelementptr inbounds i8, ptr %140, i32 1 store ptr %141, ptr %19, align 8 %142 = load ptr, ptr %19, align 8 %143 = call ptr @strstr(ptr noundef %142, ptr noundef %102) store ptr %143, ptr %19, align 8 %144 = icmp ne ptr %143, null br i1 %144, label %137, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %137 br label %145 145: ; preds = %._crit_edge9, %132 %146 = load i32, ptr %18, align 4 %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %102, i32 noundef %146) %148 = load ptr, ptr %15, align 8 call void @llvm.stackrestore(ptr %148) br label %149 149: ; preds = %145, %96 %150 = load ptr, ptr %6, align 8 %151 = call i32 @free(ptr noundef %150) %152 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %152) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @buildSuffixArray(ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @kasai_lcp(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef signext) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmpsmi635yh.c' source_filename = "/tmp/tmpsmi635yh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NormalizationFactor(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store double 0.000000e+00, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load i32, ptr %3, align 4 %10 = sitofp i32 %9 to float %11 = fdiv float 1.000000e+00, %10 %12 = call double @sqrt(float noundef %11) store double %12, ptr %5, align 8 br label %18 13: ; preds = %2 %14 = load i32, ptr %3, align 4 %15 = sitofp i32 %14 to float %16 = fdiv float 2.000000e+00, %15 %17 = call double @sqrt(float noundef %16) store double %17, ptr %5, align 8 br label %18 18: ; preds = %13, %8 %19 = load double, ptr %5, align 8 ret double %19 } declare double @sqrt(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsmi635yh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NormalizationFactor(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store double 0.000000e+00, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load i32, ptr %3, align 4 %10 = sitofp i32 %9 to float %11 = fdiv float 1.000000e+00, %10 %12 = call double @sqrt(float noundef %11) store double %12, ptr %5, align 8 br label %18 13: ; preds = %2 %14 = load i32, ptr %3, align 4 %15 = sitofp i32 %14 to float %16 = fdiv float 2.000000e+00, %15 %17 = call double @sqrt(float noundef %16) store double %17, ptr %5, align 8 br label %18 18: ; preds = %13, %8 %19 = load double, ptr %5, align 8 ret double %19 } declare double @sqrt(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgs5j36ak.c' source_filename = "/tmp/tmpgs5j36ak.c" target datalayout = "e-m:e-p270: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/tmpgs5j36ak.c" target datalayout = "e-m:e-p270: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/tmps45xyc27.c' source_filename = "/tmp/tmps45xyc27.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fadd_preg32_qword(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @put8(i32 noundef 220) %4 = load i32, ptr %2, align 4 %5 = call i32 @put8(i32 noundef %4) ret void } declare i32 @put8(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps45xyc27.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fadd_preg32_qword(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @put8(i32 noundef 220) %4 = load i32, ptr %2, align 4 %5 = call i32 @put8(i32 noundef %4) ret void } declare i32 @put8(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfwrfw_mv.c' source_filename = "/tmp/tmpfwrfw_mv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 (...) @show_foo() %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @show_foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfwrfw_mv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 (...) @show_foo() %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @show_foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppo8qrv5k.c' source_filename = "/tmp/tmppo8qrv5k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = call i32 @gmx_membed(i32 noundef %6, ptr noundef %7) ret i32 0 } declare i32 @gmx_membed(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/tmppo8qrv5k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = call i32 @gmx_membed(i32 noundef %6, ptr noundef %7) ret i32 0 } declare i32 @gmx_membed(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/tmpsyqst3u7.c' source_filename = "/tmp/tmpsyqst3u7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findCharacter(i8 noundef signext %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i8, align 1 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i8 %0, ptr %4, align 1 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i8, ptr %4, align 1 %8 = sext i8 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %3 %11 = load ptr, ptr %5, align 8 %12 = call i32 @setIntron(ptr noundef %11) br label %13 13: ; preds = %10, %3 %14 = load i8, ptr %4, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 1 br i1 %16, label %17, label %20 17: ; preds = %13 %18 = load ptr, ptr %5, align 8 %19 = call i32 @setSecondChar(ptr noundef %18) br label %20 20: ; preds = %17, %13 %21 = load i8, ptr %4, align 1 %22 = sext i8 %21 to i32 %23 = icmp slt i32 %22, 93 br i1 %23, label %24, label %32 24: ; preds = %20 %25 = load i8, ptr %4, align 1 %26 = sext i8 %25 to i32 %27 = icmp sgt i32 %26, 32 br i1 %27, label %28, label %32 28: ; preds = %24 %29 = load i8, ptr %4, align 1 %30 = load ptr, ptr %5, align 8 %31 = call i32 @searchTable(i8 noundef signext %29, ptr noundef %30) br label %32 32: ; preds = %28, %24, %20 ret void } declare i32 @setIntron(ptr noundef) #1 declare i32 @setSecondChar(ptr noundef) #1 declare i32 @searchTable(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsyqst3u7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findCharacter(i8 noundef signext %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i8, align 1 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i8 %0, ptr %4, align 1 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i8, ptr %4, align 1 %8 = sext i8 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %3 %11 = load ptr, ptr %5, align 8 %12 = call i32 @setIntron(ptr noundef %11) br label %13 13: ; preds = %10, %3 %14 = load i8, ptr %4, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 1 br i1 %16, label %17, label %20 17: ; preds = %13 %18 = load ptr, ptr %5, align 8 %19 = call i32 @setSecondChar(ptr noundef %18) br label %20 20: ; preds = %17, %13 %21 = load i8, ptr %4, align 1 %22 = sext i8 %21 to i32 %23 = icmp slt i32 %22, 93 br i1 %23, label %24, label %32 24: ; preds = %20 %25 = load i8, ptr %4, align 1 %26 = sext i8 %25 to i32 %27 = icmp sgt i32 %26, 32 br i1 %27, label %28, label %32 28: ; preds = %24 %29 = load i8, ptr %4, align 1 %30 = load ptr, ptr %5, align 8 %31 = call i32 @searchTable(i8 noundef signext %29, ptr noundef %30) br label %32 32: ; preds = %28, %24, %20 ret void } declare i32 @setIntron(ptr noundef) #1 declare i32 @setSecondChar(ptr noundef) #1 declare i32 @searchTable(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo0ukm1m2.c' source_filename = "/tmp/tmpo0ukm1m2.c" target datalayout = "e-m:e-p270: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/tmpo0ukm1m2.c" target datalayout = "e-m:e-p270: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/tmpegorcjgf.c' source_filename = "/tmp/tmpegorcjgf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"The process ID is %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"The parent process ID is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @getpid() %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 (...) @getppid() %9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @getppid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpegorcjgf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"The process ID is %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"The parent process ID is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @getpid() %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 (...) @getppid() %9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @getppid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7rvqow9h.c' source_filename = "/tmp/tmp7rvqow9h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"BUILD\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"%s/tmp\00", align 1 @X_OK = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [38 x i8] c"error creating temporary directory %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @test_tmpdir() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr null, ptr %2, align 8 %4 = call ptr @getenv(ptr noundef @.str) store ptr %4, ptr %1, align 8 %5 = load ptr, ptr %1, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %8 7: ; preds = %0 store ptr @.str.1, ptr %1, align 8 br label %8 8: ; preds = %7, %0 %9 = load ptr, ptr %1, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = call i32 @strlen(ptr noundef @.str.2) %12 = add nsw i32 %10, %11 %13 = add nsw i32 %12, 1 %14 = sext i32 %13 to i64 store i64 %14, ptr %3, align 8 %15 = load i64, ptr %3, align 8 %16 = call ptr @bmalloc(i64 noundef %15) store ptr %16, ptr %2, align 8 %17 = load ptr, ptr %2, align 8 %18 = load i64, ptr %3, align 8 %19 = load ptr, ptr %1, align 8 %20 = call i32 @snprintf(ptr noundef %17, i64 noundef %18, ptr noundef @.str.3, ptr noundef %19) %21 = load ptr, ptr %2, align 8 %22 = load i32, ptr @X_OK, align 4 %23 = call i64 @access(ptr noundef %21, i32 noundef %22) %24 = icmp slt i64 %23, 0 br i1 %24, label %25, label %33 25: ; preds = %8 %26 = load ptr, ptr %2, align 8 %27 = call i64 @mkdir(ptr noundef %26, i32 noundef 511) %28 = icmp slt i64 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %25 %30 = load ptr, ptr %2, align 8 %31 = call i32 @sysbail(ptr noundef @.str.4, ptr noundef %30) br label %32 32: ; preds = %29, %25 br label %33 33: ; preds = %32, %8 %34 = load ptr, ptr %2, align 8 ret ptr %34 } declare ptr @getenv(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @bmalloc(i64 noundef) #1 declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i64 @access(ptr noundef, i32 noundef) #1 declare i64 @mkdir(ptr noundef, i32 noundef) #1 declare i32 @sysbail(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/tmp7rvqow9h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"BUILD\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"%s/tmp\00", align 1 @X_OK = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [38 x i8] c"error creating temporary directory %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @test_tmpdir() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr null, ptr %2, align 8 %4 = call ptr @getenv(ptr noundef @.str) store ptr %4, ptr %1, align 8 %5 = load ptr, ptr %1, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %8 7: ; preds = %0 store ptr @.str.1, ptr %1, align 8 br label %8 8: ; preds = %7, %0 %9 = load ptr, ptr %1, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = call i32 @strlen(ptr noundef @.str.2) %12 = add nsw i32 %10, %11 %13 = add nsw i32 %12, 1 %14 = sext i32 %13 to i64 store i64 %14, ptr %3, align 8 %15 = load i64, ptr %3, align 8 %16 = call ptr @bmalloc(i64 noundef %15) store ptr %16, ptr %2, align 8 %17 = load ptr, ptr %2, align 8 %18 = load i64, ptr %3, align 8 %19 = load ptr, ptr %1, align 8 %20 = call i32 @snprintf(ptr noundef %17, i64 noundef %18, ptr noundef @.str.3, ptr noundef %19) %21 = load ptr, ptr %2, align 8 %22 = load i32, ptr @X_OK, align 4 %23 = call i64 @access(ptr noundef %21, i32 noundef %22) %24 = icmp slt i64 %23, 0 br i1 %24, label %25, label %33 25: ; preds = %8 %26 = load ptr, ptr %2, align 8 %27 = call i64 @mkdir(ptr noundef %26, i32 noundef 511) %28 = icmp slt i64 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %25 %30 = load ptr, ptr %2, align 8 %31 = call i32 @sysbail(ptr noundef @.str.4, ptr noundef %30) br label %32 32: ; preds = %29, %25 br label %33 33: ; preds = %32, %8 %34 = load ptr, ptr %2, align 8 ret ptr %34 } declare ptr @getenv(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @bmalloc(i64 noundef) #1 declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i64 @access(ptr noundef, i32 noundef) #1 declare i64 @mkdir(ptr noundef, i32 noundef) #1 declare i32 @sysbail(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/tmpy4cgkixi.c' source_filename = "/tmp/tmpy4cgkixi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strcut(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %12 = load ptr, ptr %5, align 8 store ptr %12, ptr %9, align 8 store ptr %12, ptr %10, align 8 store i32 0, ptr %11, align 4 %13 = load ptr, ptr %7, align 8 %14 = load i32, ptr %8, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 %15, 8 %17 = trunc i64 %16 to i32 %18 = call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef %17) br label %19 19: ; preds = %31, %4 %20 = load ptr, ptr %9, align 8 %21 = load ptr, ptr %6, align 8 %22 = call ptr @strstr(ptr noundef %20, ptr noundef %21) store ptr %22, ptr %9, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %29 24: ; preds = %19 %25 = load i32, ptr %11, align 4 %26 = load i32, ptr %8, align 4 %27 = sub nsw i32 %26, 1 %28 = icmp slt i32 %25, %27 br label %29 29: ; preds = %24, %19 %30 = phi i1 [ false, %19 ], [ %28, %24 ] br i1 %30, label %31, label %41 31: ; preds = %29 %32 = load ptr, ptr %9, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %9, align 8 store i8 0, ptr %32, align 1 %34 = load ptr, ptr %10, align 8 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %11, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %11, align 4 %38 = sext i32 %36 to i64 %39 = getelementptr inbounds ptr, ptr %35, i64 %38 store ptr %34, ptr %39, align 8 %40 = load ptr, ptr %9, align 8 store ptr %40, ptr %10, align 8 br label %19, !llvm.loop !6 41: ; preds = %29 %42 = load ptr, ptr %10, align 8 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %57 46: ; preds = %41 %47 = load i32, ptr %11, align 4 %48 = load i32, ptr %8, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %50, label %57 50: ; preds = %46 %51 = load ptr, ptr %10, align 8 %52 = load ptr, ptr %7, align 8 %53 = load i32, ptr %11, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %11, align 4 %55 = sext i32 %53 to i64 %56 = getelementptr inbounds ptr, ptr %52, i64 %55 store ptr %51, ptr %56, align 8 br label %57 57: ; preds = %50, %46, %41 %58 = load i32, ptr %11, align 4 ret i32 %58 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @strstr(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/tmpy4cgkixi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strcut(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %12 = load ptr, ptr %5, align 8 store ptr %12, ptr %9, align 8 store ptr %12, ptr %10, align 8 store i32 0, ptr %11, align 4 %13 = load ptr, ptr %7, align 8 %14 = load i32, ptr %8, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 %15, 8 %17 = trunc i64 %16 to i32 %18 = call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef %17) br label %19 19: ; preds = %31, %4 %20 = load ptr, ptr %9, align 8 %21 = load ptr, ptr %6, align 8 %22 = call ptr @strstr(ptr noundef %20, ptr noundef %21) store ptr %22, ptr %9, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %29 24: ; preds = %19 %25 = load i32, ptr %11, align 4 %26 = load i32, ptr %8, align 4 %27 = sub nsw i32 %26, 1 %28 = icmp slt i32 %25, %27 br label %29 29: ; preds = %24, %19 %30 = phi i1 [ false, %19 ], [ %28, %24 ] br i1 %30, label %31, label %41 31: ; preds = %29 %32 = load ptr, ptr %9, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %9, align 8 store i8 0, ptr %32, align 1 %34 = load ptr, ptr %10, align 8 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %11, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %11, align 4 %38 = sext i32 %36 to i64 %39 = getelementptr inbounds ptr, ptr %35, i64 %38 store ptr %34, ptr %39, align 8 %40 = load ptr, ptr %9, align 8 store ptr %40, ptr %10, align 8 br label %19, !llvm.loop !6 41: ; preds = %29 %42 = load ptr, ptr %10, align 8 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %57 46: ; preds = %41 %47 = load i32, ptr %11, align 4 %48 = load i32, ptr %8, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %50, label %57 50: ; preds = %46 %51 = load ptr, ptr %10, align 8 %52 = load ptr, ptr %7, align 8 %53 = load i32, ptr %11, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %11, align 4 %55 = sext i32 %53 to i64 %56 = getelementptr inbounds ptr, ptr %52, i64 %55 store ptr %51, ptr %56, align 8 br label %57 57: ; preds = %50, %46, %41 %58 = load i32, ptr %11, align 4 ret i32 %58 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @strstr(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/tmpomrnfp75.c' source_filename = "/tmp/tmpomrnfp75.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @log.log2 = internal global float 0x3FE62E4300000000, align 4 @log.sqrto2 = internal global float 0x3FE6A09E60000000, align 4 @log.p0 = internal global float 0xC038039020000000, align 4 @log.p1 = internal global float 0x403EF51120000000, align 4 @log.p2 = internal global float 0xC023467F60000000, align 4 @log.p3 = internal global float 0x3FDAF31880000000, align 4 @log.q0 = internal global float 0xC028039020000000, align 4 @log.q1 = internal global float 0x40337B20A0000000, align 4 @log.q2 = internal global float 0xC021D27CE0000000, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @log(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca i32, align 4 store float %0, ptr %3, align 4 %9 = load float, ptr %3, align 4 %10 = fpext float %9 to double %11 = fcmp ole double %10, 0.000000e+00 br i1 %11, label %12, label %13 12: ; preds = %1 store float 0xFFF0000000000000, ptr %2, align 4 br label %80 13: ; preds = %1 %14 = load float, ptr %3, align 4 %15 = call float @frexp(float noundef %14, ptr noundef %8) store float %15, ptr %4, align 4 br label %16 16: ; preds = %20, %13 %17 = load float, ptr %4, align 4 %18 = fpext float %17 to double %19 = fcmp olt double %18, 5.000000e-01 br i1 %19, label %20, label %25 20: ; preds = %16 %21 = load float, ptr %4, align 4 %22 = fmul float %21, 2.000000e+00 store float %22, ptr %4, align 4 %23 = load i32, ptr %8, align 4 %24 = sub nsw i32 %23, 1 store i32 %24, ptr %8, align 4 br label %16, !llvm.loop !6 25: ; preds = %16 %26 = load float, ptr %4, align 4 %27 = load float, ptr @log.sqrto2, align 4 %28 = fcmp olt float %26, %27 br i1 %28, label %29, label %34 29: ; preds = %25 %30 = load float, ptr %4, align 4 %31 = fmul float 2.000000e+00, %30 store float %31, ptr %4, align 4 %32 = load i32, ptr %8, align 4 %33 = sub nsw i32 %32, 1 store i32 %33, ptr %8, align 4 br label %34 34: ; preds = %29, %25 %35 = load float, ptr %4, align 4 %36 = fsub float %35, 1.000000e+00 %37 = load float, ptr %4, align 4 %38 = fadd float %37, 1.000000e+00 %39 = fdiv float %36, %38 store float %39, ptr %5, align 4 %40 = load float, ptr %5, align 4 %41 = load float, ptr %5, align 4 %42 = fmul float %40, %41 store float %42, ptr %6, align 4 %43 = load float, ptr @log.p3, align 4 %44 = load float, ptr %6, align 4 %45 = load float, ptr @log.p2, align 4 %46 = call float @llvm.fmuladd.f32(float %43, float %44, float %45) %47 = load float, ptr %6, align 4 %48 = load float, ptr @log.p1, align 4 %49 = call float @llvm.fmuladd.f32(float %46, float %47, float %48) %50 = load float, ptr %6, align 4 %51 = load float, ptr @log.p0, align 4 %52 = call float @llvm.fmuladd.f32(float %49, float %50, float %51) store float %52, ptr %7, align 4 %53 = load float, ptr %7, align 4 %54 = fpext float %53 to double %55 = load float, ptr %6, align 4 %56 = fpext float %55 to double %57 = load float, ptr @log.q2, align 4 %58 = fpext float %57 to double %59 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %56, double %58) %60 = load float, ptr %6, align 4 %61 = fpext float %60 to double %62 = load float, ptr @log.q1, align 4 %63 = fpext float %62 to double %64 = call double @llvm.fmuladd.f64(double %59, double %61, double %63) %65 = load float, ptr %6, align 4 %66 = fpext float %65 to double %67 = load float, ptr @log.q0, align 4 %68 = fpext float %67 to double %69 = call double @llvm.fmuladd.f64(double %64, double %66, double %68) %70 = fdiv double %54, %69 %71 = fptrunc double %70 to float store float %71, ptr %7, align 4 %72 = load float, ptr %7, align 4 %73 = load float, ptr %5, align 4 %74 = load i32, ptr %8, align 4 %75 = sitofp i32 %74 to float %76 = load float, ptr @log.log2, align 4 %77 = fmul float %75, %76 %78 = call float @llvm.fmuladd.f32(float %72, float %73, float %77) store float %78, ptr %7, align 4 %79 = load float, ptr %7, align 4 store float %79, ptr %2, align 4 br label %80 80: ; preds = %34, %12 %81 = load float, ptr %2, align 4 ret float %81 } declare float @frexp(float noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpomrnfp75.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @log.log2 = internal global float 0x3FE62E4300000000, align 4 @log.sqrto2 = internal global float 0x3FE6A09E60000000, align 4 @log.p0 = internal global float 0xC038039020000000, align 4 @log.p1 = internal global float 0x403EF51120000000, align 4 @log.p2 = internal global float 0xC023467F60000000, align 4 @log.p3 = internal global float 0x3FDAF31880000000, align 4 @log.q0 = internal global float 0xC028039020000000, align 4 @log.q1 = internal global float 0x40337B20A0000000, align 4 @log.q2 = internal global float 0xC021D27CE0000000, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @log(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca i32, align 4 store float %0, ptr %3, align 4 %9 = load float, ptr %3, align 4 %10 = fpext float %9 to double %11 = fcmp ole double %10, 0.000000e+00 br i1 %11, label %12, label %13 12: ; preds = %1 store float 0xFFF0000000000000, ptr %2, align 4 br label %82 13: ; preds = %1 %14 = load float, ptr %3, align 4 %15 = call float @frexp(float noundef %14, ptr noundef %8) store float %15, ptr %4, align 4 %16 = load float, ptr %4, align 4 %17 = fpext float %16 to double %18 = fcmp olt double %17, 5.000000e-01 br i1 %18, label %.lr.ph, label %27 .lr.ph: ; preds = %13 br label %19 19: ; preds = %.lr.ph, %19 %20 = load float, ptr %4, align 4 %21 = fmul float %20, 2.000000e+00 store float %21, ptr %4, align 4 %22 = load i32, ptr %8, align 4 %23 = sub nsw i32 %22, 1 store i32 %23, ptr %8, align 4 %24 = load float, ptr %4, align 4 %25 = fpext float %24 to double %26 = fcmp olt double %25, 5.000000e-01 br i1 %26, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %27 27: ; preds = %._crit_edge, %13 %28 = load float, ptr %4, align 4 %29 = load float, ptr @log.sqrto2, align 4 %30 = fcmp olt float %28, %29 br i1 %30, label %31, label %36 31: ; preds = %27 %32 = load float, ptr %4, align 4 %33 = fmul float 2.000000e+00, %32 store float %33, ptr %4, align 4 %34 = load i32, ptr %8, align 4 %35 = sub nsw i32 %34, 1 store i32 %35, ptr %8, align 4 br label %36 36: ; preds = %31, %27 %37 = load float, ptr %4, align 4 %38 = fsub float %37, 1.000000e+00 %39 = load float, ptr %4, align 4 %40 = fadd float %39, 1.000000e+00 %41 = fdiv float %38, %40 store float %41, ptr %5, align 4 %42 = load float, ptr %5, align 4 %43 = load float, ptr %5, align 4 %44 = fmul float %42, %43 store float %44, ptr %6, align 4 %45 = load float, ptr @log.p3, align 4 %46 = load float, ptr %6, align 4 %47 = load float, ptr @log.p2, align 4 %48 = call float @llvm.fmuladd.f32(float %45, float %46, float %47) %49 = load float, ptr %6, align 4 %50 = load float, ptr @log.p1, align 4 %51 = call float @llvm.fmuladd.f32(float %48, float %49, float %50) %52 = load float, ptr %6, align 4 %53 = load float, ptr @log.p0, align 4 %54 = call float @llvm.fmuladd.f32(float %51, float %52, float %53) store float %54, ptr %7, align 4 %55 = load float, ptr %7, align 4 %56 = fpext float %55 to double %57 = load float, ptr %6, align 4 %58 = fpext float %57 to double %59 = load float, ptr @log.q2, align 4 %60 = fpext float %59 to double %61 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %58, double %60) %62 = load float, ptr %6, align 4 %63 = fpext float %62 to double %64 = load float, ptr @log.q1, align 4 %65 = fpext float %64 to double %66 = call double @llvm.fmuladd.f64(double %61, double %63, double %65) %67 = load float, ptr %6, align 4 %68 = fpext float %67 to double %69 = load float, ptr @log.q0, align 4 %70 = fpext float %69 to double %71 = call double @llvm.fmuladd.f64(double %66, double %68, double %70) %72 = fdiv double %56, %71 %73 = fptrunc double %72 to float store float %73, ptr %7, align 4 %74 = load float, ptr %7, align 4 %75 = load float, ptr %5, align 4 %76 = load i32, ptr %8, align 4 %77 = sitofp i32 %76 to float %78 = load float, ptr @log.log2, align 4 %79 = fmul float %77, %78 %80 = call float @llvm.fmuladd.f32(float %74, float %75, float %79) store float %80, ptr %7, align 4 %81 = load float, ptr %7, align 4 store float %81, ptr %2, align 4 br label %82 82: ; preds = %36, %12 %83 = load float, ptr %2, align 4 ret float %83 } declare float @frexp(float noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpxed0jsrp.c' source_filename = "/tmp/tmpxed0jsrp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @open_key_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %7, label %6 6: ; preds = %1 store ptr null, ptr %2, align 8 br label %10 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %2, align 8 br label %10 10: ; preds = %7, %6 %11 = load ptr, ptr %2, align 8 ret ptr %11 } declare ptr @fopen(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/tmpxed0jsrp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @open_key_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %7, label %6 6: ; preds = %1 store ptr null, ptr %2, align 8 br label %10 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %2, align 8 br label %10 10: ; preds = %7, %6 %11 = load ptr, ptr %2, align 8 ret ptr %11 } declare ptr @fopen(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/tmpxp68psqn.c' source_filename = "/tmp/tmpxp68psqn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [93 x i8] c"DT1INFO v 0.97 beta, by Paul Siramy, Freeware\0A=============================================\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"syntaxe : dt1info <file.dt1>\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"can't open %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 ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = load i32, ptr %3, 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.1) %11 = call i32 @exit(i32 noundef 0) #3 unreachable 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str.2) store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %5, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %25 19: ; preds = %12 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %22) %24 = call i32 @exit(i32 noundef 1) #3 unreachable 25: ; preds = %12 %26 = load ptr, ptr %5, align 8 %27 = call i32 @tab_txt_output(ptr noundef %26) %28 = load ptr, ptr %5, align 8 %29 = call i32 @fclose(ptr noundef %28) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @tab_txt_output(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpxp68psqn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [93 x i8] c"DT1INFO v 0.97 beta, by Paul Siramy, Freeware\0A=============================================\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"syntaxe : dt1info <file.dt1>\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"can't open %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 ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = load i32, ptr %3, 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.1) %11 = call i32 @exit(i32 noundef 0) #3 unreachable 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str.2) store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %5, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %25 19: ; preds = %12 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %22) %24 = call i32 @exit(i32 noundef 1) #3 unreachable 25: ; preds = %12 %26 = load ptr, ptr %5, align 8 %27 = call i32 @tab_txt_output(ptr noundef %26) %28 = load ptr, ptr %5, align 8 %29 = call i32 @fclose(ptr noundef %28) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @tab_txt_output(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpskrdel15.c' source_filename = "/tmp/tmpskrdel15.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flash_5() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [4 x i32], align 16 store i32 75, ptr %1, align 4 store i32 8, ptr %2, align 4 store i32 7, ptr %3, align 4 br label %5 5: ; preds = %14, %0 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 11 br i1 %7, label %8, label %17 8: ; preds = %5 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 %10, 7 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %12 store i32 %9, ptr %13, align 4 br label %14 14: ; preds = %8 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 br label %5, !llvm.loop !6 17: ; preds = %5 br label %18 18: ; preds = %96, %17 %19 = load i32, ptr %2, align 4 %20 = add nsw i32 %19, -1 store i32 %20, ptr %2, align 4 %21 = icmp ne i32 %19, 0 br i1 %21, label %22, label %99 22: ; preds = %18 store i32 0, ptr %3, align 4 br label %23 23: ; preds = %73, %22 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %24, 4 br i1 %25, label %26, label %76 26: ; preds = %23 %27 = load i32, ptr %3, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %28 %30 = load i32, ptr %29, align 4 %31 = icmp slt i32 %30, 8 br i1 %31, label %32, label %48 32: ; preds = %26 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %3, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %35 %37 = load i32, ptr %36, align 4 %38 = load i32, ptr %3, align 4 %39 = load i32, ptr %3, align 4 %40 = sub nsw i32 7, %39 %41 = load i32, ptr %3, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %42 %44 = load i32, ptr %43, align 4 %45 = load i32, ptr %3, align 4 %46 = sub nsw i32 7, %45 %47 = call i32 @box_apeak_xy(i32 noundef %33, i32 noundef %37, i32 noundef %38, i32 noundef %40, i32 noundef %44, i32 noundef %46, i32 noundef 0, i32 noundef 1) br label %48 48: ; preds = %32, %26 %49 = load i32, ptr %3, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %50 %52 = load i32, ptr %51, align 4 %53 = icmp slt i32 %52, 7 br i1 %53, label %54, label %72 54: ; preds = %48 %55 = load i32, ptr %3, align 4 %56 = load i32, ptr %3, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %57 %59 = load i32, ptr %58, align 4 %60 = add nsw i32 %59, 1 %61 = load i32, ptr %3, align 4 %62 = load i32, ptr %3, align 4 %63 = sub nsw i32 7, %62 %64 = load i32, ptr %3, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %65 %67 = load i32, ptr %66, align 4 %68 = add nsw i32 %67, 1 %69 = load i32, ptr %3, align 4 %70 = sub nsw i32 7, %69 %71 = call i32 @box_apeak_xy(i32 noundef %55, i32 noundef %60, i32 noundef %61, i32 noundef %63, i32 noundef %68, i32 noundef %70, i32 noundef 0, i32 noundef 0) br label %72 72: ; preds = %54, %48 br label %73 73: ; preds = %72 %74 = load i32, ptr %3, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %3, align 4 br label %23, !llvm.loop !8 76: ; preds = %23 store i32 0, ptr %3, align 4 br label %77 77: ; preds = %93, %76 %78 = load i32, ptr %3, align 4 %79 = icmp slt i32 %78, 4 br i1 %79, label %80, label %96 80: ; preds = %77 %81 = load i32, ptr %3, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %82 %84 = load i32, ptr %83, align 4 %85 = icmp sgt i32 %84, 3 br i1 %85, label %86, label %92 86: ; preds = %80 %87 = load i32, ptr %3, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %88 %90 = load i32, ptr %89, align 4 %91 = add nsw i32 %90, -1 store i32 %91, ptr %89, align 4 br label %92 92: ; preds = %86, %80 br label %93 93: ; preds = %92 %94 = load i32, ptr %3, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %3, align 4 br label %77, !llvm.loop !9 96: ; preds = %77 %97 = load i32, ptr %1, align 4 %98 = call i32 @delay_ms(i32 noundef %97) br label %18, !llvm.loop !10 99: ; preds = %18 store i32 3, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %100 100: ; preds = %109, %99 %101 = load i32, ptr %3, align 4 %102 = icmp slt i32 %101, 4 br i1 %102, label %103, label %112 103: ; preds = %100 %104 = load i32, ptr %3, align 4 %105 = sub nsw i32 5, %104 %106 = load i32, ptr %3, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %107 store i32 %105, ptr %108, align 4 br label %109 109: ; preds = %103 %110 = load i32, ptr %3, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %3, align 4 br label %100, !llvm.loop !11 112: ; preds = %100 br label %113 113: ; preds = %191, %112 %114 = load i32, ptr %2, align 4 %115 = add nsw i32 %114, -1 store i32 %115, ptr %2, align 4 %116 = icmp ne i32 %114, 0 br i1 %116, label %117, label %194 117: ; preds = %113 store i32 1, ptr %3, align 4 br label %118 118: ; preds = %168, %117 %119 = load i32, ptr %3, align 4 %120 = icmp slt i32 %119, 4 br i1 %120, label %121, label %171 121: ; preds = %118 %122 = load i32, ptr %3, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %123 %125 = load i32, ptr %124, align 4 %126 = icmp slt i32 %125, 4 br i1 %126, label %127, label %143 127: ; preds = %121 %128 = load i32, ptr %3, align 4 %129 = load i32, ptr %3, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %130 %132 = load i32, ptr %131, align 4 %133 = load i32, ptr %3, align 4 %134 = load i32, ptr %3, align 4 %135 = sub nsw i32 7, %134 %136 = load i32, ptr %3, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %137 %139 = load i32, ptr %138, align 4 %140 = load i32, ptr %3, align 4 %141 = sub nsw i32 7, %140 %142 = call i32 @box_apeak_xy(i32 noundef %128, i32 noundef %132, i32 noundef %133, i32 noundef %135, i32 noundef %139, i32 noundef %141, i32 noundef 0, i32 noundef 1) br label %143 143: ; preds = %127, %121 %144 = load i32, ptr %3, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %145 %147 = load i32, ptr %146, align 4 %148 = icmp slt i32 %147, 3 br i1 %148, label %149, label %167 149: ; preds = %143 %150 = load i32, ptr %3, align 4 %151 = load i32, ptr %3, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %152 %154 = load i32, ptr %153, align 4 %155 = add nsw i32 %154, 1 %156 = load i32, ptr %3, align 4 %157 = load i32, ptr %3, align 4 %158 = sub nsw i32 7, %157 %159 = load i32, ptr %3, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %160 %162 = load i32, ptr %161, align 4 %163 = add nsw i32 %162, 1 %164 = load i32, ptr %3, align 4 %165 = sub nsw i32 7, %164 %166 = call i32 @box_apeak_xy(i32 noundef %150, i32 noundef %155, i32 noundef %156, i32 noundef %158, i32 noundef %163, i32 noundef %165, i32 noundef 0, i32 noundef 0) br label %167 167: ; preds = %149, %143 br label %168 168: ; preds = %167 %169 = load i32, ptr %3, align 4 %170 = add nsw i32 %169, 1 store i32 %170, ptr %3, align 4 br label %118, !llvm.loop !12 171: ; preds = %118 store i32 0, ptr %3, align 4 br label %172 172: ; preds = %188, %171 %173 = load i32, ptr %3, align 4 %174 = icmp slt i32 %173, 4 br i1 %174, label %175, label %191 175: ; preds = %172 %176 = load i32, ptr %3, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %177 %179 = load i32, ptr %178, align 4 %180 = icmp sgt i32 %179, 0 br i1 %180, label %181, label %187 181: ; preds = %175 %182 = load i32, ptr %3, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %183 %185 = load i32, ptr %184, align 4 %186 = add nsw i32 %185, -1 store i32 %186, ptr %184, align 4 br label %187 187: ; preds = %181, %175 br label %188 188: ; preds = %187 %189 = load i32, ptr %3, align 4 %190 = add nsw i32 %189, 1 store i32 %190, ptr %3, align 4 br label %172, !llvm.loop !13 191: ; preds = %172 %192 = load i32, ptr %1, align 4 %193 = call i32 @delay_ms(i32 noundef %192) br label %113, !llvm.loop !14 194: ; preds = %113 store i32 3, ptr %2, align 4 store i32 1, ptr %3, align 4 br label %195 195: ; preds = %204, %194 %196 = load i32, ptr %3, align 4 %197 = icmp slt i32 %196, 4 br i1 %197, label %198, label %207 198: ; preds = %195 %199 = load i32, ptr %3, align 4 %200 = sub nsw i32 4, %199 %201 = load i32, ptr %3, align 4 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %202 store i32 %200, ptr %203, align 4 br label %204 204: ; preds = %198 %205 = load i32, ptr %3, align 4 %206 = add nsw i32 %205, 1 store i32 %206, ptr %3, align 4 br label %195, !llvm.loop !15 207: ; preds = %195 br label %208 208: ; preds = %286, %207 %209 = load i32, ptr %2, align 4 %210 = add nsw i32 %209, -1 store i32 %210, ptr %2, align 4 %211 = icmp ne i32 %209, 0 br i1 %211, label %212, label %289 212: ; preds = %208 store i32 1, ptr %3, align 4 br label %213 213: ; preds = %263, %212 %214 = load i32, ptr %3, align 4 %215 = icmp slt i32 %214, 4 br i1 %215, label %216, label %266 216: ; preds = %213 %217 = load i32, ptr %3, align 4 %218 = sext i32 %217 to i64 %219 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %218 %220 = load i32, ptr %219, align 4 %221 = icmp sge i32 %220, 0 br i1 %221, label %222, label %238 222: ; preds = %216 %223 = load i32, ptr %3, align 4 %224 = load i32, ptr %3, align 4 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %225 %227 = load i32, ptr %226, align 4 %228 = load i32, ptr %3, align 4 %229 = load i32, ptr %3, align 4 %230 = sub nsw i32 7, %229 %231 = load i32, ptr %3, align 4 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %232 %234 = load i32, ptr %233, align 4 %235 = load i32, ptr %3, align 4 %236 = sub nsw i32 7, %235 %237 = call i32 @box_apeak_xy(i32 noundef %223, i32 noundef %227, i32 noundef %228, i32 noundef %230, i32 noundef %234, i32 noundef %236, i32 noundef 0, i32 noundef 1) br label %238 238: ; preds = %222, %216 %239 = load i32, ptr %3, align 4 %240 = sext i32 %239 to i64 %241 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %240 %242 = load i32, ptr %241, align 4 %243 = icmp sgt i32 %242, 0 br i1 %243, label %244, label %262 244: ; preds = %238 %245 = load i32, ptr %3, align 4 %246 = load i32, ptr %3, align 4 %247 = sext i32 %246 to i64 %248 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %247 %249 = load i32, ptr %248, align 4 %250 = sub nsw i32 %249, 1 %251 = load i32, ptr %3, align 4 %252 = load i32, ptr %3, align 4 %253 = sub nsw i32 7, %252 %254 = load i32, ptr %3, align 4 %255 = sext i32 %254 to i64 %256 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %255 %257 = load i32, ptr %256, align 4 %258 = sub nsw i32 %257, 1 %259 = load i32, ptr %3, align 4 %260 = sub nsw i32 7, %259 %261 = call i32 @box_apeak_xy(i32 noundef %245, i32 noundef %250, i32 noundef %251, i32 noundef %253, i32 noundef %258, i32 noundef %260, i32 noundef 0, i32 noundef 0) br label %262 262: ; preds = %244, %238 br label %263 263: ; preds = %262 %264 = load i32, ptr %3, align 4 %265 = add nsw i32 %264, 1 store i32 %265, ptr %3, align 4 br label %213, !llvm.loop !16 266: ; preds = %213 store i32 1, ptr %3, align 4 br label %267 267: ; preds = %283, %266 %268 = load i32, ptr %3, align 4 %269 = icmp slt i32 %268, 4 br i1 %269, label %270, label %286 270: ; preds = %267 %271 = load i32, ptr %3, align 4 %272 = sext i32 %271 to i64 %273 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %272 %274 = load i32, ptr %273, align 4 %275 = icmp slt i32 %274, 3 br i1 %275, label %276, label %282 276: ; preds = %270 %277 = load i32, ptr %3, align 4 %278 = sext i32 %277 to i64 %279 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %278 %280 = load i32, ptr %279, align 4 %281 = add nsw i32 %280, 1 store i32 %281, ptr %279, align 4 br label %282 282: ; preds = %276, %270 br label %283 283: ; preds = %282 %284 = load i32, ptr %3, align 4 %285 = add nsw i32 %284, 1 store i32 %285, ptr %3, align 4 br label %267, !llvm.loop !17 286: ; preds = %267 %287 = load i32, ptr %1, align 4 %288 = call i32 @delay_ms(i32 noundef %287) br label %208, !llvm.loop !18 289: ; preds = %208 store i32 3, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %290 290: ; preds = %299, %289 %291 = load i32, ptr %3, align 4 %292 = icmp slt i32 %291, 4 br i1 %292, label %293, label %302 293: ; preds = %290 %294 = load i32, ptr %3, align 4 %295 = add nsw i32 %294, 1 %296 = load i32, ptr %3, align 4 %297 = sext i32 %296 to i64 %298 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %297 store i32 %295, ptr %298, align 4 br label %299 299: ; preds = %293 %300 = load i32, ptr %3, align 4 %301 = add nsw i32 %300, 1 store i32 %301, ptr %3, align 4 br label %290, !llvm.loop !19 302: ; preds = %290 br label %303 303: ; preds = %374, %302 %304 = load i32, ptr %2, align 4 %305 = add nsw i32 %304, -1 store i32 %305, ptr %2, align 4 %306 = icmp ne i32 %304, 0 br i1 %306, label %307, label %377 307: ; preds = %303 store i32 1, ptr %3, align 4 br label %308 308: ; preds = %358, %307 %309 = load i32, ptr %3, align 4 %310 = icmp slt i32 %309, 4 br i1 %310, label %311, label %361 311: ; preds = %308 %312 = load i32, ptr %3, align 4 %313 = sext i32 %312 to i64 %314 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %313 %315 = load i32, ptr %314, align 4 %316 = icmp sgt i32 %315, 3 br i1 %316, label %317, label %333 317: ; preds = %311 %318 = load i32, ptr %3, align 4 %319 = load i32, ptr %3, align 4 %320 = sext i32 %319 to i64 %321 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %320 %322 = load i32, ptr %321, align 4 %323 = load i32, ptr %3, align 4 %324 = load i32, ptr %3, align 4 %325 = sub nsw i32 7, %324 %326 = load i32, ptr %3, align 4 %327 = sext i32 %326 to i64 %328 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %327 %329 = load i32, ptr %328, align 4 %330 = load i32, ptr %3, align 4 %331 = sub nsw i32 7, %330 %332 = call i32 @box_apeak_xy(i32 noundef %318, i32 noundef %322, i32 noundef %323, i32 noundef %325, i32 noundef %329, i32 noundef %331, i32 noundef 0, i32 noundef 1) br label %333 333: ; preds = %317, %311 %334 = load i32, ptr %3, align 4 %335 = sext i32 %334 to i64 %336 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %335 %337 = load i32, ptr %336, align 4 %338 = icmp sgt i32 %337, 3 br i1 %338, label %339, label %357 339: ; preds = %333 %340 = load i32, ptr %3, align 4 %341 = load i32, ptr %3, align 4 %342 = sext i32 %341 to i64 %343 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %342 %344 = load i32, ptr %343, align 4 %345 = sub nsw i32 %344, 1 %346 = load i32, ptr %3, align 4 %347 = load i32, ptr %3, align 4 %348 = sub nsw i32 7, %347 %349 = load i32, ptr %3, align 4 %350 = sext i32 %349 to i64 %351 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %350 %352 = load i32, ptr %351, align 4 %353 = sub nsw i32 %352, 1 %354 = load i32, ptr %3, align 4 %355 = sub nsw i32 7, %354 %356 = call i32 @box_apeak_xy(i32 noundef %340, i32 noundef %345, i32 noundef %346, i32 noundef %348, i32 noundef %353, i32 noundef %355, i32 noundef 0, i32 noundef 0) br label %357 357: ; preds = %339, %333 br label %358 358: ; preds = %357 %359 = load i32, ptr %3, align 4 %360 = add nsw i32 %359, 1 store i32 %360, ptr %3, align 4 br label %308, !llvm.loop !20 361: ; preds = %308 store i32 0, ptr %3, align 4 br label %362 362: ; preds = %371, %361 %363 = load i32, ptr %3, align 4 %364 = icmp slt i32 %363, 4 br i1 %364, label %365, label %374 365: ; preds = %362 %366 = load i32, ptr %3, align 4 %367 = sext i32 %366 to i64 %368 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %367 %369 = load i32, ptr %368, align 4 %370 = add nsw i32 %369, 1 store i32 %370, ptr %368, align 4 br label %371 371: ; preds = %365 %372 = load i32, ptr %3, align 4 %373 = add nsw i32 %372, 1 store i32 %373, ptr %3, align 4 br label %362, !llvm.loop !21 374: ; preds = %362 %375 = load i32, ptr %1, align 4 %376 = call i32 @delay_ms(i32 noundef %375) br label %303, !llvm.loop !22 377: ; preds = %303 store i32 3, ptr %2, align 4 store i32 3, ptr %3, align 4 br label %378 378: ; preds = %387, %377 %379 = load i32, ptr %3, align 4 %380 = icmp slt i32 %379, 6 br i1 %380, label %381, label %390 381: ; preds = %378 %382 = load i32, ptr %3, align 4 %383 = load i32, ptr %3, align 4 %384 = sub nsw i32 %383, 2 %385 = sext i32 %384 to i64 %386 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %385 store i32 %382, ptr %386, align 4 br label %387 387: ; preds = %381 %388 = load i32, ptr %3, align 4 %389 = add nsw i32 %388, 1 store i32 %389, ptr %3, align 4 br label %378, !llvm.loop !23 390: ; preds = %378 br label %391 391: ; preds = %455, %390 %392 = load i32, ptr %2, align 4 %393 = add nsw i32 %392, -1 store i32 %393, ptr %2, align 4 %394 = icmp ne i32 %392, 0 br i1 %394, label %395, label %458 395: ; preds = %391 store i32 1, ptr %3, align 4 br label %396 396: ; preds = %432, %395 %397 = load i32, ptr %3, align 4 %398 = icmp slt i32 %397, 4 br i1 %398, label %399, label %435 399: ; preds = %396 %400 = load i32, ptr %3, align 4 %401 = load i32, ptr %3, align 4 %402 = sext i32 %401 to i64 %403 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %402 %404 = load i32, ptr %403, align 4 %405 = load i32, ptr %3, align 4 %406 = load i32, ptr %3, align 4 %407 = sub nsw i32 7, %406 %408 = load i32, ptr %3, align 4 %409 = sext i32 %408 to i64 %410 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %409 %411 = load i32, ptr %410, align 4 %412 = load i32, ptr %3, align 4 %413 = sub nsw i32 7, %412 %414 = call i32 @box_apeak_xy(i32 noundef %400, i32 noundef %404, i32 noundef %405, i32 noundef %407, i32 noundef %411, i32 noundef %413, i32 noundef 0, i32 noundef 1) %415 = load i32, ptr %3, align 4 %416 = load i32, ptr %3, align 4 %417 = sext i32 %416 to i64 %418 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %417 %419 = load i32, ptr %418, align 4 %420 = add nsw i32 %419, 1 %421 = load i32, ptr %3, align 4 %422 = load i32, ptr %3, align 4 %423 = sub nsw i32 7, %422 %424 = load i32, ptr %3, align 4 %425 = sext i32 %424 to i64 %426 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %425 %427 = load i32, ptr %426, align 4 %428 = add nsw i32 %427, 1 %429 = load i32, ptr %3, align 4 %430 = sub nsw i32 7, %429 %431 = call i32 @box_apeak_xy(i32 noundef %415, i32 noundef %420, i32 noundef %421, i32 noundef %423, i32 noundef %428, i32 noundef %430, i32 noundef 0, i32 noundef 0) br label %432 432: ; preds = %399 %433 = load i32, ptr %3, align 4 %434 = add nsw i32 %433, 1 store i32 %434, ptr %3, align 4 br label %396, !llvm.loop !24 435: ; preds = %396 store i32 0, ptr %3, align 4 br label %436 436: ; preds = %452, %435 %437 = load i32, ptr %3, align 4 %438 = icmp slt i32 %437, 4 br i1 %438, label %439, label %455 439: ; preds = %436 %440 = load i32, ptr %3, align 4 %441 = sext i32 %440 to i64 %442 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %441 %443 = load i32, ptr %442, align 4 %444 = icmp sgt i32 %443, 3 br i1 %444, label %445, label %451 445: ; preds = %439 %446 = load i32, ptr %3, align 4 %447 = sext i32 %446 to i64 %448 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %447 %449 = load i32, ptr %448, align 4 %450 = add nsw i32 %449, -1 store i32 %450, ptr %448, align 4 br label %451 451: ; preds = %445, %439 br label %452 452: ; preds = %451 %453 = load i32, ptr %3, align 4 %454 = add nsw i32 %453, 1 store i32 %454, ptr %3, align 4 br label %436, !llvm.loop !25 455: ; preds = %436 %456 = load i32, ptr %1, align 4 %457 = call i32 @delay_ms(i32 noundef %456) br label %391, !llvm.loop !26 458: ; preds = %391 store i32 3, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %459 459: ; preds = %468, %458 %460 = load i32, ptr %3, align 4 %461 = icmp slt i32 %460, 4 br i1 %461, label %462, label %471 462: ; preds = %459 %463 = load i32, ptr %3, align 4 %464 = sub nsw i32 5, %463 %465 = load i32, ptr %3, align 4 %466 = sext i32 %465 to i64 %467 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %466 store i32 %464, ptr %467, align 4 br label %468 468: ; preds = %462 %469 = load i32, ptr %3, align 4 %470 = add nsw i32 %469, 1 store i32 %470, ptr %3, align 4 br label %459, !llvm.loop !27 471: ; preds = %459 br label %472 472: ; preds = %550, %471 %473 = load i32, ptr %2, align 4 %474 = add nsw i32 %473, -1 store i32 %474, ptr %2, align 4 %475 = icmp ne i32 %473, 0 br i1 %475, label %476, label %553 476: ; preds = %472 store i32 1, ptr %3, align 4 br label %477 477: ; preds = %527, %476 %478 = load i32, ptr %3, align 4 %479 = icmp slt i32 %478, 4 br i1 %479, label %480, label %530 480: ; preds = %477 %481 = load i32, ptr %3, align 4 %482 = sext i32 %481 to i64 %483 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %482 %484 = load i32, ptr %483, align 4 %485 = icmp slt i32 %484, 4 br i1 %485, label %486, label %502 486: ; preds = %480 %487 = load i32, ptr %3, align 4 %488 = load i32, ptr %3, align 4 %489 = sext i32 %488 to i64 %490 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %489 %491 = load i32, ptr %490, align 4 %492 = load i32, ptr %3, align 4 %493 = load i32, ptr %3, align 4 %494 = sub nsw i32 7, %493 %495 = load i32, ptr %3, align 4 %496 = sext i32 %495 to i64 %497 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %496 %498 = load i32, ptr %497, align 4 %499 = load i32, ptr %3, align 4 %500 = sub nsw i32 7, %499 %501 = call i32 @box_apeak_xy(i32 noundef %487, i32 noundef %491, i32 noundef %492, i32 noundef %494, i32 noundef %498, i32 noundef %500, i32 noundef 0, i32 noundef 1) br label %502 502: ; preds = %486, %480 %503 = load i32, ptr %3, align 4 %504 = sext i32 %503 to i64 %505 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %504 %506 = load i32, ptr %505, align 4 %507 = icmp slt i32 %506, 3 br i1 %507, label %508, label %526 508: ; preds = %502 %509 = load i32, ptr %3, align 4 %510 = load i32, ptr %3, align 4 %511 = sext i32 %510 to i64 %512 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %511 %513 = load i32, ptr %512, align 4 %514 = add nsw i32 %513, 1 %515 = load i32, ptr %3, align 4 %516 = load i32, ptr %3, align 4 %517 = sub nsw i32 7, %516 %518 = load i32, ptr %3, align 4 %519 = sext i32 %518 to i64 %520 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %519 %521 = load i32, ptr %520, align 4 %522 = add nsw i32 %521, 1 %523 = load i32, ptr %3, align 4 %524 = sub nsw i32 7, %523 %525 = call i32 @box_apeak_xy(i32 noundef %509, i32 noundef %514, i32 noundef %515, i32 noundef %517, i32 noundef %522, i32 noundef %524, i32 noundef 0, i32 noundef 0) br label %526 526: ; preds = %508, %502 br label %527 527: ; preds = %526 %528 = load i32, ptr %3, align 4 %529 = add nsw i32 %528, 1 store i32 %529, ptr %3, align 4 br label %477, !llvm.loop !28 530: ; preds = %477 store i32 0, ptr %3, align 4 br label %531 531: ; preds = %547, %530 %532 = load i32, ptr %3, align 4 %533 = icmp slt i32 %532, 4 br i1 %533, label %534, label %550 534: ; preds = %531 %535 = load i32, ptr %3, align 4 %536 = sext i32 %535 to i64 %537 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %536 %538 = load i32, ptr %537, align 4 %539 = icmp sgt i32 %538, 0 br i1 %539, label %540, label %546 540: ; preds = %534 %541 = load i32, ptr %3, align 4 %542 = sext i32 %541 to i64 %543 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %542 %544 = load i32, ptr %543, align 4 %545 = add nsw i32 %544, -1 store i32 %545, ptr %543, align 4 br label %546 546: ; preds = %540, %534 br label %547 547: ; preds = %546 %548 = load i32, ptr %3, align 4 %549 = add nsw i32 %548, 1 store i32 %549, ptr %3, align 4 br label %531, !llvm.loop !29 550: ; preds = %531 %551 = load i32, ptr %1, align 4 %552 = call i32 @delay_ms(i32 noundef %551) br label %472, !llvm.loop !30 553: ; preds = %472 store i32 3, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %554 554: ; preds = %563, %553 %555 = load i32, ptr %3, align 4 %556 = icmp slt i32 %555, 4 br i1 %556, label %557, label %566 557: ; preds = %554 %558 = load i32, ptr %3, align 4 %559 = sub nsw i32 3, %558 %560 = load i32, ptr %3, align 4 %561 = sext i32 %560 to i64 %562 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %561 store i32 %559, ptr %562, align 4 br label %563 563: ; preds = %557 %564 = load i32, ptr %3, align 4 %565 = add nsw i32 %564, 1 store i32 %565, ptr %3, align 4 br label %554, !llvm.loop !31 566: ; preds = %554 %567 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0 store i32 2, ptr %567, align 16 br label %568 568: ; preds = %645, %566 %569 = load i32, ptr %2, align 4 %570 = add nsw i32 %569, -1 store i32 %570, ptr %2, align 4 %571 = icmp ne i32 %569, 0 br i1 %571, label %572, label %648 572: ; preds = %568 store i32 0, ptr %3, align 4 br label %573 573: ; preds = %623, %572 %574 = load i32, ptr %3, align 4 %575 = icmp slt i32 %574, 3 br i1 %575, label %576, label %626 576: ; preds = %573 %577 = load i32, ptr %3, align 4 %578 = sext i32 %577 to i64 %579 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %578 %580 = load i32, ptr %579, align 4 %581 = icmp sge i32 %580, 0 br i1 %581, label %582, label %598 582: ; preds = %576 %583 = load i32, ptr %3, align 4 %584 = load i32, ptr %3, align 4 %585 = sext i32 %584 to i64 %586 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %585 %587 = load i32, ptr %586, align 4 %588 = load i32, ptr %3, align 4 %589 = load i32, ptr %3, align 4 %590 = sub nsw i32 7, %589 %591 = load i32, ptr %3, align 4 %592 = sext i32 %591 to i64 %593 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %592 %594 = load i32, ptr %593, align 4 %595 = load i32, ptr %3, align 4 %596 = sub nsw i32 7, %595 %597 = call i32 @box_apeak_xy(i32 noundef %583, i32 noundef %587, i32 noundef %588, i32 noundef %590, i32 noundef %594, i32 noundef %596, i32 noundef 0, i32 noundef 1) br label %598 598: ; preds = %582, %576 %599 = load i32, ptr %3, align 4 %600 = sext i32 %599 to i64 %601 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %600 %602 = load i32, ptr %601, align 4 %603 = icmp sge i32 %602, 0 br i1 %603, label %604, label %622 604: ; preds = %598 %605 = load i32, ptr %3, align 4 %606 = load i32, ptr %3, align 4 %607 = sext i32 %606 to i64 %608 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %607 %609 = load i32, ptr %608, align 4 %610 = add nsw i32 %609, 1 %611 = load i32, ptr %3, align 4 %612 = load i32, ptr %3, align 4 %613 = sub nsw i32 7, %612 %614 = load i32, ptr %3, align 4 %615 = sext i32 %614 to i64 %616 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %615 %617 = load i32, ptr %616, align 4 %618 = add nsw i32 %617, 1 %619 = load i32, ptr %3, align 4 %620 = sub nsw i32 7, %619 %621 = call i32 @box_apeak_xy(i32 noundef %605, i32 noundef %610, i32 noundef %611, i32 noundef %613, i32 noundef %618, i32 noundef %620, i32 noundef 0, i32 noundef 0) br label %622 622: ; preds = %604, %598 br label %623 623: ; preds = %622 %624 = load i32, ptr %3, align 4 %625 = add nsw i32 %624, 1 store i32 %625, ptr %3, align 4 br label %573, !llvm.loop !32 626: ; preds = %573 store i32 0, ptr %3, align 4 br label %627 627: ; preds = %642, %626 %628 = load i32, ptr %3, align 4 %629 = icmp slt i32 %628, 4 br i1 %629, label %630, label %645 630: ; preds = %627 %631 = load i32, ptr %3, align 4 %632 = load i32, ptr %2, align 4 %633 = sub nsw i32 5, %632 %634 = icmp slt i32 %631, %633 br i1 %634, label %635, label %641 635: ; preds = %630 %636 = load i32, ptr %3, align 4 %637 = sext i32 %636 to i64 %638 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %637 %639 = load i32, ptr %638, align 4 %640 = add nsw i32 %639, -1 store i32 %640, ptr %638, align 4 br label %641 641: ; preds = %635, %630 br label %642 642: ; preds = %641 %643 = load i32, ptr %3, align 4 %644 = add nsw i32 %643, 1 store i32 %644, ptr %3, align 4 br label %627, !llvm.loop !33 645: ; preds = %627 %646 = load i32, ptr %1, align 4 %647 = call i32 @delay_ms(i32 noundef %646) br label %568, !llvm.loop !34 648: ; preds = %568 store i32 10, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %649 649: ; preds = %658, %648 %650 = load i32, ptr %3, align 4 %651 = icmp slt i32 %650, 4 br i1 %651, label %652, label %661 652: ; preds = %649 %653 = load i32, ptr %3, align 4 %654 = sub nsw i32 %653, 2 %655 = load i32, ptr %3, align 4 %656 = sext i32 %655 to i64 %657 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %656 store i32 %654, ptr %657, align 4 br label %658 658: ; preds = %652 %659 = load i32, ptr %3, align 4 %660 = add nsw i32 %659, 1 store i32 %660, ptr %3, align 4 br label %649, !llvm.loop !35 661: ; preds = %649 br label %662 662: ; preds = %740, %661 %663 = load i32, ptr %2, align 4 %664 = add nsw i32 %663, -1 store i32 %664, ptr %2, align 4 %665 = icmp ne i32 %663, 0 br i1 %665, label %666, label %743 666: ; preds = %662 store i32 0, ptr %3, align 4 br label %667 667: ; preds = %717, %666 %668 = load i32, ptr %3, align 4 %669 = icmp slt i32 %668, 4 br i1 %669, label %670, label %720 670: ; preds = %667 %671 = load i32, ptr %3, align 4 %672 = sext i32 %671 to i64 %673 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %672 %674 = load i32, ptr %673, align 4 %675 = icmp sge i32 %674, 0 br i1 %675, label %676, label %692 676: ; preds = %670 %677 = load i32, ptr %3, align 4 %678 = load i32, ptr %3, align 4 %679 = sext i32 %678 to i64 %680 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %679 %681 = load i32, ptr %680, align 4 %682 = load i32, ptr %3, align 4 %683 = load i32, ptr %3, align 4 %684 = sub nsw i32 7, %683 %685 = load i32, ptr %3, align 4 %686 = sext i32 %685 to i64 %687 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %686 %688 = load i32, ptr %687, align 4 %689 = load i32, ptr %3, align 4 %690 = sub nsw i32 7, %689 %691 = call i32 @box_apeak_xy(i32 noundef %677, i32 noundef %681, i32 noundef %682, i32 noundef %684, i32 noundef %688, i32 noundef %690, i32 noundef 0, i32 noundef 1) br label %692 692: ; preds = %676, %670 %693 = load i32, ptr %3, align 4 %694 = sext i32 %693 to i64 %695 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %694 %696 = load i32, ptr %695, align 4 %697 = icmp sge i32 %696, 0 br i1 %697, label %698, label %716 698: ; preds = %692 %699 = load i32, ptr %3, align 4 %700 = load i32, ptr %3, align 4 %701 = sext i32 %700 to i64 %702 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %701 %703 = load i32, ptr %702, align 4 %704 = sub nsw i32 %703, 1 %705 = load i32, ptr %3, align 4 %706 = load i32, ptr %3, align 4 %707 = sub nsw i32 7, %706 %708 = load i32, ptr %3, align 4 %709 = sext i32 %708 to i64 %710 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %709 %711 = load i32, ptr %710, align 4 %712 = sub nsw i32 %711, 1 %713 = load i32, ptr %3, align 4 %714 = sub nsw i32 7, %713 %715 = call i32 @box_apeak_xy(i32 noundef %699, i32 noundef %704, i32 noundef %705, i32 noundef %707, i32 noundef %712, i32 noundef %714, i32 noundef 0, i32 noundef 0) br label %716 716: ; preds = %698, %692 br label %717 717: ; preds = %716 %718 = load i32, ptr %3, align 4 %719 = add nsw i32 %718, 1 store i32 %719, ptr %3, align 4 br label %667, !llvm.loop !36 720: ; preds = %667 store i32 0, ptr %3, align 4 br label %721 721: ; preds = %737, %720 %722 = load i32, ptr %3, align 4 %723 = icmp slt i32 %722, 4 br i1 %723, label %724, label %740 724: ; preds = %721 %725 = load i32, ptr %3, align 4 %726 = sext i32 %725 to i64 %727 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %726 %728 = load i32, ptr %727, align 4 %729 = icmp slt i32 %728, 7 br i1 %729, label %730, label %736 730: ; preds = %724 %731 = load i32, ptr %3, align 4 %732 = sext i32 %731 to i64 %733 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %732 %734 = load i32, ptr %733, align 4 %735 = add nsw i32 %734, 1 store i32 %735, ptr %733, align 4 br label %736 736: ; preds = %730, %724 br label %737 737: ; preds = %736 %738 = load i32, ptr %3, align 4 %739 = add nsw i32 %738, 1 store i32 %739, ptr %3, align 4 br label %721, !llvm.loop !37 740: ; preds = %721 %741 = load i32, ptr %1, align 4 %742 = call i32 @delay_ms(i32 noundef %741) br label %662, !llvm.loop !38 743: ; preds = %662 ret void } declare i32 @box_apeak_xy(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @delay_ms(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7} !21 = distinct !{!21, !7} !22 = distinct !{!22, !7} !23 = distinct !{!23, !7} !24 = distinct !{!24, !7} !25 = distinct !{!25, !7} !26 = distinct !{!26, !7} !27 = distinct !{!27, !7} !28 = distinct !{!28, !7} !29 = distinct !{!29, !7} !30 = distinct !{!30, !7} !31 = distinct !{!31, !7} !32 = distinct !{!32, !7} !33 = distinct !{!33, !7} !34 = distinct !{!34, !7} !35 = distinct !{!35, !7} !36 = distinct !{!36, !7} !37 = distinct !{!37, !7} !38 = distinct !{!38, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpskrdel15.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flash_5() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [4 x i32], align 16 store i32 75, ptr %1, align 4 store i32 8, ptr %2, align 4 store i32 7, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 11 br i1 %6, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %13 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = sub nsw i32 %9, 7 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %11 store i32 %8, ptr %12, align 4 br label %13 13: ; preds = %7 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %16, 11 br i1 %17, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %0 %19 = load i32, ptr %2, align 4 %20 = add nsw i32 %19, -1 store i32 %20, ptr %2, align 4 %21 = icmp ne i32 %19, 0 br i1 %21, label %.lr.ph8, label %104 .lr.ph8: ; preds = %18 br label %22 22: ; preds = %.lr.ph8, %98 store i32 0, ptr %3, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp slt i32 %23, 4 br i1 %24, label %.lr.ph2, label %77 .lr.ph2: ; preds = %22 br label %25 25: ; preds = %.lr.ph2, %72 %26 = load i32, ptr %3, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %27 %29 = load i32, ptr %28, align 4 %30 = icmp slt i32 %29, 8 br i1 %30, label %31, label %47 31: ; preds = %25 %32 = load i32, ptr %3, align 4 %33 = load i32, ptr %3, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %34 %36 = load i32, ptr %35, align 4 %37 = load i32, ptr %3, align 4 %38 = load i32, ptr %3, align 4 %39 = sub nsw i32 7, %38 %40 = load i32, ptr %3, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %41 %43 = load i32, ptr %42, align 4 %44 = load i32, ptr %3, align 4 %45 = sub nsw i32 7, %44 %46 = call i32 @box_apeak_xy(i32 noundef %32, i32 noundef %36, i32 noundef %37, i32 noundef %39, i32 noundef %43, i32 noundef %45, i32 noundef 0, i32 noundef 1) br label %47 47: ; preds = %31, %25 %48 = load i32, ptr %3, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %49 %51 = load i32, ptr %50, align 4 %52 = icmp slt i32 %51, 7 br i1 %52, label %53, label %71 53: ; preds = %47 %54 = load i32, ptr %3, align 4 %55 = load i32, ptr %3, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %56 %58 = load i32, ptr %57, align 4 %59 = add nsw i32 %58, 1 %60 = load i32, ptr %3, align 4 %61 = load i32, ptr %3, align 4 %62 = sub nsw i32 7, %61 %63 = load i32, ptr %3, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %64 %66 = load i32, ptr %65, align 4 %67 = add nsw i32 %66, 1 %68 = load i32, ptr %3, align 4 %69 = sub nsw i32 7, %68 %70 = call i32 @box_apeak_xy(i32 noundef %54, i32 noundef %59, i32 noundef %60, i32 noundef %62, i32 noundef %67, i32 noundef %69, i32 noundef 0, i32 noundef 0) br label %71 71: ; preds = %53, %47 br label %72 72: ; preds = %71 %73 = load i32, ptr %3, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %3, align 4 %75 = load i32, ptr %3, align 4 %76 = icmp slt i32 %75, 4 br i1 %76, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %72 br label %77 77: ; preds = %._crit_edge3, %22 store i32 0, ptr %3, align 4 %78 = load i32, ptr %3, align 4 %79 = icmp slt i32 %78, 4 br i1 %79, label %.lr.ph5, label %98 .lr.ph5: ; preds = %77 br label %80 80: ; preds = %.lr.ph5, %93 %81 = load i32, ptr %3, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %82 %84 = load i32, ptr %83, align 4 %85 = icmp sgt i32 %84, 3 br i1 %85, label %86, label %92 86: ; preds = %80 %87 = load i32, ptr %3, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %88 %90 = load i32, ptr %89, align 4 %91 = add nsw i32 %90, -1 store i32 %91, ptr %89, align 4 br label %92 92: ; preds = %86, %80 br label %93 93: ; preds = %92 %94 = load i32, ptr %3, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %3, align 4 %96 = load i32, ptr %3, align 4 %97 = icmp slt i32 %96, 4 br i1 %97, label %80, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %93 br label %98 98: ; preds = %._crit_edge6, %77 %99 = load i32, ptr %1, align 4 %100 = call i32 @delay_ms(i32 noundef %99) %101 = load i32, ptr %2, align 4 %102 = add nsw i32 %101, -1 store i32 %102, ptr %2, align 4 %103 = icmp ne i32 %101, 0 br i1 %103, label %22, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %98 br label %104 104: ; preds = %._crit_edge9, %18 store i32 3, ptr %2, align 4 store i32 0, ptr %3, align 4 %105 = load i32, ptr %3, align 4 %106 = icmp slt i32 %105, 4 br i1 %106, label %.lr.ph11, label %118 .lr.ph11: ; preds = %104 br label %107 107: ; preds = %.lr.ph11, %113 %108 = load i32, ptr %3, align 4 %109 = sub nsw i32 5, %108 %110 = load i32, ptr %3, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %111 store i32 %109, ptr %112, align 4 br label %113 113: ; preds = %107 %114 = load i32, ptr %3, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %3, align 4 %116 = load i32, ptr %3, align 4 %117 = icmp slt i32 %116, 4 br i1 %117, label %107, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %113 br label %118 118: ; preds = %._crit_edge12, %104 %119 = load i32, ptr %2, align 4 %120 = add nsw i32 %119, -1 store i32 %120, ptr %2, align 4 %121 = icmp ne i32 %119, 0 br i1 %121, label %.lr.ph20, label %204 .lr.ph20: ; preds = %118 br label %122 122: ; preds = %.lr.ph20, %198 store i32 1, ptr %3, align 4 %123 = load i32, ptr %3, align 4 %124 = icmp slt i32 %123, 4 br i1 %124, label %.lr.ph14, label %177 .lr.ph14: ; preds = %122 br label %125 125: ; preds = %.lr.ph14, %172 %126 = load i32, ptr %3, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %127 %129 = load i32, ptr %128, align 4 %130 = icmp slt i32 %129, 4 br i1 %130, label %131, label %147 131: ; preds = %125 %132 = load i32, ptr %3, align 4 %133 = load i32, ptr %3, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %134 %136 = load i32, ptr %135, align 4 %137 = load i32, ptr %3, align 4 %138 = load i32, ptr %3, align 4 %139 = sub nsw i32 7, %138 %140 = load i32, ptr %3, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %141 %143 = load i32, ptr %142, align 4 %144 = load i32, ptr %3, align 4 %145 = sub nsw i32 7, %144 %146 = call i32 @box_apeak_xy(i32 noundef %132, i32 noundef %136, i32 noundef %137, i32 noundef %139, i32 noundef %143, i32 noundef %145, i32 noundef 0, i32 noundef 1) br label %147 147: ; preds = %131, %125 %148 = load i32, ptr %3, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %149 %151 = load i32, ptr %150, align 4 %152 = icmp slt i32 %151, 3 br i1 %152, label %153, label %171 153: ; preds = %147 %154 = load i32, ptr %3, align 4 %155 = load i32, ptr %3, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %156 %158 = load i32, ptr %157, align 4 %159 = add nsw i32 %158, 1 %160 = load i32, ptr %3, align 4 %161 = load i32, ptr %3, align 4 %162 = sub nsw i32 7, %161 %163 = load i32, ptr %3, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %164 %166 = load i32, ptr %165, align 4 %167 = add nsw i32 %166, 1 %168 = load i32, ptr %3, align 4 %169 = sub nsw i32 7, %168 %170 = call i32 @box_apeak_xy(i32 noundef %154, i32 noundef %159, i32 noundef %160, i32 noundef %162, i32 noundef %167, i32 noundef %169, i32 noundef 0, i32 noundef 0) br label %171 171: ; preds = %153, %147 br label %172 172: ; preds = %171 %173 = load i32, ptr %3, align 4 %174 = add nsw i32 %173, 1 store i32 %174, ptr %3, align 4 %175 = load i32, ptr %3, align 4 %176 = icmp slt i32 %175, 4 br i1 %176, label %125, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %172 br label %177 177: ; preds = %._crit_edge15, %122 store i32 0, ptr %3, align 4 %178 = load i32, ptr %3, align 4 %179 = icmp slt i32 %178, 4 br i1 %179, label %.lr.ph17, label %198 .lr.ph17: ; preds = %177 br label %180 180: ; preds = %.lr.ph17, %193 %181 = load i32, ptr %3, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %182 %184 = load i32, ptr %183, align 4 %185 = icmp sgt i32 %184, 0 br i1 %185, label %186, label %192 186: ; preds = %180 %187 = load i32, ptr %3, align 4 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %188 %190 = load i32, ptr %189, align 4 %191 = add nsw i32 %190, -1 store i32 %191, ptr %189, align 4 br label %192 192: ; preds = %186, %180 br label %193 193: ; preds = %192 %194 = load i32, ptr %3, align 4 %195 = add nsw i32 %194, 1 store i32 %195, ptr %3, align 4 %196 = load i32, ptr %3, align 4 %197 = icmp slt i32 %196, 4 br i1 %197, label %180, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %193 br label %198 198: ; preds = %._crit_edge18, %177 %199 = load i32, ptr %1, align 4 %200 = call i32 @delay_ms(i32 noundef %199) %201 = load i32, ptr %2, align 4 %202 = add nsw i32 %201, -1 store i32 %202, ptr %2, align 4 %203 = icmp ne i32 %201, 0 br i1 %203, label %122, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %198 br label %204 204: ; preds = %._crit_edge21, %118 store i32 3, ptr %2, align 4 store i32 1, ptr %3, align 4 %205 = load i32, ptr %3, align 4 %206 = icmp slt i32 %205, 4 br i1 %206, label %.lr.ph23, label %218 .lr.ph23: ; preds = %204 br label %207 207: ; preds = %.lr.ph23, %213 %208 = load i32, ptr %3, align 4 %209 = sub nsw i32 4, %208 %210 = load i32, ptr %3, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %211 store i32 %209, ptr %212, align 4 br label %213 213: ; preds = %207 %214 = load i32, ptr %3, align 4 %215 = add nsw i32 %214, 1 store i32 %215, ptr %3, align 4 %216 = load i32, ptr %3, align 4 %217 = icmp slt i32 %216, 4 br i1 %217, label %207, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %213 br label %218 218: ; preds = %._crit_edge24, %204 %219 = load i32, ptr %2, align 4 %220 = add nsw i32 %219, -1 store i32 %220, ptr %2, align 4 %221 = icmp ne i32 %219, 0 br i1 %221, label %.lr.ph32, label %304 .lr.ph32: ; preds = %218 br label %222 222: ; preds = %.lr.ph32, %298 store i32 1, ptr %3, align 4 %223 = load i32, ptr %3, align 4 %224 = icmp slt i32 %223, 4 br i1 %224, label %.lr.ph26, label %277 .lr.ph26: ; preds = %222 br label %225 225: ; preds = %.lr.ph26, %272 %226 = load i32, ptr %3, align 4 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %227 %229 = load i32, ptr %228, align 4 %230 = icmp sge i32 %229, 0 br i1 %230, label %231, label %247 231: ; preds = %225 %232 = load i32, ptr %3, align 4 %233 = load i32, ptr %3, align 4 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %234 %236 = load i32, ptr %235, align 4 %237 = load i32, ptr %3, align 4 %238 = load i32, ptr %3, align 4 %239 = sub nsw i32 7, %238 %240 = load i32, ptr %3, align 4 %241 = sext i32 %240 to i64 %242 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %241 %243 = load i32, ptr %242, align 4 %244 = load i32, ptr %3, align 4 %245 = sub nsw i32 7, %244 %246 = call i32 @box_apeak_xy(i32 noundef %232, i32 noundef %236, i32 noundef %237, i32 noundef %239, i32 noundef %243, i32 noundef %245, i32 noundef 0, i32 noundef 1) br label %247 247: ; preds = %231, %225 %248 = load i32, ptr %3, align 4 %249 = sext i32 %248 to i64 %250 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %249 %251 = load i32, ptr %250, align 4 %252 = icmp sgt i32 %251, 0 br i1 %252, label %253, label %271 253: ; preds = %247 %254 = load i32, ptr %3, align 4 %255 = load i32, ptr %3, align 4 %256 = sext i32 %255 to i64 %257 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %256 %258 = load i32, ptr %257, align 4 %259 = sub nsw i32 %258, 1 %260 = load i32, ptr %3, align 4 %261 = load i32, ptr %3, align 4 %262 = sub nsw i32 7, %261 %263 = load i32, ptr %3, align 4 %264 = sext i32 %263 to i64 %265 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %264 %266 = load i32, ptr %265, align 4 %267 = sub nsw i32 %266, 1 %268 = load i32, ptr %3, align 4 %269 = sub nsw i32 7, %268 %270 = call i32 @box_apeak_xy(i32 noundef %254, i32 noundef %259, i32 noundef %260, i32 noundef %262, i32 noundef %267, i32 noundef %269, i32 noundef 0, i32 noundef 0) br label %271 271: ; preds = %253, %247 br label %272 272: ; preds = %271 %273 = load i32, ptr %3, align 4 %274 = add nsw i32 %273, 1 store i32 %274, ptr %3, align 4 %275 = load i32, ptr %3, align 4 %276 = icmp slt i32 %275, 4 br i1 %276, label %225, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %272 br label %277 277: ; preds = %._crit_edge27, %222 store i32 1, ptr %3, align 4 %278 = load i32, ptr %3, align 4 %279 = icmp slt i32 %278, 4 br i1 %279, label %.lr.ph29, label %298 .lr.ph29: ; preds = %277 br label %280 280: ; preds = %.lr.ph29, %293 %281 = load i32, ptr %3, align 4 %282 = sext i32 %281 to i64 %283 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %282 %284 = load i32, ptr %283, align 4 %285 = icmp slt i32 %284, 3 br i1 %285, label %286, label %292 286: ; preds = %280 %287 = load i32, ptr %3, align 4 %288 = sext i32 %287 to i64 %289 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %288 %290 = load i32, ptr %289, align 4 %291 = add nsw i32 %290, 1 store i32 %291, ptr %289, align 4 br label %292 292: ; preds = %286, %280 br label %293 293: ; preds = %292 %294 = load i32, ptr %3, align 4 %295 = add nsw i32 %294, 1 store i32 %295, ptr %3, align 4 %296 = load i32, ptr %3, align 4 %297 = icmp slt i32 %296, 4 br i1 %297, label %280, label %._crit_edge30, !llvm.loop !17 ._crit_edge30: ; preds = %293 br label %298 298: ; preds = %._crit_edge30, %277 %299 = load i32, ptr %1, align 4 %300 = call i32 @delay_ms(i32 noundef %299) %301 = load i32, ptr %2, align 4 %302 = add nsw i32 %301, -1 store i32 %302, ptr %2, align 4 %303 = icmp ne i32 %301, 0 br i1 %303, label %222, label %._crit_edge33, !llvm.loop !18 ._crit_edge33: ; preds = %298 br label %304 304: ; preds = %._crit_edge33, %218 store i32 3, ptr %2, align 4 store i32 0, ptr %3, align 4 %305 = load i32, ptr %3, align 4 %306 = icmp slt i32 %305, 4 br i1 %306, label %.lr.ph35, label %318 .lr.ph35: ; preds = %304 br label %307 307: ; preds = %.lr.ph35, %313 %308 = load i32, ptr %3, align 4 %309 = add nsw i32 %308, 1 %310 = load i32, ptr %3, align 4 %311 = sext i32 %310 to i64 %312 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %311 store i32 %309, ptr %312, align 4 br label %313 313: ; preds = %307 %314 = load i32, ptr %3, align 4 %315 = add nsw i32 %314, 1 store i32 %315, ptr %3, align 4 %316 = load i32, ptr %3, align 4 %317 = icmp slt i32 %316, 4 br i1 %317, label %307, label %._crit_edge36, !llvm.loop !19 ._crit_edge36: ; preds = %313 br label %318 318: ; preds = %._crit_edge36, %304 %319 = load i32, ptr %2, align 4 %320 = add nsw i32 %319, -1 store i32 %320, ptr %2, align 4 %321 = icmp ne i32 %319, 0 br i1 %321, label %.lr.ph44, label %397 .lr.ph44: ; preds = %318 br label %322 322: ; preds = %.lr.ph44, %391 store i32 1, ptr %3, align 4 %323 = load i32, ptr %3, align 4 %324 = icmp slt i32 %323, 4 br i1 %324, label %.lr.ph38, label %377 .lr.ph38: ; preds = %322 br label %325 325: ; preds = %.lr.ph38, %372 %326 = load i32, ptr %3, align 4 %327 = sext i32 %326 to i64 %328 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %327 %329 = load i32, ptr %328, align 4 %330 = icmp sgt i32 %329, 3 br i1 %330, label %331, label %347 331: ; preds = %325 %332 = load i32, ptr %3, align 4 %333 = load i32, ptr %3, align 4 %334 = sext i32 %333 to i64 %335 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %334 %336 = load i32, ptr %335, align 4 %337 = load i32, ptr %3, align 4 %338 = load i32, ptr %3, align 4 %339 = sub nsw i32 7, %338 %340 = load i32, ptr %3, align 4 %341 = sext i32 %340 to i64 %342 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %341 %343 = load i32, ptr %342, align 4 %344 = load i32, ptr %3, align 4 %345 = sub nsw i32 7, %344 %346 = call i32 @box_apeak_xy(i32 noundef %332, i32 noundef %336, i32 noundef %337, i32 noundef %339, i32 noundef %343, i32 noundef %345, i32 noundef 0, i32 noundef 1) br label %347 347: ; preds = %331, %325 %348 = load i32, ptr %3, align 4 %349 = sext i32 %348 to i64 %350 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %349 %351 = load i32, ptr %350, align 4 %352 = icmp sgt i32 %351, 3 br i1 %352, label %353, label %371 353: ; preds = %347 %354 = load i32, ptr %3, align 4 %355 = load i32, ptr %3, align 4 %356 = sext i32 %355 to i64 %357 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %356 %358 = load i32, ptr %357, align 4 %359 = sub nsw i32 %358, 1 %360 = load i32, ptr %3, align 4 %361 = load i32, ptr %3, align 4 %362 = sub nsw i32 7, %361 %363 = load i32, ptr %3, align 4 %364 = sext i32 %363 to i64 %365 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %364 %366 = load i32, ptr %365, align 4 %367 = sub nsw i32 %366, 1 %368 = load i32, ptr %3, align 4 %369 = sub nsw i32 7, %368 %370 = call i32 @box_apeak_xy(i32 noundef %354, i32 noundef %359, i32 noundef %360, i32 noundef %362, i32 noundef %367, i32 noundef %369, i32 noundef 0, i32 noundef 0) br label %371 371: ; preds = %353, %347 br label %372 372: ; preds = %371 %373 = load i32, ptr %3, align 4 %374 = add nsw i32 %373, 1 store i32 %374, ptr %3, align 4 %375 = load i32, ptr %3, align 4 %376 = icmp slt i32 %375, 4 br i1 %376, label %325, label %._crit_edge39, !llvm.loop !20 ._crit_edge39: ; preds = %372 br label %377 377: ; preds = %._crit_edge39, %322 store i32 0, ptr %3, align 4 %378 = load i32, ptr %3, align 4 %379 = icmp slt i32 %378, 4 br i1 %379, label %.lr.ph41, label %391 .lr.ph41: ; preds = %377 br label %380 380: ; preds = %.lr.ph41, %386 %381 = load i32, ptr %3, align 4 %382 = sext i32 %381 to i64 %383 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %382 %384 = load i32, ptr %383, align 4 %385 = add nsw i32 %384, 1 store i32 %385, ptr %383, align 4 br label %386 386: ; preds = %380 %387 = load i32, ptr %3, align 4 %388 = add nsw i32 %387, 1 store i32 %388, ptr %3, align 4 %389 = load i32, ptr %3, align 4 %390 = icmp slt i32 %389, 4 br i1 %390, label %380, label %._crit_edge42, !llvm.loop !21 ._crit_edge42: ; preds = %386 br label %391 391: ; preds = %._crit_edge42, %377 %392 = load i32, ptr %1, align 4 %393 = call i32 @delay_ms(i32 noundef %392) %394 = load i32, ptr %2, align 4 %395 = add nsw i32 %394, -1 store i32 %395, ptr %2, align 4 %396 = icmp ne i32 %394, 0 br i1 %396, label %322, label %._crit_edge45, !llvm.loop !22 ._crit_edge45: ; preds = %391 br label %397 397: ; preds = %._crit_edge45, %318 store i32 3, ptr %2, align 4 store i32 3, ptr %3, align 4 %398 = load i32, ptr %3, align 4 %399 = icmp slt i32 %398, 6 br i1 %399, label %.lr.ph47, label %411 .lr.ph47: ; preds = %397 br label %400 400: ; preds = %.lr.ph47, %406 %401 = load i32, ptr %3, align 4 %402 = load i32, ptr %3, align 4 %403 = sub nsw i32 %402, 2 %404 = sext i32 %403 to i64 %405 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %404 store i32 %401, ptr %405, align 4 br label %406 406: ; preds = %400 %407 = load i32, ptr %3, align 4 %408 = add nsw i32 %407, 1 store i32 %408, ptr %3, align 4 %409 = load i32, ptr %3, align 4 %410 = icmp slt i32 %409, 6 br i1 %410, label %400, label %._crit_edge48, !llvm.loop !23 ._crit_edge48: ; preds = %406 br label %411 411: ; preds = %._crit_edge48, %397 %412 = load i32, ptr %2, align 4 %413 = add nsw i32 %412, -1 store i32 %413, ptr %2, align 4 %414 = icmp ne i32 %412, 0 br i1 %414, label %.lr.ph56, label %483 .lr.ph56: ; preds = %411 br label %415 415: ; preds = %.lr.ph56, %477 store i32 1, ptr %3, align 4 %416 = load i32, ptr %3, align 4 %417 = icmp slt i32 %416, 4 br i1 %417, label %.lr.ph50, label %456 .lr.ph50: ; preds = %415 br label %418 418: ; preds = %.lr.ph50, %451 %419 = load i32, ptr %3, align 4 %420 = load i32, ptr %3, align 4 %421 = sext i32 %420 to i64 %422 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %421 %423 = load i32, ptr %422, align 4 %424 = load i32, ptr %3, align 4 %425 = load i32, ptr %3, align 4 %426 = sub nsw i32 7, %425 %427 = load i32, ptr %3, align 4 %428 = sext i32 %427 to i64 %429 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %428 %430 = load i32, ptr %429, align 4 %431 = load i32, ptr %3, align 4 %432 = sub nsw i32 7, %431 %433 = call i32 @box_apeak_xy(i32 noundef %419, i32 noundef %423, i32 noundef %424, i32 noundef %426, i32 noundef %430, i32 noundef %432, i32 noundef 0, i32 noundef 1) %434 = load i32, ptr %3, align 4 %435 = load i32, ptr %3, align 4 %436 = sext i32 %435 to i64 %437 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %436 %438 = load i32, ptr %437, align 4 %439 = add nsw i32 %438, 1 %440 = load i32, ptr %3, align 4 %441 = load i32, ptr %3, align 4 %442 = sub nsw i32 7, %441 %443 = load i32, ptr %3, align 4 %444 = sext i32 %443 to i64 %445 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %444 %446 = load i32, ptr %445, align 4 %447 = add nsw i32 %446, 1 %448 = load i32, ptr %3, align 4 %449 = sub nsw i32 7, %448 %450 = call i32 @box_apeak_xy(i32 noundef %434, i32 noundef %439, i32 noundef %440, i32 noundef %442, i32 noundef %447, i32 noundef %449, i32 noundef 0, i32 noundef 0) br label %451 451: ; preds = %418 %452 = load i32, ptr %3, align 4 %453 = add nsw i32 %452, 1 store i32 %453, ptr %3, align 4 %454 = load i32, ptr %3, align 4 %455 = icmp slt i32 %454, 4 br i1 %455, label %418, label %._crit_edge51, !llvm.loop !24 ._crit_edge51: ; preds = %451 br label %456 456: ; preds = %._crit_edge51, %415 store i32 0, ptr %3, align 4 %457 = load i32, ptr %3, align 4 %458 = icmp slt i32 %457, 4 br i1 %458, label %.lr.ph53, label %477 .lr.ph53: ; preds = %456 br label %459 459: ; preds = %.lr.ph53, %472 %460 = load i32, ptr %3, align 4 %461 = sext i32 %460 to i64 %462 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %461 %463 = load i32, ptr %462, align 4 %464 = icmp sgt i32 %463, 3 br i1 %464, label %465, label %471 465: ; preds = %459 %466 = load i32, ptr %3, align 4 %467 = sext i32 %466 to i64 %468 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %467 %469 = load i32, ptr %468, align 4 %470 = add nsw i32 %469, -1 store i32 %470, ptr %468, align 4 br label %471 471: ; preds = %465, %459 br label %472 472: ; preds = %471 %473 = load i32, ptr %3, align 4 %474 = add nsw i32 %473, 1 store i32 %474, ptr %3, align 4 %475 = load i32, ptr %3, align 4 %476 = icmp slt i32 %475, 4 br i1 %476, label %459, label %._crit_edge54, !llvm.loop !25 ._crit_edge54: ; preds = %472 br label %477 477: ; preds = %._crit_edge54, %456 %478 = load i32, ptr %1, align 4 %479 = call i32 @delay_ms(i32 noundef %478) %480 = load i32, ptr %2, align 4 %481 = add nsw i32 %480, -1 store i32 %481, ptr %2, align 4 %482 = icmp ne i32 %480, 0 br i1 %482, label %415, label %._crit_edge57, !llvm.loop !26 ._crit_edge57: ; preds = %477 br label %483 483: ; preds = %._crit_edge57, %411 store i32 3, ptr %2, align 4 store i32 0, ptr %3, align 4 %484 = load i32, ptr %3, align 4 %485 = icmp slt i32 %484, 4 br i1 %485, label %.lr.ph59, label %497 .lr.ph59: ; preds = %483 br label %486 486: ; preds = %.lr.ph59, %492 %487 = load i32, ptr %3, align 4 %488 = sub nsw i32 5, %487 %489 = load i32, ptr %3, align 4 %490 = sext i32 %489 to i64 %491 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %490 store i32 %488, ptr %491, align 4 br label %492 492: ; preds = %486 %493 = load i32, ptr %3, align 4 %494 = add nsw i32 %493, 1 store i32 %494, ptr %3, align 4 %495 = load i32, ptr %3, align 4 %496 = icmp slt i32 %495, 4 br i1 %496, label %486, label %._crit_edge60, !llvm.loop !27 ._crit_edge60: ; preds = %492 br label %497 497: ; preds = %._crit_edge60, %483 %498 = load i32, ptr %2, align 4 %499 = add nsw i32 %498, -1 store i32 %499, ptr %2, align 4 %500 = icmp ne i32 %498, 0 br i1 %500, label %.lr.ph68, label %583 .lr.ph68: ; preds = %497 br label %501 501: ; preds = %.lr.ph68, %577 store i32 1, ptr %3, align 4 %502 = load i32, ptr %3, align 4 %503 = icmp slt i32 %502, 4 br i1 %503, label %.lr.ph62, label %556 .lr.ph62: ; preds = %501 br label %504 504: ; preds = %.lr.ph62, %551 %505 = load i32, ptr %3, align 4 %506 = sext i32 %505 to i64 %507 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %506 %508 = load i32, ptr %507, align 4 %509 = icmp slt i32 %508, 4 br i1 %509, label %510, label %526 510: ; preds = %504 %511 = load i32, ptr %3, align 4 %512 = load i32, ptr %3, align 4 %513 = sext i32 %512 to i64 %514 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %513 %515 = load i32, ptr %514, align 4 %516 = load i32, ptr %3, align 4 %517 = load i32, ptr %3, align 4 %518 = sub nsw i32 7, %517 %519 = load i32, ptr %3, align 4 %520 = sext i32 %519 to i64 %521 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %520 %522 = load i32, ptr %521, align 4 %523 = load i32, ptr %3, align 4 %524 = sub nsw i32 7, %523 %525 = call i32 @box_apeak_xy(i32 noundef %511, i32 noundef %515, i32 noundef %516, i32 noundef %518, i32 noundef %522, i32 noundef %524, i32 noundef 0, i32 noundef 1) br label %526 526: ; preds = %510, %504 %527 = load i32, ptr %3, align 4 %528 = sext i32 %527 to i64 %529 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %528 %530 = load i32, ptr %529, align 4 %531 = icmp slt i32 %530, 3 br i1 %531, label %532, label %550 532: ; preds = %526 %533 = load i32, ptr %3, align 4 %534 = load i32, ptr %3, align 4 %535 = sext i32 %534 to i64 %536 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %535 %537 = load i32, ptr %536, align 4 %538 = add nsw i32 %537, 1 %539 = load i32, ptr %3, align 4 %540 = load i32, ptr %3, align 4 %541 = sub nsw i32 7, %540 %542 = load i32, ptr %3, align 4 %543 = sext i32 %542 to i64 %544 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %543 %545 = load i32, ptr %544, align 4 %546 = add nsw i32 %545, 1 %547 = load i32, ptr %3, align 4 %548 = sub nsw i32 7, %547 %549 = call i32 @box_apeak_xy(i32 noundef %533, i32 noundef %538, i32 noundef %539, i32 noundef %541, i32 noundef %546, i32 noundef %548, i32 noundef 0, i32 noundef 0) br label %550 550: ; preds = %532, %526 br label %551 551: ; preds = %550 %552 = load i32, ptr %3, align 4 %553 = add nsw i32 %552, 1 store i32 %553, ptr %3, align 4 %554 = load i32, ptr %3, align 4 %555 = icmp slt i32 %554, 4 br i1 %555, label %504, label %._crit_edge63, !llvm.loop !28 ._crit_edge63: ; preds = %551 br label %556 556: ; preds = %._crit_edge63, %501 store i32 0, ptr %3, align 4 %557 = load i32, ptr %3, align 4 %558 = icmp slt i32 %557, 4 br i1 %558, label %.lr.ph65, label %577 .lr.ph65: ; preds = %556 br label %559 559: ; preds = %.lr.ph65, %572 %560 = load i32, ptr %3, align 4 %561 = sext i32 %560 to i64 %562 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %561 %563 = load i32, ptr %562, align 4 %564 = icmp sgt i32 %563, 0 br i1 %564, label %565, label %571 565: ; preds = %559 %566 = load i32, ptr %3, align 4 %567 = sext i32 %566 to i64 %568 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %567 %569 = load i32, ptr %568, align 4 %570 = add nsw i32 %569, -1 store i32 %570, ptr %568, align 4 br label %571 571: ; preds = %565, %559 br label %572 572: ; preds = %571 %573 = load i32, ptr %3, align 4 %574 = add nsw i32 %573, 1 store i32 %574, ptr %3, align 4 %575 = load i32, ptr %3, align 4 %576 = icmp slt i32 %575, 4 br i1 %576, label %559, label %._crit_edge66, !llvm.loop !29 ._crit_edge66: ; preds = %572 br label %577 577: ; preds = %._crit_edge66, %556 %578 = load i32, ptr %1, align 4 %579 = call i32 @delay_ms(i32 noundef %578) %580 = load i32, ptr %2, align 4 %581 = add nsw i32 %580, -1 store i32 %581, ptr %2, align 4 %582 = icmp ne i32 %580, 0 br i1 %582, label %501, label %._crit_edge69, !llvm.loop !30 ._crit_edge69: ; preds = %577 br label %583 583: ; preds = %._crit_edge69, %497 store i32 3, ptr %2, align 4 store i32 0, ptr %3, align 4 %584 = load i32, ptr %3, align 4 %585 = icmp slt i32 %584, 4 br i1 %585, label %.lr.ph71, label %597 .lr.ph71: ; preds = %583 br label %586 586: ; preds = %.lr.ph71, %592 %587 = load i32, ptr %3, align 4 %588 = sub nsw i32 3, %587 %589 = load i32, ptr %3, align 4 %590 = sext i32 %589 to i64 %591 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %590 store i32 %588, ptr %591, align 4 br label %592 592: ; preds = %586 %593 = load i32, ptr %3, align 4 %594 = add nsw i32 %593, 1 store i32 %594, ptr %3, align 4 %595 = load i32, ptr %3, align 4 %596 = icmp slt i32 %595, 4 br i1 %596, label %586, label %._crit_edge72, !llvm.loop !31 ._crit_edge72: ; preds = %592 br label %597 597: ; preds = %._crit_edge72, %583 %598 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0 store i32 2, ptr %598, align 16 %599 = load i32, ptr %2, align 4 %600 = add nsw i32 %599, -1 store i32 %600, ptr %2, align 4 %601 = icmp ne i32 %599, 0 br i1 %601, label %.lr.ph80, label %683 .lr.ph80: ; preds = %597 br label %602 602: ; preds = %.lr.ph80, %677 store i32 0, ptr %3, align 4 %603 = load i32, ptr %3, align 4 %604 = icmp slt i32 %603, 3 br i1 %604, label %.lr.ph74, label %657 .lr.ph74: ; preds = %602 br label %605 605: ; preds = %.lr.ph74, %652 %606 = load i32, ptr %3, align 4 %607 = sext i32 %606 to i64 %608 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %607 %609 = load i32, ptr %608, align 4 %610 = icmp sge i32 %609, 0 br i1 %610, label %611, label %627 611: ; preds = %605 %612 = load i32, ptr %3, align 4 %613 = load i32, ptr %3, align 4 %614 = sext i32 %613 to i64 %615 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %614 %616 = load i32, ptr %615, align 4 %617 = load i32, ptr %3, align 4 %618 = load i32, ptr %3, align 4 %619 = sub nsw i32 7, %618 %620 = load i32, ptr %3, align 4 %621 = sext i32 %620 to i64 %622 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %621 %623 = load i32, ptr %622, align 4 %624 = load i32, ptr %3, align 4 %625 = sub nsw i32 7, %624 %626 = call i32 @box_apeak_xy(i32 noundef %612, i32 noundef %616, i32 noundef %617, i32 noundef %619, i32 noundef %623, i32 noundef %625, i32 noundef 0, i32 noundef 1) br label %627 627: ; preds = %611, %605 %628 = load i32, ptr %3, align 4 %629 = sext i32 %628 to i64 %630 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %629 %631 = load i32, ptr %630, align 4 %632 = icmp sge i32 %631, 0 br i1 %632, label %633, label %651 633: ; preds = %627 %634 = load i32, ptr %3, align 4 %635 = load i32, ptr %3, align 4 %636 = sext i32 %635 to i64 %637 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %636 %638 = load i32, ptr %637, align 4 %639 = add nsw i32 %638, 1 %640 = load i32, ptr %3, align 4 %641 = load i32, ptr %3, align 4 %642 = sub nsw i32 7, %641 %643 = load i32, ptr %3, align 4 %644 = sext i32 %643 to i64 %645 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %644 %646 = load i32, ptr %645, align 4 %647 = add nsw i32 %646, 1 %648 = load i32, ptr %3, align 4 %649 = sub nsw i32 7, %648 %650 = call i32 @box_apeak_xy(i32 noundef %634, i32 noundef %639, i32 noundef %640, i32 noundef %642, i32 noundef %647, i32 noundef %649, i32 noundef 0, i32 noundef 0) br label %651 651: ; preds = %633, %627 br label %652 652: ; preds = %651 %653 = load i32, ptr %3, align 4 %654 = add nsw i32 %653, 1 store i32 %654, ptr %3, align 4 %655 = load i32, ptr %3, align 4 %656 = icmp slt i32 %655, 3 br i1 %656, label %605, label %._crit_edge75, !llvm.loop !32 ._crit_edge75: ; preds = %652 br label %657 657: ; preds = %._crit_edge75, %602 store i32 0, ptr %3, align 4 %658 = load i32, ptr %3, align 4 %659 = icmp slt i32 %658, 4 br i1 %659, label %.lr.ph77, label %677 .lr.ph77: ; preds = %657 br label %660 660: ; preds = %.lr.ph77, %672 %661 = load i32, ptr %3, align 4 %662 = load i32, ptr %2, align 4 %663 = sub nsw i32 5, %662 %664 = icmp slt i32 %661, %663 br i1 %664, label %665, label %671 665: ; preds = %660 %666 = load i32, ptr %3, align 4 %667 = sext i32 %666 to i64 %668 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %667 %669 = load i32, ptr %668, align 4 %670 = add nsw i32 %669, -1 store i32 %670, ptr %668, align 4 br label %671 671: ; preds = %665, %660 br label %672 672: ; preds = %671 %673 = load i32, ptr %3, align 4 %674 = add nsw i32 %673, 1 store i32 %674, ptr %3, align 4 %675 = load i32, ptr %3, align 4 %676 = icmp slt i32 %675, 4 br i1 %676, label %660, label %._crit_edge78, !llvm.loop !33 ._crit_edge78: ; preds = %672 br label %677 677: ; preds = %._crit_edge78, %657 %678 = load i32, ptr %1, align 4 %679 = call i32 @delay_ms(i32 noundef %678) %680 = load i32, ptr %2, align 4 %681 = add nsw i32 %680, -1 store i32 %681, ptr %2, align 4 %682 = icmp ne i32 %680, 0 br i1 %682, label %602, label %._crit_edge81, !llvm.loop !34 ._crit_edge81: ; preds = %677 br label %683 683: ; preds = %._crit_edge81, %597 store i32 10, ptr %2, align 4 store i32 0, ptr %3, align 4 %684 = load i32, ptr %3, align 4 %685 = icmp slt i32 %684, 4 br i1 %685, label %.lr.ph83, label %697 .lr.ph83: ; preds = %683 br label %686 686: ; preds = %.lr.ph83, %692 %687 = load i32, ptr %3, align 4 %688 = sub nsw i32 %687, 2 %689 = load i32, ptr %3, align 4 %690 = sext i32 %689 to i64 %691 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %690 store i32 %688, ptr %691, align 4 br label %692 692: ; preds = %686 %693 = load i32, ptr %3, align 4 %694 = add nsw i32 %693, 1 store i32 %694, ptr %3, align 4 %695 = load i32, ptr %3, align 4 %696 = icmp slt i32 %695, 4 br i1 %696, label %686, label %._crit_edge84, !llvm.loop !35 ._crit_edge84: ; preds = %692 br label %697 697: ; preds = %._crit_edge84, %683 %698 = load i32, ptr %2, align 4 %699 = add nsw i32 %698, -1 store i32 %699, ptr %2, align 4 %700 = icmp ne i32 %698, 0 br i1 %700, label %.lr.ph92, label %783 .lr.ph92: ; preds = %697 br label %701 701: ; preds = %.lr.ph92, %777 store i32 0, ptr %3, align 4 %702 = load i32, ptr %3, align 4 %703 = icmp slt i32 %702, 4 br i1 %703, label %.lr.ph86, label %756 .lr.ph86: ; preds = %701 br label %704 704: ; preds = %.lr.ph86, %751 %705 = load i32, ptr %3, align 4 %706 = sext i32 %705 to i64 %707 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %706 %708 = load i32, ptr %707, align 4 %709 = icmp sge i32 %708, 0 br i1 %709, label %710, label %726 710: ; preds = %704 %711 = load i32, ptr %3, align 4 %712 = load i32, ptr %3, align 4 %713 = sext i32 %712 to i64 %714 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %713 %715 = load i32, ptr %714, align 4 %716 = load i32, ptr %3, align 4 %717 = load i32, ptr %3, align 4 %718 = sub nsw i32 7, %717 %719 = load i32, ptr %3, align 4 %720 = sext i32 %719 to i64 %721 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %720 %722 = load i32, ptr %721, align 4 %723 = load i32, ptr %3, align 4 %724 = sub nsw i32 7, %723 %725 = call i32 @box_apeak_xy(i32 noundef %711, i32 noundef %715, i32 noundef %716, i32 noundef %718, i32 noundef %722, i32 noundef %724, i32 noundef 0, i32 noundef 1) br label %726 726: ; preds = %710, %704 %727 = load i32, ptr %3, align 4 %728 = sext i32 %727 to i64 %729 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %728 %730 = load i32, ptr %729, align 4 %731 = icmp sge i32 %730, 0 br i1 %731, label %732, label %750 732: ; preds = %726 %733 = load i32, ptr %3, align 4 %734 = load i32, ptr %3, align 4 %735 = sext i32 %734 to i64 %736 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %735 %737 = load i32, ptr %736, align 4 %738 = sub nsw i32 %737, 1 %739 = load i32, ptr %3, align 4 %740 = load i32, ptr %3, align 4 %741 = sub nsw i32 7, %740 %742 = load i32, ptr %3, align 4 %743 = sext i32 %742 to i64 %744 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %743 %745 = load i32, ptr %744, align 4 %746 = sub nsw i32 %745, 1 %747 = load i32, ptr %3, align 4 %748 = sub nsw i32 7, %747 %749 = call i32 @box_apeak_xy(i32 noundef %733, i32 noundef %738, i32 noundef %739, i32 noundef %741, i32 noundef %746, i32 noundef %748, i32 noundef 0, i32 noundef 0) br label %750 750: ; preds = %732, %726 br label %751 751: ; preds = %750 %752 = load i32, ptr %3, align 4 %753 = add nsw i32 %752, 1 store i32 %753, ptr %3, align 4 %754 = load i32, ptr %3, align 4 %755 = icmp slt i32 %754, 4 br i1 %755, label %704, label %._crit_edge87, !llvm.loop !36 ._crit_edge87: ; preds = %751 br label %756 756: ; preds = %._crit_edge87, %701 store i32 0, ptr %3, align 4 %757 = load i32, ptr %3, align 4 %758 = icmp slt i32 %757, 4 br i1 %758, label %.lr.ph89, label %777 .lr.ph89: ; preds = %756 br label %759 759: ; preds = %.lr.ph89, %772 %760 = load i32, ptr %3, align 4 %761 = sext i32 %760 to i64 %762 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %761 %763 = load i32, ptr %762, align 4 %764 = icmp slt i32 %763, 7 br i1 %764, label %765, label %771 765: ; preds = %759 %766 = load i32, ptr %3, align 4 %767 = sext i32 %766 to i64 %768 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %767 %769 = load i32, ptr %768, align 4 %770 = add nsw i32 %769, 1 store i32 %770, ptr %768, align 4 br label %771 771: ; preds = %765, %759 br label %772 772: ; preds = %771 %773 = load i32, ptr %3, align 4 %774 = add nsw i32 %773, 1 store i32 %774, ptr %3, align 4 %775 = load i32, ptr %3, align 4 %776 = icmp slt i32 %775, 4 br i1 %776, label %759, label %._crit_edge90, !llvm.loop !37 ._crit_edge90: ; preds = %772 br label %777 777: ; preds = %._crit_edge90, %756 %778 = load i32, ptr %1, align 4 %779 = call i32 @delay_ms(i32 noundef %778) %780 = load i32, ptr %2, align 4 %781 = add nsw i32 %780, -1 store i32 %781, ptr %2, align 4 %782 = icmp ne i32 %780, 0 br i1 %782, label %701, label %._crit_edge93, !llvm.loop !38 ._crit_edge93: ; preds = %777 br label %783 783: ; preds = %._crit_edge93, %697 ret void } declare i32 @box_apeak_xy(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @delay_ms(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7} !21 = distinct !{!21, !7} !22 = distinct !{!22, !7} !23 = distinct !{!23, !7} !24 = distinct !{!24, !7} !25 = distinct !{!25, !7} !26 = distinct !{!26, !7} !27 = distinct !{!27, !7} !28 = distinct !{!28, !7} !29 = distinct !{!29, !7} !30 = distinct !{!30, !7} !31 = distinct !{!31, !7} !32 = distinct !{!32, !7} !33 = distinct !{!33, !7} !34 = distinct !{!34, !7} !35 = distinct !{!35, !7} !36 = distinct !{!36, !7} !37 = distinct !{!37, !7} !38 = distinct !{!38, !7}
; ModuleID = '/tmp/tmpb2baex7p.c' source_filename = "/tmp/tmpb2baex7p.c" target datalayout = "e-m:e-p270: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.timeval = type { i64, i64 } %struct.timezone = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @mygettime() #0 { %1 = alloca %struct.timeval, align 8 %2 = alloca %struct.timezone, align 4 %3 = alloca i32, align 4 %4 = call i32 @gettimeofday(ptr noundef %1, ptr noundef %2) store i32 %4, ptr %3, align 4 %5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %6 = load i64, ptr %5, align 8 %7 = sitofp i64 %6 to double %8 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %9 = load i64, ptr %8, align 8 %10 = sitofp i64 %9 to double %11 = call double @llvm.fmuladd.f64(double %10, double 0x3EB0C6F7A0B5ED8D, double %7) ret double %11 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb2baex7p.c" target datalayout = "e-m:e-p270: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.timeval = type { i64, i64 } %struct.timezone = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @mygettime() #0 { %1 = alloca %struct.timeval, align 8 %2 = alloca %struct.timezone, align 4 %3 = alloca i32, align 4 %4 = call i32 @gettimeofday(ptr noundef %1, ptr noundef %2) store i32 %4, ptr %3, align 4 %5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %6 = load i64, ptr %5, align 8 %7 = sitofp i64 %6 to double %8 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %9 = load i64, ptr %8, align 8 %10 = sitofp i64 %9 to double %11 = call double @llvm.fmuladd.f64(double %10, double 0x3EB0C6F7A0B5ED8D, double %7) ret double %11 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphm8vy84p.c' source_filename = "/tmp/tmphm8vy84p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Angle for X:%d, Y:%d = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %6 6: ; preds = %35, %0 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 360 br i1 %8, label %9, label %38 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = sitofp i32 %10 to double %12 = fmul double %11, 0x400921FB54524550 %13 = fdiv double %12, 1.800000e+02 %14 = fptosi double %13 to i32 %15 = call double @cos(i32 noundef %14) %16 = fmul double %15, 1.000000e+01 %17 = fptosi double %16 to i32 store i32 %17, ptr %3, align 4 %18 = load i32, ptr %2, align 4 %19 = sitofp i32 %18 to double %20 = fmul double %19, 0x400921FB54524550 %21 = fdiv double %20, 1.800000e+02 %22 = fptosi double %21 to i32 %23 = call double @sin(i32 noundef %22) %24 = fmul double %23, 1.000000e+01 %25 = fptosi double %24 to i32 store i32 %25, ptr %4, align 4 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = call i32 @angle(i32 noundef %26, i32 noundef %27) store i32 %28, ptr %5, align 4 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %4, align 4 %31 = load i32, ptr %5, align 4 %32 = call i32 @printf(ptr noundef @.str, i32 noundef %29, i32 noundef %30, i32 noundef %31) %33 = load i32, ptr %5, align 4 %34 = call i32 @drive(i32 noundef %33, double noundef 1.000000e+00, double noundef 1.000000e+00) br label %35 35: ; preds = %9 %36 = load i32, ptr %2, align 4 %37 = add nsw i32 %36, 15 store i32 %37, ptr %2, align 4 br label %6, !llvm.loop !6 38: ; preds = %6 ret i32 0 } declare double @cos(i32 noundef) #1 declare double @sin(i32 noundef) #1 declare i32 @angle(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @drive(i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphm8vy84p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Angle for X:%d, Y:%d = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 360 br i1 %7, label %.lr.ph, label %39 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %34 %9 = load i32, ptr %2, align 4 %10 = sitofp i32 %9 to double %11 = fmul double %10, 0x400921FB54524550 %12 = fdiv double %11, 1.800000e+02 %13 = fptosi double %12 to i32 %14 = call double @cos(i32 noundef %13) %15 = fmul double %14, 1.000000e+01 %16 = fptosi double %15 to i32 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = sitofp i32 %17 to double %19 = fmul double %18, 0x400921FB54524550 %20 = fdiv double %19, 1.800000e+02 %21 = fptosi double %20 to i32 %22 = call double @sin(i32 noundef %21) %23 = fmul double %22, 1.000000e+01 %24 = fptosi double %23 to i32 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %4, align 4 %27 = call i32 @angle(i32 noundef %25, i32 noundef %26) store i32 %27, ptr %5, align 4 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %5, align 4 %31 = call i32 @printf(ptr noundef @.str, i32 noundef %28, i32 noundef %29, i32 noundef %30) %32 = load i32, ptr %5, align 4 %33 = call i32 @drive(i32 noundef %32, double noundef 1.000000e+00, double noundef 1.000000e+00) br label %34 34: ; preds = %8 %35 = load i32, ptr %2, align 4 %36 = add nsw i32 %35, 15 store i32 %36, ptr %2, align 4 %37 = load i32, ptr %2, align 4 %38 = icmp slt i32 %37, 360 br i1 %38, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %39 39: ; preds = %._crit_edge, %0 ret i32 0 } declare double @cos(i32 noundef) #1 declare double @sin(i32 noundef) #1 declare i32 @angle(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @drive(i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpmwjn3rq4.c' source_filename = "/tmp/tmpmwjn3rq4.c" target datalayout = "e-m:e-p270: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.timeval = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gettime(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.timeval, align 8 store ptr %0, ptr %2, align 8 %4 = call i32 @gettimeofday(ptr noundef %3, ptr noundef null) %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 %7 = load i64, ptr %6, align 8 %8 = trunc i64 %7 to i32 %9 = call i32 @st_push(ptr noundef %5, i32 noundef %8) %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %12 = load i64, ptr %11, align 8 %13 = trunc i64 %12 to i32 %14 = call i32 @st_push(ptr noundef %10, i32 noundef %13) ret void } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @st_push(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/tmpmwjn3rq4.c" target datalayout = "e-m:e-p270: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.timeval = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gettime(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.timeval, align 8 store ptr %0, ptr %2, align 8 %4 = call i32 @gettimeofday(ptr noundef %3, ptr noundef null) %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 %7 = load i64, ptr %6, align 8 %8 = trunc i64 %7 to i32 %9 = call i32 @st_push(ptr noundef %5, i32 noundef %8) %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %12 = load i64, ptr %11, align 8 %13 = trunc i64 %12 to i32 %14 = call i32 @st_push(ptr noundef %10, i32 noundef %13) ret void } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @st_push(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/tmp2l7fhwlc.c' source_filename = "/tmp/tmp2l7fhwlc.c" target datalayout = "e-m:e-p270: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/tmp2l7fhwlc.c" target datalayout = "e-m:e-p270: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/tmpr7jj9_sx.c' source_filename = "/tmp/tmpr7jj9_sx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wl_dlleft(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @dlleft(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @wl_rcursor(ptr noundef %5) ret void } declare i32 @dlleft(ptr noundef) #1 declare i32 @wl_rcursor(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr7jj9_sx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wl_dlleft(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @dlleft(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @wl_rcursor(ptr noundef %5) ret void } declare i32 @dlleft(ptr noundef) #1 declare i32 @wl_rcursor(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmwi4wtkl.c' source_filename = "/tmp/tmpmwi4wtkl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bits(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %15, %1 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 32 br i1 %7, label %8, label %18 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = ashr i32 %9, %10 %12 = and i32 %11, 1 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %13, %12 store i32 %14, ptr %4, align 4 br label %15 15: ; preds = %8 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 br label %5, !llvm.loop !6 18: ; preds = %5 %19 = load i32, ptr %4, align 4 ret i32 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmwi4wtkl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bits(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 32 br i1 %6, label %.lr.ph, label %19 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %14 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = ashr i32 %8, %9 %11 = and i32 %10, 1 %12 = load i32, ptr %4, align 4 %13 = add nsw i32 %12, %11 store i32 %13, ptr %4, align 4 br label %14 14: ; preds = %7 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %17, 32 br i1 %18, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %1 %20 = load i32, ptr %4, align 4 ret i32 %20 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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_ms7bkz0.c' source_filename = "/tmp/tmp_ms7bkz0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @EOF = dso_local global i8 0, align 1 @.str.1 = private unnamed_addr constant [58 x i8] c"Unable To allocate memory for inital tmpWord Array Store.\00", align 1 @.str.2 = private unnamed_addr constant [64 x i8] c"Unable to Allocate Addition Memory for wordArray Reallocation.\0A\00", align 1 @.str.3 = private unnamed_addr constant [58 x i8] c"Unable to realloc memory to place the string terminator.\0A\00", align 1 @.str.4 = private unnamed_addr constant [46 x i8] c"Unable to allocate memory for the new array.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @readWordFromFile(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %15 15: ; preds = %29, %2 %16 = load ptr, ptr %4, align 8 %17 = call signext i8 @fscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %11) store i8 %17, ptr %10, align 1 %18 = sext i8 %17 to i32 %19 = load i8, ptr @EOF, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %18, %20 br i1 %21, label %22, label %27 22: ; preds = %15 %23 = load i8, ptr %11, align 1 %24 = call i64 @isalpha(i8 noundef signext %23) %25 = icmp ne i64 %24, 0 %26 = xor i1 %25, true br label %27 27: ; preds = %22, %15 %28 = phi i1 [ false, %15 ], [ %26, %22 ] br i1 %28, label %29, label %30 29: ; preds = %27 br label %15, !llvm.loop !6 30: ; preds = %27 %31 = load i8, ptr %10, align 1 %32 = sext i8 %31 to i32 %33 = load i8, ptr @EOF, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %32, %34 br i1 %35, label %36, label %40 36: ; preds = %30 %37 = load i8, ptr @EOF, align 1 %38 = sext i8 %37 to i32 %39 = load ptr, ptr %5, align 8 store i32 %38, ptr %39, align 4 store ptr null, ptr %3, align 8 br label %185 40: ; preds = %30 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %8, align 4 %43 = load i32, ptr %8, align 4 store i32 %43, ptr %7, align 4 %44 = load i32, ptr %7, align 4 %45 = sext i32 %44 to i64 %46 = mul i64 1, %45 %47 = trunc i64 %46 to i32 %48 = call i64 @malloc(i32 noundef %47) %49 = inttoptr i64 %48 to ptr store ptr %49, ptr %6, align 8 %50 = load ptr, ptr %6, align 8 %51 = icmp eq ptr %50, null br i1 %51, label %52, label %55 52: ; preds = %40 %53 = call i32 @printf(ptr noundef @.str.1) %54 = call i32 @exit(i32 noundef 1) #3 unreachable 55: ; preds = %40 %56 = load i8, ptr %11, align 1 %57 = load ptr, ptr %6, align 8 %58 = load i32, ptr %9, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %9, align 4 %60 = sext i32 %58 to i64 %61 = getelementptr inbounds i8, ptr %57, i64 %60 store i8 %56, ptr %61, align 1 br label %62 62: ; preds = %101, %55 %63 = load ptr, ptr %4, align 8 %64 = call signext i8 @fscanf(ptr noundef %63, ptr noundef @.str, ptr noundef %11) store i8 %64, ptr %10, align 1 %65 = sext i8 %64 to i32 %66 = load i8, ptr @EOF, align 1 %67 = sext i8 %66 to i32 %68 = icmp ne i32 %65, %67 br i1 %68, label %69, label %102 69: ; preds = %62 %70 = load i8, ptr %11, align 1 %71 = call i64 @isalpha(i8 noundef signext %70) %72 = icmp ne i64 %71, 0 br i1 %72, label %73, label %100 73: ; preds = %69 %74 = load i32, ptr %9, align 4 %75 = load i32, ptr %7, align 4 %76 = icmp sge i32 %74, %75 br i1 %76, label %77, label %93 77: ; preds = %73 %78 = load i32, ptr %7, align 4 %79 = mul nsw i32 %78, 2 store i32 %79, ptr %7, align 4 %80 = load ptr, ptr %6, align 8 %81 = load i32, ptr %7, align 4 %82 = sext i32 %81 to i64 %83 = mul i64 1, %82 %84 = trunc i64 %83 to i32 %85 = call i64 @realloc(ptr noundef %80, i32 noundef %84) %86 = inttoptr i64 %85 to ptr store ptr %86, ptr %6, align 8 %87 = load ptr, ptr %6, align 8 %88 = icmp eq ptr %87, null br i1 %88, label %89, label %92 89: ; preds = %77 %90 = call i32 @printf(ptr noundef @.str.2) %91 = call i32 @exit(i32 noundef 1) #3 unreachable 92: ; preds = %77 br label %93 93: ; preds = %92, %73 %94 = load i8, ptr %11, align 1 %95 = load ptr, ptr %6, align 8 %96 = load i32, ptr %9, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %9, align 4 %98 = sext i32 %96 to i64 %99 = getelementptr inbounds i8, ptr %95, i64 %98 store i8 %94, ptr %99, align 1 br label %101 100: ; preds = %69 br label %102 101: ; preds = %93 br label %62, !llvm.loop !8 102: ; preds = %100, %62 %103 = load i32, ptr %9, align 4 %104 = load i32, ptr %7, align 4 %105 = icmp slt i32 %103, %104 br i1 %105, label %106, label %111 106: ; preds = %102 %107 = load ptr, ptr %6, align 8 %108 = load i32, ptr %9, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i8, ptr %107, i64 %109 store i8 0, ptr %110, align 1 br label %131 111: ; preds = %102 %112 = load i32, ptr %7, align 4 %113 = mul nsw i32 %112, 2 store i32 %113, ptr %7, align 4 %114 = load ptr, ptr %6, align 8 %115 = load i32, ptr %7, align 4 %116 = sext i32 %115 to i64 %117 = mul i64 1, %116 %118 = trunc i64 %117 to i32 %119 = call i64 @realloc(ptr noundef %114, i32 noundef %118) %120 = inttoptr i64 %119 to ptr store ptr %120, ptr %6, align 8 %121 = load ptr, ptr %6, align 8 %122 = icmp eq ptr %121, null br i1 %122, label %123, label %126 123: ; preds = %111 %124 = call i32 @printf(ptr noundef @.str.3) %125 = call i32 @exit(i32 noundef 1) #3 unreachable 126: ; preds = %111 %127 = load ptr, ptr %6, align 8 %128 = load i32, ptr %9, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds i8, ptr %127, i64 %129 store i8 0, ptr %130, align 1 br label %131 131: ; preds = %126, %106 store ptr null, ptr %12, align 8 %132 = load ptr, ptr %6, align 8 %133 = call i32 @getLength(ptr noundef %132) store i32 %133, ptr %13, align 4 %134 = load i32, ptr %13, align 4 %135 = add nsw i32 %134, 1 %136 = sext i32 %135 to i64 %137 = mul i64 1, %136 %138 = trunc i64 %137 to i32 %139 = call i64 @malloc(i32 noundef %138) %140 = inttoptr i64 %139 to ptr store ptr %140, ptr %12, align 8 %141 = load ptr, ptr %12, align 8 %142 = icmp eq ptr %141, null br i1 %142, label %143, label %146 143: ; preds = %131 %144 = call i32 @printf(ptr noundef @.str.4) %145 = call i32 @exit(i32 noundef 1) #3 unreachable 146: ; preds = %131 store i32 0, ptr %14, align 4 br label %147 147: ; preds = %155, %146 %148 = load ptr, ptr %6, align 8 %149 = load i32, ptr %14, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds i8, ptr %148, i64 %150 %152 = load i8, ptr %151, align 1 %153 = sext i8 %152 to i32 %154 = icmp ne i32 %153, 0 br i1 %154, label %155, label %167 155: ; preds = %147 %156 = load ptr, ptr %6, align 8 %157 = load i32, ptr %14, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds i8, ptr %156, i64 %158 %160 = load i8, ptr %159, align 1 %161 = load ptr, ptr %12, align 8 %162 = load i32, ptr %14, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds i8, ptr %161, i64 %163 store i8 %160, ptr %164, align 1 %165 = load i32, ptr %14, align 4 %166 = add nsw i32 %165, 1 store i32 %166, ptr %14, align 4 br label %147, !llvm.loop !9 167: ; preds = %147 %168 = load ptr, ptr %12, align 8 %169 = load i32, ptr %14, align 4 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds i8, ptr %168, i64 %170 store i8 0, ptr %171, align 1 %172 = load ptr, ptr %6, align 8 %173 = call i32 @free(ptr noundef %172) %174 = load i8, ptr %10, align 1 %175 = sext i8 %174 to i32 %176 = load i8, ptr @EOF, align 1 %177 = sext i8 %176 to i32 %178 = icmp eq i32 %175, %177 br i1 %178, label %179, label %183 179: ; preds = %167 %180 = load i8, ptr @EOF, align 1 %181 = sext i8 %180 to i32 %182 = load ptr, ptr %5, align 8 store i32 %181, ptr %182, align 4 br label %183 183: ; preds = %179, %167 %184 = load ptr, ptr %12, align 8 store ptr %184, ptr %3, align 8 br label %185 185: ; preds = %183, %36 %186 = load ptr, ptr %3, align 8 ret ptr %186 } declare signext i8 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @isalpha(i8 noundef signext) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @getLength(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ms7bkz0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @EOF = dso_local global i8 0, align 1 @.str.1 = private unnamed_addr constant [58 x i8] c"Unable To allocate memory for inital tmpWord Array Store.\00", align 1 @.str.2 = private unnamed_addr constant [64 x i8] c"Unable to Allocate Addition Memory for wordArray Reallocation.\0A\00", align 1 @.str.3 = private unnamed_addr constant [58 x i8] c"Unable to realloc memory to place the string terminator.\0A\00", align 1 @.str.4 = private unnamed_addr constant [46 x i8] c"Unable to allocate memory for the new array.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @readWordFromFile(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %15 15: ; preds = %27, %2 %16 = load ptr, ptr %4, align 8 %17 = call signext i8 @fscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %11) store i8 %17, ptr %10, align 1 %18 = sext i8 %17 to i32 %19 = load i8, ptr @EOF, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %18, %20 br i1 %21, label %22, label %27 22: ; preds = %15 %23 = load i8, ptr %11, align 1 %24 = call i64 @isalpha(i8 noundef signext %23) %25 = icmp ne i64 %24, 0 %26 = xor i1 %25, true br label %27 27: ; preds = %22, %15 %28 = phi i1 [ false, %15 ], [ %26, %22 ] br i1 %28, label %15, label %29, !llvm.loop !6 29: ; preds = %27 %30 = load i8, ptr %10, align 1 %31 = sext i8 %30 to i32 %32 = load i8, ptr @EOF, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %31, %33 br i1 %34, label %35, label %39 35: ; preds = %29 %36 = load i8, ptr @EOF, align 1 %37 = sext i8 %36 to i32 %38 = load ptr, ptr %5, align 8 store i32 %37, ptr %38, align 4 store ptr null, ptr %3, align 8 br label %195 39: ; preds = %29 %40 = load i32, ptr %8, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %8, align 4 %42 = load i32, ptr %8, align 4 store i32 %42, ptr %7, align 4 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = mul i64 1, %44 %46 = trunc i64 %45 to i32 %47 = call i64 @malloc(i32 noundef %46) %48 = inttoptr i64 %47 to ptr store ptr %48, ptr %6, align 8 %49 = load ptr, ptr %6, align 8 %50 = icmp eq ptr %49, null br i1 %50, label %51, label %54 51: ; preds = %39 %52 = call i32 @printf(ptr noundef @.str.1) %53 = call i32 @exit(i32 noundef 1) #3 unreachable 54: ; preds = %39 %55 = load i8, ptr %11, align 1 %56 = load ptr, ptr %6, align 8 %57 = load i32, ptr %9, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %9, align 4 %59 = sext i32 %57 to i64 %60 = getelementptr inbounds i8, ptr %56, i64 %59 store i8 %55, ptr %60, align 1 %61 = load ptr, ptr %4, align 8 %62 = call signext i8 @fscanf(ptr noundef %61, ptr noundef @.str, ptr noundef %11) store i8 %62, ptr %10, align 1 %63 = sext i8 %62 to i32 %64 = load i8, ptr @EOF, align 1 %65 = sext i8 %64 to i32 %66 = icmp ne i32 %63, %65 br i1 %66, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %54 br label %67 67: ; preds = %.lr.ph, %99 %68 = load i8, ptr %11, align 1 %69 = call i64 @isalpha(i8 noundef signext %68) %70 = icmp ne i64 %69, 0 br i1 %70, label %71, label %98 71: ; preds = %67 %72 = load i32, ptr %9, align 4 %73 = load i32, ptr %7, align 4 %74 = icmp sge i32 %72, %73 br i1 %74, label %75, label %91 75: ; preds = %71 %76 = load i32, ptr %7, align 4 %77 = mul nsw i32 %76, 2 store i32 %77, ptr %7, align 4 %78 = load ptr, ptr %6, align 8 %79 = load i32, ptr %7, align 4 %80 = sext i32 %79 to i64 %81 = mul i64 1, %80 %82 = trunc i64 %81 to i32 %83 = call i64 @realloc(ptr noundef %78, i32 noundef %82) %84 = inttoptr i64 %83 to ptr store ptr %84, ptr %6, align 8 %85 = load ptr, ptr %6, align 8 %86 = icmp eq ptr %85, null br i1 %86, label %87, label %90 87: ; preds = %75 %88 = call i32 @printf(ptr noundef @.str.2) %89 = call i32 @exit(i32 noundef 1) #3 unreachable 90: ; preds = %75 br label %91 91: ; preds = %90, %71 %92 = load i8, ptr %11, align 1 %93 = load ptr, ptr %6, align 8 %94 = load i32, ptr %9, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %9, align 4 %96 = sext i32 %94 to i64 %97 = getelementptr inbounds i8, ptr %93, i64 %96 store i8 %92, ptr %97, align 1 br label %99 98: ; preds = %67 br label %106 99: ; preds = %91 %100 = load ptr, ptr %4, align 8 %101 = call signext i8 @fscanf(ptr noundef %100, ptr noundef @.str, ptr noundef %11) store i8 %101, ptr %10, align 1 %102 = sext i8 %101 to i32 %103 = load i8, ptr @EOF, align 1 %104 = sext i8 %103 to i32 %105 = icmp ne i32 %102, %104 br i1 %105, label %67, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %99 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %54 br label %106 106: ; preds = %.loopexit, %98 %107 = load i32, ptr %9, align 4 %108 = load i32, ptr %7, align 4 %109 = icmp slt i32 %107, %108 br i1 %109, label %110, label %115 110: ; preds = %106 %111 = load ptr, ptr %6, align 8 %112 = load i32, ptr %9, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i8, ptr %111, i64 %113 store i8 0, ptr %114, align 1 br label %135 115: ; preds = %106 %116 = load i32, ptr %7, align 4 %117 = mul nsw i32 %116, 2 store i32 %117, ptr %7, align 4 %118 = load ptr, ptr %6, align 8 %119 = load i32, ptr %7, align 4 %120 = sext i32 %119 to i64 %121 = mul i64 1, %120 %122 = trunc i64 %121 to i32 %123 = call i64 @realloc(ptr noundef %118, i32 noundef %122) %124 = inttoptr i64 %123 to ptr store ptr %124, ptr %6, align 8 %125 = load ptr, ptr %6, align 8 %126 = icmp eq ptr %125, null br i1 %126, label %127, label %130 127: ; preds = %115 %128 = call i32 @printf(ptr noundef @.str.3) %129 = call i32 @exit(i32 noundef 1) #3 unreachable 130: ; preds = %115 %131 = load ptr, ptr %6, align 8 %132 = load i32, ptr %9, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds i8, ptr %131, i64 %133 store i8 0, ptr %134, align 1 br label %135 135: ; preds = %130, %110 store ptr null, ptr %12, align 8 %136 = load ptr, ptr %6, align 8 %137 = call i32 @getLength(ptr noundef %136) store i32 %137, ptr %13, align 4 %138 = load i32, ptr %13, align 4 %139 = add nsw i32 %138, 1 %140 = sext i32 %139 to i64 %141 = mul i64 1, %140 %142 = trunc i64 %141 to i32 %143 = call i64 @malloc(i32 noundef %142) %144 = inttoptr i64 %143 to ptr store ptr %144, ptr %12, align 8 %145 = load ptr, ptr %12, align 8 %146 = icmp eq ptr %145, null br i1 %146, label %147, label %150 147: ; preds = %135 %148 = call i32 @printf(ptr noundef @.str.4) %149 = call i32 @exit(i32 noundef 1) #3 unreachable 150: ; preds = %135 store i32 0, ptr %14, align 4 %151 = load ptr, ptr %6, align 8 %152 = load i32, ptr %14, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds i8, ptr %151, i64 %153 %155 = load i8, ptr %154, align 1 %156 = sext i8 %155 to i32 %157 = icmp ne i32 %156, 0 br i1 %157, label %.lr.ph1, label %177 .lr.ph1: ; preds = %150 br label %158 158: ; preds = %.lr.ph1, %158 %159 = load ptr, ptr %6, align 8 %160 = load i32, ptr %14, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds i8, ptr %159, i64 %161 %163 = load i8, ptr %162, align 1 %164 = load ptr, ptr %12, align 8 %165 = load i32, ptr %14, align 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds i8, ptr %164, i64 %166 store i8 %163, ptr %167, align 1 %168 = load i32, ptr %14, align 4 %169 = add nsw i32 %168, 1 store i32 %169, ptr %14, align 4 %170 = load ptr, ptr %6, align 8 %171 = load i32, ptr %14, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds i8, ptr %170, i64 %172 %174 = load i8, ptr %173, align 1 %175 = sext i8 %174 to i32 %176 = icmp ne i32 %175, 0 br i1 %176, label %158, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %158 br label %177 177: ; preds = %._crit_edge, %150 %178 = load ptr, ptr %12, align 8 %179 = load i32, ptr %14, align 4 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds i8, ptr %178, i64 %180 store i8 0, ptr %181, align 1 %182 = load ptr, ptr %6, align 8 %183 = call i32 @free(ptr noundef %182) %184 = load i8, ptr %10, align 1 %185 = sext i8 %184 to i32 %186 = load i8, ptr @EOF, align 1 %187 = sext i8 %186 to i32 %188 = icmp eq i32 %185, %187 br i1 %188, label %189, label %193 189: ; preds = %177 %190 = load i8, ptr @EOF, align 1 %191 = sext i8 %190 to i32 %192 = load ptr, ptr %5, align 8 store i32 %191, ptr %192, align 4 br label %193 193: ; preds = %189, %177 %194 = load ptr, ptr %12, align 8 store ptr %194, ptr %3, align 8 br label %195 195: ; preds = %193, %35 %196 = load ptr, ptr %3, align 8 ret ptr %196 } declare signext i8 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @isalpha(i8 noundef signext) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @getLength(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpmc9m492o.c' source_filename = "/tmp/tmpmc9m492o.c" target datalayout = "e-m:e-p270: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/tmpmc9m492o.c" target datalayout = "e-m:e-p270: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/tmpcp469q3_.c' source_filename = "/tmp/tmpcp469q3_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @blackman3(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = load i32, ptr %3, align 4 %9 = sitofp i32 %8 to double %10 = fdiv double 0x401921FB546D23DB, %9 %11 = fptrunc double %10 to float store float %11, ptr %7, align 4 store i32 0, ptr %5, align 4 br label %12 12: ; preds = %50, %2 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %3, align 4 %15 = sdiv i32 %14, 2 %16 = icmp slt i32 %13, %15 br i1 %16, label %17, label %53 17: ; preds = %12 %18 = load i32, ptr %5, align 4 %19 = sitofp i32 %18 to float %20 = load float, ptr %7, align 4 %21 = fmul float %19, %20 %22 = fptosi float %21 to i32 %23 = call double @cos(i32 noundef %22) %24 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %23, double 4.200000e-01) %25 = load i32, ptr %5, align 4 %26 = mul nsw i32 2, %25 %27 = sitofp i32 %26 to float %28 = load float, ptr %7, align 4 %29 = fmul float %27, %28 %30 = fptosi float %29 to i32 %31 = call double @cos(i32 noundef %30) %32 = call double @llvm.fmuladd.f64(double 8.000000e-02, double %31, double %24) %33 = fptrunc double %32 to float store float %33, ptr %6, align 4 %34 = load float, ptr %6, align 4 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %3, align 4 %37 = load i32, ptr %5, align 4 %38 = sub nsw i32 %36, %37 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds float, ptr %35, i64 %39 %41 = load float, ptr %40, align 4 %42 = fmul float %41, %34 store float %42, ptr %40, align 4 %43 = load float, ptr %6, align 4 %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr %5, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds float, ptr %44, i64 %46 %48 = load float, ptr %47, align 4 %49 = fmul float %48, %43 store float %49, ptr %47, align 4 br label %50 50: ; preds = %17 %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %5, align 4 br label %12, !llvm.loop !6 53: ; preds = %12 ret void } declare double @cos(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcp469q3_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @blackman3(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = load i32, ptr %3, align 4 %9 = sitofp i32 %8 to double %10 = fdiv double 0x401921FB546D23DB, %9 %11 = fptrunc double %10 to float store float %11, ptr %7, align 4 store i32 0, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %3, align 4 %14 = sdiv i32 %13, 2 %15 = icmp slt i32 %12, %14 br i1 %15, label %.lr.ph, label %56 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %49 %17 = load i32, ptr %5, align 4 %18 = sitofp i32 %17 to float %19 = load float, ptr %7, align 4 %20 = fmul float %18, %19 %21 = fptosi float %20 to i32 %22 = call double @cos(i32 noundef %21) %23 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %22, double 4.200000e-01) %24 = load i32, ptr %5, align 4 %25 = mul nsw i32 2, %24 %26 = sitofp i32 %25 to float %27 = load float, ptr %7, align 4 %28 = fmul float %26, %27 %29 = fptosi float %28 to i32 %30 = call double @cos(i32 noundef %29) %31 = call double @llvm.fmuladd.f64(double 8.000000e-02, double %30, double %23) %32 = fptrunc double %31 to float store float %32, ptr %6, align 4 %33 = load float, ptr %6, align 4 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %5, align 4 %37 = sub nsw i32 %35, %36 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds float, ptr %34, i64 %38 %40 = load float, ptr %39, align 4 %41 = fmul float %40, %33 store float %41, ptr %39, align 4 %42 = load float, ptr %6, align 4 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %5, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds float, ptr %43, i64 %45 %47 = load float, ptr %46, align 4 %48 = fmul float %47, %42 store float %48, ptr %46, align 4 br label %49 49: ; preds = %16 %50 = load i32, ptr %5, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %5, align 4 %52 = load i32, ptr %5, align 4 %53 = load i32, ptr %3, align 4 %54 = sdiv i32 %53, 2 %55 = icmp slt i32 %52, %54 br i1 %55, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %56 56: ; preds = %._crit_edge, %2 ret void } declare double @cos(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp41yuhuv3.c' source_filename = "/tmp/tmp41yuhuv3.c" target datalayout = "e-m:e-p270: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 [26 x i8] c"\0Ambuseradd commandline:\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"mbuseradd [gid] [name] [comment] [usersdir]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Help() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } 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/tmp41yuhuv3.c" target datalayout = "e-m:e-p270: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 [26 x i8] c"\0Ambuseradd commandline:\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"mbuseradd [gid] [name] [comment] [usersdir]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Help() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } 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/tmp_ahdh_zf.c' source_filename = "/tmp/tmp_ahdh_zf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_interval(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = add i32 1, %9 %11 = load i32, ptr %3, align 4 %12 = sub i32 %10, %11 store i32 %12, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = udiv i32 32767, %13 store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %6, align 4 %17 = mul i32 %15, %16 store i32 %17, ptr %8, align 4 br label %18 18: ; preds = %20, %2 %19 = call i32 (...) @rand() store i32 %19, ptr %5, align 4 br label %20 20: ; preds = %18 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp uge i32 %21, %22 br i1 %23, label %18, label %24, !llvm.loop !6 24: ; preds = %20 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %7, align 4 %28 = udiv i32 %26, %27 %29 = add i32 %25, %28 ret i32 %29 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ahdh_zf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_interval(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = add i32 1, %9 %11 = load i32, ptr %3, align 4 %12 = sub i32 %10, %11 store i32 %12, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = udiv i32 32767, %13 store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %6, align 4 %17 = mul i32 %15, %16 store i32 %17, ptr %8, align 4 br label %18 18: ; preds = %20, %2 %19 = call i32 (...) @rand() store i32 %19, ptr %5, align 4 br label %20 20: ; preds = %18 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp uge i32 %21, %22 br i1 %23, label %18, label %24, !llvm.loop !6 24: ; preds = %20 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %7, align 4 %28 = udiv i32 %26, %27 %29 = add i32 %25, %28 ret i32 %29 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7k25fzug.c' source_filename = "/tmp/tmp7k25fzug.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test1() #0 { %1 = call i32 @foo(ptr noundef @.str, i32 noundef 20) ret void } declare i32 @foo(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/tmp7k25fzug.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test1() #0 { %1 = call i32 @foo(ptr noundef @.str, i32 noundef 20) ret void } declare i32 @foo(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/tmp3mrhdp7p.c' source_filename = "/tmp/tmp3mrhdp7p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"audio\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"[[audio%*u]]%n\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"[[audio%*d_%*u]]%n\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"app_post\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"[[app_post%*u|%n\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"a_%*u_%*u_%*u|%n\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"p_%*u_%*u_%*u_%*[0-9a-z]|%n\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"%*[0-9a-z]]]%n\00", align 1 @.str.8 = private unnamed_addr constant [9 x i8] c"graffiti\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"[[graffiti%*u]]%n\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"photo\00", align 1 @.str.11 = private unnamed_addr constant [19 x i8] c"[[photo%*d_%*u]]%n\00", align 1 @.str.12 = private unnamed_addr constant [13 x i8] c"posted_photo\00", align 1 @.str.13 = private unnamed_addr constant [41 x i8] c"[[posted_photo%*u_%*u_%*[0-9a-z]_%*u]]%n\00", align 1 @.str.14 = private unnamed_addr constant [6 x i8] c"video\00", align 1 @.str.15 = private unnamed_addr constant [15 x i8] c"[[video%*u]]%n\00", align 1 @.str.16 = private unnamed_addr constant [19 x i8] c"[[video%*d_%*u]]%n\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_wall_embedded_media(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 -1, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 2 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 switch i32 %11, label %189 [ i32 97, label %12 i32 103, label %110 i32 112, label %128 i32 118, label %163 ] 12: ; preds = %2 %13 = load i32, ptr %5, align 4 %14 = icmp sge i32 %13, 10 br i1 %14, label %15, label %37 15: ; preds = %12 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 2 %18 = call i32 @memcmp(ptr noundef %17, ptr noundef @.str, i32 noundef 5) %19 = icmp ne i32 %18, 0 br i1 %19, label %37, label %20 20: ; preds = %15 %21 = load ptr, ptr %4, align 8 %22 = call i32 @sscanf(ptr noundef %21, ptr noundef @.str.1, ptr noundef %6) %23 = icmp sge i32 %22, 0 br i1 %23, label %24, label %28 24: ; preds = %20 %25 = load i32, ptr %6, align 4 %26 = icmp sge i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %24 store i32 1, ptr %3, align 4 br label %190 28: ; preds = %24, %20 %29 = load ptr, ptr %4, align 8 %30 = call i32 @sscanf(ptr noundef %29, ptr noundef @.str.2, ptr noundef %6) %31 = icmp sge i32 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %28 %33 = load i32, ptr %6, align 4 %34 = icmp sge i32 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %32 store i32 1, ptr %3, align 4 br label %190 36: ; preds = %32, %28 br label %189 37: ; preds = %15, %12 %38 = load i32, ptr %5, align 4 %39 = icmp sge i32 %38, 13 br i1 %39, label %40, label %109 40: ; preds = %37 %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 2 %43 = call i32 @memcmp(ptr noundef %42, ptr noundef @.str.3, i32 noundef 8) %44 = icmp ne i32 %43, 0 br i1 %44, label %109, label %45 45: ; preds = %40 store i32 -1, ptr %7, align 4 %46 = load ptr, ptr %4, align 8 %47 = call i32 @sscanf(ptr noundef %46, ptr noundef @.str.4, ptr noundef %6) %48 = icmp slt i32 %47, 0 br i1 %48, label %52, label %49 49: ; preds = %45 %50 = load i32, ptr %6, align 4 %51 = icmp slt i32 %50, 0 br i1 %51, label %52, label %53 52: ; preds = %49, %45 store i32 0, ptr %3, align 4 br label %190 53: ; preds = %49 %54 = load ptr, ptr %4, align 8 %55 = load i32, ptr %6, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 switch i32 %59, label %72 [ i32 97, label %60 i32 112, label %66 ] 60: ; preds = %53 %61 = load ptr, ptr %4, align 8 %62 = load i32, ptr %6, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 %65 = call i32 @sscanf(ptr noundef %64, ptr noundef @.str.5, ptr noundef %7) br label %72 66: ; preds = %53 %67 = load ptr, ptr %4, align 8 %68 = load i32, ptr %6, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %67, i64 %69 %71 = call i32 @sscanf(ptr noundef %70, ptr noundef @.str.6, ptr noundef %7) br label %72 72: ; preds = %53, %66, %60 %73 = load i32, ptr %7, align 4 %74 = icmp slt i32 %73, 0 br i1 %74, label %75, label %76 75: ; preds = %72 store i32 0, ptr %3, align 4 br label %190 76: ; preds = %72 %77 = load i32, ptr %7, align 4 %78 = load i32, ptr %6, align 4 %79 = add nsw i32 %78, %77 store i32 %79, ptr %6, align 4 %80 = load ptr, ptr %4, align 8 %81 = load i32, ptr %6, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %80, i64 %82 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = icmp eq i32 %85, 93 br i1 %86, label %87, label %97 87: ; preds = %76 %88 = load ptr, ptr %4, align 8 %89 = load i32, ptr %6, align 4 %90 = add nsw i32 %89, 1 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i8, ptr %88, i64 %91 %93 = load i8, ptr %92, align 1 %94 = sext i8 %93 to i32 %95 = icmp eq i32 %94, 93 br i1 %95, label %96, label %97 96: ; preds = %87 store i32 5, ptr %3, align 4 br label %190 97: ; preds = %87, %76 store i32 -1, ptr %7, align 4 %98 = load ptr, ptr %4, align 8 %99 = load i32, ptr %6, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds i8, ptr %98, i64 %100 %102 = call i32 @sscanf(ptr noundef %101, ptr noundef @.str.7, ptr noundef %7) %103 = icmp sge i32 %102, 0 br i1 %103, label %104, label %108 104: ; preds = %97 %105 = load i32, ptr %7, align 4 %106 = icmp sge i32 %105, 0 br i1 %106, label %107, label %108 107: ; preds = %104 store i32 5, ptr %3, align 4 br label %190 108: ; preds = %104, %97 br label %109 109: ; preds = %108, %40, %37 br label %189 110: ; preds = %2 %111 = load i32, ptr %5, align 4 %112 = icmp sge i32 %111, 13 br i1 %112, label %113, label %127 113: ; preds = %110 %114 = load ptr, ptr %4, align 8 %115 = getelementptr inbounds i8, ptr %114, i64 2 %116 = call i32 @memcmp(ptr noundef %115, ptr noundef @.str.8, i32 noundef 8) %117 = icmp ne i32 %116, 0 br i1 %117, label %127, label %118 118: ; preds = %113 %119 = load ptr, ptr %4, align 8 %120 = call i32 @sscanf(ptr noundef %119, ptr noundef @.str.9, ptr noundef %6) %121 = icmp sge i32 %120, 0 br i1 %121, label %122, label %126 122: ; preds = %118 %123 = load i32, ptr %6, align 4 %124 = icmp sge i32 %123, 0 br i1 %124, label %125, label %126 125: ; preds = %122 store i32 1, ptr %3, align 4 br label %190 126: ; preds = %122, %118 br label %127 127: ; preds = %126, %113, %110 br label %189 128: ; preds = %2 %129 = load i32, ptr %5, align 4 %130 = icmp sge i32 %129, 10 br i1 %130, label %131, label %145 131: ; preds = %128 %132 = load ptr, ptr %4, align 8 %133 = getelementptr inbounds i8, ptr %132, i64 2 %134 = call i32 @memcmp(ptr noundef %133, ptr noundef @.str.10, i32 noundef 5) %135 = icmp ne i32 %134, 0 br i1 %135, label %145, label %136 136: ; preds = %131 %137 = load ptr, ptr %4, align 8 %138 = call i32 @sscanf(ptr noundef %137, ptr noundef @.str.11, ptr noundef %6) %139 = icmp sge i32 %138, 0 br i1 %139, label %140, label %144 140: ; preds = %136 %141 = load i32, ptr %6, align 4 %142 = icmp sge i32 %141, 0 br i1 %142, label %143, label %144 143: ; preds = %140 store i32 1, ptr %3, align 4 br label %190 144: ; preds = %140, %136 br label %189 145: ; preds = %131, %128 %146 = load i32, ptr %5, align 4 %147 = icmp sge i32 %146, 23 br i1 %147, label %148, label %162 148: ; preds = %145 %149 = load ptr, ptr %4, align 8 %150 = getelementptr inbounds i8, ptr %149, i64 2 %151 = call i32 @memcmp(ptr noundef %150, ptr noundef @.str.12, i32 noundef 12) %152 = icmp ne i32 %151, 0 br i1 %152, label %162, label %153 153: ; preds = %148 %154 = load ptr, ptr %4, align 8 %155 = call i32 @sscanf(ptr noundef %154, ptr noundef @.str.13, ptr noundef %6) %156 = icmp sge i32 %155, 0 br i1 %156, label %157, label %161 157: ; preds = %153 %158 = load i32, ptr %6, align 4 %159 = icmp sge i32 %158, 0 br i1 %159, label %160, label %161 160: ; preds = %157 store i32 1, ptr %3, align 4 br label %190 161: ; preds = %157, %153 br label %162 162: ; preds = %161, %148, %145 br label %189 163: ; preds = %2 %164 = load i32, ptr %5, align 4 %165 = icmp sge i32 %164, 10 br i1 %165, label %166, label %188 166: ; preds = %163 %167 = load ptr, ptr %4, align 8 %168 = getelementptr inbounds i8, ptr %167, i64 2 %169 = call i32 @memcmp(ptr noundef %168, ptr noundef @.str.14, i32 noundef 5) %170 = icmp ne i32 %169, 0 br i1 %170, label %188, label %171 171: ; preds = %166 %172 = load ptr, ptr %4, align 8 %173 = call i32 @sscanf(ptr noundef %172, ptr noundef @.str.15, ptr noundef %6) %174 = icmp sge i32 %173, 0 br i1 %174, label %175, label %179 175: ; preds = %171 %176 = load i32, ptr %6, align 4 %177 = icmp sge i32 %176, 0 br i1 %177, label %178, label %179 178: ; preds = %175 store i32 1, ptr %3, align 4 br label %190 179: ; preds = %175, %171 %180 = load ptr, ptr %4, align 8 %181 = call i32 @sscanf(ptr noundef %180, ptr noundef @.str.16, ptr noundef %6) %182 = icmp sge i32 %181, 0 br i1 %182, label %183, label %187 183: ; preds = %179 %184 = load i32, ptr %6, align 4 %185 = icmp sge i32 %184, 0 br i1 %185, label %186, label %187 186: ; preds = %183 store i32 1, ptr %3, align 4 br label %190 187: ; preds = %183, %179 br label %188 188: ; preds = %187, %166, %163 br label %189 189: ; preds = %2, %188, %162, %144, %127, %109, %36 store i32 0, ptr %3, align 4 br label %190 190: ; preds = %189, %186, %178, %160, %143, %125, %107, %96, %75, %52, %35, %27 %191 = load i32, ptr %3, align 4 ret i32 %191 } declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3mrhdp7p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"audio\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"[[audio%*u]]%n\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"[[audio%*d_%*u]]%n\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"app_post\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"[[app_post%*u|%n\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"a_%*u_%*u_%*u|%n\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"p_%*u_%*u_%*u_%*[0-9a-z]|%n\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"%*[0-9a-z]]]%n\00", align 1 @.str.8 = private unnamed_addr constant [9 x i8] c"graffiti\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"[[graffiti%*u]]%n\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"photo\00", align 1 @.str.11 = private unnamed_addr constant [19 x i8] c"[[photo%*d_%*u]]%n\00", align 1 @.str.12 = private unnamed_addr constant [13 x i8] c"posted_photo\00", align 1 @.str.13 = private unnamed_addr constant [41 x i8] c"[[posted_photo%*u_%*u_%*[0-9a-z]_%*u]]%n\00", align 1 @.str.14 = private unnamed_addr constant [6 x i8] c"video\00", align 1 @.str.15 = private unnamed_addr constant [15 x i8] c"[[video%*u]]%n\00", align 1 @.str.16 = private unnamed_addr constant [19 x i8] c"[[video%*d_%*u]]%n\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_wall_embedded_media(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 -1, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 2 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 switch i32 %11, label %189 [ i32 97, label %12 i32 103, label %110 i32 112, label %128 i32 118, label %163 ] 12: ; preds = %2 %13 = load i32, ptr %5, align 4 %14 = icmp sge i32 %13, 10 br i1 %14, label %15, label %37 15: ; preds = %12 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 2 %18 = call i32 @memcmp(ptr noundef %17, ptr noundef @.str, i32 noundef 5) %19 = icmp ne i32 %18, 0 br i1 %19, label %37, label %20 20: ; preds = %15 %21 = load ptr, ptr %4, align 8 %22 = call i32 @sscanf(ptr noundef %21, ptr noundef @.str.1, ptr noundef %6) %23 = icmp sge i32 %22, 0 br i1 %23, label %24, label %28 24: ; preds = %20 %25 = load i32, ptr %6, align 4 %26 = icmp sge i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %24 store i32 1, ptr %3, align 4 br label %190 28: ; preds = %24, %20 %29 = load ptr, ptr %4, align 8 %30 = call i32 @sscanf(ptr noundef %29, ptr noundef @.str.2, ptr noundef %6) %31 = icmp sge i32 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %28 %33 = load i32, ptr %6, align 4 %34 = icmp sge i32 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %32 store i32 1, ptr %3, align 4 br label %190 36: ; preds = %32, %28 br label %189 37: ; preds = %15, %12 %38 = load i32, ptr %5, align 4 %39 = icmp sge i32 %38, 13 br i1 %39, label %40, label %109 40: ; preds = %37 %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 2 %43 = call i32 @memcmp(ptr noundef %42, ptr noundef @.str.3, i32 noundef 8) %44 = icmp ne i32 %43, 0 br i1 %44, label %109, label %45 45: ; preds = %40 store i32 -1, ptr %7, align 4 %46 = load ptr, ptr %4, align 8 %47 = call i32 @sscanf(ptr noundef %46, ptr noundef @.str.4, ptr noundef %6) %48 = icmp slt i32 %47, 0 br i1 %48, label %52, label %49 49: ; preds = %45 %50 = load i32, ptr %6, align 4 %51 = icmp slt i32 %50, 0 br i1 %51, label %52, label %53 52: ; preds = %49, %45 store i32 0, ptr %3, align 4 br label %190 53: ; preds = %49 %54 = load ptr, ptr %4, align 8 %55 = load i32, ptr %6, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 switch i32 %59, label %72 [ i32 97, label %60 i32 112, label %66 ] 60: ; preds = %53 %61 = load ptr, ptr %4, align 8 %62 = load i32, ptr %6, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 %65 = call i32 @sscanf(ptr noundef %64, ptr noundef @.str.5, ptr noundef %7) br label %72 66: ; preds = %53 %67 = load ptr, ptr %4, align 8 %68 = load i32, ptr %6, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %67, i64 %69 %71 = call i32 @sscanf(ptr noundef %70, ptr noundef @.str.6, ptr noundef %7) br label %72 72: ; preds = %66, %60, %53 %73 = load i32, ptr %7, align 4 %74 = icmp slt i32 %73, 0 br i1 %74, label %75, label %76 75: ; preds = %72 store i32 0, ptr %3, align 4 br label %190 76: ; preds = %72 %77 = load i32, ptr %7, align 4 %78 = load i32, ptr %6, align 4 %79 = add nsw i32 %78, %77 store i32 %79, ptr %6, align 4 %80 = load ptr, ptr %4, align 8 %81 = load i32, ptr %6, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %80, i64 %82 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = icmp eq i32 %85, 93 br i1 %86, label %87, label %97 87: ; preds = %76 %88 = load ptr, ptr %4, align 8 %89 = load i32, ptr %6, align 4 %90 = add nsw i32 %89, 1 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i8, ptr %88, i64 %91 %93 = load i8, ptr %92, align 1 %94 = sext i8 %93 to i32 %95 = icmp eq i32 %94, 93 br i1 %95, label %96, label %97 96: ; preds = %87 store i32 5, ptr %3, align 4 br label %190 97: ; preds = %87, %76 store i32 -1, ptr %7, align 4 %98 = load ptr, ptr %4, align 8 %99 = load i32, ptr %6, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds i8, ptr %98, i64 %100 %102 = call i32 @sscanf(ptr noundef %101, ptr noundef @.str.7, ptr noundef %7) %103 = icmp sge i32 %102, 0 br i1 %103, label %104, label %108 104: ; preds = %97 %105 = load i32, ptr %7, align 4 %106 = icmp sge i32 %105, 0 br i1 %106, label %107, label %108 107: ; preds = %104 store i32 5, ptr %3, align 4 br label %190 108: ; preds = %104, %97 br label %109 109: ; preds = %108, %40, %37 br label %189 110: ; preds = %2 %111 = load i32, ptr %5, align 4 %112 = icmp sge i32 %111, 13 br i1 %112, label %113, label %127 113: ; preds = %110 %114 = load ptr, ptr %4, align 8 %115 = getelementptr inbounds i8, ptr %114, i64 2 %116 = call i32 @memcmp(ptr noundef %115, ptr noundef @.str.8, i32 noundef 8) %117 = icmp ne i32 %116, 0 br i1 %117, label %127, label %118 118: ; preds = %113 %119 = load ptr, ptr %4, align 8 %120 = call i32 @sscanf(ptr noundef %119, ptr noundef @.str.9, ptr noundef %6) %121 = icmp sge i32 %120, 0 br i1 %121, label %122, label %126 122: ; preds = %118 %123 = load i32, ptr %6, align 4 %124 = icmp sge i32 %123, 0 br i1 %124, label %125, label %126 125: ; preds = %122 store i32 1, ptr %3, align 4 br label %190 126: ; preds = %122, %118 br label %127 127: ; preds = %126, %113, %110 br label %189 128: ; preds = %2 %129 = load i32, ptr %5, align 4 %130 = icmp sge i32 %129, 10 br i1 %130, label %131, label %145 131: ; preds = %128 %132 = load ptr, ptr %4, align 8 %133 = getelementptr inbounds i8, ptr %132, i64 2 %134 = call i32 @memcmp(ptr noundef %133, ptr noundef @.str.10, i32 noundef 5) %135 = icmp ne i32 %134, 0 br i1 %135, label %145, label %136 136: ; preds = %131 %137 = load ptr, ptr %4, align 8 %138 = call i32 @sscanf(ptr noundef %137, ptr noundef @.str.11, ptr noundef %6) %139 = icmp sge i32 %138, 0 br i1 %139, label %140, label %144 140: ; preds = %136 %141 = load i32, ptr %6, align 4 %142 = icmp sge i32 %141, 0 br i1 %142, label %143, label %144 143: ; preds = %140 store i32 1, ptr %3, align 4 br label %190 144: ; preds = %140, %136 br label %189 145: ; preds = %131, %128 %146 = load i32, ptr %5, align 4 %147 = icmp sge i32 %146, 23 br i1 %147, label %148, label %162 148: ; preds = %145 %149 = load ptr, ptr %4, align 8 %150 = getelementptr inbounds i8, ptr %149, i64 2 %151 = call i32 @memcmp(ptr noundef %150, ptr noundef @.str.12, i32 noundef 12) %152 = icmp ne i32 %151, 0 br i1 %152, label %162, label %153 153: ; preds = %148 %154 = load ptr, ptr %4, align 8 %155 = call i32 @sscanf(ptr noundef %154, ptr noundef @.str.13, ptr noundef %6) %156 = icmp sge i32 %155, 0 br i1 %156, label %157, label %161 157: ; preds = %153 %158 = load i32, ptr %6, align 4 %159 = icmp sge i32 %158, 0 br i1 %159, label %160, label %161 160: ; preds = %157 store i32 1, ptr %3, align 4 br label %190 161: ; preds = %157, %153 br label %162 162: ; preds = %161, %148, %145 br label %189 163: ; preds = %2 %164 = load i32, ptr %5, align 4 %165 = icmp sge i32 %164, 10 br i1 %165, label %166, label %188 166: ; preds = %163 %167 = load ptr, ptr %4, align 8 %168 = getelementptr inbounds i8, ptr %167, i64 2 %169 = call i32 @memcmp(ptr noundef %168, ptr noundef @.str.14, i32 noundef 5) %170 = icmp ne i32 %169, 0 br i1 %170, label %188, label %171 171: ; preds = %166 %172 = load ptr, ptr %4, align 8 %173 = call i32 @sscanf(ptr noundef %172, ptr noundef @.str.15, ptr noundef %6) %174 = icmp sge i32 %173, 0 br i1 %174, label %175, label %179 175: ; preds = %171 %176 = load i32, ptr %6, align 4 %177 = icmp sge i32 %176, 0 br i1 %177, label %178, label %179 178: ; preds = %175 store i32 1, ptr %3, align 4 br label %190 179: ; preds = %175, %171 %180 = load ptr, ptr %4, align 8 %181 = call i32 @sscanf(ptr noundef %180, ptr noundef @.str.16, ptr noundef %6) %182 = icmp sge i32 %181, 0 br i1 %182, label %183, label %187 183: ; preds = %179 %184 = load i32, ptr %6, align 4 %185 = icmp sge i32 %184, 0 br i1 %185, label %186, label %187 186: ; preds = %183 store i32 1, ptr %3, align 4 br label %190 187: ; preds = %183, %179 br label %188 188: ; preds = %187, %166, %163 br label %189 189: ; preds = %188, %162, %144, %127, %109, %36, %2 store i32 0, ptr %3, align 4 br label %190 190: ; preds = %189, %186, %178, %160, %143, %125, %107, %96, %75, %52, %35, %27 %191 = load i32, ptr %3, align 4 ret i32 %191 } declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplowsghfn.c' source_filename = "/tmp/tmplowsghfn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Name? \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [36 x i8] c"Could not open file %s for reading\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Found 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 [100 x i8], align 16 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %10 = load i32, ptr @stdin, align 4 %11 = call i32 @fgets(ptr noundef %9, i32 noundef 100, i32 noundef %10) %12 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %13 = call i32 @strlen(ptr noundef %12) %14 = sub nsw i32 %13, 1 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %15 store i8 0, ptr %16, align 1 %17 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str.1) store ptr %18, ptr %7, align 8 %19 = load ptr, ptr %7, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %26 21: ; preds = %2 %22 = load i32, ptr @stderr, align 4 %23 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %24 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.2, ptr noundef %23) %25 = call i32 @exit(i32 noundef 8) #3 unreachable 26: ; preds = %2 %27 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %27) %29 = load ptr, ptr %7, align 8 %30 = call i32 @fclose(ptr noundef %29) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmplowsghfn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Name? \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [36 x i8] c"Could not open file %s for reading\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Found 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 [100 x i8], align 16 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %10 = load i32, ptr @stdin, align 4 %11 = call i32 @fgets(ptr noundef %9, i32 noundef 100, i32 noundef %10) %12 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %13 = call i32 @strlen(ptr noundef %12) %14 = sub nsw i32 %13, 1 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 %15 store i8 0, ptr %16, align 1 %17 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str.1) store ptr %18, ptr %7, align 8 %19 = load ptr, ptr %7, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %26 21: ; preds = %2 %22 = load i32, ptr @stderr, align 4 %23 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %24 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.2, ptr noundef %23) %25 = call i32 @exit(i32 noundef 8) #3 unreachable 26: ; preds = %2 %27 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %27) %29 = load ptr, ptr %7, align 8 %30 = call i32 @fclose(ptr noundef %29) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp3rb7k5x3.c' source_filename = "/tmp/tmp3rb7k5x3.c" target datalayout = "e-m:e-p270: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/tmp3rb7k5x3.c" target datalayout = "e-m:e-p270: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/tmpjsw2s6tq.c' source_filename = "/tmp/tmpjsw2s6tq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIG_IGN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clear_pending_blocked_signals(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @SIG_IGN, align 4 %6 = call i32 @signal(i32 noundef %4, i32 noundef %5) %7 = call i32 @install_signal_handler(i32 noundef %3, i32 noundef %6) ret void } declare i32 @install_signal_handler(i32 noundef, i32 noundef) #1 declare i32 @signal(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/tmpjsw2s6tq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIG_IGN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clear_pending_blocked_signals(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @SIG_IGN, align 4 %6 = call i32 @signal(i32 noundef %4, i32 noundef %5) %7 = call i32 @install_signal_handler(i32 noundef %3, i32 noundef %6) ret void } declare i32 @install_signal_handler(i32 noundef, i32 noundef) #1 declare i32 @signal(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/tmpg3u53kbp.c' source_filename = "/tmp/tmpg3u53kbp.c" target datalayout = "e-m:e-p270: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/tmpg3u53kbp.c" target datalayout = "e-m:e-p270: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/tmpqhzjyei0.c' source_filename = "/tmp/tmpqhzjyei0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @register_fueling() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = call double @get_RPM(i32 noundef 0) store double %3, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = fcmp olt double %4, 2.000000e+02 br i1 %5, label %9, label %6 6: ; preds = %0 %7 = load double, ptr %2, align 8 %8 = fcmp ogt double %7, 2.000000e+04 br i1 %8, label %9, label %10 9: ; preds = %6, %0 store double 0.000000e+00, ptr %1, align 8 br label %14 10: ; preds = %6 %11 = load double, ptr %2, align 8 %12 = call i32 (...) @get_TPS() %13 = call double @get_alphaN_table(double noundef %11, i32 noundef %12) store double %13, ptr %1, align 8 br label %14 14: ; preds = %10, %9 %15 = load double, ptr %1, align 8 ret double %15 } declare double @get_RPM(i32 noundef) #1 declare double @get_alphaN_table(double noundef, i32 noundef) #1 declare i32 @get_TPS(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqhzjyei0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @register_fueling() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = call double @get_RPM(i32 noundef 0) store double %3, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = fcmp olt double %4, 2.000000e+02 br i1 %5, label %9, label %6 6: ; preds = %0 %7 = load double, ptr %2, align 8 %8 = fcmp ogt double %7, 2.000000e+04 br i1 %8, label %9, label %10 9: ; preds = %6, %0 store double 0.000000e+00, ptr %1, align 8 br label %14 10: ; preds = %6 %11 = load double, ptr %2, align 8 %12 = call i32 (...) @get_TPS() %13 = call double @get_alphaN_table(double noundef %11, i32 noundef %12) store double %13, ptr %1, align 8 br label %14 14: ; preds = %10, %9 %15 = load double, ptr %1, align 8 ret double %15 } declare double @get_RPM(i32 noundef) #1 declare double @get_alphaN_table(double noundef, i32 noundef) #1 declare i32 @get_TPS(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4yscmuez.c' source_filename = "/tmp/tmp4yscmuez.c" target datalayout = "e-m:e-p270: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/tmp4yscmuez.c" target datalayout = "e-m:e-p270: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/tmpwc3u11ie.c' source_filename = "/tmp/tmpwc3u11ie.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @orgfxplus_clip(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %11 = load i32, ptr %10, align 4 %12 = call i32 @orgfx_enable_cliprect(i32 noundef %11) %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %9, align 4 %17 = call i32 @orgfx_cliprect(i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16) ret void } declare i32 @orgfx_enable_cliprect(i32 noundef) #1 declare i32 @orgfx_cliprect(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/tmpwc3u11ie.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @orgfxplus_clip(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %11 = load i32, ptr %10, align 4 %12 = call i32 @orgfx_enable_cliprect(i32 noundef %11) %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %9, align 4 %17 = call i32 @orgfx_cliprect(i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16) ret void } declare i32 @orgfx_enable_cliprect(i32 noundef) #1 declare i32 @orgfx_cliprect(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/tmppwwmk4q2.c' source_filename = "/tmp/tmppwwmk4q2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"ERROR [line 29]\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"ERROR [line 36]\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"ERROR [line 38]\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"ERROR [line 41]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @quick_run(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 [2 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %10 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %11 = call i32 @pipe(ptr noundef %10) %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %16 13: ; preds = %3 %14 = call i32 @perror(ptr noundef @.str) %15 = call i32 @exit(i32 noundef 1) #4 unreachable 16: ; preds = %3 %17 = call i32 @vfork() #5 store i32 %17, ptr %8, align 4 %18 = load i32, ptr %8, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %37, label %20 20: ; preds = %16 %21 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %22 = load i32, ptr %21, align 4 %23 = call i32 @close(i32 noundef %22) %24 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %25 = load i32, ptr %24, align 4 %26 = call i32 @dup2(i32 noundef %25, i32 noundef 1) %27 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %28 = load i32, ptr %27, align 4 %29 = call i32 @close(i32 noundef %28) %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 0 %32 = load ptr, ptr %31, align 8 %33 = load ptr, ptr %4, align 8 %34 = call i32 @execvp(ptr noundef %32, ptr noundef %33) %35 = call i32 @perror(ptr noundef @.str.1) %36 = call i32 @_exit(i32 noundef 1) #4 unreachable 37: ; preds = %16 %38 = load i32, ptr %8, align 4 %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %43 40: ; preds = %37 %41 = call i32 @perror(ptr noundef @.str.2) %42 = call i32 @exit(i32 noundef 1) #4 unreachable 43: ; preds = %37 br label %44 44: ; preds = %43 %45 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %46 = load i32, ptr %45, align 4 %47 = call i32 @close(i32 noundef %46) %48 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %49 = load i32, ptr %48, align 4 %50 = load ptr, ptr %5, align 8 %51 = load i64, ptr %6, align 8 %52 = sub i64 %51, 1 %53 = call i32 @read(i32 noundef %49, ptr noundef %50, i64 noundef %52) store i32 %53, ptr %9, align 4 %54 = load i32, ptr %9, align 4 %55 = icmp eq i32 %54, -1 br i1 %55, label %56, label %59 56: ; preds = %44 %57 = call i32 @perror(ptr noundef @.str.3) %58 = call i32 @exit(i32 noundef 1) #4 unreachable 59: ; preds = %44 %60 = load ptr, ptr %5, align 8 %61 = load i32, ptr %9, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %60, i64 %62 store i8 0, ptr %63, align 1 %64 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %65 = load i32, ptr %64, align 4 %66 = call i32 @close(i32 noundef %65) %67 = load i32, ptr %9, align 4 %68 = sext i32 %67 to i64 ret i64 %68 } declare i32 @pipe(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 ; Function Attrs: returns_twice declare i32 @vfork() #3 declare i32 @close(i32 noundef) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 declare i32 @read(i32 noundef, 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" } 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 = { returns_twice "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } attributes #5 = { returns_twice } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppwwmk4q2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"ERROR [line 29]\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"ERROR [line 36]\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"ERROR [line 38]\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"ERROR [line 41]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @quick_run(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 [2 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %10 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %11 = call i32 @pipe(ptr noundef %10) %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %16 13: ; preds = %3 %14 = call i32 @perror(ptr noundef @.str) %15 = call i32 @exit(i32 noundef 1) #4 unreachable 16: ; preds = %3 %17 = call i32 @vfork() #5 store i32 %17, ptr %8, align 4 %18 = load i32, ptr %8, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %37, label %20 20: ; preds = %16 %21 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %22 = load i32, ptr %21, align 4 %23 = call i32 @close(i32 noundef %22) %24 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %25 = load i32, ptr %24, align 4 %26 = call i32 @dup2(i32 noundef %25, i32 noundef 1) %27 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %28 = load i32, ptr %27, align 4 %29 = call i32 @close(i32 noundef %28) %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 0 %32 = load ptr, ptr %31, align 8 %33 = load ptr, ptr %4, align 8 %34 = call i32 @execvp(ptr noundef %32, ptr noundef %33) %35 = call i32 @perror(ptr noundef @.str.1) %36 = call i32 @_exit(i32 noundef 1) #4 unreachable 37: ; preds = %16 %38 = load i32, ptr %8, align 4 %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %43 40: ; preds = %37 %41 = call i32 @perror(ptr noundef @.str.2) %42 = call i32 @exit(i32 noundef 1) #4 unreachable 43: ; preds = %37 br label %44 44: ; preds = %43 %45 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %46 = load i32, ptr %45, align 4 %47 = call i32 @close(i32 noundef %46) %48 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %49 = load i32, ptr %48, align 4 %50 = load ptr, ptr %5, align 8 %51 = load i64, ptr %6, align 8 %52 = sub i64 %51, 1 %53 = call i32 @read(i32 noundef %49, ptr noundef %50, i64 noundef %52) store i32 %53, ptr %9, align 4 %54 = load i32, ptr %9, align 4 %55 = icmp eq i32 %54, -1 br i1 %55, label %56, label %59 56: ; preds = %44 %57 = call i32 @perror(ptr noundef @.str.3) %58 = call i32 @exit(i32 noundef 1) #4 unreachable 59: ; preds = %44 %60 = load ptr, ptr %5, align 8 %61 = load i32, ptr %9, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %60, i64 %62 store i8 0, ptr %63, align 1 %64 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %65 = load i32, ptr %64, align 4 %66 = call i32 @close(i32 noundef %65) %67 = load i32, ptr %9, align 4 %68 = sext i32 %67 to i64 ret i64 %68 } declare i32 @pipe(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 ; Function Attrs: returns_twice declare i32 @vfork() #3 declare i32 @close(i32 noundef) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 declare i32 @read(i32 noundef, 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" } 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 = { returns_twice "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } attributes #5 = { returns_twice } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_c4vlr4l.c' source_filename = "/tmp/tmp_c4vlr4l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"benchmarkvalue.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%li\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @GetValue() #0 { %1 = alloca ptr, align 8 %2 = alloca i64, align 8 store i64 0, ptr %2, align 8 %3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %6, label %17 6: ; preds = %0 br label %7 7: ; preds = %13, %6 %8 = load ptr, ptr %1, align 8 %9 = call i64 @fgetc(ptr noundef %8) %10 = trunc i64 %9 to i8 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 67 br i1 %12, label %13, label %16 13: ; preds = %7 %14 = load ptr, ptr %1, align 8 %15 = call i32 @fscanf(ptr noundef %14, ptr noundef @.str.2, ptr noundef %2) br label %7, !llvm.loop !6 16: ; preds = %7 br label %17 17: ; preds = %16, %0 %18 = load i64, ptr %2, align 8 ret i64 %18 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fgetc(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_c4vlr4l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"benchmarkvalue.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%li\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @GetValue() #0 { %1 = alloca ptr, align 8 %2 = alloca i64, align 8 store i64 0, ptr %2, align 8 %3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %6, label %21 6: ; preds = %0 %7 = load ptr, ptr %1, align 8 %8 = call i64 @fgetc(ptr noundef %7) %9 = trunc i64 %8 to i8 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 67 br i1 %11, label %.lr.ph, label %20 .lr.ph: ; preds = %6 br label %12 12: ; preds = %.lr.ph, %12 %13 = load ptr, ptr %1, align 8 %14 = call i32 @fscanf(ptr noundef %13, ptr noundef @.str.2, ptr noundef %2) %15 = load ptr, ptr %1, align 8 %16 = call i64 @fgetc(ptr noundef %15) %17 = trunc i64 %16 to i8 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 67 br i1 %19, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %20 20: ; preds = %._crit_edge, %6 br label %21 21: ; preds = %20, %0 %22 = load i64, ptr %2, align 8 ret i64 %22 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fgetc(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpv_f6vyzc.c' source_filename = "/tmp/tmpv_f6vyzc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rc6_decrypt(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 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [4 x i32], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %18 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0 store ptr %18, ptr %17, align 8 %19 = load ptr, ptr %17, align 8 %20 = load ptr, ptr %4, align 8 %21 = call i32 @memcpy(ptr noundef %19, ptr noundef %20, i32 noundef 16) %22 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0 %23 = load i32, ptr %22, align 16 store i32 %23, ptr %7, align 4 %24 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 1 %25 = load i32, ptr %24, align 4 store i32 %25, ptr %8, align 4 %26 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 2 %27 = load i32, ptr %26, align 8 store i32 %27, ptr %9, align 4 %28 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 3 %29 = load i32, ptr %28, align 4 store i32 %29, ptr %10, align 4 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds i32, ptr %30, i64 43 %32 = load i32, ptr %31, align 4 %33 = load i32, ptr %9, align 4 %34 = sub i32 %33, %32 store i32 %34, ptr %9, align 4 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds i32, ptr %35, i64 42 %37 = load i32, ptr %36, align 4 %38 = load i32, ptr %7, align 4 %39 = sub i32 %38, %37 store i32 %39, ptr %7, align 4 store i32 20, ptr %16, align 4 br label %40 40: ; preds = %131, %3 %41 = load i32, ptr %16, align 4 %42 = icmp uge i32 %41, 1 br i1 %42, label %43, label %134 43: ; preds = %40 %44 = load i32, ptr %7, align 4 store i32 %44, ptr %14, align 4 %45 = load i32, ptr %10, align 4 store i32 %45, ptr %7, align 4 %46 = load i32, ptr %8, align 4 store i32 %46, ptr %15, align 4 %47 = load i32, ptr %14, align 4 store i32 %47, ptr %8, align 4 %48 = load i32, ptr %9, align 4 store i32 %48, ptr %14, align 4 %49 = load i32, ptr %15, align 4 store i32 %49, ptr %9, align 4 %50 = load i32, ptr %14, align 4 store i32 %50, ptr %10, align 4 %51 = load i32, ptr %8, align 4 %52 = load i32, ptr %8, align 4 %53 = shl i32 %52, 1 %54 = add i32 %53, 1 %55 = mul i32 %51, %54 %56 = shl i32 %55, 5 %57 = load i32, ptr %8, align 4 %58 = load i32, ptr %8, align 4 %59 = shl i32 %58, 1 %60 = add i32 %59, 1 %61 = mul i32 %57, %60 %62 = lshr i32 %61, 27 %63 = or i32 %56, %62 store i32 %63, ptr %12, align 4 %64 = load i32, ptr %10, align 4 %65 = load i32, ptr %10, align 4 %66 = shl i32 %65, 1 %67 = add i32 %66, 1 %68 = mul i32 %64, %67 %69 = shl i32 %68, 5 %70 = load i32, ptr %10, align 4 %71 = load i32, ptr %10, align 4 %72 = shl i32 %71, 1 %73 = add i32 %72, 1 %74 = mul i32 %70, %73 %75 = lshr i32 %74, 27 %76 = or i32 %69, %75 store i32 %76, ptr %13, align 4 %77 = load i32, ptr %7, align 4 %78 = load ptr, ptr %5, align 8 %79 = load i32, ptr %16, align 4 %80 = shl i32 %79, 1 %81 = zext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %78, i64 %81 %83 = load i32, ptr %82, align 4 %84 = sub i32 %77, %83 %85 = load i32, ptr %13, align 4 %86 = and i32 %85, 31 %87 = lshr i32 %84, %86 %88 = load i32, ptr %7, align 4 %89 = load ptr, ptr %5, align 8 %90 = load i32, ptr %16, align 4 %91 = shl i32 %90, 1 %92 = zext i32 %91 to i64 %93 = getelementptr inbounds i32, ptr %89, i64 %92 %94 = load i32, ptr %93, align 4 %95 = sub i32 %88, %94 %96 = load i32, ptr %13, align 4 %97 = and i32 %96, 31 %98 = sub i32 32, %97 %99 = shl i32 %95, %98 %100 = or i32 %87, %99 %101 = load i32, ptr %12, align 4 %102 = xor i32 %100, %101 store i32 %102, ptr %7, align 4 %103 = load i32, ptr %9, align 4 %104 = load ptr, ptr %5, align 8 %105 = load i32, ptr %16, align 4 %106 = shl i32 %105, 1 %107 = add i32 %106, 1 %108 = zext i32 %107 to i64 %109 = getelementptr inbounds i32, ptr %104, i64 %108 %110 = load i32, ptr %109, align 4 %111 = sub i32 %103, %110 %112 = load i32, ptr %12, align 4 %113 = and i32 %112, 31 %114 = lshr i32 %111, %113 %115 = load i32, ptr %9, align 4 %116 = load ptr, ptr %5, align 8 %117 = load i32, ptr %16, align 4 %118 = shl i32 %117, 1 %119 = add i32 %118, 1 %120 = zext i32 %119 to i64 %121 = getelementptr inbounds i32, ptr %116, i64 %120 %122 = load i32, ptr %121, align 4 %123 = sub i32 %115, %122 %124 = load i32, ptr %12, align 4 %125 = and i32 %124, 31 %126 = sub i32 32, %125 %127 = shl i32 %123, %126 %128 = or i32 %114, %127 %129 = load i32, ptr %13, align 4 %130 = xor i32 %128, %129 store i32 %130, ptr %9, align 4 br label %131 131: ; preds = %43 %132 = load i32, ptr %16, align 4 %133 = add i32 %132, -1 store i32 %133, ptr %16, align 4 br label %40, !llvm.loop !6 134: ; preds = %40 %135 = load ptr, ptr %5, align 8 %136 = getelementptr inbounds i32, ptr %135, i64 1 %137 = load i32, ptr %136, align 4 %138 = load i32, ptr %10, align 4 %139 = sub i32 %138, %137 store i32 %139, ptr %10, align 4 %140 = load ptr, ptr %5, align 8 %141 = getelementptr inbounds i32, ptr %140, i64 0 %142 = load i32, ptr %141, align 4 %143 = load i32, ptr %8, align 4 %144 = sub i32 %143, %142 store i32 %144, ptr %8, align 4 %145 = load i32, ptr %7, align 4 %146 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0 store i32 %145, ptr %146, align 16 %147 = load i32, ptr %8, align 4 %148 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 1 store i32 %147, ptr %148, align 4 %149 = load i32, ptr %9, align 4 %150 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 2 store i32 %149, ptr %150, align 8 %151 = load i32, ptr %10, align 4 %152 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 3 store i32 %151, ptr %152, align 4 %153 = load ptr, ptr %6, align 8 %154 = load ptr, ptr %17, align 8 %155 = call i32 @memcpy(ptr noundef %153, ptr noundef %154, i32 noundef 16) ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv_f6vyzc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rc6_decrypt(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 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [4 x i32], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %18 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0 store ptr %18, ptr %17, align 8 %19 = load ptr, ptr %17, align 8 %20 = load ptr, ptr %4, align 8 %21 = call i32 @memcpy(ptr noundef %19, ptr noundef %20, i32 noundef 16) %22 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0 %23 = load i32, ptr %22, align 16 store i32 %23, ptr %7, align 4 %24 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 1 %25 = load i32, ptr %24, align 4 store i32 %25, ptr %8, align 4 %26 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 2 %27 = load i32, ptr %26, align 8 store i32 %27, ptr %9, align 4 %28 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 3 %29 = load i32, ptr %28, align 4 store i32 %29, ptr %10, align 4 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds i32, ptr %30, i64 43 %32 = load i32, ptr %31, align 4 %33 = load i32, ptr %9, align 4 %34 = sub i32 %33, %32 store i32 %34, ptr %9, align 4 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds i32, ptr %35, i64 42 %37 = load i32, ptr %36, align 4 %38 = load i32, ptr %7, align 4 %39 = sub i32 %38, %37 store i32 %39, ptr %7, align 4 store i32 20, ptr %16, align 4 %40 = load i32, ptr %16, align 4 %41 = icmp uge i32 %40, 1 br i1 %41, label %.lr.ph, label %135 .lr.ph: ; preds = %3 br label %42 42: ; preds = %.lr.ph, %130 %43 = load i32, ptr %7, align 4 store i32 %43, ptr %14, align 4 %44 = load i32, ptr %10, align 4 store i32 %44, ptr %7, align 4 %45 = load i32, ptr %8, align 4 store i32 %45, ptr %15, align 4 %46 = load i32, ptr %14, align 4 store i32 %46, ptr %8, align 4 %47 = load i32, ptr %9, align 4 store i32 %47, ptr %14, align 4 %48 = load i32, ptr %15, align 4 store i32 %48, ptr %9, align 4 %49 = load i32, ptr %14, align 4 store i32 %49, ptr %10, align 4 %50 = load i32, ptr %8, align 4 %51 = load i32, ptr %8, align 4 %52 = shl i32 %51, 1 %53 = add i32 %52, 1 %54 = mul i32 %50, %53 %55 = shl i32 %54, 5 %56 = load i32, ptr %8, align 4 %57 = load i32, ptr %8, align 4 %58 = shl i32 %57, 1 %59 = add i32 %58, 1 %60 = mul i32 %56, %59 %61 = lshr i32 %60, 27 %62 = or i32 %55, %61 store i32 %62, ptr %12, align 4 %63 = load i32, ptr %10, align 4 %64 = load i32, ptr %10, align 4 %65 = shl i32 %64, 1 %66 = add i32 %65, 1 %67 = mul i32 %63, %66 %68 = shl i32 %67, 5 %69 = load i32, ptr %10, align 4 %70 = load i32, ptr %10, align 4 %71 = shl i32 %70, 1 %72 = add i32 %71, 1 %73 = mul i32 %69, %72 %74 = lshr i32 %73, 27 %75 = or i32 %68, %74 store i32 %75, ptr %13, align 4 %76 = load i32, ptr %7, align 4 %77 = load ptr, ptr %5, align 8 %78 = load i32, ptr %16, align 4 %79 = shl i32 %78, 1 %80 = zext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %77, i64 %80 %82 = load i32, ptr %81, align 4 %83 = sub i32 %76, %82 %84 = load i32, ptr %13, align 4 %85 = and i32 %84, 31 %86 = lshr i32 %83, %85 %87 = load i32, ptr %7, align 4 %88 = load ptr, ptr %5, align 8 %89 = load i32, ptr %16, align 4 %90 = shl i32 %89, 1 %91 = zext i32 %90 to i64 %92 = getelementptr inbounds i32, ptr %88, i64 %91 %93 = load i32, ptr %92, align 4 %94 = sub i32 %87, %93 %95 = load i32, ptr %13, align 4 %96 = and i32 %95, 31 %97 = sub i32 32, %96 %98 = shl i32 %94, %97 %99 = or i32 %86, %98 %100 = load i32, ptr %12, align 4 %101 = xor i32 %99, %100 store i32 %101, ptr %7, align 4 %102 = load i32, ptr %9, align 4 %103 = load ptr, ptr %5, align 8 %104 = load i32, ptr %16, align 4 %105 = shl i32 %104, 1 %106 = add i32 %105, 1 %107 = zext i32 %106 to i64 %108 = getelementptr inbounds i32, ptr %103, i64 %107 %109 = load i32, ptr %108, align 4 %110 = sub i32 %102, %109 %111 = load i32, ptr %12, align 4 %112 = and i32 %111, 31 %113 = lshr i32 %110, %112 %114 = load i32, ptr %9, align 4 %115 = load ptr, ptr %5, align 8 %116 = load i32, ptr %16, align 4 %117 = shl i32 %116, 1 %118 = add i32 %117, 1 %119 = zext i32 %118 to i64 %120 = getelementptr inbounds i32, ptr %115, i64 %119 %121 = load i32, ptr %120, align 4 %122 = sub i32 %114, %121 %123 = load i32, ptr %12, align 4 %124 = and i32 %123, 31 %125 = sub i32 32, %124 %126 = shl i32 %122, %125 %127 = or i32 %113, %126 %128 = load i32, ptr %13, align 4 %129 = xor i32 %127, %128 store i32 %129, ptr %9, align 4 br label %130 130: ; preds = %42 %131 = load i32, ptr %16, align 4 %132 = add i32 %131, -1 store i32 %132, ptr %16, align 4 %133 = load i32, ptr %16, align 4 %134 = icmp uge i32 %133, 1 br i1 %134, label %42, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %130 br label %135 135: ; preds = %._crit_edge, %3 %136 = load ptr, ptr %5, align 8 %137 = getelementptr inbounds i32, ptr %136, i64 1 %138 = load i32, ptr %137, align 4 %139 = load i32, ptr %10, align 4 %140 = sub i32 %139, %138 store i32 %140, ptr %10, align 4 %141 = load ptr, ptr %5, align 8 %142 = getelementptr inbounds i32, ptr %141, i64 0 %143 = load i32, ptr %142, align 4 %144 = load i32, ptr %8, align 4 %145 = sub i32 %144, %143 store i32 %145, ptr %8, align 4 %146 = load i32, ptr %7, align 4 %147 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0 store i32 %146, ptr %147, align 16 %148 = load i32, ptr %8, align 4 %149 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 1 store i32 %148, ptr %149, align 4 %150 = load i32, ptr %9, align 4 %151 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 2 store i32 %150, ptr %151, align 8 %152 = load i32, ptr %10, align 4 %153 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 3 store i32 %152, ptr %153, align 4 %154 = load ptr, ptr %6, align 8 %155 = load ptr, ptr %17, align 8 %156 = call i32 @memcpy(ptr noundef %154, ptr noundef %155, i32 noundef 16) ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwreh53wt.c' source_filename = "/tmp/tmpwreh53wt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remainder(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = srem i32 %5, %6 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwreh53wt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remainder(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = srem i32 %5, %6 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvlswuu76.c' source_filename = "/tmp/tmpvlswuu76.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%2.1f\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%2.2f\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"%2.3f\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"%2.4f\0A\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"%.4f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str, double noundef 0x3FCE0B945257E3F9) %3 = call i32 @printf(ptr noundef @.str.1, double noundef 0x4024782E51495F90) %4 = call i32 @printf(ptr noundef @.str.2, double noundef 0x4024782E51495F90) %5 = call i32 @printf(ptr noundef @.str.3, double noundef 0x4024782E51495F90) %6 = call i32 @printf(ptr noundef @.str.4, double noundef 0x4024782E51495F90) %7 = call i32 @printf(ptr noundef @.str.5, double noundef 0x4024782E51495F90) ret i32 0 } declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvlswuu76.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%2.1f\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%2.2f\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"%2.3f\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"%2.4f\0A\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"%.4f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str, double noundef 0x3FCE0B945257E3F9) %3 = call i32 @printf(ptr noundef @.str.1, double noundef 0x4024782E51495F90) %4 = call i32 @printf(ptr noundef @.str.2, double noundef 0x4024782E51495F90) %5 = call i32 @printf(ptr noundef @.str.3, double noundef 0x4024782E51495F90) %6 = call i32 @printf(ptr noundef @.str.4, double noundef 0x4024782E51495F90) %7 = call i32 @printf(ptr noundef @.str.5, double noundef 0x4024782E51495F90) ret i32 0 } declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx_1wxn07.c' source_filename = "/tmp/tmpx_1wxn07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A%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) %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = mul nsw i32 %5, %6 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = mul nsw i32 %10, %11 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx_1wxn07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A%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) %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = mul nsw i32 %5, %6 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = mul nsw i32 %10, %11 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp_iad8a_.c' source_filename = "/tmp/tmpp_iad8a_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"Sequence (Single Thread / Process)\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp eq i32 %10, 3 br i1 %11, label %12, label %32 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 @atoi(ptr noundef %15) store i32 %16, ptr %6, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 2 %19 = load ptr, ptr %18, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 115 br i1 %22, label %23, label %29 23: ; preds = %12 %24 = load i32, ptr %6, align 4 %25 = call i32 @simulateAndStats(i32 noundef %24, ptr noundef @.str) store i32 %25, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %6, align 4 %28 = call i32 @printStats(i32 noundef %26, i32 noundef %27, ptr noundef @.str) br label %31 29: ; preds = %12 %30 = call i32 (...) @printUsage() br label %31 31: ; preds = %29, %23 br label %60 32: ; preds = %2 %33 = load i32, ptr %4, align 4 %34 = icmp eq i32 %33, 4 br i1 %34, label %35, label %57 35: ; preds = %32 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 1 %38 = load ptr, ptr %37, align 8 %39 = call i32 @atoi(ptr noundef %38) store i32 %39, ptr %8, align 4 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 2 %42 = load ptr, ptr %41, align 8 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 112 br i1 %45, label %46, label %54 46: ; preds = %35 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds ptr, ptr %47, i64 3 %49 = load ptr, ptr %48, align 8 %50 = call i32 @atoi(ptr noundef %49) store i32 %50, ptr %9, align 4 %51 = load i32, ptr %8, align 4 %52 = load i32, ptr %9, align 4 %53 = call i32 @simulateAndStatsWithProcesses(i32 noundef %51, i32 noundef %52) br label %56 54: ; preds = %35 %55 = call i32 (...) @printUsage() br label %56 56: ; preds = %54, %46 br label %59 57: ; preds = %32 %58 = call i32 (...) @printUsage() br label %59 59: ; preds = %57, %56 br label %60 60: ; preds = %59, %31 %61 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %61 } declare i32 @atoi(ptr noundef) #1 declare i32 @simulateAndStats(i32 noundef, ptr noundef) #1 declare i32 @printStats(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printUsage(...) #1 declare i32 @simulateAndStatsWithProcesses(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/tmpp_iad8a_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"Sequence (Single Thread / Process)\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp eq i32 %10, 3 br i1 %11, label %12, label %32 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 @atoi(ptr noundef %15) store i32 %16, ptr %6, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 2 %19 = load ptr, ptr %18, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 115 br i1 %22, label %23, label %29 23: ; preds = %12 %24 = load i32, ptr %6, align 4 %25 = call i32 @simulateAndStats(i32 noundef %24, ptr noundef @.str) store i32 %25, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %6, align 4 %28 = call i32 @printStats(i32 noundef %26, i32 noundef %27, ptr noundef @.str) br label %31 29: ; preds = %12 %30 = call i32 (...) @printUsage() br label %31 31: ; preds = %29, %23 br label %60 32: ; preds = %2 %33 = load i32, ptr %4, align 4 %34 = icmp eq i32 %33, 4 br i1 %34, label %35, label %57 35: ; preds = %32 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 1 %38 = load ptr, ptr %37, align 8 %39 = call i32 @atoi(ptr noundef %38) store i32 %39, ptr %8, align 4 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 2 %42 = load ptr, ptr %41, align 8 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 112 br i1 %45, label %46, label %54 46: ; preds = %35 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds ptr, ptr %47, i64 3 %49 = load ptr, ptr %48, align 8 %50 = call i32 @atoi(ptr noundef %49) store i32 %50, ptr %9, align 4 %51 = load i32, ptr %8, align 4 %52 = load i32, ptr %9, align 4 %53 = call i32 @simulateAndStatsWithProcesses(i32 noundef %51, i32 noundef %52) br label %56 54: ; preds = %35 %55 = call i32 (...) @printUsage() br label %56 56: ; preds = %54, %46 br label %59 57: ; preds = %32 %58 = call i32 (...) @printUsage() br label %59 59: ; preds = %57, %56 br label %60 60: ; preds = %59, %31 %61 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %61 } declare i32 @atoi(ptr noundef) #1 declare i32 @simulateAndStats(i32 noundef, ptr noundef) #1 declare i32 @printStats(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printUsage(...) #1 declare i32 @simulateAndStatsWithProcesses(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/tmp98groul3.c' source_filename = "/tmp/tmp98groul3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [10 x i8] c"\0A%d - %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [10 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 br label %6 6: ; preds = %13, %0 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %9, label %16 9: ; preds = %6 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %11 store i32 0, ptr %12, align 4 br label %13 13: ; preds = %9 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %4, align 4 br label %6, !llvm.loop !6 16: ; preds = %6 %17 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) br label %18 18: ; preds = %41, %16 %19 = load i32, ptr %4, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %44 21: ; preds = %18 %22 = load i32, ptr %4, align 4 %23 = srem i32 %22, 10 store i32 %23, ptr %3, align 4 store i32 0, ptr %2, align 4 br label %24 24: ; preds = %38, %21 %25 = load i32, ptr %2, align 4 %26 = icmp slt i32 %25, 10 br i1 %26, label %27, label %41 27: ; preds = %24 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %2, align 4 %30 = icmp eq i32 %28, %29 br i1 %30, label %31, label %37 31: ; preds = %27 %32 = load i32, ptr %2, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %33 %35 = load i32, ptr %34, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %34, align 4 br label %37 37: ; preds = %31, %27 br label %38 38: ; preds = %37 %39 = load i32, ptr %2, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %2, align 4 br label %24, !llvm.loop !8 41: ; preds = %24 %42 = load i32, ptr %4, align 4 %43 = sdiv i32 %42, 10 store i32 %43, ptr %4, align 4 br label %18, !llvm.loop !9 44: ; preds = %18 store i32 0, ptr %3, align 4 br label %45 45: ; preds = %55, %44 %46 = load i32, ptr %3, align 4 %47 = icmp slt i32 %46, 10 br i1 %47, label %48, label %58 48: ; preds = %45 %49 = load i32, ptr %3, align 4 %50 = load i32, ptr %3, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %51 %53 = load i32, ptr %52, align 4 %54 = call i32 @printf(ptr noundef @.str.1, i32 noundef %49, i32 noundef %53) br label %55 55: ; preds = %48 %56 = load i32, ptr %3, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %3, align 4 br label %45, !llvm.loop !10 58: ; preds = %45 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp98groul3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [10 x i8] c"\0A%d - %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [10 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 10 br i1 %7, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %12 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %10 store i32 0, ptr %11, align 4 br label %12 12: ; preds = %8 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 10 br i1 %16, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 %18 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %19 = load i32, ptr %4, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %.lr.ph5, label %47 .lr.ph5: ; preds = %17 br label %21 21: ; preds = %.lr.ph5, %42 %22 = load i32, ptr %4, align 4 %23 = srem i32 %22, 10 store i32 %23, ptr %3, align 4 store i32 0, ptr %2, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %24, 10 br i1 %25, label %.lr.ph2, label %42 .lr.ph2: ; preds = %21 br label %26 26: ; preds = %.lr.ph2, %37 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %2, align 4 %29 = icmp eq i32 %27, %28 br i1 %29, label %30, label %36 30: ; preds = %26 %31 = load i32, ptr %2, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %33, align 4 br label %36 36: ; preds = %30, %26 br label %37 37: ; preds = %36 %38 = load i32, ptr %2, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %2, align 4 %40 = load i32, ptr %2, align 4 %41 = icmp slt i32 %40, 10 br i1 %41, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %37 br label %42 42: ; preds = %._crit_edge3, %21 %43 = load i32, ptr %4, align 4 %44 = sdiv i32 %43, 10 store i32 %44, ptr %4, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp sgt i32 %45, 0 br i1 %46, label %21, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %42 br label %47 47: ; preds = %._crit_edge6, %17 store i32 0, ptr %3, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %48, 10 br i1 %49, label %.lr.ph8, label %62 .lr.ph8: ; preds = %47 br label %50 50: ; preds = %.lr.ph8, %57 %51 = load i32, ptr %3, align 4 %52 = load i32, ptr %3, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 @printf(ptr noundef @.str.1, i32 noundef %51, i32 noundef %55) br label %57 57: ; preds = %50 %58 = load i32, ptr %3, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %3, align 4 %60 = load i32, ptr %3, align 4 %61 = icmp slt i32 %60, 10 br i1 %61, label %50, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %57 br label %62 62: ; preds = %._crit_edge9, %47 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpfuwcpq4o.c' source_filename = "/tmp/tmpfuwcpq4o.c" target datalayout = "e-m:e-p270: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/tmpfuwcpq4o.c" target datalayout = "e-m:e-p270: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/tmpqqr0r6fm.c' source_filename = "/tmp/tmpqqr0r6fm.c" target datalayout = "e-m:e-p270: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/tmpqqr0r6fm.c" target datalayout = "e-m:e-p270: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/tmpvmnoflgw.c' source_filename = "/tmp/tmpvmnoflgw.c" target datalayout = "e-m:e-p270: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 [20 x i8] c"Invalid depth data\0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"Unexpected compressed code=0x%08lx\0A\00", align 1 @.str.2 = private unnamed_addr constant [51 x i8] c"Unexpected nDepth too large, reaches back too far\0A\00", align 1 @.str.3 = private unnamed_addr constant [64 x i8] c"Unexpected nCount too large, reaches too far forward into dest\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"Warning: %u bytes left\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @W4Decompress(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i64, align 8 %18 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %19 = load ptr, ptr %7, align 8 %20 = load i64, ptr %8, align 8 %21 = getelementptr inbounds i8, ptr %19, i64 %20 store ptr %21, ptr %9, align 8 %22 = load ptr, ptr %5, align 8 %23 = load i64, ptr %6, align 8 %24 = getelementptr inbounds i8, ptr %22, i64 %23 store ptr %24, ptr %10, align 8 %25 = load ptr, ptr %5, align 8 store ptr %25, ptr %11, align 8 store i32 0, ptr %12, align 4 store i32 0, ptr %15, align 4 store i64 0, ptr %17, align 8 store i32 1, ptr %14, align 4 store i32 8, ptr %16, align 4 store i64 0, ptr %17, align 8 br label %26 26: ; preds = %38, %4 %27 = load i64, ptr %17, align 8 %28 = icmp ule i64 %27, 3 br i1 %28, label %29, label %41 29: ; preds = %26 %30 = load i32, ptr %12, align 4 %31 = ashr i32 %30, 8 %32 = load ptr, ptr %7, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %7, align 8 %34 = load i8, ptr %32, align 1 %35 = zext i8 %34 to i32 %36 = shl i32 %35, 24 %37 = add nsw i32 %31, %36 store i32 %37, ptr %12, align 4 br label %38 38: ; preds = %29 %39 = load i64, ptr %17, align 8 %40 = add i64 %39, 1 store i64 %40, ptr %17, align 8 br label %26, !llvm.loop !6 41: ; preds = %26 br label %42 42: ; preds = %263, %41 %43 = load i32, ptr %14, align 4 %44 = icmp ne i32 %43, 0 br i1 %44, label %45, label %264 45: ; preds = %42 %46 = load ptr, ptr %9, align 8 %47 = call i32 @LoadMiniBuffer(ptr noundef %12, ptr noundef %7, ptr noundef %46, ptr noundef %15, ptr noundef %16) %48 = load i32, ptr %12, align 4 %49 = and i32 %48, 3 %50 = icmp eq i32 %49, 1 br i1 %50, label %55, label %51 51: ; preds = %45 %52 = load i32, ptr %12, align 4 %53 = and i32 %52, 3 %54 = icmp eq i32 %53, 2 br i1 %54, label %55, label %71 55: ; preds = %51, %45 %56 = load ptr, ptr %5, align 8 %57 = load ptr, ptr %10, align 8 %58 = icmp uge ptr %56, %57 br i1 %58, label %59, label %60 59: ; preds = %55 br label %264 60: ; preds = %55 %61 = load i32, ptr %12, align 4 %62 = and i32 %61, 508 %63 = lshr i32 %62, 2 %64 = load i32, ptr %12, align 4 %65 = and i32 %64, 1 %66 = shl i32 %65, 7 %67 = add i32 %63, %66 %68 = trunc i32 %67 to i8 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds i8, ptr %69, i32 1 store ptr %70, ptr %5, align 8 store i8 %68, ptr %69, align 1 store i32 9, ptr %15, align 4 br label %263 71: ; preds = %51 %72 = load i32, ptr %12, align 4 %73 = and i32 %72, 3 %74 = icmp eq i32 %73, 0 br i1 %74, label %75, label %79 75: ; preds = %71 %76 = load i32, ptr %12, align 4 %77 = and i32 %76, 252 %78 = lshr i32 %77, 2 store i32 %78, ptr %14, align 4 store i32 8, ptr %15, align 4 br label %102 79: ; preds = %71 %80 = load i32, ptr %12, align 4 %81 = and i32 %80, 7 %82 = icmp eq i32 %81, 3 br i1 %82, label %83, label %88 83: ; preds = %79 %84 = load i32, ptr %12, align 4 %85 = and i32 %84, 2040 %86 = lshr i32 %85, 3 %87 = add i32 %86, 64 store i32 %87, ptr %14, align 4 store i32 11, ptr %15, align 4 br label %101 88: ; preds = %79 %89 = load i32, ptr %12, align 4 %90 = and i32 %89, 7 %91 = icmp eq i32 %90, 7 br i1 %91, label %92, label %97 92: ; preds = %88 %93 = load i32, ptr %12, align 4 %94 = and i32 %93, 32760 %95 = lshr i32 %94, 3 %96 = add i32 %95, 320 store i32 %96, ptr %14, align 4 store i32 15, ptr %15, align 4 br label %100 97: ; preds = %88 %98 = load i32, ptr @stderr, align 4 %99 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %98, ptr noundef @.str) br label %264 100: ; preds = %92 br label %101 101: ; preds = %100, %83 br label %102 102: ; preds = %101, %75 %103 = load i32, ptr %14, align 4 %104 = icmp ne i32 %103, 0 br i1 %104, label %105, label %253 105: ; preds = %102 %106 = load i32, ptr %14, align 4 %107 = icmp ne i32 %106, 4415 br i1 %107, label %108, label %253 108: ; preds = %105 %109 = load ptr, ptr %9, align 8 %110 = call i32 @LoadMiniBuffer(ptr noundef %12, ptr noundef %7, ptr noundef %109, ptr noundef %15, ptr noundef %16) %111 = load i32, ptr %12, align 4 %112 = and i32 %111, 1 %113 = icmp eq i32 %112, 1 br i1 %113, label %114, label %115 114: ; preds = %108 store i32 2, ptr %13, align 4 store i32 1, ptr %15, align 4 br label %200 115: ; preds = %108 %116 = load i32, ptr %12, align 4 %117 = and i32 %116, 3 %118 = icmp eq i32 %117, 2 br i1 %118, label %119, label %124 119: ; preds = %115 %120 = load i32, ptr %12, align 4 %121 = and i32 %120, 4 %122 = lshr i32 %121, 2 %123 = add i32 %122, 3 store i32 %123, ptr %13, align 4 store i32 3, ptr %15, align 4 br label %199 124: ; preds = %115 %125 = load i32, ptr %12, align 4 %126 = and i32 %125, 7 %127 = icmp eq i32 %126, 4 br i1 %127, label %128, label %133 128: ; preds = %124 %129 = load i32, ptr %12, align 4 %130 = and i32 %129, 24 %131 = lshr i32 %130, 3 %132 = add i32 %131, 5 store i32 %132, ptr %13, align 4 store i32 5, ptr %15, align 4 br label %198 133: ; preds = %124 %134 = load i32, ptr %12, align 4 %135 = and i32 %134, 15 %136 = icmp eq i32 %135, 8 br i1 %136, label %137, label %142 137: ; preds = %133 %138 = load i32, ptr %12, align 4 %139 = and i32 %138, 112 %140 = lshr i32 %139, 4 %141 = add i32 %140, 9 store i32 %141, ptr %13, align 4 store i32 7, ptr %15, align 4 br label %197 142: ; preds = %133 %143 = load i32, ptr %12, align 4 %144 = and i32 %143, 31 %145 = icmp eq i32 %144, 16 br i1 %145, label %146, label %151 146: ; preds = %142 %147 = load i32, ptr %12, align 4 %148 = and i32 %147, 480 %149 = lshr i32 %148, 5 %150 = add i32 %149, 17 store i32 %150, ptr %13, align 4 store i32 9, ptr %15, align 4 br label %196 151: ; preds = %142 %152 = load i32, ptr %12, align 4 %153 = and i32 %152, 63 %154 = icmp eq i32 %153, 32 br i1 %154, label %155, label %160 155: ; preds = %151 %156 = load i32, ptr %12, align 4 %157 = and i32 %156, 1984 %158 = lshr i32 %157, 6 %159 = add i32 %158, 33 store i32 %159, ptr %13, align 4 store i32 11, ptr %15, align 4 br label %195 160: ; preds = %151 %161 = load i32, ptr %12, align 4 %162 = and i32 %161, 127 %163 = icmp eq i32 %162, 64 br i1 %163, label %164, label %169 164: ; preds = %160 %165 = load i32, ptr %12, align 4 %166 = and i32 %165, 8064 %167 = lshr i32 %166, 7 %168 = add i32 %167, 65 store i32 %168, ptr %13, align 4 store i32 13, ptr %15, align 4 br label %194 169: ; preds = %160 %170 = load i32, ptr %12, align 4 %171 = and i32 %170, 255 %172 = icmp eq i32 %171, 128 br i1 %172, label %173, label %178 173: ; preds = %169 %174 = load i32, ptr %12, align 4 %175 = and i32 %174, 32512 %176 = lshr i32 %175, 8 %177 = add i32 %176, 129 store i32 %177, ptr %13, align 4 store i32 15, ptr %15, align 4 br label %193 178: ; preds = %169 %179 = load i32, ptr %12, align 4 %180 = and i32 %179, 511 %181 = icmp eq i32 %180, 256 br i1 %181, label %182, label %187 182: ; preds = %178 %183 = load i32, ptr %12, align 4 %184 = and i32 %183, 130560 %185 = lshr i32 %184, 9 %186 = add i32 %185, 257 store i32 %186, ptr %13, align 4 store i32 17, ptr %15, align 4 br label %192 187: ; preds = %178 %188 = load i32, ptr @stderr, align 4 %189 = load i32, ptr %12, align 4 %190 = sext i32 %189 to i64 %191 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %188, ptr noundef @.str.1, i64 noundef %190) br label %264 192: ; preds = %182 br label %193 193: ; preds = %192, %173 br label %194 194: ; preds = %193, %164 br label %195 195: ; preds = %194, %155 br label %196 196: ; preds = %195, %146 br label %197 197: ; preds = %196, %137 br label %198 198: ; preds = %197, %128 br label %199 199: ; preds = %198, %119 br label %200 200: ; preds = %199, %114 %201 = load ptr, ptr %5, align 8 %202 = load i32, ptr %14, align 4 %203 = sext i32 %202 to i64 %204 = sub i64 0, %203 %205 = getelementptr inbounds i8, ptr %201, i64 %204 store ptr %205, ptr %18, align 8 %206 = load ptr, ptr %18, align 8 %207 = load ptr, ptr %11, align 8 %208 = icmp ult ptr %206, %207 br i1 %208, label %209, label %212 209: ; preds = %200 %210 = load i32, ptr @stderr, align 4 %211 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %210, ptr noundef @.str.2) br label %264 212: ; preds = %200 %213 = load ptr, ptr %5, align 8 %214 = load i32, ptr %13, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds i8, ptr %213, i64 %215 %217 = load ptr, ptr %10, align 8 %218 = icmp ugt ptr %216, %217 br i1 %218, label %219, label %222 219: ; preds = %212 %220 = load i32, ptr @stderr, align 4 %221 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %220, ptr noundef @.str.3) br label %264 222: ; preds = %212 %223 = load i32, ptr %13, align 4 %224 = icmp ne i32 %223, 0 %225 = zext i1 %224 to i32 %226 = call i32 @assert(i32 noundef %225) br label %227 227: ; preds = %233, %222 %228 = load ptr, ptr %18, align 8 %229 = getelementptr inbounds i8, ptr %228, i32 1 store ptr %229, ptr %18, align 8 %230 = load i8, ptr %228, align 1 %231 = load ptr, ptr %5, align 8 %232 = getelementptr inbounds i8, ptr %231, i32 1 store ptr %232, ptr %5, align 8 store i8 %230, ptr %231, align 1 br label %233 233: ; preds = %227 %234 = load i32, ptr %13, align 4 %235 = add nsw i32 %234, -1 store i32 %235, ptr %13, align 4 %236 = icmp ne i32 %235, 0 br i1 %236, label %227, label %237, !llvm.loop !8 237: ; preds = %233 %238 = load ptr, ptr %18, align 8 %239 = load ptr, ptr %11, align 8 %240 = icmp uge ptr %238, %239 %241 = zext i1 %240 to i32 %242 = call i32 @assert(i32 noundef %241) %243 = load ptr, ptr %18, align 8 %244 = load ptr, ptr %10, align 8 %245 = icmp ule ptr %243, %244 %246 = zext i1 %245 to i32 %247 = call i32 @assert(i32 noundef %246) %248 = load ptr, ptr %5, align 8 %249 = load ptr, ptr %10, align 8 %250 = icmp ule ptr %248, %249 %251 = zext i1 %250 to i32 %252 = call i32 @assert(i32 noundef %251) br label %262 253: ; preds = %105, %102 %254 = load i32, ptr %14, align 4 %255 = icmp eq i32 %254, 4415 br i1 %255, label %256, label %261 256: ; preds = %253 %257 = load ptr, ptr %7, align 8 %258 = load ptr, ptr %9, align 8 %259 = icmp eq ptr %257, %258 br i1 %259, label %260, label %261 260: ; preds = %256 br label %264 261: ; preds = %256, %253 br label %262 262: ; preds = %261, %237 br label %263 263: ; preds = %262, %60 br label %42, !llvm.loop !9 264: ; preds = %260, %219, %209, %187, %97, %59, %42 %265 = load ptr, ptr %7, align 8 %266 = load ptr, ptr %9, align 8 %267 = icmp ult ptr %265, %266 br i1 %267, label %268, label %277 268: ; preds = %264 %269 = load i32, ptr @stderr, align 4 %270 = load ptr, ptr %9, align 8 %271 = load ptr, ptr %7, align 8 %272 = ptrtoint ptr %270 to i64 %273 = ptrtoint ptr %271 to i64 %274 = sub i64 %272, %273 %275 = trunc i64 %274 to i32 %276 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %269, ptr noundef @.str.4, i32 noundef %275) br label %277 277: ; preds = %268, %264 %278 = load ptr, ptr %5, align 8 %279 = load ptr, ptr %11, align 8 %280 = ptrtoint ptr %278 to i64 %281 = ptrtoint ptr %279 to i64 %282 = sub i64 %280, %281 %283 = trunc i64 %282 to i32 ret i32 %283 } declare i32 @LoadMiniBuffer(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvmnoflgw.c" target datalayout = "e-m:e-p270: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 [20 x i8] c"Invalid depth data\0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"Unexpected compressed code=0x%08lx\0A\00", align 1 @.str.2 = private unnamed_addr constant [51 x i8] c"Unexpected nDepth too large, reaches back too far\0A\00", align 1 @.str.3 = private unnamed_addr constant [64 x i8] c"Unexpected nCount too large, reaches too far forward into dest\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"Warning: %u bytes left\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @W4Decompress(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i64, align 8 %18 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %19 = load ptr, ptr %7, align 8 %20 = load i64, ptr %8, align 8 %21 = getelementptr inbounds i8, ptr %19, i64 %20 store ptr %21, ptr %9, align 8 %22 = load ptr, ptr %5, align 8 %23 = load i64, ptr %6, align 8 %24 = getelementptr inbounds i8, ptr %22, i64 %23 store ptr %24, ptr %10, align 8 %25 = load ptr, ptr %5, align 8 store ptr %25, ptr %11, align 8 store i32 0, ptr %12, align 4 store i32 0, ptr %15, align 4 store i64 0, ptr %17, align 8 store i32 1, ptr %14, align 4 store i32 8, ptr %16, align 4 store i64 0, ptr %17, align 8 %26 = load i64, ptr %17, align 8 %27 = icmp ule i64 %26, 3 br i1 %27, label %.lr.ph, label %42 .lr.ph: ; preds = %4 br label %28 28: ; preds = %.lr.ph, %37 %29 = load i32, ptr %12, align 4 %30 = ashr i32 %29, 8 %31 = load ptr, ptr %7, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %7, align 8 %33 = load i8, ptr %31, align 1 %34 = zext i8 %33 to i32 %35 = shl i32 %34, 24 %36 = add nsw i32 %30, %35 store i32 %36, ptr %12, align 4 br label %37 37: ; preds = %28 %38 = load i64, ptr %17, align 8 %39 = add i64 %38, 1 store i64 %39, ptr %17, align 8 %40 = load i64, ptr %17, align 8 %41 = icmp ule i64 %40, 3 br i1 %41, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %42 42: ; preds = %._crit_edge, %4 %43 = load i32, ptr %14, align 4 %44 = icmp ne i32 %43, 0 br i1 %44, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %42 br label %45 45: ; preds = %.lr.ph2, %263 %46 = load ptr, ptr %9, align 8 %47 = call i32 @LoadMiniBuffer(ptr noundef %12, ptr noundef %7, ptr noundef %46, ptr noundef %15, ptr noundef %16) %48 = load i32, ptr %12, align 4 %49 = and i32 %48, 3 %50 = icmp eq i32 %49, 1 br i1 %50, label %55, label %51 51: ; preds = %45 %52 = load i32, ptr %12, align 4 %53 = and i32 %52, 3 %54 = icmp eq i32 %53, 2 br i1 %54, label %55, label %71 55: ; preds = %51, %45 %56 = load ptr, ptr %5, align 8 %57 = load ptr, ptr %10, align 8 %58 = icmp uge ptr %56, %57 br i1 %58, label %59, label %60 59: ; preds = %55 br label %266 60: ; preds = %55 %61 = load i32, ptr %12, align 4 %62 = and i32 %61, 508 %63 = lshr i32 %62, 2 %64 = load i32, ptr %12, align 4 %65 = and i32 %64, 1 %66 = shl i32 %65, 7 %67 = add i32 %63, %66 %68 = trunc i32 %67 to i8 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds i8, ptr %69, i32 1 store ptr %70, ptr %5, align 8 store i8 %68, ptr %69, align 1 store i32 9, ptr %15, align 4 br label %263 71: ; preds = %51 %72 = load i32, ptr %12, align 4 %73 = and i32 %72, 3 %74 = icmp eq i32 %73, 0 br i1 %74, label %75, label %79 75: ; preds = %71 %76 = load i32, ptr %12, align 4 %77 = and i32 %76, 252 %78 = lshr i32 %77, 2 store i32 %78, ptr %14, align 4 store i32 8, ptr %15, align 4 br label %102 79: ; preds = %71 %80 = load i32, ptr %12, align 4 %81 = and i32 %80, 7 %82 = icmp eq i32 %81, 3 br i1 %82, label %83, label %88 83: ; preds = %79 %84 = load i32, ptr %12, align 4 %85 = and i32 %84, 2040 %86 = lshr i32 %85, 3 %87 = add i32 %86, 64 store i32 %87, ptr %14, align 4 store i32 11, ptr %15, align 4 br label %101 88: ; preds = %79 %89 = load i32, ptr %12, align 4 %90 = and i32 %89, 7 %91 = icmp eq i32 %90, 7 br i1 %91, label %92, label %97 92: ; preds = %88 %93 = load i32, ptr %12, align 4 %94 = and i32 %93, 32760 %95 = lshr i32 %94, 3 %96 = add i32 %95, 320 store i32 %96, ptr %14, align 4 store i32 15, ptr %15, align 4 br label %100 97: ; preds = %88 %98 = load i32, ptr @stderr, align 4 %99 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %98, ptr noundef @.str) br label %266 100: ; preds = %92 br label %101 101: ; preds = %100, %83 br label %102 102: ; preds = %101, %75 %103 = load i32, ptr %14, align 4 %104 = icmp ne i32 %103, 0 br i1 %104, label %105, label %253 105: ; preds = %102 %106 = load i32, ptr %14, align 4 %107 = icmp ne i32 %106, 4415 br i1 %107, label %108, label %253 108: ; preds = %105 %109 = load ptr, ptr %9, align 8 %110 = call i32 @LoadMiniBuffer(ptr noundef %12, ptr noundef %7, ptr noundef %109, ptr noundef %15, ptr noundef %16) %111 = load i32, ptr %12, align 4 %112 = and i32 %111, 1 %113 = icmp eq i32 %112, 1 br i1 %113, label %114, label %115 114: ; preds = %108 store i32 2, ptr %13, align 4 store i32 1, ptr %15, align 4 br label %200 115: ; preds = %108 %116 = load i32, ptr %12, align 4 %117 = and i32 %116, 3 %118 = icmp eq i32 %117, 2 br i1 %118, label %119, label %124 119: ; preds = %115 %120 = load i32, ptr %12, align 4 %121 = and i32 %120, 4 %122 = lshr i32 %121, 2 %123 = add i32 %122, 3 store i32 %123, ptr %13, align 4 store i32 3, ptr %15, align 4 br label %199 124: ; preds = %115 %125 = load i32, ptr %12, align 4 %126 = and i32 %125, 7 %127 = icmp eq i32 %126, 4 br i1 %127, label %128, label %133 128: ; preds = %124 %129 = load i32, ptr %12, align 4 %130 = and i32 %129, 24 %131 = lshr i32 %130, 3 %132 = add i32 %131, 5 store i32 %132, ptr %13, align 4 store i32 5, ptr %15, align 4 br label %198 133: ; preds = %124 %134 = load i32, ptr %12, align 4 %135 = and i32 %134, 15 %136 = icmp eq i32 %135, 8 br i1 %136, label %137, label %142 137: ; preds = %133 %138 = load i32, ptr %12, align 4 %139 = and i32 %138, 112 %140 = lshr i32 %139, 4 %141 = add i32 %140, 9 store i32 %141, ptr %13, align 4 store i32 7, ptr %15, align 4 br label %197 142: ; preds = %133 %143 = load i32, ptr %12, align 4 %144 = and i32 %143, 31 %145 = icmp eq i32 %144, 16 br i1 %145, label %146, label %151 146: ; preds = %142 %147 = load i32, ptr %12, align 4 %148 = and i32 %147, 480 %149 = lshr i32 %148, 5 %150 = add i32 %149, 17 store i32 %150, ptr %13, align 4 store i32 9, ptr %15, align 4 br label %196 151: ; preds = %142 %152 = load i32, ptr %12, align 4 %153 = and i32 %152, 63 %154 = icmp eq i32 %153, 32 br i1 %154, label %155, label %160 155: ; preds = %151 %156 = load i32, ptr %12, align 4 %157 = and i32 %156, 1984 %158 = lshr i32 %157, 6 %159 = add i32 %158, 33 store i32 %159, ptr %13, align 4 store i32 11, ptr %15, align 4 br label %195 160: ; preds = %151 %161 = load i32, ptr %12, align 4 %162 = and i32 %161, 127 %163 = icmp eq i32 %162, 64 br i1 %163, label %164, label %169 164: ; preds = %160 %165 = load i32, ptr %12, align 4 %166 = and i32 %165, 8064 %167 = lshr i32 %166, 7 %168 = add i32 %167, 65 store i32 %168, ptr %13, align 4 store i32 13, ptr %15, align 4 br label %194 169: ; preds = %160 %170 = load i32, ptr %12, align 4 %171 = and i32 %170, 255 %172 = icmp eq i32 %171, 128 br i1 %172, label %173, label %178 173: ; preds = %169 %174 = load i32, ptr %12, align 4 %175 = and i32 %174, 32512 %176 = lshr i32 %175, 8 %177 = add i32 %176, 129 store i32 %177, ptr %13, align 4 store i32 15, ptr %15, align 4 br label %193 178: ; preds = %169 %179 = load i32, ptr %12, align 4 %180 = and i32 %179, 511 %181 = icmp eq i32 %180, 256 br i1 %181, label %182, label %187 182: ; preds = %178 %183 = load i32, ptr %12, align 4 %184 = and i32 %183, 130560 %185 = lshr i32 %184, 9 %186 = add i32 %185, 257 store i32 %186, ptr %13, align 4 store i32 17, ptr %15, align 4 br label %192 187: ; preds = %178 %188 = load i32, ptr @stderr, align 4 %189 = load i32, ptr %12, align 4 %190 = sext i32 %189 to i64 %191 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %188, ptr noundef @.str.1, i64 noundef %190) br label %266 192: ; preds = %182 br label %193 193: ; preds = %192, %173 br label %194 194: ; preds = %193, %164 br label %195 195: ; preds = %194, %155 br label %196 196: ; preds = %195, %146 br label %197 197: ; preds = %196, %137 br label %198 198: ; preds = %197, %128 br label %199 199: ; preds = %198, %119 br label %200 200: ; preds = %199, %114 %201 = load ptr, ptr %5, align 8 %202 = load i32, ptr %14, align 4 %203 = sext i32 %202 to i64 %204 = sub i64 0, %203 %205 = getelementptr inbounds i8, ptr %201, i64 %204 store ptr %205, ptr %18, align 8 %206 = load ptr, ptr %18, align 8 %207 = load ptr, ptr %11, align 8 %208 = icmp ult ptr %206, %207 br i1 %208, label %209, label %212 209: ; preds = %200 %210 = load i32, ptr @stderr, align 4 %211 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %210, ptr noundef @.str.2) br label %266 212: ; preds = %200 %213 = load ptr, ptr %5, align 8 %214 = load i32, ptr %13, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds i8, ptr %213, i64 %215 %217 = load ptr, ptr %10, align 8 %218 = icmp ugt ptr %216, %217 br i1 %218, label %219, label %222 219: ; preds = %212 %220 = load i32, ptr @stderr, align 4 %221 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %220, ptr noundef @.str.3) br label %266 222: ; preds = %212 %223 = load i32, ptr %13, align 4 %224 = icmp ne i32 %223, 0 %225 = zext i1 %224 to i32 %226 = call i32 @assert(i32 noundef %225) br label %227 227: ; preds = %233, %222 %228 = load ptr, ptr %18, align 8 %229 = getelementptr inbounds i8, ptr %228, i32 1 store ptr %229, ptr %18, align 8 %230 = load i8, ptr %228, align 1 %231 = load ptr, ptr %5, align 8 %232 = getelementptr inbounds i8, ptr %231, i32 1 store ptr %232, ptr %5, align 8 store i8 %230, ptr %231, align 1 br label %233 233: ; preds = %227 %234 = load i32, ptr %13, align 4 %235 = add nsw i32 %234, -1 store i32 %235, ptr %13, align 4 %236 = icmp ne i32 %235, 0 br i1 %236, label %227, label %237, !llvm.loop !8 237: ; preds = %233 %238 = load ptr, ptr %18, align 8 %239 = load ptr, ptr %11, align 8 %240 = icmp uge ptr %238, %239 %241 = zext i1 %240 to i32 %242 = call i32 @assert(i32 noundef %241) %243 = load ptr, ptr %18, align 8 %244 = load ptr, ptr %10, align 8 %245 = icmp ule ptr %243, %244 %246 = zext i1 %245 to i32 %247 = call i32 @assert(i32 noundef %246) %248 = load ptr, ptr %5, align 8 %249 = load ptr, ptr %10, align 8 %250 = icmp ule ptr %248, %249 %251 = zext i1 %250 to i32 %252 = call i32 @assert(i32 noundef %251) br label %262 253: ; preds = %105, %102 %254 = load i32, ptr %14, align 4 %255 = icmp eq i32 %254, 4415 br i1 %255, label %256, label %261 256: ; preds = %253 %257 = load ptr, ptr %7, align 8 %258 = load ptr, ptr %9, align 8 %259 = icmp eq ptr %257, %258 br i1 %259, label %260, label %261 260: ; preds = %256 br label %266 261: ; preds = %256, %253 br label %262 262: ; preds = %261, %237 br label %263 263: ; preds = %262, %60 %264 = load i32, ptr %14, align 4 %265 = icmp ne i32 %264, 0 br i1 %265, label %45, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %263 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %42 br label %266 266: ; preds = %.loopexit, %260, %219, %209, %187, %97, %59 %267 = load ptr, ptr %7, align 8 %268 = load ptr, ptr %9, align 8 %269 = icmp ult ptr %267, %268 br i1 %269, label %270, label %279 270: ; preds = %266 %271 = load i32, ptr @stderr, align 4 %272 = load ptr, ptr %9, align 8 %273 = load ptr, ptr %7, align 8 %274 = ptrtoint ptr %272 to i64 %275 = ptrtoint ptr %273 to i64 %276 = sub i64 %274, %275 %277 = trunc i64 %276 to i32 %278 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %271, ptr noundef @.str.4, i32 noundef %277) br label %279 279: ; preds = %270, %266 %280 = load ptr, ptr %5, align 8 %281 = load ptr, ptr %11, align 8 %282 = ptrtoint ptr %280 to i64 %283 = ptrtoint ptr %281 to i64 %284 = sub i64 %282, %283 %285 = trunc i64 %284 to i32 ret i32 %285 } declare i32 @LoadMiniBuffer(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpi9c6sfh7.c' source_filename = "/tmp/tmpi9c6sfh7.c" target datalayout = "e-m:e-p270: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.epoll_event = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @IPPROTO_TCP = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"socket() failed: %s\0A.\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @EPOLLIN = dso_local global i32 0, align 4 @EPOLLOUT = dso_local global i32 0, align 4 @EPOLL_CTL_ADD = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"epoll_ctl() failed: %s\0A.\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.epoll_event, align 4 %5 = alloca [2 x %struct.epoll_event], align 16 store i32 0, ptr %1, align 4 %6 = load i32, ptr @AF_INET, align 4 %7 = load i32, ptr @SOCK_STREAM, align 4 %8 = load i32, ptr @IPPROTO_TCP, align 4 %9 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef %8) store i32 %9, ptr %2, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %0 %12 = load i32, ptr @stderr, align 4 %13 = load i32, ptr @errno, align 4 %14 = call ptr @strerror(i32 noundef %13) %15 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %14) %16 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %16, ptr %1, align 4 br label %46 17: ; preds = %0 %18 = call i32 @epoll_create1(i32 noundef 0) store i32 %18, ptr %3, align 4 %19 = load i32, ptr %2, align 4 %20 = getelementptr inbounds %struct.epoll_event, ptr %4, i32 0, i32 1 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i32 0, i32 0 store i32 %19, ptr %21, align 4 %22 = load i32, ptr @EPOLLIN, align 4 %23 = load i32, ptr @EPOLLOUT, align 4 %24 = or i32 %22, %23 %25 = getelementptr inbounds %struct.epoll_event, ptr %4, i32 0, i32 0 store i32 %24, ptr %25, align 4 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr @EPOLL_CTL_ADD, align 4 %28 = load i32, ptr %2, align 4 %29 = call i64 @epoll_ctl(i32 noundef %26, i32 noundef %27, i32 noundef %28, ptr noundef %4) %30 = icmp slt i64 %29, 0 br i1 %30, label %31, label %37 31: ; preds = %17 %32 = load i32, ptr @stderr, align 4 %33 = load i32, ptr @errno, align 4 %34 = call ptr @strerror(i32 noundef %33) %35 = call i32 @fprintf(i32 noundef %32, ptr noundef @.str.1, ptr noundef %34) %36 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %36, ptr %1, align 4 br label %46 37: ; preds = %17 %38 = load i32, ptr %3, align 4 %39 = getelementptr inbounds [2 x %struct.epoll_event], ptr %5, i64 0, i64 0 %40 = call i32 @epoll_wait(i32 noundef %38, ptr noundef %39, i32 noundef -1, i32 noundef 0) %41 = icmp ne i32 %40, -1 br i1 %41, label %42, label %44 42: ; preds = %37 %43 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %43, ptr %1, align 4 br label %46 44: ; preds = %37 %45 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %45, ptr %1, align 4 br label %46 46: ; preds = %44, %42, %31, %11 %47 = load i32, ptr %1, align 4 ret i32 %47 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @epoll_create1(i32 noundef) #1 declare i64 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @epoll_wait(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi9c6sfh7.c" target datalayout = "e-m:e-p270: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.epoll_event = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @IPPROTO_TCP = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"socket() failed: %s\0A.\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @EPOLLIN = dso_local global i32 0, align 4 @EPOLLOUT = dso_local global i32 0, align 4 @EPOLL_CTL_ADD = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"epoll_ctl() failed: %s\0A.\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.epoll_event, align 4 %5 = alloca [2 x %struct.epoll_event], align 16 store i32 0, ptr %1, align 4 %6 = load i32, ptr @AF_INET, align 4 %7 = load i32, ptr @SOCK_STREAM, align 4 %8 = load i32, ptr @IPPROTO_TCP, align 4 %9 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef %8) store i32 %9, ptr %2, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %0 %12 = load i32, ptr @stderr, align 4 %13 = load i32, ptr @errno, align 4 %14 = call ptr @strerror(i32 noundef %13) %15 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %14) %16 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %16, ptr %1, align 4 br label %46 17: ; preds = %0 %18 = call i32 @epoll_create1(i32 noundef 0) store i32 %18, ptr %3, align 4 %19 = load i32, ptr %2, align 4 %20 = getelementptr inbounds %struct.epoll_event, ptr %4, i32 0, i32 1 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i32 0, i32 0 store i32 %19, ptr %21, align 4 %22 = load i32, ptr @EPOLLIN, align 4 %23 = load i32, ptr @EPOLLOUT, align 4 %24 = or i32 %22, %23 %25 = getelementptr inbounds %struct.epoll_event, ptr %4, i32 0, i32 0 store i32 %24, ptr %25, align 4 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr @EPOLL_CTL_ADD, align 4 %28 = load i32, ptr %2, align 4 %29 = call i64 @epoll_ctl(i32 noundef %26, i32 noundef %27, i32 noundef %28, ptr noundef %4) %30 = icmp slt i64 %29, 0 br i1 %30, label %31, label %37 31: ; preds = %17 %32 = load i32, ptr @stderr, align 4 %33 = load i32, ptr @errno, align 4 %34 = call ptr @strerror(i32 noundef %33) %35 = call i32 @fprintf(i32 noundef %32, ptr noundef @.str.1, ptr noundef %34) %36 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %36, ptr %1, align 4 br label %46 37: ; preds = %17 %38 = load i32, ptr %3, align 4 %39 = getelementptr inbounds [2 x %struct.epoll_event], ptr %5, i64 0, i64 0 %40 = call i32 @epoll_wait(i32 noundef %38, ptr noundef %39, i32 noundef -1, i32 noundef 0) %41 = icmp ne i32 %40, -1 br i1 %41, label %42, label %44 42: ; preds = %37 %43 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %43, ptr %1, align 4 br label %46 44: ; preds = %37 %45 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %45, ptr %1, align 4 br label %46 46: ; preds = %44, %42, %31, %11 %47 = load i32, ptr %1, align 4 ret i32 %47 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @epoll_create1(i32 noundef) #1 declare i64 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @epoll_wait(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6w4pcus4.c' source_filename = "/tmp/tmp6w4pcus4.c" target datalayout = "e-m:e-p270: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/tmp6w4pcus4.c" target datalayout = "e-m:e-p270: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/tmp7iscxiwu.c' source_filename = "/tmp/tmp7iscxiwu.c" target datalayout = "e-m:e-p270: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/tmp7iscxiwu.c" target datalayout = "e-m:e-p270: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/tmpr2_z354a.c' source_filename = "/tmp/tmpr2_z354a.c" target datalayout = "e-m:e-p270: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.timespec = type { i32, i32 } @__const.delay100ms.ts = private unnamed_addr constant %struct.timespec { i32 0, i32 100000000 }, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @delay100ms() #0 { %1 = alloca %struct.timespec, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 @__const.delay100ms.ts, i64 8, i1 false) %2 = call i32 @nanosleep(ptr noundef %1, ptr noundef null) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @nanosleep(ptr noundef, 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/tmpr2_z354a.c" target datalayout = "e-m:e-p270: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.timespec = type { i32, i32 } @__const.delay100ms.ts = private unnamed_addr constant %struct.timespec { i32 0, i32 100000000 }, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @delay100ms() #0 { %1 = alloca %struct.timespec, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 @__const.delay100ms.ts, i64 8, i1 false) %2 = call i32 @nanosleep(ptr noundef %1, ptr noundef null) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @nanosleep(ptr noundef, 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/tmp6r66rkzr.c' source_filename = "/tmp/tmp6r66rkzr.c" target datalayout = "e-m:e-p270: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/tmp6r66rkzr.c" target datalayout = "e-m:e-p270: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/tmp0pl1pi9y.c' source_filename = "/tmp/tmp0pl1pi9y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LOCK_EX = dso_local global i32 0, align 4 @LOCK_UN = dso_local global i32 0, align 4 @LOCK_SH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr @LOCK_EX, align 4 %4 = call i32 @flock(i32 noundef 1, i32 noundef %3) store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr @LOCK_UN, align 4 %7 = call i32 @flock(i32 noundef 1, i32 noundef %6) store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr @LOCK_SH, align 4 %10 = call i32 @flock(i32 noundef 1, i32 noundef %9) store i32 %10, ptr %2, align 4 %11 = load i32, ptr %2, align 4 ret i32 0 } declare i32 @flock(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/tmp0pl1pi9y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LOCK_EX = dso_local global i32 0, align 4 @LOCK_UN = dso_local global i32 0, align 4 @LOCK_SH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr @LOCK_EX, align 4 %4 = call i32 @flock(i32 noundef 1, i32 noundef %3) store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr @LOCK_UN, align 4 %7 = call i32 @flock(i32 noundef 1, i32 noundef %6) store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr @LOCK_SH, align 4 %10 = call i32 @flock(i32 noundef 1, i32 noundef %9) store i32 %10, ptr %2, align 4 %11 = load i32, ptr %2, align 4 ret i32 0 } declare i32 @flock(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/tmpskrtb5jj.c' source_filename = "/tmp/tmpskrtb5jj.c" target datalayout = "e-m:e-p270: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/tmpskrtb5jj.c" target datalayout = "e-m:e-p270: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/tmpwbed7tfj.c' source_filename = "/tmp/tmpwbed7tfj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @modifyCdeForMac(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [260 x i8], align 16 %8 = alloca [260 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = sdiv i32 %10, 2 store i32 %11, ptr %6, align 4 %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds [260 x i8], ptr %7, i64 0, i64 0 %14 = call i32 @stringToBytes(ptr noundef %12, ptr noundef %13) store i32 0, ptr %5, align 4 br label %15 15: ; preds = %27, %2 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %30 19: ; preds = %15 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [260 x i8], ptr %7, i64 0, i64 %21 %23 = load i8, ptr %22, align 1 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [260 x i8], ptr %8, i64 0, i64 %25 store i8 %23, ptr %26, align 1 br label %27 27: ; preds = %19 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 br label %15, !llvm.loop !6 30: ; preds = %15 %31 = getelementptr inbounds [260 x i8], ptr %7, i64 0, i64 0 %32 = load i8, ptr %31, align 16 %33 = zext i8 %32 to i32 %34 = or i32 %33, 4 %35 = trunc i32 %34 to i8 %36 = getelementptr inbounds [260 x i8], ptr %8, i64 0, i64 0 store i8 %35, ptr %36, align 16 %37 = getelementptr inbounds [260 x i8], ptr %7, i64 0, i64 4 %38 = load i8, ptr %37, align 4 %39 = zext i8 %38 to i32 %40 = add nsw i32 %39, 8 %41 = trunc i32 %40 to i8 %42 = getelementptr inbounds [260 x i8], ptr %8, i64 0, i64 4 store i8 %41, ptr %42, align 4 %43 = getelementptr inbounds [260 x i8], ptr %8, i64 0, i64 0 %44 = load i32, ptr %6, align 4 %45 = load ptr, ptr %4, align 8 %46 = call i32 @bytesToString(ptr noundef %43, i32 noundef %44, ptr noundef %45) ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @stringToBytes(ptr noundef, ptr noundef) #1 declare i32 @bytesToString(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwbed7tfj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @modifyCdeForMac(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [260 x i8], align 16 %8 = alloca [260 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = sdiv i32 %10, 2 store i32 %11, ptr %6, align 4 %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds [260 x i8], ptr %7, i64 0, i64 0 %14 = call i32 @stringToBytes(ptr noundef %12, ptr noundef %13) store i32 0, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %32 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %26 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [260 x i8], ptr %7, i64 0, i64 %20 %22 = load i8, ptr %21, align 1 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [260 x i8], ptr %8, i64 0, i64 %24 store i8 %22, ptr %25, align 1 br label %26 26: ; preds = %18 %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 i32, ptr %6, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %2 %33 = getelementptr inbounds [260 x i8], ptr %7, i64 0, i64 0 %34 = load i8, ptr %33, align 16 %35 = zext i8 %34 to i32 %36 = or i32 %35, 4 %37 = trunc i32 %36 to i8 %38 = getelementptr inbounds [260 x i8], ptr %8, i64 0, i64 0 store i8 %37, ptr %38, align 16 %39 = getelementptr inbounds [260 x i8], ptr %7, i64 0, i64 4 %40 = load i8, ptr %39, align 4 %41 = zext i8 %40 to i32 %42 = add nsw i32 %41, 8 %43 = trunc i32 %42 to i8 %44 = getelementptr inbounds [260 x i8], ptr %8, i64 0, i64 4 store i8 %43, ptr %44, align 4 %45 = getelementptr inbounds [260 x i8], ptr %8, i64 0, i64 0 %46 = load i32, ptr %6, align 4 %47 = load ptr, ptr %4, align 8 %48 = call i32 @bytesToString(ptr noundef %45, i32 noundef %46, ptr noundef %47) ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @stringToBytes(ptr noundef, ptr noundef) #1 declare i32 @bytesToString(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjk0rjsnt.c' source_filename = "/tmp/tmpjk0rjsnt.c" target datalayout = "e-m:e-p270: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/tmpjk0rjsnt.c" target datalayout = "e-m:e-p270: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/tmp1hk7inyg.c' source_filename = "/tmp/tmp1hk7inyg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_p3dKapurThresholding_entropy(ptr noundef %0, i32 noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store double %2, ptr %7, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds double, ptr %8, i64 %10 %12 = load double, ptr %11, align 8 %13 = fcmp ogt double %12, 0.000000e+00 br i1 %13, label %14, label %35 14: ; preds = %3 %15 = load double, ptr %7, align 8 %16 = fcmp ogt double %15, 0.000000e+00 br i1 %16, label %17, label %35 17: ; preds = %14 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds double, ptr %18, i64 %20 %22 = load double, ptr %21, align 8 %23 = load double, ptr %7, align 8 %24 = fdiv double %22, %23 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %25, i64 %27 %29 = load double, ptr %28, align 8 %30 = load double, ptr %7, align 8 %31 = fdiv double %29, %30 %32 = call double @log(double noundef %31) #2 %33 = fmul double %24, %32 %34 = fneg double %33 store double %34, ptr %4, align 8 br label %36 35: ; preds = %14, %3 store double 0.000000e+00, ptr %4, align 8 br label %36 36: ; preds = %35, %17 %37 = load double, ptr %4, align 8 ret double %37 } ; Function Attrs: nounwind declare double @log(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1hk7inyg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_p3dKapurThresholding_entropy(ptr noundef %0, i32 noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store double %2, ptr %7, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds double, ptr %8, i64 %10 %12 = load double, ptr %11, align 8 %13 = fcmp ogt double %12, 0.000000e+00 br i1 %13, label %14, label %35 14: ; preds = %3 %15 = load double, ptr %7, align 8 %16 = fcmp ogt double %15, 0.000000e+00 br i1 %16, label %17, label %35 17: ; preds = %14 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds double, ptr %18, i64 %20 %22 = load double, ptr %21, align 8 %23 = load double, ptr %7, align 8 %24 = fdiv double %22, %23 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %25, i64 %27 %29 = load double, ptr %28, align 8 %30 = load double, ptr %7, align 8 %31 = fdiv double %29, %30 %32 = call double @log(double noundef %31) #2 %33 = fmul double %24, %32 %34 = fneg double %33 store double %34, ptr %4, align 8 br label %36 35: ; preds = %14, %3 store double 0.000000e+00, ptr %4, align 8 br label %36 36: ; preds = %35, %17 %37 = load double, ptr %4, align 8 ret double %37 } ; Function Attrs: nounwind declare double @log(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpflhco3az.c' source_filename = "/tmp/tmpflhco3az.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"can't fork away...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__sub_do(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (...) @fork() store i32 %6, ptr %5, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %4, align 4 call void %9(i32 noundef %10) %11 = call i32 @exit(i32 noundef 0) #3 unreachable 12: ; preds = %2 %13 = load i32, ptr %5, align 4 %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %20 15: ; preds = %12 br label %16 16: ; preds = %15 %17 = call i32 @write(i32 noundef 2, ptr noundef @.str, i32 noundef 19) %18 = call i32 @exit(i32 noundef 2) #3 unreachable 19: ; No predecessors! br label %20 20: ; preds = %19, %12 br label %21 21: ; preds = %20 %22 = load i32, ptr %5, align 4 %23 = call i32 @waitpid(i32 noundef %22, ptr noundef %5, i32 noundef 0) %24 = load i32, ptr %5, align 4 ret i32 %24 } declare i32 @fork(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpflhco3az.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"can't fork away...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__sub_do(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (...) @fork() store i32 %6, ptr %5, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %4, align 4 call void %9(i32 noundef %10) %11 = call i32 @exit(i32 noundef 0) #3 unreachable 12: ; preds = %2 %13 = load i32, ptr %5, align 4 %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %20 15: ; preds = %12 br label %16 16: ; preds = %15 %17 = call i32 @write(i32 noundef 2, ptr noundef @.str, i32 noundef 19) %18 = call i32 @exit(i32 noundef 2) #3 unreachable 19: ; No predecessors! br label %20 20: ; preds = %19, %12 br label %21 21: ; preds = %20 %22 = load i32, ptr %5, align 4 %23 = call i32 @waitpid(i32 noundef %22, ptr noundef %5, i32 noundef 0) %24 = load i32, ptr %5, align 4 ret i32 %24 } declare i32 @fork(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpqpx5j0on.c' source_filename = "/tmp/tmpqpx5j0on.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @top(i32 noundef -1) %7 = call i32 @top(i32 noundef 1) %8 = add nsw i32 %6, %7 ret i32 %8 } declare i32 @top(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/tmpqpx5j0on.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @top(i32 noundef -1) %7 = call i32 @top(i32 noundef 1) %8 = add nsw i32 %6, %7 ret i32 %8 } declare i32 @top(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/tmp1fbjo27z.c' source_filename = "/tmp/tmp1fbjo27z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @op_enc_pop_de() #0 { %1 = call i32 @op_write1(i32 noundef 209) ret void } declare i32 @op_write1(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/tmp1fbjo27z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @op_enc_pop_de() #0 { %1 = call i32 @op_write1(i32 noundef 209) ret void } declare i32 @op_write1(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/tmpvkegm3a2.c' source_filename = "/tmp/tmpvkegm3a2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_prim_char_int(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = sext i8 %3 to i32 ret i32 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvkegm3a2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_prim_char_int(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = sext i8 %3 to i32 ret i32 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgaz_dnbw.c' source_filename = "/tmp/tmpgaz_dnbw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__dup2(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 %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp eq i32 %6, %7 br i1 %8, label %9, label %10 9: ; preds = %2 store i32 -1, ptr %5, align 4 br label %10 10: ; preds = %9, %2 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %5, align 4 %14 = call i32 @__dup3(i32 noundef %11, i32 noundef %12, i32 noundef %13) ret i32 %14 } declare i32 @__dup3(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/tmpgaz_dnbw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__dup2(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 %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp eq i32 %6, %7 br i1 %8, label %9, label %10 9: ; preds = %2 store i32 -1, ptr %5, align 4 br label %10 10: ; preds = %9, %2 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %5, align 4 %14 = call i32 @__dup3(i32 noundef %11, i32 noundef %12, i32 noundef %13) ret i32 %14 } declare i32 @__dup3(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/tmpi9m7b1b0.c' source_filename = "/tmp/tmpi9m7b1b0.c" target datalayout = "e-m:e-p270: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/tmpi9m7b1b0.c" target datalayout = "e-m:e-p270: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/tmp6nshuiam.c' source_filename = "/tmp/tmp6nshuiam.c" target datalayout = "e-m:e-p270: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.timeval = type { i32, i64 } @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @EAGAIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @x_recv_with_timeout(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca %struct.timeval, align 8 %14 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 -1, ptr %10, align 4 %15 = load i32, ptr %8, align 4 store i32 %15, ptr %11, align 4 %16 = load i32, ptr %9, align 4 %17 = icmp sle i32 %16, 0 br i1 %17, label %18, label %23 18: ; preds = %4 %19 = load i32, ptr %6, align 4 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %8, align 4 %22 = call i32 @x_recv(i32 noundef %19, ptr noundef %20, i32 noundef %21) store i32 %22, ptr %5, align 4 br label %103 23: ; preds = %4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %23 store i32 -1, ptr %5, align 4 br label %103 27: ; preds = %23 %28 = load i32, ptr %9, align 4 %29 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0 store i32 %28, ptr %29, align 8 %30 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 1 store i64 0, ptr %30, align 8 br label %31 31: ; preds = %97, %93, %60, %27 %32 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0 %33 = load i32, ptr %32, align 8 %34 = icmp sgt i32 %33, 0 br i1 %34, label %35, label %41 35: ; preds = %31 %36 = load i32, ptr %11, align 4 %37 = icmp sgt i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %35 %39 = load i32, ptr %6, align 4 %40 = icmp sge i32 %39, 0 br label %41 41: ; preds = %38, %35, %31 %42 = phi i1 [ false, %35 ], [ false, %31 ], [ %40, %38 ] br i1 %42, label %43, label %98 43: ; preds = %41 %44 = call i32 @FD_ZERO(ptr noundef %12) %45 = load i32, ptr %6, align 4 %46 = call i32 @FD_SET(i32 noundef %45, ptr noundef %12) %47 = load i32, ptr %6, align 4 %48 = add nsw i32 %47, 1 %49 = call i32 @select(i32 noundef %48, ptr noundef %12, ptr noundef null, ptr noundef null, ptr noundef %13) store i32 %49, ptr %14, align 4 %50 = load i32, ptr %14, align 4 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %53 52: ; preds = %43 br label %98 53: ; preds = %43 %54 = load i32, ptr %14, align 4 %55 = icmp slt i32 %54, 0 br i1 %55, label %56, label %62 56: ; preds = %53 %57 = load i64, ptr @errno, align 8 %58 = load i64, ptr @EINTR, align 8 %59 = icmp eq i64 %57, %58 br i1 %59, label %60, label %61 60: ; preds = %56 br label %31, !llvm.loop !6 61: ; preds = %56 store i32 -1, ptr %5, align 4 br label %103 62: ; preds = %53 br label %63 63: ; preds = %62 %64 = load i32, ptr %6, align 4 %65 = load ptr, ptr %7, align 8 %66 = load i32, ptr %11, align 4 %67 = call i32 @recv(i32 noundef %64, ptr noundef %65, i32 noundef %66, i32 noundef 0) store i32 %67, ptr %10, align 4 %68 = load i32, ptr %10, align 4 %69 = icmp sgt i32 %68, 0 br i1 %69, label %70, label %78 70: ; preds = %63 %71 = load i32, ptr %10, align 4 %72 = load i32, ptr %11, align 4 %73 = sub nsw i32 %72, %71 store i32 %73, ptr %11, align 4 %74 = load i32, ptr %10, align 4 %75 = load ptr, ptr %7, align 8 %76 = sext i32 %74 to i64 %77 = getelementptr inbounds i8, ptr %75, i64 %76 store ptr %77, ptr %7, align 8 br label %97 78: ; preds = %63 %79 = load i32, ptr %10, align 4 %80 = icmp eq i32 %79, 0 br i1 %80, label %81, label %82 81: ; preds = %78 br label %98 82: ; preds = %78 %83 = load i32, ptr %10, align 4 %84 = icmp eq i32 %83, -1 br i1 %84, label %85, label %95 85: ; preds = %82 %86 = load i64, ptr @errno, align 8 %87 = load i64, ptr @EINTR, align 8 %88 = icmp eq i64 %86, %87 br i1 %88, label %93, label %89 89: ; preds = %85 %90 = load i64, ptr @errno, align 8 %91 = load i64, ptr @EAGAIN, align 8 %92 = icmp eq i64 %90, %91 br i1 %92, label %93, label %94 93: ; preds = %89, %85 br label %31, !llvm.loop !6 94: ; preds = %89 store i32 -1, ptr %5, align 4 br label %103 95: ; preds = %82 br label %96 96: ; preds = %95 br label %97 97: ; preds = %96, %70 br label %31, !llvm.loop !6 98: ; preds = %81, %52, %41 %99 = load i32, ptr %8, align 4 %100 = load i32, ptr %11, align 4 %101 = sub nsw i32 %99, %100 store i32 %101, ptr %10, align 4 %102 = load i32, ptr %10, align 4 store i32 %102, ptr %5, align 4 br label %103 103: ; preds = %98, %94, %61, %26, %18 %104 = load i32, ptr %5, align 4 ret i32 %104 } declare i32 @x_recv(i32 noundef, ptr noundef, i32 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 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6nshuiam.c" target datalayout = "e-m:e-p270: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.timeval = type { i32, i64 } @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @EAGAIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @x_recv_with_timeout(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca %struct.timeval, align 8 %14 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 -1, ptr %10, align 4 %15 = load i32, ptr %8, align 4 store i32 %15, ptr %11, align 4 %16 = load i32, ptr %9, align 4 %17 = icmp sle i32 %16, 0 br i1 %17, label %18, label %23 18: ; preds = %4 %19 = load i32, ptr %6, align 4 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %8, align 4 %22 = call i32 @x_recv(i32 noundef %19, ptr noundef %20, i32 noundef %21) store i32 %22, ptr %5, align 4 br label %103 23: ; preds = %4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %23 store i32 -1, ptr %5, align 4 br label %103 27: ; preds = %23 %28 = load i32, ptr %9, align 4 %29 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0 store i32 %28, ptr %29, align 8 %30 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 1 store i64 0, ptr %30, align 8 br label %31 31: ; preds = %.backedge, %27 %32 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0 %33 = load i32, ptr %32, align 8 %34 = icmp sgt i32 %33, 0 br i1 %34, label %35, label %41 35: ; preds = %31 %36 = load i32, ptr %11, align 4 %37 = icmp sgt i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %35 %39 = load i32, ptr %6, align 4 %40 = icmp sge i32 %39, 0 br label %41 41: ; preds = %38, %35, %31 %42 = phi i1 [ false, %35 ], [ false, %31 ], [ %40, %38 ] br i1 %42, label %43, label %.loopexit 43: ; preds = %41 %44 = call i32 @FD_ZERO(ptr noundef %12) %45 = load i32, ptr %6, align 4 %46 = call i32 @FD_SET(i32 noundef %45, ptr noundef %12) %47 = load i32, ptr %6, align 4 %48 = add nsw i32 %47, 1 %49 = call i32 @select(i32 noundef %48, ptr noundef %12, ptr noundef null, ptr noundef null, ptr noundef %13) store i32 %49, ptr %14, align 4 %50 = load i32, ptr %14, align 4 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %53 52: ; preds = %43 br label %98 53: ; preds = %43 %54 = load i32, ptr %14, align 4 %55 = icmp slt i32 %54, 0 br i1 %55, label %56, label %62 56: ; preds = %53 %57 = load i64, ptr @errno, align 8 %58 = load i64, ptr @EINTR, align 8 %59 = icmp eq i64 %57, %58 br i1 %59, label %60, label %61 60: ; preds = %56 br label %.backedge .backedge: ; preds = %60, %93, %97 br label %31, !llvm.loop !6 61: ; preds = %56 store i32 -1, ptr %5, align 4 br label %103 62: ; preds = %53 br label %63 63: ; preds = %62 %64 = load i32, ptr %6, align 4 %65 = load ptr, ptr %7, align 8 %66 = load i32, ptr %11, align 4 %67 = call i32 @recv(i32 noundef %64, ptr noundef %65, i32 noundef %66, i32 noundef 0) store i32 %67, ptr %10, align 4 %68 = load i32, ptr %10, align 4 %69 = icmp sgt i32 %68, 0 br i1 %69, label %70, label %78 70: ; preds = %63 %71 = load i32, ptr %10, align 4 %72 = load i32, ptr %11, align 4 %73 = sub nsw i32 %72, %71 store i32 %73, ptr %11, align 4 %74 = load i32, ptr %10, align 4 %75 = load ptr, ptr %7, align 8 %76 = sext i32 %74 to i64 %77 = getelementptr inbounds i8, ptr %75, i64 %76 store ptr %77, ptr %7, align 8 br label %97 78: ; preds = %63 %79 = load i32, ptr %10, align 4 %80 = icmp eq i32 %79, 0 br i1 %80, label %81, label %82 81: ; preds = %78 br label %98 82: ; preds = %78 %83 = load i32, ptr %10, align 4 %84 = icmp eq i32 %83, -1 br i1 %84, label %85, label %95 85: ; preds = %82 %86 = load i64, ptr @errno, align 8 %87 = load i64, ptr @EINTR, align 8 %88 = icmp eq i64 %86, %87 br i1 %88, label %93, label %89 89: ; preds = %85 %90 = load i64, ptr @errno, align 8 %91 = load i64, ptr @EAGAIN, align 8 %92 = icmp eq i64 %90, %91 br i1 %92, label %93, label %94 93: ; preds = %89, %85 br label %.backedge 94: ; preds = %89 store i32 -1, ptr %5, align 4 br label %103 95: ; preds = %82 br label %96 96: ; preds = %95 br label %97 97: ; preds = %96, %70 br label %.backedge .loopexit: ; preds = %41 br label %98 98: ; preds = %.loopexit, %81, %52 %99 = load i32, ptr %8, align 4 %100 = load i32, ptr %11, align 4 %101 = sub nsw i32 %99, %100 store i32 %101, ptr %10, align 4 %102 = load i32, ptr %10, align 4 store i32 %102, ptr %5, align 4 br label %103 103: ; preds = %98, %94, %61, %26, %18 %104 = load i32, ptr %5, align 4 ret i32 %104 } declare i32 @x_recv(i32 noundef, ptr noundef, i32 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 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpiyhn4ejw.c' source_filename = "/tmp/tmpiyhn4ejw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @m_itoa(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 store i32 %7, ptr %6, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 0, %10 store i32 %11, ptr %3, align 4 br label %12 12: ; preds = %9, %2 store i32 0, ptr %5, align 4 br label %13 13: ; preds = %23, %12 %14 = load i32, ptr %3, align 4 %15 = srem i32 %14, 10 %16 = add nsw i32 %15, 48 %17 = trunc i32 %16 to i8 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 %21 = sext i32 %19 to i64 %22 = getelementptr inbounds i8, ptr %18, i64 %21 store i8 %17, ptr %22, align 1 br label %23 23: ; preds = %13 %24 = load i32, ptr %3, align 4 %25 = sdiv i32 %24, 10 store i32 %25, ptr %3, align 4 %26 = icmp sgt i32 %25, 0 br i1 %26, label %13, label %27, !llvm.loop !6 27: ; preds = %23 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %28, 0 br i1 %29, label %30, label %36 30: ; preds = %27 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %5, align 4 %34 = sext i32 %32 to i64 %35 = getelementptr inbounds i8, ptr %31, i64 %34 store i8 45, ptr %35, align 1 br label %36 36: ; preds = %30, %27 %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %5, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 0, ptr %40, align 1 %41 = load ptr, ptr %4, align 8 %42 = call i32 @reverse(ptr noundef %41) ret void } declare i32 @reverse(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpiyhn4ejw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @m_itoa(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 store i32 %7, ptr %6, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 0, %10 store i32 %11, ptr %3, align 4 br label %12 12: ; preds = %9, %2 store i32 0, ptr %5, align 4 br label %13 13: ; preds = %23, %12 %14 = load i32, ptr %3, align 4 %15 = srem i32 %14, 10 %16 = add nsw i32 %15, 48 %17 = trunc i32 %16 to i8 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 %21 = sext i32 %19 to i64 %22 = getelementptr inbounds i8, ptr %18, i64 %21 store i8 %17, ptr %22, align 1 br label %23 23: ; preds = %13 %24 = load i32, ptr %3, align 4 %25 = sdiv i32 %24, 10 store i32 %25, ptr %3, align 4 %26 = icmp sgt i32 %25, 0 br i1 %26, label %13, label %27, !llvm.loop !6 27: ; preds = %23 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %28, 0 br i1 %29, label %30, label %36 30: ; preds = %27 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %5, align 4 %34 = sext i32 %32 to i64 %35 = getelementptr inbounds i8, ptr %31, i64 %34 store i8 45, ptr %35, align 1 br label %36 36: ; preds = %30, %27 %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %5, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 0, ptr %40, align 1 %41 = load ptr, ptr %4, align 8 %42 = call i32 @reverse(ptr noundef %41) ret void } declare i32 @reverse(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpzj7sex87.c' source_filename = "/tmp/tmpzj7sex87.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @FLEXCOMM4_IRQHandler() #0 { %1 = call i32 (...) @FLEXCOMM4_DriverIRQHandler() ret void } declare i32 @FLEXCOMM4_DriverIRQHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzj7sex87.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @FLEXCOMM4_IRQHandler() #0 { %1 = call i32 (...) @FLEXCOMM4_DriverIRQHandler() ret void } declare i32 @FLEXCOMM4_DriverIRQHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwh2czm2z.c' source_filename = "/tmp/tmpwh2czm2z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [136 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/stden/ejudge/refs/heads/master/dos2unix_str.c\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"assertion failed: %s\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @dos2unix_str(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 i64, align 8 store ptr %0, ptr %2, align 8 br label %7 7: ; preds = %1 %8 = load ptr, ptr %2, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %7 %11 = call i32 @swerr(ptr noundef @.str, i32 noundef 33, ptr noundef @.str.1, ptr noundef @.str.2) br label %12 12: ; preds = %10, %7 br label %13 13: ; preds = %12 %14 = load ptr, ptr %2, align 8 %15 = call i64 @strlen(ptr noundef %14) store i64 %15, ptr %6, align 8 %16 = load i64, ptr %6, align 8 %17 = add i64 %16, 1 %18 = call ptr @xmalloc(i64 noundef %17) store ptr %18, ptr %3, align 8 %19 = load ptr, ptr %3, align 8 store ptr %19, ptr %4, align 8 %20 = load ptr, ptr %2, align 8 store ptr %20, ptr %5, align 8 br label %21 21: ; preds = %36, %13 %22 = load ptr, ptr %5, align 8 %23 = load i8, ptr %22, align 1 %24 = icmp ne i8 %23, 0 br i1 %24, label %25, label %39 25: ; preds = %21 %26 = load ptr, ptr %5, align 8 %27 = load i8, ptr %26, align 1 %28 = zext i8 %27 to i32 %29 = icmp ne i32 %28, 13 br i1 %29, label %30, label %35 30: ; preds = %25 %31 = load ptr, ptr %5, align 8 %32 = load i8, ptr %31, align 1 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %4, align 8 store i8 %32, ptr %33, align 1 br label %35 35: ; preds = %30, %25 br label %36 36: ; preds = %35 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 1 store ptr %38, ptr %5, align 8 br label %21, !llvm.loop !6 39: ; preds = %21 %40 = load ptr, ptr %4, align 8 store i8 0, ptr %40, align 1 %41 = load ptr, ptr %3, align 8 ret ptr %41 } declare i32 @swerr(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare ptr @xmalloc(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwh2czm2z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [136 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/stden/ejudge/refs/heads/master/dos2unix_str.c\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"assertion failed: %s\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @dos2unix_str(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 i64, align 8 store ptr %0, ptr %2, align 8 br label %7 7: ; preds = %1 %8 = load ptr, ptr %2, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %7 %11 = call i32 @swerr(ptr noundef @.str, i32 noundef 33, ptr noundef @.str.1, ptr noundef @.str.2) br label %12 12: ; preds = %10, %7 br label %13 13: ; preds = %12 %14 = load ptr, ptr %2, align 8 %15 = call i64 @strlen(ptr noundef %14) store i64 %15, ptr %6, align 8 %16 = load i64, ptr %6, align 8 %17 = add i64 %16, 1 %18 = call ptr @xmalloc(i64 noundef %17) store ptr %18, ptr %3, align 8 %19 = load ptr, ptr %3, align 8 store ptr %19, ptr %4, align 8 %20 = load ptr, ptr %2, align 8 store ptr %20, ptr %5, align 8 %21 = load ptr, ptr %5, align 8 %22 = load i8, ptr %21, align 1 %23 = icmp ne i8 %22, 0 br i1 %23, label %.lr.ph, label %41 .lr.ph: ; preds = %13 br label %24 24: ; preds = %.lr.ph, %35 %25 = load ptr, ptr %5, align 8 %26 = load i8, ptr %25, align 1 %27 = zext i8 %26 to i32 %28 = icmp ne i32 %27, 13 br i1 %28, label %29, label %34 29: ; preds = %24 %30 = load ptr, ptr %5, align 8 %31 = load i8, ptr %30, align 1 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %4, align 8 store i8 %31, ptr %32, align 1 br label %34 34: ; preds = %29, %24 br label %35 35: ; preds = %34 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds i8, ptr %36, i32 1 store ptr %37, ptr %5, align 8 %38 = load ptr, ptr %5, align 8 %39 = load i8, ptr %38, align 1 %40 = icmp ne i8 %39, 0 br i1 %40, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %41 41: ; preds = %._crit_edge, %13 %42 = load ptr, ptr %4, align 8 store i8 0, ptr %42, align 1 %43 = load ptr, ptr %3, align 8 ret ptr %43 } declare i32 @swerr(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare ptr @xmalloc(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpb_xl29cc.c' source_filename = "/tmp/tmpb_xl29cc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb_xl29cc.c" target datalayout = "e-m:e-p270: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/tmp7604qcao.c' source_filename = "/tmp/tmp7604qcao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @STDIN_FILENO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"Error reading \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @readn(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [10 x i8], align 1 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr @STDIN_FILENO, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = call i32 @read(i32 noundef %7, ptr noundef %8, i32 noundef %9) store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = call i32 @puts(ptr noundef @.str) %15 = call i32 @exit(i32 noundef 0) #3 unreachable 16: ; preds = %2 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 store i8 0, ptr %20, align 1 %21 = load i32, ptr %5, align 4 ret i32 %21 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @puts(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/tmp7604qcao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @STDIN_FILENO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"Error reading \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @readn(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [10 x i8], align 1 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr @STDIN_FILENO, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = call i32 @read(i32 noundef %7, ptr noundef %8, i32 noundef %9) store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = call i32 @puts(ptr noundef @.str) %15 = call i32 @exit(i32 noundef 0) #3 unreachable 16: ; preds = %2 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 store i8 0, ptr %20, align 1 %21 = load i32, ptr %5, align 4 ret i32 %21 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @puts(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/tmpkpqe60im.c' source_filename = "/tmp/tmpkpqe60im.c" target datalayout = "e-m:e-p270: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/tmpkpqe60im.c" target datalayout = "e-m:e-p270: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/tmpfwjw7zyi.c' source_filename = "/tmp/tmpfwjw7zyi.c" target datalayout = "e-m:e-p270: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/tmpfwjw7zyi.c" target datalayout = "e-m:e-p270: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/tmpntr2bmpk.c' source_filename = "/tmp/tmpntr2bmpk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @component_details_resolve_all(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i64 @resolve_component_source_files(ptr noundef %8, ptr noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %3 store i32 1, ptr %4, align 4 br label %45 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %6, align 8 %16 = call i64 @resolve_component_dependencies(ptr noundef %14, ptr noundef %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %13 store i32 1, ptr %4, align 4 br label %45 19: ; preds = %13 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %6, align 8 %22 = load ptr, ptr %7, align 8 %23 = call i64 @resolve_component_input_dependencies(ptr noundef %20, ptr noundef %21, ptr noundef %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %19 store i32 1, ptr %4, align 4 br label %45 26: ; preds = %19 %27 = load ptr, ptr %5, align 8 %28 = load ptr, ptr %6, align 8 %29 = call i64 @resolve_component_extra_file_dependencies(ptr noundef %27, ptr noundef %28) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %26 store i32 1, ptr %4, align 4 br label %45 32: ; preds = %26 %33 = load ptr, ptr %5, align 8 %34 = load ptr, ptr %6, align 8 %35 = call i64 @resolve_component_include_directories(ptr noundef %33, ptr noundef %34) %36 = icmp ne i64 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %32 store i32 1, ptr %4, align 4 br label %45 38: ; preds = %32 %39 = load ptr, ptr %5, align 8 %40 = load ptr, ptr %6, align 8 %41 = call i64 @resolve_component_version(ptr noundef %39, ptr noundef %40) %42 = icmp ne i64 %41, 0 br i1 %42, label %43, label %44 43: ; preds = %38 store i32 1, ptr %4, align 4 br label %45 44: ; preds = %38 store i32 0, ptr %4, align 4 br label %45 45: ; preds = %44, %43, %37, %31, %25, %18, %12 %46 = load i32, ptr %4, align 4 ret i32 %46 } declare i64 @resolve_component_source_files(ptr noundef, ptr noundef) #1 declare i64 @resolve_component_dependencies(ptr noundef, ptr noundef) #1 declare i64 @resolve_component_input_dependencies(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @resolve_component_extra_file_dependencies(ptr noundef, ptr noundef) #1 declare i64 @resolve_component_include_directories(ptr noundef, ptr noundef) #1 declare i64 @resolve_component_version(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/tmpntr2bmpk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @component_details_resolve_all(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i64 @resolve_component_source_files(ptr noundef %8, ptr noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %3 store i32 1, ptr %4, align 4 br label %45 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %6, align 8 %16 = call i64 @resolve_component_dependencies(ptr noundef %14, ptr noundef %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %13 store i32 1, ptr %4, align 4 br label %45 19: ; preds = %13 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %6, align 8 %22 = load ptr, ptr %7, align 8 %23 = call i64 @resolve_component_input_dependencies(ptr noundef %20, ptr noundef %21, ptr noundef %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %19 store i32 1, ptr %4, align 4 br label %45 26: ; preds = %19 %27 = load ptr, ptr %5, align 8 %28 = load ptr, ptr %6, align 8 %29 = call i64 @resolve_component_extra_file_dependencies(ptr noundef %27, ptr noundef %28) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %26 store i32 1, ptr %4, align 4 br label %45 32: ; preds = %26 %33 = load ptr, ptr %5, align 8 %34 = load ptr, ptr %6, align 8 %35 = call i64 @resolve_component_include_directories(ptr noundef %33, ptr noundef %34) %36 = icmp ne i64 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %32 store i32 1, ptr %4, align 4 br label %45 38: ; preds = %32 %39 = load ptr, ptr %5, align 8 %40 = load ptr, ptr %6, align 8 %41 = call i64 @resolve_component_version(ptr noundef %39, ptr noundef %40) %42 = icmp ne i64 %41, 0 br i1 %42, label %43, label %44 43: ; preds = %38 store i32 1, ptr %4, align 4 br label %45 44: ; preds = %38 store i32 0, ptr %4, align 4 br label %45 45: ; preds = %44, %43, %37, %31, %25, %18, %12 %46 = load i32, ptr %4, align 4 ret i32 %46 } declare i64 @resolve_component_source_files(ptr noundef, ptr noundef) #1 declare i64 @resolve_component_dependencies(ptr noundef, ptr noundef) #1 declare i64 @resolve_component_input_dependencies(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @resolve_component_extra_file_dependencies(ptr noundef, ptr noundef) #1 declare i64 @resolve_component_include_directories(ptr noundef, ptr noundef) #1 declare i64 @resolve_component_version(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/tmp1u721100.c' source_filename = "/tmp/tmp1u721100.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convert_int16_to_double(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 = sext i32 %6 to i64 %8 = getelementptr inbounds double, ptr %5, i64 %7 %9 = load double, ptr %8, align 8 ret double %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1u721100.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convert_int16_to_double(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 = sext i32 %6 to i64 %8 = getelementptr inbounds double, ptr %5, i64 %7 %9 = load double, ptr %8, align 8 ret double %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp138o3fg0.c' source_filename = "/tmp/tmp138o3fg0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @put_associatedDataToStateByBlocks(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 br label %7 7: ; preds = %22, %3 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds i8, ptr %9, i32 1 store ptr %10, ptr %5, align 8 %11 = load i8, ptr %9, align 1 %12 = zext i8 %11 to i32 %13 = call i32 @add_Byte(ptr noundef %8, i32 noundef %12, i32 noundef 0) %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %5, align 8 %17 = load i8, ptr %15, align 1 %18 = zext i8 %17 to i32 %19 = call i32 @add_Byte(ptr noundef %14, i32 noundef %18, i32 noundef 1) %20 = load ptr, ptr %4, align 8 %21 = call i32 @Ketje_step(ptr noundef %20, i32 noundef 2, i32 noundef 4) br label %22 22: ; preds = %7 %23 = load i32, ptr %6, align 4 %24 = add i32 %23, -1 store i32 %24, ptr %6, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %7, label %26, !llvm.loop !6 26: ; preds = %22 ret void } declare i32 @add_Byte(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @Ketje_step(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp138o3fg0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @put_associatedDataToStateByBlocks(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 br label %7 7: ; preds = %22, %3 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds i8, ptr %9, i32 1 store ptr %10, ptr %5, align 8 %11 = load i8, ptr %9, align 1 %12 = zext i8 %11 to i32 %13 = call i32 @add_Byte(ptr noundef %8, i32 noundef %12, i32 noundef 0) %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %5, align 8 %17 = load i8, ptr %15, align 1 %18 = zext i8 %17 to i32 %19 = call i32 @add_Byte(ptr noundef %14, i32 noundef %18, i32 noundef 1) %20 = load ptr, ptr %4, align 8 %21 = call i32 @Ketje_step(ptr noundef %20, i32 noundef 2, i32 noundef 4) br label %22 22: ; preds = %7 %23 = load i32, ptr %6, align 4 %24 = add i32 %23, -1 store i32 %24, ptr %6, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %7, label %26, !llvm.loop !6 26: ; preds = %22 ret void } declare i32 @add_Byte(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @Ketje_step(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp17uval4w.c' source_filename = "/tmp/tmp17uval4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WinPrint(ptr noundef %0, ...) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp17uval4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WinPrint(ptr noundef %0, ...) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnof_0rxe.c' source_filename = "/tmp/tmpnof_0rxe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_NETLINK = dso_local global i32 0, align 4 @CN_IDX_PROC = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @NETLINK_CONNECTOR = dso_local global i32 0, align 4 @PF_NETLINK = dso_local global i32 0, align 4 @SOCK_DGRAM = 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/tmpnof_0rxe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_NETLINK = dso_local global i32 0, align 4 @CN_IDX_PROC = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @NETLINK_CONNECTOR = dso_local global i32 0, align 4 @PF_NETLINK = dso_local global i32 0, align 4 @SOCK_DGRAM = 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/tmp0zp8kdxy.c' source_filename = "/tmp/tmp0zp8kdxy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Iq(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6) #0 { %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 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 double %4, ptr %12, align 8 store double %5, ptr %13, align 8 store double %6, ptr %14, align 8 %16 = load double, ptr %8, align 8 %17 = load double, ptr %9, align 8 %18 = load double, ptr %10, align 8 %19 = load double, ptr %11, align 8 %20 = load double, ptr %12, align 8 %21 = load double, ptr %13, align 8 %22 = load double, ptr %14, align 8 %23 = call double @flexible_cylinder_ex_kernel(double noundef %16, double noundef %17, double noundef %18, double noundef %19, double noundef %20, double noundef %21, double noundef %22) store double %23, ptr %15, align 8 %24 = load double, ptr %15, align 8 ret double %24 } declare double @flexible_cylinder_ex_kernel(double noundef, double noundef, 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/tmp0zp8kdxy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Iq(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6) #0 { %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 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 double %4, ptr %12, align 8 store double %5, ptr %13, align 8 store double %6, ptr %14, align 8 %16 = load double, ptr %8, align 8 %17 = load double, ptr %9, align 8 %18 = load double, ptr %10, align 8 %19 = load double, ptr %11, align 8 %20 = load double, ptr %12, align 8 %21 = load double, ptr %13, align 8 %22 = load double, ptr %14, align 8 %23 = call double @flexible_cylinder_ex_kernel(double noundef %16, double noundef %17, double noundef %18, double noundef %19, double noundef %20, double noundef %21, double noundef %22) store double %23, ptr %15, align 8 %24 = load double, ptr %15, align 8 ret double %24 } declare double @flexible_cylinder_ex_kernel(double noundef, double noundef, 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/tmp7rau48t9.c' source_filename = "/tmp/tmp7rau48t9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.input = private unnamed_addr constant [16 x i8] c"the sky is blue\00", align 16 @.str = private unnamed_addr constant [21 x i8] c"[before] input : %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"[after] input : %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 [16 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.input, i64 16, i1 false) %7 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) %9 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %10 = call i32 @reverse_word_string(ptr noundef %9, i8 noundef signext 32) %11 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %12 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @reverse_word_string(ptr noundef, i8 noundef signext) #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/tmp7rau48t9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.input = private unnamed_addr constant [16 x i8] c"the sky is blue\00", align 16 @.str = private unnamed_addr constant [21 x i8] c"[before] input : %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"[after] input : %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 [16 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.input, i64 16, i1 false) %7 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %7) %9 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %10 = call i32 @reverse_word_string(ptr noundef %9, i8 noundef signext 32) %11 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %12 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @reverse_word_string(ptr noundef, i8 noundef signext) #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/tmp9yw5lf04.c' source_filename = "/tmp/tmp9yw5lf04.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test_ota_1.pem\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"open test_ota_1.pem failed\0A\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"test_ota_1.pem length is %d\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"test_sb_rsa2048.pem\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"test_sb_aes256.bin\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"open test_sb_aes256.bin failed\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"aes key is %d\00", align 1 @.str.8 = private unnamed_addr constant [18 x i8] c"update key failed\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 [20480 x ptr], align 16 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca [256 x ptr], align 16 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = 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 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 163840, i1 false) store i32 0, ptr %7, align 4 %15 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %15, ptr %8, align 8 %16 = load ptr, ptr %8, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %20 18: ; preds = %2 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %20 20: ; preds = %18, %2 %21 = getelementptr inbounds [20480 x ptr], ptr %6, i64 0, i64 0 %22 = load ptr, ptr %8, align 8 %23 = call i32 @fread(ptr noundef %21, i32 noundef 20480, i32 noundef 20480, ptr noundef %22) store i32 %23, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24) %26 = load ptr, ptr %8, align 8 %27 = call i32 @fclose(ptr noundef %26) store ptr null, ptr %9, align 8 store ptr null, ptr %10, align 8 %28 = call i32 (...) @BIO_s_file() %29 = call ptr @BIO_new(i32 noundef %28) store ptr %29, ptr %9, align 8 %30 = load ptr, ptr %9, align 8 %31 = call i32 @BIO_read_filename(ptr noundef %30, ptr noundef @.str.4) %32 = load ptr, ptr %9, align 8 %33 = call ptr @PEM_read_bio_RSAPublicKey(ptr noundef %32, ptr noundef null, ptr noundef null, ptr noundef null) store ptr %33, ptr %10, align 8 %34 = load ptr, ptr %9, align 8 %35 = call i32 @BIO_free_all(ptr noundef %34) call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 2048, i1 false) %36 = call ptr @fopen(ptr noundef @.str.5, ptr noundef @.str.1) store ptr %36, ptr %12, align 8 %37 = load ptr, ptr %12, align 8 %38 = icmp eq ptr null, %37 br i1 %38, label %39, label %41 39: ; preds = %20 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %41 41: ; preds = %39, %20 %42 = getelementptr inbounds [256 x ptr], ptr %11, i64 0, i64 0 %43 = load ptr, ptr %12, align 8 %44 = call i32 @fread(ptr noundef %42, i32 noundef 256, i32 noundef 256, ptr noundef %43) store i32 %44, ptr %13, align 4 %45 = load i32, ptr %13, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %45) %47 = load ptr, ptr %12, align 8 %48 = call i32 @fclose(ptr noundef %47) %49 = getelementptr inbounds [20480 x ptr], ptr %6, i64 0, i64 0 %50 = load i32, ptr %7, align 4 %51 = load ptr, ptr %10, align 8 %52 = getelementptr inbounds [256 x ptr], ptr %11, i64 0, i64 0 %53 = call i32 @update_key(ptr noundef %49, i32 noundef %50, ptr noundef %51, ptr noundef %52, ptr noundef null, i32 noundef 0) store i32 %53, ptr %14, align 4 %54 = load i32, ptr %14, align 4 %55 = icmp eq i32 %54, -1 br i1 %55, label %56, label %58 56: ; preds = %41 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %58 58: ; preds = %56, %41 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare ptr @BIO_new(i32 noundef) #2 declare i32 @BIO_s_file(...) #2 declare i32 @BIO_read_filename(ptr noundef, ptr noundef) #2 declare ptr @PEM_read_bio_RSAPublicKey(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @BIO_free_all(ptr noundef) #2 declare i32 @update_key(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9yw5lf04.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test_ota_1.pem\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"open test_ota_1.pem failed\0A\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"test_ota_1.pem length is %d\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"test_sb_rsa2048.pem\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"test_sb_aes256.bin\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"open test_sb_aes256.bin failed\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"aes key is %d\00", align 1 @.str.8 = private unnamed_addr constant [18 x i8] c"update key failed\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 [20480 x ptr], align 16 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca [256 x ptr], align 16 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = 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 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 163840, i1 false) store i32 0, ptr %7, align 4 %15 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %15, ptr %8, align 8 %16 = load ptr, ptr %8, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %20 18: ; preds = %2 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %20 20: ; preds = %18, %2 %21 = getelementptr inbounds [20480 x ptr], ptr %6, i64 0, i64 0 %22 = load ptr, ptr %8, align 8 %23 = call i32 @fread(ptr noundef %21, i32 noundef 20480, i32 noundef 20480, ptr noundef %22) store i32 %23, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24) %26 = load ptr, ptr %8, align 8 %27 = call i32 @fclose(ptr noundef %26) store ptr null, ptr %9, align 8 store ptr null, ptr %10, align 8 %28 = call i32 (...) @BIO_s_file() %29 = call ptr @BIO_new(i32 noundef %28) store ptr %29, ptr %9, align 8 %30 = load ptr, ptr %9, align 8 %31 = call i32 @BIO_read_filename(ptr noundef %30, ptr noundef @.str.4) %32 = load ptr, ptr %9, align 8 %33 = call ptr @PEM_read_bio_RSAPublicKey(ptr noundef %32, ptr noundef null, ptr noundef null, ptr noundef null) store ptr %33, ptr %10, align 8 %34 = load ptr, ptr %9, align 8 %35 = call i32 @BIO_free_all(ptr noundef %34) call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 2048, i1 false) %36 = call ptr @fopen(ptr noundef @.str.5, ptr noundef @.str.1) store ptr %36, ptr %12, align 8 %37 = load ptr, ptr %12, align 8 %38 = icmp eq ptr null, %37 br i1 %38, label %39, label %41 39: ; preds = %20 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %41 41: ; preds = %39, %20 %42 = getelementptr inbounds [256 x ptr], ptr %11, i64 0, i64 0 %43 = load ptr, ptr %12, align 8 %44 = call i32 @fread(ptr noundef %42, i32 noundef 256, i32 noundef 256, ptr noundef %43) store i32 %44, ptr %13, align 4 %45 = load i32, ptr %13, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %45) %47 = load ptr, ptr %12, align 8 %48 = call i32 @fclose(ptr noundef %47) %49 = getelementptr inbounds [20480 x ptr], ptr %6, i64 0, i64 0 %50 = load i32, ptr %7, align 4 %51 = load ptr, ptr %10, align 8 %52 = getelementptr inbounds [256 x ptr], ptr %11, i64 0, i64 0 %53 = call i32 @update_key(ptr noundef %49, i32 noundef %50, ptr noundef %51, ptr noundef %52, ptr noundef null, i32 noundef 0) store i32 %53, ptr %14, align 4 %54 = load i32, ptr %14, align 4 %55 = icmp eq i32 %54, -1 br i1 %55, label %56, label %58 56: ; preds = %41 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %58 58: ; preds = %56, %41 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare ptr @BIO_new(i32 noundef) #2 declare i32 @BIO_s_file(...) #2 declare i32 @BIO_read_filename(ptr noundef, ptr noundef) #2 declare ptr @PEM_read_bio_RSAPublicKey(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @BIO_free_all(ptr noundef) #2 declare i32 @update_key(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzg7qlqu2.c' source_filename = "/tmp/tmpzg7qlqu2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = 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/tmpzg7qlqu2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = 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/tmpmk824rxl.c' source_filename = "/tmp/tmpmk824rxl.c" target datalayout = "e-m:e-p270: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/tmpmk824rxl.c" target datalayout = "e-m:e-p270: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/tmp7eubzvfh.c' source_filename = "/tmp/tmp7eubzvfh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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\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 [200 x i32], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %10 10: ; preds = %22, %0 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %12 12: ; preds = %10 %13 = load i32, ptr %2, align 4 %14 = icmp sle i32 %13, 0 br i1 %14, label %22, label %15 15: ; preds = %12 %16 = load i32, ptr %2, align 4 %17 = icmp sge i32 %16, 200 br i1 %17, label %22, label %18 18: ; preds = %15 %19 = load i32, ptr %2, align 4 %20 = srem i32 %19, 2 %21 = icmp eq i32 %20, 0 br label %22 22: ; preds = %18, %15, %12 %23 = phi i1 [ true, %15 ], [ true, %12 ], [ %21, %18 ] br i1 %23, label %10, label %24, !llvm.loop !6 24: ; preds = %22 store i32 0, ptr %6, align 4 br label %25 25: ; preds = %75, %24 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %78 29: ; preds = %25 br label %30 30: ; preds = %72, %29 store i32 0, ptr %3, align 4 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %32 %34 = call i32 @scanf(ptr noundef @.str, ptr noundef %33) store i32 0, ptr %7, align 4 br label %35 35: ; preds = %53, %30 %36 = load i32, ptr %7, align 4 %37 = load i32, ptr %6, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %56 39: ; preds = %35 %40 = load i32, ptr %6, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %41 %43 = load i32, ptr %42, align 4 %44 = load i32, ptr %7, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %45 %47 = load i32, ptr %46, align 4 %48 = icmp eq i32 %43, %47 br i1 %48, label %49, label %52 49: ; preds = %39 %50 = load i32, ptr %3, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %3, align 4 br label %52 52: ; preds = %49, %39 br label %53 53: ; preds = %52 %54 = load i32, ptr %7, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %7, align 4 br label %35, !llvm.loop !8 56: ; preds = %35 br label %57 57: ; preds = %56 %58 = load i32, ptr %6, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %59 %61 = load i32, ptr %60, align 4 %62 = icmp sle i32 %61, 0 br i1 %62, label %72, label %63 63: ; preds = %57 %64 = load i32, ptr %6, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %65 %67 = load i32, ptr %66, align 4 %68 = icmp sgt i32 %67, 100 br i1 %68, label %72, label %69 69: ; preds = %63 %70 = load i32, ptr %3, align 4 %71 = icmp sgt i32 %70, 2 br label %72 72: ; preds = %69, %63, %57 %73 = phi i1 [ true, %63 ], [ true, %57 ], [ %71, %69 ] br i1 %73, label %30, label %74, !llvm.loop !9 74: ; preds = %72 br label %75 75: ; preds = %74 %76 = load i32, ptr %6, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %6, align 4 br label %25, !llvm.loop !10 78: ; preds = %25 store i32 0, ptr %8, align 4 br label %79 79: ; preds = %128, %78 %80 = load i32, ptr %8, align 4 %81 = load i32, ptr %2, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %83, label %131 83: ; preds = %79 %84 = load i32, ptr %8, align 4 store i32 %84, ptr %9, align 4 br label %85 85: ; preds = %126, %83 %86 = load i32, ptr %9, align 4 %87 = load i32, ptr %2, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %89, label %127 89: ; preds = %85 %90 = load i32, ptr %9, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %9, align 4 %92 = load i32, ptr %8, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %93 %95 = load i32, ptr %94, align 4 %96 = load i32, ptr %9, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %97 %99 = load i32, ptr %98, align 4 %100 = icmp eq i32 %95, %99 br i1 %100, label %101, label %114 101: ; preds = %89 %102 = load i32, ptr %9, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %103 %105 = load i32, ptr %104, align 4 %106 = icmp ne i32 %105, 0 br i1 %106, label %107, label %114 107: ; preds = %101 %108 = load i32, ptr %8, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %109 store i32 0, ptr %110, align 4 %111 = load i32, ptr %9, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %112 store i32 0, ptr %113, align 4 br label %126 114: ; preds = %101, %89 %115 = load i32, ptr %8, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %116 %118 = load i32, ptr %117, align 4 %119 = icmp ne i32 %118, 0 br i1 %119, label %120, label %125 120: ; preds = %114 %121 = load i32, ptr %8, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %122 %124 = load i32, ptr %123, align 4 store i32 %124, ptr %4, align 4 br label %125 125: ; preds = %120, %114 br label %126 126: ; preds = %125, %107 br label %85, !llvm.loop !11 127: ; preds = %85 br label %128 128: ; preds = %127 %129 = load i32, ptr %8, align 4 %130 = add nsw i32 %129, 1 store i32 %130, ptr %8, align 4 br label %79, !llvm.loop !12 131: ; preds = %79 %132 = load i32, ptr %4, align 4 %133 = call i32 @printf(ptr noundef @.str.1, i32 noundef %132) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !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/tmp7eubzvfh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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\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 [200 x i32], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %10 10: ; preds = %22, %0 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %12 12: ; preds = %10 %13 = load i32, ptr %2, align 4 %14 = icmp sle i32 %13, 0 br i1 %14, label %22, label %15 15: ; preds = %12 %16 = load i32, ptr %2, align 4 %17 = icmp sge i32 %16, 200 br i1 %17, label %22, label %18 18: ; preds = %15 %19 = load i32, ptr %2, align 4 %20 = srem i32 %19, 2 %21 = icmp eq i32 %20, 0 br label %22 22: ; preds = %18, %15, %12 %23 = phi i1 [ true, %15 ], [ true, %12 ], [ %21, %18 ] br i1 %23, label %10, label %24, !llvm.loop !6 24: ; preds = %22 store i32 0, ptr %6, align 4 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph2, label %82 .lr.ph2: ; preds = %24 br label %28 28: ; preds = %.lr.ph2, %76 br label %29 29: ; preds = %73, %28 store i32 0, ptr %3, align 4 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %31 %33 = call i32 @scanf(ptr noundef @.str, ptr noundef %32) store i32 0, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %6, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %.lr.ph, label %57 .lr.ph: ; preds = %29 br label %37 37: ; preds = %.lr.ph, %51 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %39 %41 = load i32, ptr %40, align 4 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %43 %45 = load i32, ptr %44, align 4 %46 = icmp eq i32 %41, %45 br i1 %46, label %47, label %50 47: ; preds = %37 %48 = load i32, ptr %3, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %3, align 4 br label %50 50: ; preds = %47, %37 br label %51 51: ; preds = %50 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %7, align 4 %54 = load i32, ptr %7, align 4 %55 = load i32, ptr %6, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %37, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %51 br label %57 57: ; preds = %._crit_edge, %29 br label %58 58: ; preds = %57 %59 = load i32, ptr %6, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %60 %62 = load i32, ptr %61, align 4 %63 = icmp sle i32 %62, 0 br i1 %63, label %73, label %64 64: ; preds = %58 %65 = load i32, ptr %6, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %66 %68 = load i32, ptr %67, align 4 %69 = icmp sgt i32 %68, 100 br i1 %69, label %73, label %70 70: ; preds = %64 %71 = load i32, ptr %3, align 4 %72 = icmp sgt i32 %71, 2 br label %73 73: ; preds = %70, %64, %58 %74 = phi i1 [ true, %64 ], [ true, %58 ], [ %72, %70 ] br i1 %74, label %29, label %75, !llvm.loop !9 75: ; preds = %73 br label %76 76: ; preds = %75 %77 = load i32, ptr %6, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %6, align 4 %79 = load i32, ptr %6, align 4 %80 = load i32, ptr %2, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %28, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %76 br label %82 82: ; preds = %._crit_edge3, %24 store i32 0, ptr %8, align 4 %83 = load i32, ptr %8, align 4 %84 = load i32, ptr %2, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %.lr.ph8, label %139 .lr.ph8: ; preds = %82 br label %86 86: ; preds = %.lr.ph8, %133 %87 = load i32, ptr %8, align 4 store i32 %87, ptr %9, align 4 %88 = load i32, ptr %9, align 4 %89 = load i32, ptr %2, align 4 %90 = icmp slt i32 %88, %89 br i1 %90, label %.lr.ph5, label %132 .lr.ph5: ; preds = %86 br label %91 91: ; preds = %.lr.ph5, %128 %92 = load i32, ptr %9, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %9, align 4 %94 = load i32, ptr %8, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %95 %97 = load i32, ptr %96, align 4 %98 = load i32, ptr %9, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %99 %101 = load i32, ptr %100, align 4 %102 = icmp eq i32 %97, %101 br i1 %102, label %103, label %116 103: ; preds = %91 %104 = load i32, ptr %9, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %105 %107 = load i32, ptr %106, align 4 %108 = icmp ne i32 %107, 0 br i1 %108, label %109, label %116 109: ; preds = %103 %110 = load i32, ptr %8, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %111 store i32 0, ptr %112, align 4 %113 = load i32, ptr %9, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %114 store i32 0, ptr %115, align 4 br label %128 116: ; preds = %103, %91 %117 = load i32, ptr %8, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %118 %120 = load i32, ptr %119, align 4 %121 = icmp ne i32 %120, 0 br i1 %121, label %122, label %127 122: ; preds = %116 %123 = load i32, ptr %8, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds [200 x i32], ptr %5, i64 0, i64 %124 %126 = load i32, ptr %125, align 4 store i32 %126, ptr %4, align 4 br label %127 127: ; preds = %122, %116 br label %128 128: ; preds = %127, %109 %129 = load i32, ptr %9, align 4 %130 = load i32, ptr %2, align 4 %131 = icmp slt i32 %129, %130 br i1 %131, label %91, label %._crit_edge6, !llvm.loop !11 ._crit_edge6: ; preds = %128 br label %132 132: ; preds = %._crit_edge6, %86 br label %133 133: ; preds = %132 %134 = load i32, ptr %8, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %8, align 4 %136 = load i32, ptr %8, align 4 %137 = load i32, ptr %2, align 4 %138 = icmp slt i32 %136, %137 br i1 %138, label %86, label %._crit_edge9, !llvm.loop !12 ._crit_edge9: ; preds = %133 br label %139 139: ; preds = %._crit_edge9, %82 %140 = load i32, ptr %4, align 4 %141 = call i32 @printf(ptr noundef @.str.1, i32 noundef %140) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmp_az1pe4u.c' source_filename = "/tmp/tmp_az1pe4u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_setting(i32 noundef %0, i8 noundef signext %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i8 %1, ptr %5, align 1 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %19, %3 %9 = load i32, ptr %7, align 4 %10 = icmp slt i32 %9, 5 br i1 %10, label %11, label %22 11: ; preds = %8 %12 = load i32, ptr %4, align 4 %13 = call i32 @write_to_system(i32 noundef %12) %14 = load i8, ptr %5, align 1 %15 = call i32 @write_to_unit(i8 noundef signext %14) %16 = load i32, ptr %6, align 4 %17 = call i32 @write_mode(i32 noundef %16) %18 = call i32 (...) @write_sync() br label %19 19: ; preds = %11 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %7, align 4 br label %8, !llvm.loop !6 22: ; preds = %8 ret void } declare i32 @write_to_system(i32 noundef) #1 declare i32 @write_to_unit(i8 noundef signext) #1 declare i32 @write_mode(i32 noundef) #1 declare i32 @write_sync(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_az1pe4u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_setting(i32 noundef %0, i8 noundef signext %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i8 %1, ptr %5, align 1 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = icmp slt i32 %8, 5 br i1 %9, label %.lr.ph, label %23 .lr.ph: ; preds = %3 br label %10 10: ; preds = %.lr.ph, %18 %11 = load i32, ptr %4, align 4 %12 = call i32 @write_to_system(i32 noundef %11) %13 = load i8, ptr %5, align 1 %14 = call i32 @write_to_unit(i8 noundef signext %13) %15 = load i32, ptr %6, align 4 %16 = call i32 @write_mode(i32 noundef %15) %17 = call i32 (...) @write_sync() br label %18 18: ; preds = %10 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %7, align 4 %21 = load i32, ptr %7, align 4 %22 = icmp slt i32 %21, 5 br i1 %22, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %23 23: ; preds = %._crit_edge, %3 ret void } declare i32 @write_to_system(i32 noundef) #1 declare i32 @write_to_unit(i8 noundef signext) #1 declare i32 @write_mode(i32 noundef) #1 declare i32 @write_sync(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpv2ef8a90.c' source_filename = "/tmp/tmpv2ef8a90.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CMalloc: Error at %s:%d %s.\0A\00", align 1 @.str.1 = private unnamed_addr constant [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/maokelong/cmalloc/refs/heads/master/sources/cmalloc.c\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"aligned_alloc() called but not implemented\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cmalloc_aligned_alloc(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = call i32 @error_and_exit(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 106, ptr noundef @.str.2) ret ptr null } declare i32 @error_and_exit(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv2ef8a90.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CMalloc: Error at %s:%d %s.\0A\00", align 1 @.str.1 = private unnamed_addr constant [144 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/maokelong/cmalloc/refs/heads/master/sources/cmalloc.c\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"aligned_alloc() called but not implemented\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cmalloc_aligned_alloc(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = call i32 @error_and_exit(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 106, ptr noundef @.str.2) ret ptr null } declare i32 @error_and_exit(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpezwm16_e.c' source_filename = "/tmp/tmpezwm16_e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Recieved signal alarm\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sigHandler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpezwm16_e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Recieved signal alarm\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sigHandler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwp4whdq3.c' source_filename = "/tmp/tmpwp4whdq3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %15, %0 %4 = call i32 (...) @getchar() store i32 %4, ptr %2, align 4 %5 = load i32, ptr @EOF, align 4 %6 = icmp ne i32 %4, %5 br i1 %6, label %7, label %16 7: ; preds = %3 %8 = load i32, ptr %2, align 4 %9 = icmp eq i32 %8, 9 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = call i32 (...) @tabulate() br label %15 12: ; preds = %7 %13 = load i32, ptr %2, align 4 %14 = call i32 @putchar(i32 noundef %13) br label %15 15: ; preds = %12, %10 br label %3, !llvm.loop !6 16: ; preds = %3 ret i32 0 } declare i32 @getchar(...) #1 declare i32 @tabulate(...) #1 declare i32 @putchar(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwp4whdq3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @getchar() store i32 %3, ptr %2, align 4 %4 = load i32, ptr @EOF, align 4 %5 = icmp ne i32 %3, %4 br i1 %5, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %14 %7 = load i32, ptr %2, align 4 %8 = icmp eq i32 %7, 9 br i1 %8, label %9, label %11 9: ; preds = %6 %10 = call i32 (...) @tabulate() br label %14 11: ; preds = %6 %12 = load i32, ptr %2, align 4 %13 = call i32 @putchar(i32 noundef %12) br label %14 14: ; preds = %11, %9 %15 = call i32 (...) @getchar() store i32 %15, ptr %2, align 4 %16 = load i32, ptr @EOF, align 4 %17 = icmp ne i32 %15, %16 br i1 %17, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %18 18: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @getchar(...) #1 declare i32 @tabulate(...) #1 declare i32 @putchar(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}