llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmptgif3ked.c' source_filename = "/tmp/tmptgif3ked.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @is_leap_year_test(i32 noundef %0) #0 { %2 = alloca i8, align 1 %3 = alloca i32, align 4 %4 = alloca %struct.TYPE_3__, align 8 %5 = alloca %struct.TYPE_3__, align 8 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = and i32 %6, 3 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %1 store i8 0, ptr %2, align 1 br label %28 10: ; preds = %1 %11 = load i32, ptr %3, align 4 %12 = call { i32, i64 } @div(i32 noundef %11, i32 noundef 100) %13 = getelementptr inbounds { i32, i64 }, ptr %5, i32 0, i32 0 %14 = extractvalue { i32, i64 } %12, 0 store i32 %14, ptr %13, align 8 %15 = getelementptr inbounds { i32, i64 }, ptr %5, i32 0, i32 1 %16 = extractvalue { i32, i64 } %12, 1 store i64 %16, ptr %15, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 8 %4, ptr align 8 %5, i64 16, i1 false) %17 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 1 %18 = load i64, ptr %17, align 8 %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %10 store i8 1, ptr %2, align 1 br label %28 21: ; preds = %10 %22 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %23 = load i32, ptr %22, align 8 %24 = and i32 %23, 3 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %21 store i8 1, ptr %2, align 1 br label %28 27: ; preds = %21 store i8 0, ptr %2, align 1 br label %28 28: ; preds = %27, %26, %20, %9 %29 = load i8, ptr %2, align 1 ret i8 %29 } declare { i32, i64 } @div(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptgif3ked.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @is_leap_year_test(i32 noundef %0) #0 { %2 = alloca i8, align 1 %3 = alloca i32, align 4 %4 = alloca %struct.TYPE_3__, align 8 %5 = alloca %struct.TYPE_3__, align 8 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = and i32 %6, 3 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %1 store i8 0, ptr %2, align 1 br label %28 10: ; preds = %1 %11 = load i32, ptr %3, align 4 %12 = call { i32, i64 } @div(i32 noundef %11, i32 noundef 100) %13 = getelementptr inbounds { i32, i64 }, ptr %5, i32 0, i32 0 %14 = extractvalue { i32, i64 } %12, 0 store i32 %14, ptr %13, align 8 %15 = getelementptr inbounds { i32, i64 }, ptr %5, i32 0, i32 1 %16 = extractvalue { i32, i64 } %12, 1 store i64 %16, ptr %15, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 8 %4, ptr align 8 %5, i64 16, i1 false) %17 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 1 %18 = load i64, ptr %17, align 8 %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %10 store i8 1, ptr %2, align 1 br label %28 21: ; preds = %10 %22 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %23 = load i32, ptr %22, align 8 %24 = and i32 %23, 3 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %21 store i8 1, ptr %2, align 1 br label %28 27: ; preds = %21 store i8 0, ptr %2, align 1 br label %28 28: ; preds = %27, %26, %20, %9 %29 = load i8, ptr %2, align 1 ret i8 %29 } declare { i32, i64 } @div(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt8xxptfh.c' source_filename = "/tmp/tmpt8xxptfh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [7 x i8] c"iIMmlh\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [371 x i8] c"numinterval - Show the numeric intervals between each line in a file.\0ASynopsis : numinterval [-dhV] <FILE>\0AThe only option is the help (-h) option and you are looking at it.\0ANote : The calculation is made at the same time you're inputing numbers, in order to have a more esthetic result you can redirect the output.\0AYou can consult the man page for further information.\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [16 x i8] c"Invalid option\0A\00", align 1 @optind = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"num-utils-ng\00", align 1 @EXIT_FAILURE = 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 ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr @stdin, align 8 store ptr %8, ptr %7, align 8 br label %9 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @getopt(i32 noundef %10, ptr noundef %11, ptr noundef @.str) store i32 %12, ptr %6, align 4 %13 = icmp ne i32 %12, -1 br i1 %13, label %14, label %22 14: ; preds = %9 %15 = load i32, ptr %6, align 4 switch i32 %15, label %19 [ i32 104, label %16 ] 16: ; preds = %14 %17 = load i32, ptr @stdout, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.1) store i32 0, ptr %3, align 4 br label %53 19: ; preds = %14 %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %53 22: ; preds = %9 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr @optind, align 4 %25 = icmp sgt i32 %23, %24 br i1 %25, label %26, label %38 26: ; preds = %22 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr @optind, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %27, i64 %29 %31 = load ptr, ptr %30, align 8 %32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.3) store ptr %32, ptr %7, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %37, label %34 34: ; preds = %26 %35 = call i32 @perror(ptr noundef @.str.4) %36 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %36, ptr %3, align 4 br label %53 37: ; preds = %26 br label %38 38: ; preds = %37, %22 %39 = load ptr, ptr %7, align 8 %40 = call i32 @interval(ptr noundef %39) %41 = load i32, ptr %4, align 4 %42 = load i32, ptr @optind, align 4 %43 = icmp sgt i32 %41, %42 br i1 %43, label %44, label %52 44: ; preds = %38 %45 = load ptr, ptr %7, align 8 %46 = call i64 @fclose(ptr noundef %45) %47 = icmp ne i64 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %44 %49 = call i32 @perror(ptr noundef @.str.4) %50 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %50, ptr %3, align 4 br label %53 51: ; preds = %44 br label %52 52: ; preds = %51, %38 store i32 0, ptr %3, align 4 br label %53 53: ; preds = %52, %48, %34, %19, %16 %54 = load i32, ptr %3, align 4 ret i32 %54 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @interval(ptr noundef) #1 declare i64 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt8xxptfh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [7 x i8] c"iIMmlh\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [371 x i8] c"numinterval - Show the numeric intervals between each line in a file.\0ASynopsis : numinterval [-dhV] <FILE>\0AThe only option is the help (-h) option and you are looking at it.\0ANote : The calculation is made at the same time you're inputing numbers, in order to have a more esthetic result you can redirect the output.\0AYou can consult the man page for further information.\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [16 x i8] c"Invalid option\0A\00", align 1 @optind = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"num-utils-ng\00", align 1 @EXIT_FAILURE = 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 ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr @stdin, align 8 store ptr %8, ptr %7, align 8 br label %9 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @getopt(i32 noundef %10, ptr noundef %11, ptr noundef @.str) store i32 %12, ptr %6, align 4 %13 = icmp ne i32 %12, -1 br i1 %13, label %14, label %22 14: ; preds = %9 %15 = load i32, ptr %6, align 4 switch i32 %15, label %19 [ i32 104, label %16 ] 16: ; preds = %14 %17 = load i32, ptr @stdout, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.1) store i32 0, ptr %3, align 4 br label %53 19: ; preds = %14 %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %53 22: ; preds = %9 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr @optind, align 4 %25 = icmp sgt i32 %23, %24 br i1 %25, label %26, label %38 26: ; preds = %22 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr @optind, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %27, i64 %29 %31 = load ptr, ptr %30, align 8 %32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.3) store ptr %32, ptr %7, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %37, label %34 34: ; preds = %26 %35 = call i32 @perror(ptr noundef @.str.4) %36 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %36, ptr %3, align 4 br label %53 37: ; preds = %26 br label %38 38: ; preds = %37, %22 %39 = load ptr, ptr %7, align 8 %40 = call i32 @interval(ptr noundef %39) %41 = load i32, ptr %4, align 4 %42 = load i32, ptr @optind, align 4 %43 = icmp sgt i32 %41, %42 br i1 %43, label %44, label %52 44: ; preds = %38 %45 = load ptr, ptr %7, align 8 %46 = call i64 @fclose(ptr noundef %45) %47 = icmp ne i64 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %44 %49 = call i32 @perror(ptr noundef @.str.4) %50 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %50, ptr %3, align 4 br label %53 51: ; preds = %44 br label %52 52: ; preds = %51, %38 store i32 0, ptr %3, align 4 br label %53 53: ; preds = %52, %48, %34, %19, %16 %54 = load i32, ptr %3, align 4 ret i32 %54 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @interval(ptr noundef) #1 declare i64 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_35ue9l9.c' source_filename = "/tmp/tmp_35ue9l9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @progress_end() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_35ue9l9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @progress_end() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpctgy0t4j.c' source_filename = "/tmp/tmpctgy0t4j.c" target datalayout = "e-m:e-p270: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_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = 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/tmpctgy0t4j.c" target datalayout = "e-m:e-p270: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_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = 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/tmpdx8qh4h8.c' source_filename = "/tmp/tmpdx8qh4h8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdx8qh4h8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpho8ortuh.c' source_filename = "/tmp/tmpho8ortuh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PKCS12_MAC_DATA_it = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @i2d_PKCS12_MAC_DATA(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @ASN1_item_i2d(ptr noundef %5, ptr noundef %6, ptr noundef @PKCS12_MAC_DATA_it) ret i32 %7 } declare i32 @ASN1_item_i2d(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/tmpho8ortuh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PKCS12_MAC_DATA_it = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @i2d_PKCS12_MAC_DATA(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @ASN1_item_i2d(ptr noundef %5, ptr noundef %6, ptr noundef @PKCS12_MAC_DATA_it) ret i32 %7 } declare i32 @ASN1_item_i2d(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/tmp7_iadl14.c' source_filename = "/tmp/tmp7_iadl14.c" target datalayout = "e-m:e-p270: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/tmp7_iadl14.c" target datalayout = "e-m:e-p270: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/tmpe6m7u6pf.c' source_filename = "/tmp/tmpe6m7u6pf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putnbr_fd(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 store i64 %7, ptr %5, align 8 %8 = load i64, ptr %5, align 8 %9 = icmp slt i64 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load i64, ptr %5, align 8 %12 = mul nsw i64 %11, -1 store i64 %12, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = call i32 @ft_putchar_fd(i64 noundef 45, i32 noundef %13) br label %15 15: ; preds = %10, %2 %16 = load i64, ptr %5, align 8 %17 = icmp sge i64 %16, 10 br i1 %17, label %18, label %23 18: ; preds = %15 %19 = load i64, ptr %5, align 8 %20 = sdiv i64 %19, 10 %21 = trunc i64 %20 to i32 %22 = load i32, ptr %4, align 4 call void @ft_putnbr_fd(i32 noundef %21, i32 noundef %22) br label %23 23: ; preds = %18, %15 %24 = load i64, ptr %5, align 8 %25 = srem i64 %24, 10 %26 = add nsw i64 %25, 48 %27 = load i32, ptr %4, align 4 %28 = call i32 @ft_putchar_fd(i64 noundef %26, i32 noundef %27) ret void } declare i32 @ft_putchar_fd(i64 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/tmpe6m7u6pf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putnbr_fd(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 store i64 %7, ptr %5, align 8 %8 = load i64, ptr %5, align 8 %9 = icmp slt i64 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load i64, ptr %5, align 8 %12 = mul nsw i64 %11, -1 store i64 %12, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = call i32 @ft_putchar_fd(i64 noundef 45, i32 noundef %13) br label %15 15: ; preds = %10, %2 %16 = load i64, ptr %5, align 8 %17 = icmp sge i64 %16, 10 br i1 %17, label %18, label %23 18: ; preds = %15 %19 = load i64, ptr %5, align 8 %20 = sdiv i64 %19, 10 %21 = trunc i64 %20 to i32 %22 = load i32, ptr %4, align 4 call void @ft_putnbr_fd(i32 noundef %21, i32 noundef %22) br label %23 23: ; preds = %18, %15 %24 = load i64, ptr %5, align 8 %25 = srem i64 %24, 10 %26 = add nsw i64 %25, 48 %27 = load i32, ptr %4, align 4 %28 = call i32 @ft_putchar_fd(i64 noundef %26, i32 noundef %27) ret void } declare i32 @ft_putchar_fd(i64 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/tmp142gcc4t.c' source_filename = "/tmp/tmp142gcc4t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.in_addr, i32 } %struct.in_addr = type { i32 } %struct.hostent = type { ptr } @.str = private unnamed_addr constant [5 x i8] c"tejo\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [8 x i8] c"Hello!\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"echo: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [128 x i8], align 16 store i32 0, ptr %1, align 4 %9 = call ptr @gethostbyname(ptr noundef @.str) store ptr %9, ptr %2, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %0 %12 = call i32 @exit(i32 noundef 1) #4 unreachable 13: ; preds = %0 %14 = load ptr, ptr %2, align 8 %15 = getelementptr inbounds %struct.hostent, ptr %14, i32 0, i32 0 %16 = load ptr, ptr %15, align 8 %17 = getelementptr inbounds i64, ptr %16, i64 0 %18 = load i64, ptr %17, align 8 %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %3, align 8 %20 = load i32, ptr @AF_INET, align 4 %21 = load i32, ptr @SOCK_DGRAM, align 4 %22 = call i32 @socket(i32 noundef %20, i32 noundef %21, i32 noundef 0) store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %27 25: ; preds = %13 %26 = call i32 @exit(i32 noundef 1) #4 unreachable 27: ; preds = %13 store i32 12, ptr %7, align 4 %28 = load i32, ptr %7, align 4 %29 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef %28) %30 = load i32, ptr @AF_INET, align 4 %31 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2 store i32 %30, ptr %31, align 4 %32 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1 %33 = load ptr, ptr %3, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %33, i64 4, i1 false) %34 = call i32 @htons(i32 noundef 58001) %35 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 store i32 %34, ptr %35, align 4 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %7, align 4 %38 = call i32 @sendto(i32 noundef %36, ptr noundef @.str.1, i32 noundef 7, i32 noundef 0, ptr noundef %4, i32 noundef %37) store i32 %38, ptr %6, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp eq i32 %39, -1 br i1 %40, label %41, label %43 41: ; preds = %27 %42 = call i32 @exit(i32 noundef 1) #4 unreachable 43: ; preds = %27 %44 = load i32, ptr %5, align 4 %45 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %46 = call i32 @recvfrom(i32 noundef %44, ptr noundef %45, i32 noundef 128, i32 noundef 0, ptr noundef %4, ptr noundef %7) store i32 %46, ptr %6, align 4 %47 = load i32, ptr %6, align 4 %48 = icmp eq i32 %47, -1 br i1 %48, label %49, label %51 49: ; preds = %43 %50 = call i32 @exit(i32 noundef 1) #4 unreachable 51: ; preds = %43 %52 = call i32 @write(i32 noundef 1, ptr noundef @.str.2, i32 noundef 6) %53 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %54 = load i32, ptr %6, align 4 %55 = call i32 @write(i32 noundef 1, ptr noundef %53, i32 noundef %54) %56 = load i32, ptr %5, align 4 %57 = call i32 @close(i32 noundef %56) %58 = call i32 @exit(i32 noundef 0) #4 unreachable } declare ptr @gethostbyname(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i32 @htons(i32 noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { 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/tmp142gcc4t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.in_addr, i32 } %struct.in_addr = type { i32 } %struct.hostent = type { ptr } @.str = private unnamed_addr constant [5 x i8] c"tejo\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [8 x i8] c"Hello!\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"echo: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [128 x i8], align 16 store i32 0, ptr %1, align 4 %9 = call ptr @gethostbyname(ptr noundef @.str) store ptr %9, ptr %2, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %0 %12 = call i32 @exit(i32 noundef 1) #4 unreachable 13: ; preds = %0 %14 = load ptr, ptr %2, align 8 %15 = getelementptr inbounds %struct.hostent, ptr %14, i32 0, i32 0 %16 = load ptr, ptr %15, align 8 %17 = getelementptr inbounds i64, ptr %16, i64 0 %18 = load i64, ptr %17, align 8 %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %3, align 8 %20 = load i32, ptr @AF_INET, align 4 %21 = load i32, ptr @SOCK_DGRAM, align 4 %22 = call i32 @socket(i32 noundef %20, i32 noundef %21, i32 noundef 0) store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %27 25: ; preds = %13 %26 = call i32 @exit(i32 noundef 1) #4 unreachable 27: ; preds = %13 store i32 12, ptr %7, align 4 %28 = load i32, ptr %7, align 4 %29 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef %28) %30 = load i32, ptr @AF_INET, align 4 %31 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2 store i32 %30, ptr %31, align 4 %32 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1 %33 = load ptr, ptr %3, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %33, i64 4, i1 false) %34 = call i32 @htons(i32 noundef 58001) %35 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 store i32 %34, ptr %35, align 4 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %7, align 4 %38 = call i32 @sendto(i32 noundef %36, ptr noundef @.str.1, i32 noundef 7, i32 noundef 0, ptr noundef %4, i32 noundef %37) store i32 %38, ptr %6, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp eq i32 %39, -1 br i1 %40, label %41, label %43 41: ; preds = %27 %42 = call i32 @exit(i32 noundef 1) #4 unreachable 43: ; preds = %27 %44 = load i32, ptr %5, align 4 %45 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %46 = call i32 @recvfrom(i32 noundef %44, ptr noundef %45, i32 noundef 128, i32 noundef 0, ptr noundef %4, ptr noundef %7) store i32 %46, ptr %6, align 4 %47 = load i32, ptr %6, align 4 %48 = icmp eq i32 %47, -1 br i1 %48, label %49, label %51 49: ; preds = %43 %50 = call i32 @exit(i32 noundef 1) #4 unreachable 51: ; preds = %43 %52 = call i32 @write(i32 noundef 1, ptr noundef @.str.2, i32 noundef 6) %53 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %54 = load i32, ptr %6, align 4 %55 = call i32 @write(i32 noundef 1, ptr noundef %53, i32 noundef %54) %56 = load i32, ptr %5, align 4 %57 = call i32 @close(i32 noundef %56) %58 = call i32 @exit(i32 noundef 0) #4 unreachable } declare ptr @gethostbyname(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i32 @htons(i32 noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { 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/tmpchhr_buf.c' source_filename = "/tmp/tmpchhr_buf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @changePosL(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, 254 br i1 %6, label %7, label %8 7: ; preds = %2 store i32 254, ptr %3, align 4 br label %8 8: ; preds = %7, %2 %9 = load i32, ptr %4, align 4 %10 = sitofp i32 %9 to double %11 = fdiv double %10, 0x3FEC200000000000 %12 = fptosi double %11 to i32 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = call i32 @dxl_write_word(i32 noundef %13, i32 noundef 30, i32 noundef %14) %16 = call i32 (...) @PrintErrorCode() ret void } declare i32 @dxl_write_word(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @PrintErrorCode(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpchhr_buf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @changePosL(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, 254 br i1 %6, label %7, label %8 7: ; preds = %2 store i32 254, ptr %3, align 4 br label %8 8: ; preds = %7, %2 %9 = load i32, ptr %4, align 4 %10 = sitofp i32 %9 to double %11 = fdiv double %10, 0x3FEC200000000000 %12 = fptosi double %11 to i32 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = call i32 @dxl_write_word(i32 noundef %13, i32 noundef 30, i32 noundef %14) %16 = call i32 (...) @PrintErrorCode() ret void } declare i32 @dxl_write_word(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @PrintErrorCode(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptsb2z6p9.c' source_filename = "/tmp/tmptsb2z6p9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptsb2z6p9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvz2h16b3.c' source_filename = "/tmp/tmpvz2h16b3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"file ended unexpectedly\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_ckDataSize(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [8 x i64], align 16 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [8 x i64], ptr %3, i64 0, i64 0 %5 = load ptr, ptr %2, align 8 %6 = call i32 @fread(ptr noundef %4, i32 noundef 1, i32 noundef 8, ptr noundef %5) %7 = icmp slt i32 %6, 8 br i1 %7, label %8, label %11 8: ; preds = %1 %9 = call i32 @printf(ptr noundef @.str) %10 = call i32 @exit(i32 noundef 1) #3 unreachable 11: ; preds = %1 %12 = getelementptr inbounds [8 x i64], ptr %3, i64 0, i64 0 %13 = load i64, ptr %12, align 16 %14 = trunc i64 %13 to i32 %15 = shl i32 %14, 56 %16 = getelementptr inbounds [8 x i64], ptr %3, i64 0, i64 1 %17 = load i64, ptr %16, align 8 %18 = trunc i64 %17 to i32 %19 = shl i32 %18, 48 %20 = or i32 %15, %19 %21 = getelementptr inbounds [8 x i64], ptr %3, i64 0, i64 2 %22 = load i64, ptr %21, align 16 %23 = trunc i64 %22 to i32 %24 = shl i32 %23, 40 %25 = or i32 %20, %24 %26 = getelementptr inbounds [8 x i64], ptr %3, i64 0, i64 3 %27 = load i64, ptr %26, align 8 %28 = trunc i64 %27 to i32 %29 = shl i32 %28, 32 %30 = or i32 %25, %29 %31 = getelementptr inbounds [8 x i64], ptr %3, i64 0, i64 4 %32 = load i64, ptr %31, align 16 %33 = trunc i64 %32 to i32 %34 = shl i32 %33, 24 %35 = or i32 %30, %34 %36 = getelementptr inbounds [8 x i64], ptr %3, i64 0, i64 5 %37 = load i64, ptr %36, align 8 %38 = trunc i64 %37 to i32 %39 = shl i32 %38, 16 %40 = or i32 %35, %39 %41 = getelementptr inbounds [8 x i64], ptr %3, i64 0, i64 6 %42 = load i64, ptr %41, align 16 %43 = trunc i64 %42 to i32 %44 = shl i32 %43, 8 %45 = or i32 %40, %44 %46 = getelementptr inbounds [8 x i64], ptr %3, i64 0, i64 7 %47 = load i64, ptr %46, align 8 %48 = trunc i64 %47 to i32 %49 = or i32 %45, %48 ret i32 %49 } declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvz2h16b3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"file ended unexpectedly\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_ckDataSize(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [8 x i64], align 16 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [8 x i64], ptr %3, i64 0, i64 0 %5 = load ptr, ptr %2, align 8 %6 = call i32 @fread(ptr noundef %4, i32 noundef 1, i32 noundef 8, ptr noundef %5) %7 = icmp slt i32 %6, 8 br i1 %7, label %8, label %11 8: ; preds = %1 %9 = call i32 @printf(ptr noundef @.str) %10 = call i32 @exit(i32 noundef 1) #3 unreachable 11: ; preds = %1 %12 = getelementptr inbounds [8 x i64], ptr %3, i64 0, i64 0 %13 = load i64, ptr %12, align 16 %14 = trunc i64 %13 to i32 %15 = shl i32 %14, 56 %16 = getelementptr inbounds [8 x i64], ptr %3, i64 0, i64 1 %17 = load i64, ptr %16, align 8 %18 = trunc i64 %17 to i32 %19 = shl i32 %18, 48 %20 = or i32 %15, %19 %21 = getelementptr inbounds [8 x i64], ptr %3, i64 0, i64 2 %22 = load i64, ptr %21, align 16 %23 = trunc i64 %22 to i32 %24 = shl i32 %23, 40 %25 = or i32 %20, %24 %26 = getelementptr inbounds [8 x i64], ptr %3, i64 0, i64 3 %27 = load i64, ptr %26, align 8 %28 = trunc i64 %27 to i32 %29 = shl i32 %28, 32 %30 = or i32 %25, %29 %31 = getelementptr inbounds [8 x i64], ptr %3, i64 0, i64 4 %32 = load i64, ptr %31, align 16 %33 = trunc i64 %32 to i32 %34 = shl i32 %33, 24 %35 = or i32 %30, %34 %36 = getelementptr inbounds [8 x i64], ptr %3, i64 0, i64 5 %37 = load i64, ptr %36, align 8 %38 = trunc i64 %37 to i32 %39 = shl i32 %38, 16 %40 = or i32 %35, %39 %41 = getelementptr inbounds [8 x i64], ptr %3, i64 0, i64 6 %42 = load i64, ptr %41, align 16 %43 = trunc i64 %42 to i32 %44 = shl i32 %43, 8 %45 = or i32 %40, %44 %46 = getelementptr inbounds [8 x i64], ptr %3, i64 0, i64 7 %47 = load i64, ptr %46, align 8 %48 = trunc i64 %47 to i32 %49 = or i32 %45, %48 ret i32 %49 } declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbxuw2moc.c' source_filename = "/tmp/tmpbxuw2moc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @x_rcvcrc(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i64 0, ptr %5, align 8 store i64 0, ptr %6, align 8 br label %7 7: ; preds = %19, %2 %8 = load i64, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = add nsw i32 %9, 2 %11 = sext i32 %10 to i64 %12 = icmp ult i64 %8, %11 br i1 %12, label %13, label %22 13: ; preds = %7 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i64, ptr %14, i32 1 store ptr %15, ptr %3, align 8 %16 = load i64, ptr %14, align 8 %17 = trunc i64 %16 to i32 %18 = call i32 @crcupdate(i32 noundef %17, ptr noundef %6) br label %19 19: ; preds = %13 %20 = load i64, ptr %5, align 8 %21 = add i64 %20, 1 store i64 %21, ptr %5, align 8 br label %7, !llvm.loop !6 22: ; preds = %7 %23 = load i64, ptr %6, align 8 ret i64 %23 } declare i32 @crcupdate(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/tmpbxuw2moc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @x_rcvcrc(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i64 0, ptr %5, align 8 store i64 0, ptr %6, align 8 %7 = load i64, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %8, 2 %10 = sext i32 %9 to i64 %11 = icmp ult i64 %7, %10 br i1 %11, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %18 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds i64, ptr %13, i32 1 store ptr %14, ptr %3, align 8 %15 = load i64, ptr %13, align 8 %16 = trunc i64 %15 to i32 %17 = call i32 @crcupdate(i32 noundef %16, ptr noundef %6) br label %18 18: ; preds = %12 %19 = load i64, ptr %5, align 8 %20 = add i64 %19, 1 store i64 %20, ptr %5, align 8 %21 = load i64, ptr %5, align 8 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 2 %24 = sext i32 %23 to i64 %25 = icmp ult i64 %21, %24 br i1 %25, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %26 26: ; preds = %._crit_edge, %2 %27 = load i64, ptr %6, align 8 ret i64 %27 } declare i32 @crcupdate(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/tmp469bes6s.c' source_filename = "/tmp/tmp469bes6s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [2 x i8] c"f\00", align 1 @EOF = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"%s: invalid option -%c\0A\00", align 1 @optopt = dso_local global i32 0, align 4 @optind = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [28 x i8] c"Usage: %s [-f] source dest\0A\00", align 1 @.str.3 = private unnamed_addr constant [44 x i8] c"multiple targets and %s is not a directory\0A\00", align 1 @PATH_MAX = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca %struct.stat, align 4 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 br label %12 12: ; preds = %31, %2 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %5, align 8 %15 = call i32 @getopt(i32 noundef %13, ptr noundef %14, ptr noundef @.str) store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr @EOF, align 4 %18 = icmp eq i32 %16, %17 br i1 %18, label %19, label %20 19: ; preds = %12 br label %32 20: ; preds = %12 %21 = load i32, ptr %6, align 4 switch i32 %21, label %30 [ i32 102, label %22 i32 63, label %23 ] 22: ; preds = %20 store i32 1, ptr %7, align 4 br label %30 23: ; preds = %20 %24 = load i32, ptr @stderr, align 4 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 0 %27 = load ptr, ptr %26, align 8 %28 = load i32, ptr @optopt, align 4 %29 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.1, ptr noundef %27, i32 noundef %28) store i32 1, ptr %3, align 4 br label %136 30: ; preds = %20, %22 br label %31 31: ; preds = %30 br i1 true, label %12, label %32 32: ; preds = %31, %19 %33 = load i32, ptr @optind, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp eq i32 %33, %34 br i1 %35, label %36, label %42 36: ; preds = %32 %37 = load i32, ptr @stderr, align 4 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 0 %40 = load ptr, ptr %39, align 8 %41 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.2, ptr noundef %40) store i32 1, ptr %3, align 4 br label %136 42: ; preds = %32 %43 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 4) %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %4, align 4 %46 = sub nsw i32 %45, 1 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds ptr, ptr %44, i64 %47 %49 = load ptr, ptr %48, align 8 %50 = call i64 @stat(ptr noundef %49, ptr noundef %9) %51 = icmp slt i64 %50, 0 br i1 %51, label %52, label %72 52: ; preds = %42 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr @optind, align 4 %55 = sub nsw i32 %53, %54 %56 = icmp sgt i32 %55, 2 br i1 %56, label %57, label %72 57: ; preds = %52 %58 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0 %59 = load i32, ptr %58, align 4 %60 = call i64 @S_ISDIR(i32 noundef %59) %61 = icmp ne i64 %60, 0 br i1 %61, label %71, label %62 62: ; preds = %57 %63 = load i32, ptr @stderr, align 4 %64 = load ptr, ptr %5, align 8 %65 = load i32, ptr %4, align 4 %66 = sub nsw i32 %65, 1 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds ptr, ptr %64, i64 %67 %69 = load ptr, ptr %68, align 8 %70 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %63, ptr noundef @.str.3, ptr noundef %69) store i32 1, ptr %3, align 4 br label %136 71: ; preds = %57 br label %72 72: ; preds = %71, %52, %42 %73 = load i32, ptr @optind, align 4 store i32 %73, ptr %6, align 4 br label %74 74: ; preds = %132, %72 %75 = load i32, ptr %6, align 4 %76 = load i32, ptr %4, align 4 %77 = sub nsw i32 %76, 1 %78 = icmp slt i32 %75, %77 br i1 %78, label %79, label %135 79: ; preds = %74 %80 = load i32, ptr @PATH_MAX, align 4 %81 = zext i32 %80 to i64 %82 = call ptr @llvm.stacksave() store ptr %82, ptr %10, align 8 %83 = alloca i8, i64 %81, align 16 store i64 %81, ptr %11, align 8 %84 = load ptr, ptr %5, align 8 %85 = load i32, ptr %6, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds ptr, ptr %84, i64 %86 %88 = load ptr, ptr %87, align 8 %89 = call ptr @strrchr(ptr noundef %88, i8 noundef signext 47) store ptr %89, ptr %8, align 8 %90 = load ptr, ptr %8, align 8 %91 = getelementptr inbounds i8, ptr %90, i32 1 store ptr %91, ptr %8, align 8 %92 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0 %93 = load i32, ptr %92, align 4 %94 = call i64 @S_ISDIR(i32 noundef %93) %95 = icmp ne i64 %94, 0 br i1 %95, label %96, label %106 96: ; preds = %79 %97 = load i32, ptr @PATH_MAX, align 4 %98 = load ptr, ptr %5, align 8 %99 = load i32, ptr %4, align 4 %100 = sub nsw i32 %99, 1 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds ptr, ptr %98, i64 %101 %103 = load ptr, ptr %102, align 8 %104 = load ptr, ptr %8, align 8 %105 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %83, i32 noundef %97, ptr noundef @.str.4, ptr noundef %103, ptr noundef %104) br label %115 106: ; preds = %79 %107 = load i32, ptr @PATH_MAX, align 4 %108 = load ptr, ptr %5, align 8 %109 = load i32, ptr %4, align 4 %110 = sub nsw i32 %109, 1 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds ptr, ptr %108, i64 %111 %113 = load ptr, ptr %112, align 8 %114 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %83, i32 noundef %107, ptr noundef @.str.5, ptr noundef %113) br label %115 115: ; preds = %106, %96 %116 = load i32, ptr %7, align 4 %117 = icmp ne i32 %116, 0 br i1 %117, label %118, label %120 118: ; preds = %115 %119 = call i32 @unlink(ptr noundef %83) br label %120 120: ; preds = %118, %115 %121 = load ptr, ptr %5, align 8 %122 = load i32, ptr %6, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds ptr, ptr %121, i64 %123 %125 = load ptr, ptr %124, align 8 %126 = call i32 @rename(ptr noundef %125, ptr noundef %83) %127 = icmp eq i32 %126, -1 br i1 %127, label %128, label %130 128: ; preds = %120 %129 = call i32 @perror(ptr noundef %83) br label %130 130: ; preds = %128, %120 %131 = load ptr, ptr %10, align 8 call void @llvm.stackrestore(ptr %131) br label %132 132: ; preds = %130 %133 = load i32, ptr %6, align 4 %134 = add nsw i32 %133, 1 store i32 %134, ptr %6, align 4 br label %74, !llvm.loop !6 135: ; preds = %74 store i32 0, ptr %3, align 4 br label %136 136: ; preds = %135, %62, %36, %23 %137 = load i32, ptr %3, align 4 ret i32 %137 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @stat(ptr noundef, ptr noundef) #1 declare i64 @S_ISDIR(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @rename(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp469bes6s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [2 x i8] c"f\00", align 1 @EOF = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"%s: invalid option -%c\0A\00", align 1 @optopt = dso_local global i32 0, align 4 @optind = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [28 x i8] c"Usage: %s [-f] source dest\0A\00", align 1 @.str.3 = private unnamed_addr constant [44 x i8] c"multiple targets and %s is not a directory\0A\00", align 1 @PATH_MAX = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca %struct.stat, align 4 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 br label %12 12: ; preds = %31, %2 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %5, align 8 %15 = call i32 @getopt(i32 noundef %13, ptr noundef %14, ptr noundef @.str) store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr @EOF, align 4 %18 = icmp eq i32 %16, %17 br i1 %18, label %19, label %20 19: ; preds = %12 br label %32 20: ; preds = %12 %21 = load i32, ptr %6, align 4 switch i32 %21, label %30 [ i32 102, label %22 i32 63, label %23 ] 22: ; preds = %20 store i32 1, ptr %7, align 4 br label %30 23: ; preds = %20 %24 = load i32, ptr @stderr, align 4 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 0 %27 = load ptr, ptr %26, align 8 %28 = load i32, ptr @optopt, align 4 %29 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.1, ptr noundef %27, i32 noundef %28) store i32 1, ptr %3, align 4 br label %139 30: ; preds = %22, %20 br label %31 31: ; preds = %30 br i1 true, label %12, label %.loopexit .loopexit: ; preds = %31 br label %32 32: ; preds = %.loopexit, %19 %33 = load i32, ptr @optind, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp eq i32 %33, %34 br i1 %35, label %36, label %42 36: ; preds = %32 %37 = load i32, ptr @stderr, align 4 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 0 %40 = load ptr, ptr %39, align 8 %41 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.2, ptr noundef %40) store i32 1, ptr %3, align 4 br label %139 42: ; preds = %32 %43 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 4) %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %4, align 4 %46 = sub nsw i32 %45, 1 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds ptr, ptr %44, i64 %47 %49 = load ptr, ptr %48, align 8 %50 = call i64 @stat(ptr noundef %49, ptr noundef %9) %51 = icmp slt i64 %50, 0 br i1 %51, label %52, label %72 52: ; preds = %42 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr @optind, align 4 %55 = sub nsw i32 %53, %54 %56 = icmp sgt i32 %55, 2 br i1 %56, label %57, label %72 57: ; preds = %52 %58 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0 %59 = load i32, ptr %58, align 4 %60 = call i64 @S_ISDIR(i32 noundef %59) %61 = icmp ne i64 %60, 0 br i1 %61, label %71, label %62 62: ; preds = %57 %63 = load i32, ptr @stderr, align 4 %64 = load ptr, ptr %5, align 8 %65 = load i32, ptr %4, align 4 %66 = sub nsw i32 %65, 1 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds ptr, ptr %64, i64 %67 %69 = load ptr, ptr %68, align 8 %70 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %63, ptr noundef @.str.3, ptr noundef %69) store i32 1, ptr %3, align 4 br label %139 71: ; preds = %57 br label %72 72: ; preds = %71, %52, %42 %73 = load i32, ptr @optind, align 4 store i32 %73, ptr %6, align 4 %74 = load i32, ptr %6, align 4 %75 = load i32, ptr %4, align 4 %76 = sub nsw i32 %75, 1 %77 = icmp slt i32 %74, %76 br i1 %77, label %.lr.ph, label %138 .lr.ph: ; preds = %72 br label %78 78: ; preds = %.lr.ph, %131 %79 = load i32, ptr @PATH_MAX, align 4 %80 = zext i32 %79 to i64 %81 = call ptr @llvm.stacksave() store ptr %81, ptr %10, align 8 %82 = alloca i8, i64 %80, align 16 store i64 %80, ptr %11, align 8 %83 = load ptr, ptr %5, align 8 %84 = load i32, ptr %6, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds ptr, ptr %83, i64 %85 %87 = load ptr, ptr %86, align 8 %88 = call ptr @strrchr(ptr noundef %87, i8 noundef signext 47) store ptr %88, ptr %8, align 8 %89 = load ptr, ptr %8, align 8 %90 = getelementptr inbounds i8, ptr %89, i32 1 store ptr %90, ptr %8, align 8 %91 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0 %92 = load i32, ptr %91, align 4 %93 = call i64 @S_ISDIR(i32 noundef %92) %94 = icmp ne i64 %93, 0 br i1 %94, label %95, label %105 95: ; preds = %78 %96 = load i32, ptr @PATH_MAX, align 4 %97 = load ptr, ptr %5, align 8 %98 = load i32, ptr %4, align 4 %99 = sub nsw i32 %98, 1 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds ptr, ptr %97, i64 %100 %102 = load ptr, ptr %101, align 8 %103 = load ptr, ptr %8, align 8 %104 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %82, i32 noundef %96, ptr noundef @.str.4, ptr noundef %102, ptr noundef %103) br label %114 105: ; preds = %78 %106 = load i32, ptr @PATH_MAX, align 4 %107 = load ptr, ptr %5, align 8 %108 = load i32, ptr %4, align 4 %109 = sub nsw i32 %108, 1 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds ptr, ptr %107, i64 %110 %112 = load ptr, ptr %111, align 8 %113 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %82, i32 noundef %106, ptr noundef @.str.5, ptr noundef %112) br label %114 114: ; preds = %105, %95 %115 = load i32, ptr %7, align 4 %116 = icmp ne i32 %115, 0 br i1 %116, label %117, label %119 117: ; preds = %114 %118 = call i32 @unlink(ptr noundef %82) br label %119 119: ; preds = %117, %114 %120 = load ptr, ptr %5, align 8 %121 = load i32, ptr %6, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds ptr, ptr %120, i64 %122 %124 = load ptr, ptr %123, align 8 %125 = call i32 @rename(ptr noundef %124, ptr noundef %82) %126 = icmp eq i32 %125, -1 br i1 %126, label %127, label %129 127: ; preds = %119 %128 = call i32 @perror(ptr noundef %82) br label %129 129: ; preds = %127, %119 %130 = load ptr, ptr %10, align 8 call void @llvm.stackrestore(ptr %130) br label %131 131: ; preds = %129 %132 = load i32, ptr %6, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %6, align 4 %134 = load i32, ptr %6, align 4 %135 = load i32, ptr %4, align 4 %136 = sub nsw i32 %135, 1 %137 = icmp slt i32 %134, %136 br i1 %137, label %78, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %131 br label %138 138: ; preds = %._crit_edge, %72 store i32 0, ptr %3, align 4 br label %139 139: ; preds = %138, %62, %36, %23 %140 = load i32, ptr %3, align 4 ret i32 %140 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @stat(ptr noundef, ptr noundef) #1 declare i64 @S_ISDIR(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @rename(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp91qpikpk.c' source_filename = "/tmp/tmp91qpikpk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[INFO] Board: %d x %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c" GAME BOARD\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c" GAME BOARD\0A\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c" GAME BOARD\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c" \00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"+---\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"+\0A\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c" %d \00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c" %d \00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"| \00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"|\0A\00", align 1 @.str.11 = private unnamed_addr constant [8 x i8] c"+\0A \00", align 1 @.str.12 = private unnamed_addr constant [6 x i8] c" %c \00", align 1 @.str.13 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @board_print_raw() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = call i32 (...) @board_get_size() store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10) %12 = load i32, ptr %6, align 4 %13 = icmp eq i32 %12, 3 br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %16 16: ; preds = %14, %0 %17 = load i32, ptr %6, align 4 %18 = icmp eq i32 %17, 6 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %21 21: ; preds = %19, %16 %22 = load i32, ptr %6, align 4 %23 = icmp eq i32 %22, 12 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %26 26: ; preds = %24, %21 store i32 0, ptr %1, align 4 br label %27 27: ; preds = %69, %26 %28 = load i32, ptr %1, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %72 31: ; preds = %27 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %3, align 4 br label %33 33: ; preds = %39, %31 %34 = load i32, ptr %3, align 4 %35 = load i32, ptr %6, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %42 37: ; preds = %33 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %39 39: ; preds = %37 %40 = load i32, ptr %3, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %3, align 4 br label %33, !llvm.loop !6 42: ; preds = %33 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %44 = load i32, ptr %1, align 4 %45 = icmp sgt i32 %44, 8 br i1 %45, label %46, label %50 46: ; preds = %42 %47 = load i32, ptr %1, align 4 %48 = add nsw i32 %47, 1 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %48) br label %54 50: ; preds = %42 %51 = load i32, ptr %1, align 4 %52 = add nsw i32 %51, 1 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %52) br label %54 54: ; preds = %50, %46 store i32 0, ptr %2, align 4 br label %55 55: ; preds = %64, %54 %56 = load i32, ptr %2, align 4 %57 = load i32, ptr %6, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %59, label %67 59: ; preds = %55 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %61 = load i32, ptr %1, align 4 %62 = load i32, ptr %2, align 4 %63 = call i32 @print_char_board(i32 noundef %61, i32 noundef %62) br label %64 64: ; preds = %59 %65 = load i32, ptr %2, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %2, align 4 br label %55, !llvm.loop !8 67: ; preds = %55 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %69 69: ; preds = %67 %70 = load i32, ptr %1, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %1, align 4 br label %27, !llvm.loop !9 72: ; preds = %27 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %4, align 4 br label %74 74: ; preds = %80, %72 %75 = load i32, ptr %4, align 4 %76 = load i32, ptr %6, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %78, label %83 78: ; preds = %74 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %80 80: ; preds = %78 %81 = load i32, ptr %4, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %4, align 4 br label %74, !llvm.loop !10 83: ; preds = %74 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) store i8 65, ptr %7, align 1 store i32 0, ptr %5, align 4 br label %85 85: ; preds = %97, %83 %86 = load i32, ptr %5, align 4 %87 = load i32, ptr %6, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %89, label %100 89: ; preds = %85 %90 = load i8, ptr %7, align 1 %91 = sext i8 %90 to i32 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %91) %93 = load i8, ptr %7, align 1 %94 = sext i8 %93 to i32 %95 = add nsw i32 %94, 1 %96 = trunc i32 %95 to i8 store i8 %96, ptr %7, align 1 br label %97 97: ; preds = %89 %98 = load i32, ptr %5, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %5, align 4 br label %85, !llvm.loop !11 100: ; preds = %85 %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) ret void } declare i32 @board_get_size(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @print_char_board(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp91qpikpk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[INFO] Board: %d x %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c" GAME BOARD\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c" GAME BOARD\0A\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c" GAME BOARD\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c" \00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"+---\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"+\0A\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c" %d \00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c" %d \00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"| \00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"|\0A\00", align 1 @.str.11 = private unnamed_addr constant [8 x i8] c"+\0A \00", align 1 @.str.12 = private unnamed_addr constant [6 x i8] c" %c \00", align 1 @.str.13 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @board_print_raw() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = call i32 (...) @board_get_size() store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10) %12 = load i32, ptr %6, align 4 %13 = icmp eq i32 %12, 3 br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %16 16: ; preds = %14, %0 %17 = load i32, ptr %6, align 4 %18 = icmp eq i32 %17, 6 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %21 21: ; preds = %19, %16 %22 = load i32, ptr %6, align 4 %23 = icmp eq i32 %22, 12 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %26 26: ; preds = %24, %21 store i32 0, ptr %1, align 4 %27 = load i32, ptr %1, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph5, label %78 .lr.ph5: ; preds = %26 br label %30 30: ; preds = %.lr.ph5, %72 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %3, align 4 %32 = load i32, ptr %3, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph, label %43 .lr.ph: ; preds = %30 br label %35 35: ; preds = %.lr.ph, %37 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %37 37: ; preds = %35 %38 = load i32, ptr %3, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %3, align 4 %40 = load i32, ptr %3, align 4 %41 = load i32, ptr %6, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %30 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %45 = load i32, ptr %1, align 4 %46 = icmp sgt i32 %45, 8 br i1 %46, label %47, label %51 47: ; preds = %43 %48 = load i32, ptr %1, align 4 %49 = add nsw i32 %48, 1 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %49) br label %55 51: ; preds = %43 %52 = load i32, ptr %1, align 4 %53 = add nsw i32 %52, 1 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %53) br label %55 55: ; preds = %51, %47 store i32 0, ptr %2, align 4 %56 = load i32, ptr %2, align 4 %57 = load i32, ptr %6, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %.lr.ph2, label %70 .lr.ph2: ; preds = %55 br label %59 59: ; preds = %.lr.ph2, %64 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %61 = load i32, ptr %1, align 4 %62 = load i32, ptr %2, align 4 %63 = call i32 @print_char_board(i32 noundef %61, i32 noundef %62) br label %64 64: ; preds = %59 %65 = load i32, ptr %2, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %2, align 4 %67 = load i32, ptr %2, align 4 %68 = load i32, ptr %6, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %59, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %64 br label %70 70: ; preds = %._crit_edge3, %55 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %72 72: ; preds = %70 %73 = load i32, ptr %1, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %1, align 4 %75 = load i32, ptr %1, align 4 %76 = load i32, ptr %6, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %30, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %72 br label %78 78: ; preds = %._crit_edge6, %26 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %4, align 4 %80 = load i32, ptr %4, align 4 %81 = load i32, ptr %6, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %.lr.ph8, label %91 .lr.ph8: ; preds = %78 br label %83 83: ; preds = %.lr.ph8, %85 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %85 85: ; preds = %83 %86 = load i32, ptr %4, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %4, align 4 %88 = load i32, ptr %4, align 4 %89 = load i32, ptr %6, align 4 %90 = icmp slt i32 %88, %89 br i1 %90, label %83, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %85 br label %91 91: ; preds = %._crit_edge9, %78 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) store i8 65, ptr %7, align 1 store i32 0, ptr %5, align 4 %93 = load i32, ptr %5, align 4 %94 = load i32, ptr %6, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %.lr.ph11, label %110 .lr.ph11: ; preds = %91 br label %96 96: ; preds = %.lr.ph11, %104 %97 = load i8, ptr %7, align 1 %98 = sext i8 %97 to i32 %99 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %98) %100 = load i8, ptr %7, align 1 %101 = sext i8 %100 to i32 %102 = add nsw i32 %101, 1 %103 = trunc i32 %102 to i8 store i8 %103, ptr %7, align 1 br label %104 104: ; preds = %96 %105 = load i32, ptr %5, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %5, align 4 %107 = load i32, ptr %5, align 4 %108 = load i32, ptr %6, align 4 %109 = icmp slt i32 %107, %108 br i1 %109, label %96, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %104 br label %110 110: ; preds = %._crit_edge12, %91 %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) ret void } declare i32 @board_get_size(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @print_char_board(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpalsunco0.c' source_filename = "/tmp/tmpalsunco0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"sort\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"This is a test.\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Hello, world.\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"My dog has fleas.\0A\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"This program is great.\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"One fish, two fish.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(ptr noundef %4, ptr noundef @.str.2) %6 = load ptr, ptr %2, align 8 %7 = call i32 @fprintf(ptr noundef %6, ptr noundef @.str.3) %8 = load ptr, ptr %2, align 8 %9 = call i32 @fprintf(ptr noundef %8, ptr noundef @.str.4) %10 = load ptr, ptr %2, align 8 %11 = call i32 @fprintf(ptr noundef %10, ptr noundef @.str.5) %12 = load ptr, ptr %2, align 8 %13 = call i32 @fprintf(ptr noundef %12, ptr noundef @.str.6) %14 = load ptr, ptr %2, align 8 %15 = call i32 @pclose(ptr noundef %14) ret i32 %15 } declare ptr @popen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef) #1 declare i32 @pclose(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/tmpalsunco0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"sort\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"This is a test.\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Hello, world.\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"My dog has fleas.\0A\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"This program is great.\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"One fish, two fish.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(ptr noundef %4, ptr noundef @.str.2) %6 = load ptr, ptr %2, align 8 %7 = call i32 @fprintf(ptr noundef %6, ptr noundef @.str.3) %8 = load ptr, ptr %2, align 8 %9 = call i32 @fprintf(ptr noundef %8, ptr noundef @.str.4) %10 = load ptr, ptr %2, align 8 %11 = call i32 @fprintf(ptr noundef %10, ptr noundef @.str.5) %12 = load ptr, ptr %2, align 8 %13 = call i32 @fprintf(ptr noundef %12, ptr noundef @.str.6) %14 = load ptr, ptr %2, align 8 %15 = call i32 @pclose(ptr noundef %14) ret i32 %15 } declare ptr @popen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef) #1 declare i32 @pclose(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/tmpmnqr4a8t.c' source_filename = "/tmp/tmpmnqr4a8t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_MONOTONIC = 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/tmpmnqr4a8t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_MONOTONIC = 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/tmp1ca5pjbo.c' source_filename = "/tmp/tmp1ca5pjbo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @construct_main_ap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @construct_vap(ptr noundef %5, i32 noundef %6, i32 noundef 0, i32 noundef 0) ret i32 %7 } declare i32 @construct_vap(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1ca5pjbo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @construct_main_ap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @construct_vap(ptr noundef %5, i32 noundef %6, i32 noundef 0, i32 noundef 0) ret i32 %7 } declare i32 @construct_vap(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqgls1ba8.c' source_filename = "/tmp/tmpqgls1ba8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Sizeof(int = %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 @printf(ptr noundef @.str, i32 noundef 4) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqgls1ba8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Sizeof(int = %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 @printf(ptr noundef @.str, i32 noundef 4) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7acvidjl.c' source_filename = "/tmp/tmp7acvidjl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"The sum is: %lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 3, ptr %4, align 4 store i32 2000000, ptr %5, align 4 store i64 2, ptr %6, align 8 br label %7 7: ; preds = %20, %0 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %23 11: ; preds = %7 %12 = load i32, ptr %4, align 4 %13 = call i64 @isPrime(i32 noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %20 15: ; preds = %11 %16 = load i64, ptr %6, align 8 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = add nsw i64 %16, %18 store i64 %19, ptr %6, align 8 br label %20 20: ; preds = %15, %11 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 2 store i32 %22, ptr %4, align 4 br label %7, !llvm.loop !6 23: ; preds = %7 %24 = load i64, ptr %6, align 8 %25 = call i32 @printf(ptr noundef @.str, i64 noundef %24) ret i32 0 } declare i64 @isPrime(i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7acvidjl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"The sum is: %lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 3, ptr %4, align 4 store i32 2000000, ptr %5, align 4 store i64 2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %19 %11 = load i32, ptr %4, align 4 %12 = call i64 @isPrime(i32 noundef %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %10 %15 = load i64, ptr %6, align 8 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = add nsw i64 %15, %17 store i64 %18, ptr %6, align 8 br label %19 19: ; preds = %14, %10 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 2 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %0 %26 = load i64, ptr %6, align 8 %27 = call i32 @printf(ptr noundef @.str, i64 noundef %26) ret i32 0 } declare i64 @isPrime(i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpe5q5iuro.c' source_filename = "/tmp/tmpe5q5iuro.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EXCEPTIONS_GetMessage(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = call i64 (...) @RTExceptions_IsInExceptionState() %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %45 10: ; preds = %2 %11 = load i32, ptr %4, align 4 store i32 %11, ptr %6, align 4 store i32 0, ptr %5, align 4 %12 = call i32 (...) @RTExceptions_GetExceptionBlock() %13 = call ptr @RTExceptions_GetTextBuffer(i32 noundef %12) store ptr %13, ptr %7, align 8 br label %14 14: ; preds = %24, %10 %15 = load ptr, ptr %7, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %22 17: ; preds = %14 %18 = load ptr, ptr %7, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br label %22 22: ; preds = %17, %14 %23 = phi i1 [ false, %14 ], [ %21, %17 ] br i1 %23, label %24, label %35 24: ; preds = %22 %25 = load ptr, ptr %7, align 8 %26 = load i8, ptr %25, align 1 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %5, align 4 %29 = zext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 store i8 %26, ptr %30, align 1 %31 = load i32, ptr %5, align 4 %32 = add i32 %31, 1 store i32 %32, ptr %5, align 4 %33 = load ptr, ptr %7, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 1 store ptr %34, ptr %7, align 8 br label %14, !llvm.loop !6 35: ; preds = %22 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %6, align 4 %38 = icmp ule i32 %36, %37 br i1 %38, label %39, label %44 39: ; preds = %35 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %5, align 4 %42 = zext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 0, ptr %43, align 1 br label %44 44: ; preds = %39, %35 br label %48 45: ; preds = %2 %46 = load ptr, ptr %3, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 0 store i8 0, ptr %47, align 1 br label %48 48: ; preds = %45, %44 ret void } declare i64 @RTExceptions_IsInExceptionState(...) #1 declare ptr @RTExceptions_GetTextBuffer(i32 noundef) #1 declare i32 @RTExceptions_GetExceptionBlock(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpe5q5iuro.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EXCEPTIONS_GetMessage(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = call i64 (...) @RTExceptions_IsInExceptionState() %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %45 10: ; preds = %2 %11 = load i32, ptr %4, align 4 store i32 %11, ptr %6, align 4 store i32 0, ptr %5, align 4 %12 = call i32 (...) @RTExceptions_GetExceptionBlock() %13 = call ptr @RTExceptions_GetTextBuffer(i32 noundef %12) store ptr %13, ptr %7, align 8 br label %14 14: ; preds = %24, %10 %15 = load ptr, ptr %7, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %22 17: ; preds = %14 %18 = load ptr, ptr %7, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br label %22 22: ; preds = %17, %14 %23 = phi i1 [ false, %14 ], [ %21, %17 ] br i1 %23, label %24, label %35 24: ; preds = %22 %25 = load ptr, ptr %7, align 8 %26 = load i8, ptr %25, align 1 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %5, align 4 %29 = zext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 store i8 %26, ptr %30, align 1 %31 = load i32, ptr %5, align 4 %32 = add i32 %31, 1 store i32 %32, ptr %5, align 4 %33 = load ptr, ptr %7, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 1 store ptr %34, ptr %7, align 8 br label %14, !llvm.loop !6 35: ; preds = %22 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %6, align 4 %38 = icmp ule i32 %36, %37 br i1 %38, label %39, label %44 39: ; preds = %35 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %5, align 4 %42 = zext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 0, ptr %43, align 1 br label %44 44: ; preds = %39, %35 br label %48 45: ; preds = %2 %46 = load ptr, ptr %3, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 0 store i8 0, ptr %47, align 1 br label %48 48: ; preds = %45, %44 ret void } declare i64 @RTExceptions_IsInExceptionState(...) #1 declare ptr @RTExceptions_GetTextBuffer(i32 noundef) #1 declare i32 @RTExceptions_GetExceptionBlock(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmphfmf5xsi.c' source_filename = "/tmp/tmphfmf5xsi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nio_gets(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 ptr @nio_getsn(ptr noundef %3, i32 noundef 50) ret ptr %4 } declare ptr @nio_getsn(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/tmphfmf5xsi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nio_gets(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 ptr @nio_getsn(ptr noundef %3, i32 noundef 50) ret ptr %4 } declare ptr @nio_getsn(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/tmpysoumnmr.c' source_filename = "/tmp/tmpysoumnmr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"255.255.255.252\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"255.255.255.248\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"255.255.255.240\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"255.255.255.224\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"255.255.255.192\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"255.255.255.128\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"255.255.255.0\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"255.255.254.0\00", align 1 @.str.8 = private unnamed_addr constant [14 x i8] c"255.255.252.0\00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c"255.255.248.0\00", align 1 @.str.10 = private unnamed_addr constant [14 x i8] c"255.255.240.0\00", align 1 @.str.11 = private unnamed_addr constant [14 x i8] c"255.255.224.0\00", align 1 @.str.12 = private unnamed_addr constant [14 x i8] c"255.255.192.0\00", align 1 @.str.13 = private unnamed_addr constant [14 x i8] c"255.255.128.0\00", align 1 @.str.14 = private unnamed_addr constant [12 x i8] c"255.255.0.0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_full_netmask(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 switch i32 %5, label %51 [ i32 30, label %6 i32 29, label %9 i32 28, label %12 i32 27, label %15 i32 26, label %18 i32 25, label %21 i32 24, label %24 i32 23, label %27 i32 22, label %30 i32 21, label %33 i32 20, label %36 i32 19, label %39 i32 18, label %42 i32 17, label %45 i32 16, label %48 ] 6: ; preds = %2 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strncpy(ptr noundef %7, ptr noundef @.str, i32 noundef 15) br label %51 9: ; preds = %2 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strncpy(ptr noundef %10, ptr noundef @.str.1, i32 noundef 15) br label %51 12: ; preds = %2 %13 = load ptr, ptr %3, align 8 %14 = call i32 @strncpy(ptr noundef %13, ptr noundef @.str.2, i32 noundef 15) br label %51 15: ; preds = %2 %16 = load ptr, ptr %3, align 8 %17 = call i32 @strncpy(ptr noundef %16, ptr noundef @.str.3, i32 noundef 15) br label %51 18: ; preds = %2 %19 = load ptr, ptr %3, align 8 %20 = call i32 @strncpy(ptr noundef %19, ptr noundef @.str.4, i32 noundef 15) br label %51 21: ; preds = %2 %22 = load ptr, ptr %3, align 8 %23 = call i32 @strncpy(ptr noundef %22, ptr noundef @.str.5, i32 noundef 15) br label %51 24: ; preds = %2 %25 = load ptr, ptr %3, align 8 %26 = call i32 @strncpy(ptr noundef %25, ptr noundef @.str.6, i32 noundef 13) br label %51 27: ; preds = %2 %28 = load ptr, ptr %3, align 8 %29 = call i32 @strncpy(ptr noundef %28, ptr noundef @.str.7, i32 noundef 13) br label %51 30: ; preds = %2 %31 = load ptr, ptr %3, align 8 %32 = call i32 @strncpy(ptr noundef %31, ptr noundef @.str.8, i32 noundef 13) br label %51 33: ; preds = %2 %34 = load ptr, ptr %3, align 8 %35 = call i32 @strncpy(ptr noundef %34, ptr noundef @.str.9, i32 noundef 13) br label %51 36: ; preds = %2 %37 = load ptr, ptr %3, align 8 %38 = call i32 @strncpy(ptr noundef %37, ptr noundef @.str.10, i32 noundef 13) br label %51 39: ; preds = %2 %40 = load ptr, ptr %3, align 8 %41 = call i32 @strncpy(ptr noundef %40, ptr noundef @.str.11, i32 noundef 13) br label %51 42: ; preds = %2 %43 = load ptr, ptr %3, align 8 %44 = call i32 @strncpy(ptr noundef %43, ptr noundef @.str.12, i32 noundef 13) br label %51 45: ; preds = %2 %46 = load ptr, ptr %3, align 8 %47 = call i32 @strncpy(ptr noundef %46, ptr noundef @.str.13, i32 noundef 13) br label %51 48: ; preds = %2 %49 = load ptr, ptr %3, align 8 %50 = call i32 @strncpy(ptr noundef %49, ptr noundef @.str.14, i32 noundef 13) br label %51 51: ; preds = %2, %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %6 ret void } declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpysoumnmr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"255.255.255.252\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"255.255.255.248\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"255.255.255.240\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"255.255.255.224\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"255.255.255.192\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"255.255.255.128\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"255.255.255.0\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"255.255.254.0\00", align 1 @.str.8 = private unnamed_addr constant [14 x i8] c"255.255.252.0\00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c"255.255.248.0\00", align 1 @.str.10 = private unnamed_addr constant [14 x i8] c"255.255.240.0\00", align 1 @.str.11 = private unnamed_addr constant [14 x i8] c"255.255.224.0\00", align 1 @.str.12 = private unnamed_addr constant [14 x i8] c"255.255.192.0\00", align 1 @.str.13 = private unnamed_addr constant [14 x i8] c"255.255.128.0\00", align 1 @.str.14 = private unnamed_addr constant [12 x i8] c"255.255.0.0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_full_netmask(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 switch i32 %5, label %51 [ i32 30, label %6 i32 29, label %9 i32 28, label %12 i32 27, label %15 i32 26, label %18 i32 25, label %21 i32 24, label %24 i32 23, label %27 i32 22, label %30 i32 21, label %33 i32 20, label %36 i32 19, label %39 i32 18, label %42 i32 17, label %45 i32 16, label %48 ] 6: ; preds = %2 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strncpy(ptr noundef %7, ptr noundef @.str, i32 noundef 15) br label %51 9: ; preds = %2 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strncpy(ptr noundef %10, ptr noundef @.str.1, i32 noundef 15) br label %51 12: ; preds = %2 %13 = load ptr, ptr %3, align 8 %14 = call i32 @strncpy(ptr noundef %13, ptr noundef @.str.2, i32 noundef 15) br label %51 15: ; preds = %2 %16 = load ptr, ptr %3, align 8 %17 = call i32 @strncpy(ptr noundef %16, ptr noundef @.str.3, i32 noundef 15) br label %51 18: ; preds = %2 %19 = load ptr, ptr %3, align 8 %20 = call i32 @strncpy(ptr noundef %19, ptr noundef @.str.4, i32 noundef 15) br label %51 21: ; preds = %2 %22 = load ptr, ptr %3, align 8 %23 = call i32 @strncpy(ptr noundef %22, ptr noundef @.str.5, i32 noundef 15) br label %51 24: ; preds = %2 %25 = load ptr, ptr %3, align 8 %26 = call i32 @strncpy(ptr noundef %25, ptr noundef @.str.6, i32 noundef 13) br label %51 27: ; preds = %2 %28 = load ptr, ptr %3, align 8 %29 = call i32 @strncpy(ptr noundef %28, ptr noundef @.str.7, i32 noundef 13) br label %51 30: ; preds = %2 %31 = load ptr, ptr %3, align 8 %32 = call i32 @strncpy(ptr noundef %31, ptr noundef @.str.8, i32 noundef 13) br label %51 33: ; preds = %2 %34 = load ptr, ptr %3, align 8 %35 = call i32 @strncpy(ptr noundef %34, ptr noundef @.str.9, i32 noundef 13) br label %51 36: ; preds = %2 %37 = load ptr, ptr %3, align 8 %38 = call i32 @strncpy(ptr noundef %37, ptr noundef @.str.10, i32 noundef 13) br label %51 39: ; preds = %2 %40 = load ptr, ptr %3, align 8 %41 = call i32 @strncpy(ptr noundef %40, ptr noundef @.str.11, i32 noundef 13) br label %51 42: ; preds = %2 %43 = load ptr, ptr %3, align 8 %44 = call i32 @strncpy(ptr noundef %43, ptr noundef @.str.12, i32 noundef 13) br label %51 45: ; preds = %2 %46 = load ptr, ptr %3, align 8 %47 = call i32 @strncpy(ptr noundef %46, ptr noundef @.str.13, i32 noundef 13) br label %51 48: ; preds = %2 %49 = load ptr, ptr %3, align 8 %50 = call i32 @strncpy(ptr noundef %49, ptr noundef @.str.14, i32 noundef 13) br label %51 51: ; preds = %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %6, %2 ret void } declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmsj357xn.c' source_filename = "/tmp/tmpmsj357xn.c" target datalayout = "e-m:e-p270: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/tmpmsj357xn.c" target datalayout = "e-m:e-p270: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/tmphj96hm8z.c' source_filename = "/tmp/tmphj96hm8z.c" target datalayout = "e-m:e-p270: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_INFO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @log_syslog_verbose(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @LOG_INFO, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @syslog(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphj96hm8z.c" target datalayout = "e-m:e-p270: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_INFO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @log_syslog_verbose(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @LOG_INFO, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @syslog(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp790e9qs8.c' source_filename = "/tmp/tmp790e9qs8.c" target datalayout = "e-m:e-p270: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 float 0.000000e+00, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @detect_noise_spike_creation(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #0 { %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 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 float, align 4 %18 = alloca float, 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 %5, ptr %12, align 4 %19 = load i32, ptr %12, align 4 %20 = sdiv i32 %19, 20000 store i32 %20, ptr %13, align 4 %21 = load ptr, ptr %9, align 8 %22 = load i32, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %25, i64 %27 %29 = load ptr, ptr %28, align 8 %30 = load i32, ptr %13, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = load i32, ptr %32, align 4 %34 = load ptr, ptr %10, align 8 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = load i32, ptr %8, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 %42 = load i32, ptr %41, align 4 %43 = sub nsw i32 %33, %42 store i32 %43, ptr %14, align 4 %44 = load ptr, ptr %9, align 8 %45 = load i32, ptr %7, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds ptr, ptr %44, i64 %46 %48 = load ptr, ptr %47, align 8 %49 = load i32, ptr %8, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %48, i64 %50 %52 = load ptr, ptr %51, align 8 %53 = load i32, ptr %13, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = icmp eq i32 %56, 0 br i1 %57, label %61, label %58 58: ; preds = %6 %59 = load i32, ptr %14, align 4 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %70 61: ; preds = %58, %6 %62 = load ptr, ptr %11, align 8 %63 = load i32, ptr %7, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds ptr, ptr %62, i64 %64 %66 = load ptr, ptr %65, align 8 %67 = load i32, ptr %8, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i32, ptr %66, i64 %68 store i32 0, ptr %69, align 4 br label %215 70: ; preds = %58 %71 = load i32, ptr %13, align 4 %72 = sitofp i32 %71 to float %73 = load ptr, ptr %10, align 8 %74 = load i32, ptr %7, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds ptr, ptr %73, i64 %75 %77 = load ptr, ptr %76, align 8 %78 = load i32, ptr %8, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %77, i64 %79 %81 = load i32, ptr %80, align 4 %82 = sitofp i32 %81 to float %83 = load ptr, ptr %9, align 8 %84 = load i32, ptr %7, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds ptr, ptr %83, i64 %85 %87 = load ptr, ptr %86, align 8 %88 = load i32, ptr %8, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds ptr, ptr %87, i64 %89 %91 = load ptr, ptr %90, align 8 %92 = load i32, ptr %13, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %91, i64 %93 %95 = load i32, ptr %94, align 4 %96 = sitofp i32 %95 to float %97 = fdiv float %82, %96 %98 = fadd float %72, %97 %99 = fmul float %98, 2.000000e+04 %100 = fptosi float %99 to i32 store i32 %100, ptr %15, align 4 %101 = load i32, ptr %13, align 4 %102 = sitofp i32 %101 to float %103 = load ptr, ptr %10, align 8 %104 = load i32, ptr %7, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds ptr, ptr %103, i64 %105 %107 = load ptr, ptr %106, align 8 %108 = load i32, ptr %8, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i32, ptr %107, i64 %109 %111 = load i32, ptr %110, align 4 %112 = add nsw i32 %111, 1 %113 = sitofp i32 %112 to float %114 = load ptr, ptr %9, align 8 %115 = load i32, ptr %7, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds ptr, ptr %114, i64 %116 %118 = load ptr, ptr %117, align 8 %119 = load i32, ptr %8, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds ptr, ptr %118, i64 %120 %122 = load ptr, ptr %121, align 8 %123 = load i32, ptr %13, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i32, ptr %122, i64 %124 %126 = load i32, ptr %125, align 4 %127 = sitofp i32 %126 to float %128 = fdiv float %113, %127 %129 = fadd float %102, %128 %130 = call float @llvm.fmuladd.f32(float %129, float 2.000000e+04, float -1.000000e+00) %131 = fptosi float %130 to i32 store i32 %131, ptr %16, align 4 %132 = load i32, ptr %12, align 4 %133 = load i32, ptr %15, align 4 %134 = icmp slt i32 %132, %133 br i1 %134, label %135, label %144 135: ; preds = %70 %136 = load ptr, ptr %11, align 8 %137 = load i32, ptr %7, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds ptr, ptr %136, i64 %138 %140 = load ptr, ptr %139, align 8 %141 = load i32, ptr %8, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds i32, ptr %140, i64 %142 store i32 0, ptr %143, align 4 br label %215 144: ; preds = %70 %145 = load i32, ptr %12, align 4 %146 = load i32, ptr %16, align 4 %147 = sub nsw i32 %146, 501 %148 = icmp sge i32 %145, %147 br i1 %148, label %149, label %168 149: ; preds = %144 %150 = load ptr, ptr %11, align 8 %151 = load i32, ptr %7, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds ptr, ptr %150, i64 %152 %154 = load ptr, ptr %153, align 8 %155 = load i32, ptr %8, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds i32, ptr %154, i64 %156 store i32 500, ptr %157, align 4 %158 = load ptr, ptr %10, align 8 %159 = load i32, ptr %7, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds ptr, ptr %158, i64 %160 %162 = load ptr, ptr %161, align 8 %163 = load i32, ptr %8, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds i32, ptr %162, i64 %164 %166 = load i32, ptr %165, align 4 %167 = add nsw i32 %166, 1 store i32 %167, ptr %165, align 4 br label %215 168: ; preds = %144 %169 = call i64 (...) @rand() %170 = sitofp i64 %169 to float %171 = load float, ptr @RAND_MAX, align 4 %172 = fdiv float %170, %171 store float %172, ptr %17, align 4 %173 = load i32, ptr %12, align 4 %174 = load i32, ptr %15, align 4 %175 = sub nsw i32 %173, %174 %176 = sitofp i32 %175 to float %177 = load i32, ptr %16, align 4 %178 = sub nsw i32 %177, 500 %179 = load i32, ptr %15, align 4 %180 = sub nsw i32 %178, %179 %181 = sitofp i32 %180 to float %182 = fdiv float %176, %181 store float %182, ptr %18, align 4 %183 = load float, ptr %17, align 4 %184 = load float, ptr %18, align 4 %185 = fcmp olt float %183, %184 br i1 %185, label %186, label %205 186: ; preds = %168 %187 = load ptr, ptr %11, align 8 %188 = load i32, ptr %7, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds ptr, ptr %187, i64 %189 %191 = load ptr, ptr %190, align 8 %192 = load i32, ptr %8, align 4 %193 = sext i32 %192 to i64 %194 = getelementptr inbounds i32, ptr %191, i64 %193 store i32 500, ptr %194, align 4 %195 = load ptr, ptr %10, align 8 %196 = load i32, ptr %7, align 4 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds ptr, ptr %195, i64 %197 %199 = load ptr, ptr %198, align 8 %200 = load i32, ptr %8, align 4 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds i32, ptr %199, i64 %201 %203 = load i32, ptr %202, align 4 %204 = add nsw i32 %203, 1 store i32 %204, ptr %202, align 4 br label %214 205: ; preds = %168 %206 = load ptr, ptr %11, align 8 %207 = load i32, ptr %7, align 4 %208 = sext i32 %207 to i64 %209 = getelementptr inbounds ptr, ptr %206, i64 %208 %210 = load ptr, ptr %209, align 8 %211 = load i32, ptr %8, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds i32, ptr %210, i64 %212 store i32 0, ptr %213, align 4 br label %214 214: ; preds = %205, %186 br label %215 215: ; preds = %214, %149, %135, %61 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 declare i64 @rand(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp790e9qs8.c" target datalayout = "e-m:e-p270: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 float 0.000000e+00, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @detect_noise_spike_creation(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #0 { %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 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 float, align 4 %18 = alloca float, 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 %5, ptr %12, align 4 %19 = load i32, ptr %12, align 4 %20 = sdiv i32 %19, 20000 store i32 %20, ptr %13, align 4 %21 = load ptr, ptr %9, align 8 %22 = load i32, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %25, i64 %27 %29 = load ptr, ptr %28, align 8 %30 = load i32, ptr %13, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = load i32, ptr %32, align 4 %34 = load ptr, ptr %10, align 8 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = load i32, ptr %8, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 %42 = load i32, ptr %41, align 4 %43 = sub nsw i32 %33, %42 store i32 %43, ptr %14, align 4 %44 = load ptr, ptr %9, align 8 %45 = load i32, ptr %7, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds ptr, ptr %44, i64 %46 %48 = load ptr, ptr %47, align 8 %49 = load i32, ptr %8, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %48, i64 %50 %52 = load ptr, ptr %51, align 8 %53 = load i32, ptr %13, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = icmp eq i32 %56, 0 br i1 %57, label %61, label %58 58: ; preds = %6 %59 = load i32, ptr %14, align 4 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %70 61: ; preds = %58, %6 %62 = load ptr, ptr %11, align 8 %63 = load i32, ptr %7, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds ptr, ptr %62, i64 %64 %66 = load ptr, ptr %65, align 8 %67 = load i32, ptr %8, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i32, ptr %66, i64 %68 store i32 0, ptr %69, align 4 br label %215 70: ; preds = %58 %71 = load i32, ptr %13, align 4 %72 = sitofp i32 %71 to float %73 = load ptr, ptr %10, align 8 %74 = load i32, ptr %7, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds ptr, ptr %73, i64 %75 %77 = load ptr, ptr %76, align 8 %78 = load i32, ptr %8, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %77, i64 %79 %81 = load i32, ptr %80, align 4 %82 = sitofp i32 %81 to float %83 = load ptr, ptr %9, align 8 %84 = load i32, ptr %7, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds ptr, ptr %83, i64 %85 %87 = load ptr, ptr %86, align 8 %88 = load i32, ptr %8, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds ptr, ptr %87, i64 %89 %91 = load ptr, ptr %90, align 8 %92 = load i32, ptr %13, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %91, i64 %93 %95 = load i32, ptr %94, align 4 %96 = sitofp i32 %95 to float %97 = fdiv float %82, %96 %98 = fadd float %72, %97 %99 = fmul float %98, 2.000000e+04 %100 = fptosi float %99 to i32 store i32 %100, ptr %15, align 4 %101 = load i32, ptr %13, align 4 %102 = sitofp i32 %101 to float %103 = load ptr, ptr %10, align 8 %104 = load i32, ptr %7, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds ptr, ptr %103, i64 %105 %107 = load ptr, ptr %106, align 8 %108 = load i32, ptr %8, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i32, ptr %107, i64 %109 %111 = load i32, ptr %110, align 4 %112 = add nsw i32 %111, 1 %113 = sitofp i32 %112 to float %114 = load ptr, ptr %9, align 8 %115 = load i32, ptr %7, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds ptr, ptr %114, i64 %116 %118 = load ptr, ptr %117, align 8 %119 = load i32, ptr %8, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds ptr, ptr %118, i64 %120 %122 = load ptr, ptr %121, align 8 %123 = load i32, ptr %13, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i32, ptr %122, i64 %124 %126 = load i32, ptr %125, align 4 %127 = sitofp i32 %126 to float %128 = fdiv float %113, %127 %129 = fadd float %102, %128 %130 = call float @llvm.fmuladd.f32(float %129, float 2.000000e+04, float -1.000000e+00) %131 = fptosi float %130 to i32 store i32 %131, ptr %16, align 4 %132 = load i32, ptr %12, align 4 %133 = load i32, ptr %15, align 4 %134 = icmp slt i32 %132, %133 br i1 %134, label %135, label %144 135: ; preds = %70 %136 = load ptr, ptr %11, align 8 %137 = load i32, ptr %7, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds ptr, ptr %136, i64 %138 %140 = load ptr, ptr %139, align 8 %141 = load i32, ptr %8, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds i32, ptr %140, i64 %142 store i32 0, ptr %143, align 4 br label %215 144: ; preds = %70 %145 = load i32, ptr %12, align 4 %146 = load i32, ptr %16, align 4 %147 = sub nsw i32 %146, 501 %148 = icmp sge i32 %145, %147 br i1 %148, label %149, label %168 149: ; preds = %144 %150 = load ptr, ptr %11, align 8 %151 = load i32, ptr %7, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds ptr, ptr %150, i64 %152 %154 = load ptr, ptr %153, align 8 %155 = load i32, ptr %8, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds i32, ptr %154, i64 %156 store i32 500, ptr %157, align 4 %158 = load ptr, ptr %10, align 8 %159 = load i32, ptr %7, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds ptr, ptr %158, i64 %160 %162 = load ptr, ptr %161, align 8 %163 = load i32, ptr %8, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds i32, ptr %162, i64 %164 %166 = load i32, ptr %165, align 4 %167 = add nsw i32 %166, 1 store i32 %167, ptr %165, align 4 br label %215 168: ; preds = %144 %169 = call i64 (...) @rand() %170 = sitofp i64 %169 to float %171 = load float, ptr @RAND_MAX, align 4 %172 = fdiv float %170, %171 store float %172, ptr %17, align 4 %173 = load i32, ptr %12, align 4 %174 = load i32, ptr %15, align 4 %175 = sub nsw i32 %173, %174 %176 = sitofp i32 %175 to float %177 = load i32, ptr %16, align 4 %178 = sub nsw i32 %177, 500 %179 = load i32, ptr %15, align 4 %180 = sub nsw i32 %178, %179 %181 = sitofp i32 %180 to float %182 = fdiv float %176, %181 store float %182, ptr %18, align 4 %183 = load float, ptr %17, align 4 %184 = load float, ptr %18, align 4 %185 = fcmp olt float %183, %184 br i1 %185, label %186, label %205 186: ; preds = %168 %187 = load ptr, ptr %11, align 8 %188 = load i32, ptr %7, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds ptr, ptr %187, i64 %189 %191 = load ptr, ptr %190, align 8 %192 = load i32, ptr %8, align 4 %193 = sext i32 %192 to i64 %194 = getelementptr inbounds i32, ptr %191, i64 %193 store i32 500, ptr %194, align 4 %195 = load ptr, ptr %10, align 8 %196 = load i32, ptr %7, align 4 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds ptr, ptr %195, i64 %197 %199 = load ptr, ptr %198, align 8 %200 = load i32, ptr %8, align 4 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds i32, ptr %199, i64 %201 %203 = load i32, ptr %202, align 4 %204 = add nsw i32 %203, 1 store i32 %204, ptr %202, align 4 br label %214 205: ; preds = %168 %206 = load ptr, ptr %11, align 8 %207 = load i32, ptr %7, align 4 %208 = sext i32 %207 to i64 %209 = getelementptr inbounds ptr, ptr %206, i64 %208 %210 = load ptr, ptr %209, align 8 %211 = load i32, ptr %8, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds i32, ptr %210, i64 %212 store i32 0, ptr %213, align 4 br label %214 214: ; preds = %205, %186 br label %215 215: ; preds = %214, %149, %135, %61 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 declare i64 @rand(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpggcs2p8o.c' source_filename = "/tmp/tmpggcs2p8o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1BGL%ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @StartLine(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, i64 noundef %3) ret void } declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpggcs2p8o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1BGL%ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @StartLine(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, i64 noundef %3) ret void } declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbdpk7j9u.c' source_filename = "/tmp/tmpbdpk7j9u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\EF\BB\BF\00", align 1 @stdin = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [65536 x i8], align 16 %8 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %8, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp sgt i32 %9, 1 br i1 %10, label %11, label %16 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 @usage(ptr noundef %14) br label %16 16: ; preds = %11, %2 %17 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 0 %18 = load ptr, ptr %8, align 8 %19 = call i32 @strlen(ptr noundef %18) %20 = load i32, ptr @stdin, align 4 %21 = call i64 @fread(ptr noundef %17, i32 noundef 1, i32 noundef %19, i32 noundef %20) store i64 %21, ptr %6, align 8 %22 = load i64, ptr %6, align 8 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %16 store i32 0, ptr %3, align 4 br label %53 25: ; preds = %16 %26 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 0 %27 = load ptr, ptr %8, align 8 %28 = call i64 @strcmp(ptr noundef %26, ptr noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %35 30: ; preds = %25 %31 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 0 %32 = load i64, ptr %6, align 8 %33 = load i32, ptr @stdout, align 4 %34 = call i32 @fwrite(ptr noundef %31, i32 noundef 1, i64 noundef %32, i32 noundef %33) br label %35 35: ; preds = %30, %25 br label %36 36: ; preds = %48, %35 %37 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 0 %38 = load i32, ptr @stdin, align 4 %39 = call i64 @fread(ptr noundef %37, i32 noundef 1, i32 noundef 65536, i32 noundef %38) store i64 %39, ptr %6, align 8 %40 = load i64, ptr %6, align 8 %41 = icmp ult i64 %40, 0 br i1 %41, label %42, label %44 42: ; preds = %36 %43 = call i32 @exit(i32 noundef 1) #3 unreachable 44: ; preds = %36 %45 = load i64, ptr %6, align 8 %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %48 47: ; preds = %44 store i32 0, ptr %3, align 4 br label %53 48: ; preds = %44 %49 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 0 %50 = load i64, ptr %6, align 8 %51 = load i32, ptr @stdout, align 4 %52 = call i32 @fwrite(ptr noundef %49, i32 noundef 1, i64 noundef %50, i32 noundef %51) br label %36 53: ; preds = %47, %24 %54 = load i32, ptr %3, align 4 ret i32 %54 } declare i32 @usage(ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i64 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbdpk7j9u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\EF\BB\BF\00", align 1 @stdin = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [65536 x i8], align 16 %8 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %8, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp sgt i32 %9, 1 br i1 %10, label %11, label %16 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 @usage(ptr noundef %14) br label %16 16: ; preds = %11, %2 %17 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 0 %18 = load ptr, ptr %8, align 8 %19 = call i32 @strlen(ptr noundef %18) %20 = load i32, ptr @stdin, align 4 %21 = call i64 @fread(ptr noundef %17, i32 noundef 1, i32 noundef %19, i32 noundef %20) store i64 %21, ptr %6, align 8 %22 = load i64, ptr %6, align 8 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %16 store i32 0, ptr %3, align 4 br label %55 25: ; preds = %16 %26 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 0 %27 = load ptr, ptr %8, align 8 %28 = call i64 @strcmp(ptr noundef %26, ptr noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %35 30: ; preds = %25 %31 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 0 %32 = load i64, ptr %6, align 8 %33 = load i32, ptr @stdout, align 4 %34 = call i32 @fwrite(ptr noundef %31, i32 noundef 1, i64 noundef %32, i32 noundef %33) br label %35 35: ; preds = %30, %25 %36 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 0 %37 = load i32, ptr @stdin, align 4 %38 = call i64 @fread(ptr noundef %36, i32 noundef 1, i32 noundef 65536, i32 noundef %37) store i64 %38, ptr %6, align 8 %39 = load i64, ptr %6, align 8 br label %42 40: ; preds = %46 %41 = call i32 @exit(i32 noundef 1) #3 unreachable 42: ; preds = %35, %46 %43 = load i64, ptr %6, align 8 %44 = icmp eq i64 %43, 0 br i1 %44, label %45, label %46 45: ; preds = %42 store i32 0, ptr %3, align 4 br label %55 46: ; preds = %42 %47 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 0 %48 = load i64, ptr %6, align 8 %49 = load i32, ptr @stdout, align 4 %50 = call i32 @fwrite(ptr noundef %47, i32 noundef 1, i64 noundef %48, i32 noundef %49) %51 = load i32, ptr @stdin, align 4 %52 = call i64 @fread(ptr noundef %36, i32 noundef 1, i32 noundef 65536, i32 noundef %51) store i64 %52, ptr %6, align 8 %53 = load i64, ptr %6, align 8 %54 = icmp ult i64 %53, 0 br i1 %54, label %40, label %42 55: ; preds = %45, %24 %56 = load i32, ptr %3, align 4 ret i32 %56 } declare i32 @usage(ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i64 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj8n6tz7a.c' source_filename = "/tmp/tmpj8n6tz7a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @fc_lev_bounded2.models = internal constant [3 x [4 x ptr]] [[4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr null], [4 x ptr] [ptr @.str.3, ptr @.str.4, ptr null, ptr null], [4 x ptr] [ptr @.str.5, ptr null, ptr null, ptr null]], align 16 @.str = private unnamed_addr constant [3 x i8] c"id\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"di\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"rr\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"dr\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"rd\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"dd\00", align 1 @INT32_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fc_lev_bounded2(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp sge i32 %18, 0 br i1 %19, label %20, label %31 20: ; preds = %4 %21 = load i32, ptr %7, align 4 %22 = icmp sle i32 %21, 4096 br i1 %22, label %23, label %31 23: ; preds = %20 %24 = load i32, ptr %9, align 4 %25 = icmp sge i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load i32, ptr %9, align 4 %28 = icmp sle i32 %27, 4096 br label %29 29: ; preds = %26, %23 %30 = phi i1 [ false, %23 ], [ %28, %26 ] br label %31 31: ; preds = %29, %20, %4 %32 = phi i1 [ false, %20 ], [ false, %4 ], [ %30, %29 ] %33 = zext i1 %32 to i32 %34 = call i32 @assert(i32 noundef %33) store i32 3, ptr %10, align 4 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %9, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %38, label %49 38: ; preds = %31 br label %39 39: ; preds = %38 %40 = load ptr, ptr %6, align 8 store ptr %40, ptr %11, align 8 %41 = load ptr, ptr %8, align 8 store ptr %41, ptr %6, align 8 %42 = load ptr, ptr %11, align 8 store ptr %42, ptr %8, align 8 br label %43 43: ; preds = %39 br label %44 44: ; preds = %43 %45 = load i32, ptr %7, align 4 store i32 %45, ptr %12, align 4 %46 = load i32, ptr %9, align 4 store i32 %46, ptr %7, align 4 %47 = load i32, ptr %12, align 4 store i32 %47, ptr %9, align 4 br label %48 48: ; preds = %44 br label %49 49: ; preds = %48, %31 br label %50 50: ; preds = %49 %51 = load i32, ptr %7, align 4 %52 = load i32, ptr %9, align 4 %53 = icmp sge i32 %51, %52 %54 = zext i1 %53 to i32 %55 = call i32 @assert(i32 noundef %54) br label %56 56: ; preds = %67, %50 %57 = load i32, ptr %9, align 4 %58 = icmp ne i32 %57, 0 br i1 %58, label %59, label %65 59: ; preds = %56 %60 = load ptr, ptr %6, align 8 %61 = load i64, ptr %60, align 8 %62 = load ptr, ptr %8, align 8 %63 = load i64, ptr %62, align 8 %64 = icmp eq i64 %61, %63 br label %65 65: ; preds = %59, %56 %66 = phi i1 [ false, %56 ], [ %64, %59 ] br i1 %66, label %67, label %76 67: ; preds = %65 %68 = load ptr, ptr %6, align 8 %69 = getelementptr inbounds i64, ptr %68, i32 1 store ptr %69, ptr %6, align 8 %70 = load ptr, ptr %8, align 8 %71 = getelementptr inbounds i64, ptr %70, i32 1 store ptr %71, ptr %8, align 8 %72 = load i32, ptr %7, align 4 %73 = add nsw i32 %72, -1 store i32 %73, ptr %7, align 4 %74 = load i32, ptr %9, align 4 %75 = add nsw i32 %74, -1 store i32 %75, ptr %9, align 4 br label %56, !llvm.loop !6 76: ; preds = %65 br label %77 77: ; preds = %96, %76 %78 = load i32, ptr %9, align 4 %79 = icmp ne i32 %78, 0 br i1 %79, label %80, label %94 80: ; preds = %77 %81 = load ptr, ptr %6, align 8 %82 = load i32, ptr %7, align 4 %83 = sub nsw i32 %82, 1 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i64, ptr %81, i64 %84 %86 = load i64, ptr %85, align 8 %87 = load ptr, ptr %8, align 8 %88 = load i32, ptr %9, align 4 %89 = sub nsw i32 %88, 1 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i64, ptr %87, i64 %90 %92 = load i64, ptr %91, align 8 %93 = icmp eq i64 %86, %92 br label %94 94: ; preds = %80, %77 %95 = phi i1 [ false, %77 ], [ %93, %80 ] br i1 %95, label %96, label %101 96: ; preds = %94 %97 = load i32, ptr %7, align 4 %98 = add nsw i32 %97, -1 store i32 %98, ptr %7, align 4 %99 = load i32, ptr %9, align 4 %100 = add nsw i32 %99, -1 store i32 %100, ptr %9, align 4 br label %77, !llvm.loop !8 101: ; preds = %94 br label %102 102: ; preds = %101 %103 = load i32, ptr %7, align 4 %104 = load i32, ptr %9, align 4 %105 = sub nsw i32 %103, %104 store i32 %105, ptr %13, align 4 %106 = load i32, ptr %13, align 4 %107 = icmp sgt i32 %106, 2 br i1 %107, label %108, label %110 108: ; preds = %102 %109 = load i32, ptr @INT32_MAX, align 4 store i32 %109, ptr %5, align 4 br label %217 110: ; preds = %102 %111 = load i32, ptr %9, align 4 %112 = icmp eq i32 %111, 0 br i1 %112, label %113, label %115 113: ; preds = %110 %114 = load i32, ptr %7, align 4 store i32 %114, ptr %5, align 4 br label %217 115: ; preds = %110 %116 = load i32, ptr %13, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [3 x [4 x ptr]], ptr @fc_lev_bounded2.models, i64 0, i64 %117 %119 = getelementptr inbounds [4 x ptr], ptr %118, i64 0, i64 0 store ptr %119, ptr %14, align 8 br label %120 120: ; preds = %212, %115 %121 = load ptr, ptr %14, align 8 %122 = load ptr, ptr %121, align 8 %123 = icmp ne ptr %122, null br i1 %123, label %124, label %215 124: ; preds = %120 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 store i32 0, ptr %17, align 4 br label %125 125: ; preds = %179, %124 %126 = load i32, ptr %15, align 4 %127 = load i32, ptr %7, align 4 %128 = icmp slt i32 %126, %127 br i1 %128, label %129, label %133 129: ; preds = %125 %130 = load i32, ptr %16, align 4 %131 = load i32, ptr %9, align 4 %132 = icmp slt i32 %130, %131 br label %133 133: ; preds = %129, %125 %134 = phi i1 [ false, %125 ], [ %132, %129 ] br i1 %134, label %135, label %180 135: ; preds = %133 %136 = load ptr, ptr %6, align 8 %137 = load i32, ptr %15, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds i64, ptr %136, i64 %138 %140 = load i64, ptr %139, align 8 %141 = load ptr, ptr %8, align 8 %142 = load i32, ptr %16, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds i64, ptr %141, i64 %143 %145 = load i64, ptr %144, align 8 %146 = icmp eq i64 %140, %145 br i1 %146, label %147, label %152 147: ; preds = %135 %148 = load i32, ptr %15, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %15, align 4 %150 = load i32, ptr %16, align 4 %151 = add nsw i32 %150, 1 store i32 %151, ptr %16, align 4 br label %179 152: ; preds = %135 %153 = load i32, ptr %17, align 4 %154 = add nsw i32 %153, 1 store i32 %154, ptr %17, align 4 %155 = load i32, ptr %17, align 4 %156 = icmp sgt i32 %155, 2 br i1 %156, label %157, label %158 157: ; preds = %152 br label %180 158: ; preds = %152 %159 = load ptr, ptr %14, align 8 %160 = load ptr, ptr %159, align 8 %161 = load i32, ptr %17, align 4 %162 = sub nsw i32 %161, 1 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds i8, ptr %160, i64 %163 %165 = load i8, ptr %164, align 1 %166 = sext i8 %165 to i32 switch i32 %166, label %173 [ i32 100, label %167 i32 105, label %170 ] 167: ; preds = %158 %168 = load i32, ptr %15, align 4 %169 = add nsw i32 %168, 1 store i32 %169, ptr %15, align 4 br label %178 170: ; preds = %158 %171 = load i32, ptr %16, align 4 %172 = add nsw i32 %171, 1 store i32 %172, ptr %16, align 4 br label %178 173: ; preds = %158 %174 = load i32, ptr %15, align 4 %175 = add nsw i32 %174, 1 store i32 %175, ptr %15, align 4 %176 = load i32, ptr %16, align 4 %177 = add nsw i32 %176, 1 store i32 %177, ptr %16, align 4 br label %178 178: ; preds = %173, %170, %167 br label %179 179: ; preds = %178, %147 br label %125, !llvm.loop !9 180: ; preds = %157, %133 %181 = load i32, ptr %17, align 4 %182 = icmp sle i32 %181, 2 br i1 %182, label %183, label %211 183: ; preds = %180 %184 = load i32, ptr %15, align 4 %185 = load i32, ptr %7, align 4 %186 = icmp slt i32 %184, %185 br i1 %186, label %187, label %193 187: ; preds = %183 %188 = load i32, ptr %7, align 4 %189 = load i32, ptr %15, align 4 %190 = sub nsw i32 %188, %189 %191 = load i32, ptr %17, align 4 %192 = add nsw i32 %191, %190 store i32 %192, ptr %17, align 4 br label %204 193: ; preds = %183 %194 = load i32, ptr %16, align 4 %195 = load i32, ptr %9, align 4 %196 = icmp slt i32 %194, %195 br i1 %196, label %197, label %203 197: ; preds = %193 %198 = load i32, ptr %9, align 4 %199 = load i32, ptr %16, align 4 %200 = sub nsw i32 %198, %199 %201 = load i32, ptr %17, align 4 %202 = add nsw i32 %201, %200 store i32 %202, ptr %17, align 4 br label %203 203: ; preds = %197, %193 br label %204 204: ; preds = %203, %187 %205 = load i32, ptr %17, align 4 %206 = load i32, ptr %10, align 4 %207 = icmp slt i32 %205, %206 br i1 %207, label %208, label %210 208: ; preds = %204 %209 = load i32, ptr %17, align 4 store i32 %209, ptr %10, align 4 br label %210 210: ; preds = %208, %204 br label %211 211: ; preds = %210, %180 br label %212 212: ; preds = %211 %213 = load ptr, ptr %14, align 8 %214 = getelementptr inbounds ptr, ptr %213, i32 1 store ptr %214, ptr %14, align 8 br label %120, !llvm.loop !10 215: ; preds = %120 %216 = load i32, ptr %10, align 4 store i32 %216, ptr %5, align 4 br label %217 217: ; preds = %215, %113, %108 %218 = load i32, ptr %5, align 4 ret i32 %218 } 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} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj8n6tz7a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @fc_lev_bounded2.models = internal constant [3 x [4 x ptr]] [[4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr null], [4 x ptr] [ptr @.str.3, ptr @.str.4, ptr null, ptr null], [4 x ptr] [ptr @.str.5, ptr null, ptr null, ptr null]], align 16 @.str = private unnamed_addr constant [3 x i8] c"id\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"di\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"rr\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"dr\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"rd\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"dd\00", align 1 @INT32_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fc_lev_bounded2(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp sge i32 %18, 0 br i1 %19, label %20, label %31 20: ; preds = %4 %21 = load i32, ptr %7, align 4 %22 = icmp sle i32 %21, 4096 br i1 %22, label %23, label %31 23: ; preds = %20 %24 = load i32, ptr %9, align 4 %25 = icmp sge i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load i32, ptr %9, align 4 %28 = icmp sle i32 %27, 4096 br label %29 29: ; preds = %26, %23 %30 = phi i1 [ false, %23 ], [ %28, %26 ] br label %31 31: ; preds = %29, %20, %4 %32 = phi i1 [ false, %20 ], [ false, %4 ], [ %30, %29 ] %33 = zext i1 %32 to i32 %34 = call i32 @assert(i32 noundef %33) store i32 3, ptr %10, align 4 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %9, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %38, label %49 38: ; preds = %31 br label %39 39: ; preds = %38 %40 = load ptr, ptr %6, align 8 store ptr %40, ptr %11, align 8 %41 = load ptr, ptr %8, align 8 store ptr %41, ptr %6, align 8 %42 = load ptr, ptr %11, align 8 store ptr %42, ptr %8, align 8 br label %43 43: ; preds = %39 br label %44 44: ; preds = %43 %45 = load i32, ptr %7, align 4 store i32 %45, ptr %12, align 4 %46 = load i32, ptr %9, align 4 store i32 %46, ptr %7, align 4 %47 = load i32, ptr %12, align 4 store i32 %47, ptr %9, align 4 br label %48 48: ; preds = %44 br label %49 49: ; preds = %48, %31 br label %50 50: ; preds = %49 %51 = load i32, ptr %7, align 4 %52 = load i32, ptr %9, align 4 %53 = icmp sge i32 %51, %52 %54 = zext i1 %53 to i32 %55 = call i32 @assert(i32 noundef %54) br label %56 56: ; preds = %67, %50 %57 = load i32, ptr %9, align 4 %58 = icmp ne i32 %57, 0 br i1 %58, label %59, label %65 59: ; preds = %56 %60 = load ptr, ptr %6, align 8 %61 = load i64, ptr %60, align 8 %62 = load ptr, ptr %8, align 8 %63 = load i64, ptr %62, align 8 %64 = icmp eq i64 %61, %63 br label %65 65: ; preds = %59, %56 %66 = phi i1 [ false, %56 ], [ %64, %59 ] br i1 %66, label %67, label %76 67: ; preds = %65 %68 = load ptr, ptr %6, align 8 %69 = getelementptr inbounds i64, ptr %68, i32 1 store ptr %69, ptr %6, align 8 %70 = load ptr, ptr %8, align 8 %71 = getelementptr inbounds i64, ptr %70, i32 1 store ptr %71, ptr %8, align 8 %72 = load i32, ptr %7, align 4 %73 = add nsw i32 %72, -1 store i32 %73, ptr %7, align 4 %74 = load i32, ptr %9, align 4 %75 = add nsw i32 %74, -1 store i32 %75, ptr %9, align 4 br label %56, !llvm.loop !6 76: ; preds = %65 br label %77 77: ; preds = %96, %76 %78 = load i32, ptr %9, align 4 %79 = icmp ne i32 %78, 0 br i1 %79, label %80, label %94 80: ; preds = %77 %81 = load ptr, ptr %6, align 8 %82 = load i32, ptr %7, align 4 %83 = sub nsw i32 %82, 1 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i64, ptr %81, i64 %84 %86 = load i64, ptr %85, align 8 %87 = load ptr, ptr %8, align 8 %88 = load i32, ptr %9, align 4 %89 = sub nsw i32 %88, 1 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i64, ptr %87, i64 %90 %92 = load i64, ptr %91, align 8 %93 = icmp eq i64 %86, %92 br label %94 94: ; preds = %80, %77 %95 = phi i1 [ false, %77 ], [ %93, %80 ] br i1 %95, label %96, label %101 96: ; preds = %94 %97 = load i32, ptr %7, align 4 %98 = add nsw i32 %97, -1 store i32 %98, ptr %7, align 4 %99 = load i32, ptr %9, align 4 %100 = add nsw i32 %99, -1 store i32 %100, ptr %9, align 4 br label %77, !llvm.loop !8 101: ; preds = %94 br label %102 102: ; preds = %101 %103 = load i32, ptr %7, align 4 %104 = load i32, ptr %9, align 4 %105 = sub nsw i32 %103, %104 store i32 %105, ptr %13, align 4 %106 = load i32, ptr %13, align 4 %107 = icmp sgt i32 %106, 2 br i1 %107, label %108, label %110 108: ; preds = %102 %109 = load i32, ptr @INT32_MAX, align 4 store i32 %109, ptr %5, align 4 br label %219 110: ; preds = %102 %111 = load i32, ptr %9, align 4 %112 = icmp eq i32 %111, 0 br i1 %112, label %113, label %115 113: ; preds = %110 %114 = load i32, ptr %7, align 4 store i32 %114, ptr %5, align 4 br label %219 115: ; preds = %110 %116 = load i32, ptr %13, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [3 x [4 x ptr]], ptr @fc_lev_bounded2.models, i64 0, i64 %117 %119 = getelementptr inbounds [4 x ptr], ptr %118, i64 0, i64 0 store ptr %119, ptr %14, align 8 %120 = load ptr, ptr %14, align 8 %121 = load ptr, ptr %120, align 8 %122 = icmp ne ptr %121, null br i1 %122, label %.lr.ph, label %217 .lr.ph: ; preds = %115 br label %123 123: ; preds = %.lr.ph, %211 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 store i32 0, ptr %17, align 4 br label %124 124: ; preds = %178, %123 %125 = load i32, ptr %15, align 4 %126 = load i32, ptr %7, align 4 %127 = icmp slt i32 %125, %126 br i1 %127, label %128, label %132 128: ; preds = %124 %129 = load i32, ptr %16, align 4 %130 = load i32, ptr %9, align 4 %131 = icmp slt i32 %129, %130 br label %132 132: ; preds = %128, %124 %133 = phi i1 [ false, %124 ], [ %131, %128 ] br i1 %133, label %134, label %.loopexit 134: ; preds = %132 %135 = load ptr, ptr %6, align 8 %136 = load i32, ptr %15, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds i64, ptr %135, i64 %137 %139 = load i64, ptr %138, align 8 %140 = load ptr, ptr %8, align 8 %141 = load i32, ptr %16, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds i64, ptr %140, i64 %142 %144 = load i64, ptr %143, align 8 %145 = icmp eq i64 %139, %144 br i1 %145, label %146, label %151 146: ; preds = %134 %147 = load i32, ptr %15, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %15, align 4 %149 = load i32, ptr %16, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %16, align 4 br label %178 151: ; preds = %134 %152 = load i32, ptr %17, align 4 %153 = add nsw i32 %152, 1 store i32 %153, ptr %17, align 4 %154 = load i32, ptr %17, align 4 %155 = icmp sgt i32 %154, 2 br i1 %155, label %156, label %157 156: ; preds = %151 br label %179 157: ; preds = %151 %158 = load ptr, ptr %14, align 8 %159 = load ptr, ptr %158, align 8 %160 = load i32, ptr %17, align 4 %161 = sub nsw i32 %160, 1 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds i8, ptr %159, i64 %162 %164 = load i8, ptr %163, align 1 %165 = sext i8 %164 to i32 switch i32 %165, label %172 [ i32 100, label %166 i32 105, label %169 ] 166: ; preds = %157 %167 = load i32, ptr %15, align 4 %168 = add nsw i32 %167, 1 store i32 %168, ptr %15, align 4 br label %177 169: ; preds = %157 %170 = load i32, ptr %16, align 4 %171 = add nsw i32 %170, 1 store i32 %171, ptr %16, align 4 br label %177 172: ; preds = %157 %173 = load i32, ptr %15, align 4 %174 = add nsw i32 %173, 1 store i32 %174, ptr %15, align 4 %175 = load i32, ptr %16, align 4 %176 = add nsw i32 %175, 1 store i32 %176, ptr %16, align 4 br label %177 177: ; preds = %172, %169, %166 br label %178 178: ; preds = %177, %146 br label %124, !llvm.loop !9 .loopexit: ; preds = %132 br label %179 179: ; preds = %.loopexit, %156 %180 = load i32, ptr %17, align 4 %181 = icmp sle i32 %180, 2 br i1 %181, label %182, label %210 182: ; preds = %179 %183 = load i32, ptr %15, align 4 %184 = load i32, ptr %7, align 4 %185 = icmp slt i32 %183, %184 br i1 %185, label %186, label %192 186: ; preds = %182 %187 = load i32, ptr %7, align 4 %188 = load i32, ptr %15, align 4 %189 = sub nsw i32 %187, %188 %190 = load i32, ptr %17, align 4 %191 = add nsw i32 %190, %189 store i32 %191, ptr %17, align 4 br label %203 192: ; preds = %182 %193 = load i32, ptr %16, align 4 %194 = load i32, ptr %9, align 4 %195 = icmp slt i32 %193, %194 br i1 %195, label %196, label %202 196: ; preds = %192 %197 = load i32, ptr %9, align 4 %198 = load i32, ptr %16, align 4 %199 = sub nsw i32 %197, %198 %200 = load i32, ptr %17, align 4 %201 = add nsw i32 %200, %199 store i32 %201, ptr %17, align 4 br label %202 202: ; preds = %196, %192 br label %203 203: ; preds = %202, %186 %204 = load i32, ptr %17, align 4 %205 = load i32, ptr %10, align 4 %206 = icmp slt i32 %204, %205 br i1 %206, label %207, label %209 207: ; preds = %203 %208 = load i32, ptr %17, align 4 store i32 %208, ptr %10, align 4 br label %209 209: ; preds = %207, %203 br label %210 210: ; preds = %209, %179 br label %211 211: ; preds = %210 %212 = load ptr, ptr %14, align 8 %213 = getelementptr inbounds ptr, ptr %212, i32 1 store ptr %213, ptr %14, align 8 %214 = load ptr, ptr %14, align 8 %215 = load ptr, ptr %214, align 8 %216 = icmp ne ptr %215, null br i1 %216, label %123, label %._crit_edge, !llvm.loop !10 ._crit_edge: ; preds = %211 br label %217 217: ; preds = %._crit_edge, %115 %218 = load i32, ptr %10, align 4 store i32 %218, ptr %5, align 4 br label %219 219: ; preds = %217, %113, %108 %220 = load i32, ptr %5, align 4 ret i32 %220 } 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} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpbks8o8il.c' source_filename = "/tmp/tmpbks8o8il.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbks8o8il.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmix7yqoq.c' source_filename = "/tmp/tmpmix7yqoq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"error reading from serial port\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xserial_port_read_packet(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %8, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 store i8 126, ptr %12, align 1 br label %13 13: ; preds = %2, %42 %14 = load i32, ptr %4, align 4 %15 = call i32 @read(i32 noundef %14, ptr noundef %6, i32 noundef 1) store i32 %15, ptr %7, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %13 %19 = call i32 @perror(ptr noundef @.str) %20 = call i32 @exit(i32 noundef 2) #3 unreachable 21: ; preds = %13 %22 = load i32, ptr %7, align 4 %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %42 24: ; preds = %21 %25 = load i32, ptr %8, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %8, align 4 %27 = icmp sgt i32 %26, 255 br i1 %27, label %28, label %30 28: ; preds = %24 %29 = load i32, ptr %8, align 4 store i32 %29, ptr %3, align 4 br label %43 30: ; preds = %24 %31 = load i8, ptr %6, align 1 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %8, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 store i8 %31, ptr %35, align 1 %36 = load i8, ptr %6, align 1 %37 = zext i8 %36 to i32 %38 = icmp eq i32 %37, 126 br i1 %38, label %39, label %41 39: ; preds = %30 %40 = load i32, ptr %8, align 4 store i32 %40, ptr %3, align 4 br label %43 41: ; preds = %30 br label %42 42: ; preds = %41, %21 br label %13 43: ; preds = %39, %28 %44 = load i32, ptr %3, align 4 ret i32 %44 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(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/tmpmix7yqoq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"error reading from serial port\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xserial_port_read_packet(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %8, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 store i8 126, ptr %12, align 1 %13 = load i32, ptr %4, align 4 %14 = call i32 @read(i32 noundef %13, ptr noundef %6, i32 noundef 1) store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %.lr.ph .lr.ph: ; preds = %2 br label %20 ._crit_edge: ; preds = %41 br label %17 17: ; preds = %._crit_edge, %2 %18 = call i32 @perror(ptr noundef @.str) %19 = call i32 @exit(i32 noundef 2) #3 unreachable 20: ; preds = %.lr.ph, %41 %21 = load i32, ptr %7, align 4 %22 = icmp eq i32 %21, 1 br i1 %22, label %23, label %41 23: ; preds = %20 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %8, align 4 %26 = icmp sgt i32 %25, 255 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = load i32, ptr %8, align 4 store i32 %28, ptr %3, align 4 br label %46 29: ; preds = %23 %30 = load i8, ptr %6, align 1 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 store i8 %30, ptr %34, align 1 %35 = load i8, ptr %6, align 1 %36 = zext i8 %35 to i32 %37 = icmp eq i32 %36, 126 br i1 %37, label %38, label %40 38: ; preds = %29 %39 = load i32, ptr %8, align 4 store i32 %39, ptr %3, align 4 br label %46 40: ; preds = %29 br label %41 41: ; preds = %40, %20 %42 = load i32, ptr %4, align 4 %43 = call i32 @read(i32 noundef %42, ptr noundef %6, i32 noundef 1) store i32 %43, ptr %7, align 4 %44 = load i32, ptr %7, align 4 %45 = icmp slt i32 %44, 0 br i1 %45, label %._crit_edge, label %20 46: ; preds = %38, %27 %47 = load i32, ptr %3, align 4 ret i32 %47 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(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/tmp6q9umfov.c' source_filename = "/tmp/tmp6q9umfov.c" target datalayout = "e-m:e-p270: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.target_phi.coeff = private unnamed_addr constant [21 x float] [float 0xBE58459A60000000, float 0xBFAD751280000000, float 0x3FB1CD7A60000000, float 0x3F7046AA20000000, float 0xBF7D3EAE20000000, float 0xBF7B0A9CC0000000, float 0x3F88402320000000, float 0xBF14909DE0000000, float 0x3F210D4880000000, float 0x3F0FE16780000000, float 0xBEFAFF8C80000000, float 0xBF3071A3C0000000, float 0x3F35D43560000000, float 0x3F1D0D7480000000, float 0x3F1D32E080000000, float 0xBF308A5000000000, float 0xBF219FB0E0000000, float 0x3F47958380000000, float 0xBF47B82140000000, float 0x3F12697D40000000, float 0.000000e+00], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @target_phi(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca float, align 4 %9 = alloca [10 x float], align 16 %10 = alloca [10 x float], align 16 %11 = alloca [10 x float], align 16 %12 = alloca [21 x float], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca float, align 4 %20 = alloca float, align 4 %21 = alloca float, align 4 %22 = alloca float, align 4 %23 = alloca float, align 4 %24 = alloca float, align 4 %25 = alloca float, align 4 %26 = alloca float, align 4 %27 = alloca float, align 4 %28 = alloca float, align 4 %29 = alloca float, align 4 %30 = alloca float, align 4 %31 = alloca float, align 4 %32 = alloca float, align 4 %33 = alloca float, align 4 %34 = alloca float, align 4 %35 = alloca float, align 4 %36 = alloca float, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 20, ptr %7, align 4 store float 0x3F39E1BE60000000, ptr %8, align 4 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false) %37 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0 store float -1.500000e+01, ptr %37, align 16 %38 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1 store float -1.500000e+01, ptr %38, align 4 %39 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2 store float -1.800000e+01, ptr %39, align 8 %40 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3 store float 0xC032045A20000000, ptr %40, align 4 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false) %41 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0 store float 1.500000e+01, ptr %41, align 16 %42 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1 store float 1.500000e+01, ptr %42, align 4 %43 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2 store float 1.800000e+01, ptr %43, align 8 %44 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3 store float 0x4031FC2900000000, ptr %44, align 4 call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_phi.coeff, i64 84, i1 false) store i32 0, ptr %13, align 4 %45 = load i32, ptr %13, align 4 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %83 47: ; preds = %3 store i32 1, ptr %13, align 4 store i32 0, ptr %14, align 4 br label %48 48: ; preds = %79, %47 %49 = load i32, ptr %14, align 4 %50 = load i32, ptr %6, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %52, label %82 52: ; preds = %48 %53 = load i32, ptr %14, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %54 %56 = load float, ptr %55, align 4 %57 = load i32, ptr %14, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %58 %60 = load float, ptr %59, align 4 %61 = fcmp oeq float %56, %60 br i1 %61, label %62, label %63 62: ; preds = %52 br label %79 63: ; preds = %52 %64 = load i32, ptr %14, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %65 %67 = load float, ptr %66, align 4 %68 = load i32, ptr %14, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %69 %71 = load float, ptr %70, align 4 %72 = fsub float %67, %71 %73 = fpext float %72 to double %74 = fdiv double 2.000000e+00, %73 %75 = fptrunc double %74 to float %76 = load i32, ptr %14, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %77 store float %75, ptr %78, align 4 br label %79 79: ; preds = %63, %62 %80 = load i32, ptr %14, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %14, align 4 br label %48, !llvm.loop !6 82: ; preds = %48 br label %83 83: ; preds = %82, %3 %84 = load ptr, ptr %4, align 8 %85 = getelementptr inbounds float, ptr %84, i64 0 %86 = load float, ptr %85, align 4 %87 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0 %88 = load float, ptr %87, align 16 %89 = fsub float %86, %88 %90 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0 %91 = load float, ptr %90, align 16 %92 = fmul float %89, %91 %93 = fpext float %92 to double %94 = fadd double 1.000000e+00, %93 %95 = fptrunc double %94 to float store float %95, ptr %15, align 4 %96 = load ptr, ptr %5, align 8 %97 = getelementptr inbounds float, ptr %96, i64 0 %98 = load float, ptr %97, align 4 %99 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0 %100 = load float, ptr %99, align 16 %101 = fmul float %98, %100 store float %101, ptr %16, align 4 %102 = load ptr, ptr %4, align 8 %103 = getelementptr inbounds float, ptr %102, i64 1 %104 = load float, ptr %103, align 4 %105 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1 %106 = load float, ptr %105, align 4 %107 = fsub float %104, %106 %108 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1 %109 = load float, ptr %108, align 4 %110 = fmul float %107, %109 %111 = fpext float %110 to double %112 = fadd double 1.000000e+00, %111 %113 = fptrunc double %112 to float store float %113, ptr %17, align 4 %114 = load ptr, ptr %5, align 8 %115 = getelementptr inbounds float, ptr %114, i64 1 %116 = load float, ptr %115, align 4 %117 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1 %118 = load float, ptr %117, align 4 %119 = fmul float %116, %118 store float %119, ptr %18, align 4 %120 = load ptr, ptr %4, align 8 %121 = getelementptr inbounds float, ptr %120, i64 2 %122 = load float, ptr %121, align 4 %123 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2 %124 = load float, ptr %123, align 8 %125 = fsub float %122, %124 %126 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2 %127 = load float, ptr %126, align 8 %128 = fmul float %125, %127 %129 = fpext float %128 to double %130 = fadd double 1.000000e+00, %129 %131 = fptrunc double %130 to float store float %131, ptr %19, align 4 %132 = load ptr, ptr %5, align 8 %133 = getelementptr inbounds float, ptr %132, i64 2 %134 = load float, ptr %133, align 4 %135 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2 %136 = load float, ptr %135, align 8 %137 = fmul float %134, %136 store float %137, ptr %20, align 4 %138 = load ptr, ptr %4, align 8 %139 = getelementptr inbounds float, ptr %138, i64 3 %140 = load float, ptr %139, align 4 %141 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3 %142 = load float, ptr %141, align 4 %143 = fsub float %140, %142 %144 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3 %145 = load float, ptr %144, align 4 %146 = fmul float %143, %145 %147 = fpext float %146 to double %148 = fadd double 1.000000e+00, %147 %149 = fptrunc double %148 to float store float %149, ptr %21, align 4 %150 = load ptr, ptr %5, align 8 %151 = getelementptr inbounds float, ptr %150, i64 3 %152 = load float, ptr %151, align 4 %153 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3 %154 = load float, ptr %153, align 4 %155 = fmul float %152, %154 store float %155, ptr %22, align 4 %156 = load float, ptr %15, align 4 store float %156, ptr %23, align 4 %157 = load float, ptr %23, align 4 %158 = load float, ptr %15, align 4 %159 = fmul float %157, %158 store float %159, ptr %24, align 4 %160 = load float, ptr %17, align 4 store float %160, ptr %25, align 4 %161 = load float, ptr %25, align 4 %162 = load float, ptr %17, align 4 %163 = fmul float %161, %162 store float %163, ptr %26, align 4 %164 = load float, ptr %26, align 4 %165 = load float, ptr %17, align 4 %166 = fmul float %164, %165 store float %166, ptr %27, align 4 %167 = load float, ptr %19, align 4 store float %167, ptr %28, align 4 %168 = load float, ptr %28, align 4 %169 = load float, ptr %19, align 4 %170 = fmul float %168, %169 store float %170, ptr %29, align 4 %171 = load float, ptr %29, align 4 %172 = load float, ptr %19, align 4 %173 = fmul float %171, %172 store float %173, ptr %30, align 4 %174 = load float, ptr %21, align 4 store float %174, ptr %31, align 4 %175 = load float, ptr %31, align 4 %176 = load float, ptr %21, align 4 %177 = fmul float %175, %176 store float %177, ptr %32, align 4 %178 = load float, ptr %32, align 4 %179 = load float, ptr %21, align 4 %180 = fmul float %178, %179 store float %180, ptr %33, align 4 %181 = load float, ptr %8, align 4 %182 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 0 %183 = load float, ptr %182, align 16 %184 = fadd float %181, %183 %185 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1 %186 = load float, ptr %185, align 4 %187 = load float, ptr %23, align 4 %188 = call float @llvm.fmuladd.f32(float %186, float %187, float %184) %189 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2 %190 = load float, ptr %189, align 8 %191 = load float, ptr %28, align 4 %192 = call float @llvm.fmuladd.f32(float %190, float %191, float %188) %193 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3 %194 = load float, ptr %193, align 4 %195 = load float, ptr %23, align 4 %196 = fmul float %194, %195 %197 = load float, ptr %25, align 4 %198 = call float @llvm.fmuladd.f32(float %196, float %197, float %192) %199 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4 %200 = load float, ptr %199, align 16 %201 = load float, ptr %25, align 4 %202 = fmul float %200, %201 %203 = load float, ptr %28, align 4 %204 = call float @llvm.fmuladd.f32(float %202, float %203, float %198) %205 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5 %206 = load float, ptr %205, align 4 %207 = load float, ptr %23, align 4 %208 = fmul float %206, %207 %209 = load float, ptr %31, align 4 %210 = call float @llvm.fmuladd.f32(float %208, float %209, float %204) %211 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6 %212 = load float, ptr %211, align 8 %213 = load float, ptr %28, align 4 %214 = fmul float %212, %213 %215 = load float, ptr %31, align 4 %216 = call float @llvm.fmuladd.f32(float %214, float %215, float %210) %217 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7 %218 = load float, ptr %217, align 4 %219 = load float, ptr %25, align 4 %220 = call float @llvm.fmuladd.f32(float %218, float %219, float %216) store float %220, ptr %34, align 4 %221 = load float, ptr %34, align 4 %222 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8 %223 = load float, ptr %222, align 16 %224 = load float, ptr %31, align 4 %225 = call float @llvm.fmuladd.f32(float %223, float %224, float %221) %226 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9 %227 = load float, ptr %226, align 4 %228 = load float, ptr %28, align 4 %229 = fmul float %227, %228 %230 = load float, ptr %32, align 4 %231 = call float @llvm.fmuladd.f32(float %229, float %230, float %225) %232 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10 %233 = load float, ptr %232, align 8 %234 = load float, ptr %23, align 4 %235 = fmul float %233, %234 %236 = load float, ptr %26, align 4 %237 = call float @llvm.fmuladd.f32(float %235, float %236, float %231) %238 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11 %239 = load float, ptr %238, align 4 %240 = load float, ptr %23, align 4 %241 = fmul float %239, %240 %242 = load float, ptr %25, align 4 %243 = fmul float %241, %242 %244 = load float, ptr %29, align 4 %245 = call float @llvm.fmuladd.f32(float %243, float %244, float %237) %246 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12 %247 = load float, ptr %246, align 16 %248 = load float, ptr %25, align 4 %249 = fmul float %247, %248 %250 = load float, ptr %30, align 4 %251 = call float @llvm.fmuladd.f32(float %249, float %250, float %245) %252 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13 %253 = load float, ptr %252, align 4 %254 = load float, ptr %23, align 4 %255 = fmul float %253, %254 %256 = load float, ptr %33, align 4 %257 = call float @llvm.fmuladd.f32(float %255, float %256, float %251) %258 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14 %259 = load float, ptr %258, align 8 %260 = load float, ptr %23, align 4 %261 = fmul float %259, %260 %262 = load float, ptr %27, align 4 %263 = call float @llvm.fmuladd.f32(float %261, float %262, float %257) %264 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15 %265 = load float, ptr %264, align 4 %266 = load float, ptr %23, align 4 %267 = fmul float %265, %266 %268 = load float, ptr %26, align 4 %269 = fmul float %267, %268 %270 = load float, ptr %31, align 4 %271 = call float @llvm.fmuladd.f32(float %269, float %270, float %263) %272 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16 %273 = load float, ptr %272, align 16 %274 = load float, ptr %24, align 4 %275 = fmul float %273, %274 %276 = load float, ptr %28, align 4 %277 = fmul float %275, %276 %278 = load float, ptr %31, align 4 %279 = call float @llvm.fmuladd.f32(float %277, float %278, float %271) store float %279, ptr %34, align 4 %280 = load float, ptr %34, align 4 %281 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17 %282 = load float, ptr %281, align 4 %283 = load float, ptr %23, align 4 %284 = fmul float %282, %283 %285 = load float, ptr %29, align 4 %286 = fmul float %284, %285 %287 = load float, ptr %31, align 4 %288 = call float @llvm.fmuladd.f32(float %286, float %287, float %280) %289 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18 %290 = load float, ptr %289, align 8 %291 = load float, ptr %30, align 4 %292 = fmul float %290, %291 %293 = load float, ptr %31, align 4 %294 = call float @llvm.fmuladd.f32(float %292, float %293, float %288) %295 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19 %296 = load float, ptr %295, align 4 %297 = load float, ptr %25, align 4 %298 = fmul float %296, %297 %299 = load float, ptr %28, align 4 %300 = fmul float %298, %299 %301 = load float, ptr %32, align 4 %302 = call float @llvm.fmuladd.f32(float %300, float %301, float %294) store float %302, ptr %34, align 4 %303 = load float, ptr %16, align 4 %304 = fadd float 0.000000e+00, %303 %305 = load float, ptr %18, align 4 %306 = fadd float %304, %305 %307 = load float, ptr %20, align 4 %308 = fadd float %306, %307 %309 = load float, ptr %22, align 4 %310 = fadd float %308, %309 store float %310, ptr %35, align 4 %311 = load float, ptr %35, align 4 %312 = fcmp oeq float %311, 0.000000e+00 br i1 %312, label %313, label %314 313: ; preds = %83 br label %551 314: ; preds = %83 %315 = load float, ptr %16, align 4 %316 = load float, ptr %16, align 4 %317 = fmul float %315, %316 %318 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1 %319 = load float, ptr %318, align 4 %320 = fadd float 0.000000e+00, %319 %321 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3 %322 = load float, ptr %321, align 4 %323 = load float, ptr %25, align 4 %324 = call float @llvm.fmuladd.f32(float %322, float %323, float %320) %325 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5 %326 = load float, ptr %325, align 4 %327 = load float, ptr %31, align 4 %328 = call float @llvm.fmuladd.f32(float %326, float %327, float %324) %329 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10 %330 = load float, ptr %329, align 8 %331 = load float, ptr %26, align 4 %332 = call float @llvm.fmuladd.f32(float %330, float %331, float %328) %333 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11 %334 = load float, ptr %333, align 4 %335 = load float, ptr %25, align 4 %336 = fmul float %334, %335 %337 = load float, ptr %29, align 4 %338 = call float @llvm.fmuladd.f32(float %336, float %337, float %332) %339 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13 %340 = load float, ptr %339, align 4 %341 = load float, ptr %33, align 4 %342 = call float @llvm.fmuladd.f32(float %340, float %341, float %338) %343 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14 %344 = load float, ptr %343, align 8 %345 = load float, ptr %27, align 4 %346 = call float @llvm.fmuladd.f32(float %344, float %345, float %342) %347 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15 %348 = load float, ptr %347, align 4 %349 = load float, ptr %26, align 4 %350 = fmul float %348, %349 %351 = load float, ptr %31, align 4 %352 = call float @llvm.fmuladd.f32(float %350, float %351, float %346) %353 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16 %354 = load float, ptr %353, align 16 %355 = fmul float 2.000000e+00, %354 %356 = load float, ptr %23, align 4 %357 = fmul float %355, %356 %358 = load float, ptr %28, align 4 %359 = fmul float %357, %358 %360 = load float, ptr %31, align 4 %361 = call float @llvm.fmuladd.f32(float %359, float %360, float %352) %362 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17 %363 = load float, ptr %362, align 4 %364 = load float, ptr %29, align 4 %365 = fmul float %363, %364 %366 = load float, ptr %31, align 4 %367 = call float @llvm.fmuladd.f32(float %365, float %366, float %361) %368 = call float @pow(float noundef %367, i32 noundef 2) %369 = load float, ptr %18, align 4 %370 = load float, ptr %18, align 4 %371 = fmul float %369, %370 %372 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3 %373 = load float, ptr %372, align 4 %374 = load float, ptr %23, align 4 %375 = call float @llvm.fmuladd.f32(float %373, float %374, float 0.000000e+00) %376 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4 %377 = load float, ptr %376, align 16 %378 = load float, ptr %28, align 4 %379 = call float @llvm.fmuladd.f32(float %377, float %378, float %375) %380 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7 %381 = load float, ptr %380, align 4 %382 = fadd float %379, %381 %383 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10 %384 = load float, ptr %383, align 8 %385 = fmul float 2.000000e+00, %384 %386 = load float, ptr %25, align 4 %387 = fmul float %385, %386 %388 = load float, ptr %23, align 4 %389 = call float @llvm.fmuladd.f32(float %387, float %388, float %382) %390 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11 %391 = load float, ptr %390, align 4 %392 = load float, ptr %23, align 4 %393 = fmul float %391, %392 %394 = load float, ptr %29, align 4 %395 = call float @llvm.fmuladd.f32(float %393, float %394, float %389) %396 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12 %397 = load float, ptr %396, align 16 %398 = load float, ptr %30, align 4 %399 = call float @llvm.fmuladd.f32(float %397, float %398, float %395) %400 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14 %401 = load float, ptr %400, align 8 %402 = fmul float 3.000000e+00, %401 %403 = load float, ptr %26, align 4 %404 = fmul float %402, %403 %405 = load float, ptr %23, align 4 %406 = call float @llvm.fmuladd.f32(float %404, float %405, float %399) %407 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15 %408 = load float, ptr %407, align 4 %409 = fmul float 2.000000e+00, %408 %410 = load float, ptr %25, align 4 %411 = fmul float %409, %410 %412 = load float, ptr %23, align 4 %413 = fmul float %411, %412 %414 = load float, ptr %31, align 4 %415 = call float @llvm.fmuladd.f32(float %413, float %414, float %406) %416 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19 %417 = load float, ptr %416, align 4 %418 = load float, ptr %28, align 4 %419 = fmul float %417, %418 %420 = load float, ptr %32, align 4 %421 = call float @llvm.fmuladd.f32(float %419, float %420, float %415) %422 = call float @pow(float noundef %421, i32 noundef 2) %423 = fmul float %371, %422 %424 = call float @llvm.fmuladd.f32(float %317, float %368, float %423) %425 = load float, ptr %20, align 4 %426 = load float, ptr %20, align 4 %427 = fmul float %425, %426 %428 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2 %429 = load float, ptr %428, align 8 %430 = fadd float 0.000000e+00, %429 %431 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4 %432 = load float, ptr %431, align 16 %433 = load float, ptr %25, align 4 %434 = call float @llvm.fmuladd.f32(float %432, float %433, float %430) %435 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6 %436 = load float, ptr %435, align 8 %437 = load float, ptr %31, align 4 %438 = call float @llvm.fmuladd.f32(float %436, float %437, float %434) %439 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9 %440 = load float, ptr %439, align 4 %441 = load float, ptr %32, align 4 %442 = call float @llvm.fmuladd.f32(float %440, float %441, float %438) %443 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11 %444 = load float, ptr %443, align 4 %445 = fmul float 2.000000e+00, %444 %446 = load float, ptr %28, align 4 %447 = fmul float %445, %446 %448 = load float, ptr %23, align 4 %449 = fmul float %447, %448 %450 = load float, ptr %25, align 4 %451 = call float @llvm.fmuladd.f32(float %449, float %450, float %442) %452 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12 %453 = load float, ptr %452, align 16 %454 = fmul float 3.000000e+00, %453 %455 = load float, ptr %29, align 4 %456 = fmul float %454, %455 %457 = load float, ptr %25, align 4 %458 = call float @llvm.fmuladd.f32(float %456, float %457, float %451) %459 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16 %460 = load float, ptr %459, align 16 %461 = load float, ptr %24, align 4 %462 = fmul float %460, %461 %463 = load float, ptr %31, align 4 %464 = call float @llvm.fmuladd.f32(float %462, float %463, float %458) %465 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17 %466 = load float, ptr %465, align 4 %467 = fmul float 2.000000e+00, %466 %468 = load float, ptr %28, align 4 %469 = fmul float %467, %468 %470 = load float, ptr %23, align 4 %471 = fmul float %469, %470 %472 = load float, ptr %31, align 4 %473 = call float @llvm.fmuladd.f32(float %471, float %472, float %464) %474 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18 %475 = load float, ptr %474, align 8 %476 = fmul float 3.000000e+00, %475 %477 = load float, ptr %29, align 4 %478 = fmul float %476, %477 %479 = load float, ptr %31, align 4 %480 = call float @llvm.fmuladd.f32(float %478, float %479, float %473) %481 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19 %482 = load float, ptr %481, align 4 %483 = load float, ptr %25, align 4 %484 = fmul float %482, %483 %485 = load float, ptr %32, align 4 %486 = call float @llvm.fmuladd.f32(float %484, float %485, float %480) %487 = call float @pow(float noundef %486, i32 noundef 2) %488 = call float @llvm.fmuladd.f32(float %427, float %487, float %424) %489 = load float, ptr %22, align 4 %490 = load float, ptr %22, align 4 %491 = fmul float %489, %490 %492 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5 %493 = load float, ptr %492, align 4 %494 = load float, ptr %23, align 4 %495 = call float @llvm.fmuladd.f32(float %493, float %494, float 0.000000e+00) %496 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6 %497 = load float, ptr %496, align 8 %498 = load float, ptr %28, align 4 %499 = call float @llvm.fmuladd.f32(float %497, float %498, float %495) %500 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8 %501 = load float, ptr %500, align 16 %502 = fadd float %499, %501 %503 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9 %504 = load float, ptr %503, align 4 %505 = fmul float 2.000000e+00, %504 %506 = load float, ptr %31, align 4 %507 = fmul float %505, %506 %508 = load float, ptr %28, align 4 %509 = call float @llvm.fmuladd.f32(float %507, float %508, float %502) %510 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13 %511 = load float, ptr %510, align 4 %512 = fmul float 3.000000e+00, %511 %513 = load float, ptr %32, align 4 %514 = fmul float %512, %513 %515 = load float, ptr %23, align 4 %516 = call float @llvm.fmuladd.f32(float %514, float %515, float %509) %517 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15 %518 = load float, ptr %517, align 4 %519 = load float, ptr %23, align 4 %520 = fmul float %518, %519 %521 = load float, ptr %26, align 4 %522 = call float @llvm.fmuladd.f32(float %520, float %521, float %516) %523 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16 %524 = load float, ptr %523, align 16 %525 = load float, ptr %24, align 4 %526 = fmul float %524, %525 %527 = load float, ptr %28, align 4 %528 = call float @llvm.fmuladd.f32(float %526, float %527, float %522) %529 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17 %530 = load float, ptr %529, align 4 %531 = load float, ptr %23, align 4 %532 = fmul float %530, %531 %533 = load float, ptr %29, align 4 %534 = call float @llvm.fmuladd.f32(float %532, float %533, float %528) %535 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18 %536 = load float, ptr %535, align 8 %537 = load float, ptr %30, align 4 %538 = call float @llvm.fmuladd.f32(float %536, float %537, float %534) %539 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19 %540 = load float, ptr %539, align 4 %541 = fmul float 2.000000e+00, %540 %542 = load float, ptr %31, align 4 %543 = fmul float %541, %542 %544 = load float, ptr %25, align 4 %545 = fmul float %543, %544 %546 = load float, ptr %28, align 4 %547 = call float @llvm.fmuladd.f32(float %545, float %546, float %538) %548 = call float @pow(float noundef %547, i32 noundef 2) %549 = call float @llvm.fmuladd.f32(float %491, float %548, float %488) %550 = call float @sqrt(float noundef %549) br label %551 551: ; preds = %314, %313 %552 = phi float [ 0.000000e+00, %313 ], [ %550, %314 ] store float %552, ptr %36, align 4 %553 = load float, ptr %36, align 4 %554 = load ptr, ptr %5, align 8 %555 = getelementptr inbounds float, ptr %554, i64 0 store float %553, ptr %555, align 4 %556 = load float, ptr %34, align 4 ret float %556 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare float @sqrt(float noundef) #4 declare float @pow(float noundef, i32 noundef) #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" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp6q9umfov.c" target datalayout = "e-m:e-p270: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.target_phi.coeff = private unnamed_addr constant [21 x float] [float 0xBE58459A60000000, float 0xBFAD751280000000, float 0x3FB1CD7A60000000, float 0x3F7046AA20000000, float 0xBF7D3EAE20000000, float 0xBF7B0A9CC0000000, float 0x3F88402320000000, float 0xBF14909DE0000000, float 0x3F210D4880000000, float 0x3F0FE16780000000, float 0xBEFAFF8C80000000, float 0xBF3071A3C0000000, float 0x3F35D43560000000, float 0x3F1D0D7480000000, float 0x3F1D32E080000000, float 0xBF308A5000000000, float 0xBF219FB0E0000000, float 0x3F47958380000000, float 0xBF47B82140000000, float 0x3F12697D40000000, float 0.000000e+00], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @target_phi(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca float, align 4 %9 = alloca [10 x float], align 16 %10 = alloca [10 x float], align 16 %11 = alloca [10 x float], align 16 %12 = alloca [21 x float], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca float, align 4 %20 = alloca float, align 4 %21 = alloca float, align 4 %22 = alloca float, align 4 %23 = alloca float, align 4 %24 = alloca float, align 4 %25 = alloca float, align 4 %26 = alloca float, align 4 %27 = alloca float, align 4 %28 = alloca float, align 4 %29 = alloca float, align 4 %30 = alloca float, align 4 %31 = alloca float, align 4 %32 = alloca float, align 4 %33 = alloca float, align 4 %34 = alloca float, align 4 %35 = alloca float, align 4 %36 = alloca float, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 20, ptr %7, align 4 store float 0x3F39E1BE60000000, ptr %8, align 4 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false) %37 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0 store float -1.500000e+01, ptr %37, align 16 %38 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1 store float -1.500000e+01, ptr %38, align 4 %39 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2 store float -1.800000e+01, ptr %39, align 8 %40 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3 store float 0xC032045A20000000, ptr %40, align 4 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false) %41 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0 store float 1.500000e+01, ptr %41, align 16 %42 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1 store float 1.500000e+01, ptr %42, align 4 %43 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2 store float 1.800000e+01, ptr %43, align 8 %44 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3 store float 0x4031FC2900000000, ptr %44, align 4 call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_phi.coeff, i64 84, i1 false) store i32 0, ptr %13, align 4 %45 = load i32, ptr %13, align 4 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %85 47: ; preds = %3 store i32 1, ptr %13, align 4 store i32 0, ptr %14, align 4 %48 = load i32, ptr %14, align 4 %49 = load i32, ptr %6, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %.lr.ph, label %84 .lr.ph: ; preds = %47 br label %51 51: ; preds = %.lr.ph, %78 %52 = load i32, ptr %14, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %53 %55 = load float, ptr %54, align 4 %56 = load i32, ptr %14, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %57 %59 = load float, ptr %58, align 4 %60 = fcmp oeq float %55, %59 br i1 %60, label %61, label %62 61: ; preds = %51 br label %78 62: ; preds = %51 %63 = load i32, ptr %14, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %64 %66 = load float, ptr %65, align 4 %67 = load i32, ptr %14, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %68 %70 = load float, ptr %69, align 4 %71 = fsub float %66, %70 %72 = fpext float %71 to double %73 = fdiv double 2.000000e+00, %72 %74 = fptrunc double %73 to float %75 = load i32, ptr %14, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %76 store float %74, ptr %77, align 4 br label %78 78: ; preds = %62, %61 %79 = load i32, ptr %14, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %14, align 4 %81 = load i32, ptr %14, align 4 %82 = load i32, ptr %6, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %51, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %78 br label %84 84: ; preds = %._crit_edge, %47 br label %85 85: ; preds = %84, %3 %86 = load ptr, ptr %4, align 8 %87 = getelementptr inbounds float, ptr %86, i64 0 %88 = load float, ptr %87, align 4 %89 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0 %90 = load float, ptr %89, align 16 %91 = fsub float %88, %90 %92 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0 %93 = load float, ptr %92, align 16 %94 = fmul float %91, %93 %95 = fpext float %94 to double %96 = fadd double 1.000000e+00, %95 %97 = fptrunc double %96 to float store float %97, ptr %15, align 4 %98 = load ptr, ptr %5, align 8 %99 = getelementptr inbounds float, ptr %98, i64 0 %100 = load float, ptr %99, align 4 %101 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0 %102 = load float, ptr %101, align 16 %103 = fmul float %100, %102 store float %103, ptr %16, align 4 %104 = load ptr, ptr %4, align 8 %105 = getelementptr inbounds float, ptr %104, i64 1 %106 = load float, ptr %105, align 4 %107 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1 %108 = load float, ptr %107, align 4 %109 = fsub float %106, %108 %110 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1 %111 = load float, ptr %110, align 4 %112 = fmul float %109, %111 %113 = fpext float %112 to double %114 = fadd double 1.000000e+00, %113 %115 = fptrunc double %114 to float store float %115, ptr %17, align 4 %116 = load ptr, ptr %5, align 8 %117 = getelementptr inbounds float, ptr %116, i64 1 %118 = load float, ptr %117, align 4 %119 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1 %120 = load float, ptr %119, align 4 %121 = fmul float %118, %120 store float %121, ptr %18, align 4 %122 = load ptr, ptr %4, align 8 %123 = getelementptr inbounds float, ptr %122, i64 2 %124 = load float, ptr %123, align 4 %125 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2 %126 = load float, ptr %125, align 8 %127 = fsub float %124, %126 %128 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2 %129 = load float, ptr %128, align 8 %130 = fmul float %127, %129 %131 = fpext float %130 to double %132 = fadd double 1.000000e+00, %131 %133 = fptrunc double %132 to float store float %133, ptr %19, align 4 %134 = load ptr, ptr %5, align 8 %135 = getelementptr inbounds float, ptr %134, i64 2 %136 = load float, ptr %135, align 4 %137 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2 %138 = load float, ptr %137, align 8 %139 = fmul float %136, %138 store float %139, ptr %20, align 4 %140 = load ptr, ptr %4, align 8 %141 = getelementptr inbounds float, ptr %140, i64 3 %142 = load float, ptr %141, align 4 %143 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3 %144 = load float, ptr %143, align 4 %145 = fsub float %142, %144 %146 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3 %147 = load float, ptr %146, align 4 %148 = fmul float %145, %147 %149 = fpext float %148 to double %150 = fadd double 1.000000e+00, %149 %151 = fptrunc double %150 to float store float %151, ptr %21, align 4 %152 = load ptr, ptr %5, align 8 %153 = getelementptr inbounds float, ptr %152, i64 3 %154 = load float, ptr %153, align 4 %155 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3 %156 = load float, ptr %155, align 4 %157 = fmul float %154, %156 store float %157, ptr %22, align 4 %158 = load float, ptr %15, align 4 store float %158, ptr %23, align 4 %159 = load float, ptr %23, align 4 %160 = load float, ptr %15, align 4 %161 = fmul float %159, %160 store float %161, ptr %24, align 4 %162 = load float, ptr %17, align 4 store float %162, ptr %25, align 4 %163 = load float, ptr %25, align 4 %164 = load float, ptr %17, align 4 %165 = fmul float %163, %164 store float %165, ptr %26, align 4 %166 = load float, ptr %26, align 4 %167 = load float, ptr %17, align 4 %168 = fmul float %166, %167 store float %168, ptr %27, align 4 %169 = load float, ptr %19, align 4 store float %169, ptr %28, align 4 %170 = load float, ptr %28, align 4 %171 = load float, ptr %19, align 4 %172 = fmul float %170, %171 store float %172, ptr %29, align 4 %173 = load float, ptr %29, align 4 %174 = load float, ptr %19, align 4 %175 = fmul float %173, %174 store float %175, ptr %30, align 4 %176 = load float, ptr %21, align 4 store float %176, ptr %31, align 4 %177 = load float, ptr %31, align 4 %178 = load float, ptr %21, align 4 %179 = fmul float %177, %178 store float %179, ptr %32, align 4 %180 = load float, ptr %32, align 4 %181 = load float, ptr %21, align 4 %182 = fmul float %180, %181 store float %182, ptr %33, align 4 %183 = load float, ptr %8, align 4 %184 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 0 %185 = load float, ptr %184, align 16 %186 = fadd float %183, %185 %187 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1 %188 = load float, ptr %187, align 4 %189 = load float, ptr %23, align 4 %190 = call float @llvm.fmuladd.f32(float %188, float %189, float %186) %191 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2 %192 = load float, ptr %191, align 8 %193 = load float, ptr %28, align 4 %194 = call float @llvm.fmuladd.f32(float %192, float %193, float %190) %195 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3 %196 = load float, ptr %195, align 4 %197 = load float, ptr %23, align 4 %198 = fmul float %196, %197 %199 = load float, ptr %25, align 4 %200 = call float @llvm.fmuladd.f32(float %198, float %199, float %194) %201 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4 %202 = load float, ptr %201, align 16 %203 = load float, ptr %25, align 4 %204 = fmul float %202, %203 %205 = load float, ptr %28, align 4 %206 = call float @llvm.fmuladd.f32(float %204, float %205, float %200) %207 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5 %208 = load float, ptr %207, align 4 %209 = load float, ptr %23, align 4 %210 = fmul float %208, %209 %211 = load float, ptr %31, align 4 %212 = call float @llvm.fmuladd.f32(float %210, float %211, float %206) %213 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6 %214 = load float, ptr %213, align 8 %215 = load float, ptr %28, align 4 %216 = fmul float %214, %215 %217 = load float, ptr %31, align 4 %218 = call float @llvm.fmuladd.f32(float %216, float %217, float %212) %219 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7 %220 = load float, ptr %219, align 4 %221 = load float, ptr %25, align 4 %222 = call float @llvm.fmuladd.f32(float %220, float %221, float %218) store float %222, ptr %34, align 4 %223 = load float, ptr %34, align 4 %224 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8 %225 = load float, ptr %224, align 16 %226 = load float, ptr %31, align 4 %227 = call float @llvm.fmuladd.f32(float %225, float %226, float %223) %228 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9 %229 = load float, ptr %228, align 4 %230 = load float, ptr %28, align 4 %231 = fmul float %229, %230 %232 = load float, ptr %32, align 4 %233 = call float @llvm.fmuladd.f32(float %231, float %232, float %227) %234 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10 %235 = load float, ptr %234, align 8 %236 = load float, ptr %23, align 4 %237 = fmul float %235, %236 %238 = load float, ptr %26, align 4 %239 = call float @llvm.fmuladd.f32(float %237, float %238, float %233) %240 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11 %241 = load float, ptr %240, align 4 %242 = load float, ptr %23, align 4 %243 = fmul float %241, %242 %244 = load float, ptr %25, align 4 %245 = fmul float %243, %244 %246 = load float, ptr %29, align 4 %247 = call float @llvm.fmuladd.f32(float %245, float %246, float %239) %248 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12 %249 = load float, ptr %248, align 16 %250 = load float, ptr %25, align 4 %251 = fmul float %249, %250 %252 = load float, ptr %30, align 4 %253 = call float @llvm.fmuladd.f32(float %251, float %252, float %247) %254 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13 %255 = load float, ptr %254, align 4 %256 = load float, ptr %23, align 4 %257 = fmul float %255, %256 %258 = load float, ptr %33, align 4 %259 = call float @llvm.fmuladd.f32(float %257, float %258, float %253) %260 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14 %261 = load float, ptr %260, align 8 %262 = load float, ptr %23, align 4 %263 = fmul float %261, %262 %264 = load float, ptr %27, align 4 %265 = call float @llvm.fmuladd.f32(float %263, float %264, float %259) %266 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15 %267 = load float, ptr %266, align 4 %268 = load float, ptr %23, align 4 %269 = fmul float %267, %268 %270 = load float, ptr %26, align 4 %271 = fmul float %269, %270 %272 = load float, ptr %31, align 4 %273 = call float @llvm.fmuladd.f32(float %271, float %272, float %265) %274 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16 %275 = load float, ptr %274, align 16 %276 = load float, ptr %24, align 4 %277 = fmul float %275, %276 %278 = load float, ptr %28, align 4 %279 = fmul float %277, %278 %280 = load float, ptr %31, align 4 %281 = call float @llvm.fmuladd.f32(float %279, float %280, float %273) store float %281, ptr %34, align 4 %282 = load float, ptr %34, align 4 %283 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17 %284 = load float, ptr %283, align 4 %285 = load float, ptr %23, align 4 %286 = fmul float %284, %285 %287 = load float, ptr %29, align 4 %288 = fmul float %286, %287 %289 = load float, ptr %31, align 4 %290 = call float @llvm.fmuladd.f32(float %288, float %289, float %282) %291 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18 %292 = load float, ptr %291, align 8 %293 = load float, ptr %30, align 4 %294 = fmul float %292, %293 %295 = load float, ptr %31, align 4 %296 = call float @llvm.fmuladd.f32(float %294, float %295, float %290) %297 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19 %298 = load float, ptr %297, align 4 %299 = load float, ptr %25, align 4 %300 = fmul float %298, %299 %301 = load float, ptr %28, align 4 %302 = fmul float %300, %301 %303 = load float, ptr %32, align 4 %304 = call float @llvm.fmuladd.f32(float %302, float %303, float %296) store float %304, ptr %34, align 4 %305 = load float, ptr %16, align 4 %306 = fadd float 0.000000e+00, %305 %307 = load float, ptr %18, align 4 %308 = fadd float %306, %307 %309 = load float, ptr %20, align 4 %310 = fadd float %308, %309 %311 = load float, ptr %22, align 4 %312 = fadd float %310, %311 store float %312, ptr %35, align 4 %313 = load float, ptr %35, align 4 %314 = fcmp oeq float %313, 0.000000e+00 br i1 %314, label %315, label %316 315: ; preds = %85 br label %553 316: ; preds = %85 %317 = load float, ptr %16, align 4 %318 = load float, ptr %16, align 4 %319 = fmul float %317, %318 %320 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 1 %321 = load float, ptr %320, align 4 %322 = fadd float 0.000000e+00, %321 %323 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3 %324 = load float, ptr %323, align 4 %325 = load float, ptr %25, align 4 %326 = call float @llvm.fmuladd.f32(float %324, float %325, float %322) %327 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5 %328 = load float, ptr %327, align 4 %329 = load float, ptr %31, align 4 %330 = call float @llvm.fmuladd.f32(float %328, float %329, float %326) %331 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10 %332 = load float, ptr %331, align 8 %333 = load float, ptr %26, align 4 %334 = call float @llvm.fmuladd.f32(float %332, float %333, float %330) %335 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11 %336 = load float, ptr %335, align 4 %337 = load float, ptr %25, align 4 %338 = fmul float %336, %337 %339 = load float, ptr %29, align 4 %340 = call float @llvm.fmuladd.f32(float %338, float %339, float %334) %341 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13 %342 = load float, ptr %341, align 4 %343 = load float, ptr %33, align 4 %344 = call float @llvm.fmuladd.f32(float %342, float %343, float %340) %345 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14 %346 = load float, ptr %345, align 8 %347 = load float, ptr %27, align 4 %348 = call float @llvm.fmuladd.f32(float %346, float %347, float %344) %349 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15 %350 = load float, ptr %349, align 4 %351 = load float, ptr %26, align 4 %352 = fmul float %350, %351 %353 = load float, ptr %31, align 4 %354 = call float @llvm.fmuladd.f32(float %352, float %353, float %348) %355 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16 %356 = load float, ptr %355, align 16 %357 = fmul float 2.000000e+00, %356 %358 = load float, ptr %23, align 4 %359 = fmul float %357, %358 %360 = load float, ptr %28, align 4 %361 = fmul float %359, %360 %362 = load float, ptr %31, align 4 %363 = call float @llvm.fmuladd.f32(float %361, float %362, float %354) %364 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17 %365 = load float, ptr %364, align 4 %366 = load float, ptr %29, align 4 %367 = fmul float %365, %366 %368 = load float, ptr %31, align 4 %369 = call float @llvm.fmuladd.f32(float %367, float %368, float %363) %370 = call float @pow(float noundef %369, i32 noundef 2) %371 = load float, ptr %18, align 4 %372 = load float, ptr %18, align 4 %373 = fmul float %371, %372 %374 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 3 %375 = load float, ptr %374, align 4 %376 = load float, ptr %23, align 4 %377 = call float @llvm.fmuladd.f32(float %375, float %376, float 0.000000e+00) %378 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4 %379 = load float, ptr %378, align 16 %380 = load float, ptr %28, align 4 %381 = call float @llvm.fmuladd.f32(float %379, float %380, float %377) %382 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 7 %383 = load float, ptr %382, align 4 %384 = fadd float %381, %383 %385 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 10 %386 = load float, ptr %385, align 8 %387 = fmul float 2.000000e+00, %386 %388 = load float, ptr %25, align 4 %389 = fmul float %387, %388 %390 = load float, ptr %23, align 4 %391 = call float @llvm.fmuladd.f32(float %389, float %390, float %384) %392 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11 %393 = load float, ptr %392, align 4 %394 = load float, ptr %23, align 4 %395 = fmul float %393, %394 %396 = load float, ptr %29, align 4 %397 = call float @llvm.fmuladd.f32(float %395, float %396, float %391) %398 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12 %399 = load float, ptr %398, align 16 %400 = load float, ptr %30, align 4 %401 = call float @llvm.fmuladd.f32(float %399, float %400, float %397) %402 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 14 %403 = load float, ptr %402, align 8 %404 = fmul float 3.000000e+00, %403 %405 = load float, ptr %26, align 4 %406 = fmul float %404, %405 %407 = load float, ptr %23, align 4 %408 = call float @llvm.fmuladd.f32(float %406, float %407, float %401) %409 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15 %410 = load float, ptr %409, align 4 %411 = fmul float 2.000000e+00, %410 %412 = load float, ptr %25, align 4 %413 = fmul float %411, %412 %414 = load float, ptr %23, align 4 %415 = fmul float %413, %414 %416 = load float, ptr %31, align 4 %417 = call float @llvm.fmuladd.f32(float %415, float %416, float %408) %418 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19 %419 = load float, ptr %418, align 4 %420 = load float, ptr %28, align 4 %421 = fmul float %419, %420 %422 = load float, ptr %32, align 4 %423 = call float @llvm.fmuladd.f32(float %421, float %422, float %417) %424 = call float @pow(float noundef %423, i32 noundef 2) %425 = fmul float %373, %424 %426 = call float @llvm.fmuladd.f32(float %319, float %370, float %425) %427 = load float, ptr %20, align 4 %428 = load float, ptr %20, align 4 %429 = fmul float %427, %428 %430 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 2 %431 = load float, ptr %430, align 8 %432 = fadd float 0.000000e+00, %431 %433 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 4 %434 = load float, ptr %433, align 16 %435 = load float, ptr %25, align 4 %436 = call float @llvm.fmuladd.f32(float %434, float %435, float %432) %437 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6 %438 = load float, ptr %437, align 8 %439 = load float, ptr %31, align 4 %440 = call float @llvm.fmuladd.f32(float %438, float %439, float %436) %441 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9 %442 = load float, ptr %441, align 4 %443 = load float, ptr %32, align 4 %444 = call float @llvm.fmuladd.f32(float %442, float %443, float %440) %445 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 11 %446 = load float, ptr %445, align 4 %447 = fmul float 2.000000e+00, %446 %448 = load float, ptr %28, align 4 %449 = fmul float %447, %448 %450 = load float, ptr %23, align 4 %451 = fmul float %449, %450 %452 = load float, ptr %25, align 4 %453 = call float @llvm.fmuladd.f32(float %451, float %452, float %444) %454 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 12 %455 = load float, ptr %454, align 16 %456 = fmul float 3.000000e+00, %455 %457 = load float, ptr %29, align 4 %458 = fmul float %456, %457 %459 = load float, ptr %25, align 4 %460 = call float @llvm.fmuladd.f32(float %458, float %459, float %453) %461 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16 %462 = load float, ptr %461, align 16 %463 = load float, ptr %24, align 4 %464 = fmul float %462, %463 %465 = load float, ptr %31, align 4 %466 = call float @llvm.fmuladd.f32(float %464, float %465, float %460) %467 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17 %468 = load float, ptr %467, align 4 %469 = fmul float 2.000000e+00, %468 %470 = load float, ptr %28, align 4 %471 = fmul float %469, %470 %472 = load float, ptr %23, align 4 %473 = fmul float %471, %472 %474 = load float, ptr %31, align 4 %475 = call float @llvm.fmuladd.f32(float %473, float %474, float %466) %476 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18 %477 = load float, ptr %476, align 8 %478 = fmul float 3.000000e+00, %477 %479 = load float, ptr %29, align 4 %480 = fmul float %478, %479 %481 = load float, ptr %31, align 4 %482 = call float @llvm.fmuladd.f32(float %480, float %481, float %475) %483 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19 %484 = load float, ptr %483, align 4 %485 = load float, ptr %25, align 4 %486 = fmul float %484, %485 %487 = load float, ptr %32, align 4 %488 = call float @llvm.fmuladd.f32(float %486, float %487, float %482) %489 = call float @pow(float noundef %488, i32 noundef 2) %490 = call float @llvm.fmuladd.f32(float %429, float %489, float %426) %491 = load float, ptr %22, align 4 %492 = load float, ptr %22, align 4 %493 = fmul float %491, %492 %494 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 5 %495 = load float, ptr %494, align 4 %496 = load float, ptr %23, align 4 %497 = call float @llvm.fmuladd.f32(float %495, float %496, float 0.000000e+00) %498 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 6 %499 = load float, ptr %498, align 8 %500 = load float, ptr %28, align 4 %501 = call float @llvm.fmuladd.f32(float %499, float %500, float %497) %502 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 8 %503 = load float, ptr %502, align 16 %504 = fadd float %501, %503 %505 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 9 %506 = load float, ptr %505, align 4 %507 = fmul float 2.000000e+00, %506 %508 = load float, ptr %31, align 4 %509 = fmul float %507, %508 %510 = load float, ptr %28, align 4 %511 = call float @llvm.fmuladd.f32(float %509, float %510, float %504) %512 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 13 %513 = load float, ptr %512, align 4 %514 = fmul float 3.000000e+00, %513 %515 = load float, ptr %32, align 4 %516 = fmul float %514, %515 %517 = load float, ptr %23, align 4 %518 = call float @llvm.fmuladd.f32(float %516, float %517, float %511) %519 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 15 %520 = load float, ptr %519, align 4 %521 = load float, ptr %23, align 4 %522 = fmul float %520, %521 %523 = load float, ptr %26, align 4 %524 = call float @llvm.fmuladd.f32(float %522, float %523, float %518) %525 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 16 %526 = load float, ptr %525, align 16 %527 = load float, ptr %24, align 4 %528 = fmul float %526, %527 %529 = load float, ptr %28, align 4 %530 = call float @llvm.fmuladd.f32(float %528, float %529, float %524) %531 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 17 %532 = load float, ptr %531, align 4 %533 = load float, ptr %23, align 4 %534 = fmul float %532, %533 %535 = load float, ptr %29, align 4 %536 = call float @llvm.fmuladd.f32(float %534, float %535, float %530) %537 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 18 %538 = load float, ptr %537, align 8 %539 = load float, ptr %30, align 4 %540 = call float @llvm.fmuladd.f32(float %538, float %539, float %536) %541 = getelementptr inbounds [21 x float], ptr %12, i64 0, i64 19 %542 = load float, ptr %541, align 4 %543 = fmul float 2.000000e+00, %542 %544 = load float, ptr %31, align 4 %545 = fmul float %543, %544 %546 = load float, ptr %25, align 4 %547 = fmul float %545, %546 %548 = load float, ptr %28, align 4 %549 = call float @llvm.fmuladd.f32(float %547, float %548, float %540) %550 = call float @pow(float noundef %549, i32 noundef 2) %551 = call float @llvm.fmuladd.f32(float %493, float %550, float %490) %552 = call float @sqrt(float noundef %551) br label %553 553: ; preds = %316, %315 %554 = phi float [ 0.000000e+00, %315 ], [ %552, %316 ] store float %554, ptr %36, align 4 %555 = load float, ptr %36, align 4 %556 = load ptr, ptr %5, align 8 %557 = getelementptr inbounds float, ptr %556, i64 0 store float %555, ptr %557, align 4 %558 = load float, ptr %34, align 4 ret float %558 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare float @sqrt(float noundef) #4 declare float @pow(float noundef, i32 noundef) #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" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpv2o0lh_z.c' source_filename = "/tmp/tmpv2o0lh_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_7__ = type { i32, i32 } %struct.TYPE_9__ = type { i32, i32, ptr, ptr, ptr } %struct.TYPE_8__ = type { i64, %struct.TYPE_7__ } @ASN1_TFLG_ADB_MASK = dso_local global i32 0, align 4 @ASN1_TFLG_ADB_OID = dso_local global i32 0, align 4 @ASN1_F_ASN1_DO_ADB = dso_local global i32 0, align 4 @ASN1_R_UNSUPPORTED_ANY_DEFINED_BY_TYPE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @asn1_do_adb(ptr noundef %0, ptr noundef %1, i32 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 ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %13 = load ptr, ptr %6, align 8 %14 = getelementptr inbounds %struct.TYPE_7__, ptr %13, i32 0, i32 0 %15 = load i32, ptr %14, align 4 %16 = load i32, ptr @ASN1_TFLG_ADB_MASK, align 4 %17 = and i32 %15, %16 %18 = icmp ne i32 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %3 %20 = load ptr, ptr %6, align 8 store ptr %20, ptr %4, align 8 br label %103 21: ; preds = %3 %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds %struct.TYPE_7__, ptr %22, i32 0, i32 1 %24 = load i32, ptr %23, align 4 %25 = call ptr @ASN1_ADB_ptr(i32 noundef %24) store ptr %25, ptr %8, align 8 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %26, align 8 %28 = load ptr, ptr %8, align 8 %29 = getelementptr inbounds %struct.TYPE_9__, ptr %28, i32 0, i32 0 %30 = load i32, ptr %29, align 8 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %27, i64 %31 store ptr %32, ptr %11, align 8 %33 = load ptr, ptr %11, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %45, label %35 35: ; preds = %21 %36 = load ptr, ptr %8, align 8 %37 = getelementptr inbounds %struct.TYPE_9__, ptr %36, i32 0, i32 4 %38 = load ptr, ptr %37, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %41, label %40 40: ; preds = %35 br label %95 41: ; preds = %35 %42 = load ptr, ptr %8, align 8 %43 = getelementptr inbounds %struct.TYPE_9__, ptr %42, i32 0, i32 4 %44 = load ptr, ptr %43, align 8 store ptr %44, ptr %4, align 8 br label %103 45: ; preds = %21 %46 = load ptr, ptr %6, align 8 %47 = getelementptr inbounds %struct.TYPE_7__, ptr %46, i32 0, i32 0 %48 = load i32, ptr %47, align 4 %49 = load i32, ptr @ASN1_TFLG_ADB_OID, align 4 %50 = and i32 %48, %49 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %56 52: ; preds = %45 %53 = load ptr, ptr %11, align 8 %54 = load ptr, ptr %53, align 8 %55 = call i64 @OBJ_obj2nid(ptr noundef %54) store i64 %55, ptr %10, align 8 br label %60 56: ; preds = %45 %57 = load ptr, ptr %11, align 8 %58 = load ptr, ptr %57, align 8 %59 = call i64 @ASN1_INTEGER_get(ptr noundef %58) store i64 %59, ptr %10, align 8 br label %60 60: ; preds = %56, %52 %61 = load ptr, ptr %8, align 8 %62 = getelementptr inbounds %struct.TYPE_9__, ptr %61, i32 0, i32 3 %63 = load ptr, ptr %62, align 8 store ptr %63, ptr %9, align 8 store i32 0, ptr %12, align 4 br label %64 64: ; preds = %80, %60 %65 = load i32, ptr %12, align 4 %66 = load ptr, ptr %8, align 8 %67 = getelementptr inbounds %struct.TYPE_9__, ptr %66, i32 0, i32 1 %68 = load i32, ptr %67, align 4 %69 = icmp slt i32 %65, %68 br i1 %69, label %70, label %85 70: ; preds = %64 %71 = load ptr, ptr %9, align 8 %72 = getelementptr inbounds %struct.TYPE_8__, ptr %71, i32 0, i32 0 %73 = load i64, ptr %72, align 8 %74 = load i64, ptr %10, align 8 %75 = icmp eq i64 %73, %74 br i1 %75, label %76, label %79 76: ; preds = %70 %77 = load ptr, ptr %9, align 8 %78 = getelementptr inbounds %struct.TYPE_8__, ptr %77, i32 0, i32 1 store ptr %78, ptr %4, align 8 br label %103 79: ; preds = %70 br label %80 80: ; preds = %79 %81 = load i32, ptr %12, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %12, align 4 %83 = load ptr, ptr %9, align 8 %84 = getelementptr inbounds %struct.TYPE_8__, ptr %83, i32 1 store ptr %84, ptr %9, align 8 br label %64, !llvm.loop !6 85: ; preds = %64 %86 = load ptr, ptr %8, align 8 %87 = getelementptr inbounds %struct.TYPE_9__, ptr %86, i32 0, i32 2 %88 = load ptr, ptr %87, align 8 %89 = icmp ne ptr %88, null br i1 %89, label %91, label %90 90: ; preds = %85 br label %95 91: ; preds = %85 %92 = load ptr, ptr %8, align 8 %93 = getelementptr inbounds %struct.TYPE_9__, ptr %92, i32 0, i32 2 %94 = load ptr, ptr %93, align 8 store ptr %94, ptr %4, align 8 br label %103 95: ; preds = %90, %40 %96 = load i32, ptr %7, align 4 %97 = icmp ne i32 %96, 0 br i1 %97, label %98, label %102 98: ; preds = %95 %99 = load i32, ptr @ASN1_F_ASN1_DO_ADB, align 4 %100 = load i32, ptr @ASN1_R_UNSUPPORTED_ANY_DEFINED_BY_TYPE, align 4 %101 = call i32 @ASN1err(i32 noundef %99, i32 noundef %100) br label %102 102: ; preds = %98, %95 store ptr null, ptr %4, align 8 br label %103 103: ; preds = %102, %91, %76, %41, %19 %104 = load ptr, ptr %4, align 8 ret ptr %104 } declare ptr @ASN1_ADB_ptr(i32 noundef) #1 declare i64 @OBJ_obj2nid(ptr noundef) #1 declare i64 @ASN1_INTEGER_get(ptr noundef) #1 declare i32 @ASN1err(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/tmpv2o0lh_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_7__ = type { i32, i32 } %struct.TYPE_9__ = type { i32, i32, ptr, ptr, ptr } %struct.TYPE_8__ = type { i64, %struct.TYPE_7__ } @ASN1_TFLG_ADB_MASK = dso_local global i32 0, align 4 @ASN1_TFLG_ADB_OID = dso_local global i32 0, align 4 @ASN1_F_ASN1_DO_ADB = dso_local global i32 0, align 4 @ASN1_R_UNSUPPORTED_ANY_DEFINED_BY_TYPE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @asn1_do_adb(ptr noundef %0, ptr noundef %1, i32 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 ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %13 = load ptr, ptr %6, align 8 %14 = getelementptr inbounds %struct.TYPE_7__, ptr %13, i32 0, i32 0 %15 = load i32, ptr %14, align 4 %16 = load i32, ptr @ASN1_TFLG_ADB_MASK, align 4 %17 = and i32 %15, %16 %18 = icmp ne i32 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %3 %20 = load ptr, ptr %6, align 8 store ptr %20, ptr %4, align 8 br label %107 21: ; preds = %3 %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds %struct.TYPE_7__, ptr %22, i32 0, i32 1 %24 = load i32, ptr %23, align 4 %25 = call ptr @ASN1_ADB_ptr(i32 noundef %24) store ptr %25, ptr %8, align 8 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %26, align 8 %28 = load ptr, ptr %8, align 8 %29 = getelementptr inbounds %struct.TYPE_9__, ptr %28, i32 0, i32 0 %30 = load i32, ptr %29, align 8 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %27, i64 %31 store ptr %32, ptr %11, align 8 %33 = load ptr, ptr %11, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %45, label %35 35: ; preds = %21 %36 = load ptr, ptr %8, align 8 %37 = getelementptr inbounds %struct.TYPE_9__, ptr %36, i32 0, i32 4 %38 = load ptr, ptr %37, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %41, label %40 40: ; preds = %35 br label %99 41: ; preds = %35 %42 = load ptr, ptr %8, align 8 %43 = getelementptr inbounds %struct.TYPE_9__, ptr %42, i32 0, i32 4 %44 = load ptr, ptr %43, align 8 store ptr %44, ptr %4, align 8 br label %107 45: ; preds = %21 %46 = load ptr, ptr %6, align 8 %47 = getelementptr inbounds %struct.TYPE_7__, ptr %46, i32 0, i32 0 %48 = load i32, ptr %47, align 4 %49 = load i32, ptr @ASN1_TFLG_ADB_OID, align 4 %50 = and i32 %48, %49 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %56 52: ; preds = %45 %53 = load ptr, ptr %11, align 8 %54 = load ptr, ptr %53, align 8 %55 = call i64 @OBJ_obj2nid(ptr noundef %54) store i64 %55, ptr %10, align 8 br label %60 56: ; preds = %45 %57 = load ptr, ptr %11, align 8 %58 = load ptr, ptr %57, align 8 %59 = call i64 @ASN1_INTEGER_get(ptr noundef %58) store i64 %59, ptr %10, align 8 br label %60 60: ; preds = %56, %52 %61 = load ptr, ptr %8, align 8 %62 = getelementptr inbounds %struct.TYPE_9__, ptr %61, i32 0, i32 3 %63 = load ptr, ptr %62, align 8 store ptr %63, ptr %9, align 8 store i32 0, ptr %12, align 4 %64 = load i32, ptr %12, align 4 %65 = load ptr, ptr %8, align 8 %66 = getelementptr inbounds %struct.TYPE_9__, ptr %65, i32 0, i32 1 %67 = load i32, ptr %66, align 4 %68 = icmp slt i32 %64, %67 br i1 %68, label %.lr.ph, label %89 .lr.ph: ; preds = %60 br label %69 69: ; preds = %.lr.ph, %79 %70 = load ptr, ptr %9, align 8 %71 = getelementptr inbounds %struct.TYPE_8__, ptr %70, i32 0, i32 0 %72 = load i64, ptr %71, align 8 %73 = load i64, ptr %10, align 8 %74 = icmp eq i64 %72, %73 br i1 %74, label %75, label %78 75: ; preds = %69 %76 = load ptr, ptr %9, align 8 %77 = getelementptr inbounds %struct.TYPE_8__, ptr %76, i32 0, i32 1 store ptr %77, ptr %4, align 8 br label %107 78: ; preds = %69 br label %79 79: ; preds = %78 %80 = load i32, ptr %12, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %12, align 4 %82 = load ptr, ptr %9, align 8 %83 = getelementptr inbounds %struct.TYPE_8__, ptr %82, i32 1 store ptr %83, ptr %9, align 8 %84 = load i32, ptr %12, align 4 %85 = load ptr, ptr %8, align 8 %86 = getelementptr inbounds %struct.TYPE_9__, ptr %85, i32 0, i32 1 %87 = load i32, ptr %86, align 4 %88 = icmp slt i32 %84, %87 br i1 %88, label %69, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %79 br label %89 89: ; preds = %._crit_edge, %60 %90 = load ptr, ptr %8, align 8 %91 = getelementptr inbounds %struct.TYPE_9__, ptr %90, i32 0, i32 2 %92 = load ptr, ptr %91, align 8 %93 = icmp ne ptr %92, null br i1 %93, label %95, label %94 94: ; preds = %89 br label %99 95: ; preds = %89 %96 = load ptr, ptr %8, align 8 %97 = getelementptr inbounds %struct.TYPE_9__, ptr %96, i32 0, i32 2 %98 = load ptr, ptr %97, align 8 store ptr %98, ptr %4, align 8 br label %107 99: ; preds = %94, %40 %100 = load i32, ptr %7, align 4 %101 = icmp ne i32 %100, 0 br i1 %101, label %102, label %106 102: ; preds = %99 %103 = load i32, ptr @ASN1_F_ASN1_DO_ADB, align 4 %104 = load i32, ptr @ASN1_R_UNSUPPORTED_ANY_DEFINED_BY_TYPE, align 4 %105 = call i32 @ASN1err(i32 noundef %103, i32 noundef %104) br label %106 106: ; preds = %102, %99 store ptr null, ptr %4, align 8 br label %107 107: ; preds = %106, %95, %75, %41, %19 %108 = load ptr, ptr %4, align 8 ret ptr %108 } declare ptr @ASN1_ADB_ptr(i32 noundef) #1 declare i64 @OBJ_obj2nid(ptr noundef) #1 declare i64 @ASN1_INTEGER_get(ptr noundef) #1 declare i32 @ASN1err(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/tmpev8_j9cg.c' source_filename = "/tmp/tmpev8_j9cg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [5 x i8] c"path\00", align 1 @.str.1 = private unnamed_addr constant [141 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/yuyuyu101/wheatserver/refs/heads/master/src/util.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @isRegFile(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 br label %6 6: ; preds = %1 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %11, label %9 9: ; preds = %6 %10 = call i32 @wheat_assert(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 283, i32 noundef 1) br label %11 11: ; preds = %9, %6 br label %12 12: ; preds = %11 %13 = load ptr, ptr %3, align 8 %14 = call i32 @lstat(ptr noundef %13, ptr noundef %4) store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %18 17: ; preds = %12 store i32 -1, ptr %2, align 4 br label %25 18: ; preds = %12 %19 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %20 = load i32, ptr %19, align 4 %21 = call i64 @S_ISREG(i32 noundef %20) %22 = icmp eq i64 %21, 0 %23 = zext i1 %22 to i64 %24 = select i1 %22, i32 -1, i32 0 store i32 %24, ptr %2, align 4 br label %25 25: ; preds = %18, %17 %26 = load i32, ptr %2, align 4 ret i32 %26 } declare i32 @wheat_assert(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @lstat(ptr noundef, ptr noundef) #1 declare i64 @S_ISREG(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/tmpev8_j9cg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [5 x i8] c"path\00", align 1 @.str.1 = private unnamed_addr constant [141 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/yuyuyu101/wheatserver/refs/heads/master/src/util.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @isRegFile(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 br label %6 6: ; preds = %1 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %11, label %9 9: ; preds = %6 %10 = call i32 @wheat_assert(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 283, i32 noundef 1) br label %11 11: ; preds = %9, %6 br label %12 12: ; preds = %11 %13 = load ptr, ptr %3, align 8 %14 = call i32 @lstat(ptr noundef %13, ptr noundef %4) store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %18 17: ; preds = %12 store i32 -1, ptr %2, align 4 br label %25 18: ; preds = %12 %19 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %20 = load i32, ptr %19, align 4 %21 = call i64 @S_ISREG(i32 noundef %20) %22 = icmp eq i64 %21, 0 %23 = zext i1 %22 to i64 %24 = select i1 %22, i32 -1, i32 0 store i32 %24, ptr %2, align 4 br label %25 25: ; preds = %18, %17 %26 = load i32, ptr %2, align 4 ret i32 %26 } declare i32 @wheat_assert(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @lstat(ptr noundef, ptr noundef) #1 declare i64 @S_ISREG(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/tmpivbh2uyx.c' source_filename = "/tmp/tmpivbh2uyx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"%ld,%03ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"%ld,%03ld,%03ld\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"%ld,%03ld,%03ld,%03ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fancy_int(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = icmp slt i64 %3, 1000 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i64, ptr %2, align 8 %7 = call i32 (ptr, i64, ...) @printf(ptr noundef @.str, i64 noundef %6) br label %56 8: ; preds = %1 %9 = load i64, ptr %2, align 8 %10 = icmp sge i64 %9, 1000 br i1 %10, label %11, label %20 11: ; preds = %8 %12 = load i64, ptr %2, align 8 %13 = icmp slt i64 %12, 1000000 br i1 %13, label %14, label %20 14: ; preds = %11 %15 = load i64, ptr %2, align 8 %16 = sdiv i64 %15, 1000 %17 = load i64, ptr %2, align 8 %18 = srem i64 %17, 1000 %19 = call i32 (ptr, i64, ...) @printf(ptr noundef @.str.1, i64 noundef %16, i64 noundef %18) br label %55 20: ; preds = %11, %8 %21 = load i64, ptr %2, align 8 %22 = icmp sge i64 %21, 1000000 br i1 %22, label %23, label %35 23: ; preds = %20 %24 = load i64, ptr %2, align 8 %25 = icmp slt i64 %24, 1000000000 br i1 %25, label %26, label %35 26: ; preds = %23 %27 = load i64, ptr %2, align 8 %28 = sdiv i64 %27, 1000000 %29 = load i64, ptr %2, align 8 %30 = srem i64 %29, 1000000 %31 = sdiv i64 %30, 1000 %32 = load i64, ptr %2, align 8 %33 = srem i64 %32, 1000 %34 = call i32 (ptr, i64, ...) @printf(ptr noundef @.str.2, i64 noundef %28, i64 noundef %31, i64 noundef %33) br label %54 35: ; preds = %23, %20 %36 = load i64, ptr %2, align 8 %37 = icmp sge i64 %36, 1000000000 br i1 %37, label %38, label %50 38: ; preds = %35 %39 = load i64, ptr %2, align 8 %40 = sdiv i64 %39, 1000000000 %41 = load i64, ptr %2, align 8 %42 = srem i64 %41, 1000000000 %43 = sdiv i64 %42, 1000000 %44 = load i64, ptr %2, align 8 %45 = srem i64 %44, 1000000 %46 = sdiv i64 %45, 1000 %47 = load i64, ptr %2, align 8 %48 = srem i64 %47, 1000 %49 = call i32 (ptr, i64, ...) @printf(ptr noundef @.str.3, i64 noundef %40, i64 noundef %43, i64 noundef %46, i64 noundef %48) br label %53 50: ; preds = %35 %51 = load i64, ptr %2, align 8 %52 = call i32 (ptr, i64, ...) @printf(ptr noundef @.str, i64 noundef %51) br label %53 53: ; preds = %50, %38 br label %54 54: ; preds = %53, %26 br label %55 55: ; preds = %54, %14 br label %56 56: ; preds = %55, %5 ret void } declare i32 @printf(ptr noundef, i64 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpivbh2uyx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"%ld,%03ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"%ld,%03ld,%03ld\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"%ld,%03ld,%03ld,%03ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fancy_int(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = icmp slt i64 %3, 1000 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i64, ptr %2, align 8 %7 = call i32 (ptr, i64, ...) @printf(ptr noundef @.str, i64 noundef %6) br label %56 8: ; preds = %1 %9 = load i64, ptr %2, align 8 %10 = icmp sge i64 %9, 1000 br i1 %10, label %11, label %20 11: ; preds = %8 %12 = load i64, ptr %2, align 8 %13 = icmp slt i64 %12, 1000000 br i1 %13, label %14, label %20 14: ; preds = %11 %15 = load i64, ptr %2, align 8 %16 = sdiv i64 %15, 1000 %17 = load i64, ptr %2, align 8 %18 = srem i64 %17, 1000 %19 = call i32 (ptr, i64, ...) @printf(ptr noundef @.str.1, i64 noundef %16, i64 noundef %18) br label %55 20: ; preds = %11, %8 %21 = load i64, ptr %2, align 8 %22 = icmp sge i64 %21, 1000000 br i1 %22, label %23, label %35 23: ; preds = %20 %24 = load i64, ptr %2, align 8 %25 = icmp slt i64 %24, 1000000000 br i1 %25, label %26, label %35 26: ; preds = %23 %27 = load i64, ptr %2, align 8 %28 = sdiv i64 %27, 1000000 %29 = load i64, ptr %2, align 8 %30 = srem i64 %29, 1000000 %31 = sdiv i64 %30, 1000 %32 = load i64, ptr %2, align 8 %33 = srem i64 %32, 1000 %34 = call i32 (ptr, i64, ...) @printf(ptr noundef @.str.2, i64 noundef %28, i64 noundef %31, i64 noundef %33) br label %54 35: ; preds = %23, %20 %36 = load i64, ptr %2, align 8 %37 = icmp sge i64 %36, 1000000000 br i1 %37, label %38, label %50 38: ; preds = %35 %39 = load i64, ptr %2, align 8 %40 = sdiv i64 %39, 1000000000 %41 = load i64, ptr %2, align 8 %42 = srem i64 %41, 1000000000 %43 = sdiv i64 %42, 1000000 %44 = load i64, ptr %2, align 8 %45 = srem i64 %44, 1000000 %46 = sdiv i64 %45, 1000 %47 = load i64, ptr %2, align 8 %48 = srem i64 %47, 1000 %49 = call i32 (ptr, i64, ...) @printf(ptr noundef @.str.3, i64 noundef %40, i64 noundef %43, i64 noundef %46, i64 noundef %48) br label %53 50: ; preds = %35 %51 = load i64, ptr %2, align 8 %52 = call i32 (ptr, i64, ...) @printf(ptr noundef @.str, i64 noundef %51) br label %53 53: ; preds = %50, %38 br label %54 54: ; preds = %53, %26 br label %55 55: ; preds = %54, %14 br label %56 56: ; preds = %55, %5 ret void } declare i32 @printf(ptr noundef, i64 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl4tp69ww.c' source_filename = "/tmp/tmpl4tp69ww.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"#\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i64 (...) @getpid() store i64 %6, ptr %2, align 8 %7 = call i32 (...) @fork() %8 = call i64 (...) @getpid() store i64 %8, ptr %3, align 8 %9 = load i64, ptr %2, align 8 %10 = load i64, ptr %3, align 8 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %23 12: ; preds = %0 store i32 0, ptr %4, align 4 br label %13 13: ; preds = %19, %12 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 10 br i1 %15, label %16, label %22 16: ; preds = %13 %17 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 1) %18 = call i32 @sleep(i32 noundef 1) br label %19 19: ; preds = %16 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 br label %13, !llvm.loop !6 22: ; preds = %13 br label %34 23: ; preds = %0 store i32 0, ptr %5, align 4 br label %24 24: ; preds = %30, %23 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %25, 20 br i1 %26, label %27, label %33 27: ; preds = %24 %28 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef 1) %29 = call i32 @sleep(i32 noundef 1) br label %30 30: ; preds = %27 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %5, align 4 br label %24, !llvm.loop !8 33: ; preds = %24 br label %34 34: ; preds = %33, %22 %35 = load i32, ptr %1, align 4 ret i32 %35 } declare i64 @getpid(...) #1 declare i32 @fork(...) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl4tp69ww.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"#\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i64 (...) @getpid() store i64 %6, ptr %2, align 8 %7 = call i32 (...) @fork() %8 = call i64 (...) @getpid() store i64 %8, ptr %3, align 8 %9 = load i64, ptr %2, align 8 %10 = load i64, ptr %3, align 8 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %24 12: ; preds = %0 store i32 0, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 10 br i1 %14, label %.lr.ph2, label %23 .lr.ph2: ; preds = %12 br label %15 15: ; preds = %.lr.ph2, %18 %16 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 1) %17 = call i32 @sleep(i32 noundef 1) br label %18 18: ; preds = %15 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %21, 10 br i1 %22, label %15, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %18 br label %23 23: ; preds = %._crit_edge3, %12 br label %36 24: ; preds = %0 store i32 0, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %25, 20 br i1 %26, label %.lr.ph, label %35 .lr.ph: ; preds = %24 br label %27 27: ; preds = %.lr.ph, %30 %28 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef 1) %29 = call i32 @sleep(i32 noundef 1) br label %30 30: ; preds = %27 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %5, align 4 %33 = load i32, ptr %5, align 4 %34 = icmp slt i32 %33, 20 br i1 %34, label %27, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %30 br label %35 35: ; preds = %._crit_edge, %24 br label %36 36: ; preds = %35, %23 %37 = load i32, ptr %1, align 4 ret i32 %37 } declare i64 @getpid(...) #1 declare i32 @fork(...) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp816od6t_.c' source_filename = "/tmp/tmp816od6t_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @w_bind(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = call i32 @bind(i32 noundef %8, ptr noundef %9, i32 noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 ret i32 %12 } declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp816od6t_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @w_bind(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = call i32 @bind(i32 noundef %8, ptr noundef %9, i32 noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 ret i32 %12 } declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyd6t2kna.c' source_filename = "/tmp/tmpyd6t2kna.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"%s/keymap\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @read_configuration(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef %4) %6 = add nsw i64 %5, 20 %7 = call ptr @malloc(i64 noundef %6) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 %10 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, ptr noundef %9) %11 = load ptr, ptr %3, align 8 %12 = call i32 @read_keymap(ptr noundef %11) %13 = load ptr, ptr %3, align 8 %14 = call i32 @free(ptr noundef %13) ret void } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @read_keymap(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyd6t2kna.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"%s/keymap\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @read_configuration(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef %4) %6 = add nsw i64 %5, 20 %7 = call ptr @malloc(i64 noundef %6) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 %10 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, ptr noundef %9) %11 = load ptr, ptr %3, align 8 %12 = call i32 @read_keymap(ptr noundef %11) %13 = load ptr, ptr %3, align 8 %14 = call i32 @free(ptr noundef %13) ret void } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @read_keymap(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwwls6djr.c' source_filename = "/tmp/tmpwwls6djr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"\0AWAN Interface:\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @showWanInterface() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @_wanConfList(i32 noundef 1) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @_wanConfList(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/tmpwwls6djr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"\0AWAN Interface:\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @showWanInterface() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @_wanConfList(i32 noundef 1) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @_wanConfList(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/tmpd_851lsa.c' source_filename = "/tmp/tmpd_851lsa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @opterr = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [7 x i8] c"a:b:cd\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"optind:%d\0A\00", align 1 @optind = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"optarg:%s\0A\00", align 1 @optarg = dso_local global ptr null, align 8 @.str.3 = private unnamed_addr constant [7 x i8] c"ch:%c\0A\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"option a:%s\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"option b:%s\0A\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"option c\0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"option d\0A\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"unknown option:%c\0A\00", align 1 @optopt = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [17 x i8] c"other option:%c\0A\00", align 1 @.str.10 = private unnamed_addr constant [11 x i8] c"optopt:%i\0A\00", align 1 @.str.11 = private unnamed_addr constant [32 x i8] c"argc:%d, optind:%d, %s, %s, %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 0, ptr @opterr, align 8 br label %7 7: ; preds = %38, %2 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 @getopt(i32 noundef %8, ptr noundef %9, ptr noundef @.str) store i32 %10, ptr %6, align 4 %11 = icmp ne i32 %10, -1 br i1 %11, label %12, label %41 12: ; preds = %7 %13 = load i32, ptr @optind, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13) %15 = load ptr, ptr @optarg, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %15) %17 = load i32, ptr %6, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %17) %19 = load i32, ptr %6, align 4 switch i32 %19, label %35 [ i32 97, label %20 i32 98, label %23 i32 99, label %26 i32 100, label %28 i32 63, label %30 ] 20: ; preds = %12 %21 = load ptr, ptr @optarg, align 8 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %21) br label %38 23: ; preds = %12 %24 = load ptr, ptr @optarg, align 8 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %24) br label %38 26: ; preds = %12 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %38 28: ; preds = %12 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %38 30: ; preds = %12 %31 = load i32, ptr @optopt, align 4 %32 = trunc i32 %31 to i8 %33 = sext i8 %32 to i32 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %33) br label %38 35: ; preds = %12 %36 = load i32, ptr %6, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %36) br label %38 38: ; preds = %35, %30, %28, %26, %23, %20 %39 = load i32, ptr @optopt, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %39) br label %7, !llvm.loop !6 41: ; preds = %7 %42 = load i32, ptr %4, align 4 %43 = load i32, ptr @optind, align 4 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr @optind, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds ptr, ptr %44, i64 %46 %48 = load ptr, ptr %47, align 8 %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr @optind, align 4 %51 = add nsw i32 %50, 1 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds ptr, ptr %49, i64 %52 %54 = load ptr, ptr %53, align 8 %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr @optind, align 4 %57 = add nsw i32 %56, 2 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds ptr, ptr %55, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %42, i32 noundef %43, ptr noundef %48, ptr noundef %54, ptr noundef %60) ret i32 0 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd_851lsa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @opterr = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [7 x i8] c"a:b:cd\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"optind:%d\0A\00", align 1 @optind = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"optarg:%s\0A\00", align 1 @optarg = dso_local global ptr null, align 8 @.str.3 = private unnamed_addr constant [7 x i8] c"ch:%c\0A\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"option a:%s\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"option b:%s\0A\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"option c\0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"option d\0A\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"unknown option:%c\0A\00", align 1 @optopt = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [17 x i8] c"other option:%c\0A\00", align 1 @.str.10 = private unnamed_addr constant [11 x i8] c"optopt:%i\0A\00", align 1 @.str.11 = private unnamed_addr constant [32 x i8] c"argc:%d, optind:%d, %s, %s, %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 0, ptr @opterr, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = call i32 @getopt(i32 noundef %7, ptr noundef %8, ptr noundef @.str) store i32 %9, ptr %6, align 4 %10 = icmp ne i32 %9, -1 br i1 %10, label %.lr.ph, label %44 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %37 %12 = load i32, ptr @optind, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12) %14 = load ptr, ptr @optarg, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %14) %16 = load i32, ptr %6, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %16) %18 = load i32, ptr %6, align 4 switch i32 %18, label %34 [ i32 97, label %19 i32 98, label %22 i32 99, label %25 i32 100, label %27 i32 63, label %29 ] 19: ; preds = %11 %20 = load ptr, ptr @optarg, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %20) br label %37 22: ; preds = %11 %23 = load ptr, ptr @optarg, align 8 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %23) br label %37 25: ; preds = %11 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %37 27: ; preds = %11 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %37 29: ; preds = %11 %30 = load i32, ptr @optopt, align 4 %31 = trunc i32 %30 to i8 %32 = sext i8 %31 to i32 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %32) br label %37 34: ; preds = %11 %35 = load i32, ptr %6, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %35) br label %37 37: ; preds = %34, %29, %27, %25, %22, %19 %38 = load i32, ptr @optopt, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %38) %40 = load i32, ptr %4, align 4 %41 = load ptr, ptr %5, align 8 %42 = call i32 @getopt(i32 noundef %40, ptr noundef %41, ptr noundef @.str) store i32 %42, ptr %6, align 4 %43 = icmp ne i32 %42, -1 br i1 %43, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %44 44: ; preds = %._crit_edge, %2 %45 = load i32, ptr %4, align 4 %46 = load i32, ptr @optind, align 4 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr @optind, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds ptr, ptr %47, i64 %49 %51 = load ptr, ptr %50, align 8 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr @optind, align 4 %54 = add nsw i32 %53, 1 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds ptr, ptr %52, i64 %55 %57 = load ptr, ptr %56, align 8 %58 = load ptr, ptr %5, align 8 %59 = load i32, ptr @optind, align 4 %60 = add nsw i32 %59, 2 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %58, i64 %61 %63 = load ptr, ptr %62, align 8 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %45, i32 noundef %46, ptr noundef %51, ptr noundef %57, ptr noundef %63) ret i32 0 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpaf0mm_m_.c' source_filename = "/tmp/tmpaf0mm_m_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"msproject.xml\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"\09<ManualStart>%s</ManualStart>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @function_real_date_ini(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @translateDate(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @write(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call i32 @free(ptr noundef %8) ret void } declare ptr @translateDate(ptr noundef) #1 declare i32 @write(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaf0mm_m_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"msproject.xml\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"\09<ManualStart>%s</ManualStart>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @function_real_date_ini(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @translateDate(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @write(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call i32 @free(ptr noundef %8) ret void } declare ptr @translateDate(ptr noundef) #1 declare i32 @write(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk47xjhp8.c' source_filename = "/tmp/tmpk47xjhp8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_known(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 @get_must(i32 noundef %8, ptr noundef %9) store i32 %10, ptr %7, align 4 br label %11 11: ; preds = %24, %3 %12 = load ptr, ptr %5, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 10 br i1 %15, label %21, label %16 16: ; preds = %11 %17 = load ptr, ptr %5, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 13 br label %21 21: ; preds = %16, %11 %22 = phi i1 [ true, %11 ], [ %20, %16 ] br i1 %22, label %23, label %28 23: ; preds = %21 br label %24 24: ; preds = %23 %25 = load i32, ptr %4, align 4 %26 = load ptr, ptr %5, align 8 %27 = call i32 @get_must(i32 noundef %25, ptr noundef %26) store i32 %27, ptr %7, align 4 br label %11, !llvm.loop !6 28: ; preds = %21 %29 = load ptr, ptr %5, align 8 %30 = load ptr, ptr %6, align 8 %31 = call i64 @strcmp(ptr noundef %29, ptr noundef %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %36 33: ; preds = %28 %34 = load ptr, ptr %5, align 8 %35 = call i32 @syntax(ptr noundef %34) br label %36 36: ; preds = %33, %28 %37 = load i32, ptr %7, align 4 ret i32 %37 } declare i32 @get_must(i32 noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @syntax(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/tmpk47xjhp8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_known(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 @get_must(i32 noundef %8, ptr noundef %9) store i32 %10, ptr %7, align 4 br label %11 11: ; preds = %24, %3 %12 = load ptr, ptr %5, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 10 br i1 %15, label %21, label %16 16: ; preds = %11 %17 = load ptr, ptr %5, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 13 br label %21 21: ; preds = %16, %11 %22 = phi i1 [ true, %11 ], [ %20, %16 ] br i1 %22, label %23, label %28 23: ; preds = %21 br label %24 24: ; preds = %23 %25 = load i32, ptr %4, align 4 %26 = load ptr, ptr %5, align 8 %27 = call i32 @get_must(i32 noundef %25, ptr noundef %26) store i32 %27, ptr %7, align 4 br label %11, !llvm.loop !6 28: ; preds = %21 %29 = load ptr, ptr %5, align 8 %30 = load ptr, ptr %6, align 8 %31 = call i64 @strcmp(ptr noundef %29, ptr noundef %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %36 33: ; preds = %28 %34 = load ptr, ptr %5, align 8 %35 = call i32 @syntax(ptr noundef %34) br label %36 36: ; preds = %33, %28 %37 = load i32, ptr %7, align 4 ret i32 %37 } declare i32 @get_must(i32 noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @syntax(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/tmpe3wy_g4z.c' source_filename = "/tmp/tmpe3wy_g4z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [5 x i8] c"Yes\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"No\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %5 5: ; preds = %39, %0 %6 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i64, ptr @EOF, align 8 %8 = icmp ne i64 %6, %7 br i1 %8, label %9, label %40 9: ; preds = %5 %10 = load i32, ptr %2, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %9 store i32 0, ptr %1, align 4 br label %41 13: ; preds = %9 store i32 0, ptr %3, align 4 store i32 2, ptr %4, align 4 br label %14 14: ; preds = %29, %13 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %4, align 4 %17 = mul nsw i32 %15, %16 %18 = load i32, ptr %2, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %32 20: ; preds = %14 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = mul nsw i32 %22, %23 %25 = srem i32 %21, %24 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %20 store i32 1, ptr %3, align 4 br label %28 28: ; preds = %27, %20 br label %29 29: ; preds = %28 %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %4, align 4 br label %14, !llvm.loop !6 32: ; preds = %14 %33 = load i32, ptr %3, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %32 %36 = call i32 @printf(ptr noundef @.str.1) br label %39 37: ; preds = %32 %38 = call i32 @printf(ptr noundef @.str.2) br label %39 39: ; preds = %37, %35 br label %5, !llvm.loop !8 40: ; preds = %5 store i32 0, ptr %1, align 4 br label %41 41: ; preds = %40, %12 %42 = load i32, ptr %1, align 4 ret i32 %42 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe3wy_g4z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [5 x i8] c"Yes\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"No\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %6 = load i64, ptr @EOF, align 8 %7 = icmp ne i64 %5, %6 br i1 %7, label %.lr.ph2, label %46 .lr.ph2: ; preds = %0 br label %8 8: ; preds = %.lr.ph2, %42 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %8 store i32 0, ptr %1, align 4 br label %47 12: ; preds = %8 store i32 0, ptr %3, align 4 store i32 2, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = mul nsw i32 %13, %14 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %35 .lr.ph: ; preds = %12 br label %18 18: ; preds = %.lr.ph, %27 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %4, align 4 %22 = mul nsw i32 %20, %21 %23 = srem i32 %19, %22 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %18 store i32 1, ptr %3, align 4 br label %26 26: ; preds = %25, %18 br label %27 27: ; preds = %26 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 %30 = load i32, ptr %4, align 4 %31 = load i32, ptr %4, align 4 %32 = mul nsw i32 %30, %31 %33 = load i32, ptr %2, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %35 35: ; preds = %._crit_edge, %12 %36 = load i32, ptr %3, align 4 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %35 %39 = call i32 @printf(ptr noundef @.str.1) br label %42 40: ; preds = %35 %41 = call i32 @printf(ptr noundef @.str.2) br label %42 42: ; preds = %40, %38 %43 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %44 = load i64, ptr @EOF, align 8 %45 = icmp ne i64 %43, %44 br i1 %45, label %8, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %46 46: ; preds = %._crit_edge3, %0 store i32 0, ptr %1, align 4 br label %47 47: ; preds = %46, %11 %48 = load i32, ptr %1, align 4 ret i32 %48 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp_3f1hsn1.c' source_filename = "/tmp/tmp_3f1hsn1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @r_nint(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load float, ptr %3, align 4 %5 = call float @__rnint(float noundef %4) ret float %5 } declare float @__rnint(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/tmp_3f1hsn1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @r_nint(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load float, ptr %3, align 4 %5 = call float @__rnint(float noundef %4) ret float %5 } declare float @__rnint(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/tmprda3w0fr.c' source_filename = "/tmp/tmprda3w0fr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"gb2312\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"isoir165ext\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"gb12345ext\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"jisx0208\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"jisx0212\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"cns11643_1\00", align 1 @.str.6 = private unnamed_addr constant [11 x i8] c"cns11643_2\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"cns11643_3\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"cns11643_4a\00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c"cns11643_4b\00", align 1 @.str.10 = private unnamed_addr constant [11 x i8] c"cns11643_5\00", align 1 @.str.11 = private unnamed_addr constant [11 x i8] c"cns11643_6\00", align 1 @.str.12 = private unnamed_addr constant [11 x i8] c"cns11643_7\00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c"cns11643_15\00", align 1 @.str.14 = private unnamed_addr constant [13 x i8] c"cns11643_inv\00", align 1 @.str.15 = private unnamed_addr constant [8 x i8] c"gbkext1\00", align 1 @.str.16 = private unnamed_addr constant [8 x i8] c"gbkext2\00", align 1 @.str.17 = private unnamed_addr constant [11 x i8] c"gbkext_inv\00", align 1 @.str.18 = private unnamed_addr constant [9 x i8] c"cp936ext\00", align 1 @.str.19 = private unnamed_addr constant [11 x i8] c"gb18030ext\00", align 1 @.str.20 = private unnamed_addr constant [8 x i8] c"ksc5601\00", align 1 @.str.21 = private unnamed_addr constant [6 x i8] c"uhc_1\00", align 1 @.str.22 = private unnamed_addr constant [6 x i8] c"uhc_2\00", align 1 @.str.23 = private unnamed_addr constant [5 x i8] c"big5\00", align 1 @.str.24 = private unnamed_addr constant [9 x i8] c"cp950ext\00", align 1 @.str.25 = private unnamed_addr constant [6 x i8] c"hkscs\00", align 1 @.str.26 = private unnamed_addr constant [13 x i8] c"johab_hangul\00", align 1 @.str.27 = private unnamed_addr constant [9 x i8] c"cp932ext\00", align 1 @.str.28 = private unnamed_addr constant [11 x i8] c"gb18030uni\00", align 1 @.str.29 = private unnamed_addr constant [9 x i8] c"jisx0213\00", align 1 @.str.30 = private unnamed_addr constant [12 x i8] c"eucjp_msext\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 3 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @exit(i32 noundef 1) #3 unreachable 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 2 %18 = load ptr, ptr %17, align 8 store ptr %18, ptr %7, align 8 %19 = load ptr, ptr %6, align 8 %20 = call i32 @output_title(ptr noundef %19) %21 = load ptr, ptr %7, align 8 %22 = call i32 @strcmp(ptr noundef %21, ptr noundef @.str) %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %40 24: ; preds = %12 %25 = load ptr, ptr %7, align 8 %26 = call i32 @strcmp(ptr noundef %25, ptr noundef @.str.1) %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %40 28: ; preds = %24 %29 = load ptr, ptr %7, align 8 %30 = call i32 @strcmp(ptr noundef %29, ptr noundef @.str.2) %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %40 32: ; preds = %28 %33 = load ptr, ptr %7, align 8 %34 = call i32 @strcmp(ptr noundef %33, ptr noundef @.str.3) %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %40 36: ; preds = %32 %37 = load ptr, ptr %7, align 8 %38 = call i32 @strcmp(ptr noundef %37, ptr noundef @.str.4) %39 = icmp ne i32 %38, 0 br i1 %39, label %43, label %40 40: ; preds = %36, %32, %28, %24, %12 %41 = load ptr, ptr %7, align 8 %42 = call i32 @do_normal(ptr noundef %41) br label %213 43: ; preds = %36 %44 = load ptr, ptr %7, align 8 %45 = call i32 @strcmp(ptr noundef %44, ptr noundef @.str.5) %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %79 47: ; preds = %43 %48 = load ptr, ptr %7, align 8 %49 = call i32 @strcmp(ptr noundef %48, ptr noundef @.str.6) %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %79 51: ; preds = %47 %52 = load ptr, ptr %7, align 8 %53 = call i32 @strcmp(ptr noundef %52, ptr noundef @.str.7) %54 = icmp ne i32 %53, 0 br i1 %54, label %55, label %79 55: ; preds = %51 %56 = load ptr, ptr %7, align 8 %57 = call i32 @strcmp(ptr noundef %56, ptr noundef @.str.8) %58 = icmp ne i32 %57, 0 br i1 %58, label %59, label %79 59: ; preds = %55 %60 = load ptr, ptr %7, align 8 %61 = call i32 @strcmp(ptr noundef %60, ptr noundef @.str.9) %62 = icmp ne i32 %61, 0 br i1 %62, label %63, label %79 63: ; preds = %59 %64 = load ptr, ptr %7, align 8 %65 = call i32 @strcmp(ptr noundef %64, ptr noundef @.str.10) %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %79 67: ; preds = %63 %68 = load ptr, ptr %7, align 8 %69 = call i32 @strcmp(ptr noundef %68, ptr noundef @.str.11) %70 = icmp ne i32 %69, 0 br i1 %70, label %71, label %79 71: ; preds = %67 %72 = load ptr, ptr %7, align 8 %73 = call i32 @strcmp(ptr noundef %72, ptr noundef @.str.12) %74 = icmp ne i32 %73, 0 br i1 %74, label %75, label %79 75: ; preds = %71 %76 = load ptr, ptr %7, align 8 %77 = call i32 @strcmp(ptr noundef %76, ptr noundef @.str.13) %78 = icmp ne i32 %77, 0 br i1 %78, label %82, label %79 79: ; preds = %75, %71, %67, %63, %59, %55, %51, %47, %43 %80 = load ptr, ptr %7, align 8 %81 = call i32 @do_normal_only_charset2uni(ptr noundef %80) br label %212 82: ; preds = %75 %83 = load ptr, ptr %7, align 8 %84 = call i32 @strcmp(ptr noundef %83, ptr noundef @.str.14) %85 = icmp ne i32 %84, 0 br i1 %85, label %89, label %86 86: ; preds = %82 %87 = load ptr, ptr %7, align 8 %88 = call i32 @do_cns11643_only_uni2charset(ptr noundef %87) br label %211 89: ; preds = %82 %90 = load ptr, ptr %7, align 8 %91 = call i32 @strcmp(ptr noundef %90, ptr noundef @.str.15) %92 = icmp ne i32 %91, 0 br i1 %92, label %96, label %93 93: ; preds = %89 %94 = load ptr, ptr %7, align 8 %95 = call i32 @do_gbk1_only_charset2uni(ptr noundef %94) br label %210 96: ; preds = %89 %97 = load ptr, ptr %7, align 8 %98 = call i32 @strcmp(ptr noundef %97, ptr noundef @.str.16) %99 = icmp ne i32 %98, 0 br i1 %99, label %103, label %100 100: ; preds = %96 %101 = load ptr, ptr %7, align 8 %102 = call i32 @do_gbk2_only_charset2uni(ptr noundef %101) br label %209 103: ; preds = %96 %104 = load ptr, ptr %7, align 8 %105 = call i32 @strcmp(ptr noundef %104, ptr noundef @.str.17) %106 = icmp ne i32 %105, 0 br i1 %106, label %110, label %107 107: ; preds = %103 %108 = load ptr, ptr %7, align 8 %109 = call i32 @do_gbk1_only_uni2charset(ptr noundef %108) br label %208 110: ; preds = %103 %111 = load ptr, ptr %7, align 8 %112 = call i32 @strcmp(ptr noundef %111, ptr noundef @.str.18) %113 = icmp ne i32 %112, 0 br i1 %113, label %114, label %118 114: ; preds = %110 %115 = load ptr, ptr %7, align 8 %116 = call i32 @strcmp(ptr noundef %115, ptr noundef @.str.19) %117 = icmp ne i32 %116, 0 br i1 %117, label %121, label %118 118: ; preds = %114, %110 %119 = load ptr, ptr %7, align 8 %120 = call i32 @do_gbk1(ptr noundef %119) br label %207 121: ; preds = %114 %122 = load ptr, ptr %7, align 8 %123 = call i32 @strcmp(ptr noundef %122, ptr noundef @.str.20) %124 = icmp ne i32 %123, 0 br i1 %124, label %128, label %125 125: ; preds = %121 %126 = load ptr, ptr %7, align 8 %127 = call i32 @do_ksc5601(ptr noundef %126) br label %206 128: ; preds = %121 %129 = load ptr, ptr %7, align 8 %130 = call i32 @strcmp(ptr noundef %129, ptr noundef @.str.21) %131 = icmp ne i32 %130, 0 br i1 %131, label %135, label %132 132: ; preds = %128 %133 = load ptr, ptr %7, align 8 %134 = call i32 @do_uhc_1(ptr noundef %133) br label %205 135: ; preds = %128 %136 = load ptr, ptr %7, align 8 %137 = call i32 @strcmp(ptr noundef %136, ptr noundef @.str.22) %138 = icmp ne i32 %137, 0 br i1 %138, label %142, label %139 139: ; preds = %135 %140 = load ptr, ptr %7, align 8 %141 = call i32 @do_uhc_2(ptr noundef %140) br label %204 142: ; preds = %135 %143 = load ptr, ptr %7, align 8 %144 = call i32 @strcmp(ptr noundef %143, ptr noundef @.str.23) %145 = icmp ne i32 %144, 0 br i1 %145, label %146, label %150 146: ; preds = %142 %147 = load ptr, ptr %7, align 8 %148 = call i32 @strcmp(ptr noundef %147, ptr noundef @.str.24) %149 = icmp ne i32 %148, 0 br i1 %149, label %153, label %150 150: ; preds = %146, %142 %151 = load ptr, ptr %7, align 8 %152 = call i32 @do_big5(ptr noundef %151) br label %203 153: ; preds = %146 %154 = load ptr, ptr %7, align 8 %155 = call i32 @strcmp(ptr noundef %154, ptr noundef @.str.25) %156 = icmp ne i32 %155, 0 br i1 %156, label %160, label %157 157: ; preds = %153 %158 = load ptr, ptr %7, align 8 %159 = call i32 @do_hkscs(ptr noundef %158) br label %202 160: ; preds = %153 %161 = load ptr, ptr %7, align 8 %162 = call i32 @strcmp(ptr noundef %161, ptr noundef @.str.26) %163 = icmp ne i32 %162, 0 br i1 %163, label %167, label %164 164: ; preds = %160 %165 = load ptr, ptr %7, align 8 %166 = call i32 @do_johab_hangul(ptr noundef %165) br label %201 167: ; preds = %160 %168 = load ptr, ptr %7, align 8 %169 = call i32 @strcmp(ptr noundef %168, ptr noundef @.str.27) %170 = icmp ne i32 %169, 0 br i1 %170, label %174, label %171 171: ; preds = %167 %172 = load ptr, ptr %7, align 8 %173 = call i32 @do_cp932(ptr noundef %172) br label %200 174: ; preds = %167 %175 = load ptr, ptr %7, align 8 %176 = call i32 @strcmp(ptr noundef %175, ptr noundef @.str.28) %177 = icmp ne i32 %176, 0 br i1 %177, label %181, label %178 178: ; preds = %174 %179 = load ptr, ptr %7, align 8 %180 = call i32 @do_gb18030uni(ptr noundef %179) br label %199 181: ; preds = %174 %182 = load ptr, ptr %7, align 8 %183 = call i32 @strcmp(ptr noundef %182, ptr noundef @.str.29) %184 = icmp ne i32 %183, 0 br i1 %184, label %188, label %185 185: ; preds = %181 %186 = load ptr, ptr %7, align 8 %187 = call i32 @do_jisx0213(ptr noundef %186) br label %198 188: ; preds = %181 %189 = load ptr, ptr %7, align 8 %190 = call i32 @strcmp(ptr noundef %189, ptr noundef @.str.30) %191 = icmp ne i32 %190, 0 br i1 %191, label %195, label %192 192: ; preds = %188 %193 = load ptr, ptr %7, align 8 %194 = call i32 @do_euc(ptr noundef %193) br label %197 195: ; preds = %188 %196 = call i32 @exit(i32 noundef 1) #3 unreachable 197: ; preds = %192 br label %198 198: ; preds = %197, %185 br label %199 199: ; preds = %198, %178 br label %200 200: ; preds = %199, %171 br label %201 201: ; preds = %200, %164 br label %202 202: ; preds = %201, %157 br label %203 203: ; preds = %202, %150 br label %204 204: ; preds = %203, %139 br label %205 205: ; preds = %204, %132 br label %206 206: ; preds = %205, %125 br label %207 207: ; preds = %206, %118 br label %208 208: ; preds = %207, %107 br label %209 209: ; preds = %208, %100 br label %210 210: ; preds = %209, %93 br label %211 211: ; preds = %210, %86 br label %212 212: ; preds = %211, %79 br label %213 213: ; preds = %212, %40 ret i32 0 } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 declare i32 @output_title(ptr noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @do_normal(ptr noundef) #2 declare i32 @do_normal_only_charset2uni(ptr noundef) #2 declare i32 @do_cns11643_only_uni2charset(ptr noundef) #2 declare i32 @do_gbk1_only_charset2uni(ptr noundef) #2 declare i32 @do_gbk2_only_charset2uni(ptr noundef) #2 declare i32 @do_gbk1_only_uni2charset(ptr noundef) #2 declare i32 @do_gbk1(ptr noundef) #2 declare i32 @do_ksc5601(ptr noundef) #2 declare i32 @do_uhc_1(ptr noundef) #2 declare i32 @do_uhc_2(ptr noundef) #2 declare i32 @do_big5(ptr noundef) #2 declare i32 @do_hkscs(ptr noundef) #2 declare i32 @do_johab_hangul(ptr noundef) #2 declare i32 @do_cp932(ptr noundef) #2 declare i32 @do_gb18030uni(ptr noundef) #2 declare i32 @do_jisx0213(ptr noundef) #2 declare i32 @do_euc(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 = { 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 = { "frame-pointer"="all" "no-trapping-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/tmprda3w0fr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"gb2312\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"isoir165ext\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"gb12345ext\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"jisx0208\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"jisx0212\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"cns11643_1\00", align 1 @.str.6 = private unnamed_addr constant [11 x i8] c"cns11643_2\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"cns11643_3\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"cns11643_4a\00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c"cns11643_4b\00", align 1 @.str.10 = private unnamed_addr constant [11 x i8] c"cns11643_5\00", align 1 @.str.11 = private unnamed_addr constant [11 x i8] c"cns11643_6\00", align 1 @.str.12 = private unnamed_addr constant [11 x i8] c"cns11643_7\00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c"cns11643_15\00", align 1 @.str.14 = private unnamed_addr constant [13 x i8] c"cns11643_inv\00", align 1 @.str.15 = private unnamed_addr constant [8 x i8] c"gbkext1\00", align 1 @.str.16 = private unnamed_addr constant [8 x i8] c"gbkext2\00", align 1 @.str.17 = private unnamed_addr constant [11 x i8] c"gbkext_inv\00", align 1 @.str.18 = private unnamed_addr constant [9 x i8] c"cp936ext\00", align 1 @.str.19 = private unnamed_addr constant [11 x i8] c"gb18030ext\00", align 1 @.str.20 = private unnamed_addr constant [8 x i8] c"ksc5601\00", align 1 @.str.21 = private unnamed_addr constant [6 x i8] c"uhc_1\00", align 1 @.str.22 = private unnamed_addr constant [6 x i8] c"uhc_2\00", align 1 @.str.23 = private unnamed_addr constant [5 x i8] c"big5\00", align 1 @.str.24 = private unnamed_addr constant [9 x i8] c"cp950ext\00", align 1 @.str.25 = private unnamed_addr constant [6 x i8] c"hkscs\00", align 1 @.str.26 = private unnamed_addr constant [13 x i8] c"johab_hangul\00", align 1 @.str.27 = private unnamed_addr constant [9 x i8] c"cp932ext\00", align 1 @.str.28 = private unnamed_addr constant [11 x i8] c"gb18030uni\00", align 1 @.str.29 = private unnamed_addr constant [9 x i8] c"jisx0213\00", align 1 @.str.30 = private unnamed_addr constant [12 x i8] c"eucjp_msext\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 3 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @exit(i32 noundef 1) #3 unreachable 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 2 %18 = load ptr, ptr %17, align 8 store ptr %18, ptr %7, align 8 %19 = load ptr, ptr %6, align 8 %20 = call i32 @output_title(ptr noundef %19) %21 = load ptr, ptr %7, align 8 %22 = call i32 @strcmp(ptr noundef %21, ptr noundef @.str) %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %40 24: ; preds = %12 %25 = load ptr, ptr %7, align 8 %26 = call i32 @strcmp(ptr noundef %25, ptr noundef @.str.1) %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %40 28: ; preds = %24 %29 = load ptr, ptr %7, align 8 %30 = call i32 @strcmp(ptr noundef %29, ptr noundef @.str.2) %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %40 32: ; preds = %28 %33 = load ptr, ptr %7, align 8 %34 = call i32 @strcmp(ptr noundef %33, ptr noundef @.str.3) %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %40 36: ; preds = %32 %37 = load ptr, ptr %7, align 8 %38 = call i32 @strcmp(ptr noundef %37, ptr noundef @.str.4) %39 = icmp ne i32 %38, 0 br i1 %39, label %43, label %40 40: ; preds = %36, %32, %28, %24, %12 %41 = load ptr, ptr %7, align 8 %42 = call i32 @do_normal(ptr noundef %41) br label %213 43: ; preds = %36 %44 = load ptr, ptr %7, align 8 %45 = call i32 @strcmp(ptr noundef %44, ptr noundef @.str.5) %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %79 47: ; preds = %43 %48 = load ptr, ptr %7, align 8 %49 = call i32 @strcmp(ptr noundef %48, ptr noundef @.str.6) %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %79 51: ; preds = %47 %52 = load ptr, ptr %7, align 8 %53 = call i32 @strcmp(ptr noundef %52, ptr noundef @.str.7) %54 = icmp ne i32 %53, 0 br i1 %54, label %55, label %79 55: ; preds = %51 %56 = load ptr, ptr %7, align 8 %57 = call i32 @strcmp(ptr noundef %56, ptr noundef @.str.8) %58 = icmp ne i32 %57, 0 br i1 %58, label %59, label %79 59: ; preds = %55 %60 = load ptr, ptr %7, align 8 %61 = call i32 @strcmp(ptr noundef %60, ptr noundef @.str.9) %62 = icmp ne i32 %61, 0 br i1 %62, label %63, label %79 63: ; preds = %59 %64 = load ptr, ptr %7, align 8 %65 = call i32 @strcmp(ptr noundef %64, ptr noundef @.str.10) %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %79 67: ; preds = %63 %68 = load ptr, ptr %7, align 8 %69 = call i32 @strcmp(ptr noundef %68, ptr noundef @.str.11) %70 = icmp ne i32 %69, 0 br i1 %70, label %71, label %79 71: ; preds = %67 %72 = load ptr, ptr %7, align 8 %73 = call i32 @strcmp(ptr noundef %72, ptr noundef @.str.12) %74 = icmp ne i32 %73, 0 br i1 %74, label %75, label %79 75: ; preds = %71 %76 = load ptr, ptr %7, align 8 %77 = call i32 @strcmp(ptr noundef %76, ptr noundef @.str.13) %78 = icmp ne i32 %77, 0 br i1 %78, label %82, label %79 79: ; preds = %75, %71, %67, %63, %59, %55, %51, %47, %43 %80 = load ptr, ptr %7, align 8 %81 = call i32 @do_normal_only_charset2uni(ptr noundef %80) br label %212 82: ; preds = %75 %83 = load ptr, ptr %7, align 8 %84 = call i32 @strcmp(ptr noundef %83, ptr noundef @.str.14) %85 = icmp ne i32 %84, 0 br i1 %85, label %89, label %86 86: ; preds = %82 %87 = load ptr, ptr %7, align 8 %88 = call i32 @do_cns11643_only_uni2charset(ptr noundef %87) br label %211 89: ; preds = %82 %90 = load ptr, ptr %7, align 8 %91 = call i32 @strcmp(ptr noundef %90, ptr noundef @.str.15) %92 = icmp ne i32 %91, 0 br i1 %92, label %96, label %93 93: ; preds = %89 %94 = load ptr, ptr %7, align 8 %95 = call i32 @do_gbk1_only_charset2uni(ptr noundef %94) br label %210 96: ; preds = %89 %97 = load ptr, ptr %7, align 8 %98 = call i32 @strcmp(ptr noundef %97, ptr noundef @.str.16) %99 = icmp ne i32 %98, 0 br i1 %99, label %103, label %100 100: ; preds = %96 %101 = load ptr, ptr %7, align 8 %102 = call i32 @do_gbk2_only_charset2uni(ptr noundef %101) br label %209 103: ; preds = %96 %104 = load ptr, ptr %7, align 8 %105 = call i32 @strcmp(ptr noundef %104, ptr noundef @.str.17) %106 = icmp ne i32 %105, 0 br i1 %106, label %110, label %107 107: ; preds = %103 %108 = load ptr, ptr %7, align 8 %109 = call i32 @do_gbk1_only_uni2charset(ptr noundef %108) br label %208 110: ; preds = %103 %111 = load ptr, ptr %7, align 8 %112 = call i32 @strcmp(ptr noundef %111, ptr noundef @.str.18) %113 = icmp ne i32 %112, 0 br i1 %113, label %114, label %118 114: ; preds = %110 %115 = load ptr, ptr %7, align 8 %116 = call i32 @strcmp(ptr noundef %115, ptr noundef @.str.19) %117 = icmp ne i32 %116, 0 br i1 %117, label %121, label %118 118: ; preds = %114, %110 %119 = load ptr, ptr %7, align 8 %120 = call i32 @do_gbk1(ptr noundef %119) br label %207 121: ; preds = %114 %122 = load ptr, ptr %7, align 8 %123 = call i32 @strcmp(ptr noundef %122, ptr noundef @.str.20) %124 = icmp ne i32 %123, 0 br i1 %124, label %128, label %125 125: ; preds = %121 %126 = load ptr, ptr %7, align 8 %127 = call i32 @do_ksc5601(ptr noundef %126) br label %206 128: ; preds = %121 %129 = load ptr, ptr %7, align 8 %130 = call i32 @strcmp(ptr noundef %129, ptr noundef @.str.21) %131 = icmp ne i32 %130, 0 br i1 %131, label %135, label %132 132: ; preds = %128 %133 = load ptr, ptr %7, align 8 %134 = call i32 @do_uhc_1(ptr noundef %133) br label %205 135: ; preds = %128 %136 = load ptr, ptr %7, align 8 %137 = call i32 @strcmp(ptr noundef %136, ptr noundef @.str.22) %138 = icmp ne i32 %137, 0 br i1 %138, label %142, label %139 139: ; preds = %135 %140 = load ptr, ptr %7, align 8 %141 = call i32 @do_uhc_2(ptr noundef %140) br label %204 142: ; preds = %135 %143 = load ptr, ptr %7, align 8 %144 = call i32 @strcmp(ptr noundef %143, ptr noundef @.str.23) %145 = icmp ne i32 %144, 0 br i1 %145, label %146, label %150 146: ; preds = %142 %147 = load ptr, ptr %7, align 8 %148 = call i32 @strcmp(ptr noundef %147, ptr noundef @.str.24) %149 = icmp ne i32 %148, 0 br i1 %149, label %153, label %150 150: ; preds = %146, %142 %151 = load ptr, ptr %7, align 8 %152 = call i32 @do_big5(ptr noundef %151) br label %203 153: ; preds = %146 %154 = load ptr, ptr %7, align 8 %155 = call i32 @strcmp(ptr noundef %154, ptr noundef @.str.25) %156 = icmp ne i32 %155, 0 br i1 %156, label %160, label %157 157: ; preds = %153 %158 = load ptr, ptr %7, align 8 %159 = call i32 @do_hkscs(ptr noundef %158) br label %202 160: ; preds = %153 %161 = load ptr, ptr %7, align 8 %162 = call i32 @strcmp(ptr noundef %161, ptr noundef @.str.26) %163 = icmp ne i32 %162, 0 br i1 %163, label %167, label %164 164: ; preds = %160 %165 = load ptr, ptr %7, align 8 %166 = call i32 @do_johab_hangul(ptr noundef %165) br label %201 167: ; preds = %160 %168 = load ptr, ptr %7, align 8 %169 = call i32 @strcmp(ptr noundef %168, ptr noundef @.str.27) %170 = icmp ne i32 %169, 0 br i1 %170, label %174, label %171 171: ; preds = %167 %172 = load ptr, ptr %7, align 8 %173 = call i32 @do_cp932(ptr noundef %172) br label %200 174: ; preds = %167 %175 = load ptr, ptr %7, align 8 %176 = call i32 @strcmp(ptr noundef %175, ptr noundef @.str.28) %177 = icmp ne i32 %176, 0 br i1 %177, label %181, label %178 178: ; preds = %174 %179 = load ptr, ptr %7, align 8 %180 = call i32 @do_gb18030uni(ptr noundef %179) br label %199 181: ; preds = %174 %182 = load ptr, ptr %7, align 8 %183 = call i32 @strcmp(ptr noundef %182, ptr noundef @.str.29) %184 = icmp ne i32 %183, 0 br i1 %184, label %188, label %185 185: ; preds = %181 %186 = load ptr, ptr %7, align 8 %187 = call i32 @do_jisx0213(ptr noundef %186) br label %198 188: ; preds = %181 %189 = load ptr, ptr %7, align 8 %190 = call i32 @strcmp(ptr noundef %189, ptr noundef @.str.30) %191 = icmp ne i32 %190, 0 br i1 %191, label %195, label %192 192: ; preds = %188 %193 = load ptr, ptr %7, align 8 %194 = call i32 @do_euc(ptr noundef %193) br label %197 195: ; preds = %188 %196 = call i32 @exit(i32 noundef 1) #3 unreachable 197: ; preds = %192 br label %198 198: ; preds = %197, %185 br label %199 199: ; preds = %198, %178 br label %200 200: ; preds = %199, %171 br label %201 201: ; preds = %200, %164 br label %202 202: ; preds = %201, %157 br label %203 203: ; preds = %202, %150 br label %204 204: ; preds = %203, %139 br label %205 205: ; preds = %204, %132 br label %206 206: ; preds = %205, %125 br label %207 207: ; preds = %206, %118 br label %208 208: ; preds = %207, %107 br label %209 209: ; preds = %208, %100 br label %210 210: ; preds = %209, %93 br label %211 211: ; preds = %210, %86 br label %212 212: ; preds = %211, %79 br label %213 213: ; preds = %212, %40 ret i32 0 } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 declare i32 @output_title(ptr noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @do_normal(ptr noundef) #2 declare i32 @do_normal_only_charset2uni(ptr noundef) #2 declare i32 @do_cns11643_only_uni2charset(ptr noundef) #2 declare i32 @do_gbk1_only_charset2uni(ptr noundef) #2 declare i32 @do_gbk2_only_charset2uni(ptr noundef) #2 declare i32 @do_gbk1_only_uni2charset(ptr noundef) #2 declare i32 @do_gbk1(ptr noundef) #2 declare i32 @do_ksc5601(ptr noundef) #2 declare i32 @do_uhc_1(ptr noundef) #2 declare i32 @do_uhc_2(ptr noundef) #2 declare i32 @do_big5(ptr noundef) #2 declare i32 @do_hkscs(ptr noundef) #2 declare i32 @do_johab_hangul(ptr noundef) #2 declare i32 @do_cp932(ptr noundef) #2 declare i32 @do_gb18030uni(ptr noundef) #2 declare i32 @do_jisx0213(ptr noundef) #2 declare i32 @do_euc(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 = { 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 = { "frame-pointer"="all" "no-trapping-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/tmpna4yuvwf.c' source_filename = "/tmp/tmpna4yuvwf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gammaFunction(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fmul double %3, 2.000000e+00 store double %4, ptr %2, align 8 %5 = load double, ptr %2, align 8 %6 = fsub double %5, 2.000000e+00 %7 = call i64 @doubleFactorial(double noundef %6) %8 = sitofp i64 %7 to double %9 = call double @sqrt(double noundef 0x400921FB54442D18) #3 %10 = fmul double %8, %9 %11 = load double, ptr %2, align 8 %12 = fsub double %11, 1.000000e+00 %13 = fdiv double %12, 2.000000e+00 %14 = call double @pow(i32 noundef 2, double noundef %13) %15 = fdiv double %10, %14 ret double %15 } declare i64 @doubleFactorial(double noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 declare double @pow(i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpna4yuvwf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gammaFunction(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fmul double %3, 2.000000e+00 store double %4, ptr %2, align 8 %5 = load double, ptr %2, align 8 %6 = fsub double %5, 2.000000e+00 %7 = call i64 @doubleFactorial(double noundef %6) %8 = sitofp i64 %7 to double %9 = call double @sqrt(double noundef 0x400921FB54442D18) #3 %10 = fmul double %8, %9 %11 = load double, ptr %2, align 8 %12 = fsub double %11, 1.000000e+00 %13 = fdiv double %12, 2.000000e+00 %14 = call double @pow(i32 noundef 2, double noundef %13) %15 = fdiv double %10, %14 ret double %15 } declare i64 @doubleFactorial(double noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 declare double @pow(i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr2o9bbia.c' source_filename = "/tmp/tmpr2o9bbia.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"[+]Start touch kernel null point\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"/proc/test\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @touch_null_kp() #0 { %1 = alloca ptr, align 8 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr @O_RDONLY, align 4 %4 = call ptr @open(ptr noundef @.str.1, i32 noundef %3) store ptr %4, ptr %1, align 8 %5 = load ptr, ptr %1, align 8 %6 = call i32 @read(ptr noundef %5, ptr noundef null, i32 noundef 0) ret void } declare i32 @printf(ptr noundef) #1 declare ptr @open(ptr noundef, i32 noundef) #1 declare i32 @read(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr2o9bbia.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"[+]Start touch kernel null point\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"/proc/test\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @touch_null_kp() #0 { %1 = alloca ptr, align 8 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr @O_RDONLY, align 4 %4 = call ptr @open(ptr noundef @.str.1, i32 noundef %3) store ptr %4, ptr %1, align 8 %5 = load ptr, ptr %1, align 8 %6 = call i32 @read(ptr noundef %5, ptr noundef null, i32 noundef 0) ret void } declare i32 @printf(ptr noundef) #1 declare ptr @open(ptr noundef, i32 noundef) #1 declare i32 @read(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz_7hvm2q.c' source_filename = "/tmp/tmpz_7hvm2q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_cmdline_entry(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [512 x i8], align 16 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strcpy(ptr noundef %4, ptr noundef %5) %7 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0 %8 = call i32 @parse_sched_entry(ptr noundef %7) ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @parse_sched_entry(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/tmpz_7hvm2q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_cmdline_entry(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [512 x i8], align 16 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strcpy(ptr noundef %4, ptr noundef %5) %7 = getelementptr inbounds [512 x i8], ptr %3, i64 0, i64 0 %8 = call i32 @parse_sched_entry(ptr noundef %7) ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @parse_sched_entry(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/tmpecr62jhy.c' source_filename = "/tmp/tmpecr62jhy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [500 x i32], align 16 %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 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 0, ptr %7, align 4 br label %9 9: ; preds = %18, %0 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %21 13: ; preds = %9 %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [500 x i32], ptr %2, i64 0, i64 %15 %17 = call i32 @scanf(ptr noundef @.str, ptr noundef %16) br label %18 18: ; preds = %13 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %7, align 4 br label %9, !llvm.loop !6 21: ; preds = %9 %22 = getelementptr inbounds [500 x i32], ptr %2, i64 0, i64 0 %23 = load i32, ptr %3, align 4 %24 = call i32 @minmax(ptr noundef %22, i32 noundef %23, ptr noundef %4, ptr noundef %5) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @minmax(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpecr62jhy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [500 x i32], align 16 %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 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 0, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %23 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %17 %13 = load i32, ptr %7, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [500 x i32], ptr %2, i64 0, i64 %14 %16 = call i32 @scanf(ptr noundef @.str, ptr noundef %15) br label %17 17: ; preds = %12 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %0 %24 = getelementptr inbounds [500 x i32], ptr %2, i64 0, i64 0 %25 = load i32, ptr %3, align 4 %26 = call i32 @minmax(ptr noundef %24, i32 noundef %25, ptr noundef %4, ptr noundef %5) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @minmax(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbrwbtsff.c' source_filename = "/tmp/tmpbrwbtsff.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @save_file(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 = load i64, ptr %6, align 8 %9 = call i32 @my_srand(i64 noundef %8) store i64 2097152, ptr %7, align 8 br label %10 10: ; preds = %30, %3 %11 = load i64, ptr %7, align 8 %12 = icmp uge i64 %11, 32 br i1 %12, label %13, label %33 13: ; preds = %10 br label %14 14: ; preds = %18, %13 %15 = load i64, ptr %6, align 8 %16 = load i64, ptr %7, align 8 %17 = icmp uge i64 %15, %16 br i1 %17, label %18, label %29 18: ; preds = %14 %19 = load ptr, ptr %4, align 8 %20 = load ptr, ptr %5, align 8 %21 = load i64, ptr %7, align 8 %22 = call i32 @save_chunk(ptr noundef %19, ptr noundef %20, i64 noundef %21) %23 = load i64, ptr %7, align 8 %24 = load i64, ptr %6, align 8 %25 = sub i64 %24, %23 store i64 %25, ptr %6, align 8 %26 = load i64, ptr %7, align 8 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 %26 store ptr %28, ptr %5, align 8 br label %14, !llvm.loop !6 29: ; preds = %14 br label %30 30: ; preds = %29 %31 = load i64, ptr %7, align 8 %32 = lshr i64 %31, 1 store i64 %32, ptr %7, align 8 br label %10, !llvm.loop !8 33: ; preds = %10 %34 = load i64, ptr %6, align 8 %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %41 36: ; preds = %33 %37 = load ptr, ptr %4, align 8 %38 = load ptr, ptr %5, align 8 %39 = load i64, ptr %6, align 8 %40 = call i32 @save(ptr noundef %37, ptr noundef %38, i64 noundef %39) br label %41 41: ; preds = %36, %33 ret void } declare i32 @my_srand(i64 noundef) #1 declare i32 @save_chunk(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @save(ptr 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpbrwbtsff.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @save_file(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 = load i64, ptr %6, align 8 %9 = call i32 @my_srand(i64 noundef %8) store i64 2097152, ptr %7, align 8 %10 = load i64, ptr %7, align 8 %11 = icmp uge i64 %10, 32 br i1 %11, label %.lr.ph2, label %36 .lr.ph2: ; preds = %3 br label %12 12: ; preds = %.lr.ph2, %31 %13 = load i64, ptr %6, align 8 %14 = load i64, ptr %7, align 8 %15 = icmp uge i64 %13, %14 br i1 %15, label %.lr.ph, label %30 .lr.ph: ; preds = %12 br label %16 16: ; preds = %.lr.ph, %16 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %7, align 8 %20 = call i32 @save_chunk(ptr noundef %17, ptr noundef %18, i64 noundef %19) %21 = load i64, ptr %7, align 8 %22 = load i64, ptr %6, align 8 %23 = sub i64 %22, %21 store i64 %23, ptr %6, align 8 %24 = load i64, ptr %7, align 8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 %24 store ptr %26, ptr %5, align 8 %27 = load i64, ptr %6, align 8 %28 = load i64, ptr %7, align 8 %29 = icmp uge i64 %27, %28 br i1 %29, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %30 30: ; preds = %._crit_edge, %12 br label %31 31: ; preds = %30 %32 = load i64, ptr %7, align 8 %33 = lshr i64 %32, 1 store i64 %33, ptr %7, align 8 %34 = load i64, ptr %7, align 8 %35 = icmp uge i64 %34, 32 br i1 %35, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %31 br label %36 36: ; preds = %._crit_edge3, %3 %37 = load i64, ptr %6, align 8 %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %44 39: ; preds = %36 %40 = load ptr, ptr %4, align 8 %41 = load ptr, ptr %5, align 8 %42 = load i64, ptr %6, align 8 %43 = call i32 @save(ptr noundef %40, ptr noundef %41, i64 noundef %42) br label %44 44: ; preds = %39, %36 ret void } declare i32 @my_srand(i64 noundef) #1 declare i32 @save_chunk(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @save(ptr 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpke1bwc6m.c' source_filename = "/tmp/tmpke1bwc6m.c" target datalayout = "e-m:e-p270: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/tmpke1bwc6m.c" target datalayout = "e-m:e-p270: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/tmpjekfp23a.c' source_filename = "/tmp/tmpjekfp23a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmp_addr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %10, align 8 %12 = call i32 @strncmp(ptr noundef %9, ptr noundef %11, i32 noundef 8) ret i32 %12 } declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjekfp23a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmp_addr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %10, align 8 %12 = call i32 @strncmp(ptr noundef %9, ptr noundef %11, i32 noundef 8) ret i32 %12 } declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg90udbf6.c' source_filename = "/tmp/tmpg90udbf6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart_flush() #0 { br label %1 1: ; preds = %0, %6 %2 = call i32 @GET32(i32 noundef 539054164) %3 = and i32 %2, 256 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %6 5: ; preds = %1 br label %7 6: ; preds = %1 br label %1 7: ; preds = %5 ret void } declare i32 @GET32(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/tmpg90udbf6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart_flush() #0 { br label %1 1: ; preds = %1, %0 %2 = call i32 @GET32(i32 noundef 539054164) %3 = and i32 %2, 256 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %1 5: ; preds = %1 br label %6 6: ; preds = %5 ret void } declare i32 @GET32(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/tmpsbxsrr4c.c' source_filename = "/tmp/tmpsbxsrr4c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"/dev/stdout\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"0.0.0.0\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"1337\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 (...) @hover_event_init() %6 = call i32 @hover_log_init(ptr noundef @.str) %7 = call i32 @hover_hardware_init(i32 noundef 12, i32 noundef 13, i32 noundef 11) %8 = call i32 @hover_websocket_run(ptr noundef @.str.1, ptr noundef @.str.2) ret i32 0 } declare i32 @hover_event_init(...) #1 declare i32 @hover_log_init(ptr noundef) #1 declare i32 @hover_hardware_init(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @hover_websocket_run(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/tmpsbxsrr4c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"/dev/stdout\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"0.0.0.0\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"1337\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 (...) @hover_event_init() %6 = call i32 @hover_log_init(ptr noundef @.str) %7 = call i32 @hover_hardware_init(i32 noundef 12, i32 noundef 13, i32 noundef 11) %8 = call i32 @hover_websocket_run(ptr noundef @.str.1, ptr noundef @.str.2) ret i32 0 } declare i32 @hover_event_init(...) #1 declare i32 @hover_log_init(ptr noundef) #1 declare i32 @hover_hardware_init(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @hover_websocket_run(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/tmp38vq8ayx.c' source_filename = "/tmp/tmp38vq8ayx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @carlson_elliptic_rc(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %12 = load double, ptr %4, align 8 %13 = fcmp ogt double %12, 0.000000e+00 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = load double, ptr %3, align 8 store double %15, ptr %9, align 8 %16 = load double, ptr %4, align 8 store double %16, ptr %10, align 8 store double 1.000000e+00, ptr %8, align 8 br label %28 17: ; preds = %2 %18 = load double, ptr %3, align 8 %19 = load double, ptr %4, align 8 %20 = fsub double %18, %19 store double %20, ptr %9, align 8 %21 = load double, ptr %4, align 8 %22 = fneg double %21 store double %22, ptr %10, align 8 %23 = load double, ptr %3, align 8 %24 = call double @sqrt(double noundef %23) #3 %25 = load double, ptr %9, align 8 %26 = call double @sqrt(double noundef %25) #3 %27 = fdiv double %24, %26 store double %27, ptr %8, align 8 br label %28 28: ; preds = %17, %14 br label %29 29: ; preds = %56, %28 %30 = load double, ptr %9, align 8 %31 = call double @sqrt(double noundef %30) #3 %32 = fmul double 2.000000e+00, %31 %33 = load double, ptr %10, align 8 %34 = call double @sqrt(double noundef %33) #3 %35 = load double, ptr %10, align 8 %36 = call double @llvm.fmuladd.f64(double %32, double %34, double %35) store double %36, ptr %5, align 8 %37 = load double, ptr %9, align 8 %38 = load double, ptr %5, align 8 %39 = fadd double %37, %38 %40 = fmul double 2.500000e-01, %39 store double %40, ptr %9, align 8 %41 = load double, ptr %10, align 8 %42 = load double, ptr %5, align 8 %43 = fadd double %41, %42 %44 = fmul double 2.500000e-01, %43 store double %44, ptr %10, align 8 %45 = load double, ptr %9, align 8 %46 = load double, ptr %10, align 8 %47 = fadd double %45, %46 %48 = load double, ptr %10, align 8 %49 = fadd double %47, %48 %50 = fmul double 0x3FD5555555555555, %49 store double %50, ptr %6, align 8 %51 = load double, ptr %10, align 8 %52 = load double, ptr %6, align 8 %53 = fsub double %51, %52 %54 = load double, ptr %6, align 8 %55 = fdiv double %53, %54 store double %55, ptr %7, align 8 br label %56 56: ; preds = %29 %57 = load double, ptr %7, align 8 %58 = call double @llvm.fabs.f64(double %57) %59 = fcmp ogt double %58, 1.200000e-03 br i1 %59, label %29, label %60, !llvm.loop !6 60: ; preds = %56 %61 = load double, ptr %8, align 8 %62 = load double, ptr %7, align 8 %63 = load double, ptr %7, align 8 %64 = fmul double %62, %63 %65 = load double, ptr %7, align 8 %66 = load double, ptr %7, align 8 %67 = load double, ptr %7, align 8 %68 = call double @llvm.fmuladd.f64(double %67, double 0x3FDA2E8BA2E8BA2F, double 3.750000e-01) %69 = call double @llvm.fmuladd.f64(double %66, double %68, double 0x3FC2492492492492) %70 = call double @llvm.fmuladd.f64(double %65, double %69, double 3.000000e-01) %71 = call double @llvm.fmuladd.f64(double %64, double %70, double 1.000000e+00) %72 = fmul double %61, %71 %73 = load double, ptr %6, align 8 %74 = call double @sqrt(double noundef %73) #3 %75 = fdiv double %72, %74 store double %75, ptr %11, align 8 %76 = load double, ptr %11, align 8 ret double %76 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp38vq8ayx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @carlson_elliptic_rc(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %12 = load double, ptr %4, align 8 %13 = fcmp ogt double %12, 0.000000e+00 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = load double, ptr %3, align 8 store double %15, ptr %9, align 8 %16 = load double, ptr %4, align 8 store double %16, ptr %10, align 8 store double 1.000000e+00, ptr %8, align 8 br label %28 17: ; preds = %2 %18 = load double, ptr %3, align 8 %19 = load double, ptr %4, align 8 %20 = fsub double %18, %19 store double %20, ptr %9, align 8 %21 = load double, ptr %4, align 8 %22 = fneg double %21 store double %22, ptr %10, align 8 %23 = load double, ptr %3, align 8 %24 = call double @sqrt(double noundef %23) #3 %25 = load double, ptr %9, align 8 %26 = call double @sqrt(double noundef %25) #3 %27 = fdiv double %24, %26 store double %27, ptr %8, align 8 br label %28 28: ; preds = %17, %14 br label %29 29: ; preds = %56, %28 %30 = load double, ptr %9, align 8 %31 = call double @sqrt(double noundef %30) #3 %32 = fmul double 2.000000e+00, %31 %33 = load double, ptr %10, align 8 %34 = call double @sqrt(double noundef %33) #3 %35 = load double, ptr %10, align 8 %36 = call double @llvm.fmuladd.f64(double %32, double %34, double %35) store double %36, ptr %5, align 8 %37 = load double, ptr %9, align 8 %38 = load double, ptr %5, align 8 %39 = fadd double %37, %38 %40 = fmul double 2.500000e-01, %39 store double %40, ptr %9, align 8 %41 = load double, ptr %10, align 8 %42 = load double, ptr %5, align 8 %43 = fadd double %41, %42 %44 = fmul double 2.500000e-01, %43 store double %44, ptr %10, align 8 %45 = load double, ptr %9, align 8 %46 = load double, ptr %10, align 8 %47 = fadd double %45, %46 %48 = load double, ptr %10, align 8 %49 = fadd double %47, %48 %50 = fmul double 0x3FD5555555555555, %49 store double %50, ptr %6, align 8 %51 = load double, ptr %10, align 8 %52 = load double, ptr %6, align 8 %53 = fsub double %51, %52 %54 = load double, ptr %6, align 8 %55 = fdiv double %53, %54 store double %55, ptr %7, align 8 br label %56 56: ; preds = %29 %57 = load double, ptr %7, align 8 %58 = call double @llvm.fabs.f64(double %57) %59 = fcmp ogt double %58, 1.200000e-03 br i1 %59, label %29, label %60, !llvm.loop !6 60: ; preds = %56 %61 = load double, ptr %8, align 8 %62 = load double, ptr %7, align 8 %63 = load double, ptr %7, align 8 %64 = fmul double %62, %63 %65 = load double, ptr %7, align 8 %66 = load double, ptr %7, align 8 %67 = load double, ptr %7, align 8 %68 = call double @llvm.fmuladd.f64(double %67, double 0x3FDA2E8BA2E8BA2F, double 3.750000e-01) %69 = call double @llvm.fmuladd.f64(double %66, double %68, double 0x3FC2492492492492) %70 = call double @llvm.fmuladd.f64(double %65, double %69, double 3.000000e-01) %71 = call double @llvm.fmuladd.f64(double %64, double %70, double 1.000000e+00) %72 = fmul double %61, %71 %73 = load double, ptr %6, align 8 %74 = call double @sqrt(double noundef %73) #3 %75 = fdiv double %72, %74 store double %75, ptr %11, align 8 %76 = load double, ptr %11, align 8 ret double %76 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqnmdx0x5.c' source_filename = "/tmp/tmpqnmdx0x5.c" target datalayout = "e-m:e-p270: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.command1 = private unnamed_addr constant [126 x i8] c"python makeShapefile.py; rm test.* ; rm m.txt ; python extractPoints.py GSHHS_c_L1.shp polygon.shp test 5 > m.txt ; cat m.txt\00", align 16 @__const.main.command2 = private unnamed_addr constant [55 x i8] c"rm shpTest.geo; python makeGeoFile.py test.shp shpTest\00", align 16 @__const.main.command3 = private unnamed_addr constant [37 x i8] c"gmsh -2 shpTest.geo>t.txt ; rm t.txt\00", align 16 @__const.main.command4 = private unnamed_addr constant [17 x i8] c"gmsh shpTest.msh\00", align 16 @.str = private unnamed_addr constant [12 x i8] c"Meshing...\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"done...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [126 x i8], align 16 %3 = alloca [55 x i8], align 16 %4 = alloca [37 x i8], align 16 %5 = alloca [17 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.command1, i64 126, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.command2, i64 55, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.command3, i64 37, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.command4, i64 17, i1 false) %6 = getelementptr inbounds [126 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @system(ptr noundef %6) %8 = getelementptr inbounds [55 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @system(ptr noundef %8) %10 = call i32 @printf(ptr noundef @.str) %11 = getelementptr inbounds [37 x i8], ptr %4, i64 0, i64 0 %12 = call i32 @system(ptr noundef %11) %13 = call i32 @printf(ptr noundef @.str.1) %14 = getelementptr inbounds [17 x i8], ptr %5, i64 0, i64 0 %15 = call i32 @system(ptr noundef %14) ret i32 1 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @system(ptr noundef) #2 declare i32 @printf(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/tmpqnmdx0x5.c" target datalayout = "e-m:e-p270: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.command1 = private unnamed_addr constant [126 x i8] c"python makeShapefile.py; rm test.* ; rm m.txt ; python extractPoints.py GSHHS_c_L1.shp polygon.shp test 5 > m.txt ; cat m.txt\00", align 16 @__const.main.command2 = private unnamed_addr constant [55 x i8] c"rm shpTest.geo; python makeGeoFile.py test.shp shpTest\00", align 16 @__const.main.command3 = private unnamed_addr constant [37 x i8] c"gmsh -2 shpTest.geo>t.txt ; rm t.txt\00", align 16 @__const.main.command4 = private unnamed_addr constant [17 x i8] c"gmsh shpTest.msh\00", align 16 @.str = private unnamed_addr constant [12 x i8] c"Meshing...\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"done...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [126 x i8], align 16 %3 = alloca [55 x i8], align 16 %4 = alloca [37 x i8], align 16 %5 = alloca [17 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.command1, i64 126, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.command2, i64 55, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.command3, i64 37, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.command4, i64 17, i1 false) %6 = getelementptr inbounds [126 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @system(ptr noundef %6) %8 = getelementptr inbounds [55 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @system(ptr noundef %8) %10 = call i32 @printf(ptr noundef @.str) %11 = getelementptr inbounds [37 x i8], ptr %4, i64 0, i64 0 %12 = call i32 @system(ptr noundef %11) %13 = call i32 @printf(ptr noundef @.str.1) %14 = getelementptr inbounds [17 x i8], ptr %5, i64 0, i64 0 %15 = call i32 @system(ptr noundef %14) ret i32 1 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @system(ptr noundef) #2 declare i32 @printf(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/tmpnqv87796.c' source_filename = "/tmp/tmpnqv87796.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call_reg64(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @put8(i32 noundef 255) %4 = load i32, ptr %2, align 4 %5 = add i32 208, %4 %6 = call i32 @put8(i32 noundef %5) 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/tmpnqv87796.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call_reg64(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @put8(i32 noundef 255) %4 = load i32, ptr %2, align 4 %5 = add i32 208, %4 %6 = call i32 @put8(i32 noundef %5) 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/tmp10m3k9s6.c' source_filename = "/tmp/tmp10m3k9s6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp10m3k9s6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp33qp5_ue.c' source_filename = "/tmp/tmp33qp5_ue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp33qp5_ue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl1j4gqbp.c' source_filename = "/tmp/tmpl1j4gqbp.c" target datalayout = "e-m:e-p270: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/tmpl1j4gqbp.c" target datalayout = "e-m:e-p270: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/tmp7znmyy3n.c' source_filename = "/tmp/tmp7znmyy3n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"%u.%u.%u.%u\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_valid_ip(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [64 x i8], align 16 store ptr %0, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = call i32 @sscanf(ptr noundef %9, ptr noundef @.str, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) %11 = icmp ne i32 %10, 4 br i1 %11, label %12, label %13 12: ; preds = %1 store i32 0, ptr %2, align 4 br label %42 13: ; preds = %1 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %41 16: ; preds = %13 %17 = load i32, ptr %4, align 4 %18 = icmp ule i32 %17, 255 br i1 %18, label %19, label %41 19: ; preds = %16 %20 = load i32, ptr %5, align 4 %21 = icmp ule i32 %20, 255 br i1 %21, label %22, label %41 22: ; preds = %19 %23 = load i32, ptr %6, align 4 %24 = icmp ule i32 %23, 255 br i1 %24, label %25, label %41 25: ; preds = %22 %26 = load i32, ptr %7, align 4 %27 = icmp ule i32 %26, 255 br i1 %27, label %28, label %41 28: ; preds = %25 %29 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0 %30 = load i32, ptr %4, align 4 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %7, align 4 %34 = call i32 @sprintf(ptr noundef %29, ptr noundef @.str, i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %33) %35 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0 %36 = load ptr, ptr %3, align 8 %37 = call i64 @strcmp(ptr noundef %35, ptr noundef %36) %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %40 39: ; preds = %28 store i32 0, ptr %2, align 4 br label %42 40: ; preds = %28 store i32 1, ptr %2, align 4 br label %42 41: ; preds = %25, %22, %19, %16, %13 store i32 0, ptr %2, align 4 br label %42 42: ; preds = %41, %40, %39, %12 %43 = load i32, ptr %2, align 4 ret i32 %43 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7znmyy3n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"%u.%u.%u.%u\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_valid_ip(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [64 x i8], align 16 store ptr %0, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = call i32 @sscanf(ptr noundef %9, ptr noundef @.str, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) %11 = icmp ne i32 %10, 4 br i1 %11, label %12, label %13 12: ; preds = %1 store i32 0, ptr %2, align 4 br label %42 13: ; preds = %1 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %41 16: ; preds = %13 %17 = load i32, ptr %4, align 4 %18 = icmp ule i32 %17, 255 br i1 %18, label %19, label %41 19: ; preds = %16 %20 = load i32, ptr %5, align 4 %21 = icmp ule i32 %20, 255 br i1 %21, label %22, label %41 22: ; preds = %19 %23 = load i32, ptr %6, align 4 %24 = icmp ule i32 %23, 255 br i1 %24, label %25, label %41 25: ; preds = %22 %26 = load i32, ptr %7, align 4 %27 = icmp ule i32 %26, 255 br i1 %27, label %28, label %41 28: ; preds = %25 %29 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0 %30 = load i32, ptr %4, align 4 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %7, align 4 %34 = call i32 @sprintf(ptr noundef %29, ptr noundef @.str, i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %33) %35 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0 %36 = load ptr, ptr %3, align 8 %37 = call i64 @strcmp(ptr noundef %35, ptr noundef %36) %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %40 39: ; preds = %28 store i32 0, ptr %2, align 4 br label %42 40: ; preds = %28 store i32 1, ptr %2, align 4 br label %42 41: ; preds = %25, %22, %19, %16, %13 store i32 0, ptr %2, align 4 br label %42 42: ; preds = %41, %40, %39, %12 %43 = load i32, ptr %2, align 4 ret i32 %43 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnghhemdg.c' source_filename = "/tmp/tmpnghhemdg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BinarySearch(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 7, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %46, %2 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %13, label %47 13: ; preds = %9 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 %15, %16 %18 = sdiv i32 %17, 2 %19 = add nsw i32 %14, %18 store i32 %19, ptr %8, align 4 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = call i64 @strcmp(ptr noundef %20, ptr noundef %25) %27 = icmp slt i64 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %13 %29 = load i32, ptr %8, align 4 %30 = sub nsw i32 %29, 1 store i32 %30, ptr %7, align 4 br label %46 31: ; preds = %13 %32 = load ptr, ptr %5, align 8 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = call i64 @strcmp(ptr noundef %32, ptr noundef %37) %39 = icmp sgt i64 %38, 0 br i1 %39, label %40, label %43 40: ; preds = %31 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 br label %45 43: ; preds = %31 %44 = load i32, ptr %8, align 4 store i32 %44, ptr %3, align 4 br label %48 45: ; preds = %40 br label %46 46: ; preds = %45, %28 br label %9, !llvm.loop !6 47: ; preds = %9 store i32 -1, ptr %3, align 4 br label %48 48: ; preds = %47, %43 %49 = load i32, ptr %3, align 4 ret i32 %49 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnghhemdg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BinarySearch(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 7, ptr %7, align 4 store i32 0, ptr %8, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %.lr.ph, label %49 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %45 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = sub nsw i32 %14, %15 %17 = sdiv i32 %16, 2 %18 = add nsw i32 %13, %17 store i32 %18, ptr %8, align 4 %19 = load ptr, ptr %5, align 8 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds ptr, ptr %20, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = call i64 @strcmp(ptr noundef %19, ptr noundef %24) %26 = icmp slt i64 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %12 %28 = load i32, ptr %8, align 4 %29 = sub nsw i32 %28, 1 store i32 %29, ptr %7, align 4 br label %45 30: ; preds = %12 %31 = load ptr, ptr %5, align 8 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %8, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %32, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = call i64 @strcmp(ptr noundef %31, ptr noundef %36) %38 = icmp sgt i64 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %30 %40 = load i32, ptr %8, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %6, align 4 br label %44 42: ; preds = %30 %43 = load i32, ptr %8, align 4 store i32 %43, ptr %3, align 4 br label %50 44: ; preds = %39 br label %45 45: ; preds = %44, %27 %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %7, align 4 %48 = icmp sle i32 %46, %47 br i1 %48, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %49 49: ; preds = %._crit_edge, %2 store i32 -1, ptr %3, align 4 br label %50 50: ; preds = %49, %42 %51 = load i32, ptr %3, align 4 ret i32 %51 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpiij0e2pm.c' source_filename = "/tmp/tmpiij0e2pm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"Usage: %s <file-to-read> <file-to-write>\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"Reading file %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Writing file %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"cannot open %s for read\0A\00", align 1 @.str.6 = private unnamed_addr constant [26 x i8] c"cannot open %s for write\0A\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.8 = private unnamed_addr constant [24 x i8] c"write error to file %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [25 x i8] c"\0Asup: EOF is %d, %u, %x\0A\00", align 1 @.str.10 = private unnamed_addr constant [31 x i8] c"Copied %d bytes from %s to %s\0A\00", align 1 @.str.11 = private unnamed_addr constant [10 x i8] c"shasum %s\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 [1024 x i8], align 16 %7 = alloca [1024 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i8, align 1 %14 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %8, align 8 store ptr null, ptr %9, align 8 store ptr null, ptr %10, align 8 store ptr null, ptr %11, align 8 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 3 br i1 %16, label %17, label %23 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 %20 = load ptr, ptr %19, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %20) %22 = load i32, ptr %4, align 4 store i32 %22, ptr %3, align 4 br label %101 23: ; preds = %2 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 store ptr %26, ptr %8, align 8 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 2 %29 = load ptr, ptr %28, align 8 store ptr %29, ptr %9, align 8 %30 = load ptr, ptr %8, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %30) %32 = load ptr, ptr %9, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %32) %34 = load ptr, ptr %8, align 8 %35 = call ptr @fopen(ptr noundef %34, ptr noundef @.str.3) store ptr %35, ptr %10, align 8 %36 = load ptr, ptr %9, align 8 %37 = call ptr @fopen(ptr noundef %36, ptr noundef @.str.4) store ptr %37, ptr %11, align 8 %38 = load ptr, ptr %10, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %43, label %40 40: ; preds = %23 %41 = load ptr, ptr %8, align 8 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %41) store i32 -1, ptr %3, align 4 br label %101 43: ; preds = %23 %44 = load ptr, ptr %11, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %49, label %46 46: ; preds = %43 %47 = load ptr, ptr %9, align 8 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %47) store i32 -2, ptr %3, align 4 br label %101 49: ; preds = %43 br label %50 50: ; preds = %73, %49 %51 = load ptr, ptr %10, align 8 %52 = call signext i8 @fgetc(ptr noundef %51) store i8 %52, ptr %13, align 1 %53 = sext i8 %52 to i32 %54 = load i8, ptr @EOF, align 1 %55 = sext i8 %54 to i32 %56 = icmp ne i32 %53, %55 br i1 %56, label %57, label %74 57: ; preds = %50 %58 = load i32, ptr %12, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %12, align 4 %60 = load i8, ptr %13, align 1 %61 = sext i8 %60 to i32 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %61) %63 = load i8, ptr %13, align 1 %64 = load ptr, ptr %11, align 8 %65 = call signext i8 @fputc(i8 noundef signext %63, ptr noundef %64) store i8 %65, ptr %14, align 1 %66 = sext i8 %65 to i32 %67 = load i8, ptr @EOF, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %66, %68 br i1 %69, label %70, label %73 70: ; preds = %57 %71 = load ptr, ptr %9, align 8 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %71) store i32 -3, ptr %3, align 4 br label %101 73: ; preds = %57 br label %50, !llvm.loop !6 74: ; preds = %50 %75 = load i8, ptr @EOF, align 1 store i8 %75, ptr %13, align 1 %76 = load i8, ptr %13, align 1 %77 = sext i8 %76 to i32 %78 = load i8, ptr %13, align 1 %79 = sext i8 %78 to i32 %80 = load i8, ptr %13, align 1 %81 = sext i8 %80 to i32 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %77, i32 noundef %79, i32 noundef %81) %83 = load ptr, ptr %10, align 8 %84 = call i32 @fclose(ptr noundef %83) %85 = load ptr, ptr %11, align 8 %86 = call i32 @fclose(ptr noundef %85) %87 = load i32, ptr %12, align 4 %88 = load ptr, ptr %8, align 8 %89 = load ptr, ptr %9, align 8 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %87, ptr noundef %88, ptr noundef %89) %91 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %92 = load ptr, ptr %8, align 8 %93 = call i32 @sprintf(ptr noundef %91, ptr noundef @.str.11, ptr noundef %92) %94 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %95 = load ptr, ptr %9, align 8 %96 = call i32 @sprintf(ptr noundef %94, ptr noundef @.str.11, ptr noundef %95) %97 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %98 = call i32 @system(ptr noundef %97) %99 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %100 = call i32 @system(ptr noundef %99) store i32 0, ptr %3, align 4 br label %101 101: ; preds = %74, %70, %46, %40, %17 %102 = load i32, ptr %3, align 4 ret i32 %102 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare signext i8 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiij0e2pm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"Usage: %s <file-to-read> <file-to-write>\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"Reading file %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Writing file %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"cannot open %s for read\0A\00", align 1 @.str.6 = private unnamed_addr constant [26 x i8] c"cannot open %s for write\0A\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.8 = private unnamed_addr constant [24 x i8] c"write error to file %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [25 x i8] c"\0Asup: EOF is %d, %u, %x\0A\00", align 1 @.str.10 = private unnamed_addr constant [31 x i8] c"Copied %d bytes from %s to %s\0A\00", align 1 @.str.11 = private unnamed_addr constant [10 x i8] c"shasum %s\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 [1024 x i8], align 16 %7 = alloca [1024 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i8, align 1 %14 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %8, align 8 store ptr null, ptr %9, align 8 store ptr null, ptr %10, align 8 store ptr null, ptr %11, align 8 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 3 br i1 %16, label %17, label %23 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 %20 = load ptr, ptr %19, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %20) %22 = load i32, ptr %4, align 4 store i32 %22, ptr %3, align 4 br label %106 23: ; preds = %2 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 store ptr %26, ptr %8, align 8 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 2 %29 = load ptr, ptr %28, align 8 store ptr %29, ptr %9, align 8 %30 = load ptr, ptr %8, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %30) %32 = load ptr, ptr %9, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %32) %34 = load ptr, ptr %8, align 8 %35 = call ptr @fopen(ptr noundef %34, ptr noundef @.str.3) store ptr %35, ptr %10, align 8 %36 = load ptr, ptr %9, align 8 %37 = call ptr @fopen(ptr noundef %36, ptr noundef @.str.4) store ptr %37, ptr %11, align 8 %38 = load ptr, ptr %10, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %43, label %40 40: ; preds = %23 %41 = load ptr, ptr %8, align 8 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %41) store i32 -1, ptr %3, align 4 br label %106 43: ; preds = %23 %44 = load ptr, ptr %11, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %49, label %46 46: ; preds = %43 %47 = load ptr, ptr %9, align 8 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %47) store i32 -2, ptr %3, align 4 br label %106 49: ; preds = %43 %50 = load ptr, ptr %10, align 8 %51 = call signext i8 @fgetc(ptr noundef %50) store i8 %51, ptr %13, align 1 %52 = sext i8 %51 to i32 %53 = load i8, ptr @EOF, align 1 %54 = sext i8 %53 to i32 %55 = icmp ne i32 %52, %54 br i1 %55, label %.lr.ph, label %79 .lr.ph: ; preds = %49 br label %63 56: ; preds = %63 %57 = load ptr, ptr %10, align 8 %58 = call signext i8 @fgetc(ptr noundef %57) store i8 %58, ptr %13, align 1 %59 = sext i8 %58 to i32 %60 = load i8, ptr @EOF, align 1 %61 = sext i8 %60 to i32 %62 = icmp ne i32 %59, %61 br i1 %62, label %63, label %._crit_edge, !llvm.loop !6 63: ; preds = %.lr.ph, %56 %64 = load i32, ptr %12, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %12, align 4 %66 = load i8, ptr %13, align 1 %67 = sext i8 %66 to i32 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %67) %69 = load i8, ptr %13, align 1 %70 = load ptr, ptr %11, align 8 %71 = call signext i8 @fputc(i8 noundef signext %69, ptr noundef %70) store i8 %71, ptr %14, align 1 %72 = sext i8 %71 to i32 %73 = load i8, ptr @EOF, align 1 %74 = sext i8 %73 to i32 %75 = icmp eq i32 %72, %74 br i1 %75, label %76, label %56 76: ; preds = %63 %77 = load ptr, ptr %9, align 8 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %77) store i32 -3, ptr %3, align 4 br label %106 ._crit_edge: ; preds = %56 br label %79 79: ; preds = %._crit_edge, %49 %80 = load i8, ptr @EOF, align 1 store i8 %80, ptr %13, align 1 %81 = load i8, ptr %13, align 1 %82 = sext i8 %81 to i32 %83 = load i8, ptr %13, align 1 %84 = sext i8 %83 to i32 %85 = load i8, ptr %13, align 1 %86 = sext i8 %85 to i32 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %82, i32 noundef %84, i32 noundef %86) %88 = load ptr, ptr %10, align 8 %89 = call i32 @fclose(ptr noundef %88) %90 = load ptr, ptr %11, align 8 %91 = call i32 @fclose(ptr noundef %90) %92 = load i32, ptr %12, align 4 %93 = load ptr, ptr %8, align 8 %94 = load ptr, ptr %9, align 8 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %92, ptr noundef %93, ptr noundef %94) %96 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %97 = load ptr, ptr %8, align 8 %98 = call i32 @sprintf(ptr noundef %96, ptr noundef @.str.11, ptr noundef %97) %99 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %100 = load ptr, ptr %9, align 8 %101 = call i32 @sprintf(ptr noundef %99, ptr noundef @.str.11, ptr noundef %100) %102 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %103 = call i32 @system(ptr noundef %102) %104 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %105 = call i32 @system(ptr noundef %104) store i32 0, ptr %3, align 4 br label %106 106: ; preds = %79, %76, %46, %40, %17 %107 = load i32, ptr %3, align 4 ret i32 %107 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare signext i8 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppd0zfwha.c' source_filename = "/tmp/tmppd0zfwha.c" target datalayout = "e-m:e-p270: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/tmppd0zfwha.c" target datalayout = "e-m:e-p270: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/tmpu_wtrzv1.c' source_filename = "/tmp/tmpu_wtrzv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"\0AQuantos segundos?: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = call i32 @segparaHoras(i32 noundef %5) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @segparaHoras(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/tmpu_wtrzv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"\0AQuantos segundos?: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = call i32 @segparaHoras(i32 noundef %5) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @segparaHoras(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/tmprs3n3pf_.c' source_filename = "/tmp/tmprs3n3pf_.c" target datalayout = "e-m:e-p270: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/tmprs3n3pf_.c" target datalayout = "e-m:e-p270: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/tmpnx1d4nep.c' source_filename = "/tmp/tmpnx1d4nep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1515 x i8] c"<?xml version=\221.0\22 encoding=\22UTF-8\22 standalone=\22no\22?>\0A<!-- IEETA 2014 using Inkscape -->\0A<svg\0Axmlns:osb=\22http://www.openswatchbook.org/uri/2009/osb\22\0Axmlns:dc=\22http://purl.org/dc/elements/1.1/\22\0Axmlns:cc=\22http://creativecommons.org/ns#\22\0Axmlns:rdf=\22http://www.w3.org/1999/02/22-rdf-syntax-ns#\22\0Axmlns:svg=\22http://www.w3.org/2000/svg\22\0Axmlns=\22http://www.w3.org/2000/svg\22\0Axmlns:sodipodi=\22http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\22\0Axmlns:inkscape=\22http://www.inkscape.org/namespaces/inkscape\22\0Awidth=\22%lf\22\0Aheight=\22%lf\22\0Aid=\22svg2\22\0Aversion=\221.1\22\0Ainkscape:version=\220.48.3.1 r9886\22\0Asodipodi:docname=\22chromosomes\22>\0A<defs\0Aid=\22defs4\22>\0A<linearGradient id=\22linearGradient3755\22 osb:paint=\22solid\22>\0A<stop style=\22stop-color:#aa00ff;stop-opacity:1;\22 offset=\220\22\0Aid=\22stop3757\22 />\0A</linearGradient>\0A</defs>\0A<sodipodi:namedview id=\22base\22 pagecolor=\22#ffffff\22\0Abordercolor=\22#666666\22 borderopacity=\221.0\22\0Ainkscape:pageopacity=\220.0\22 inkscape:pageshadow=\222\22\0Ainkscape:zoom=\220.49497475\22 inkscape:cx=\22159.73474\22\0Ainkscape:cy=\22681.53008\22 inkscape:document-units=\22px\22\0Ainkscape:current-layer=\22layer1\22 showgrid=\22false\22\0Ainkscape:window-width=\221066\22 inkscape:window-height=\22790\22\0Ainkscape:window-x=\22278\22 inkscape:window-y=\221106\22\0Ainkscape:window-maximized=\221\22 />\0A<metadata id=\22metadata7\22>\0A<rdf:RDF>\0A<cc:Work rdf:about=\22\22>\0A<dc:format>image/svg+xml</dc:format>\0A<dc:type rdf:resource=\22http://purl.org/dc/dcmitype/StillImage\22 />\0A<dc:title></dc:title>\0A</cc:Work>\0A</rdf:RDF>\0A</metadata>\0A<g inkscape:label=\22Camada 1\22 inkscape:groupmode=\22layer\22 id=\22layer1\22 >\0A\00", align 1 @.str.1 = private unnamed_addr constant [4099 x i8] c"<defs id=\22defs6211\22><pattern inkscape:stockid=\22Polka dots, large\22 id=\22Polkadots-large\22 patternTransform=\22translate(0,0)scale(10,10)\22 height=\2210\22 width=\2210\22 patternUnits=\22userSpaceOnUse\22 inkscape:collect=\22always\22> <circle id=\22circle4936\22 r=\220.45\22 cy=\220.810\22 cx=\222.567\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4938\22 r=\220.45\22 cy=\222.33\22 cx=\223.048\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4940\22 r=\220.45\22 cy=\222.415\22 cx=\224.418\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4942\22 r=\220.45\22 cy=\223.029\22 cx=\221.844\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4944\22 r=\220.45\22 cy=\221.363\22 cx=\226.08\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4946\22 r=\220.45\22 cy=\224.413\22 cx=\225.819\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4948\22 r=\220.45\22 cy=\224.048\22 cx=\224.305\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4950\22 r=\220.45\22 cy=\223.045\22 cx=\225.541\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4952\22 r=\220.45\22 cy=\225.527\22 cx=\224.785\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4954\22 r=\220.45\22 cy=\225.184\22 cx=\222.667\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4956\22 r=\220.45\22 cy=\221.448\22 cx=\227.965\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4958\22 r=\220.45\22 cy=\225.049\22 cx=\227.047\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4960\22 r=\220.45\22 cy=\220.895\22 cx=\224.340\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4962\22 r=\220.45\22 cy=\220.340\22 cx=\227.125\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4964\22 r=\220.45\22 cy=\221.049\22 cx=\229.553\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4966\22 r=\220.45\22 cy=\222.689\22 cx=\227.006\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4968\22 r=\220.45\22 cy=\222.689\22 cx=\228.909\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4970\22 r=\220.45\22 cy=\224.407\22 cx=\229.315\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4972\22 r=\220.45\22 cy=\223.870\22 cx=\227.820\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4974\22 r=\220.45\22 cy=\225.948\22 cx=\228.270\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4976\22 r=\220.45\22 cy=\227.428\22 cx=\227.973\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4978\22 r=\220.45\22 cy=\228.072\22 cx=\229.342\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4980\22 r=\220.45\22 cy=\229.315\22 cx=\228.206\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4982\22 r=\220.45\22 cy=\229.475\22 cx=\229.682\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4984\22 r=\220.45\22 cy=\226.186\22 cx=\229.688\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4986\22 r=\220.45\22 cy=\226.296\22 cx=\223.379\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4988\22 r=\220.45\22 cy=\228.204\22 cx=\222.871\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4990\22 r=\220.45\22 cy=\228.719\22 cx=\224.59\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4992\22 r=\220.45\22 cy=\229.671\22 cx=\223.181\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4994\22 r=\220.45\22 cy=\227.315\22 cx=\225.734\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4996\22 r=\220.45\22 cy=\226.513\22 cx=\226.707\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4998\22 r=\220.45\22 cy=\229.670\22 cx=\225.730\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5000\22 r=\220.45\22 cy=\228.373\22 cx=\226.535\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5002\22 r=\220.45\22 cy=\227.154\22 cx=\224.37\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5004\22 r=\220.45\22 cy=\227.25\22 cx=\220.622\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5006\22 r=\220.45\22 cy=\225.679\22 cx=\220.831\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5008\22 r=\220.45\22 cy=\228.519\22 cx=\221.257\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5010\22 r=\220.45\22 cy=\226.877\22 cx=\221.989\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5012\22 r=\220.45\22 cy=\223.181\22 cx=\220.374\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5014\22 r=\220.45\22 cy=\221.664\22 cx=\221.166\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5016\22 r=\220.45\22 cy=\220.093\22 cx=\221.151\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5018\22 r=\220.45\22 cy=\2210.093\22 cx=\221.151\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5020\22 r=\220.45\22 cy=\224.451\22 cx=\221.302\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5022\22 r=\220.45\22 cy=\223.763\22 cx=\223.047\22 style=\22fill:black;stroke:none\22 /></pattern></defs>\00", align 1 @.str.2 = private unnamed_addr constant [508 x i8] c"<defs id=\22ffff\22><pattern inkscape:stockid=\22Wavy\22 id=\22Wavy\22 height=\225.1805778\22 width=\2230.0\22 patternUnits=\22userSpaceOnUse\22 inkscape:collect=\22always\22><path id=\22path5114\22 d=\22M 7.597,0.061 C 5.079,-0.187 2.656,0.302 -0.01,1.788 L -0.01,3.061 C 2.773,1.431 5.173,1.052 7.472,1.280 C 9.770,1.508 11.969,2.361 14.253,3.218 C 18.820,4.931 23.804,6.676 30.066,3.061 L 30.062,1.788 C 23.622,5.497 19.246,3.770 14.691,2.061 C 12.413,1.207 10.115,0.311 7.597,0.061 z \22 style=\22fill:black;stroke:none;\22 /></pattern></defs>\00", align 1 @.str.3 = private unnamed_addr constant [1865 x i8] c"<defs id=\22defs6219\22><pattern inkscape:stockid=\22xtrace\22 id=\22xtrace\22 height=\2220.0\22 width=\2220.0\22 patternUnits=\22userSpaceOnUse\22 inkscape:collect=\22always\22><path style=\22fill:#000000;stroke:#000000;stroke-width:0.30;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:0;stroke-dasharray:none;fill-opacity:1\22 d=\22m 0.0,10.0 25.00000,-25.0 0,5 -25.00000,25.00000 z\22 id=\22path7213\22 inkscape:connector-curvature=\220\22 /><path style=\22fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.30;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none\22 d=\22m 0.0,30.0 25.00000,-25.0 0,5 -25.00000,25.00000 z\22 id=\22path7213-8\22 inkscape:connector-curvature=\220\22 /><path style=\22fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.30;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none\22 d=\22m 0.0,50.0 25.00000,-25.0 0,5 -25.00000,25.00000 z\22 id=\22path7213-9\22 inkscape:connector-curvature=\220\22 /><path style=\22fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.30;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none\22 d=\22m 0.0,70.0 25.00000,-25.0 0,5 -25.00000,25.00000 z\22 id=\22path7213-10\22 inkscape:connector-curvature=\220\22 /><path style=\22fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.30;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none\22 d=\22m 0.0,90.0 25.00000,-25.0 0,5 -25.00000,25.00000 z\22 id=\22path7213-11\22 inkscape:connector-curvature=\220\22 /><path style=\22fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.30;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none\22 d=\22m m 0.0,110.0 25.00000,-25.0 0,05 -25.00000,25.00000 z\22 id=\22path7213-12\22 inkscape:connector-curvature=\220\22 /></pattern></defs>\00", align 1 @.str.4 = private unnamed_addr constant [574 x i8] c"<defs id=\22defs4\22><pattern id=\22dallas\22 patternTransform=\22translate(106.59375,206.90625)\22 height=\224.75\22 width=\224.75\22 patternUnits=\22userSpaceOnUse\22> <path style=\22fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none\22 d=\22m -0.00788,2.37557 4.76251,0\22 id=\22path2985\22 /><path style=\22fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none\22 d=\22m 2.37338,-0.00568 0,4.76251\22 id=\22path2985-1\22 /></pattern></defs>\00", align 1 @.str.5 = private unnamed_addr constant [367 x i8] c"<defs id=\22defs4\22><pattern id=\22lineX\22 patternTransform=\22translate(106.59375,206.90625)\22 height=\224.75\22 width=\224.75\22 patternUnits=\22userSpaceOnUse\22> <path style=\22fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none\22 d=\22m -0.00788,2.37557 4.76251,0\22 id=\22path2985\22 /></pattern></defs>\00", align 1 @.str.6 = private unnamed_addr constant [371 x i8] c"<defs id=\22defs4\22><pattern id=\22stripeX\22 patternTransform=\22translate(106.59375,206.90625)\22 height=\224.75\22 width=\224.75\22 patternUnits=\22userSpaceOnUse\22> <path style=\22fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none\22 d=\22m 2.37338,-0.00568 0,4.76251\22 id=\22path2985-1\22 /></pattern></defs>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PrintHead(ptr noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store ptr %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load double, ptr %5, align 8 %9 = load double, ptr %6, align 8 %10 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %7, ptr noundef @.str, double noundef %8, double noundef %9) %11 = load ptr, ptr %4, align 8 %12 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef @.str.1) %13 = load ptr, ptr %4, align 8 %14 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef @.str.2) %15 = load ptr, ptr %4, align 8 %16 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %15, ptr noundef @.str.3) %17 = load ptr, ptr %4, align 8 %18 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str.4) %19 = load ptr, ptr %4, align 8 %20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef @.str.5) %21 = load ptr, ptr %4, align 8 %22 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef @.str.6) ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnx1d4nep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1515 x i8] c"<?xml version=\221.0\22 encoding=\22UTF-8\22 standalone=\22no\22?>\0A<!-- IEETA 2014 using Inkscape -->\0A<svg\0Axmlns:osb=\22http://www.openswatchbook.org/uri/2009/osb\22\0Axmlns:dc=\22http://purl.org/dc/elements/1.1/\22\0Axmlns:cc=\22http://creativecommons.org/ns#\22\0Axmlns:rdf=\22http://www.w3.org/1999/02/22-rdf-syntax-ns#\22\0Axmlns:svg=\22http://www.w3.org/2000/svg\22\0Axmlns=\22http://www.w3.org/2000/svg\22\0Axmlns:sodipodi=\22http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\22\0Axmlns:inkscape=\22http://www.inkscape.org/namespaces/inkscape\22\0Awidth=\22%lf\22\0Aheight=\22%lf\22\0Aid=\22svg2\22\0Aversion=\221.1\22\0Ainkscape:version=\220.48.3.1 r9886\22\0Asodipodi:docname=\22chromosomes\22>\0A<defs\0Aid=\22defs4\22>\0A<linearGradient id=\22linearGradient3755\22 osb:paint=\22solid\22>\0A<stop style=\22stop-color:#aa00ff;stop-opacity:1;\22 offset=\220\22\0Aid=\22stop3757\22 />\0A</linearGradient>\0A</defs>\0A<sodipodi:namedview id=\22base\22 pagecolor=\22#ffffff\22\0Abordercolor=\22#666666\22 borderopacity=\221.0\22\0Ainkscape:pageopacity=\220.0\22 inkscape:pageshadow=\222\22\0Ainkscape:zoom=\220.49497475\22 inkscape:cx=\22159.73474\22\0Ainkscape:cy=\22681.53008\22 inkscape:document-units=\22px\22\0Ainkscape:current-layer=\22layer1\22 showgrid=\22false\22\0Ainkscape:window-width=\221066\22 inkscape:window-height=\22790\22\0Ainkscape:window-x=\22278\22 inkscape:window-y=\221106\22\0Ainkscape:window-maximized=\221\22 />\0A<metadata id=\22metadata7\22>\0A<rdf:RDF>\0A<cc:Work rdf:about=\22\22>\0A<dc:format>image/svg+xml</dc:format>\0A<dc:type rdf:resource=\22http://purl.org/dc/dcmitype/StillImage\22 />\0A<dc:title></dc:title>\0A</cc:Work>\0A</rdf:RDF>\0A</metadata>\0A<g inkscape:label=\22Camada 1\22 inkscape:groupmode=\22layer\22 id=\22layer1\22 >\0A\00", align 1 @.str.1 = private unnamed_addr constant [4099 x i8] c"<defs id=\22defs6211\22><pattern inkscape:stockid=\22Polka dots, large\22 id=\22Polkadots-large\22 patternTransform=\22translate(0,0)scale(10,10)\22 height=\2210\22 width=\2210\22 patternUnits=\22userSpaceOnUse\22 inkscape:collect=\22always\22> <circle id=\22circle4936\22 r=\220.45\22 cy=\220.810\22 cx=\222.567\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4938\22 r=\220.45\22 cy=\222.33\22 cx=\223.048\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4940\22 r=\220.45\22 cy=\222.415\22 cx=\224.418\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4942\22 r=\220.45\22 cy=\223.029\22 cx=\221.844\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4944\22 r=\220.45\22 cy=\221.363\22 cx=\226.08\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4946\22 r=\220.45\22 cy=\224.413\22 cx=\225.819\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4948\22 r=\220.45\22 cy=\224.048\22 cx=\224.305\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4950\22 r=\220.45\22 cy=\223.045\22 cx=\225.541\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4952\22 r=\220.45\22 cy=\225.527\22 cx=\224.785\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4954\22 r=\220.45\22 cy=\225.184\22 cx=\222.667\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4956\22 r=\220.45\22 cy=\221.448\22 cx=\227.965\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4958\22 r=\220.45\22 cy=\225.049\22 cx=\227.047\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4960\22 r=\220.45\22 cy=\220.895\22 cx=\224.340\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4962\22 r=\220.45\22 cy=\220.340\22 cx=\227.125\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4964\22 r=\220.45\22 cy=\221.049\22 cx=\229.553\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4966\22 r=\220.45\22 cy=\222.689\22 cx=\227.006\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4968\22 r=\220.45\22 cy=\222.689\22 cx=\228.909\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4970\22 r=\220.45\22 cy=\224.407\22 cx=\229.315\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4972\22 r=\220.45\22 cy=\223.870\22 cx=\227.820\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4974\22 r=\220.45\22 cy=\225.948\22 cx=\228.270\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4976\22 r=\220.45\22 cy=\227.428\22 cx=\227.973\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4978\22 r=\220.45\22 cy=\228.072\22 cx=\229.342\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4980\22 r=\220.45\22 cy=\229.315\22 cx=\228.206\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4982\22 r=\220.45\22 cy=\229.475\22 cx=\229.682\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4984\22 r=\220.45\22 cy=\226.186\22 cx=\229.688\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4986\22 r=\220.45\22 cy=\226.296\22 cx=\223.379\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4988\22 r=\220.45\22 cy=\228.204\22 cx=\222.871\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4990\22 r=\220.45\22 cy=\228.719\22 cx=\224.59\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4992\22 r=\220.45\22 cy=\229.671\22 cx=\223.181\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4994\22 r=\220.45\22 cy=\227.315\22 cx=\225.734\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4996\22 r=\220.45\22 cy=\226.513\22 cx=\226.707\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle4998\22 r=\220.45\22 cy=\229.670\22 cx=\225.730\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5000\22 r=\220.45\22 cy=\228.373\22 cx=\226.535\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5002\22 r=\220.45\22 cy=\227.154\22 cx=\224.37\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5004\22 r=\220.45\22 cy=\227.25\22 cx=\220.622\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5006\22 r=\220.45\22 cy=\225.679\22 cx=\220.831\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5008\22 r=\220.45\22 cy=\228.519\22 cx=\221.257\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5010\22 r=\220.45\22 cy=\226.877\22 cx=\221.989\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5012\22 r=\220.45\22 cy=\223.181\22 cx=\220.374\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5014\22 r=\220.45\22 cy=\221.664\22 cx=\221.166\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5016\22 r=\220.45\22 cy=\220.093\22 cx=\221.151\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5018\22 r=\220.45\22 cy=\2210.093\22 cx=\221.151\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5020\22 r=\220.45\22 cy=\224.451\22 cx=\221.302\22 style=\22fill:black;stroke:none\22 /><circle id=\22circle5022\22 r=\220.45\22 cy=\223.763\22 cx=\223.047\22 style=\22fill:black;stroke:none\22 /></pattern></defs>\00", align 1 @.str.2 = private unnamed_addr constant [508 x i8] c"<defs id=\22ffff\22><pattern inkscape:stockid=\22Wavy\22 id=\22Wavy\22 height=\225.1805778\22 width=\2230.0\22 patternUnits=\22userSpaceOnUse\22 inkscape:collect=\22always\22><path id=\22path5114\22 d=\22M 7.597,0.061 C 5.079,-0.187 2.656,0.302 -0.01,1.788 L -0.01,3.061 C 2.773,1.431 5.173,1.052 7.472,1.280 C 9.770,1.508 11.969,2.361 14.253,3.218 C 18.820,4.931 23.804,6.676 30.066,3.061 L 30.062,1.788 C 23.622,5.497 19.246,3.770 14.691,2.061 C 12.413,1.207 10.115,0.311 7.597,0.061 z \22 style=\22fill:black;stroke:none;\22 /></pattern></defs>\00", align 1 @.str.3 = private unnamed_addr constant [1865 x i8] c"<defs id=\22defs6219\22><pattern inkscape:stockid=\22xtrace\22 id=\22xtrace\22 height=\2220.0\22 width=\2220.0\22 patternUnits=\22userSpaceOnUse\22 inkscape:collect=\22always\22><path style=\22fill:#000000;stroke:#000000;stroke-width:0.30;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:0;stroke-dasharray:none;fill-opacity:1\22 d=\22m 0.0,10.0 25.00000,-25.0 0,5 -25.00000,25.00000 z\22 id=\22path7213\22 inkscape:connector-curvature=\220\22 /><path style=\22fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.30;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none\22 d=\22m 0.0,30.0 25.00000,-25.0 0,5 -25.00000,25.00000 z\22 id=\22path7213-8\22 inkscape:connector-curvature=\220\22 /><path style=\22fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.30;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none\22 d=\22m 0.0,50.0 25.00000,-25.0 0,5 -25.00000,25.00000 z\22 id=\22path7213-9\22 inkscape:connector-curvature=\220\22 /><path style=\22fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.30;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none\22 d=\22m 0.0,70.0 25.00000,-25.0 0,5 -25.00000,25.00000 z\22 id=\22path7213-10\22 inkscape:connector-curvature=\220\22 /><path style=\22fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.30;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none\22 d=\22m 0.0,90.0 25.00000,-25.0 0,5 -25.00000,25.00000 z\22 id=\22path7213-11\22 inkscape:connector-curvature=\220\22 /><path style=\22fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.30;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none\22 d=\22m m 0.0,110.0 25.00000,-25.0 0,05 -25.00000,25.00000 z\22 id=\22path7213-12\22 inkscape:connector-curvature=\220\22 /></pattern></defs>\00", align 1 @.str.4 = private unnamed_addr constant [574 x i8] c"<defs id=\22defs4\22><pattern id=\22dallas\22 patternTransform=\22translate(106.59375,206.90625)\22 height=\224.75\22 width=\224.75\22 patternUnits=\22userSpaceOnUse\22> <path style=\22fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none\22 d=\22m -0.00788,2.37557 4.76251,0\22 id=\22path2985\22 /><path style=\22fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none\22 d=\22m 2.37338,-0.00568 0,4.76251\22 id=\22path2985-1\22 /></pattern></defs>\00", align 1 @.str.5 = private unnamed_addr constant [367 x i8] c"<defs id=\22defs4\22><pattern id=\22lineX\22 patternTransform=\22translate(106.59375,206.90625)\22 height=\224.75\22 width=\224.75\22 patternUnits=\22userSpaceOnUse\22> <path style=\22fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none\22 d=\22m -0.00788,2.37557 4.76251,0\22 id=\22path2985\22 /></pattern></defs>\00", align 1 @.str.6 = private unnamed_addr constant [371 x i8] c"<defs id=\22defs4\22><pattern id=\22stripeX\22 patternTransform=\22translate(106.59375,206.90625)\22 height=\224.75\22 width=\224.75\22 patternUnits=\22userSpaceOnUse\22> <path style=\22fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none\22 d=\22m 2.37338,-0.00568 0,4.76251\22 id=\22path2985-1\22 /></pattern></defs>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PrintHead(ptr noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store ptr %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load double, ptr %5, align 8 %9 = load double, ptr %6, align 8 %10 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %7, ptr noundef @.str, double noundef %8, double noundef %9) %11 = load ptr, ptr %4, align 8 %12 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef @.str.1) %13 = load ptr, ptr %4, align 8 %14 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef @.str.2) %15 = load ptr, ptr %4, align 8 %16 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %15, ptr noundef @.str.3) %17 = load ptr, ptr %4, align 8 %18 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str.4) %19 = load ptr, ptr %4, align 8 %20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef @.str.5) %21 = load ptr, ptr %4, align 8 %22 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef @.str.6) ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjaa7s3hk.c' source_filename = "/tmp/tmpjaa7s3hk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_serial(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 br label %3 3: ; preds = %6, %1 %4 = call i64 (...) @is_transmit_empty() %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %3 br label %3, !llvm.loop !6 7: ; preds = %3 %8 = load i8, ptr %2, align 1 %9 = call i32 @outb(i32 noundef -1275067400, i32 noundef 0, i8 noundef signext %8) ret void } declare i64 @is_transmit_empty(...) #1 declare i32 @outb(i32 noundef, i32 noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjaa7s3hk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_serial(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 br label %3 3: ; preds = %3, %1 %4 = call i64 (...) @is_transmit_empty() %5 = icmp eq i64 %4, 0 br i1 %5, label %3, label %6, !llvm.loop !6 6: ; preds = %3 %7 = load i8, ptr %2, align 1 %8 = call i32 @outb(i32 noundef -1275067400, i32 noundef 0, i8 noundef signext %7) ret void } declare i64 @is_transmit_empty(...) #1 declare i32 @outb(i32 noundef, i32 noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp04s6v30t.c' source_filename = "/tmp/tmp04s6v30t.c" target datalayout = "e-m:e-p270: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/tmp04s6v30t.c" target datalayout = "e-m:e-p270: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/tmpgqg2adts.c' source_filename = "/tmp/tmpgqg2adts.c" target datalayout = "e-m:e-p270: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/tmpgqg2adts.c" target datalayout = "e-m:e-p270: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/tmpqr61lo24.c' source_filename = "/tmp/tmpqr61lo24.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"Hello World\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Hello\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"yep\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr @malloc(i32 noundef 6) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @substring(ptr noundef @.str, ptr noundef %4, i32 noundef 0, i32 noundef 5) %6 = call i64 @strncmp(i32 noundef %5, ptr noundef @.str.1, i32 noundef 5) %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.2) br label %10 10: ; preds = %8, %0 %11 = load ptr, ptr %2, align 8 %12 = call i32 @free(ptr noundef %11) %13 = load i32, ptr %1, align 4 ret i32 %13 } declare ptr @malloc(i32 noundef) #1 declare i64 @strncmp(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @substring(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqr61lo24.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"Hello World\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Hello\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"yep\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr @malloc(i32 noundef 6) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @substring(ptr noundef @.str, ptr noundef %4, i32 noundef 0, i32 noundef 5) %6 = call i64 @strncmp(i32 noundef %5, ptr noundef @.str.1, i32 noundef 5) %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.2) br label %10 10: ; preds = %8, %0 %11 = load ptr, ptr %2, align 8 %12 = call i32 @free(ptr noundef %11) %13 = load i32, ptr %1, align 4 ret i32 %13 } declare ptr @malloc(i32 noundef) #1 declare i64 @strncmp(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @substring(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy2qzrqxl.c' source_filename = "/tmp/tmpy2qzrqxl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%d\22q\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @decsca(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 @do_csi(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @do_csi(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/tmpy2qzrqxl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%d\22q\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @decsca(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 @do_csi(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @do_csi(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/tmpyjqklyug.c' source_filename = "/tmp/tmpyjqklyug.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @EBADF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mx_dup2_close_both(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp eq i32 %7, %8 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 0, ptr %3, align 4 br label %38 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %5, align 4 %14 = call i32 @mx_dup2_close_new(i32 noundef %12, i32 noundef %13) store i32 %14, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %11 %18 = load i32, ptr %6, align 4 store i32 %18, ptr %3, align 4 br label %38 19: ; preds = %11 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp eq i32 %20, %21 %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) %25 = load i32, ptr %4, align 4 %26 = call i32 @close(i32 noundef %25) store i32 %26, ptr %6, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp eq i32 %27, -1 br i1 %28, label %29, label %36 29: ; preds = %19 %30 = load i32, ptr @errno, align 4 %31 = load i32, ptr @EBADF, align 4 %32 = icmp eq i32 %30, %31 br i1 %32, label %33, label %36 33: ; preds = %29 %34 = load i32, ptr @errno, align 4 %35 = sub nsw i32 0, %34 store i32 %35, ptr %3, align 4 br label %38 36: ; preds = %29, %19 %37 = load i32, ptr %5, align 4 store i32 %37, ptr %3, align 4 br label %38 38: ; preds = %36, %33, %17, %10 %39 = load i32, ptr %3, align 4 ret i32 %39 } declare i32 @mx_dup2_close_new(i32 noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyjqklyug.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @EBADF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mx_dup2_close_both(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp eq i32 %7, %8 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 0, ptr %3, align 4 br label %38 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %5, align 4 %14 = call i32 @mx_dup2_close_new(i32 noundef %12, i32 noundef %13) store i32 %14, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %11 %18 = load i32, ptr %6, align 4 store i32 %18, ptr %3, align 4 br label %38 19: ; preds = %11 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp eq i32 %20, %21 %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) %25 = load i32, ptr %4, align 4 %26 = call i32 @close(i32 noundef %25) store i32 %26, ptr %6, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp eq i32 %27, -1 br i1 %28, label %29, label %36 29: ; preds = %19 %30 = load i32, ptr @errno, align 4 %31 = load i32, ptr @EBADF, align 4 %32 = icmp eq i32 %30, %31 br i1 %32, label %33, label %36 33: ; preds = %29 %34 = load i32, ptr @errno, align 4 %35 = sub nsw i32 0, %34 store i32 %35, ptr %3, align 4 br label %38 36: ; preds = %29, %19 %37 = load i32, ptr %5, align 4 store i32 %37, ptr %3, align 4 br label %38 38: ; preds = %36, %33, %17, %10 %39 = load i32, ptr %3, align 4 ret i32 %39 } declare i32 @mx_dup2_close_new(i32 noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphy3z7qwp.c' source_filename = "/tmp/tmphy3z7qwp.c" target datalayout = "e-m:e-p270: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/tmphy3z7qwp.c" target datalayout = "e-m:e-p270: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/tmpou4z1q89.c' source_filename = "/tmp/tmpou4z1q89.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"The standard deviation is %f!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @findstd(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = mul i64 4, %13 %15 = trunc i64 %14 to i32 %16 = call i64 @malloc(i32 noundef %15) %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %7, align 8 store float 0.000000e+00, ptr %8, align 4 store float 0.000000e+00, ptr %9, align 4 store float 0.000000e+00, ptr %10, align 4 store float 0.000000e+00, ptr %11, align 4 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = call float @findmean(ptr noundef %18, i32 noundef %19) store float %20, ptr %9, align 4 store i32 0, ptr %6, align 4 br label %21 21: ; preds = %48, %2 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %51 25: ; preds = %21 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds float, ptr %26, i64 %28 %30 = load float, ptr %29, align 4 %31 = load float, ptr %9, align 4 %32 = fsub float %30, %31 %33 = call i64 @pow(float noundef %32, i32 noundef 2) %34 = sitofp i64 %33 to float %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds float, ptr %35, i64 %37 store float %34, ptr %38, align 4 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %5, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds float, ptr %39, i64 %41 %43 = load float, ptr %42, align 4 %44 = load float, ptr %8, align 4 %45 = fadd float %44, %43 store float %45, ptr %8, align 4 %46 = load i32, ptr %5, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %5, align 4 br label %48 48: ; preds = %25 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %6, align 4 br label %21, !llvm.loop !6 51: ; preds = %21 %52 = load float, ptr %8, align 4 %53 = load i32, ptr %4, align 4 %54 = sitofp i32 %53 to float %55 = fdiv float %52, %54 store float %55, ptr %10, align 4 %56 = load float, ptr %10, align 4 %57 = call i64 @sqrt(float noundef %56) %58 = sitofp i64 %57 to float store float %58, ptr %11, align 4 %59 = load float, ptr %11, align 4 %60 = call i32 @printf(ptr noundef @.str, float noundef %59) %61 = load float, ptr %11, align 4 ret float %61 } declare i64 @malloc(i32 noundef) #1 declare float @findmean(ptr noundef, i32 noundef) #1 declare i64 @pow(float noundef, i32 noundef) #1 declare i64 @sqrt(float noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpou4z1q89.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"The standard deviation is %f!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @findstd(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = mul i64 4, %13 %15 = trunc i64 %14 to i32 %16 = call i64 @malloc(i32 noundef %15) %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %7, align 8 store float 0.000000e+00, ptr %8, align 4 store float 0.000000e+00, ptr %9, align 4 store float 0.000000e+00, ptr %10, align 4 store float 0.000000e+00, ptr %11, align 4 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = call float @findmean(ptr noundef %18, i32 noundef %19) store float %20, ptr %9, align 4 store i32 0, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph, label %53 .lr.ph: ; preds = %2 br label %24 24: ; preds = %.lr.ph, %47 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds float, ptr %25, i64 %27 %29 = load float, ptr %28, align 4 %30 = load float, ptr %9, align 4 %31 = fsub float %29, %30 %32 = call i64 @pow(float noundef %31, i32 noundef 2) %33 = sitofp i64 %32 to float %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %5, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds float, ptr %34, i64 %36 store float %33, ptr %37, align 4 %38 = load ptr, ptr %7, align 8 %39 = load i32, ptr %5, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds float, ptr %38, i64 %40 %42 = load float, ptr %41, align 4 %43 = load float, ptr %8, align 4 %44 = fadd float %43, %42 store float %44, ptr %8, align 4 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 br label %47 47: ; preds = %24 %48 = load i32, ptr %6, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %6, align 4 %50 = load i32, ptr %6, align 4 %51 = load i32, ptr %4, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %47 br label %53 53: ; preds = %._crit_edge, %2 %54 = load float, ptr %8, align 4 %55 = load i32, ptr %4, align 4 %56 = sitofp i32 %55 to float %57 = fdiv float %54, %56 store float %57, ptr %10, align 4 %58 = load float, ptr %10, align 4 %59 = call i64 @sqrt(float noundef %58) %60 = sitofp i64 %59 to float store float %60, ptr %11, align 4 %61 = load float, ptr %11, align 4 %62 = call i32 @printf(ptr noundef @.str, float noundef %61) %63 = load float, ptr %11, align 4 ret float %63 } declare i64 @malloc(i32 noundef) #1 declare float @findmean(ptr noundef, i32 noundef) #1 declare i64 @pow(float noundef, i32 noundef) #1 declare i64 @sqrt(float noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpghxu2ejo.c' source_filename = "/tmp/tmpghxu2ejo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmGenerateRandomVector3d(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 store ptr %0, ptr %2, align 8 %5 = call double @glmRandomNumberd(double noundef -1.000000e+00, double noundef 1.000000e+00) %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds double, ptr %6, i64 2 store double %5, ptr %7, align 8 %8 = call double @glmRandomNumberd(double noundef 0.000000e+00, double noundef 0x401921FB54442D18) store double %8, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds double, ptr %9, i64 2 %11 = load double, ptr %10, align 8 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds double, ptr %12, i64 2 %14 = load double, ptr %13, align 8 %15 = fneg double %11 %16 = call double @llvm.fmuladd.f64(double %15, double %14, double 1.000000e+00) %17 = call double @sqrt(double noundef %16) #4 store double %17, ptr %4, align 8 %18 = load double, ptr %4, align 8 %19 = load double, ptr %3, align 8 %20 = call double @cos(double noundef %19) #4 %21 = fmul double %18, %20 %22 = load ptr, ptr %2, align 8 %23 = getelementptr inbounds double, ptr %22, i64 0 store double %21, ptr %23, align 8 %24 = load double, ptr %4, align 8 %25 = load double, ptr %3, align 8 %26 = call double @sin(double noundef %25) #4 %27 = fmul double %24, %26 %28 = load ptr, ptr %2, align 8 %29 = getelementptr inbounds double, ptr %28, i64 1 store double %27, ptr %29, align 8 ret void } declare double @glmRandomNumberd(double noundef, double noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nounwind declare double @cos(double noundef) #2 ; Function Attrs: nounwind declare double @sin(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpghxu2ejo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmGenerateRandomVector3d(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 store ptr %0, ptr %2, align 8 %5 = call double @glmRandomNumberd(double noundef -1.000000e+00, double noundef 1.000000e+00) %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds double, ptr %6, i64 2 store double %5, ptr %7, align 8 %8 = call double @glmRandomNumberd(double noundef 0.000000e+00, double noundef 0x401921FB54442D18) store double %8, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds double, ptr %9, i64 2 %11 = load double, ptr %10, align 8 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds double, ptr %12, i64 2 %14 = load double, ptr %13, align 8 %15 = fneg double %11 %16 = call double @llvm.fmuladd.f64(double %15, double %14, double 1.000000e+00) %17 = call double @sqrt(double noundef %16) #4 store double %17, ptr %4, align 8 %18 = load double, ptr %4, align 8 %19 = load double, ptr %3, align 8 %20 = call double @cos(double noundef %19) #4 %21 = fmul double %18, %20 %22 = load ptr, ptr %2, align 8 %23 = getelementptr inbounds double, ptr %22, i64 0 store double %21, ptr %23, align 8 %24 = load double, ptr %4, align 8 %25 = load double, ptr %3, align 8 %26 = call double @sin(double noundef %25) #4 %27 = fmul double %24, %26 %28 = load ptr, ptr %2, align 8 %29 = getelementptr inbounds double, ptr %28, i64 1 store double %27, ptr %29, align 8 ret void } declare double @glmRandomNumberd(double noundef, double noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nounwind declare double @cos(double noundef) #2 ; Function Attrs: nounwind declare double @sin(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaqb7apk9.c' source_filename = "/tmp/tmpaqb7apk9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uDMAChannelAttributeGet(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store i64 0, ptr %3, align 8 %4 = load i64, ptr %2, align 8 %5 = and i64 %4, 65535 %6 = icmp ult i64 %5, 32 %7 = zext i1 %6 to i32 %8 = call i32 @DEBUG_ASSERT(i32 noundef %7) %9 = load i64, ptr %2, align 8 %10 = and i64 %9, 31 store i64 %10, ptr %2, align 8 %11 = load volatile i64, ptr inttoptr (i64 1074786328 to ptr), align 8 %12 = load i64, ptr %2, align 8 %13 = trunc i64 %12 to i32 %14 = shl i32 1, %13 %15 = sext i32 %14 to i64 %16 = and i64 %11, %15 %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %1 %19 = load i64, ptr %3, align 8 %20 = or i64 %19, 1 store i64 %20, ptr %3, align 8 br label %21 21: ; preds = %18, %1 %22 = load volatile i64, ptr inttoptr (i64 1074786352 to ptr), align 8 %23 = load i64, ptr %2, align 8 %24 = trunc i64 %23 to i32 %25 = shl i32 1, %24 %26 = sext i32 %25 to i64 %27 = and i64 %22, %26 %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %21 %30 = load i64, ptr %3, align 8 %31 = or i64 %30, 2 store i64 %31, ptr %3, align 8 br label %32 32: ; preds = %29, %21 %33 = load volatile i64, ptr inttoptr (i64 1074786360 to ptr), align 8 %34 = load i64, ptr %2, align 8 %35 = trunc i64 %34 to i32 %36 = shl i32 1, %35 %37 = sext i32 %36 to i64 %38 = and i64 %33, %37 %39 = icmp ne i64 %38, 0 br i1 %39, label %40, label %43 40: ; preds = %32 %41 = load i64, ptr %3, align 8 %42 = or i64 %41, 4 store i64 %42, ptr %3, align 8 br label %43 43: ; preds = %40, %32 %44 = load volatile i64, ptr inttoptr (i64 1074786336 to ptr), align 8 %45 = load i64, ptr %2, align 8 %46 = trunc i64 %45 to i32 %47 = shl i32 1, %46 %48 = sext i32 %47 to i64 %49 = and i64 %44, %48 %50 = icmp ne i64 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %43 %52 = load i64, ptr %3, align 8 %53 = or i64 %52, 8 store i64 %53, ptr %3, align 8 br label %54 54: ; preds = %51, %43 %55 = load i64, ptr %3, align 8 ret i64 %55 } declare i32 @DEBUG_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/tmpaqb7apk9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uDMAChannelAttributeGet(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store i64 0, ptr %3, align 8 %4 = load i64, ptr %2, align 8 %5 = and i64 %4, 65535 %6 = icmp ult i64 %5, 32 %7 = zext i1 %6 to i32 %8 = call i32 @DEBUG_ASSERT(i32 noundef %7) %9 = load i64, ptr %2, align 8 %10 = and i64 %9, 31 store i64 %10, ptr %2, align 8 %11 = load volatile i64, ptr inttoptr (i64 1074786328 to ptr), align 8 %12 = load i64, ptr %2, align 8 %13 = trunc i64 %12 to i32 %14 = shl i32 1, %13 %15 = sext i32 %14 to i64 %16 = and i64 %11, %15 %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %1 %19 = load i64, ptr %3, align 8 %20 = or i64 %19, 1 store i64 %20, ptr %3, align 8 br label %21 21: ; preds = %18, %1 %22 = load volatile i64, ptr inttoptr (i64 1074786352 to ptr), align 8 %23 = load i64, ptr %2, align 8 %24 = trunc i64 %23 to i32 %25 = shl i32 1, %24 %26 = sext i32 %25 to i64 %27 = and i64 %22, %26 %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %21 %30 = load i64, ptr %3, align 8 %31 = or i64 %30, 2 store i64 %31, ptr %3, align 8 br label %32 32: ; preds = %29, %21 %33 = load volatile i64, ptr inttoptr (i64 1074786360 to ptr), align 8 %34 = load i64, ptr %2, align 8 %35 = trunc i64 %34 to i32 %36 = shl i32 1, %35 %37 = sext i32 %36 to i64 %38 = and i64 %33, %37 %39 = icmp ne i64 %38, 0 br i1 %39, label %40, label %43 40: ; preds = %32 %41 = load i64, ptr %3, align 8 %42 = or i64 %41, 4 store i64 %42, ptr %3, align 8 br label %43 43: ; preds = %40, %32 %44 = load volatile i64, ptr inttoptr (i64 1074786336 to ptr), align 8 %45 = load i64, ptr %2, align 8 %46 = trunc i64 %45 to i32 %47 = shl i32 1, %46 %48 = sext i32 %47 to i64 %49 = and i64 %44, %48 %50 = icmp ne i64 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %43 %52 = load i64, ptr %3, align 8 %53 = or i64 %52, 8 store i64 %53, ptr %3, align 8 br label %54 54: ; preds = %51, %43 %55 = load i64, ptr %3, align 8 ret i64 %55 } declare i32 @DEBUG_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/tmp6mviwr5a.c' source_filename = "/tmp/tmp6mviwr5a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isalnum should be 1 for O\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalnum_0x4f() #0 { %1 = call i32 @isalnum(i32 noundef 79) #3 %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 400, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isalnum(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6mviwr5a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isalnum should be 1 for O\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalnum_0x4f() #0 { %1 = call i32 @isalnum(i32 noundef 79) #3 %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 400, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isalnum(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpexzxtxh7.c' source_filename = "/tmp/tmpexzxtxh7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"/../../../../\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"dev\00", align 1 @errno = dso_local global i64 0, align 8 @EEXIST = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [34 x i8] c"dev/../dev/../../../dev/../../dev\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"../dev\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"../\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_vfs_dot_dot_across_fs() #0 { %1 = call i64 @chdir(ptr noundef @.str) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @assert(i32 noundef %3) %5 = call i32 @mkdir(ptr noundef @.str.1, i32 noundef 0) %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %11 7: ; preds = %0 %8 = load i64, ptr @errno, align 8 %9 = load i64, ptr @EEXIST, align 8 %10 = icmp eq i64 %8, %9 br label %11 11: ; preds = %7, %0 %12 = phi i1 [ false, %0 ], [ %10, %7 ] %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = call i64 @chdir(ptr noundef @.str.2) %16 = icmp eq i64 %15, 0 %17 = zext i1 %16 to i32 %18 = call i32 @assert(i32 noundef %17) %19 = call i32 @mkdir(ptr noundef @.str.3, i32 noundef 0) %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %25 21: ; preds = %11 %22 = load i64, ptr @errno, align 8 %23 = load i64, ptr @EEXIST, align 8 %24 = icmp eq i64 %22, %23 br label %25 25: ; preds = %21, %11 %26 = phi i1 [ false, %11 ], [ %24, %21 ] %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) %29 = call i64 @chdir(ptr noundef @.str.4) %30 = icmp eq i64 %29, 0 %31 = zext i1 %30 to i32 %32 = call i32 @assert(i32 noundef %31) %33 = call i32 @mkdir(ptr noundef @.str.1, i32 noundef 0) %34 = icmp eq i32 %33, -1 br i1 %34, label %35, label %39 35: ; preds = %25 %36 = load i64, ptr @errno, align 8 %37 = load i64, ptr @EEXIST, align 8 %38 = icmp eq i64 %36, %37 br label %39 39: ; preds = %35, %25 %40 = phi i1 [ false, %25 ], [ %38, %35 ] %41 = zext i1 %40 to i32 %42 = call i32 @assert(i32 noundef %41) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i64 @chdir(ptr noundef) #1 declare i32 @mkdir(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpexzxtxh7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"/../../../../\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"dev\00", align 1 @errno = dso_local global i64 0, align 8 @EEXIST = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [34 x i8] c"dev/../dev/../../../dev/../../dev\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"../dev\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"../\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_vfs_dot_dot_across_fs() #0 { %1 = call i64 @chdir(ptr noundef @.str) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @assert(i32 noundef %3) %5 = call i32 @mkdir(ptr noundef @.str.1, i32 noundef 0) %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %11 7: ; preds = %0 %8 = load i64, ptr @errno, align 8 %9 = load i64, ptr @EEXIST, align 8 %10 = icmp eq i64 %8, %9 br label %11 11: ; preds = %7, %0 %12 = phi i1 [ false, %0 ], [ %10, %7 ] %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = call i64 @chdir(ptr noundef @.str.2) %16 = icmp eq i64 %15, 0 %17 = zext i1 %16 to i32 %18 = call i32 @assert(i32 noundef %17) %19 = call i32 @mkdir(ptr noundef @.str.3, i32 noundef 0) %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %25 21: ; preds = %11 %22 = load i64, ptr @errno, align 8 %23 = load i64, ptr @EEXIST, align 8 %24 = icmp eq i64 %22, %23 br label %25 25: ; preds = %21, %11 %26 = phi i1 [ false, %11 ], [ %24, %21 ] %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) %29 = call i64 @chdir(ptr noundef @.str.4) %30 = icmp eq i64 %29, 0 %31 = zext i1 %30 to i32 %32 = call i32 @assert(i32 noundef %31) %33 = call i32 @mkdir(ptr noundef @.str.1, i32 noundef 0) %34 = icmp eq i32 %33, -1 br i1 %34, label %35, label %39 35: ; preds = %25 %36 = load i64, ptr @errno, align 8 %37 = load i64, ptr @EEXIST, align 8 %38 = icmp eq i64 %36, %37 br label %39 39: ; preds = %35, %25 %40 = phi i1 [ false, %25 ], [ %38, %35 ] %41 = zext i1 %40 to i32 %42 = call i32 @assert(i32 noundef %41) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i64 @chdir(ptr noundef) #1 declare i32 @mkdir(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa8mp6v0g.c' source_filename = "/tmp/tmpa8mp6v0g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_q_strunchar(ptr noundef %0, i8 noundef signext %1, i8 noundef signext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i8 %1, ptr %6, align 1 store i8 %2, ptr %7, align 1 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %3 store ptr null, ptr %4, align 8 br label %50 12: ; preds = %3 %13 = load ptr, ptr %5, align 8 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp sge i32 %15, 2 br i1 %16, label %17, label %48 17: ; preds = %12 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 0 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = load i8, ptr %6, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %21, %23 br i1 %24, label %25, label %48 25: ; preds = %17 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %8, align 4 %28 = sub nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %26, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = load i8, ptr %7, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %32, %34 br i1 %35, label %36, label %48 36: ; preds = %25 %37 = load ptr, ptr %5, align 8 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 1 %40 = load i32, ptr %8, align 4 %41 = sub nsw i32 %40, 2 %42 = call i32 @memmove(ptr noundef %37, ptr noundef %39, i32 noundef %41) %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %8, align 4 %45 = sub nsw i32 %44, 2 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %43, i64 %46 store i8 0, ptr %47, align 1 br label %48 48: ; preds = %36, %25, %17, %12 %49 = load ptr, ptr %5, align 8 store ptr %49, ptr %4, align 8 br label %50 50: ; preds = %48, %11 %51 = load ptr, ptr %4, align 8 ret ptr %51 } declare i32 @strlen(ptr noundef) #1 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa8mp6v0g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_q_strunchar(ptr noundef %0, i8 noundef signext %1, i8 noundef signext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i8 %1, ptr %6, align 1 store i8 %2, ptr %7, align 1 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %3 store ptr null, ptr %4, align 8 br label %50 12: ; preds = %3 %13 = load ptr, ptr %5, align 8 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp sge i32 %15, 2 br i1 %16, label %17, label %48 17: ; preds = %12 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 0 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = load i8, ptr %6, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %21, %23 br i1 %24, label %25, label %48 25: ; preds = %17 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %8, align 4 %28 = sub nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %26, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = load i8, ptr %7, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %32, %34 br i1 %35, label %36, label %48 36: ; preds = %25 %37 = load ptr, ptr %5, align 8 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 1 %40 = load i32, ptr %8, align 4 %41 = sub nsw i32 %40, 2 %42 = call i32 @memmove(ptr noundef %37, ptr noundef %39, i32 noundef %41) %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %8, align 4 %45 = sub nsw i32 %44, 2 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %43, i64 %46 store i8 0, ptr %47, align 1 br label %48 48: ; preds = %36, %25, %17, %12 %49 = load ptr, ptr %5, align 8 store ptr %49, ptr %4, align 8 br label %50 50: ; preds = %48, %11 %51 = load ptr, ptr %4, align 8 ret ptr %51 } declare i32 @strlen(ptr noundef) #1 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptm0rgf7q.c' source_filename = "/tmp/tmptm0rgf7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @justquit(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @exit(i32 noundef 0) #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/tmptm0rgf7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @justquit(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @exit(i32 noundef 0) #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/tmpooy4wd9x.c' source_filename = "/tmp/tmpooy4wd9x.c" target datalayout = "e-m:e-p270: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/tmpooy4wd9x.c" target datalayout = "e-m:e-p270: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/tmpsflemk4s.c' source_filename = "/tmp/tmpsflemk4s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"/dev/gpH0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @led_ctl(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store ptr null, ptr %5, align 8 %7 = load i32, ptr %2, align 4 store i32 %7, ptr %6, align 4 %8 = call i32 @open_dev(ptr noundef @.str) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @ioctl(i32 noundef %9, i32 noundef 1, i32 noundef 1) %11 = load i32, ptr %3, align 4 %12 = call i32 @ioctl(i32 noundef %11, i32 noundef 1, i32 noundef 2) %13 = load i32, ptr %3, align 4 %14 = call i32 @ioctl(i32 noundef %13, i32 noundef 1, i32 noundef 3) %15 = load i32, ptr %3, align 4 %16 = call i32 @read(i32 noundef %15, ptr noundef %4, i32 noundef 4) %17 = load i32, ptr %6, align 4 switch i32 %17, label %34 [ i32 1, label %18 i32 2, label %21 i32 3, label %24 i32 4, label %27 ] 18: ; preds = %1 %19 = load i32, ptr %4, align 4 %20 = xor i32 %19, 2 store i32 %20, ptr %4, align 4 br label %35 21: ; preds = %1 %22 = load i32, ptr %4, align 4 %23 = xor i32 %22, 4 store i32 %23, ptr %4, align 4 br label %35 24: ; preds = %1 %25 = load i32, ptr %4, align 4 %26 = xor i32 %25, 8 store i32 %26, ptr %4, align 4 br label %35 27: ; preds = %1 %28 = load i32, ptr %4, align 4 %29 = and i32 %28, 14 %30 = icmp eq i32 %29, 14 br i1 %30, label %31, label %32 31: ; preds = %27 store i32 1, ptr %4, align 4 br label %33 32: ; preds = %27 store i32 14, ptr %4, align 4 br label %33 33: ; preds = %32, %31 br label %35 34: ; preds = %1 br label %35 35: ; preds = %34, %33, %24, %21, %18 %36 = load i32, ptr %3, align 4 %37 = call i32 @write(i32 noundef %36, ptr noundef %4, i32 noundef 4) %38 = load i32, ptr %3, align 4 %39 = call i32 @close(i32 noundef %38) ret i32 0 } declare i32 @open_dev(ptr noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsflemk4s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"/dev/gpH0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @led_ctl(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store ptr null, ptr %5, align 8 %7 = load i32, ptr %2, align 4 store i32 %7, ptr %6, align 4 %8 = call i32 @open_dev(ptr noundef @.str) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @ioctl(i32 noundef %9, i32 noundef 1, i32 noundef 1) %11 = load i32, ptr %3, align 4 %12 = call i32 @ioctl(i32 noundef %11, i32 noundef 1, i32 noundef 2) %13 = load i32, ptr %3, align 4 %14 = call i32 @ioctl(i32 noundef %13, i32 noundef 1, i32 noundef 3) %15 = load i32, ptr %3, align 4 %16 = call i32 @read(i32 noundef %15, ptr noundef %4, i32 noundef 4) %17 = load i32, ptr %6, align 4 switch i32 %17, label %34 [ i32 1, label %18 i32 2, label %21 i32 3, label %24 i32 4, label %27 ] 18: ; preds = %1 %19 = load i32, ptr %4, align 4 %20 = xor i32 %19, 2 store i32 %20, ptr %4, align 4 br label %35 21: ; preds = %1 %22 = load i32, ptr %4, align 4 %23 = xor i32 %22, 4 store i32 %23, ptr %4, align 4 br label %35 24: ; preds = %1 %25 = load i32, ptr %4, align 4 %26 = xor i32 %25, 8 store i32 %26, ptr %4, align 4 br label %35 27: ; preds = %1 %28 = load i32, ptr %4, align 4 %29 = and i32 %28, 14 %30 = icmp eq i32 %29, 14 br i1 %30, label %31, label %32 31: ; preds = %27 store i32 1, ptr %4, align 4 br label %33 32: ; preds = %27 store i32 14, ptr %4, align 4 br label %33 33: ; preds = %32, %31 br label %35 34: ; preds = %1 br label %35 35: ; preds = %34, %33, %24, %21, %18 %36 = load i32, ptr %3, align 4 %37 = call i32 @write(i32 noundef %36, ptr noundef %4, i32 noundef 4) %38 = load i32, ptr %3, align 4 %39 = call i32 @close(i32 noundef %38) ret i32 0 } declare i32 @open_dev(ptr noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4dtdt2ei.c' source_filename = "/tmp/tmp4dtdt2ei.c" target datalayout = "e-m:e-p270: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.sortedArray = private unnamed_addr constant [10 x i32] [i32 13, i32 21, i32 32, i32 47, i32 50, i32 61, i32 66, i32 85, i32 90, i32 99], align 16 @__const.main.unsortedArray = private unnamed_addr constant [10 x i32] [i32 50, i32 32, i32 99, i32 66, i32 85, i32 13, i32 21, i32 47, i32 90, i32 61], align 16 @__const.main.array = private unnamed_addr constant [10 x i32] [i32 50, i32 32, i32 99, i32 66, i32 85, i32 13, i32 21, i32 47, i32 90, i32 61], align 16 @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 [10 x i32], align 16 %7 = alloca [10 x i32], align 16 %8 = alloca [10 x i32], 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.sortedArray, i64 40, i1 false) %9 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 0 %10 = call i32 @linearSearch(i32 noundef 10, ptr noundef %9, i32 noundef 61) %11 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 0 %12 = call i32 @binarySearch(i32 noundef 10, ptr noundef %11, i32 noundef 61) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.unsortedArray, i64 40, i1 false) %13 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0 %14 = call i32 @linearSearch(i32 noundef 10, ptr noundef %13, i32 noundef 61) %15 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0 %16 = call i32 @binarySearch(i32 noundef 10, ptr noundef %15, i32 noundef 61) %17 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0 %18 = call i32 @bubblesort(i32 noundef 10, ptr noundef %17) %19 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0 %20 = call i32 @binarySearch(i32 noundef 10, ptr noundef %19, i32 noundef 61) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.array, i64 40, i1 false) %21 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0 %22 = call i32 @quicksort(ptr noundef %21, i32 noundef 10) %23 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %23 } ; 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 @linearSearch(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @binarySearch(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @bubblesort(i32 noundef, ptr noundef) #2 declare i32 @quicksort(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: 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/tmp4dtdt2ei.c" target datalayout = "e-m:e-p270: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.sortedArray = private unnamed_addr constant [10 x i32] [i32 13, i32 21, i32 32, i32 47, i32 50, i32 61, i32 66, i32 85, i32 90, i32 99], align 16 @__const.main.unsortedArray = private unnamed_addr constant [10 x i32] [i32 50, i32 32, i32 99, i32 66, i32 85, i32 13, i32 21, i32 47, i32 90, i32 61], align 16 @__const.main.array = private unnamed_addr constant [10 x i32] [i32 50, i32 32, i32 99, i32 66, i32 85, i32 13, i32 21, i32 47, i32 90, i32 61], align 16 @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 [10 x i32], align 16 %7 = alloca [10 x i32], align 16 %8 = alloca [10 x i32], 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.sortedArray, i64 40, i1 false) %9 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 0 %10 = call i32 @linearSearch(i32 noundef 10, ptr noundef %9, i32 noundef 61) %11 = getelementptr inbounds [10 x i32], ptr %6, i64 0, i64 0 %12 = call i32 @binarySearch(i32 noundef 10, ptr noundef %11, i32 noundef 61) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.unsortedArray, i64 40, i1 false) %13 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0 %14 = call i32 @linearSearch(i32 noundef 10, ptr noundef %13, i32 noundef 61) %15 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0 %16 = call i32 @binarySearch(i32 noundef 10, ptr noundef %15, i32 noundef 61) %17 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0 %18 = call i32 @bubblesort(i32 noundef 10, ptr noundef %17) %19 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 0 %20 = call i32 @binarySearch(i32 noundef 10, ptr noundef %19, i32 noundef 61) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.array, i64 40, i1 false) %21 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 0 %22 = call i32 @quicksort(ptr noundef %21, i32 noundef 10) %23 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %23 } ; 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 @linearSearch(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @binarySearch(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @bubblesort(i32 noundef, ptr noundef) #2 declare i32 @quicksort(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: 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/tmpcl257934.c' source_filename = "/tmp/tmpcl257934.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UARTDisable(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call i32 @UARTBaseValid(i64 noundef %3) %5 = call i32 @DEBUG_ASSERT(i32 noundef %4) br label %6 6: ; preds = %13, %1 %7 = load i64, ptr %2, align 8 %8 = add i64 %7, 24 %9 = inttoptr i64 %8 to ptr %10 = load volatile i64, ptr %9, align 8 %11 = and i64 %10, 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %6 br label %6, !llvm.loop !6 14: ; preds = %6 %15 = load i64, ptr %2, align 8 %16 = add i64 %15, 44 %17 = inttoptr i64 %16 to ptr %18 = load volatile i64, ptr %17, align 8 %19 = and i64 %18, -17 store volatile i64 %19, ptr %17, align 8 %20 = load i64, ptr %2, align 8 %21 = add i64 %20, 48 %22 = inttoptr i64 %21 to ptr %23 = load volatile i64, ptr %22, align 8 %24 = and i64 %23, -770 store volatile i64 %24, ptr %22, align 8 ret void } declare i32 @DEBUG_ASSERT(i32 noundef) #1 declare i32 @UARTBaseValid(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/tmpcl257934.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UARTDisable(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call i32 @UARTBaseValid(i64 noundef %3) %5 = call i32 @DEBUG_ASSERT(i32 noundef %4) br label %6 6: ; preds = %6, %1 %7 = load i64, ptr %2, align 8 %8 = add i64 %7, 24 %9 = inttoptr i64 %8 to ptr %10 = load volatile i64, ptr %9, align 8 %11 = and i64 %10, 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %6, label %13, !llvm.loop !6 13: ; preds = %6 %14 = load i64, ptr %2, align 8 %15 = add i64 %14, 44 %16 = inttoptr i64 %15 to ptr %17 = load volatile i64, ptr %16, align 8 %18 = and i64 %17, -17 store volatile i64 %18, ptr %16, align 8 %19 = load i64, ptr %2, align 8 %20 = add i64 %19, 48 %21 = inttoptr i64 %20 to ptr %22 = load volatile i64, ptr %21, align 8 %23 = and i64 %22, -770 store volatile i64 %23, ptr %21, align 8 ret void } declare i32 @DEBUG_ASSERT(i32 noundef) #1 declare i32 @UARTBaseValid(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/tmp0m8lc870.c' source_filename = "/tmp/tmp0m8lc870.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d \0A %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = call i32 @scanf(ptr noundef @.str, ptr noundef %1) %3 = load i32, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = mul nsw i32 %3, %4 %6 = load i32, ptr %1, align 4 %7 = load i32, ptr %1, align 4 %8 = mul nsw i32 %6, %7 %9 = load i32, ptr %1, align 4 %10 = mul nsw i32 %8, %9 %11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5, i32 noundef %10) 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0m8lc870.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d \0A %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = call i32 @scanf(ptr noundef @.str, ptr noundef %1) %3 = load i32, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = mul nsw i32 %3, %4 %6 = load i32, ptr %1, align 4 %7 = load i32, ptr %1, align 4 %8 = mul nsw i32 %6, %7 %9 = load i32, ptr %1, align 4 %10 = mul nsw i32 %8, %9 %11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5, i32 noundef %10) 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"}
; ModuleID = '/tmp/tmpbmea9_lk.c' source_filename = "/tmp/tmpbmea9_lk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @rngkgm.cq = internal global [4 x double] [double 2.000000e+00, double 1.000000e+00, double 1.000000e+00, double 2.000000e+00], align 16 @rngkgm.ch = internal global [4 x double] [double 5.000000e-01, double 0.000000e+00, double 5.000000e-01, double 0.000000e+00], align 16 @rngkgm.ckq = internal global [4 x double] [double 5.000000e-01, double 0x3FD2BEC333018867, double 0x3FFB504F333F9DE6, double 0x3FC5555555555555], align 16 @rngkgm.ck = internal global [4 x double] [double 5.000000e-01, double 0x3FD2BEC333018867, double 0x3FFB504F333F9DE6, double 5.000000e-01], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rngkgm(double noundef %0, ptr noundef %1, double noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [10 x double], align 16 %13 = alloca [10 x double], align 16 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store double %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store double %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 %20 = load double, ptr %9, align 8 %21 = fcmp ole double %20, 0.000000e+00 br i1 %21, label %25, label %22 22: ; preds = %5 %23 = load i32, ptr %10, align 4 %24 = icmp sgt i32 %23, 9 br i1 %24, label %25, label %26 25: ; preds = %22, %5 store i32 999, ptr %6, align 4 br label %121 26: ; preds = %22 store i32 0, ptr %17, align 4 br label %27 27: ; preds = %35, %26 %28 = load i32, ptr %17, align 4 %29 = load i32, ptr %10, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %38 31: ; preds = %27 %32 = load i32, ptr %17, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [10 x double], ptr %13, i64 0, i64 %33 store double 0.000000e+00, ptr %34, align 8 br label %35 35: ; preds = %31 %36 = load i32, ptr %17, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %17, align 4 br label %27, !llvm.loop !6 38: ; preds = %27 %39 = load double, ptr %7, align 8 store double %39, ptr %16, align 8 store i32 0, ptr %17, align 4 br label %40 40: ; preds = %117, %38 %41 = load i32, ptr %17, align 4 %42 = load i32, ptr %11, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %44, label %120 44: ; preds = %40 store i32 0, ptr %18, align 4 br label %45 45: ; preds = %113, %44 %46 = load i32, ptr %18, align 4 %47 = icmp slt i32 %46, 4 br i1 %47, label %48, label %116 48: ; preds = %45 %49 = load double, ptr %7, align 8 %50 = load ptr, ptr %8, align 8 %51 = getelementptr inbounds [10 x double], ptr %12, i64 0, i64 0 %52 = load i32, ptr %10, align 4 %53 = call i32 @_fmxy(double noundef %49, ptr noundef %50, ptr noundef %51, i32 noundef %52) store i32 0, ptr %19, align 4 br label %54 54: ; preds = %102, %48 %55 = load i32, ptr %19, align 4 %56 = load i32, ptr %10, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %58, label %105 58: ; preds = %54 %59 = load double, ptr %9, align 8 %60 = load i32, ptr %19, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [10 x double], ptr %12, i64 0, i64 %61 %63 = load double, ptr %62, align 8 %64 = fmul double %59, %63 store double %64, ptr %14, align 8 %65 = load double, ptr %14, align 8 %66 = load i32, ptr %18, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [4 x double], ptr @rngkgm.cq, i64 0, i64 %67 %69 = load double, ptr %68, align 8 %70 = load i32, ptr %19, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [10 x double], ptr %13, i64 0, i64 %71 %73 = load double, ptr %72, align 8 %74 = fneg double %69 %75 = call double @llvm.fmuladd.f64(double %74, double %73, double %65) %76 = load i32, ptr %18, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [4 x double], ptr @rngkgm.ckq, i64 0, i64 %77 %79 = load double, ptr %78, align 8 %80 = fmul double %75, %79 store double %80, ptr %15, align 8 %81 = load double, ptr %15, align 8 %82 = load ptr, ptr %8, align 8 %83 = load i32, ptr %19, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds double, ptr %82, i64 %84 %86 = load double, ptr %85, align 8 %87 = fadd double %86, %81 store double %87, ptr %85, align 8 %88 = load double, ptr %15, align 8 %89 = load i32, ptr %18, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [4 x double], ptr @rngkgm.ck, i64 0, i64 %90 %92 = load double, ptr %91, align 8 %93 = load double, ptr %14, align 8 %94 = fmul double %92, %93 %95 = fneg double %94 %96 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %88, double %95) %97 = load i32, ptr %19, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [10 x double], ptr %13, i64 0, i64 %98 %100 = load double, ptr %99, align 8 %101 = fadd double %100, %96 store double %101, ptr %99, align 8 br label %102 102: ; preds = %58 %103 = load i32, ptr %19, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %19, align 4 br label %54, !llvm.loop !8 105: ; preds = %54 %106 = load double, ptr %16, align 8 %107 = load double, ptr %9, align 8 %108 = load i32, ptr %18, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [4 x double], ptr @rngkgm.ch, i64 0, i64 %109 %111 = load double, ptr %110, align 8 %112 = call double @llvm.fmuladd.f64(double %107, double %111, double %106) store double %112, ptr %7, align 8 br label %113 113: ; preds = %105 %114 = load i32, ptr %18, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %18, align 4 br label %45, !llvm.loop !9 116: ; preds = %45 br label %117 117: ; preds = %116 %118 = load i32, ptr %17, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %17, align 4 br label %40, !llvm.loop !10 120: ; preds = %40 store i32 0, ptr %6, align 4 br label %121 121: ; preds = %120, %25 %122 = load i32, ptr %6, align 4 ret i32 %122 } declare i32 @_fmxy(double noundef, ptr noundef, ptr noundef, 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbmea9_lk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @rngkgm.cq = internal global [4 x double] [double 2.000000e+00, double 1.000000e+00, double 1.000000e+00, double 2.000000e+00], align 16 @rngkgm.ch = internal global [4 x double] [double 5.000000e-01, double 0.000000e+00, double 5.000000e-01, double 0.000000e+00], align 16 @rngkgm.ckq = internal global [4 x double] [double 5.000000e-01, double 0x3FD2BEC333018867, double 0x3FFB504F333F9DE6, double 0x3FC5555555555555], align 16 @rngkgm.ck = internal global [4 x double] [double 5.000000e-01, double 0x3FD2BEC333018867, double 0x3FFB504F333F9DE6, double 5.000000e-01], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rngkgm(double noundef %0, ptr noundef %1, double noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [10 x double], align 16 %13 = alloca [10 x double], align 16 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store double %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store double %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 %20 = load double, ptr %9, align 8 %21 = fcmp ole double %20, 0.000000e+00 br i1 %21, label %25, label %22 22: ; preds = %5 %23 = load i32, ptr %10, align 4 %24 = icmp sgt i32 %23, 9 br i1 %24, label %25, label %26 25: ; preds = %22, %5 store i32 999, ptr %6, align 4 br label %128 26: ; preds = %22 store i32 0, ptr %17, align 4 %27 = load i32, ptr %17, align 4 %28 = load i32, ptr %10, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph, label %40 .lr.ph: ; preds = %26 br label %30 30: ; preds = %.lr.ph, %34 %31 = load i32, ptr %17, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [10 x double], ptr %13, i64 0, i64 %32 store double 0.000000e+00, ptr %33, align 8 br label %34 34: ; preds = %30 %35 = load i32, ptr %17, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %17, align 4 %37 = load i32, ptr %17, align 4 %38 = load i32, ptr %10, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %26 %41 = load double, ptr %7, align 8 store double %41, ptr %16, align 8 store i32 0, ptr %17, align 4 %42 = load i32, ptr %17, align 4 %43 = load i32, ptr %11, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %.lr.ph8, label %127 .lr.ph8: ; preds = %40 br label %45 45: ; preds = %.lr.ph8, %121 store i32 0, ptr %18, align 4 %46 = load i32, ptr %18, align 4 %47 = icmp slt i32 %46, 4 br i1 %47, label %.lr.ph5, label %120 .lr.ph5: ; preds = %45 br label %48 48: ; preds = %.lr.ph5, %115 %49 = load double, ptr %7, align 8 %50 = load ptr, ptr %8, align 8 %51 = getelementptr inbounds [10 x double], ptr %12, i64 0, i64 0 %52 = load i32, ptr %10, align 4 %53 = call i32 @_fmxy(double noundef %49, ptr noundef %50, ptr noundef %51, i32 noundef %52) store i32 0, ptr %19, align 4 %54 = load i32, ptr %19, align 4 %55 = load i32, ptr %10, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %.lr.ph2, label %107 .lr.ph2: ; preds = %48 br label %57 57: ; preds = %.lr.ph2, %101 %58 = load double, ptr %9, align 8 %59 = load i32, ptr %19, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [10 x double], ptr %12, i64 0, i64 %60 %62 = load double, ptr %61, align 8 %63 = fmul double %58, %62 store double %63, ptr %14, align 8 %64 = load double, ptr %14, align 8 %65 = load i32, ptr %18, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [4 x double], ptr @rngkgm.cq, i64 0, i64 %66 %68 = load double, ptr %67, align 8 %69 = load i32, ptr %19, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [10 x double], ptr %13, i64 0, i64 %70 %72 = load double, ptr %71, align 8 %73 = fneg double %68 %74 = call double @llvm.fmuladd.f64(double %73, double %72, double %64) %75 = load i32, ptr %18, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [4 x double], ptr @rngkgm.ckq, i64 0, i64 %76 %78 = load double, ptr %77, align 8 %79 = fmul double %74, %78 store double %79, ptr %15, align 8 %80 = load double, ptr %15, align 8 %81 = load ptr, ptr %8, align 8 %82 = load i32, ptr %19, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds double, ptr %81, i64 %83 %85 = load double, ptr %84, align 8 %86 = fadd double %85, %80 store double %86, ptr %84, align 8 %87 = load double, ptr %15, align 8 %88 = load i32, ptr %18, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [4 x double], ptr @rngkgm.ck, i64 0, i64 %89 %91 = load double, ptr %90, align 8 %92 = load double, ptr %14, align 8 %93 = fmul double %91, %92 %94 = fneg double %93 %95 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %87, double %94) %96 = load i32, ptr %19, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [10 x double], ptr %13, i64 0, i64 %97 %99 = load double, ptr %98, align 8 %100 = fadd double %99, %95 store double %100, ptr %98, align 8 br label %101 101: ; preds = %57 %102 = load i32, ptr %19, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %19, align 4 %104 = load i32, ptr %19, align 4 %105 = load i32, ptr %10, align 4 %106 = icmp slt i32 %104, %105 br i1 %106, label %57, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %101 br label %107 107: ; preds = %._crit_edge3, %48 %108 = load double, ptr %16, align 8 %109 = load double, ptr %9, align 8 %110 = load i32, ptr %18, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds [4 x double], ptr @rngkgm.ch, i64 0, i64 %111 %113 = load double, ptr %112, align 8 %114 = call double @llvm.fmuladd.f64(double %109, double %113, double %108) store double %114, ptr %7, align 8 br label %115 115: ; preds = %107 %116 = load i32, ptr %18, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %18, align 4 %118 = load i32, ptr %18, align 4 %119 = icmp slt i32 %118, 4 br i1 %119, label %48, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %115 br label %120 120: ; preds = %._crit_edge6, %45 br label %121 121: ; preds = %120 %122 = load i32, ptr %17, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %17, align 4 %124 = load i32, ptr %17, align 4 %125 = load i32, ptr %11, align 4 %126 = icmp slt i32 %124, %125 br i1 %126, label %45, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %121 br label %127 127: ; preds = %._crit_edge9, %40 store i32 0, ptr %6, align 4 br label %128 128: ; preds = %127, %25 %129 = load i32, ptr %6, align 4 ret i32 %129 } declare i32 @_fmxy(double noundef, ptr noundef, ptr noundef, 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpib90_ecc.c' source_filename = "/tmp/tmpib90_ecc.c" target datalayout = "e-m:e-p270: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/tmpib90_ecc.c" target datalayout = "e-m:e-p270: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/tmp0yy5dr2e.c' source_filename = "/tmp/tmp0yy5dr2e.c" target datalayout = "e-m:e-p270: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/tmp0yy5dr2e.c" target datalayout = "e-m:e-p270: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/tmp322oaikf.c' source_filename = "/tmp/tmp322oaikf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart_putc(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 br label %3 3: ; preds = %7, %1 %4 = call i32 @reg_read32(i32 noundef 369098776) %5 = and i32 %4, 32 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %3 br label %3, !llvm.loop !6 8: ; preds = %3 %9 = load i8, ptr %2, align 1 %10 = call i32 @reg_write8(i32 noundef 369098752, i8 noundef signext %9) ret void } declare i32 @reg_read32(i32 noundef) #1 declare i32 @reg_write8(i32 noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp322oaikf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart_putc(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 br label %3 3: ; preds = %3, %1 %4 = call i32 @reg_read32(i32 noundef 369098776) %5 = and i32 %4, 32 %6 = icmp ne i32 %5, 0 br i1 %6, label %3, label %7, !llvm.loop !6 7: ; preds = %3 %8 = load i8, ptr %2, align 1 %9 = call i32 @reg_write8(i32 noundef 369098752, i8 noundef signext %8) ret void } declare i32 @reg_read32(i32 noundef) #1 declare i32 @reg_write8(i32 noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwvnnjnx7.c' source_filename = "/tmp/tmpwvnnjnx7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %3, align 8 %10 = alloca i32, i64 %8, align 16 store i64 %8, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %11 11: ; preds = %20, %0 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %23 15: ; preds = %11 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %10, i64 %17 %19 = call i32 @scanf(ptr noundef @.str, ptr noundef %18) br label %20 20: ; preds = %15 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 br label %11, !llvm.loop !6 23: ; preds = %11 %24 = load i32, ptr %2, align 4 %25 = sub nsw i32 %24, 1 %26 = call i32 @quickSort(ptr noundef %10, i32 noundef 0, i32 noundef %25) %27 = load i32, ptr %2, align 4 %28 = call i32 @cutSticks(ptr noundef %10, i32 noundef %27) store i32 0, ptr %1, align 4 %29 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %29) %30 = load i32, ptr %1, align 4 ret i32 %30 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @quickSort(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @cutSticks(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwvnnjnx7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %3, align 8 %10 = alloca i32, i64 %8, align 16 store i64 %8, ptr %4, align 8 store i32 0, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %19 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %10, i64 %16 %18 = call i32 @scanf(ptr noundef @.str, ptr noundef %17) br label %19 19: ; preds = %14 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %0 %26 = load i32, ptr %2, align 4 %27 = sub nsw i32 %26, 1 %28 = call i32 @quickSort(ptr noundef %10, i32 noundef 0, i32 noundef %27) %29 = load i32, ptr %2, align 4 %30 = call i32 @cutSticks(ptr noundef %10, i32 noundef %29) store i32 0, ptr %1, align 4 %31 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %31) %32 = load i32, ptr %1, align 4 ret i32 %32 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @quickSort(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @cutSticks(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9uzl5dwb.c' source_filename = "/tmp/tmp9uzl5dwb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j0g(ptr noundef %0, ptr noundef %1, i32 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 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %3 store ptr null, ptr %4, align 8 br label %27 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 %15 = call i32 @strlen(ptr noundef %14) store i32 %15, ptr %9, align 4 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %9, align 4 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %7, align 4 %20 = call i32 @js0n(ptr noundef %16, i32 noundef %17, ptr noundef %18, i32 noundef %19) store i32 %20, ptr %8, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %13 %24 = load ptr, ptr %6, align 8 store i16 0, ptr %24, align 2 br label %25 25: ; preds = %23, %13 %26 = load ptr, ptr %5, align 8 store ptr %26, ptr %4, align 8 br label %27 27: ; preds = %25, %12 %28 = load ptr, ptr %4, align 8 ret ptr %28 } declare i32 @strlen(ptr noundef) #1 declare i32 @js0n(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9uzl5dwb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j0g(ptr noundef %0, ptr noundef %1, i32 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 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %3 store ptr null, ptr %4, align 8 br label %27 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 %15 = call i32 @strlen(ptr noundef %14) store i32 %15, ptr %9, align 4 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %9, align 4 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %7, align 4 %20 = call i32 @js0n(ptr noundef %16, i32 noundef %17, ptr noundef %18, i32 noundef %19) store i32 %20, ptr %8, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %13 %24 = load ptr, ptr %6, align 8 store i16 0, ptr %24, align 2 br label %25 25: ; preds = %23, %13 %26 = load ptr, ptr %5, align 8 store ptr %26, ptr %4, align 8 br label %27 27: ; preds = %25, %12 %28 = load ptr, ptr %4, align 8 ret ptr %28 } declare i32 @strlen(ptr noundef) #1 declare i32 @js0n(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvntngjvt.c' source_filename = "/tmp/tmpvntngjvt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7) %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %7, align 4 %11 = call i32 @gcd(i32 noundef %9, i32 noundef %10) %12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @gcd(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/tmpvntngjvt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7) %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %7, align 4 %11 = call i32 @gcd(i32 noundef %9, i32 noundef %10) %12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @gcd(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/tmphjyrwfch.c' source_filename = "/tmp/tmphjyrwfch.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MIMEH_is_valid_header_prefix(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %6, align 4 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %6, align 4 %13 = call i64 @strncasecmp(ptr noundef %10, ptr noundef %11, i32 noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %28 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 store i8 %21, ptr %7, align 1 %22 = load i8, ptr %7, align 1 %23 = sext i8 %22 to i32 switch i32 %23, label %25 [ i32 58, label %24 i32 32, label %24 i32 9, label %24 i32 0, label %24 ] 24: ; preds = %16, %16, %16, %16 br label %26 25: ; preds = %16 store i32 0, ptr %3, align 4 br label %28 26: ; preds = %24 br label %27 27: ; preds = %26 store i32 1, ptr %3, align 4 br label %28 28: ; preds = %27, %25, %15 %29 = load i32, ptr %3, align 4 ret i32 %29 } declare i32 @strlen(ptr noundef) #1 declare i64 @strncasecmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphjyrwfch.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MIMEH_is_valid_header_prefix(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %6, align 4 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %6, align 4 %13 = call i64 @strncasecmp(ptr noundef %10, ptr noundef %11, i32 noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %28 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 store i8 %21, ptr %7, align 1 %22 = load i8, ptr %7, align 1 %23 = sext i8 %22 to i32 switch i32 %23, label %25 [ i32 58, label %24 i32 32, label %24 i32 9, label %24 i32 0, label %24 ] 24: ; preds = %16, %16, %16, %16 br label %26 25: ; preds = %16 store i32 0, ptr %3, align 4 br label %28 26: ; preds = %24 br label %27 27: ; preds = %26 store i32 1, ptr %3, align 4 br label %28 28: ; preds = %27, %25, %15 %29 = load i32, ptr %3, align 4 ret i32 %29 } declare i32 @strlen(ptr noundef) #1 declare i64 @strncasecmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgby6vhmd.c' source_filename = "/tmp/tmpgby6vhmd.c" target datalayout = "e-m:e-p270: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/tmpgby6vhmd.c" target datalayout = "e-m:e-p270: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/tmpwrvhjyos.c' source_filename = "/tmp/tmpwrvhjyos.c" target datalayout = "e-m:e-p270: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/tmpwrvhjyos.c" target datalayout = "e-m:e-p270: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/tmpxxkumvzm.c' source_filename = "/tmp/tmpxxkumvzm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [146 x i8] c"CREATE TABLE IF NOT EXISTS `%s`(`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,`username` vchar(64),`serialnum` vchar(36),`pubkey` vchar(280));\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"T_Admin\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [126 x i8] c"CREATE TABLE IF NOT EXISTS `%s`(`id` integer primary key,`username` vchar(64),`macaddress` vchar(18),`ipaddress` INTEGER );\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"T_Member\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [500 x i8], align 16 %2 = getelementptr inbounds [500 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @sprintf(ptr noundef %2, ptr noundef @.str, ptr noundef @.str.1) %4 = getelementptr inbounds [500 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @printf(ptr noundef @.str.2, ptr noundef %4) %6 = getelementptr inbounds [500 x i8], ptr %1, i64 0, i64 0 %7 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str.3, ptr noundef @.str.4) %8 = getelementptr inbounds [500 x i8], ptr %1, i64 0, i64 0 %9 = call i32 @printf(ptr noundef @.str.2, ptr noundef %8) ret i32 0 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxxkumvzm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [146 x i8] c"CREATE TABLE IF NOT EXISTS `%s`(`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,`username` vchar(64),`serialnum` vchar(36),`pubkey` vchar(280));\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"T_Admin\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [126 x i8] c"CREATE TABLE IF NOT EXISTS `%s`(`id` integer primary key,`username` vchar(64),`macaddress` vchar(18),`ipaddress` INTEGER );\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"T_Member\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [500 x i8], align 16 %2 = getelementptr inbounds [500 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @sprintf(ptr noundef %2, ptr noundef @.str, ptr noundef @.str.1) %4 = getelementptr inbounds [500 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @printf(ptr noundef @.str.2, ptr noundef %4) %6 = getelementptr inbounds [500 x i8], ptr %1, i64 0, i64 0 %7 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str.3, ptr noundef @.str.4) %8 = getelementptr inbounds [500 x i8], ptr %1, i64 0, i64 0 %9 = call i32 @printf(ptr noundef @.str.2, ptr noundef %8) ret i32 0 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp45n87zsz.c' source_filename = "/tmp/tmp45n87zsz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chopslash(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) store i32 %5, ptr %3, align 4 br label %6 6: ; preds = %42, %1 %7 = load i32, ptr %3, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %45 9: ; preds = %6 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = sub nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %10, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 92 br i1 %17, label %18, label %24 18: ; preds = %9 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %3, align 4 %21 = sub nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %19, i64 %22 store i8 0, ptr %23, align 1 br label %41 24: ; preds = %9 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %3, align 4 %27 = sub nsw i32 %26, 1 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %25, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 47 br i1 %32, label %33, label %39 33: ; preds = %24 %34 = load ptr, ptr %2, align 8 %35 = load i32, ptr %3, align 4 %36 = sub nsw i32 %35, 1 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %34, i64 %37 store i8 0, ptr %38, align 1 br label %40 39: ; preds = %24 br label %45 40: ; preds = %33 br label %41 41: ; preds = %40, %18 br label %42 42: ; preds = %41 %43 = load i32, ptr %3, align 4 %44 = add nsw i32 %43, -1 store i32 %44, ptr %3, align 4 br label %6, !llvm.loop !6 45: ; preds = %39, %6 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp45n87zsz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chopslash(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sgt i32 %6, 0 br i1 %7, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %41 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %9, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 92 br i1 %16, label %17, label %23 17: ; preds = %8 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %3, align 4 %20 = sub nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %18, i64 %21 store i8 0, ptr %22, align 1 br label %40 23: ; preds = %8 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %3, align 4 %26 = sub nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %24, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 47 br i1 %31, label %32, label %38 32: ; preds = %23 %33 = load ptr, ptr %2, align 8 %34 = load i32, ptr %3, align 4 %35 = sub nsw i32 %34, 1 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %33, i64 %36 store i8 0, ptr %37, align 1 br label %39 38: ; preds = %23 br label %46 39: ; preds = %32 br label %40 40: ; preds = %39, %17 br label %41 41: ; preds = %40 %42 = load i32, ptr %3, align 4 %43 = add nsw i32 %42, -1 store i32 %43, ptr %3, align 4 %44 = load i32, ptr %3, align 4 %45 = icmp sgt i32 %44, 0 br i1 %45, label %8, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %41 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %46 46: ; preds = %.loopexit, %38 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpe713zy1_.c' source_filename = "/tmp/tmpe713zy1_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putnbr_fd(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 store i64 %7, ptr %5, align 8 %8 = load i64, ptr %5, align 8 %9 = icmp slt i64 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load i32, ptr %4, align 4 %12 = call i32 @ft_putchar_fd(i8 noundef signext 45, i32 noundef %11) %13 = load i64, ptr %5, align 8 %14 = sub nsw i64 0, %13 store i64 %14, ptr %5, align 8 br label %15 15: ; preds = %10, %2 %16 = load i64, ptr %5, align 8 %17 = load i32, ptr %4, align 4 %18 = call i32 @ft_putdigit_fd(i64 noundef %16, i32 noundef %17) ret void } declare i32 @ft_putchar_fd(i8 noundef signext, i32 noundef) #1 declare i32 @ft_putdigit_fd(i64 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/tmpe713zy1_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putnbr_fd(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 store i64 %7, ptr %5, align 8 %8 = load i64, ptr %5, align 8 %9 = icmp slt i64 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load i32, ptr %4, align 4 %12 = call i32 @ft_putchar_fd(i8 noundef signext 45, i32 noundef %11) %13 = load i64, ptr %5, align 8 %14 = sub nsw i64 0, %13 store i64 %14, ptr %5, align 8 br label %15 15: ; preds = %10, %2 %16 = load i64, ptr %5, align 8 %17 = load i32, ptr %4, align 4 %18 = call i32 @ft_putdigit_fd(i64 noundef %16, i32 noundef %17) ret void } declare i32 @ft_putchar_fd(i8 noundef signext, i32 noundef) #1 declare i32 @ft_putdigit_fd(i64 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/tmpqn828oxa.c' source_filename = "/tmp/tmpqn828oxa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(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 ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 br label %11 11: ; preds = %15, %3 %12 = load i64, ptr %6, align 8 %13 = icmp ugt i64 %12, 0 br i1 %13, label %14, label %23 14: ; preds = %11 br label %15 15: ; preds = %14 %16 = load ptr, ptr %8, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %8, align 8 %18 = load i8, ptr %16, align 1 %19 = load ptr, ptr %7, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %7, align 8 store i8 %18, ptr %19, align 1 %21 = load i64, ptr %6, align 8 %22 = add i64 %21, -1 store i64 %22, ptr %6, align 8 br label %11, !llvm.loop !6 23: ; preds = %11 %24 = load ptr, ptr %4, align 8 ret ptr %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqn828oxa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(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 ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load i64, ptr %6, align 8 %12 = icmp ugt i64 %11, 0 br i1 %12, label %.lr.ph, label %24 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %14 br label %14 14: ; preds = %13 %15 = load ptr, ptr %8, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %8, align 8 %17 = load i8, ptr %15, align 1 %18 = load ptr, ptr %7, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %7, align 8 store i8 %17, ptr %18, align 1 %20 = load i64, ptr %6, align 8 %21 = add i64 %20, -1 store i64 %21, ptr %6, align 8 %22 = load i64, ptr %6, align 8 %23 = icmp ugt i64 %22, 0 br i1 %23, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %24 24: ; preds = %._crit_edge, %3 %25 = load ptr, ptr %4, align 8 ret ptr %25 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}