llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpvzh0qixc.c' source_filename = "/tmp/tmpvzh0qixc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i64 0, align 8 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @putl_category(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %24 8: ; preds = %2 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i64 @fputs(ptr noundef %9, ptr noundef %10) %12 = load i64, ptr @EOF, align 8 %13 = icmp eq i64 %11, %12 br i1 %13, label %14, label %24 14: ; preds = %8 %15 = load ptr, ptr %5, align 8 %16 = call i32 @fclose(ptr noundef %15) %17 = call i32 (...) @category_file() %18 = call i32 @unlink(i32 noundef %17) %19 = load i32, ptr @errno, align 4 %20 = call i32 @strerror(i32 noundef %19) %21 = call i32 @errf(i32 noundef %20) %22 = load i64, ptr @EOF, align 8 %23 = trunc i64 %22 to i32 store i32 %23, ptr %3, align 4 br label %40 24: ; preds = %8, %2 %25 = load ptr, ptr %5, align 8 %26 = call i64 @fputc(i8 noundef signext 10, ptr noundef %25) %27 = load i64, ptr @EOF, align 8 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %39 29: ; preds = %24 %30 = load ptr, ptr %5, align 8 %31 = call i32 @fclose(ptr noundef %30) %32 = call i32 (...) @category_file() %33 = call i32 @unlink(i32 noundef %32) %34 = load i32, ptr @errno, align 4 %35 = call i32 @strerror(i32 noundef %34) %36 = call i32 @errf(i32 noundef %35) %37 = load i64, ptr @EOF, align 8 %38 = trunc i64 %37 to i32 store i32 %38, ptr %3, align 4 br label %40 39: ; preds = %24 store i32 0, ptr %3, align 4 br label %40 40: ; preds = %39, %29, %14 %41 = load i32, ptr %3, align 4 ret i32 %41 } declare i64 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @unlink(i32 noundef) #1 declare i32 @category_file(...) #1 declare i32 @errf(i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 declare i64 @fputc(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvzh0qixc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i64 0, align 8 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @putl_category(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %24 8: ; preds = %2 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i64 @fputs(ptr noundef %9, ptr noundef %10) %12 = load i64, ptr @EOF, align 8 %13 = icmp eq i64 %11, %12 br i1 %13, label %14, label %24 14: ; preds = %8 %15 = load ptr, ptr %5, align 8 %16 = call i32 @fclose(ptr noundef %15) %17 = call i32 (...) @category_file() %18 = call i32 @unlink(i32 noundef %17) %19 = load i32, ptr @errno, align 4 %20 = call i32 @strerror(i32 noundef %19) %21 = call i32 @errf(i32 noundef %20) %22 = load i64, ptr @EOF, align 8 %23 = trunc i64 %22 to i32 store i32 %23, ptr %3, align 4 br label %40 24: ; preds = %8, %2 %25 = load ptr, ptr %5, align 8 %26 = call i64 @fputc(i8 noundef signext 10, ptr noundef %25) %27 = load i64, ptr @EOF, align 8 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %39 29: ; preds = %24 %30 = load ptr, ptr %5, align 8 %31 = call i32 @fclose(ptr noundef %30) %32 = call i32 (...) @category_file() %33 = call i32 @unlink(i32 noundef %32) %34 = load i32, ptr @errno, align 4 %35 = call i32 @strerror(i32 noundef %34) %36 = call i32 @errf(i32 noundef %35) %37 = load i64, ptr @EOF, align 8 %38 = trunc i64 %37 to i32 store i32 %38, ptr %3, align 4 br label %40 39: ; preds = %24 store i32 0, ptr %3, align 4 br label %40 40: ; preds = %39, %29, %14 %41 = load i32, ptr %3, align 4 ret i32 %41 } declare i64 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @unlink(i32 noundef) #1 declare i32 @category_file(...) #1 declare i32 @errf(i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 declare i64 @fputc(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbrlydid0.c' source_filename = "/tmp/tmpbrlydid0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"r<\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"r>\00", align 1 ; Function Attrs: noinline nounwind sspstrong allocsize(1) uwtable define dso_local ptr @realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = call i32 (...) @memtr_init() %7 = load i64, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @memtr_print(ptr noundef @.str, i64 noundef %7, ptr noundef %8) %10 = load ptr, ptr %3, align 8 %11 = load i64, ptr %4, align 8 %12 = call ptr @orig_realloc(ptr noundef %10, i64 noundef %11) store ptr %12, ptr %5, align 8 %13 = load i64, ptr %4, align 8 %14 = load ptr, ptr %5, align 8 %15 = call i32 @memtr_print(ptr noundef @.str.1, i64 noundef %13, ptr noundef %14) %16 = load ptr, ptr %5, align 8 ret ptr %16 } declare i32 @memtr_init(...) #1 declare i32 @memtr_print(ptr noundef, i64 noundef, ptr noundef) #1 declare ptr @orig_realloc(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong allocsize(1) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbrlydid0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"r<\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"r>\00", align 1 ; Function Attrs: noinline nounwind sspstrong allocsize(1) uwtable define dso_local ptr @realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = call i32 (...) @memtr_init() %7 = load i64, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @memtr_print(ptr noundef @.str, i64 noundef %7, ptr noundef %8) %10 = load ptr, ptr %3, align 8 %11 = load i64, ptr %4, align 8 %12 = call ptr @orig_realloc(ptr noundef %10, i64 noundef %11) store ptr %12, ptr %5, align 8 %13 = load i64, ptr %4, align 8 %14 = load ptr, ptr %5, align 8 %15 = call i32 @memtr_print(ptr noundef @.str.1, i64 noundef %13, ptr noundef %14) %16 = load ptr, ptr %5, align 8 ret ptr %16 } declare i32 @memtr_init(...) #1 declare i32 @memtr_print(ptr noundef, i64 noundef, ptr noundef) #1 declare ptr @orig_realloc(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong allocsize(1) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppyjv5wfc.c' source_filename = "/tmp/tmppyjv5wfc.c" target datalayout = "e-m:e-p270: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/tmppyjv5wfc.c" target datalayout = "e-m:e-p270: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/tmptv3euefr.c' source_filename = "/tmp/tmptv3euefr.c" target datalayout = "e-m:e-p270: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.filename = private unnamed_addr constant [11 x i8] c"sample.txt\00", align 1 @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"Unable to open %s\0A\00", align 1 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [11 x i8], align 1 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.filename, i64 11, i1 false) %5 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0 %6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %14 9: ; preds = %0 %10 = load i32, ptr @stderr, align 4 %11 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str.1, ptr noundef %11) %13 = call i32 @exit(i32 noundef 1) #4 unreachable 14: ; preds = %0 br label %15 15: ; preds = %14, %22 %16 = load ptr, ptr %4, align 8 %17 = call i32 @fgetc(ptr noundef %16) store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr @EOF, align 4 %20 = icmp eq i32 %18, %19 br i1 %20, label %21, label %22 21: ; preds = %15 br label %25 22: ; preds = %15 %23 = load i32, ptr %3, align 4 %24 = call i32 @putchar(i32 noundef %23) br label %15 25: ; preds = %21 %26 = load ptr, ptr %4, align 8 %27 = call i32 @fclose(ptr noundef %26) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @fgetc(ptr noundef) #2 declare i32 @putchar(i32 noundef) #2 declare i32 @fclose(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" } attributes #3 = { 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 #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/tmptv3euefr.c" target datalayout = "e-m:e-p270: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.filename = private unnamed_addr constant [11 x i8] c"sample.txt\00", align 1 @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"Unable to open %s\0A\00", align 1 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [11 x i8], align 1 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.filename, i64 11, i1 false) %5 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0 %6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %14 9: ; preds = %0 %10 = load i32, ptr @stderr, align 4 %11 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str.1, ptr noundef %11) %13 = call i32 @exit(i32 noundef 1) #4 unreachable 14: ; preds = %0 %15 = load ptr, ptr %4, align 8 %16 = call i32 @fgetc(ptr noundef %15) store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr @EOF, align 4 %19 = icmp eq i32 %17, %18 br i1 %19, label %20, label %.lr.ph .lr.ph: ; preds = %14 br label %21 ._crit_edge: ; preds = %21 br label %20 20: ; preds = %._crit_edge, %14 br label %29 21: ; preds = %.lr.ph, %21 %22 = load i32, ptr %3, align 4 %23 = call i32 @putchar(i32 noundef %22) %24 = load ptr, ptr %4, align 8 %25 = call i32 @fgetc(ptr noundef %24) store i32 %25, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr @EOF, align 4 %28 = icmp eq i32 %26, %27 br i1 %28, label %._crit_edge, label %21 29: ; preds = %20 %30 = load ptr, ptr %4, align 8 %31 = call i32 @fclose(ptr noundef %30) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @fgetc(ptr noundef) #2 declare i32 @putchar(i32 noundef) #2 declare i32 @fclose(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" } attributes #3 = { 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 #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/tmpqhpw3t1o.c' source_filename = "/tmp/tmpqhpw3t1o.c" target datalayout = "e-m:e-p270: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/tmpqhpw3t1o.c" target datalayout = "e-m:e-p270: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/tmpghmw77gk.c' source_filename = "/tmp/tmpghmw77gk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"True branch 1\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"True branch 2\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"False branch\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Done\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fun(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp ne i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 @printf(ptr noundef @.str.1) br label %10 8: ; preds = %1 %9 = call i32 @printf(ptr noundef @.str.2) br label %10 10: ; preds = %8, %5 %11 = call i32 @printf(ptr noundef @.str.3) 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/tmpghmw77gk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"True branch 1\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"True branch 2\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"False branch\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Done\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fun(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp ne i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 @printf(ptr noundef @.str.1) br label %10 8: ; preds = %1 %9 = call i32 @printf(ptr noundef @.str.2) br label %10 10: ; preds = %8, %5 %11 = call i32 @printf(ptr noundef @.str.3) 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/tmphet6croy.c' source_filename = "/tmp/tmphet6croy.c" target datalayout = "e-m:e-p270: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/tmphet6croy.c" target datalayout = "e-m:e-p270: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/tmpkjypppzk.c' source_filename = "/tmp/tmpkjypppzk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @ft_strlen(ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = add nsw i32 %9, 1 %11 = sext i32 %10 to i64 %12 = mul i64 1, %11 %13 = trunc i64 %12 to i32 %14 = call i64 @malloc(i32 noundef %13) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %6, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %18, label %17 17: ; preds = %1 store ptr null, ptr %2, align 8 br label %37 18: ; preds = %1 store i32 0, ptr %4, align 4 br label %19 19: ; preds = %23, %18 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp sle i32 %20, %21 br i1 %22, label %23, label %35 23: ; preds = %19 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %4, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 store i8 %28, ptr %32, align 1 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %4, align 4 br label %19, !llvm.loop !6 35: ; preds = %19 %36 = load ptr, ptr %6, align 8 store ptr %36, ptr %2, align 8 br label %37 37: ; preds = %35, %17 %38 = load ptr, ptr %2, align 8 ret ptr %38 } declare i32 @ft_strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkjypppzk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @ft_strlen(ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = add nsw i32 %9, 1 %11 = sext i32 %10 to i64 %12 = mul i64 1, %11 %13 = trunc i64 %12 to i32 %14 = call i64 @malloc(i32 noundef %13) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %6, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %18, label %17 17: ; preds = %1 store ptr null, ptr %2, align 8 br label %39 18: ; preds = %1 store i32 0, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp sle i32 %19, %20 br i1 %21, label %.lr.ph, label %37 .lr.ph: ; preds = %18 br label %22 22: ; preds = %.lr.ph, %22 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 store i8 %27, ptr %31, align 1 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %4, align 4 %34 = load i32, ptr %4, align 4 %35 = load i32, ptr %5, align 4 %36 = icmp sle i32 %34, %35 br i1 %36, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %37 37: ; preds = %._crit_edge, %18 %38 = load ptr, ptr %6, align 8 store ptr %38, ptr %2, align 8 br label %39 39: ; preds = %37, %17 %40 = load ptr, ptr %2, align 8 ret ptr %40 } declare i32 @ft_strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpn_tijcps.c' source_filename = "/tmp/tmpn_tijcps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tree_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn_tijcps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tree_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpteu4ref5.c' source_filename = "/tmp/tmpteu4ref5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Usage: %s (on|off|toggle|get) [MOD]\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpteu4ref5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Usage: %s (on|off|toggle|get) [MOD]\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpogaa53rs.c' source_filename = "/tmp/tmpogaa53rs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @distance_vec(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %21 = load ptr, ptr %6, align 8 store ptr %21, ptr %11, align 8 %22 = load ptr, ptr %7, align 8 store ptr %22, ptr %12, align 8 %23 = load ptr, ptr %8, align 8 store ptr %23, ptr %13, align 8 %24 = load ptr, ptr %9, align 8 store ptr %24, ptr %14, align 8 %25 = load i32, ptr %10, align 4 %26 = sdiv i32 %25, 4 store i32 %26, ptr %15, align 4 store i32 0, ptr %16, align 4 br label %27 27: ; preds = %77, %5 %28 = load i32, ptr %16, align 4 %29 = load i32, ptr %15, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %80 31: ; preds = %27 %32 = load ptr, ptr %11, align 8 %33 = load i32, ptr %16, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 %36 = load i32, ptr %35, align 4 %37 = load ptr, ptr %11, align 8 %38 = load i32, ptr %16, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 %41 = load i32, ptr %40, align 4 %42 = call i32 @_mm_mul_ps(i32 noundef %36, i32 noundef %41) store i32 %42, ptr %17, align 4 %43 = load ptr, ptr %12, align 8 %44 = load i32, ptr %16, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4 %48 = load ptr, ptr %12, align 8 %49 = load i32, ptr %16, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 %52 = load i32, ptr %51, align 4 %53 = call i32 @_mm_mul_ps(i32 noundef %47, i32 noundef %52) store i32 %53, ptr %18, align 4 %54 = load ptr, ptr %13, align 8 %55 = load i32, ptr %16, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %54, i64 %56 %58 = load i32, ptr %57, align 4 %59 = load ptr, ptr %13, align 8 %60 = load i32, ptr %16, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 %63 = load i32, ptr %62, align 4 %64 = call i32 @_mm_mul_ps(i32 noundef %58, i32 noundef %63) store i32 %64, ptr %19, align 4 %65 = load i32, ptr %17, align 4 %66 = load i32, ptr %18, align 4 %67 = call i32 @_mm_add_ps(i32 noundef %65, i32 noundef %66) store i32 %67, ptr %17, align 4 %68 = load i32, ptr %17, align 4 %69 = load i32, ptr %19, align 4 %70 = call i32 @_mm_add_ps(i32 noundef %68, i32 noundef %69) store i32 %70, ptr %17, align 4 %71 = load i32, ptr %17, align 4 %72 = call i32 @_mm_sqrt_ps(i32 noundef %71) %73 = load ptr, ptr %14, align 8 %74 = load i32, ptr %16, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i32, ptr %73, i64 %75 store i32 %72, ptr %76, align 4 br label %77 77: ; preds = %31 %78 = load i32, ptr %16, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %16, align 4 br label %27, !llvm.loop !6 80: ; preds = %27 %81 = load i32, ptr %15, align 4 %82 = mul nsw i32 %81, 4 store i32 %82, ptr %20, align 4 br label %83 83: ; preds = %126, %80 %84 = load i32, ptr %20, align 4 %85 = load i32, ptr %10, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %87, label %129 87: ; preds = %83 %88 = load ptr, ptr %6, align 8 %89 = load i32, ptr %20, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds float, ptr %88, i64 %90 %92 = load float, ptr %91, align 4 %93 = load ptr, ptr %6, align 8 %94 = load i32, ptr %20, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds float, ptr %93, i64 %95 %97 = load float, ptr %96, align 4 %98 = load ptr, ptr %7, align 8 %99 = load i32, ptr %20, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds float, ptr %98, i64 %100 %102 = load float, ptr %101, align 4 %103 = load ptr, ptr %7, align 8 %104 = load i32, ptr %20, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds float, ptr %103, i64 %105 %107 = load float, ptr %106, align 4 %108 = fmul float %102, %107 %109 = call float @llvm.fmuladd.f32(float %92, float %97, float %108) %110 = load ptr, ptr %8, align 8 %111 = load i32, ptr %20, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds float, ptr %110, i64 %112 %114 = load float, ptr %113, align 4 %115 = load ptr, ptr %8, align 8 %116 = load i32, ptr %20, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds float, ptr %115, i64 %117 %119 = load float, ptr %118, align 4 %120 = call float @llvm.fmuladd.f32(float %114, float %119, float %109) %121 = call float @sqrtf(float noundef %120) #4 %122 = load ptr, ptr %9, align 8 %123 = load i32, ptr %20, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds float, ptr %122, i64 %124 store float %121, ptr %125, align 4 br label %126 126: ; preds = %87 %127 = load i32, ptr %20, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %20, align 4 br label %83, !llvm.loop !8 129: ; preds = %83 ret void } declare i32 @_mm_mul_ps(i32 noundef, i32 noundef) #1 declare i32 @_mm_add_ps(i32 noundef, i32 noundef) #1 declare i32 @_mm_sqrt_ps(i32 noundef) #1 ; Function Attrs: nounwind declare float @sqrtf(float noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpogaa53rs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @distance_vec(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %21 = load ptr, ptr %6, align 8 store ptr %21, ptr %11, align 8 %22 = load ptr, ptr %7, align 8 store ptr %22, ptr %12, align 8 %23 = load ptr, ptr %8, align 8 store ptr %23, ptr %13, align 8 %24 = load ptr, ptr %9, align 8 store ptr %24, ptr %14, align 8 %25 = load i32, ptr %10, align 4 %26 = sdiv i32 %25, 4 store i32 %26, ptr %15, align 4 store i32 0, ptr %16, align 4 %27 = load i32, ptr %16, align 4 %28 = load i32, ptr %15, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph, label %82 .lr.ph: ; preds = %5 br label %30 30: ; preds = %.lr.ph, %76 %31 = load ptr, ptr %11, align 8 %32 = load i32, ptr %16, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 %35 = load i32, ptr %34, align 4 %36 = load ptr, ptr %11, align 8 %37 = load i32, ptr %16, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 %40 = load i32, ptr %39, align 4 %41 = call i32 @_mm_mul_ps(i32 noundef %35, i32 noundef %40) store i32 %41, ptr %17, align 4 %42 = load ptr, ptr %12, align 8 %43 = load i32, ptr %16, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 %46 = load i32, ptr %45, align 4 %47 = load ptr, ptr %12, align 8 %48 = load i32, ptr %16, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %47, i64 %49 %51 = load i32, ptr %50, align 4 %52 = call i32 @_mm_mul_ps(i32 noundef %46, i32 noundef %51) store i32 %52, ptr %18, align 4 %53 = load ptr, ptr %13, align 8 %54 = load i32, ptr %16, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 %57 = load i32, ptr %56, align 4 %58 = load ptr, ptr %13, align 8 %59 = load i32, ptr %16, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = load i32, ptr %61, align 4 %63 = call i32 @_mm_mul_ps(i32 noundef %57, i32 noundef %62) store i32 %63, ptr %19, align 4 %64 = load i32, ptr %17, align 4 %65 = load i32, ptr %18, align 4 %66 = call i32 @_mm_add_ps(i32 noundef %64, i32 noundef %65) store i32 %66, ptr %17, align 4 %67 = load i32, ptr %17, align 4 %68 = load i32, ptr %19, align 4 %69 = call i32 @_mm_add_ps(i32 noundef %67, i32 noundef %68) store i32 %69, ptr %17, align 4 %70 = load i32, ptr %17, align 4 %71 = call i32 @_mm_sqrt_ps(i32 noundef %70) %72 = load ptr, ptr %14, align 8 %73 = load i32, ptr %16, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i32, ptr %72, i64 %74 store i32 %71, ptr %75, align 4 br label %76 76: ; preds = %30 %77 = load i32, ptr %16, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %16, align 4 %79 = load i32, ptr %16, align 4 %80 = load i32, ptr %15, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %76 br label %82 82: ; preds = %._crit_edge, %5 %83 = load i32, ptr %15, align 4 %84 = mul nsw i32 %83, 4 store i32 %84, ptr %20, align 4 %85 = load i32, ptr %20, align 4 %86 = load i32, ptr %10, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %.lr.ph2, label %133 .lr.ph2: ; preds = %82 br label %88 88: ; preds = %.lr.ph2, %127 %89 = load ptr, ptr %6, align 8 %90 = load i32, ptr %20, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds float, ptr %89, i64 %91 %93 = load float, ptr %92, align 4 %94 = load ptr, ptr %6, align 8 %95 = load i32, ptr %20, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds float, ptr %94, i64 %96 %98 = load float, ptr %97, align 4 %99 = load ptr, ptr %7, align 8 %100 = load i32, ptr %20, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds float, ptr %99, i64 %101 %103 = load float, ptr %102, align 4 %104 = load ptr, ptr %7, align 8 %105 = load i32, ptr %20, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds float, ptr %104, i64 %106 %108 = load float, ptr %107, align 4 %109 = fmul float %103, %108 %110 = call float @llvm.fmuladd.f32(float %93, float %98, float %109) %111 = load ptr, ptr %8, align 8 %112 = load i32, ptr %20, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds float, ptr %111, i64 %113 %115 = load float, ptr %114, align 4 %116 = load ptr, ptr %8, align 8 %117 = load i32, ptr %20, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds float, ptr %116, i64 %118 %120 = load float, ptr %119, align 4 %121 = call float @llvm.fmuladd.f32(float %115, float %120, float %110) %122 = call float @sqrtf(float noundef %121) #4 %123 = load ptr, ptr %9, align 8 %124 = load i32, ptr %20, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds float, ptr %123, i64 %125 store float %122, ptr %126, align 4 br label %127 127: ; preds = %88 %128 = load i32, ptr %20, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %20, align 4 %130 = load i32, ptr %20, align 4 %131 = load i32, ptr %10, align 4 %132 = icmp slt i32 %130, %131 br i1 %132, label %88, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %127 br label %133 133: ; preds = %._crit_edge3, %82 ret void } declare i32 @_mm_mul_ps(i32 noundef, i32 noundef) #1 declare i32 @_mm_add_ps(i32 noundef, i32 noundef) #1 declare i32 @_mm_sqrt_ps(i32 noundef) #1 ; Function Attrs: nounwind declare float @sqrtf(float noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp8v51zhs9.c' source_filename = "/tmp/tmp8v51zhs9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"get_nr_blocks failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"no allocated blocks\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"1 blocks\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"%d blocks\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"get_block failed!\0A\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"(%u, %u) \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_blocks(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = call i32 @get_nr_blocks(i32 noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str) br label %54 13: ; preds = %1 %14 = load i32, ptr %3, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %54 18: ; preds = %13 %19 = load i32, ptr %3, align 4 %20 = icmp eq i32 %19, 1 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %26 23: ; preds = %18 %24 = load i32, ptr %3, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24) br label %26 26: ; preds = %23, %21 br label %27 27: ; preds = %26 store i32 0, ptr %4, align 4 br label %28 28: ; preds = %49, %27 %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %52 32: ; preds = %28 %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %4, align 4 %35 = call i32 @get_block(i32 noundef %33, i32 noundef %34) store i32 %35, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %32 %39 = load i32, ptr @stderr, align 4 %40 = call i32 @fprintf(i32 noundef %39, ptr noundef @.str.4) br label %54 41: ; preds = %32 %42 = load i32, ptr %5, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %45, label %44 44: ; preds = %41 br label %49 45: ; preds = %41 %46 = load i32, ptr %4, align 4 %47 = load i32, ptr %5, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %46, i32 noundef %47) br label %49 49: ; preds = %45, %44 %50 = load i32, ptr %4, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %4, align 4 br label %28, !llvm.loop !6 52: ; preds = %28 %53 = call i32 @putchar(i8 noundef signext 10) br label %54 54: ; preds = %52, %38, %16, %10 ret void } declare i32 @get_nr_blocks(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @get_block(i32 noundef, i32 noundef) #1 declare i32 @putchar(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/tmp8v51zhs9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"get_nr_blocks failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"no allocated blocks\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"1 blocks\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"%d blocks\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"get_block failed!\0A\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"(%u, %u) \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_blocks(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = call i32 @get_nr_blocks(i32 noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str) br label %56 13: ; preds = %1 %14 = load i32, ptr %3, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %56 18: ; preds = %13 %19 = load i32, ptr %3, align 4 %20 = icmp eq i32 %19, 1 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %26 23: ; preds = %18 %24 = load i32, ptr %3, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24) br label %26 26: ; preds = %23, %21 br label %27 27: ; preds = %26 store i32 0, ptr %4, align 4 %28 = load i32, ptr %4, align 4 %29 = load i32, ptr %3, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %.lr.ph, label %54 .lr.ph: ; preds = %27 br label %31 31: ; preds = %.lr.ph, %48 %32 = load i32, ptr %2, align 4 %33 = load i32, ptr %4, align 4 %34 = call i32 @get_block(i32 noundef %32, i32 noundef %33) store i32 %34, ptr %5, align 4 %35 = load i32, ptr %5, align 4 %36 = icmp slt i32 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %31 %38 = load i32, ptr @stderr, align 4 %39 = call i32 @fprintf(i32 noundef %38, ptr noundef @.str.4) br label %56 40: ; preds = %31 %41 = load i32, ptr %5, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %44, label %43 43: ; preds = %40 br label %48 44: ; preds = %40 %45 = load i32, ptr %4, align 4 %46 = load i32, ptr %5, align 4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %45, i32 noundef %46) br label %48 48: ; preds = %44, %43 %49 = load i32, ptr %4, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %4, align 4 %51 = load i32, ptr %4, align 4 %52 = load i32, ptr %3, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %54 54: ; preds = %._crit_edge, %27 %55 = call i32 @putchar(i8 noundef signext 10) br label %56 56: ; preds = %54, %37, %16, %10 ret void } declare i32 @get_nr_blocks(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @get_block(i32 noundef, i32 noundef) #1 declare i32 @putchar(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/tmppwhocuug.c' source_filename = "/tmp/tmppwhocuug.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"TaxaOcupacaoAgentes = %d%%\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"TaxaOcupacaoAgente1 = %d%%\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"TaxaOcupacaoAgente2 = %d%%\0A\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"NumMedioUtentesFila = %.3f\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"TempoMedioEsperaUtentes = %.3f\0A\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"TempoMedioPermanaenciaUtentes = %.3f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ContadoresEstatisticos(i32 noundef %0, i32 noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca float, align 4 %19 = alloca float, align 4 %20 = alloca float, align 4 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store float %2, ptr %10, align 4 store float %3, ptr %11, align 4 store float %4, ptr %12, align 4 store float %5, ptr %13, align 4 store float %6, ptr %14, align 4 %21 = load float, ptr %10, align 4 %22 = load float, ptr %11, align 4 %23 = fadd float %21, %22 %24 = load float, ptr %14, align 4 %25 = fmul float 2.000000e+00, %24 %26 = fdiv float %23, %25 %27 = fmul float %26, 1.000000e+02 %28 = fptosi float %27 to i32 store i32 %28, ptr %15, align 4 %29 = load float, ptr %10, align 4 %30 = load float, ptr %14, align 4 %31 = fdiv float %29, %30 %32 = fmul float %31, 1.000000e+02 %33 = fptosi float %32 to i32 store i32 %33, ptr %16, align 4 %34 = load float, ptr %11, align 4 %35 = load float, ptr %14, align 4 %36 = fdiv float %34, %35 %37 = fmul float %36, 1.000000e+02 %38 = fptosi float %37 to i32 store i32 %38, ptr %17, align 4 %39 = load i32, ptr %9, align 4 %40 = sitofp i32 %39 to float %41 = load i32, ptr %8, align 4 %42 = sitofp i32 %41 to float %43 = fdiv float %40, %42 store float %43, ptr %18, align 4 %44 = load float, ptr %12, align 4 %45 = load i32, ptr %8, align 4 %46 = sitofp i32 %45 to float %47 = fdiv float %44, %46 store float %47, ptr %19, align 4 %48 = load float, ptr %13, align 4 %49 = load i32, ptr %8, align 4 %50 = sitofp i32 %49 to float %51 = fdiv float %48, %50 store float %51, ptr %20, align 4 %52 = load i32, ptr %15, align 4 %53 = sitofp i32 %52 to float %54 = call i32 @printf(ptr noundef @.str, float noundef %53) %55 = load i32, ptr %16, align 4 %56 = sitofp i32 %55 to float %57 = call i32 @printf(ptr noundef @.str.1, float noundef %56) %58 = load i32, ptr %17, align 4 %59 = sitofp i32 %58 to float %60 = call i32 @printf(ptr noundef @.str.2, float noundef %59) %61 = load float, ptr %18, align 4 %62 = call i32 @printf(ptr noundef @.str.3, float noundef %61) %63 = load float, ptr %19, align 4 %64 = call i32 @printf(ptr noundef @.str.4, float noundef %63) %65 = load float, ptr %20, align 4 %66 = call i32 @printf(ptr noundef @.str.5, float noundef %65) ret void } declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppwhocuug.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"TaxaOcupacaoAgentes = %d%%\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"TaxaOcupacaoAgente1 = %d%%\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"TaxaOcupacaoAgente2 = %d%%\0A\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"NumMedioUtentesFila = %.3f\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"TempoMedioEsperaUtentes = %.3f\0A\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"TempoMedioPermanaenciaUtentes = %.3f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ContadoresEstatisticos(i32 noundef %0, i32 noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca float, align 4 %19 = alloca float, align 4 %20 = alloca float, align 4 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store float %2, ptr %10, align 4 store float %3, ptr %11, align 4 store float %4, ptr %12, align 4 store float %5, ptr %13, align 4 store float %6, ptr %14, align 4 %21 = load float, ptr %10, align 4 %22 = load float, ptr %11, align 4 %23 = fadd float %21, %22 %24 = load float, ptr %14, align 4 %25 = fmul float 2.000000e+00, %24 %26 = fdiv float %23, %25 %27 = fmul float %26, 1.000000e+02 %28 = fptosi float %27 to i32 store i32 %28, ptr %15, align 4 %29 = load float, ptr %10, align 4 %30 = load float, ptr %14, align 4 %31 = fdiv float %29, %30 %32 = fmul float %31, 1.000000e+02 %33 = fptosi float %32 to i32 store i32 %33, ptr %16, align 4 %34 = load float, ptr %11, align 4 %35 = load float, ptr %14, align 4 %36 = fdiv float %34, %35 %37 = fmul float %36, 1.000000e+02 %38 = fptosi float %37 to i32 store i32 %38, ptr %17, align 4 %39 = load i32, ptr %9, align 4 %40 = sitofp i32 %39 to float %41 = load i32, ptr %8, align 4 %42 = sitofp i32 %41 to float %43 = fdiv float %40, %42 store float %43, ptr %18, align 4 %44 = load float, ptr %12, align 4 %45 = load i32, ptr %8, align 4 %46 = sitofp i32 %45 to float %47 = fdiv float %44, %46 store float %47, ptr %19, align 4 %48 = load float, ptr %13, align 4 %49 = load i32, ptr %8, align 4 %50 = sitofp i32 %49 to float %51 = fdiv float %48, %50 store float %51, ptr %20, align 4 %52 = load i32, ptr %15, align 4 %53 = sitofp i32 %52 to float %54 = call i32 @printf(ptr noundef @.str, float noundef %53) %55 = load i32, ptr %16, align 4 %56 = sitofp i32 %55 to float %57 = call i32 @printf(ptr noundef @.str.1, float noundef %56) %58 = load i32, ptr %17, align 4 %59 = sitofp i32 %58 to float %60 = call i32 @printf(ptr noundef @.str.2, float noundef %59) %61 = load float, ptr %18, align 4 %62 = call i32 @printf(ptr noundef @.str.3, float noundef %61) %63 = load float, ptr %19, align 4 %64 = call i32 @printf(ptr noundef @.str.4, float noundef %63) %65 = load float, ptr %20, align 4 %66 = call i32 @printf(ptr noundef @.str.5, float noundef %65) ret void } declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk1f78l5t.c' source_filename = "/tmp/tmpk1f78l5t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @NMI_WAKEUP_IRQHandler() #0 { %1 = call i32 (...) @NMI_WAKEUP_DriverIRQHandler() ret void } declare i32 @NMI_WAKEUP_DriverIRQHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk1f78l5t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @NMI_WAKEUP_IRQHandler() #0 { %1 = call i32 (...) @NMI_WAKEUP_DriverIRQHandler() ret void } declare i32 @NMI_WAKEUP_DriverIRQHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzi7h8n43.c' source_filename = "/tmp/tmpzi7h8n43.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rev_byte_5(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = and i32 %4, 1 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = xor i32 %8, 129 store i32 %9, ptr %3, align 4 br label %10 10: ; preds = %7, %1 %11 = load i32, ptr %2, align 4 %12 = and i32 %11, 128 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = load i32, ptr %3, align 4 %16 = xor i32 %15, 129 store i32 %16, ptr %3, align 4 br label %17 17: ; preds = %14, %10 %18 = load i32, ptr %2, align 4 %19 = and i32 %18, 2 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %17 %22 = load i32, ptr %3, align 4 %23 = xor i32 %22, 66 store i32 %23, ptr %3, align 4 br label %24 24: ; preds = %21, %17 %25 = load i32, ptr %2, align 4 %26 = and i32 %25, 64 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %24 %29 = load i32, ptr %3, align 4 %30 = xor i32 %29, 66 store i32 %30, ptr %3, align 4 br label %31 31: ; preds = %28, %24 %32 = load i32, ptr %2, align 4 %33 = and i32 %32, 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %31 %36 = load i32, ptr %3, align 4 %37 = xor i32 %36, 36 store i32 %37, ptr %3, align 4 br label %38 38: ; preds = %35, %31 %39 = load i32, ptr %2, align 4 %40 = and i32 %39, 32 %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %45 42: ; preds = %38 %43 = load i32, ptr %3, align 4 %44 = xor i32 %43, 36 store i32 %44, ptr %3, align 4 br label %45 45: ; preds = %42, %38 %46 = load i32, ptr %2, align 4 %47 = and i32 %46, 8 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %52 49: ; preds = %45 %50 = load i32, ptr %3, align 4 %51 = xor i32 %50, 24 store i32 %51, ptr %3, align 4 br label %52 52: ; preds = %49, %45 %53 = load i32, ptr %2, align 4 %54 = and i32 %53, 16 %55 = icmp ne i32 %54, 0 br i1 %55, label %56, label %59 56: ; preds = %52 %57 = load i32, ptr %3, align 4 %58 = xor i32 %57, 24 store i32 %58, ptr %3, align 4 br label %59 59: ; preds = %56, %52 %60 = load i32, ptr %2, align 4 %61 = load i32, ptr %3, align 4 %62 = xor i32 %60, %61 ret i32 %62 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzi7h8n43.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rev_byte_5(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = and i32 %4, 1 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = xor i32 %8, 129 store i32 %9, ptr %3, align 4 br label %10 10: ; preds = %7, %1 %11 = load i32, ptr %2, align 4 %12 = and i32 %11, 128 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = load i32, ptr %3, align 4 %16 = xor i32 %15, 129 store i32 %16, ptr %3, align 4 br label %17 17: ; preds = %14, %10 %18 = load i32, ptr %2, align 4 %19 = and i32 %18, 2 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %17 %22 = load i32, ptr %3, align 4 %23 = xor i32 %22, 66 store i32 %23, ptr %3, align 4 br label %24 24: ; preds = %21, %17 %25 = load i32, ptr %2, align 4 %26 = and i32 %25, 64 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %24 %29 = load i32, ptr %3, align 4 %30 = xor i32 %29, 66 store i32 %30, ptr %3, align 4 br label %31 31: ; preds = %28, %24 %32 = load i32, ptr %2, align 4 %33 = and i32 %32, 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %31 %36 = load i32, ptr %3, align 4 %37 = xor i32 %36, 36 store i32 %37, ptr %3, align 4 br label %38 38: ; preds = %35, %31 %39 = load i32, ptr %2, align 4 %40 = and i32 %39, 32 %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %45 42: ; preds = %38 %43 = load i32, ptr %3, align 4 %44 = xor i32 %43, 36 store i32 %44, ptr %3, align 4 br label %45 45: ; preds = %42, %38 %46 = load i32, ptr %2, align 4 %47 = and i32 %46, 8 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %52 49: ; preds = %45 %50 = load i32, ptr %3, align 4 %51 = xor i32 %50, 24 store i32 %51, ptr %3, align 4 br label %52 52: ; preds = %49, %45 %53 = load i32, ptr %2, align 4 %54 = and i32 %53, 16 %55 = icmp ne i32 %54, 0 br i1 %55, label %56, label %59 56: ; preds = %52 %57 = load i32, ptr %3, align 4 %58 = xor i32 %57, 24 store i32 %58, ptr %3, align 4 br label %59 59: ; preds = %56, %52 %60 = load i32, ptr %2, align 4 %61 = load i32, ptr %3, align 4 %62 = xor i32 %60, %61 ret i32 %62 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx1_tg79t.c' source_filename = "/tmp/tmpx1_tg79t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [18 x i8] c"dbNoVersionParser\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @dbNoVersionParser(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @tokenParser(ptr noundef %5, ptr noundef @.str, i32 noundef 3, ptr noundef @.str.1) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call ptr @strchr(ptr noundef %7, i8 noundef signext 46) store ptr %8, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %1 %11 = load ptr, ptr %4, align 8 store i8 0, ptr %11, align 1 br label %12 12: ; preds = %10, %1 %13 = load ptr, ptr %3, align 8 ret ptr %13 } declare ptr @tokenParser(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strchr(ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx1_tg79t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [18 x i8] c"dbNoVersionParser\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @dbNoVersionParser(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @tokenParser(ptr noundef %5, ptr noundef @.str, i32 noundef 3, ptr noundef @.str.1) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call ptr @strchr(ptr noundef %7, i8 noundef signext 46) store ptr %8, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %1 %11 = load ptr, ptr %4, align 8 store i8 0, ptr %11, align 1 br label %12 12: ; preds = %10, %1 %13 = load ptr, ptr %3, align 8 ret ptr %13 } declare ptr @tokenParser(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strchr(ptr 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"}
; ModuleID = '/tmp/tmp71jdzzb_.c' source_filename = "/tmp/tmp71jdzzb_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%*c\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Enter Name of Movie: \00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"%99[0-9a-zA-Z ]s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @NameMenu() #0 { %1 = alloca ptr, align 8 %2 = call ptr @malloc(i32 noundef 100) store ptr %2, ptr %1, align 8 %3 = call i32 (ptr, ...) @scanf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = load ptr, ptr %1, align 8 %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %5) %7 = load ptr, ptr %1, align 8 ret ptr %7 } declare ptr @malloc(i32 noundef) #1 declare i32 @scanf(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp71jdzzb_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%*c\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Enter Name of Movie: \00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"%99[0-9a-zA-Z ]s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @NameMenu() #0 { %1 = alloca ptr, align 8 %2 = call ptr @malloc(i32 noundef 100) store ptr %2, ptr %1, align 8 %3 = call i32 (ptr, ...) @scanf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = load ptr, ptr %1, align 8 %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %5) %7 = load ptr, ptr %1, align 8 ret ptr %7 } declare ptr @malloc(i32 noundef) #1 declare i32 @scanf(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"}
; ModuleID = '/tmp/tmpy7l1s4yv.c' source_filename = "/tmp/tmpy7l1s4yv.c" target datalayout = "e-m:e-p270: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.passwd = type { i32 } @uid_to_name.tmp = internal global [64 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @uid_to_name(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call ptr @getpwuid(i32 noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %11, label %8 8: ; preds = %1 %9 = load i32, ptr %2, align 4 %10 = call i32 @sprintf(ptr noundef @uid_to_name.tmp, ptr noundef @.str, i32 noundef %9) br label %16 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds %struct.passwd, ptr %12, i32 0, i32 0 %14 = load i32, ptr %13, align 4 %15 = call i32 @strncpy(ptr noundef @uid_to_name.tmp, i32 noundef %14, i32 noundef 64) br label %16 16: ; preds = %11, %8 ret ptr @uid_to_name.tmp } declare ptr @getpwuid(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strncpy(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/tmpy7l1s4yv.c" target datalayout = "e-m:e-p270: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.passwd = type { i32 } @uid_to_name.tmp = internal global [64 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @uid_to_name(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call ptr @getpwuid(i32 noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %11, label %8 8: ; preds = %1 %9 = load i32, ptr %2, align 4 %10 = call i32 @sprintf(ptr noundef @uid_to_name.tmp, ptr noundef @.str, i32 noundef %9) br label %16 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds %struct.passwd, ptr %12, i32 0, i32 0 %14 = load i32, ptr %13, align 4 %15 = call i32 @strncpy(ptr noundef @uid_to_name.tmp, i32 noundef %14, i32 noundef 64) br label %16 16: ; preds = %11, %8 ret ptr @uid_to_name.tmp } declare ptr @getpwuid(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strncpy(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/tmpqk_eqh87.c' source_filename = "/tmp/tmpqk_eqh87.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"Fatal error in write_block(): bad elsize (%d)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @write_block(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %12 = load i32, ptr %9, align 4 %13 = icmp eq i32 %12, 1 br i1 %13, label %14, label %19 14: ; preds = %4 %15 = load i32, ptr %6, align 4 %16 = load ptr, ptr %7, align 8 %17 = load i64, ptr %8, align 8 %18 = call i32 @write(i32 noundef %15, ptr noundef %16, i64 noundef %17) store i32 %18, ptr %5, align 4 br label %61 19: ; preds = %4 %20 = load i32, ptr %9, align 4 %21 = icmp eq i32 %20, 2 br i1 %21, label %22, label %38 22: ; preds = %19 %23 = load ptr, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = load i64, ptr %8, align 8 %26 = call i32 @flip2(ptr noundef %23, ptr noundef %24, i64 noundef %25) %27 = load i32, ptr %6, align 4 %28 = load ptr, ptr %7, align 8 %29 = load i64, ptr %8, align 8 %30 = mul i64 %29, 2 %31 = call i32 @write(i32 noundef %27, ptr noundef %28, i64 noundef %30) %32 = sdiv i32 %31, 2 store i32 %32, ptr %10, align 4 %33 = load ptr, ptr %7, align 8 %34 = load ptr, ptr %7, align 8 %35 = load i64, ptr %8, align 8 %36 = call i32 @flip2(ptr noundef %33, ptr noundef %34, i64 noundef %35) %37 = load i32, ptr %10, align 4 store i32 %37, ptr %5, align 4 br label %61 38: ; preds = %19 %39 = load i32, ptr %9, align 4 %40 = icmp eq i32 %39, 4 br i1 %40, label %41, label %57 41: ; preds = %38 %42 = load ptr, ptr %7, align 8 %43 = load ptr, ptr %7, align 8 %44 = load i64, ptr %8, align 8 %45 = call i32 @flip4(ptr noundef %42, ptr noundef %43, i64 noundef %44) %46 = load i32, ptr %6, align 4 %47 = load ptr, ptr %7, align 8 %48 = load i64, ptr %8, align 8 %49 = mul i64 %48, 4 %50 = call i32 @write(i32 noundef %46, ptr noundef %47, i64 noundef %49) %51 = sdiv i32 %50, 4 store i32 %51, ptr %11, align 4 %52 = load ptr, ptr %7, align 8 %53 = load ptr, ptr %7, align 8 %54 = load i64, ptr %8, align 8 %55 = call i32 @flip4(ptr noundef %52, ptr noundef %53, i64 noundef %54) %56 = load i32, ptr %11, align 4 store i32 %56, ptr %5, align 4 br label %61 57: ; preds = %38 %58 = load i32, ptr %9, align 4 %59 = call i32 @printf(ptr noundef @.str, i32 noundef %58) %60 = call i32 (...) @abort() #3 unreachable 61: ; preds = %41, %22, %14 %62 = load i32, ptr %5, align 4 ret i32 %62 } declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @flip2(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @flip4(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqk_eqh87.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"Fatal error in write_block(): bad elsize (%d)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @write_block(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %12 = load i32, ptr %9, align 4 %13 = icmp eq i32 %12, 1 br i1 %13, label %14, label %19 14: ; preds = %4 %15 = load i32, ptr %6, align 4 %16 = load ptr, ptr %7, align 8 %17 = load i64, ptr %8, align 8 %18 = call i32 @write(i32 noundef %15, ptr noundef %16, i64 noundef %17) store i32 %18, ptr %5, align 4 br label %61 19: ; preds = %4 %20 = load i32, ptr %9, align 4 %21 = icmp eq i32 %20, 2 br i1 %21, label %22, label %38 22: ; preds = %19 %23 = load ptr, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = load i64, ptr %8, align 8 %26 = call i32 @flip2(ptr noundef %23, ptr noundef %24, i64 noundef %25) %27 = load i32, ptr %6, align 4 %28 = load ptr, ptr %7, align 8 %29 = load i64, ptr %8, align 8 %30 = mul i64 %29, 2 %31 = call i32 @write(i32 noundef %27, ptr noundef %28, i64 noundef %30) %32 = sdiv i32 %31, 2 store i32 %32, ptr %10, align 4 %33 = load ptr, ptr %7, align 8 %34 = load ptr, ptr %7, align 8 %35 = load i64, ptr %8, align 8 %36 = call i32 @flip2(ptr noundef %33, ptr noundef %34, i64 noundef %35) %37 = load i32, ptr %10, align 4 store i32 %37, ptr %5, align 4 br label %61 38: ; preds = %19 %39 = load i32, ptr %9, align 4 %40 = icmp eq i32 %39, 4 br i1 %40, label %41, label %57 41: ; preds = %38 %42 = load ptr, ptr %7, align 8 %43 = load ptr, ptr %7, align 8 %44 = load i64, ptr %8, align 8 %45 = call i32 @flip4(ptr noundef %42, ptr noundef %43, i64 noundef %44) %46 = load i32, ptr %6, align 4 %47 = load ptr, ptr %7, align 8 %48 = load i64, ptr %8, align 8 %49 = mul i64 %48, 4 %50 = call i32 @write(i32 noundef %46, ptr noundef %47, i64 noundef %49) %51 = sdiv i32 %50, 4 store i32 %51, ptr %11, align 4 %52 = load ptr, ptr %7, align 8 %53 = load ptr, ptr %7, align 8 %54 = load i64, ptr %8, align 8 %55 = call i32 @flip4(ptr noundef %52, ptr noundef %53, i64 noundef %54) %56 = load i32, ptr %11, align 4 store i32 %56, ptr %5, align 4 br label %61 57: ; preds = %38 %58 = load i32, ptr %9, align 4 %59 = call i32 @printf(ptr noundef @.str, i32 noundef %58) %60 = call i32 (...) @abort() #3 unreachable 61: ; preds = %41, %22, %14 %62 = load i32, ptr %5, align 4 ret i32 %62 } declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @flip2(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @flip4(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq63q8jgr.c' source_filename = "/tmp/tmpq63q8jgr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @morus_initialization_key_256(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca [2 x i32], align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = call i32 (...) @_mm_setzero_si128() %10 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0 store i32 %9, ptr %10, align 4 %11 = call i32 (...) @_mm_setzero_si128() %12 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 1 store i32 %11, ptr %12, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i32 @_mm_load_si128(ptr noundef %13) %15 = load ptr, ptr %6, align 8 %16 = getelementptr inbounds [2 x i32], ptr %15, i64 0 %17 = getelementptr inbounds [2 x i32], ptr %16, i64 0, i64 0 store i32 %14, ptr %17, align 4 %18 = call i32 (...) @_mm_setzero_si128() %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds [2 x i32], ptr %19, i64 0 %21 = getelementptr inbounds [2 x i32], ptr %20, i64 0, i64 1 store i32 %18, ptr %21, align 4 %22 = load ptr, ptr %4, align 8 %23 = call i32 @_mm_load_si128(ptr noundef %22) %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds [2 x i32], ptr %24, i64 1 %26 = getelementptr inbounds [2 x i32], ptr %25, i64 0, i64 0 store i32 %23, ptr %26, align 4 %27 = load ptr, ptr %4, align 8 %28 = getelementptr inbounds i32, ptr %27, i64 16 %29 = call i32 @_mm_load_si128(ptr noundef %28) %30 = load ptr, ptr %6, align 8 %31 = getelementptr inbounds [2 x i32], ptr %30, i64 1 %32 = getelementptr inbounds [2 x i32], ptr %31, i64 0, i64 1 store i32 %29, ptr %32, align 4 %33 = call i32 @_mm_set_epi32(i32 noundef -1, i32 noundef -1, i32 noundef -1, i32 noundef -1) %34 = load ptr, ptr %6, align 8 %35 = getelementptr inbounds [2 x i32], ptr %34, i64 2 %36 = getelementptr inbounds [2 x i32], ptr %35, i64 0, i64 0 store i32 %33, ptr %36, align 4 %37 = call i32 @_mm_set_epi32(i32 noundef -1, i32 noundef -1, i32 noundef -1, i32 noundef -1) %38 = load ptr, ptr %6, align 8 %39 = getelementptr inbounds [2 x i32], ptr %38, i64 2 %40 = getelementptr inbounds [2 x i32], ptr %39, i64 0, i64 1 store i32 %37, ptr %40, align 4 %41 = call i32 (...) @_mm_setzero_si128() %42 = load ptr, ptr %6, align 8 %43 = getelementptr inbounds [2 x i32], ptr %42, i64 3 %44 = getelementptr inbounds [2 x i32], ptr %43, i64 0, i64 0 store i32 %41, ptr %44, align 4 %45 = call i32 (...) @_mm_setzero_si128() %46 = load ptr, ptr %6, align 8 %47 = getelementptr inbounds [2 x i32], ptr %46, i64 3 %48 = getelementptr inbounds [2 x i32], ptr %47, i64 0, i64 1 store i32 %45, ptr %48, align 4 %49 = call i32 @_mm_set_epi8(i32 noundef 98, i32 noundef 121, i32 noundef 233, i32 noundef 144, i32 noundef 89, i32 noundef 55, i32 noundef 34, i32 noundef 21, i32 noundef 13, i32 noundef 8, i32 noundef 5, i32 noundef 3, i32 noundef 2, i32 noundef 1, i32 noundef 1, i32 noundef 0) %50 = load ptr, ptr %6, align 8 %51 = getelementptr inbounds [2 x i32], ptr %50, i64 4 %52 = getelementptr inbounds [2 x i32], ptr %51, i64 0, i64 0 store i32 %49, ptr %52, align 4 %53 = call i32 @_mm_set_epi8(i32 noundef 221, i32 noundef 40, i32 noundef 181, i32 noundef 115, i32 noundef 66, i32 noundef 49, i32 noundef 17, i32 noundef 32, i32 noundef 241, i32 noundef 47, i32 noundef 194, i32 noundef 109, i32 noundef 85, i32 noundef 24, i32 noundef 61, i32 noundef 219) %54 = load ptr, ptr %6, align 8 %55 = getelementptr inbounds [2 x i32], ptr %54, i64 4 %56 = getelementptr inbounds [2 x i32], ptr %55, i64 0, i64 1 store i32 %53, ptr %56, align 4 store i32 0, ptr %7, align 4 br label %57 57: ; preds = %64, %3 %58 = load i32, ptr %7, align 4 %59 = icmp slt i32 %58, 16 br i1 %59, label %60, label %67 60: ; preds = %57 %61 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0 %62 = load ptr, ptr %6, align 8 %63 = call i32 @morus_stateupdate(ptr noundef %61, ptr noundef %62) br label %64 64: ; preds = %60 %65 = load i32, ptr %7, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %7, align 4 br label %57, !llvm.loop !6 67: ; preds = %57 %68 = load ptr, ptr %6, align 8 %69 = getelementptr inbounds [2 x i32], ptr %68, i64 1 %70 = getelementptr inbounds [2 x i32], ptr %69, i64 0, i64 0 %71 = load i32, ptr %70, align 4 %72 = load ptr, ptr %4, align 8 %73 = call i32 @_mm_load_si128(ptr noundef %72) %74 = call i32 @_mm_xor_si128(i32 noundef %71, i32 noundef %73) %75 = load ptr, ptr %6, align 8 %76 = getelementptr inbounds [2 x i32], ptr %75, i64 1 %77 = getelementptr inbounds [2 x i32], ptr %76, i64 0, i64 0 store i32 %74, ptr %77, align 4 %78 = load ptr, ptr %6, align 8 %79 = getelementptr inbounds [2 x i32], ptr %78, i64 1 %80 = getelementptr inbounds [2 x i32], ptr %79, i64 0, i64 1 %81 = load i32, ptr %80, align 4 %82 = load ptr, ptr %4, align 8 %83 = getelementptr inbounds i32, ptr %82, i64 16 %84 = call i32 @_mm_load_si128(ptr noundef %83) %85 = call i32 @_mm_xor_si128(i32 noundef %81, i32 noundef %84) %86 = load ptr, ptr %6, align 8 %87 = getelementptr inbounds [2 x i32], ptr %86, i64 1 %88 = getelementptr inbounds [2 x i32], ptr %87, i64 0, i64 1 store i32 %85, ptr %88, align 4 ret void } declare i32 @_mm_setzero_si128(...) #1 declare i32 @_mm_load_si128(ptr noundef) #1 declare i32 @_mm_set_epi32(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @_mm_set_epi8(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @morus_stateupdate(ptr noundef, ptr noundef) #1 declare i32 @_mm_xor_si128(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq63q8jgr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @morus_initialization_key_256(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca [2 x i32], align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = call i32 (...) @_mm_setzero_si128() %10 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0 store i32 %9, ptr %10, align 4 %11 = call i32 (...) @_mm_setzero_si128() %12 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 1 store i32 %11, ptr %12, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i32 @_mm_load_si128(ptr noundef %13) %15 = load ptr, ptr %6, align 8 %16 = getelementptr inbounds [2 x i32], ptr %15, i64 0 %17 = getelementptr inbounds [2 x i32], ptr %16, i64 0, i64 0 store i32 %14, ptr %17, align 4 %18 = call i32 (...) @_mm_setzero_si128() %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds [2 x i32], ptr %19, i64 0 %21 = getelementptr inbounds [2 x i32], ptr %20, i64 0, i64 1 store i32 %18, ptr %21, align 4 %22 = load ptr, ptr %4, align 8 %23 = call i32 @_mm_load_si128(ptr noundef %22) %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds [2 x i32], ptr %24, i64 1 %26 = getelementptr inbounds [2 x i32], ptr %25, i64 0, i64 0 store i32 %23, ptr %26, align 4 %27 = load ptr, ptr %4, align 8 %28 = getelementptr inbounds i32, ptr %27, i64 16 %29 = call i32 @_mm_load_si128(ptr noundef %28) %30 = load ptr, ptr %6, align 8 %31 = getelementptr inbounds [2 x i32], ptr %30, i64 1 %32 = getelementptr inbounds [2 x i32], ptr %31, i64 0, i64 1 store i32 %29, ptr %32, align 4 %33 = call i32 @_mm_set_epi32(i32 noundef -1, i32 noundef -1, i32 noundef -1, i32 noundef -1) %34 = load ptr, ptr %6, align 8 %35 = getelementptr inbounds [2 x i32], ptr %34, i64 2 %36 = getelementptr inbounds [2 x i32], ptr %35, i64 0, i64 0 store i32 %33, ptr %36, align 4 %37 = call i32 @_mm_set_epi32(i32 noundef -1, i32 noundef -1, i32 noundef -1, i32 noundef -1) %38 = load ptr, ptr %6, align 8 %39 = getelementptr inbounds [2 x i32], ptr %38, i64 2 %40 = getelementptr inbounds [2 x i32], ptr %39, i64 0, i64 1 store i32 %37, ptr %40, align 4 %41 = call i32 (...) @_mm_setzero_si128() %42 = load ptr, ptr %6, align 8 %43 = getelementptr inbounds [2 x i32], ptr %42, i64 3 %44 = getelementptr inbounds [2 x i32], ptr %43, i64 0, i64 0 store i32 %41, ptr %44, align 4 %45 = call i32 (...) @_mm_setzero_si128() %46 = load ptr, ptr %6, align 8 %47 = getelementptr inbounds [2 x i32], ptr %46, i64 3 %48 = getelementptr inbounds [2 x i32], ptr %47, i64 0, i64 1 store i32 %45, ptr %48, align 4 %49 = call i32 @_mm_set_epi8(i32 noundef 98, i32 noundef 121, i32 noundef 233, i32 noundef 144, i32 noundef 89, i32 noundef 55, i32 noundef 34, i32 noundef 21, i32 noundef 13, i32 noundef 8, i32 noundef 5, i32 noundef 3, i32 noundef 2, i32 noundef 1, i32 noundef 1, i32 noundef 0) %50 = load ptr, ptr %6, align 8 %51 = getelementptr inbounds [2 x i32], ptr %50, i64 4 %52 = getelementptr inbounds [2 x i32], ptr %51, i64 0, i64 0 store i32 %49, ptr %52, align 4 %53 = call i32 @_mm_set_epi8(i32 noundef 221, i32 noundef 40, i32 noundef 181, i32 noundef 115, i32 noundef 66, i32 noundef 49, i32 noundef 17, i32 noundef 32, i32 noundef 241, i32 noundef 47, i32 noundef 194, i32 noundef 109, i32 noundef 85, i32 noundef 24, i32 noundef 61, i32 noundef 219) %54 = load ptr, ptr %6, align 8 %55 = getelementptr inbounds [2 x i32], ptr %54, i64 4 %56 = getelementptr inbounds [2 x i32], ptr %55, i64 0, i64 1 store i32 %53, ptr %56, align 4 store i32 0, ptr %7, align 4 %57 = load i32, ptr %7, align 4 %58 = icmp slt i32 %57, 16 br i1 %58, label %.lr.ph, label %68 .lr.ph: ; preds = %3 br label %59 59: ; preds = %.lr.ph, %63 %60 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0 %61 = load ptr, ptr %6, align 8 %62 = call i32 @morus_stateupdate(ptr noundef %60, ptr noundef %61) br label %63 63: ; preds = %59 %64 = load i32, ptr %7, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %7, align 4 %66 = load i32, ptr %7, align 4 %67 = icmp slt i32 %66, 16 br i1 %67, label %59, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %63 br label %68 68: ; preds = %._crit_edge, %3 %69 = load ptr, ptr %6, align 8 %70 = getelementptr inbounds [2 x i32], ptr %69, i64 1 %71 = getelementptr inbounds [2 x i32], ptr %70, i64 0, i64 0 %72 = load i32, ptr %71, align 4 %73 = load ptr, ptr %4, align 8 %74 = call i32 @_mm_load_si128(ptr noundef %73) %75 = call i32 @_mm_xor_si128(i32 noundef %72, i32 noundef %74) %76 = load ptr, ptr %6, align 8 %77 = getelementptr inbounds [2 x i32], ptr %76, i64 1 %78 = getelementptr inbounds [2 x i32], ptr %77, i64 0, i64 0 store i32 %75, ptr %78, align 4 %79 = load ptr, ptr %6, align 8 %80 = getelementptr inbounds [2 x i32], ptr %79, i64 1 %81 = getelementptr inbounds [2 x i32], ptr %80, i64 0, i64 1 %82 = load i32, ptr %81, align 4 %83 = load ptr, ptr %4, align 8 %84 = getelementptr inbounds i32, ptr %83, i64 16 %85 = call i32 @_mm_load_si128(ptr noundef %84) %86 = call i32 @_mm_xor_si128(i32 noundef %82, i32 noundef %85) %87 = load ptr, ptr %6, align 8 %88 = getelementptr inbounds [2 x i32], ptr %87, i64 1 %89 = getelementptr inbounds [2 x i32], ptr %88, i64 0, i64 1 store i32 %86, ptr %89, align 4 ret void } declare i32 @_mm_setzero_si128(...) #1 declare i32 @_mm_load_si128(ptr noundef) #1 declare i32 @_mm_set_epi32(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @_mm_set_epi8(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @morus_stateupdate(ptr noundef, ptr noundef) #1 declare i32 @_mm_xor_si128(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7fzoyh9b.c' source_filename = "/tmp/tmp7fzoyh9b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INFINITY = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @interceptCyl(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 store i32 %6, ptr %14, align 4 store double 0x3EB0C6F7A0B5ED8D, ptr %29, align 8 %30 = load i32, ptr %14, align 4 store i32 %30, ptr %16, align 4 br label %31 31: ; preds = %451, %7 %32 = load i32, ptr %16, align 4 %33 = add nsw i32 %32, -1 store i32 %33, ptr %16, align 4 %34 = icmp ne i32 %32, 0 br i1 %34, label %35, label %457 35: ; preds = %31 %36 = load double, ptr @INFINITY, align 8 store double %36, ptr %28, align 8 %37 = load ptr, ptr %9, align 8 %38 = load i32, ptr %16, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [3 x double], ptr %37, i64 %39 %41 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 0 %42 = load double, ptr %41, align 8 %43 = call double @pow(double noundef %42, i32 noundef 2) %44 = load ptr, ptr %9, align 8 %45 = load i32, ptr %16, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [3 x double], ptr %44, i64 %46 %48 = getelementptr inbounds [3 x double], ptr %47, i64 0, i64 1 %49 = load double, ptr %48, align 8 %50 = call double @pow(double noundef %49, i32 noundef 2) %51 = fadd double %43, %50 store double %51, ptr %22, align 8 %52 = load ptr, ptr %9, align 8 %53 = load i32, ptr %16, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [3 x double], ptr %52, i64 %54 %56 = getelementptr inbounds [3 x double], ptr %55, i64 0, i64 0 %57 = load double, ptr %56, align 8 %58 = load ptr, ptr %10, align 8 %59 = load i32, ptr %16, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [3 x double], ptr %58, i64 %60 %62 = getelementptr inbounds [3 x double], ptr %61, i64 0, i64 0 %63 = load double, ptr %62, align 8 %64 = load ptr, ptr %9, align 8 %65 = load i32, ptr %16, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [3 x double], ptr %64, i64 %66 %68 = getelementptr inbounds [3 x double], ptr %67, i64 0, i64 1 %69 = load double, ptr %68, align 8 %70 = load ptr, ptr %10, align 8 %71 = load i32, ptr %16, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [3 x double], ptr %70, i64 %72 %74 = getelementptr inbounds [3 x double], ptr %73, i64 0, i64 1 %75 = load double, ptr %74, align 8 %76 = fmul double %69, %75 %77 = call double @llvm.fmuladd.f64(double %57, double %63, double %76) %78 = fmul double 2.000000e+00, %77 store double %78, ptr %20, align 8 %79 = load ptr, ptr %10, align 8 %80 = load i32, ptr %16, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [3 x double], ptr %79, i64 %81 %83 = getelementptr inbounds [3 x double], ptr %82, i64 0, i64 0 %84 = load double, ptr %83, align 8 %85 = call double @pow(double noundef %84, i32 noundef 2) %86 = load ptr, ptr %10, align 8 %87 = load i32, ptr %16, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [3 x double], ptr %86, i64 %88 %90 = getelementptr inbounds [3 x double], ptr %89, i64 0, i64 1 %91 = load double, ptr %90, align 8 %92 = call double @pow(double noundef %91, i32 noundef 2) %93 = fadd double %85, %92 store double %93, ptr %18, align 8 %94 = load i32, ptr %13, align 4 store i32 %94, ptr %15, align 4 br label %95 95: ; preds = %450, %35 %96 = load i32, ptr %15, align 4 %97 = add nsw i32 %96, -1 store i32 %97, ptr %15, align 4 %98 = icmp ne i32 %96, 0 br i1 %98, label %99, label %451 99: ; preds = %95 store double 0.000000e+00, ptr %17, align 8 store double 0.000000e+00, ptr %19, align 8 store double 0.000000e+00, ptr %21, align 8 %100 = load ptr, ptr %11, align 8 %101 = load i32, ptr %15, align 4 %102 = add nsw i32 %101, 1 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds double, ptr %100, i64 %103 %105 = load double, ptr %104, align 8 %106 = load ptr, ptr %11, align 8 %107 = load i32, ptr %15, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds double, ptr %106, i64 %108 %110 = load double, ptr %109, align 8 %111 = fsub double %105, %110 store double %111, ptr %23, align 8 %112 = load ptr, ptr %12, align 8 %113 = load i32, ptr %15, align 4 %114 = add nsw i32 %113, 1 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds double, ptr %112, i64 %115 %117 = load double, ptr %116, align 8 %118 = load ptr, ptr %12, align 8 %119 = load i32, ptr %15, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds double, ptr %118, i64 %120 %122 = load double, ptr %121, align 8 %123 = fsub double %117, %122 store double %123, ptr %24, align 8 %124 = load double, ptr %24, align 8 %125 = fcmp une double %124, 0.000000e+00 br i1 %125, label %126, label %180 126: ; preds = %99 %127 = load ptr, ptr %11, align 8 %128 = load i32, ptr %15, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds double, ptr %127, i64 %129 %131 = load double, ptr %130, align 8 %132 = load double, ptr %23, align 8 %133 = load double, ptr %24, align 8 %134 = fdiv double %132, %133 %135 = load ptr, ptr %9, align 8 %136 = load i32, ptr %16, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds [3 x double], ptr %135, i64 %137 %139 = getelementptr inbounds [3 x double], ptr %138, i64 0, i64 2 %140 = load double, ptr %139, align 8 %141 = load ptr, ptr %12, align 8 %142 = load i32, ptr %15, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds double, ptr %141, i64 %143 %145 = load double, ptr %144, align 8 %146 = fsub double %140, %145 %147 = call double @llvm.fmuladd.f64(double %134, double %146, double %131) store double %147, ptr %25, align 8 %148 = load double, ptr %18, align 8 %149 = load double, ptr %23, align 8 %150 = load double, ptr %24, align 8 %151 = fdiv double %149, %150 %152 = load ptr, ptr %10, align 8 %153 = load i32, ptr %16, align 4 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds [3 x double], ptr %152, i64 %154 %156 = getelementptr inbounds [3 x double], ptr %155, i64 0, i64 2 %157 = load double, ptr %156, align 8 %158 = fmul double %151, %157 %159 = call double @pow(double noundef %158, i32 noundef 2) %160 = fsub double %148, %159 store double %160, ptr %17, align 8 %161 = load double, ptr %20, align 8 %162 = load double, ptr %25, align 8 %163 = fmul double 2.000000e+00, %162 %164 = load double, ptr %23, align 8 %165 = load double, ptr %24, align 8 %166 = fdiv double %164, %165 %167 = fmul double %163, %166 %168 = load ptr, ptr %10, align 8 %169 = load i32, ptr %16, align 4 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds [3 x double], ptr %168, i64 %170 %172 = getelementptr inbounds [3 x double], ptr %171, i64 0, i64 2 %173 = load double, ptr %172, align 8 %174 = fneg double %167 %175 = call double @llvm.fmuladd.f64(double %174, double %173, double %161) store double %175, ptr %19, align 8 %176 = load double, ptr %22, align 8 %177 = load double, ptr %25, align 8 %178 = call double @pow(double noundef %177, i32 noundef 2) %179 = fsub double %176, %178 store double %179, ptr %21, align 8 br label %276 180: ; preds = %99 %181 = load ptr, ptr %10, align 8 %182 = load i32, ptr %16, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds [3 x double], ptr %181, i64 %183 %185 = getelementptr inbounds [3 x double], ptr %184, i64 0, i64 2 %186 = load double, ptr %185, align 8 %187 = fcmp une double %186, 0.000000e+00 %188 = zext i1 %187 to i32 %189 = load double, ptr %23, align 8 %190 = fcmp une double %189, 0.000000e+00 %191 = zext i1 %190 to i32 %192 = and i32 %188, %191 %193 = icmp ne i32 %192, 0 br i1 %193, label %194, label %275 194: ; preds = %180 %195 = load ptr, ptr %12, align 8 %196 = load i32, ptr %15, align 4 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds double, ptr %195, i64 %197 %199 = load double, ptr %198, align 8 %200 = load ptr, ptr %9, align 8 %201 = load i32, ptr %16, align 4 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds [3 x double], ptr %200, i64 %202 %204 = getelementptr inbounds [3 x double], ptr %203, i64 0, i64 2 %205 = load double, ptr %204, align 8 %206 = fsub double %199, %205 %207 = load ptr, ptr %10, align 8 %208 = load i32, ptr %16, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds [3 x double], ptr %207, i64 %209 %211 = getelementptr inbounds [3 x double], ptr %210, i64 0, i64 2 %212 = load double, ptr %211, align 8 %213 = fdiv double %206, %212 store double %213, ptr %26, align 8 %214 = load ptr, ptr %9, align 8 %215 = load i32, ptr %16, align 4 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds [3 x double], ptr %214, i64 %216 %218 = getelementptr inbounds [3 x double], ptr %217, i64 0, i64 0 %219 = load double, ptr %218, align 8 %220 = load ptr, ptr %10, align 8 %221 = load i32, ptr %16, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds [3 x double], ptr %220, i64 %222 %224 = getelementptr inbounds [3 x double], ptr %223, i64 0, i64 0 %225 = load double, ptr %224, align 8 %226 = load double, ptr %26, align 8 %227 = call double @llvm.fmuladd.f64(double %225, double %226, double %219) %228 = call double @pow(double noundef %227, i32 noundef 2) %229 = load ptr, ptr %9, align 8 %230 = load i32, ptr %16, align 4 %231 = sext i32 %230 to i64 %232 = getelementptr inbounds [3 x double], ptr %229, i64 %231 %233 = getelementptr inbounds [3 x double], ptr %232, i64 0, i64 1 %234 = load double, ptr %233, align 8 %235 = load ptr, ptr %10, align 8 %236 = load i32, ptr %16, align 4 %237 = sext i32 %236 to i64 %238 = getelementptr inbounds [3 x double], ptr %235, i64 %237 %239 = getelementptr inbounds [3 x double], ptr %238, i64 0, i64 1 %240 = load double, ptr %239, align 8 %241 = load double, ptr %26, align 8 %242 = call double @llvm.fmuladd.f64(double %240, double %241, double %234) %243 = call double @pow(double noundef %242, i32 noundef 2) %244 = fadd double %228, %243 %245 = call double @sqrt(double noundef %244) #4 %246 = load ptr, ptr %11, align 8 %247 = load i32, ptr %15, align 4 %248 = sext i32 %247 to i64 %249 = getelementptr inbounds double, ptr %246, i64 %248 %250 = load double, ptr %249, align 8 %251 = fsub double %245, %250 %252 = load double, ptr %23, align 8 %253 = fdiv double %251, %252 store double %253, ptr %25, align 8 %254 = load double, ptr %25, align 8 %255 = fcmp ogt double %254, 0.000000e+00 %256 = zext i1 %255 to i32 %257 = load double, ptr %25, align 8 %258 = fcmp ole double %257, 1.000000e+00 %259 = zext i1 %258 to i32 %260 = and i32 %256, %259 %261 = load double, ptr %26, align 8 %262 = load double, ptr %28, align 8 %263 = fcmp olt double %261, %262 %264 = zext i1 %263 to i32 %265 = and i32 %260, %264 %266 = load double, ptr %26, align 8 %267 = load double, ptr %29, align 8 %268 = fcmp ogt double %266, %267 %269 = zext i1 %268 to i32 %270 = and i32 %265, %269 %271 = icmp ne i32 %270, 0 br i1 %271, label %272, label %274 272: ; preds = %194 %273 = load double, ptr %26, align 8 store double %273, ptr %28, align 8 br label %274 274: ; preds = %272, %194 br label %275 275: ; preds = %274, %180 br label %276 276: ; preds = %275, %126 %277 = load double, ptr %17, align 8 %278 = fcmp une double %277, 0.000000e+00 br i1 %278, label %279, label %392 279: ; preds = %276 %280 = load double, ptr %19, align 8 %281 = load double, ptr %19, align 8 %282 = load double, ptr %17, align 8 %283 = fmul double 4.000000e+00, %282 %284 = load double, ptr %21, align 8 %285 = fmul double %283, %284 %286 = fneg double %285 %287 = call double @llvm.fmuladd.f64(double %280, double %281, double %286) store double %287, ptr %25, align 8 %288 = load double, ptr %25, align 8 %289 = fcmp oge double %288, 0.000000e+00 br i1 %289, label %290, label %391 290: ; preds = %279 %291 = load double, ptr %25, align 8 %292 = call double @sqrt(double noundef %291) #4 store double %292, ptr %25, align 8 %293 = load double, ptr %25, align 8 %294 = load double, ptr %19, align 8 %295 = fadd double %293, %294 %296 = fmul double -5.000000e-01, %295 %297 = load double, ptr %17, align 8 %298 = fdiv double %296, %297 store double %298, ptr %26, align 8 %299 = load double, ptr %25, align 8 %300 = load double, ptr %19, align 8 %301 = fsub double %299, %300 %302 = fmul double 5.000000e-01, %301 %303 = load double, ptr %17, align 8 %304 = fdiv double %302, %303 store double %304, ptr %27, align 8 %305 = load double, ptr %26, align 8 %306 = load ptr, ptr %10, align 8 %307 = load i32, ptr %16, align 4 %308 = sext i32 %307 to i64 %309 = getelementptr inbounds [3 x double], ptr %306, i64 %308 %310 = getelementptr inbounds [3 x double], ptr %309, i64 0, i64 2 %311 = load double, ptr %310, align 8 %312 = load ptr, ptr %9, align 8 %313 = load i32, ptr %16, align 4 %314 = sext i32 %313 to i64 %315 = getelementptr inbounds [3 x double], ptr %312, i64 %314 %316 = getelementptr inbounds [3 x double], ptr %315, i64 0, i64 2 %317 = load double, ptr %316, align 8 %318 = load ptr, ptr %12, align 8 %319 = load i32, ptr %15, align 4 %320 = sext i32 %319 to i64 %321 = getelementptr inbounds double, ptr %318, i64 %320 %322 = load double, ptr %321, align 8 %323 = fsub double %317, %322 %324 = call double @llvm.fmuladd.f64(double %305, double %311, double %323) %325 = load double, ptr %24, align 8 %326 = fdiv double %324, %325 store double %326, ptr %25, align 8 %327 = load double, ptr %25, align 8 %328 = fcmp ogt double %327, 0.000000e+00 %329 = zext i1 %328 to i32 %330 = load double, ptr %25, align 8 %331 = fcmp ole double %330, 1.000000e+00 %332 = zext i1 %331 to i32 %333 = and i32 %329, %332 %334 = load double, ptr %26, align 8 %335 = load double, ptr %28, align 8 %336 = fcmp olt double %334, %335 %337 = zext i1 %336 to i32 %338 = and i32 %333, %337 %339 = load double, ptr %26, align 8 %340 = load double, ptr %29, align 8 %341 = fcmp ogt double %339, %340 %342 = zext i1 %341 to i32 %343 = and i32 %338, %342 %344 = icmp ne i32 %343, 0 br i1 %344, label %345, label %347 345: ; preds = %290 %346 = load double, ptr %26, align 8 store double %346, ptr %28, align 8 br label %347 347: ; preds = %345, %290 %348 = load double, ptr %27, align 8 %349 = load ptr, ptr %10, align 8 %350 = load i32, ptr %16, align 4 %351 = sext i32 %350 to i64 %352 = getelementptr inbounds [3 x double], ptr %349, i64 %351 %353 = getelementptr inbounds [3 x double], ptr %352, i64 0, i64 2 %354 = load double, ptr %353, align 8 %355 = load ptr, ptr %9, align 8 %356 = load i32, ptr %16, align 4 %357 = sext i32 %356 to i64 %358 = getelementptr inbounds [3 x double], ptr %355, i64 %357 %359 = getelementptr inbounds [3 x double], ptr %358, i64 0, i64 2 %360 = load double, ptr %359, align 8 %361 = load ptr, ptr %12, align 8 %362 = load i32, ptr %15, align 4 %363 = sext i32 %362 to i64 %364 = getelementptr inbounds double, ptr %361, i64 %363 %365 = load double, ptr %364, align 8 %366 = fsub double %360, %365 %367 = call double @llvm.fmuladd.f64(double %348, double %354, double %366) %368 = load double, ptr %24, align 8 %369 = fdiv double %367, %368 store double %369, ptr %25, align 8 %370 = load double, ptr %25, align 8 %371 = fcmp ogt double %370, 0.000000e+00 %372 = zext i1 %371 to i32 %373 = load double, ptr %25, align 8 %374 = fcmp ole double %373, 1.000000e+00 %375 = zext i1 %374 to i32 %376 = and i32 %372, %375 %377 = load double, ptr %27, align 8 %378 = load double, ptr %28, align 8 %379 = fcmp olt double %377, %378 %380 = zext i1 %379 to i32 %381 = and i32 %376, %380 %382 = load double, ptr %27, align 8 %383 = load double, ptr %29, align 8 %384 = fcmp ogt double %382, %383 %385 = zext i1 %384 to i32 %386 = and i32 %381, %385 %387 = icmp ne i32 %386, 0 br i1 %387, label %388, label %390 388: ; preds = %347 %389 = load double, ptr %27, align 8 store double %389, ptr %28, align 8 br label %390 390: ; preds = %388, %347 br label %391 391: ; preds = %390, %279 br label %450 392: ; preds = %276 %393 = load double, ptr %19, align 8 %394 = fcmp une double %393, 0.000000e+00 %395 = zext i1 %394 to i32 %396 = load double, ptr %21, align 8 %397 = fcmp une double %396, 0.000000e+00 %398 = zext i1 %397 to i32 %399 = and i32 %395, %398 %400 = icmp ne i32 %399, 0 br i1 %400, label %401, label %449 401: ; preds = %392 %402 = load double, ptr %19, align 8 %403 = fneg double %402 %404 = load double, ptr %21, align 8 %405 = fdiv double %403, %404 store double %405, ptr %26, align 8 %406 = load double, ptr %26, align 8 %407 = load ptr, ptr %10, align 8 %408 = load i32, ptr %16, align 4 %409 = sext i32 %408 to i64 %410 = getelementptr inbounds [3 x double], ptr %407, i64 %409 %411 = getelementptr inbounds [3 x double], ptr %410, i64 0, i64 2 %412 = load double, ptr %411, align 8 %413 = load ptr, ptr %9, align 8 %414 = load i32, ptr %16, align 4 %415 = sext i32 %414 to i64 %416 = getelementptr inbounds [3 x double], ptr %413, i64 %415 %417 = getelementptr inbounds [3 x double], ptr %416, i64 0, i64 2 %418 = load double, ptr %417, align 8 %419 = load ptr, ptr %12, align 8 %420 = load i32, ptr %15, align 4 %421 = sext i32 %420 to i64 %422 = getelementptr inbounds double, ptr %419, i64 %421 %423 = load double, ptr %422, align 8 %424 = fsub double %418, %423 %425 = call double @llvm.fmuladd.f64(double %406, double %412, double %424) %426 = load double, ptr %24, align 8 %427 = fdiv double %425, %426 store double %427, ptr %25, align 8 %428 = load double, ptr %25, align 8 %429 = fcmp ogt double %428, 0.000000e+00 %430 = zext i1 %429 to i32 %431 = load double, ptr %25, align 8 %432 = fcmp ole double %431, 1.000000e+00 %433 = zext i1 %432 to i32 %434 = and i32 %430, %433 %435 = load double, ptr %26, align 8 %436 = load double, ptr %28, align 8 %437 = fcmp olt double %435, %436 %438 = zext i1 %437 to i32 %439 = and i32 %434, %438 %440 = load double, ptr %26, align 8 %441 = load double, ptr %29, align 8 %442 = fcmp ogt double %440, %441 %443 = zext i1 %442 to i32 %444 = and i32 %439, %443 %445 = icmp ne i32 %444, 0 br i1 %445, label %446, label %448 446: ; preds = %401 %447 = load double, ptr %26, align 8 store double %447, ptr %28, align 8 br label %448 448: ; preds = %446, %401 br label %449 449: ; preds = %448, %392 br label %450 450: ; preds = %449, %391 br label %95, !llvm.loop !6 451: ; preds = %95 %452 = load double, ptr %28, align 8 %453 = load ptr, ptr %8, align 8 %454 = load i32, ptr %16, align 4 %455 = sext i32 %454 to i64 %456 = getelementptr inbounds double, ptr %453, i64 %455 store double %452, ptr %456, align 8 br label %31, !llvm.loop !8 457: ; preds = %31 ret void } declare double @pow(double noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7fzoyh9b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INFINITY = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @interceptCyl(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 store i32 %6, ptr %14, align 4 store double 0x3EB0C6F7A0B5ED8D, ptr %29, align 8 %30 = load i32, ptr %14, align 4 store i32 %30, ptr %16, align 4 %31 = load i32, ptr %16, align 4 %32 = add nsw i32 %31, -1 store i32 %32, ptr %16, align 4 %33 = icmp ne i32 %31, 0 br i1 %33, label %.lr.ph2, label %461 .lr.ph2: ; preds = %7 br label %34 34: ; preds = %.lr.ph2, %452 %35 = load double, ptr @INFINITY, align 8 store double %35, ptr %28, align 8 %36 = load ptr, ptr %9, align 8 %37 = load i32, ptr %16, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [3 x double], ptr %36, i64 %38 %40 = getelementptr inbounds [3 x double], ptr %39, i64 0, i64 0 %41 = load double, ptr %40, align 8 %42 = call double @pow(double noundef %41, i32 noundef 2) %43 = load ptr, ptr %9, align 8 %44 = load i32, ptr %16, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [3 x double], ptr %43, i64 %45 %47 = getelementptr inbounds [3 x double], ptr %46, i64 0, i64 1 %48 = load double, ptr %47, align 8 %49 = call double @pow(double noundef %48, i32 noundef 2) %50 = fadd double %42, %49 store double %50, ptr %22, align 8 %51 = load ptr, ptr %9, align 8 %52 = load i32, ptr %16, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [3 x double], ptr %51, i64 %53 %55 = getelementptr inbounds [3 x double], ptr %54, i64 0, i64 0 %56 = load double, ptr %55, align 8 %57 = load ptr, ptr %10, align 8 %58 = load i32, ptr %16, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [3 x double], ptr %57, i64 %59 %61 = getelementptr inbounds [3 x double], ptr %60, i64 0, i64 0 %62 = load double, ptr %61, align 8 %63 = load ptr, ptr %9, align 8 %64 = load i32, ptr %16, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [3 x double], ptr %63, i64 %65 %67 = getelementptr inbounds [3 x double], ptr %66, i64 0, i64 1 %68 = load double, ptr %67, align 8 %69 = load ptr, ptr %10, align 8 %70 = load i32, ptr %16, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [3 x double], ptr %69, i64 %71 %73 = getelementptr inbounds [3 x double], ptr %72, i64 0, i64 1 %74 = load double, ptr %73, align 8 %75 = fmul double %68, %74 %76 = call double @llvm.fmuladd.f64(double %56, double %62, double %75) %77 = fmul double 2.000000e+00, %76 store double %77, ptr %20, align 8 %78 = load ptr, ptr %10, align 8 %79 = load i32, ptr %16, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [3 x double], ptr %78, i64 %80 %82 = getelementptr inbounds [3 x double], ptr %81, i64 0, i64 0 %83 = load double, ptr %82, align 8 %84 = call double @pow(double noundef %83, i32 noundef 2) %85 = load ptr, ptr %10, align 8 %86 = load i32, ptr %16, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [3 x double], ptr %85, i64 %87 %89 = getelementptr inbounds [3 x double], ptr %88, i64 0, i64 1 %90 = load double, ptr %89, align 8 %91 = call double @pow(double noundef %90, i32 noundef 2) %92 = fadd double %84, %91 store double %92, ptr %18, align 8 %93 = load i32, ptr %13, align 4 store i32 %93, ptr %15, align 4 %94 = load i32, ptr %15, align 4 %95 = add nsw i32 %94, -1 store i32 %95, ptr %15, align 4 %96 = icmp ne i32 %94, 0 br i1 %96, label %.lr.ph, label %452 .lr.ph: ; preds = %34 br label %97 97: ; preds = %.lr.ph, %448 store double 0.000000e+00, ptr %17, align 8 store double 0.000000e+00, ptr %19, align 8 store double 0.000000e+00, ptr %21, align 8 %98 = load ptr, ptr %11, align 8 %99 = load i32, ptr %15, align 4 %100 = add nsw i32 %99, 1 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds double, ptr %98, i64 %101 %103 = load double, ptr %102, align 8 %104 = load ptr, ptr %11, align 8 %105 = load i32, ptr %15, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds double, ptr %104, i64 %106 %108 = load double, ptr %107, align 8 %109 = fsub double %103, %108 store double %109, ptr %23, align 8 %110 = load ptr, ptr %12, align 8 %111 = load i32, ptr %15, align 4 %112 = add nsw i32 %111, 1 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds double, ptr %110, i64 %113 %115 = load double, ptr %114, align 8 %116 = load ptr, ptr %12, align 8 %117 = load i32, ptr %15, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds double, ptr %116, i64 %118 %120 = load double, ptr %119, align 8 %121 = fsub double %115, %120 store double %121, ptr %24, align 8 %122 = load double, ptr %24, align 8 %123 = fcmp une double %122, 0.000000e+00 br i1 %123, label %124, label %178 124: ; preds = %97 %125 = load ptr, ptr %11, align 8 %126 = load i32, ptr %15, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds double, ptr %125, i64 %127 %129 = load double, ptr %128, align 8 %130 = load double, ptr %23, align 8 %131 = load double, ptr %24, align 8 %132 = fdiv double %130, %131 %133 = load ptr, ptr %9, align 8 %134 = load i32, ptr %16, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds [3 x double], ptr %133, i64 %135 %137 = getelementptr inbounds [3 x double], ptr %136, i64 0, i64 2 %138 = load double, ptr %137, align 8 %139 = load ptr, ptr %12, align 8 %140 = load i32, ptr %15, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds double, ptr %139, i64 %141 %143 = load double, ptr %142, align 8 %144 = fsub double %138, %143 %145 = call double @llvm.fmuladd.f64(double %132, double %144, double %129) store double %145, ptr %25, align 8 %146 = load double, ptr %18, align 8 %147 = load double, ptr %23, align 8 %148 = load double, ptr %24, align 8 %149 = fdiv double %147, %148 %150 = load ptr, ptr %10, align 8 %151 = load i32, ptr %16, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds [3 x double], ptr %150, i64 %152 %154 = getelementptr inbounds [3 x double], ptr %153, i64 0, i64 2 %155 = load double, ptr %154, align 8 %156 = fmul double %149, %155 %157 = call double @pow(double noundef %156, i32 noundef 2) %158 = fsub double %146, %157 store double %158, ptr %17, align 8 %159 = load double, ptr %20, align 8 %160 = load double, ptr %25, align 8 %161 = fmul double 2.000000e+00, %160 %162 = load double, ptr %23, align 8 %163 = load double, ptr %24, align 8 %164 = fdiv double %162, %163 %165 = fmul double %161, %164 %166 = load ptr, ptr %10, align 8 %167 = load i32, ptr %16, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds [3 x double], ptr %166, i64 %168 %170 = getelementptr inbounds [3 x double], ptr %169, i64 0, i64 2 %171 = load double, ptr %170, align 8 %172 = fneg double %165 %173 = call double @llvm.fmuladd.f64(double %172, double %171, double %159) store double %173, ptr %19, align 8 %174 = load double, ptr %22, align 8 %175 = load double, ptr %25, align 8 %176 = call double @pow(double noundef %175, i32 noundef 2) %177 = fsub double %174, %176 store double %177, ptr %21, align 8 br label %274 178: ; preds = %97 %179 = load ptr, ptr %10, align 8 %180 = load i32, ptr %16, align 4 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds [3 x double], ptr %179, i64 %181 %183 = getelementptr inbounds [3 x double], ptr %182, i64 0, i64 2 %184 = load double, ptr %183, align 8 %185 = fcmp une double %184, 0.000000e+00 %186 = zext i1 %185 to i32 %187 = load double, ptr %23, align 8 %188 = fcmp une double %187, 0.000000e+00 %189 = zext i1 %188 to i32 %190 = and i32 %186, %189 %191 = icmp ne i32 %190, 0 br i1 %191, label %192, label %273 192: ; preds = %178 %193 = load ptr, ptr %12, align 8 %194 = load i32, ptr %15, align 4 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds double, ptr %193, i64 %195 %197 = load double, ptr %196, align 8 %198 = load ptr, ptr %9, align 8 %199 = load i32, ptr %16, align 4 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds [3 x double], ptr %198, i64 %200 %202 = getelementptr inbounds [3 x double], ptr %201, i64 0, i64 2 %203 = load double, ptr %202, align 8 %204 = fsub double %197, %203 %205 = load ptr, ptr %10, align 8 %206 = load i32, ptr %16, align 4 %207 = sext i32 %206 to i64 %208 = getelementptr inbounds [3 x double], ptr %205, i64 %207 %209 = getelementptr inbounds [3 x double], ptr %208, i64 0, i64 2 %210 = load double, ptr %209, align 8 %211 = fdiv double %204, %210 store double %211, ptr %26, align 8 %212 = load ptr, ptr %9, align 8 %213 = load i32, ptr %16, align 4 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds [3 x double], ptr %212, i64 %214 %216 = getelementptr inbounds [3 x double], ptr %215, i64 0, i64 0 %217 = load double, ptr %216, align 8 %218 = load ptr, ptr %10, align 8 %219 = load i32, ptr %16, align 4 %220 = sext i32 %219 to i64 %221 = getelementptr inbounds [3 x double], ptr %218, i64 %220 %222 = getelementptr inbounds [3 x double], ptr %221, i64 0, i64 0 %223 = load double, ptr %222, align 8 %224 = load double, ptr %26, align 8 %225 = call double @llvm.fmuladd.f64(double %223, double %224, double %217) %226 = call double @pow(double noundef %225, i32 noundef 2) %227 = load ptr, ptr %9, align 8 %228 = load i32, ptr %16, align 4 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds [3 x double], ptr %227, i64 %229 %231 = getelementptr inbounds [3 x double], ptr %230, i64 0, i64 1 %232 = load double, ptr %231, align 8 %233 = load ptr, ptr %10, align 8 %234 = load i32, ptr %16, align 4 %235 = sext i32 %234 to i64 %236 = getelementptr inbounds [3 x double], ptr %233, i64 %235 %237 = getelementptr inbounds [3 x double], ptr %236, i64 0, i64 1 %238 = load double, ptr %237, align 8 %239 = load double, ptr %26, align 8 %240 = call double @llvm.fmuladd.f64(double %238, double %239, double %232) %241 = call double @pow(double noundef %240, i32 noundef 2) %242 = fadd double %226, %241 %243 = call double @sqrt(double noundef %242) #4 %244 = load ptr, ptr %11, align 8 %245 = load i32, ptr %15, align 4 %246 = sext i32 %245 to i64 %247 = getelementptr inbounds double, ptr %244, i64 %246 %248 = load double, ptr %247, align 8 %249 = fsub double %243, %248 %250 = load double, ptr %23, align 8 %251 = fdiv double %249, %250 store double %251, ptr %25, align 8 %252 = load double, ptr %25, align 8 %253 = fcmp ogt double %252, 0.000000e+00 %254 = zext i1 %253 to i32 %255 = load double, ptr %25, align 8 %256 = fcmp ole double %255, 1.000000e+00 %257 = zext i1 %256 to i32 %258 = and i32 %254, %257 %259 = load double, ptr %26, align 8 %260 = load double, ptr %28, align 8 %261 = fcmp olt double %259, %260 %262 = zext i1 %261 to i32 %263 = and i32 %258, %262 %264 = load double, ptr %26, align 8 %265 = load double, ptr %29, align 8 %266 = fcmp ogt double %264, %265 %267 = zext i1 %266 to i32 %268 = and i32 %263, %267 %269 = icmp ne i32 %268, 0 br i1 %269, label %270, label %272 270: ; preds = %192 %271 = load double, ptr %26, align 8 store double %271, ptr %28, align 8 br label %272 272: ; preds = %270, %192 br label %273 273: ; preds = %272, %178 br label %274 274: ; preds = %273, %124 %275 = load double, ptr %17, align 8 %276 = fcmp une double %275, 0.000000e+00 br i1 %276, label %277, label %390 277: ; preds = %274 %278 = load double, ptr %19, align 8 %279 = load double, ptr %19, align 8 %280 = load double, ptr %17, align 8 %281 = fmul double 4.000000e+00, %280 %282 = load double, ptr %21, align 8 %283 = fmul double %281, %282 %284 = fneg double %283 %285 = call double @llvm.fmuladd.f64(double %278, double %279, double %284) store double %285, ptr %25, align 8 %286 = load double, ptr %25, align 8 %287 = fcmp oge double %286, 0.000000e+00 br i1 %287, label %288, label %389 288: ; preds = %277 %289 = load double, ptr %25, align 8 %290 = call double @sqrt(double noundef %289) #4 store double %290, ptr %25, align 8 %291 = load double, ptr %25, align 8 %292 = load double, ptr %19, align 8 %293 = fadd double %291, %292 %294 = fmul double -5.000000e-01, %293 %295 = load double, ptr %17, align 8 %296 = fdiv double %294, %295 store double %296, ptr %26, align 8 %297 = load double, ptr %25, align 8 %298 = load double, ptr %19, align 8 %299 = fsub double %297, %298 %300 = fmul double 5.000000e-01, %299 %301 = load double, ptr %17, align 8 %302 = fdiv double %300, %301 store double %302, ptr %27, align 8 %303 = load double, ptr %26, align 8 %304 = load ptr, ptr %10, align 8 %305 = load i32, ptr %16, align 4 %306 = sext i32 %305 to i64 %307 = getelementptr inbounds [3 x double], ptr %304, i64 %306 %308 = getelementptr inbounds [3 x double], ptr %307, i64 0, i64 2 %309 = load double, ptr %308, align 8 %310 = load ptr, ptr %9, align 8 %311 = load i32, ptr %16, align 4 %312 = sext i32 %311 to i64 %313 = getelementptr inbounds [3 x double], ptr %310, i64 %312 %314 = getelementptr inbounds [3 x double], ptr %313, i64 0, i64 2 %315 = load double, ptr %314, align 8 %316 = load ptr, ptr %12, align 8 %317 = load i32, ptr %15, align 4 %318 = sext i32 %317 to i64 %319 = getelementptr inbounds double, ptr %316, i64 %318 %320 = load double, ptr %319, align 8 %321 = fsub double %315, %320 %322 = call double @llvm.fmuladd.f64(double %303, double %309, double %321) %323 = load double, ptr %24, align 8 %324 = fdiv double %322, %323 store double %324, ptr %25, align 8 %325 = load double, ptr %25, align 8 %326 = fcmp ogt double %325, 0.000000e+00 %327 = zext i1 %326 to i32 %328 = load double, ptr %25, align 8 %329 = fcmp ole double %328, 1.000000e+00 %330 = zext i1 %329 to i32 %331 = and i32 %327, %330 %332 = load double, ptr %26, align 8 %333 = load double, ptr %28, align 8 %334 = fcmp olt double %332, %333 %335 = zext i1 %334 to i32 %336 = and i32 %331, %335 %337 = load double, ptr %26, align 8 %338 = load double, ptr %29, align 8 %339 = fcmp ogt double %337, %338 %340 = zext i1 %339 to i32 %341 = and i32 %336, %340 %342 = icmp ne i32 %341, 0 br i1 %342, label %343, label %345 343: ; preds = %288 %344 = load double, ptr %26, align 8 store double %344, ptr %28, align 8 br label %345 345: ; preds = %343, %288 %346 = load double, ptr %27, align 8 %347 = load ptr, ptr %10, align 8 %348 = load i32, ptr %16, align 4 %349 = sext i32 %348 to i64 %350 = getelementptr inbounds [3 x double], ptr %347, i64 %349 %351 = getelementptr inbounds [3 x double], ptr %350, i64 0, i64 2 %352 = load double, ptr %351, align 8 %353 = load ptr, ptr %9, align 8 %354 = load i32, ptr %16, align 4 %355 = sext i32 %354 to i64 %356 = getelementptr inbounds [3 x double], ptr %353, i64 %355 %357 = getelementptr inbounds [3 x double], ptr %356, i64 0, i64 2 %358 = load double, ptr %357, align 8 %359 = load ptr, ptr %12, align 8 %360 = load i32, ptr %15, align 4 %361 = sext i32 %360 to i64 %362 = getelementptr inbounds double, ptr %359, i64 %361 %363 = load double, ptr %362, align 8 %364 = fsub double %358, %363 %365 = call double @llvm.fmuladd.f64(double %346, double %352, double %364) %366 = load double, ptr %24, align 8 %367 = fdiv double %365, %366 store double %367, ptr %25, align 8 %368 = load double, ptr %25, align 8 %369 = fcmp ogt double %368, 0.000000e+00 %370 = zext i1 %369 to i32 %371 = load double, ptr %25, align 8 %372 = fcmp ole double %371, 1.000000e+00 %373 = zext i1 %372 to i32 %374 = and i32 %370, %373 %375 = load double, ptr %27, align 8 %376 = load double, ptr %28, align 8 %377 = fcmp olt double %375, %376 %378 = zext i1 %377 to i32 %379 = and i32 %374, %378 %380 = load double, ptr %27, align 8 %381 = load double, ptr %29, align 8 %382 = fcmp ogt double %380, %381 %383 = zext i1 %382 to i32 %384 = and i32 %379, %383 %385 = icmp ne i32 %384, 0 br i1 %385, label %386, label %388 386: ; preds = %345 %387 = load double, ptr %27, align 8 store double %387, ptr %28, align 8 br label %388 388: ; preds = %386, %345 br label %389 389: ; preds = %388, %277 br label %448 390: ; preds = %274 %391 = load double, ptr %19, align 8 %392 = fcmp une double %391, 0.000000e+00 %393 = zext i1 %392 to i32 %394 = load double, ptr %21, align 8 %395 = fcmp une double %394, 0.000000e+00 %396 = zext i1 %395 to i32 %397 = and i32 %393, %396 %398 = icmp ne i32 %397, 0 br i1 %398, label %399, label %447 399: ; preds = %390 %400 = load double, ptr %19, align 8 %401 = fneg double %400 %402 = load double, ptr %21, align 8 %403 = fdiv double %401, %402 store double %403, ptr %26, align 8 %404 = load double, ptr %26, align 8 %405 = load ptr, ptr %10, align 8 %406 = load i32, ptr %16, align 4 %407 = sext i32 %406 to i64 %408 = getelementptr inbounds [3 x double], ptr %405, i64 %407 %409 = getelementptr inbounds [3 x double], ptr %408, i64 0, i64 2 %410 = load double, ptr %409, align 8 %411 = load ptr, ptr %9, align 8 %412 = load i32, ptr %16, align 4 %413 = sext i32 %412 to i64 %414 = getelementptr inbounds [3 x double], ptr %411, i64 %413 %415 = getelementptr inbounds [3 x double], ptr %414, i64 0, i64 2 %416 = load double, ptr %415, align 8 %417 = load ptr, ptr %12, align 8 %418 = load i32, ptr %15, align 4 %419 = sext i32 %418 to i64 %420 = getelementptr inbounds double, ptr %417, i64 %419 %421 = load double, ptr %420, align 8 %422 = fsub double %416, %421 %423 = call double @llvm.fmuladd.f64(double %404, double %410, double %422) %424 = load double, ptr %24, align 8 %425 = fdiv double %423, %424 store double %425, ptr %25, align 8 %426 = load double, ptr %25, align 8 %427 = fcmp ogt double %426, 0.000000e+00 %428 = zext i1 %427 to i32 %429 = load double, ptr %25, align 8 %430 = fcmp ole double %429, 1.000000e+00 %431 = zext i1 %430 to i32 %432 = and i32 %428, %431 %433 = load double, ptr %26, align 8 %434 = load double, ptr %28, align 8 %435 = fcmp olt double %433, %434 %436 = zext i1 %435 to i32 %437 = and i32 %432, %436 %438 = load double, ptr %26, align 8 %439 = load double, ptr %29, align 8 %440 = fcmp ogt double %438, %439 %441 = zext i1 %440 to i32 %442 = and i32 %437, %441 %443 = icmp ne i32 %442, 0 br i1 %443, label %444, label %446 444: ; preds = %399 %445 = load double, ptr %26, align 8 store double %445, ptr %28, align 8 br label %446 446: ; preds = %444, %399 br label %447 447: ; preds = %446, %390 br label %448 448: ; preds = %447, %389 %449 = load i32, ptr %15, align 4 %450 = add nsw i32 %449, -1 store i32 %450, ptr %15, align 4 %451 = icmp ne i32 %449, 0 br i1 %451, label %97, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %448 br label %452 452: ; preds = %._crit_edge, %34 %453 = load double, ptr %28, align 8 %454 = load ptr, ptr %8, align 8 %455 = load i32, ptr %16, align 4 %456 = sext i32 %455 to i64 %457 = getelementptr inbounds double, ptr %454, i64 %456 store double %453, ptr %457, align 8 %458 = load i32, ptr %16, align 4 %459 = add nsw i32 %458, -1 store i32 %459, ptr %16, align 4 %460 = icmp ne i32 %458, 0 br i1 %460, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %452 br label %461 461: ; preds = %._crit_edge3, %7 ret void } declare double @pow(double noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp6314e0mh.c' source_filename = "/tmp/tmp6314e0mh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"TEST T EA1 S T\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"WORD W O2 R D\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [14 x i8] c"Result is %i\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"A: %s B: %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 [128 x i8], align 16 %7 = alloca [128 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %9 = call i32 @strcpy(ptr noundef %8, ptr noundef @.str) %10 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %11 = call i32 @strcpy(ptr noundef %10, ptr noundef @.str.1) %12 = load i32, ptr @stderr, align 4 %13 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %14 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %15 = call i32 @secondTokenStrcmp(ptr noundef %13, ptr noundef %14) %16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.2, i32 noundef %15) %17 = load i32, ptr @stderr, align 4 %18 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %19 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.3, ptr noundef %18, ptr noundef %19) ret i32 0 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @secondTokenStrcmp(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/tmp6314e0mh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"TEST T EA1 S T\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"WORD W O2 R D\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [14 x i8] c"Result is %i\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"A: %s B: %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 [128 x i8], align 16 %7 = alloca [128 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %9 = call i32 @strcpy(ptr noundef %8, ptr noundef @.str) %10 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %11 = call i32 @strcpy(ptr noundef %10, ptr noundef @.str.1) %12 = load i32, ptr @stderr, align 4 %13 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %14 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %15 = call i32 @secondTokenStrcmp(ptr noundef %13, ptr noundef %14) %16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.2, i32 noundef %15) %17 = load i32, ptr @stderr, align 4 %18 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %19 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.3, ptr noundef %18, ptr noundef %19) ret i32 0 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @secondTokenStrcmp(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/tmpu9hips9c.c' source_filename = "/tmp/tmpu9hips9c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SysCtlLDODeepSleepSet(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 store volatile i64 %3, ptr inttoptr (i64 1074782652 to ptr), align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu9hips9c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SysCtlLDODeepSleepSet(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 store volatile i64 %3, ptr inttoptr (i64 1074782652 to ptr), align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_ws8h5lq.c' source_filename = "/tmp/tmp_ws8h5lq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"0 - Number 0 or power measure\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"1 - Number 1 or AM\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"2 - Number 2 or FM\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"3 - Number 3 or phase modulated\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"4 - Number 4 or sweep\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"5 - Number 5 or FSK\0A\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"6 - Number 6 or burst\0A\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"7 - Number 7 or SSB\0A\00", align 1 @.str.8 = private unnamed_addr constant [33 x i8] c"8 - Number 8 or DTMF generator\0A\00", align 1 @.str.9 = private unnamed_addr constant [33 x i8] c"9 - Number 9 or DTMF detection\0A\00", align 1 @.str.10 = private unnamed_addr constant [18 x i8] c"10 - MHz, dBm \0A\00", align 1 @.str.11 = private unnamed_addr constant [23 x i8] c"11 - kHz, Vp-p, Sec \0A\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c"12 - Hz, mvp-p, ms\0A\00", align 1 @.str.13 = private unnamed_addr constant [14 x i8] c"13 - Offset \0A\00", align 1 @.str.14 = private unnamed_addr constant [15 x i8] c"14 - Trigger \0A\00", align 1 @.str.15 = private unnamed_addr constant [8 x i8] c"15 - \0A\00", align 1 @.str.16 = private unnamed_addr constant [27 x i8] c"16 - decimal point or * \0A\00", align 1 @.str.17 = private unnamed_addr constant [25 x i8] c"17 - - minus or # sign \0A\00", align 1 @.str.18 = private unnamed_addr constant [8 x i8] c"18 - \0A\00", align 1 @.str.19 = private unnamed_addr constant [8 x i8] c"19 - \0A\00", align 1 @.str.20 = private unnamed_addr constant [12 x i8] c"20 - Mode \0A\00", align 1 @.str.21 = private unnamed_addr constant [16 x i8] c"21 - Function \0A\00", align 1 @.str.22 = private unnamed_addr constant [16 x i8] c"22 - Sinewave \0A\00", align 1 @.str.23 = private unnamed_addr constant [13 x i8] c"23 - Pulse \0A\00", align 1 @.str.24 = private unnamed_addr constant [17 x i8] c"24 - Arbritary \0A\00", align 1 @.str.25 = private unnamed_addr constant [8 x i8] c"25 - \0A\00", align 1 @.str.26 = private unnamed_addr constant [8 x i8] c"26 - \0A\00", align 1 @.str.27 = private unnamed_addr constant [8 x i8] c"27 - \0A\00", align 1 @.str.28 = private unnamed_addr constant [8 x i8] c"28 - \0A\00", align 1 @.str.29 = private unnamed_addr constant [8 x i8] c"29 - \0A\00", align 1 @.str.30 = private unnamed_addr constant [25 x i8] c"30 - reset to sinewave \0A\00", align 1 @.str.31 = private unnamed_addr constant [7 x i8] c"31 - \0A\00", align 1 @.str.32 = private unnamed_addr constant [45 x i8] c"32 - enable/disable front panel/knob (1/0) \0A\00", align 1 @.str.33 = private unnamed_addr constant [49 x i8] c"33 - enable/disable LCD echo to terminal (1/0) \0A\00", align 1 @.str.34 = private unnamed_addr constant [7 x i8] c"34 - \0A\00", align 1 @.str.35 = private unnamed_addr constant [7 x i8] c"35 - \0A\00", align 1 @.str.36 = private unnamed_addr constant [7 x i8] c"36 - \0A\00", align 1 @.str.37 = private unnamed_addr constant [7 x i8] c"37 - \0A\00", align 1 @.str.38 = private unnamed_addr constant [43 x i8] c"38 - Echo LCD terminal (1 = on, 0 = off) \0A\00", align 1 @.str.39 = private unnamed_addr constant [7 x i8] c"39 - \0A\00", align 1 @.str.40 = private unnamed_addr constant [23 x i8] c"40 - Move field left \0A\00", align 1 @.str.41 = private unnamed_addr constant [24 x i8] c"41 - Move field right \0A\00", align 1 @.str.42 = private unnamed_addr constant [21 x i8] c"42 - Move digit up \0A\00", align 1 @.str.43 = private unnamed_addr constant [23 x i8] c"43 - Move digit down \0A\00", align 1 @.str.44 = private unnamed_addr constant [32 x i8] c"44 - Move digit position left \0A\00", align 1 @.str.45 = private unnamed_addr constant [33 x i8] c"45 - Move digit position right \0A\00", align 1 @.str.46 = private unnamed_addr constant [38 x i8] c"46 - Field (couple with number 0-9) \0A\00", align 1 @.str.47 = private unnamed_addr constant [8 x i8] c"47 - \0A\00", align 1 @.str.48 = private unnamed_addr constant [24 x i8] c"48 - Store or recall \0A\00", align 1 @.str.49 = private unnamed_addr constant [22 x i8] c"49 - Clear or other \0A\00", align 1 @.str.50 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.51 = private unnamed_addr constant [21 x i8] c"Enter the command ?\0A\00", align 1 @.str.52 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.53 = private unnamed_addr constant [17 x i8] c"not implemented\0A\00", align 1 @.str.54 = private unnamed_addr constant [37 x i8] c"Invalid command .... returning ....\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Manual() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i8 -1, ptr %4, align 1 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @printf(ptr noundef @.str.1) %7 = call i32 @printf(ptr noundef @.str.2) %8 = call i32 @printf(ptr noundef @.str.3) %9 = call i32 @printf(ptr noundef @.str.4) %10 = call i32 @printf(ptr noundef @.str.5) %11 = call i32 @printf(ptr noundef @.str.6) %12 = call i32 @printf(ptr noundef @.str.7) %13 = call i32 @printf(ptr noundef @.str.8) %14 = call i32 @printf(ptr noundef @.str.9) %15 = call i32 @printf(ptr noundef @.str.10) %16 = call i32 @printf(ptr noundef @.str.11) %17 = call i32 @printf(ptr noundef @.str.12) %18 = call i32 @printf(ptr noundef @.str.13) %19 = call i32 @printf(ptr noundef @.str.14) %20 = call i32 @printf(ptr noundef @.str.15) %21 = call i32 @printf(ptr noundef @.str.16) %22 = call i32 @printf(ptr noundef @.str.17) %23 = call i32 @printf(ptr noundef @.str.18) %24 = call i32 @printf(ptr noundef @.str.19) %25 = call i32 @printf(ptr noundef @.str.20) %26 = call i32 @printf(ptr noundef @.str.21) %27 = call i32 @printf(ptr noundef @.str.22) %28 = call i32 @printf(ptr noundef @.str.23) %29 = call i32 @printf(ptr noundef @.str.24) %30 = call i32 @printf(ptr noundef @.str.25) %31 = call i32 @printf(ptr noundef @.str.26) %32 = call i32 @printf(ptr noundef @.str.27) %33 = call i32 @printf(ptr noundef @.str.28) %34 = call i32 @printf(ptr noundef @.str.29) %35 = call i32 @printf(ptr noundef @.str.30) %36 = call i32 @printf(ptr noundef @.str.31) %37 = call i32 @printf(ptr noundef @.str.32) %38 = call i32 @printf(ptr noundef @.str.33) %39 = call i32 @printf(ptr noundef @.str.34) %40 = call i32 @printf(ptr noundef @.str.35) %41 = call i32 @printf(ptr noundef @.str.36) %42 = call i32 @printf(ptr noundef @.str.37) %43 = call i32 @printf(ptr noundef @.str.38) %44 = call i32 @printf(ptr noundef @.str.39) %45 = call i32 @printf(ptr noundef @.str.40) %46 = call i32 @printf(ptr noundef @.str.41) %47 = call i32 @printf(ptr noundef @.str.42) %48 = call i32 @printf(ptr noundef @.str.43) %49 = call i32 @printf(ptr noundef @.str.44) %50 = call i32 @printf(ptr noundef @.str.45) %51 = call i32 @printf(ptr noundef @.str.46) %52 = call i32 @printf(ptr noundef @.str.47) %53 = call i32 @printf(ptr noundef @.str.48) %54 = call i32 @printf(ptr noundef @.str.49) %55 = call i32 @printf(ptr noundef @.str.50) store i8 -1, ptr %4, align 1 %56 = call i32 @printf(ptr noundef @.str.51) %57 = call i32 @scanf(ptr noundef @.str.52, ptr noundef %2) %58 = load i32, ptr %2, align 4 switch i32 %58, label %129 [ i32 0, label %59 i32 1, label %61 i32 2, label %63 i32 3, label %65 i32 4, label %67 i32 5, label %69 i32 6, label %71 i32 7, label %73 i32 8, label %75 i32 9, label %77 i32 10, label %79 i32 11, label %81 i32 12, label %83 i32 13, label %85 i32 14, label %87 i32 16, label %89 i32 17, label %91 i32 20, label %93 i32 21, label %95 i32 22, label %97 i32 23, label %99 i32 24, label %101 i32 30, label %103 i32 32, label %105 i32 33, label %107 i32 38, label %109 i32 40, label %111 i32 41, label %113 i32 42, label %115 i32 43, label %117 i32 44, label %119 i32 45, label %121 i32 46, label %123 i32 48, label %125 i32 49, label %127 ] 59: ; preds = %0 %60 = call i32 (...) @BNC_0() br label %131 61: ; preds = %0 %62 = call i32 (...) @BNC_1() br label %131 63: ; preds = %0 %64 = call i32 (...) @BNC_2() br label %131 65: ; preds = %0 %66 = call i32 (...) @BNC_3() br label %131 67: ; preds = %0 %68 = call i32 (...) @BNC_4() br label %131 69: ; preds = %0 %70 = call i32 (...) @BNC_5() br label %131 71: ; preds = %0 %72 = call i32 (...) @BNC_6() br label %131 73: ; preds = %0 %74 = call i32 (...) @BNC_7() br label %131 75: ; preds = %0 %76 = call i32 (...) @BNC_8() br label %131 77: ; preds = %0 %78 = call i32 (...) @BNC_9() br label %131 79: ; preds = %0 %80 = call i32 (...) @BNCMHz() br label %131 81: ; preds = %0 %82 = call i32 (...) @BNCkHz() br label %131 83: ; preds = %0 %84 = call i32 (...) @BNCHz() br label %131 85: ; preds = %0 %86 = call i32 (...) @BNCOffset() br label %131 87: ; preds = %0 %88 = call i32 (...) @BNCTrigger() br label %131 89: ; preds = %0 %90 = call i32 (...) @BNCDot() br label %131 91: ; preds = %0 %92 = call i32 (...) @BNCMinus() br label %131 93: ; preds = %0 %94 = call i32 (...) @BNCMode() br label %131 95: ; preds = %0 %96 = call i32 (...) @BNCFunction() br label %131 97: ; preds = %0 %98 = call i32 (...) @BNCSine() br label %131 99: ; preds = %0 %100 = call i32 (...) @BNCPulse() br label %131 101: ; preds = %0 %102 = call i32 (...) @BNCArbitrary() br label %131 103: ; preds = %0 %104 = call i32 (...) @BNCResetSine() br label %131 105: ; preds = %0 %106 = call i32 (...) @BNCFrontOnOff() br label %131 107: ; preds = %0 %108 = call i32 (...) @BNCLCDEchoOnOff() br label %131 109: ; preds = %0 %110 = call i32 (...) @BNCStatus() br label %131 111: ; preds = %0 %112 = call i32 (...) @BNCFieldLeft() br label %131 113: ; preds = %0 %114 = call i32 (...) @BNCFieldRight() br label %131 115: ; preds = %0 %116 = call i32 (...) @BNCDigitUp() br label %131 117: ; preds = %0 %118 = call i32 (...) @BNCDigitDown() br label %131 119: ; preds = %0 %120 = call i32 (...) @BNCDigitLeft() br label %131 121: ; preds = %0 %122 = call i32 (...) @BNCDigitRight() br label %131 123: ; preds = %0 %124 = call i32 (...) @BNCField() br label %131 125: ; preds = %0 %126 = call i32 @printf(ptr noundef @.str.53) br label %131 127: ; preds = %0 %128 = call i32 @printf(ptr noundef @.str.53) br label %131 129: ; preds = %0 %130 = call i32 @printf(ptr noundef @.str.54) br label %131 131: ; preds = %129, %127, %125, %123, %121, %119, %117, %115, %113, %111, %109, %107, %105, %103, %101, %99, %97, %95, %93, %91, %89, %87, %85, %83, %81, %79, %77, %75, %73, %71, %69, %67, %65, %63, %61, %59 %132 = call i32 (...) @BNCStatus() %133 = load i32, ptr %1, align 4 ret i32 %133 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @BNC_0(...) #1 declare i32 @BNC_1(...) #1 declare i32 @BNC_2(...) #1 declare i32 @BNC_3(...) #1 declare i32 @BNC_4(...) #1 declare i32 @BNC_5(...) #1 declare i32 @BNC_6(...) #1 declare i32 @BNC_7(...) #1 declare i32 @BNC_8(...) #1 declare i32 @BNC_9(...) #1 declare i32 @BNCMHz(...) #1 declare i32 @BNCkHz(...) #1 declare i32 @BNCHz(...) #1 declare i32 @BNCOffset(...) #1 declare i32 @BNCTrigger(...) #1 declare i32 @BNCDot(...) #1 declare i32 @BNCMinus(...) #1 declare i32 @BNCMode(...) #1 declare i32 @BNCFunction(...) #1 declare i32 @BNCSine(...) #1 declare i32 @BNCPulse(...) #1 declare i32 @BNCArbitrary(...) #1 declare i32 @BNCResetSine(...) #1 declare i32 @BNCFrontOnOff(...) #1 declare i32 @BNCLCDEchoOnOff(...) #1 declare i32 @BNCStatus(...) #1 declare i32 @BNCFieldLeft(...) #1 declare i32 @BNCFieldRight(...) #1 declare i32 @BNCDigitUp(...) #1 declare i32 @BNCDigitDown(...) #1 declare i32 @BNCDigitLeft(...) #1 declare i32 @BNCDigitRight(...) #1 declare i32 @BNCField(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_ws8h5lq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"0 - Number 0 or power measure\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"1 - Number 1 or AM\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"2 - Number 2 or FM\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"3 - Number 3 or phase modulated\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"4 - Number 4 or sweep\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"5 - Number 5 or FSK\0A\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"6 - Number 6 or burst\0A\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"7 - Number 7 or SSB\0A\00", align 1 @.str.8 = private unnamed_addr constant [33 x i8] c"8 - Number 8 or DTMF generator\0A\00", align 1 @.str.9 = private unnamed_addr constant [33 x i8] c"9 - Number 9 or DTMF detection\0A\00", align 1 @.str.10 = private unnamed_addr constant [18 x i8] c"10 - MHz, dBm \0A\00", align 1 @.str.11 = private unnamed_addr constant [23 x i8] c"11 - kHz, Vp-p, Sec \0A\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c"12 - Hz, mvp-p, ms\0A\00", align 1 @.str.13 = private unnamed_addr constant [14 x i8] c"13 - Offset \0A\00", align 1 @.str.14 = private unnamed_addr constant [15 x i8] c"14 - Trigger \0A\00", align 1 @.str.15 = private unnamed_addr constant [8 x i8] c"15 - \0A\00", align 1 @.str.16 = private unnamed_addr constant [27 x i8] c"16 - decimal point or * \0A\00", align 1 @.str.17 = private unnamed_addr constant [25 x i8] c"17 - - minus or # sign \0A\00", align 1 @.str.18 = private unnamed_addr constant [8 x i8] c"18 - \0A\00", align 1 @.str.19 = private unnamed_addr constant [8 x i8] c"19 - \0A\00", align 1 @.str.20 = private unnamed_addr constant [12 x i8] c"20 - Mode \0A\00", align 1 @.str.21 = private unnamed_addr constant [16 x i8] c"21 - Function \0A\00", align 1 @.str.22 = private unnamed_addr constant [16 x i8] c"22 - Sinewave \0A\00", align 1 @.str.23 = private unnamed_addr constant [13 x i8] c"23 - Pulse \0A\00", align 1 @.str.24 = private unnamed_addr constant [17 x i8] c"24 - Arbritary \0A\00", align 1 @.str.25 = private unnamed_addr constant [8 x i8] c"25 - \0A\00", align 1 @.str.26 = private unnamed_addr constant [8 x i8] c"26 - \0A\00", align 1 @.str.27 = private unnamed_addr constant [8 x i8] c"27 - \0A\00", align 1 @.str.28 = private unnamed_addr constant [8 x i8] c"28 - \0A\00", align 1 @.str.29 = private unnamed_addr constant [8 x i8] c"29 - \0A\00", align 1 @.str.30 = private unnamed_addr constant [25 x i8] c"30 - reset to sinewave \0A\00", align 1 @.str.31 = private unnamed_addr constant [7 x i8] c"31 - \0A\00", align 1 @.str.32 = private unnamed_addr constant [45 x i8] c"32 - enable/disable front panel/knob (1/0) \0A\00", align 1 @.str.33 = private unnamed_addr constant [49 x i8] c"33 - enable/disable LCD echo to terminal (1/0) \0A\00", align 1 @.str.34 = private unnamed_addr constant [7 x i8] c"34 - \0A\00", align 1 @.str.35 = private unnamed_addr constant [7 x i8] c"35 - \0A\00", align 1 @.str.36 = private unnamed_addr constant [7 x i8] c"36 - \0A\00", align 1 @.str.37 = private unnamed_addr constant [7 x i8] c"37 - \0A\00", align 1 @.str.38 = private unnamed_addr constant [43 x i8] c"38 - Echo LCD terminal (1 = on, 0 = off) \0A\00", align 1 @.str.39 = private unnamed_addr constant [7 x i8] c"39 - \0A\00", align 1 @.str.40 = private unnamed_addr constant [23 x i8] c"40 - Move field left \0A\00", align 1 @.str.41 = private unnamed_addr constant [24 x i8] c"41 - Move field right \0A\00", align 1 @.str.42 = private unnamed_addr constant [21 x i8] c"42 - Move digit up \0A\00", align 1 @.str.43 = private unnamed_addr constant [23 x i8] c"43 - Move digit down \0A\00", align 1 @.str.44 = private unnamed_addr constant [32 x i8] c"44 - Move digit position left \0A\00", align 1 @.str.45 = private unnamed_addr constant [33 x i8] c"45 - Move digit position right \0A\00", align 1 @.str.46 = private unnamed_addr constant [38 x i8] c"46 - Field (couple with number 0-9) \0A\00", align 1 @.str.47 = private unnamed_addr constant [8 x i8] c"47 - \0A\00", align 1 @.str.48 = private unnamed_addr constant [24 x i8] c"48 - Store or recall \0A\00", align 1 @.str.49 = private unnamed_addr constant [22 x i8] c"49 - Clear or other \0A\00", align 1 @.str.50 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.51 = private unnamed_addr constant [21 x i8] c"Enter the command ?\0A\00", align 1 @.str.52 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.53 = private unnamed_addr constant [17 x i8] c"not implemented\0A\00", align 1 @.str.54 = private unnamed_addr constant [37 x i8] c"Invalid command .... returning ....\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Manual() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i8 -1, ptr %4, align 1 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @printf(ptr noundef @.str.1) %7 = call i32 @printf(ptr noundef @.str.2) %8 = call i32 @printf(ptr noundef @.str.3) %9 = call i32 @printf(ptr noundef @.str.4) %10 = call i32 @printf(ptr noundef @.str.5) %11 = call i32 @printf(ptr noundef @.str.6) %12 = call i32 @printf(ptr noundef @.str.7) %13 = call i32 @printf(ptr noundef @.str.8) %14 = call i32 @printf(ptr noundef @.str.9) %15 = call i32 @printf(ptr noundef @.str.10) %16 = call i32 @printf(ptr noundef @.str.11) %17 = call i32 @printf(ptr noundef @.str.12) %18 = call i32 @printf(ptr noundef @.str.13) %19 = call i32 @printf(ptr noundef @.str.14) %20 = call i32 @printf(ptr noundef @.str.15) %21 = call i32 @printf(ptr noundef @.str.16) %22 = call i32 @printf(ptr noundef @.str.17) %23 = call i32 @printf(ptr noundef @.str.18) %24 = call i32 @printf(ptr noundef @.str.19) %25 = call i32 @printf(ptr noundef @.str.20) %26 = call i32 @printf(ptr noundef @.str.21) %27 = call i32 @printf(ptr noundef @.str.22) %28 = call i32 @printf(ptr noundef @.str.23) %29 = call i32 @printf(ptr noundef @.str.24) %30 = call i32 @printf(ptr noundef @.str.25) %31 = call i32 @printf(ptr noundef @.str.26) %32 = call i32 @printf(ptr noundef @.str.27) %33 = call i32 @printf(ptr noundef @.str.28) %34 = call i32 @printf(ptr noundef @.str.29) %35 = call i32 @printf(ptr noundef @.str.30) %36 = call i32 @printf(ptr noundef @.str.31) %37 = call i32 @printf(ptr noundef @.str.32) %38 = call i32 @printf(ptr noundef @.str.33) %39 = call i32 @printf(ptr noundef @.str.34) %40 = call i32 @printf(ptr noundef @.str.35) %41 = call i32 @printf(ptr noundef @.str.36) %42 = call i32 @printf(ptr noundef @.str.37) %43 = call i32 @printf(ptr noundef @.str.38) %44 = call i32 @printf(ptr noundef @.str.39) %45 = call i32 @printf(ptr noundef @.str.40) %46 = call i32 @printf(ptr noundef @.str.41) %47 = call i32 @printf(ptr noundef @.str.42) %48 = call i32 @printf(ptr noundef @.str.43) %49 = call i32 @printf(ptr noundef @.str.44) %50 = call i32 @printf(ptr noundef @.str.45) %51 = call i32 @printf(ptr noundef @.str.46) %52 = call i32 @printf(ptr noundef @.str.47) %53 = call i32 @printf(ptr noundef @.str.48) %54 = call i32 @printf(ptr noundef @.str.49) %55 = call i32 @printf(ptr noundef @.str.50) store i8 -1, ptr %4, align 1 %56 = call i32 @printf(ptr noundef @.str.51) %57 = call i32 @scanf(ptr noundef @.str.52, ptr noundef %2) %58 = load i32, ptr %2, align 4 switch i32 %58, label %129 [ i32 0, label %59 i32 1, label %61 i32 2, label %63 i32 3, label %65 i32 4, label %67 i32 5, label %69 i32 6, label %71 i32 7, label %73 i32 8, label %75 i32 9, label %77 i32 10, label %79 i32 11, label %81 i32 12, label %83 i32 13, label %85 i32 14, label %87 i32 16, label %89 i32 17, label %91 i32 20, label %93 i32 21, label %95 i32 22, label %97 i32 23, label %99 i32 24, label %101 i32 30, label %103 i32 32, label %105 i32 33, label %107 i32 38, label %109 i32 40, label %111 i32 41, label %113 i32 42, label %115 i32 43, label %117 i32 44, label %119 i32 45, label %121 i32 46, label %123 i32 48, label %125 i32 49, label %127 ] 59: ; preds = %0 %60 = call i32 (...) @BNC_0() br label %131 61: ; preds = %0 %62 = call i32 (...) @BNC_1() br label %131 63: ; preds = %0 %64 = call i32 (...) @BNC_2() br label %131 65: ; preds = %0 %66 = call i32 (...) @BNC_3() br label %131 67: ; preds = %0 %68 = call i32 (...) @BNC_4() br label %131 69: ; preds = %0 %70 = call i32 (...) @BNC_5() br label %131 71: ; preds = %0 %72 = call i32 (...) @BNC_6() br label %131 73: ; preds = %0 %74 = call i32 (...) @BNC_7() br label %131 75: ; preds = %0 %76 = call i32 (...) @BNC_8() br label %131 77: ; preds = %0 %78 = call i32 (...) @BNC_9() br label %131 79: ; preds = %0 %80 = call i32 (...) @BNCMHz() br label %131 81: ; preds = %0 %82 = call i32 (...) @BNCkHz() br label %131 83: ; preds = %0 %84 = call i32 (...) @BNCHz() br label %131 85: ; preds = %0 %86 = call i32 (...) @BNCOffset() br label %131 87: ; preds = %0 %88 = call i32 (...) @BNCTrigger() br label %131 89: ; preds = %0 %90 = call i32 (...) @BNCDot() br label %131 91: ; preds = %0 %92 = call i32 (...) @BNCMinus() br label %131 93: ; preds = %0 %94 = call i32 (...) @BNCMode() br label %131 95: ; preds = %0 %96 = call i32 (...) @BNCFunction() br label %131 97: ; preds = %0 %98 = call i32 (...) @BNCSine() br label %131 99: ; preds = %0 %100 = call i32 (...) @BNCPulse() br label %131 101: ; preds = %0 %102 = call i32 (...) @BNCArbitrary() br label %131 103: ; preds = %0 %104 = call i32 (...) @BNCResetSine() br label %131 105: ; preds = %0 %106 = call i32 (...) @BNCFrontOnOff() br label %131 107: ; preds = %0 %108 = call i32 (...) @BNCLCDEchoOnOff() br label %131 109: ; preds = %0 %110 = call i32 (...) @BNCStatus() br label %131 111: ; preds = %0 %112 = call i32 (...) @BNCFieldLeft() br label %131 113: ; preds = %0 %114 = call i32 (...) @BNCFieldRight() br label %131 115: ; preds = %0 %116 = call i32 (...) @BNCDigitUp() br label %131 117: ; preds = %0 %118 = call i32 (...) @BNCDigitDown() br label %131 119: ; preds = %0 %120 = call i32 (...) @BNCDigitLeft() br label %131 121: ; preds = %0 %122 = call i32 (...) @BNCDigitRight() br label %131 123: ; preds = %0 %124 = call i32 (...) @BNCField() br label %131 125: ; preds = %0 %126 = call i32 @printf(ptr noundef @.str.53) br label %131 127: ; preds = %0 %128 = call i32 @printf(ptr noundef @.str.53) br label %131 129: ; preds = %0 %130 = call i32 @printf(ptr noundef @.str.54) br label %131 131: ; preds = %129, %127, %125, %123, %121, %119, %117, %115, %113, %111, %109, %107, %105, %103, %101, %99, %97, %95, %93, %91, %89, %87, %85, %83, %81, %79, %77, %75, %73, %71, %69, %67, %65, %63, %61, %59 %132 = call i32 (...) @BNCStatus() %133 = load i32, ptr %1, align 4 ret i32 %133 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @BNC_0(...) #1 declare i32 @BNC_1(...) #1 declare i32 @BNC_2(...) #1 declare i32 @BNC_3(...) #1 declare i32 @BNC_4(...) #1 declare i32 @BNC_5(...) #1 declare i32 @BNC_6(...) #1 declare i32 @BNC_7(...) #1 declare i32 @BNC_8(...) #1 declare i32 @BNC_9(...) #1 declare i32 @BNCMHz(...) #1 declare i32 @BNCkHz(...) #1 declare i32 @BNCHz(...) #1 declare i32 @BNCOffset(...) #1 declare i32 @BNCTrigger(...) #1 declare i32 @BNCDot(...) #1 declare i32 @BNCMinus(...) #1 declare i32 @BNCMode(...) #1 declare i32 @BNCFunction(...) #1 declare i32 @BNCSine(...) #1 declare i32 @BNCPulse(...) #1 declare i32 @BNCArbitrary(...) #1 declare i32 @BNCResetSine(...) #1 declare i32 @BNCFrontOnOff(...) #1 declare i32 @BNCLCDEchoOnOff(...) #1 declare i32 @BNCStatus(...) #1 declare i32 @BNCFieldLeft(...) #1 declare i32 @BNCFieldRight(...) #1 declare i32 @BNCDigitUp(...) #1 declare i32 @BNCDigitDown(...) #1 declare i32 @BNCDigitLeft(...) #1 declare i32 @BNCDigitRight(...) #1 declare i32 @BNCField(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsxxgkntz.c' source_filename = "/tmp/tmpsxxgkntz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"ERROR: (%s:%u) Assertion failed: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vrfs_assert_failed(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr @stderr, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = load ptr, ptr %4, align 8 %11 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8, i32 noundef %9, ptr noundef %10) %12 = call i32 (...) @abort() #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsxxgkntz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"ERROR: (%s:%u) Assertion failed: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vrfs_assert_failed(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr @stderr, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = load ptr, ptr %4, align 8 %11 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8, i32 noundef %9, ptr noundef %10) %12 = call i32 (...) @abort() #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpov68c9_8.c' source_filename = "/tmp/tmpov68c9_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RLIMIT_NOFILE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cdecl_expr__RLIMIT_NOFILE() #0 { %1 = load i32, ptr @RLIMIT_NOFILE, align 4 %2 = call i32 @cdecl_func__RLIMIT_NOFILE(i32 noundef %1) ret void } declare i32 @cdecl_func__RLIMIT_NOFILE(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/tmpov68c9_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RLIMIT_NOFILE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cdecl_expr__RLIMIT_NOFILE() #0 { %1 = load i32, ptr @RLIMIT_NOFILE, align 4 %2 = call i32 @cdecl_func__RLIMIT_NOFILE(i32 noundef %1) ret void } declare i32 @cdecl_func__RLIMIT_NOFILE(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/tmpqs6ezspk.c' source_filename = "/tmp/tmpqs6ezspk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tv_rasterise(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @draw_playfield() %4 = call i32 (...) @draw_ball() %5 = call i32 @draw_missile(i32 noundef 1) %6 = call i32 @pl_draw(i32 noundef 1) %7 = call i32 @draw_missile(i32 noundef 0) %8 = call i32 @pl_draw(i32 noundef 0) ret void } declare i32 @draw_playfield(...) #1 declare i32 @draw_ball(...) #1 declare i32 @draw_missile(i32 noundef) #1 declare i32 @pl_draw(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/tmpqs6ezspk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tv_rasterise(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @draw_playfield() %4 = call i32 (...) @draw_ball() %5 = call i32 @draw_missile(i32 noundef 1) %6 = call i32 @pl_draw(i32 noundef 1) %7 = call i32 @draw_missile(i32 noundef 0) %8 = call i32 @pl_draw(i32 noundef 0) ret void } declare i32 @draw_playfield(...) #1 declare i32 @draw_ball(...) #1 declare i32 @draw_missile(i32 noundef) #1 declare i32 @pl_draw(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/tmp9vqtv87n.c' source_filename = "/tmp/tmp9vqtv87n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"\0AError exit because %s\0A -- errno: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error_exit(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 i32, ptr @errno, align 4 %5 = call ptr @strerror(i32 noundef %4) %6 = call i32 @printf(ptr noundef @.str, ptr noundef %3, ptr noundef %5) %7 = call i32 @exit(i32 noundef -1) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(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/tmp9vqtv87n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"\0AError exit because %s\0A -- errno: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error_exit(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 i32, ptr @errno, align 4 %5 = call ptr @strerror(i32 noundef %4) %6 = call i32 @printf(ptr noundef @.str, ptr noundef %3, ptr noundef %5) %7 = call i32 @exit(i32 noundef -1) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(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/tmpuw1y05ve.c' source_filename = "/tmp/tmpuw1y05ve.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decode_special_branch_opcode(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, 2031616 %5 = ashr i32 %4, 16 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuw1y05ve.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decode_special_branch_opcode(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, 2031616 %5 = ashr i32 %4, 16 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpta1xlndb.c' source_filename = "/tmp/tmpta1xlndb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tamas\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c":\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getbirth(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [64 x i8], align 16 %6 = alloca [17 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %8, align 4 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %4, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %1 store i32 -1, ptr %2, align 4 br label %62 12: ; preds = %1 %13 = getelementptr inbounds [17 x i8], ptr %6, i64 0, i64 0 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strncpy(ptr noundef %13, ptr noundef %14, i32 noundef 16) %16 = getelementptr inbounds [17 x i8], ptr %6, i64 0, i64 0 %17 = call i32 @strcat(ptr noundef %16, ptr noundef @.str.2) br label %18 18: ; preds = %30, %12 %19 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0 %20 = load ptr, ptr %4, align 8 %21 = call ptr @fgets(ptr noundef %19, i32 noundef 64, ptr noundef %20) %22 = icmp ne ptr %21, null br i1 %22, label %23, label %31 23: ; preds = %18 %24 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0 %25 = getelementptr inbounds [17 x i8], ptr %6, i64 0, i64 0 %26 = call ptr @strstr(ptr noundef %24, ptr noundef %25) %27 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0 %28 = icmp eq ptr %26, %27 br i1 %28, label %29, label %30 29: ; preds = %23 br label %31 30: ; preds = %23 br label %18, !llvm.loop !6 31: ; preds = %29, %18 %32 = load ptr, ptr %4, align 8 %33 = call i32 @fclose(ptr noundef %32) store i32 0, ptr %7, align 4 br label %34 34: ; preds = %52, %31 %35 = load i32, ptr %7, align 4 %36 = icmp slt i32 %35, 64 br i1 %36, label %37, label %55 37: ; preds = %34 %38 = load i32, ptr %7, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 58 br i1 %43, label %44, label %47 44: ; preds = %37 %45 = load i32, ptr %8, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %8, align 4 br label %47 47: ; preds = %44, %37 %48 = load i32, ptr %8, align 4 %49 = icmp eq i32 %48, 2 br i1 %49, label %50, label %51 50: ; preds = %47 br label %55 51: ; preds = %47 br label %52 52: ; preds = %51 %53 = load i32, ptr %7, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %7, align 4 br label %34, !llvm.loop !8 55: ; preds = %50, %34 %56 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0 %57 = load i32, ptr %7, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 %60 = getelementptr inbounds i8, ptr %59, i64 1 %61 = call i32 @atoi(ptr noundef %60) store i32 %61, ptr %2, align 4 br label %62 62: ; preds = %55, %11 %63 = load i32, ptr %2, align 4 ret i32 %63 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpta1xlndb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tamas\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c":\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getbirth(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [64 x i8], align 16 %6 = alloca [17 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %8, align 4 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %4, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %1 store i32 -1, ptr %2, align 4 br label %65 12: ; preds = %1 %13 = getelementptr inbounds [17 x i8], ptr %6, i64 0, i64 0 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strncpy(ptr noundef %13, ptr noundef %14, i32 noundef 16) %16 = getelementptr inbounds [17 x i8], ptr %6, i64 0, i64 0 %17 = call i32 @strcat(ptr noundef %16, ptr noundef @.str.2) %18 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0 %19 = load ptr, ptr %4, align 8 %20 = call ptr @fgets(ptr noundef %18, i32 noundef 64, ptr noundef %19) %21 = icmp ne ptr %20, null br i1 %21, label %.lr.ph, label %.loopexit1 .lr.ph: ; preds = %12 br label %26 22: ; preds = %26 %23 = load ptr, ptr %4, align 8 %24 = call ptr @fgets(ptr noundef %18, i32 noundef 64, ptr noundef %23) %25 = icmp ne ptr %24, null br i1 %25, label %26, label %..loopexit1_crit_edge, !llvm.loop !6 26: ; preds = %.lr.ph, %22 %27 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0 %28 = getelementptr inbounds [17 x i8], ptr %6, i64 0, i64 0 %29 = call ptr @strstr(ptr noundef %27, ptr noundef %28) %30 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0 %31 = icmp eq ptr %29, %30 br i1 %31, label %32, label %22 32: ; preds = %26 br label %33 ..loopexit1_crit_edge: ; preds = %22 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %12 br label %33 33: ; preds = %.loopexit1, %32 %34 = load ptr, ptr %4, align 8 %35 = call i32 @fclose(ptr noundef %34) store i32 0, ptr %7, align 4 %36 = load i32, ptr %7, align 4 %37 = icmp slt i32 %36, 64 br i1 %37, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %33 br label %38 38: ; preds = %.lr.ph2, %53 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %43, 58 br i1 %44, label %45, label %48 45: ; preds = %38 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %8, align 4 br label %48 48: ; preds = %45, %38 %49 = load i32, ptr %8, align 4 %50 = icmp eq i32 %49, 2 br i1 %50, label %51, label %52 51: ; preds = %48 br label %58 52: ; preds = %48 br label %53 53: ; preds = %52 %54 = load i32, ptr %7, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %7, align 4 %56 = load i32, ptr %7, align 4 %57 = icmp slt i32 %56, 64 br i1 %57, label %38, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %53 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %33 br label %58 58: ; preds = %.loopexit, %51 %59 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0 %60 = load i32, ptr %7, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = getelementptr inbounds i8, ptr %62, i64 1 %64 = call i32 @atoi(ptr noundef %63) store i32 %64, ptr %2, align 4 br label %65 65: ; preds = %58, %11 %66 = load i32, ptr %2, align 4 ret i32 %66 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpm46ecgy9.c' source_filename = "/tmp/tmpm46ecgy9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmGenerateAxisAngleRotationMatrix3dRad(ptr noundef %0, ptr noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store double %2, ptr %6, align 8 %9 = load double, ptr %6, align 8 %10 = call double @cos(double noundef %9) #3 store double %10, ptr %7, align 8 %11 = load double, ptr %6, align 8 %12 = call double @sin(double noundef %11) #3 store double %12, ptr %8, align 8 %13 = load double, ptr %7, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds double, ptr %14, i64 0 %16 = load double, ptr %15, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds double, ptr %17, i64 0 %19 = load double, ptr %18, align 8 %20 = fmul double %16, %19 %21 = load double, ptr %7, align 8 %22 = fsub double 1.000000e+00, %21 %23 = call double @llvm.fmuladd.f64(double %20, double %22, double %13) %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds double, ptr %24, i64 0 store double %23, ptr %25, align 8 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds double, ptr %26, i64 2 %28 = load double, ptr %27, align 8 %29 = load double, ptr %8, align 8 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds double, ptr %30, i64 1 %32 = load double, ptr %31, align 8 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds double, ptr %33, i64 0 %35 = load double, ptr %34, align 8 %36 = fmul double %32, %35 %37 = load double, ptr %7, align 8 %38 = fsub double 1.000000e+00, %37 %39 = fmul double %36, %38 %40 = call double @llvm.fmuladd.f64(double %28, double %29, double %39) %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds double, ptr %41, i64 3 store double %40, ptr %42, align 8 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds double, ptr %43, i64 1 %45 = load double, ptr %44, align 8 %46 = fneg double %45 %47 = load double, ptr %8, align 8 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds double, ptr %48, i64 2 %50 = load double, ptr %49, align 8 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds double, ptr %51, i64 0 %53 = load double, ptr %52, align 8 %54 = fmul double %50, %53 %55 = load double, ptr %7, align 8 %56 = fsub double 1.000000e+00, %55 %57 = fmul double %54, %56 %58 = call double @llvm.fmuladd.f64(double %46, double %47, double %57) %59 = load ptr, ptr %4, align 8 %60 = getelementptr inbounds double, ptr %59, i64 6 store double %58, ptr %60, align 8 %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds double, ptr %61, i64 2 %63 = load double, ptr %62, align 8 %64 = fneg double %63 %65 = load double, ptr %8, align 8 %66 = load ptr, ptr %5, align 8 %67 = getelementptr inbounds double, ptr %66, i64 0 %68 = load double, ptr %67, align 8 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds double, ptr %69, i64 1 %71 = load double, ptr %70, align 8 %72 = fmul double %68, %71 %73 = load double, ptr %7, align 8 %74 = fsub double 1.000000e+00, %73 %75 = fmul double %72, %74 %76 = call double @llvm.fmuladd.f64(double %64, double %65, double %75) %77 = load ptr, ptr %4, align 8 %78 = getelementptr inbounds double, ptr %77, i64 1 store double %76, ptr %78, align 8 %79 = load double, ptr %7, align 8 %80 = load ptr, ptr %5, align 8 %81 = getelementptr inbounds double, ptr %80, i64 1 %82 = load double, ptr %81, align 8 %83 = load ptr, ptr %5, align 8 %84 = getelementptr inbounds double, ptr %83, i64 1 %85 = load double, ptr %84, align 8 %86 = fmul double %82, %85 %87 = load double, ptr %7, align 8 %88 = fsub double 1.000000e+00, %87 %89 = call double @llvm.fmuladd.f64(double %86, double %88, double %79) %90 = load ptr, ptr %4, align 8 %91 = getelementptr inbounds double, ptr %90, i64 4 store double %89, ptr %91, align 8 %92 = load ptr, ptr %5, align 8 %93 = getelementptr inbounds double, ptr %92, i64 0 %94 = load double, ptr %93, align 8 %95 = load double, ptr %8, align 8 %96 = load ptr, ptr %5, align 8 %97 = getelementptr inbounds double, ptr %96, i64 2 %98 = load double, ptr %97, align 8 %99 = load ptr, ptr %5, align 8 %100 = getelementptr inbounds double, ptr %99, i64 1 %101 = load double, ptr %100, align 8 %102 = fmul double %98, %101 %103 = load double, ptr %7, align 8 %104 = fsub double 1.000000e+00, %103 %105 = fmul double %102, %104 %106 = call double @llvm.fmuladd.f64(double %94, double %95, double %105) %107 = load ptr, ptr %4, align 8 %108 = getelementptr inbounds double, ptr %107, i64 7 store double %106, ptr %108, align 8 %109 = load ptr, ptr %5, align 8 %110 = getelementptr inbounds double, ptr %109, i64 1 %111 = load double, ptr %110, align 8 %112 = load double, ptr %8, align 8 %113 = load ptr, ptr %5, align 8 %114 = getelementptr inbounds double, ptr %113, i64 0 %115 = load double, ptr %114, align 8 %116 = load ptr, ptr %5, align 8 %117 = getelementptr inbounds double, ptr %116, i64 2 %118 = load double, ptr %117, align 8 %119 = fmul double %115, %118 %120 = load double, ptr %7, align 8 %121 = fsub double 1.000000e+00, %120 %122 = fmul double %119, %121 %123 = call double @llvm.fmuladd.f64(double %111, double %112, double %122) %124 = load ptr, ptr %4, align 8 %125 = getelementptr inbounds double, ptr %124, i64 2 store double %123, ptr %125, align 8 %126 = load ptr, ptr %5, align 8 %127 = getelementptr inbounds double, ptr %126, i64 0 %128 = load double, ptr %127, align 8 %129 = fneg double %128 %130 = load double, ptr %8, align 8 %131 = load ptr, ptr %5, align 8 %132 = getelementptr inbounds double, ptr %131, i64 1 %133 = load double, ptr %132, align 8 %134 = load ptr, ptr %5, align 8 %135 = getelementptr inbounds double, ptr %134, i64 2 %136 = load double, ptr %135, align 8 %137 = fmul double %133, %136 %138 = load double, ptr %7, align 8 %139 = fsub double 1.000000e+00, %138 %140 = fmul double %137, %139 %141 = call double @llvm.fmuladd.f64(double %129, double %130, double %140) %142 = load ptr, ptr %4, align 8 %143 = getelementptr inbounds double, ptr %142, i64 5 store double %141, ptr %143, align 8 %144 = load double, ptr %7, align 8 %145 = load ptr, ptr %5, align 8 %146 = getelementptr inbounds double, ptr %145, i64 2 %147 = load double, ptr %146, align 8 %148 = load ptr, ptr %5, align 8 %149 = getelementptr inbounds double, ptr %148, i64 2 %150 = load double, ptr %149, align 8 %151 = fmul double %147, %150 %152 = load double, ptr %7, align 8 %153 = fsub double 1.000000e+00, %152 %154 = call double @llvm.fmuladd.f64(double %151, double %153, double %144) %155 = load ptr, ptr %4, align 8 %156 = getelementptr inbounds double, ptr %155, i64 8 store double %154, ptr %156, align 8 ret void } ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm46ecgy9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmGenerateAxisAngleRotationMatrix3dRad(ptr noundef %0, ptr noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store double %2, ptr %6, align 8 %9 = load double, ptr %6, align 8 %10 = call double @cos(double noundef %9) #3 store double %10, ptr %7, align 8 %11 = load double, ptr %6, align 8 %12 = call double @sin(double noundef %11) #3 store double %12, ptr %8, align 8 %13 = load double, ptr %7, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds double, ptr %14, i64 0 %16 = load double, ptr %15, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds double, ptr %17, i64 0 %19 = load double, ptr %18, align 8 %20 = fmul double %16, %19 %21 = load double, ptr %7, align 8 %22 = fsub double 1.000000e+00, %21 %23 = call double @llvm.fmuladd.f64(double %20, double %22, double %13) %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds double, ptr %24, i64 0 store double %23, ptr %25, align 8 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds double, ptr %26, i64 2 %28 = load double, ptr %27, align 8 %29 = load double, ptr %8, align 8 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds double, ptr %30, i64 1 %32 = load double, ptr %31, align 8 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds double, ptr %33, i64 0 %35 = load double, ptr %34, align 8 %36 = fmul double %32, %35 %37 = load double, ptr %7, align 8 %38 = fsub double 1.000000e+00, %37 %39 = fmul double %36, %38 %40 = call double @llvm.fmuladd.f64(double %28, double %29, double %39) %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds double, ptr %41, i64 3 store double %40, ptr %42, align 8 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds double, ptr %43, i64 1 %45 = load double, ptr %44, align 8 %46 = fneg double %45 %47 = load double, ptr %8, align 8 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds double, ptr %48, i64 2 %50 = load double, ptr %49, align 8 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds double, ptr %51, i64 0 %53 = load double, ptr %52, align 8 %54 = fmul double %50, %53 %55 = load double, ptr %7, align 8 %56 = fsub double 1.000000e+00, %55 %57 = fmul double %54, %56 %58 = call double @llvm.fmuladd.f64(double %46, double %47, double %57) %59 = load ptr, ptr %4, align 8 %60 = getelementptr inbounds double, ptr %59, i64 6 store double %58, ptr %60, align 8 %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds double, ptr %61, i64 2 %63 = load double, ptr %62, align 8 %64 = fneg double %63 %65 = load double, ptr %8, align 8 %66 = load ptr, ptr %5, align 8 %67 = getelementptr inbounds double, ptr %66, i64 0 %68 = load double, ptr %67, align 8 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds double, ptr %69, i64 1 %71 = load double, ptr %70, align 8 %72 = fmul double %68, %71 %73 = load double, ptr %7, align 8 %74 = fsub double 1.000000e+00, %73 %75 = fmul double %72, %74 %76 = call double @llvm.fmuladd.f64(double %64, double %65, double %75) %77 = load ptr, ptr %4, align 8 %78 = getelementptr inbounds double, ptr %77, i64 1 store double %76, ptr %78, align 8 %79 = load double, ptr %7, align 8 %80 = load ptr, ptr %5, align 8 %81 = getelementptr inbounds double, ptr %80, i64 1 %82 = load double, ptr %81, align 8 %83 = load ptr, ptr %5, align 8 %84 = getelementptr inbounds double, ptr %83, i64 1 %85 = load double, ptr %84, align 8 %86 = fmul double %82, %85 %87 = load double, ptr %7, align 8 %88 = fsub double 1.000000e+00, %87 %89 = call double @llvm.fmuladd.f64(double %86, double %88, double %79) %90 = load ptr, ptr %4, align 8 %91 = getelementptr inbounds double, ptr %90, i64 4 store double %89, ptr %91, align 8 %92 = load ptr, ptr %5, align 8 %93 = getelementptr inbounds double, ptr %92, i64 0 %94 = load double, ptr %93, align 8 %95 = load double, ptr %8, align 8 %96 = load ptr, ptr %5, align 8 %97 = getelementptr inbounds double, ptr %96, i64 2 %98 = load double, ptr %97, align 8 %99 = load ptr, ptr %5, align 8 %100 = getelementptr inbounds double, ptr %99, i64 1 %101 = load double, ptr %100, align 8 %102 = fmul double %98, %101 %103 = load double, ptr %7, align 8 %104 = fsub double 1.000000e+00, %103 %105 = fmul double %102, %104 %106 = call double @llvm.fmuladd.f64(double %94, double %95, double %105) %107 = load ptr, ptr %4, align 8 %108 = getelementptr inbounds double, ptr %107, i64 7 store double %106, ptr %108, align 8 %109 = load ptr, ptr %5, align 8 %110 = getelementptr inbounds double, ptr %109, i64 1 %111 = load double, ptr %110, align 8 %112 = load double, ptr %8, align 8 %113 = load ptr, ptr %5, align 8 %114 = getelementptr inbounds double, ptr %113, i64 0 %115 = load double, ptr %114, align 8 %116 = load ptr, ptr %5, align 8 %117 = getelementptr inbounds double, ptr %116, i64 2 %118 = load double, ptr %117, align 8 %119 = fmul double %115, %118 %120 = load double, ptr %7, align 8 %121 = fsub double 1.000000e+00, %120 %122 = fmul double %119, %121 %123 = call double @llvm.fmuladd.f64(double %111, double %112, double %122) %124 = load ptr, ptr %4, align 8 %125 = getelementptr inbounds double, ptr %124, i64 2 store double %123, ptr %125, align 8 %126 = load ptr, ptr %5, align 8 %127 = getelementptr inbounds double, ptr %126, i64 0 %128 = load double, ptr %127, align 8 %129 = fneg double %128 %130 = load double, ptr %8, align 8 %131 = load ptr, ptr %5, align 8 %132 = getelementptr inbounds double, ptr %131, i64 1 %133 = load double, ptr %132, align 8 %134 = load ptr, ptr %5, align 8 %135 = getelementptr inbounds double, ptr %134, i64 2 %136 = load double, ptr %135, align 8 %137 = fmul double %133, %136 %138 = load double, ptr %7, align 8 %139 = fsub double 1.000000e+00, %138 %140 = fmul double %137, %139 %141 = call double @llvm.fmuladd.f64(double %129, double %130, double %140) %142 = load ptr, ptr %4, align 8 %143 = getelementptr inbounds double, ptr %142, i64 5 store double %141, ptr %143, align 8 %144 = load double, ptr %7, align 8 %145 = load ptr, ptr %5, align 8 %146 = getelementptr inbounds double, ptr %145, i64 2 %147 = load double, ptr %146, align 8 %148 = load ptr, ptr %5, align 8 %149 = getelementptr inbounds double, ptr %148, i64 2 %150 = load double, ptr %149, align 8 %151 = fmul double %147, %150 %152 = load double, ptr %7, align 8 %153 = fsub double 1.000000e+00, %152 %154 = call double @llvm.fmuladd.f64(double %151, double %153, double %144) %155 = load ptr, ptr %4, align 8 %156 = getelementptr inbounds double, ptr %155, i64 8 store double %154, ptr %156, align 8 ret void } ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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"}
; ModuleID = '/tmp/tmp9e03y4lk.c' source_filename = "/tmp/tmp9e03y4lk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 4, %10 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %13, ptr %3, align 4 br label %47 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 2 %20 = load ptr, ptr %19, align 8 store ptr %20, ptr %8, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 3 %23 = load ptr, ptr %22, align 8 store ptr %23, ptr %7, align 8 br label %24 24: ; preds = %14 store i32 0, ptr %9, align 4 br label %25 25: ; preds = %35, %24 %26 = load i32, ptr %9, align 4 %27 = icmp slt i32 %26, 64 br i1 %27, label %28, label %38 28: ; preds = %25 %29 = load ptr, ptr %6, align 8 %30 = call i64 @chdir(ptr noundef %29) %31 = icmp sgt i64 0, %30 br i1 %31, label %32, label %34 32: ; preds = %28 %33 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %33, ptr %3, align 4 br label %47 34: ; preds = %28 br label %35 35: ; preds = %34 %36 = load i32, ptr %9, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %9, align 4 br label %25, !llvm.loop !6 38: ; preds = %25 %39 = load ptr, ptr %8, align 8 %40 = load ptr, ptr %7, align 8 %41 = call i64 @symlink(ptr noundef %39, ptr noundef %40) %42 = icmp sgt i64 0, %41 br i1 %42, label %43, label %45 43: ; preds = %38 %44 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %44, ptr %3, align 4 br label %47 45: ; preds = %38 %46 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %46, ptr %3, align 4 br label %47 47: ; preds = %45, %43, %32, %12 %48 = load i32, ptr %3, align 4 ret i32 %48 } declare i64 @chdir(ptr noundef) #1 declare i64 @symlink(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/tmp9e03y4lk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 4, %10 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %13, ptr %3, align 4 br label %48 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 2 %20 = load ptr, ptr %19, align 8 store ptr %20, ptr %8, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 3 %23 = load ptr, ptr %22, align 8 store ptr %23, ptr %7, align 8 br label %24 24: ; preds = %14 store i32 0, ptr %9, align 4 %25 = load i32, ptr %9, align 4 %26 = icmp slt i32 %25, 64 br i1 %26, label %.lr.ph, label %39 .lr.ph: ; preds = %24 br label %27 27: ; preds = %.lr.ph, %34 %28 = load ptr, ptr %6, align 8 %29 = call i64 @chdir(ptr noundef %28) %30 = icmp sgt i64 0, %29 br i1 %30, label %31, label %33 31: ; preds = %27 %32 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %32, ptr %3, align 4 br label %48 33: ; preds = %27 br label %34 34: ; preds = %33 %35 = load i32, ptr %9, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %9, align 4 %37 = load i32, ptr %9, align 4 %38 = icmp slt i32 %37, 64 br i1 %38, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %39 39: ; preds = %._crit_edge, %24 %40 = load ptr, ptr %8, align 8 %41 = load ptr, ptr %7, align 8 %42 = call i64 @symlink(ptr noundef %40, ptr noundef %41) %43 = icmp sgt i64 0, %42 br i1 %43, label %44, label %46 44: ; preds = %39 %45 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %45, ptr %3, align 4 br label %48 46: ; preds = %39 %47 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %47, ptr %3, align 4 br label %48 48: ; preds = %46, %44, %31, %12 %49 = load i32, ptr %3, align 4 ret i32 %49 } declare i64 @chdir(ptr noundef) #1 declare i64 @symlink(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/tmps4oath0c.c' source_filename = "/tmp/tmps4oath0c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [86 x i8] c"Usage: %s < --read | --write > [ --verbose ] <totally_legit_rom.gb> [<dontsteal.gb>]\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c" %s --delete BANK [BANK]...\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c" %s --format\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c" %s --title\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c" %s --version\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c" %s --help\0A\00", align 1 @.str.6 = private unnamed_addr constant [61 x i8] c"Writes a ROM or SAV file to the EMS 64 Mbit USB flash cart\0A\0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1 @.str.8 = private unnamed_addr constant [56 x i8] c" --read read entire cart into file\0A\00", align 1 @.str.9 = private unnamed_addr constant [55 x i8] c" --write write ROM file(s) to cart\0A\00", align 1 @.str.10 = private unnamed_addr constant [73 x i8] c" --delete delete ROMs with the specified bank numbers\0A\00", align 1 @.str.11 = private unnamed_addr constant [67 x i8] c" --format delete all ROMs of the specified page\0A\00", align 1 @.str.12 = private unnamed_addr constant [60 x i8] c" --title title of the ROM in both banks\0A\00", align 1 @.str.13 = private unnamed_addr constant [55 x i8] c" --verbose displays more information\0A\00", align 1 @.str.14 = private unnamed_addr constant [55 x i8] c" --bank <num> select cart bank (1 or 2)\0A\00", align 1 @.str.15 = private unnamed_addr constant [49 x i8] c" --save force write to SRAM\0A\00", align 1 @.str.16 = private unnamed_addr constant [54 x i8] c" --rom force write to Flash ROM\0A\00", align 1 @.str.17 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.18 = private unnamed_addr constant [60 x i8] c"You MUST supply exactly one of --read, --write, or --title\0A\00", align 1 @.str.19 = private unnamed_addr constant [67 x i8] c"Reading or writing with a file ending in .sav will write to SRAM.\0A\00", align 1 @.str.20 = private unnamed_addr constant [72 x i8] c"To select between ROM and SRAM, use ONE of the --save / --rom options.\0A\00", align 1 @.str.21 = private unnamed_addr constant [19 x i8] c"Advanced options:\0A\00", align 1 @.str.22 = private unnamed_addr constant [76 x i8] c" --blocksize <size> bytes per block (default: 4096 read, 32 write)\0A\00", align 1 @.str.23 = private unnamed_addr constant [59 x i8] c"Written by Mike Ryan <[email protected]> and others\0A\00", align 1 @.str.24 = private unnamed_addr constant [29 x i8] c"See web site for more info:\0A\00", align 1 @.str.25 = private unnamed_addr constant [35 x i8] c" http://lacklustre.net/gb/ems/\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %9) %11 = load ptr, ptr %2, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %11) %13 = load ptr, ptr %2, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) %37 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps4oath0c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [86 x i8] c"Usage: %s < --read | --write > [ --verbose ] <totally_legit_rom.gb> [<dontsteal.gb>]\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c" %s --delete BANK [BANK]...\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c" %s --format\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c" %s --title\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c" %s --version\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c" %s --help\0A\00", align 1 @.str.6 = private unnamed_addr constant [61 x i8] c"Writes a ROM or SAV file to the EMS 64 Mbit USB flash cart\0A\0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1 @.str.8 = private unnamed_addr constant [56 x i8] c" --read read entire cart into file\0A\00", align 1 @.str.9 = private unnamed_addr constant [55 x i8] c" --write write ROM file(s) to cart\0A\00", align 1 @.str.10 = private unnamed_addr constant [73 x i8] c" --delete delete ROMs with the specified bank numbers\0A\00", align 1 @.str.11 = private unnamed_addr constant [67 x i8] c" --format delete all ROMs of the specified page\0A\00", align 1 @.str.12 = private unnamed_addr constant [60 x i8] c" --title title of the ROM in both banks\0A\00", align 1 @.str.13 = private unnamed_addr constant [55 x i8] c" --verbose displays more information\0A\00", align 1 @.str.14 = private unnamed_addr constant [55 x i8] c" --bank <num> select cart bank (1 or 2)\0A\00", align 1 @.str.15 = private unnamed_addr constant [49 x i8] c" --save force write to SRAM\0A\00", align 1 @.str.16 = private unnamed_addr constant [54 x i8] c" --rom force write to Flash ROM\0A\00", align 1 @.str.17 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.18 = private unnamed_addr constant [60 x i8] c"You MUST supply exactly one of --read, --write, or --title\0A\00", align 1 @.str.19 = private unnamed_addr constant [67 x i8] c"Reading or writing with a file ending in .sav will write to SRAM.\0A\00", align 1 @.str.20 = private unnamed_addr constant [72 x i8] c"To select between ROM and SRAM, use ONE of the --save / --rom options.\0A\00", align 1 @.str.21 = private unnamed_addr constant [19 x i8] c"Advanced options:\0A\00", align 1 @.str.22 = private unnamed_addr constant [76 x i8] c" --blocksize <size> bytes per block (default: 4096 read, 32 write)\0A\00", align 1 @.str.23 = private unnamed_addr constant [59 x i8] c"Written by Mike Ryan <[email protected]> and others\0A\00", align 1 @.str.24 = private unnamed_addr constant [29 x i8] c"See web site for more info:\0A\00", align 1 @.str.25 = private unnamed_addr constant [35 x i8] c" http://lacklustre.net/gb/ems/\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %9) %11 = load ptr, ptr %2, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %11) %13 = load ptr, ptr %2, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) %37 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp07n4v4qn.c' source_filename = "/tmp/tmp07n4v4qn.c" target datalayout = "e-m:e-p270: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/tmp07n4v4qn.c" target datalayout = "e-m:e-p270: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/tmpou5gndel.c' source_filename = "/tmp/tmpou5gndel.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#! /bin/csh -f\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"#\0A\00", align 1 @.str.2 = private unnamed_addr constant [59 x i8] c"# Example template for tkrun, generated with 'tkrun -e'\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"#> IFILE in=\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"#> OFILE out=\0A\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"#> IDIR indir=\0A\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"#> ENTRY eps=0.01\0A\00", align 1 @.str.7 = private unnamed_addr constant [58 x i8] c"#> RADIO mode=gauss gauss,newton,leibniz\0A\00", align 1 @.str.8 = private unnamed_addr constant [70 x i8] c"#> CHECK options=mean,sigma sum,mean,sigma,skewness,kurtosis\0A\00", align 1 @.str.9 = private unnamed_addr constant [47 x i8] c"#> SCALE n=3.141592 0:10:0.01\0A\00", align 1 @.str.10 = private unnamed_addr constant [72 x i8] c"# In csh scripts you can also now merge the \22set\22 and \22#>\22 lines, e.g.\0A\00", align 1 @.str.11 = private unnamed_addr constant [37 x i8] c"set a=1 #> SLIDER a=1 0:10:0.1\0A\00", align 1 @.str.12 = private unnamed_addr constant [19 x i8] c"foreach _arg ($*)\0A\00", align 1 @.str.13 = private unnamed_addr constant [13 x i8] c" set $_arg\0A\00", align 1 @.str.14 = private unnamed_addr constant [5 x i8] c"end\0A\00", align 1 @.str.15 = private unnamed_addr constant [43 x i8] c"\0A# some example code using the variables:\0A\00", align 1 @.str.16 = private unnamed_addr constant [19 x i8] c"echo in =$in\0A\00", align 1 @.str.17 = private unnamed_addr constant [22 x i8] c"echo indir =$indir\0A\00", align 1 @.str.18 = private unnamed_addr constant [20 x i8] c"echo out =$out\0A\00", align 1 @.str.19 = private unnamed_addr constant [20 x i8] c"echo eps =$eps\0A\00", align 1 @.str.20 = private unnamed_addr constant [21 x i8] c"echo mode =$mode\0A\00", align 1 @.str.21 = private unnamed_addr constant [24 x i8] c"echo options =$options\0A\00", align 1 @.str.22 = private unnamed_addr constant [18 x i8] c"echo n =$n\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @example() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.1) %6 = call i32 @printf(ptr noundef @.str.3) %7 = call i32 @printf(ptr noundef @.str.4) %8 = call i32 @printf(ptr noundef @.str.5) %9 = call i32 @printf(ptr noundef @.str.6) %10 = call i32 @printf(ptr noundef @.str.7) %11 = call i32 @printf(ptr noundef @.str.8) %12 = call i32 @printf(ptr noundef @.str.9) %13 = call i32 @printf(ptr noundef @.str.1) %14 = call i32 @printf(ptr noundef @.str.10) %15 = call i32 @printf(ptr noundef @.str.1) %16 = call i32 @printf(ptr noundef @.str.11) %17 = call i32 @printf(ptr noundef @.str.1) %18 = call i32 @printf(ptr noundef @.str.12) %19 = call i32 @printf(ptr noundef @.str.13) %20 = call i32 @printf(ptr noundef @.str.14) %21 = call i32 @printf(ptr noundef @.str.15) %22 = call i32 @printf(ptr noundef @.str.16) %23 = call i32 @printf(ptr noundef @.str.17) %24 = call i32 @printf(ptr noundef @.str.18) %25 = call i32 @printf(ptr noundef @.str.19) %26 = call i32 @printf(ptr noundef @.str.20) %27 = call i32 @printf(ptr noundef @.str.21) %28 = call i32 @printf(ptr noundef @.str.22) %29 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpou5gndel.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#! /bin/csh -f\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"#\0A\00", align 1 @.str.2 = private unnamed_addr constant [59 x i8] c"# Example template for tkrun, generated with 'tkrun -e'\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"#> IFILE in=\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"#> OFILE out=\0A\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"#> IDIR indir=\0A\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"#> ENTRY eps=0.01\0A\00", align 1 @.str.7 = private unnamed_addr constant [58 x i8] c"#> RADIO mode=gauss gauss,newton,leibniz\0A\00", align 1 @.str.8 = private unnamed_addr constant [70 x i8] c"#> CHECK options=mean,sigma sum,mean,sigma,skewness,kurtosis\0A\00", align 1 @.str.9 = private unnamed_addr constant [47 x i8] c"#> SCALE n=3.141592 0:10:0.01\0A\00", align 1 @.str.10 = private unnamed_addr constant [72 x i8] c"# In csh scripts you can also now merge the \22set\22 and \22#>\22 lines, e.g.\0A\00", align 1 @.str.11 = private unnamed_addr constant [37 x i8] c"set a=1 #> SLIDER a=1 0:10:0.1\0A\00", align 1 @.str.12 = private unnamed_addr constant [19 x i8] c"foreach _arg ($*)\0A\00", align 1 @.str.13 = private unnamed_addr constant [13 x i8] c" set $_arg\0A\00", align 1 @.str.14 = private unnamed_addr constant [5 x i8] c"end\0A\00", align 1 @.str.15 = private unnamed_addr constant [43 x i8] c"\0A# some example code using the variables:\0A\00", align 1 @.str.16 = private unnamed_addr constant [19 x i8] c"echo in =$in\0A\00", align 1 @.str.17 = private unnamed_addr constant [22 x i8] c"echo indir =$indir\0A\00", align 1 @.str.18 = private unnamed_addr constant [20 x i8] c"echo out =$out\0A\00", align 1 @.str.19 = private unnamed_addr constant [20 x i8] c"echo eps =$eps\0A\00", align 1 @.str.20 = private unnamed_addr constant [21 x i8] c"echo mode =$mode\0A\00", align 1 @.str.21 = private unnamed_addr constant [24 x i8] c"echo options =$options\0A\00", align 1 @.str.22 = private unnamed_addr constant [18 x i8] c"echo n =$n\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @example() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.1) %6 = call i32 @printf(ptr noundef @.str.3) %7 = call i32 @printf(ptr noundef @.str.4) %8 = call i32 @printf(ptr noundef @.str.5) %9 = call i32 @printf(ptr noundef @.str.6) %10 = call i32 @printf(ptr noundef @.str.7) %11 = call i32 @printf(ptr noundef @.str.8) %12 = call i32 @printf(ptr noundef @.str.9) %13 = call i32 @printf(ptr noundef @.str.1) %14 = call i32 @printf(ptr noundef @.str.10) %15 = call i32 @printf(ptr noundef @.str.1) %16 = call i32 @printf(ptr noundef @.str.11) %17 = call i32 @printf(ptr noundef @.str.1) %18 = call i32 @printf(ptr noundef @.str.12) %19 = call i32 @printf(ptr noundef @.str.13) %20 = call i32 @printf(ptr noundef @.str.14) %21 = call i32 @printf(ptr noundef @.str.15) %22 = call i32 @printf(ptr noundef @.str.16) %23 = call i32 @printf(ptr noundef @.str.17) %24 = call i32 @printf(ptr noundef @.str.18) %25 = call i32 @printf(ptr noundef @.str.19) %26 = call i32 @printf(ptr noundef @.str.20) %27 = call i32 @printf(ptr noundef @.str.21) %28 = call i32 @printf(ptr noundef @.str.22) %29 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaldgzzbv.c' source_filename = "/tmp/tmpaldgzzbv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [45 x i8] c"crypto_enc: couldn't initialize EVP context\0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"crypto_enc: EVP_EncryptInit_ex failed\0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"crypto_enc: EVP_EncryptUpdate failed\0A\00", align 1 @.str.3 = private unnamed_addr constant [40 x i8] c"crypto_enc: EVP_EncryptFinal_ex failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @crypto_enc(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store i64 %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 %16 = call ptr (...) @EVP_CIPHER_CTX_new() store ptr %16, ptr %14, align 8 %17 = load ptr, ptr %14, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %22, label %19 19: ; preds = %6 %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str) store i32 1, ptr %7, align 4 br label %64 22: ; preds = %6 %23 = load ptr, ptr %14, align 8 %24 = call i32 (...) @EVP_aes_256_cbc() %25 = load ptr, ptr %13, align 8 %26 = load ptr, ptr %12, align 8 %27 = call i32 @EVP_EncryptInit_ex(ptr noundef %23, i32 noundef %24, ptr noundef null, ptr noundef %25, ptr noundef %26) %28 = icmp ne i32 %27, 1 br i1 %28, label %29, label %32 29: ; preds = %22 %30 = load i32, ptr @stderr, align 4 %31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.1) store i32 1, ptr %7, align 4 br label %64 32: ; preds = %22 %33 = load ptr, ptr %14, align 8 %34 = load ptr, ptr %10, align 8 %35 = load ptr, ptr %8, align 8 %36 = load i64, ptr %9, align 8 %37 = call i32 @EVP_EncryptUpdate(ptr noundef %33, ptr noundef %34, ptr noundef %15, ptr noundef %35, i64 noundef %36) %38 = icmp ne i32 %37, 1 br i1 %38, label %39, label %42 39: ; preds = %32 %40 = load i32, ptr @stderr, align 4 %41 = call i32 @fprintf(i32 noundef %40, ptr noundef @.str.2) store i32 1, ptr %7, align 4 br label %64 42: ; preds = %32 %43 = load i32, ptr %15, align 4 %44 = sext i32 %43 to i64 %45 = load ptr, ptr %11, align 8 store i64 %44, ptr %45, align 8 %46 = load ptr, ptr %14, align 8 %47 = load ptr, ptr %10, align 8 %48 = load ptr, ptr %11, align 8 %49 = load i64, ptr %48, align 8 %50 = getelementptr i8, ptr %47, i64 %49 %51 = call i32 @EVP_EncryptFinal_ex(ptr noundef %46, ptr noundef %50, ptr noundef %15) %52 = icmp ne i32 %51, 1 br i1 %52, label %53, label %56 53: ; preds = %42 %54 = load i32, ptr @stderr, align 4 %55 = call i32 @fprintf(i32 noundef %54, ptr noundef @.str.3) store i32 1, ptr %7, align 4 br label %64 56: ; preds = %42 %57 = load i32, ptr %15, align 4 %58 = sext i32 %57 to i64 %59 = load ptr, ptr %11, align 8 %60 = load i64, ptr %59, align 8 %61 = add i64 %60, %58 store i64 %61, ptr %59, align 8 %62 = load ptr, ptr %14, align 8 %63 = call i32 @EVP_CIPHER_CTX_free(ptr noundef %62) store i32 0, ptr %7, align 4 br label %64 64: ; preds = %56, %53, %39, %29, %19 %65 = load i32, ptr %7, align 4 ret i32 %65 } declare ptr @EVP_CIPHER_CTX_new(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @EVP_EncryptInit_ex(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @EVP_aes_256_cbc(...) #1 declare i32 @EVP_EncryptUpdate(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @EVP_EncryptFinal_ex(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @EVP_CIPHER_CTX_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/tmpaldgzzbv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [45 x i8] c"crypto_enc: couldn't initialize EVP context\0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"crypto_enc: EVP_EncryptInit_ex failed\0A\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"crypto_enc: EVP_EncryptUpdate failed\0A\00", align 1 @.str.3 = private unnamed_addr constant [40 x i8] c"crypto_enc: EVP_EncryptFinal_ex failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @crypto_enc(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store i64 %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 %16 = call ptr (...) @EVP_CIPHER_CTX_new() store ptr %16, ptr %14, align 8 %17 = load ptr, ptr %14, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %22, label %19 19: ; preds = %6 %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str) store i32 1, ptr %7, align 4 br label %64 22: ; preds = %6 %23 = load ptr, ptr %14, align 8 %24 = call i32 (...) @EVP_aes_256_cbc() %25 = load ptr, ptr %13, align 8 %26 = load ptr, ptr %12, align 8 %27 = call i32 @EVP_EncryptInit_ex(ptr noundef %23, i32 noundef %24, ptr noundef null, ptr noundef %25, ptr noundef %26) %28 = icmp ne i32 %27, 1 br i1 %28, label %29, label %32 29: ; preds = %22 %30 = load i32, ptr @stderr, align 4 %31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.1) store i32 1, ptr %7, align 4 br label %64 32: ; preds = %22 %33 = load ptr, ptr %14, align 8 %34 = load ptr, ptr %10, align 8 %35 = load ptr, ptr %8, align 8 %36 = load i64, ptr %9, align 8 %37 = call i32 @EVP_EncryptUpdate(ptr noundef %33, ptr noundef %34, ptr noundef %15, ptr noundef %35, i64 noundef %36) %38 = icmp ne i32 %37, 1 br i1 %38, label %39, label %42 39: ; preds = %32 %40 = load i32, ptr @stderr, align 4 %41 = call i32 @fprintf(i32 noundef %40, ptr noundef @.str.2) store i32 1, ptr %7, align 4 br label %64 42: ; preds = %32 %43 = load i32, ptr %15, align 4 %44 = sext i32 %43 to i64 %45 = load ptr, ptr %11, align 8 store i64 %44, ptr %45, align 8 %46 = load ptr, ptr %14, align 8 %47 = load ptr, ptr %10, align 8 %48 = load ptr, ptr %11, align 8 %49 = load i64, ptr %48, align 8 %50 = getelementptr i8, ptr %47, i64 %49 %51 = call i32 @EVP_EncryptFinal_ex(ptr noundef %46, ptr noundef %50, ptr noundef %15) %52 = icmp ne i32 %51, 1 br i1 %52, label %53, label %56 53: ; preds = %42 %54 = load i32, ptr @stderr, align 4 %55 = call i32 @fprintf(i32 noundef %54, ptr noundef @.str.3) store i32 1, ptr %7, align 4 br label %64 56: ; preds = %42 %57 = load i32, ptr %15, align 4 %58 = sext i32 %57 to i64 %59 = load ptr, ptr %11, align 8 %60 = load i64, ptr %59, align 8 %61 = add i64 %60, %58 store i64 %61, ptr %59, align 8 %62 = load ptr, ptr %14, align 8 %63 = call i32 @EVP_CIPHER_CTX_free(ptr noundef %62) store i32 0, ptr %7, align 4 br label %64 64: ; preds = %56, %53, %39, %29, %19 %65 = load i32, ptr %7, align 4 ret i32 %65 } declare ptr @EVP_CIPHER_CTX_new(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @EVP_EncryptInit_ex(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @EVP_aes_256_cbc(...) #1 declare i32 @EVP_EncryptUpdate(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @EVP_EncryptFinal_ex(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @EVP_CIPHER_CTX_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/tmp0gaz4t7k.c' source_filename = "/tmp/tmp0gaz4t7k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %35, %3 %9 = load i32, ptr %7, align 4 %10 = icmp slt i32 %9, 256 br i1 %10, label %11, label %38 11: ; preds = %8 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %7, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i16, ptr %12, i64 %14 %16 = load i16, ptr %15, align 2 %17 = sext i16 %16 to i32 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i16, ptr %18, i64 %20 %22 = load i16, ptr %21, align 2 %23 = sext i16 %22 to i32 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i16, ptr %24, i64 %26 %28 = load i16, ptr %27, align 2 %29 = sext i16 %28 to i32 %30 = add nsw i32 %23, %29 %31 = icmp ne i32 %17, %30 br i1 %31, label %32, label %34 32: ; preds = %11 %33 = call i32 (...) @abort() #2 unreachable 34: ; preds = %11 br label %35 35: ; preds = %34 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 br label %8, !llvm.loop !6 38: ; preds = %8 ret void } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0gaz4t7k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = icmp slt i32 %8, 256 br i1 %9, label %.lr.ph, label %39 .lr.ph: ; preds = %3 br label %10 10: ; preds = %.lr.ph, %34 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %7, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i16, ptr %11, i64 %13 %15 = load i16, ptr %14, align 2 %16 = sext i16 %15 to i32 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i16, ptr %17, i64 %19 %21 = load i16, ptr %20, align 2 %22 = sext i16 %21 to i32 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i16, ptr %23, i64 %25 %27 = load i16, ptr %26, align 2 %28 = sext i16 %27 to i32 %29 = add nsw i32 %22, %28 %30 = icmp ne i32 %16, %29 br i1 %30, label %31, label %33 31: ; preds = %10 %32 = call i32 (...) @abort() #2 unreachable 33: ; preds = %10 br label %34 34: ; preds = %33 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 %37 = load i32, ptr %7, align 4 %38 = icmp slt i32 %37, 256 br i1 %38, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %39 39: ; preds = %._crit_edge, %3 ret void } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp33kr_2rm.c' source_filename = "/tmp/tmp33kr_2rm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @burbujaMejorada(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 1, ptr %11, align 4 %12 = load ptr, ptr %7, align 8 store i32 0, ptr %12, align 4 %13 = load ptr, ptr %8, align 8 store i32 0, ptr %13, align 4 store i32 0, ptr %9, align 4 br label %14 14: ; preds = %64, %4 %15 = load i32, ptr %9, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp ult i32 %15, %16 br i1 %17, label %18, label %21 18: ; preds = %14 %19 = load i32, ptr %11, align 4 %20 = icmp eq i32 %19, 1 br label %21 21: ; preds = %18, %14 %22 = phi i1 [ false, %14 ], [ %20, %18 ] br i1 %22, label %23, label %67 23: ; preds = %21 store i32 0, ptr %11, align 4 store i32 0, ptr %10, align 4 br label %24 24: ; preds = %60, %23 %25 = load i32, ptr %10, align 4 %26 = load i32, ptr %6, align 4 %27 = sub i32 %26, 1 %28 = icmp ult i32 %25, %27 br i1 %28, label %29, label %63 29: ; preds = %24 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %10, align 4 %32 = zext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %10, align 4 %37 = add i32 %36, 1 %38 = zext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %35, i64 %38 %40 = load i32, ptr %39, align 4 %41 = icmp sgt i32 %34, %40 br i1 %41, label %42, label %56 42: ; preds = %29 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %10, align 4 %45 = zext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %10, align 4 %49 = add i32 %48, 1 %50 = zext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %47, i64 %50 %52 = call i32 @intercambiar(ptr noundef %46, ptr noundef %51) store i32 1, ptr %11, align 4 %53 = load ptr, ptr %8, align 8 %54 = load i32, ptr %53, align 4 %55 = add i32 %54, 1 store i32 %55, ptr %53, align 4 br label %56 56: ; preds = %42, %29 %57 = load ptr, ptr %7, align 8 %58 = load i32, ptr %57, align 4 %59 = add i32 %58, 1 store i32 %59, ptr %57, align 4 br label %60 60: ; preds = %56 %61 = load i32, ptr %10, align 4 %62 = add i32 %61, 1 store i32 %62, ptr %10, align 4 br label %24, !llvm.loop !6 63: ; preds = %24 br label %64 64: ; preds = %63 %65 = load i32, ptr %9, align 4 %66 = add i32 %65, 1 store i32 %66, ptr %9, align 4 br label %14, !llvm.loop !8 67: ; preds = %21 %68 = load i32, ptr %9, align 4 ret i32 %68 } declare i32 @intercambiar(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp33kr_2rm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @burbujaMejorada(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 1, ptr %11, align 4 %12 = load ptr, ptr %7, align 8 store i32 0, ptr %12, align 4 %13 = load ptr, ptr %8, align 8 store i32 0, ptr %13, align 4 store i32 0, ptr %9, align 4 br label %14 14: ; preds = %67, %4 %15 = load i32, ptr %9, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp ult i32 %15, %16 br i1 %17, label %18, label %21 18: ; preds = %14 %19 = load i32, ptr %11, align 4 %20 = icmp eq i32 %19, 1 br label %21 21: ; preds = %18, %14 %22 = phi i1 [ false, %14 ], [ %20, %18 ] br i1 %22, label %23, label %70 23: ; preds = %21 store i32 0, ptr %11, align 4 store i32 0, ptr %10, align 4 %24 = load i32, ptr %10, align 4 %25 = load i32, ptr %6, align 4 %26 = sub i32 %25, 1 %27 = icmp ult i32 %24, %26 br i1 %27, label %.lr.ph, label %66 .lr.ph: ; preds = %23 br label %28 28: ; preds = %.lr.ph, %59 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %10, align 4 %31 = zext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = load i32, ptr %32, align 4 %34 = load ptr, ptr %5, align 8 %35 = load i32, ptr %10, align 4 %36 = add i32 %35, 1 %37 = zext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %34, i64 %37 %39 = load i32, ptr %38, align 4 %40 = icmp sgt i32 %33, %39 br i1 %40, label %41, label %55 41: ; preds = %28 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %10, align 4 %44 = zext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 %46 = load ptr, ptr %5, align 8 %47 = load i32, ptr %10, align 4 %48 = add i32 %47, 1 %49 = zext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %46, i64 %49 %51 = call i32 @intercambiar(ptr noundef %45, ptr noundef %50) store i32 1, ptr %11, align 4 %52 = load ptr, ptr %8, align 8 %53 = load i32, ptr %52, align 4 %54 = add i32 %53, 1 store i32 %54, ptr %52, align 4 br label %55 55: ; preds = %41, %28 %56 = load ptr, ptr %7, align 8 %57 = load i32, ptr %56, align 4 %58 = add i32 %57, 1 store i32 %58, ptr %56, align 4 br label %59 59: ; preds = %55 %60 = load i32, ptr %10, align 4 %61 = add i32 %60, 1 store i32 %61, ptr %10, align 4 %62 = load i32, ptr %10, align 4 %63 = load i32, ptr %6, align 4 %64 = sub i32 %63, 1 %65 = icmp ult i32 %62, %64 br i1 %65, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %59 br label %66 66: ; preds = %._crit_edge, %23 br label %67 67: ; preds = %66 %68 = load i32, ptr %9, align 4 %69 = add i32 %68, 1 store i32 %69, ptr %9, align 4 br label %14, !llvm.loop !8 70: ; preds = %21 %71 = load i32, ptr %9, align 4 ret i32 %71 } declare i32 @intercambiar(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp63xkthu5.c' source_filename = "/tmp/tmp63xkthu5.c" target datalayout = "e-m:e-p270: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/tmp63xkthu5.c" target datalayout = "e-m:e-p270: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/tmpoyoe3f9r.c' source_filename = "/tmp/tmpoyoe3f9r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @miller_rabin_pass(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %10, align 4 %12 = call i32 @mpz_init(i32 noundef %11) %13 = load i32, ptr %10, align 4 %14 = load i32, ptr %4, align 4 %15 = call i32 @mpz_sub_ui(i32 noundef %13, i32 noundef %14, i32 noundef 1) store i32 0, ptr %6, align 4 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %10, align 4 %18 = call i32 @mpz_init_set(i32 noundef %16, i32 noundef %17) br label %19 19: ; preds = %23, %2 %20 = load i32, ptr %9, align 4 %21 = call i64 @mpz_even_p(i32 noundef %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %29 23: ; preds = %19 %24 = load i32, ptr %9, align 4 %25 = load i32, ptr %9, align 4 %26 = call i32 @mpz_fdiv_q_2exp(i32 noundef %24, i32 noundef %25, i32 noundef 1) %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 br label %19, !llvm.loop !6 29: ; preds = %19 %30 = load i32, ptr %8, align 4 %31 = call i32 @mpz_init(i32 noundef %30) %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %9, align 4 %35 = load i32, ptr %4, align 4 %36 = call i32 @mpz_powm(i32 noundef %32, i32 noundef %33, i32 noundef %34, i32 noundef %35) %37 = load i32, ptr %8, align 4 %38 = call i64 @mpz_cmp_ui(i32 noundef %37, i32 noundef 1) %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %41 40: ; preds = %29 store i32 1, ptr %7, align 4 br label %68 41: ; preds = %29 store i32 0, ptr %5, align 4 br label %42 42: ; preds = %58, %41 %43 = load i32, ptr %5, align 4 %44 = load i32, ptr %6, align 4 %45 = sub nsw i32 %44, 1 %46 = icmp slt i32 %43, %45 br i1 %46, label %47, label %61 47: ; preds = %42 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr %10, align 4 %50 = call i64 @mpz_cmp(i32 noundef %48, i32 noundef %49) %51 = icmp eq i64 %50, 0 br i1 %51, label %52, label %53 52: ; preds = %47 store i32 1, ptr %7, align 4 br label %68 53: ; preds = %47 %54 = load i32, ptr %8, align 4 %55 = load i32, ptr %8, align 4 %56 = load i32, ptr %4, align 4 %57 = call i32 @mpz_powm_ui(i32 noundef %54, i32 noundef %55, i32 noundef 2, i32 noundef %56) br label %58 58: ; preds = %53 %59 = load i32, ptr %5, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %5, align 4 br label %42, !llvm.loop !8 61: ; preds = %42 %62 = load i32, ptr %8, align 4 %63 = load i32, ptr %10, align 4 %64 = call i64 @mpz_cmp(i32 noundef %62, i32 noundef %63) %65 = icmp eq i64 %64, 0 br i1 %65, label %66, label %67 66: ; preds = %61 store i32 1, ptr %7, align 4 br label %68 67: ; preds = %61 store i32 0, ptr %7, align 4 br label %68 68: ; preds = %67, %66, %52, %40 %69 = load i32, ptr %8, align 4 %70 = call i32 @mpz_clear(i32 noundef %69) %71 = load i32, ptr %9, align 4 %72 = call i32 @mpz_clear(i32 noundef %71) %73 = load i32, ptr %10, align 4 %74 = call i32 @mpz_clear(i32 noundef %73) %75 = load i32, ptr %7, align 4 ret i32 %75 } declare i32 @mpz_init(i32 noundef) #1 declare i32 @mpz_sub_ui(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mpz_init_set(i32 noundef, i32 noundef) #1 declare i64 @mpz_even_p(i32 noundef) #1 declare i32 @mpz_fdiv_q_2exp(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mpz_powm(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @mpz_cmp_ui(i32 noundef, i32 noundef) #1 declare i64 @mpz_cmp(i32 noundef, i32 noundef) #1 declare i32 @mpz_powm_ui(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mpz_clear(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/tmpoyoe3f9r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @miller_rabin_pass(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %10, align 4 %12 = call i32 @mpz_init(i32 noundef %11) %13 = load i32, ptr %10, align 4 %14 = load i32, ptr %4, align 4 %15 = call i32 @mpz_sub_ui(i32 noundef %13, i32 noundef %14, i32 noundef 1) store i32 0, ptr %6, align 4 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %10, align 4 %18 = call i32 @mpz_init_set(i32 noundef %16, i32 noundef %17) %19 = load i32, ptr %9, align 4 %20 = call i64 @mpz_even_p(i32 noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %.lr.ph, label %31 .lr.ph: ; preds = %2 br label %22 22: ; preds = %.lr.ph, %22 %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %9, align 4 %25 = call i32 @mpz_fdiv_q_2exp(i32 noundef %23, i32 noundef %24, i32 noundef 1) %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %9, align 4 %29 = call i64 @mpz_even_p(i32 noundef %28) %30 = icmp ne i64 %29, 0 br i1 %30, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %31 31: ; preds = %._crit_edge, %2 %32 = load i32, ptr %8, align 4 %33 = call i32 @mpz_init(i32 noundef %32) %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %9, align 4 %37 = load i32, ptr %4, align 4 %38 = call i32 @mpz_powm(i32 noundef %34, i32 noundef %35, i32 noundef %36, i32 noundef %37) %39 = load i32, ptr %8, align 4 %40 = call i64 @mpz_cmp_ui(i32 noundef %39, i32 noundef 1) %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %43 42: ; preds = %31 store i32 1, ptr %7, align 4 br label %73 43: ; preds = %31 store i32 0, ptr %5, align 4 %44 = load i32, ptr %5, align 4 %45 = load i32, ptr %6, align 4 %46 = sub nsw i32 %45, 1 %47 = icmp slt i32 %44, %46 br i1 %47, label %.lr.ph2, label %66 .lr.ph2: ; preds = %43 br label %48 48: ; preds = %.lr.ph2, %59 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr %10, align 4 %51 = call i64 @mpz_cmp(i32 noundef %49, i32 noundef %50) %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %54 53: ; preds = %48 store i32 1, ptr %7, align 4 br label %73 54: ; preds = %48 %55 = load i32, ptr %8, align 4 %56 = load i32, ptr %8, align 4 %57 = load i32, ptr %4, align 4 %58 = call i32 @mpz_powm_ui(i32 noundef %55, i32 noundef %56, i32 noundef 2, i32 noundef %57) br label %59 59: ; preds = %54 %60 = load i32, ptr %5, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %5, align 4 %62 = load i32, ptr %5, align 4 %63 = load i32, ptr %6, align 4 %64 = sub nsw i32 %63, 1 %65 = icmp slt i32 %62, %64 br i1 %65, label %48, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %59 br label %66 66: ; preds = %._crit_edge3, %43 %67 = load i32, ptr %8, align 4 %68 = load i32, ptr %10, align 4 %69 = call i64 @mpz_cmp(i32 noundef %67, i32 noundef %68) %70 = icmp eq i64 %69, 0 br i1 %70, label %71, label %72 71: ; preds = %66 store i32 1, ptr %7, align 4 br label %73 72: ; preds = %66 store i32 0, ptr %7, align 4 br label %73 73: ; preds = %72, %71, %53, %42 %74 = load i32, ptr %8, align 4 %75 = call i32 @mpz_clear(i32 noundef %74) %76 = load i32, ptr %9, align 4 %77 = call i32 @mpz_clear(i32 noundef %76) %78 = load i32, ptr %10, align 4 %79 = call i32 @mpz_clear(i32 noundef %78) %80 = load i32, ptr %7, align 4 ret i32 %80 } declare i32 @mpz_init(i32 noundef) #1 declare i32 @mpz_sub_ui(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mpz_init_set(i32 noundef, i32 noundef) #1 declare i64 @mpz_even_p(i32 noundef) #1 declare i32 @mpz_fdiv_q_2exp(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mpz_powm(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @mpz_cmp_ui(i32 noundef, i32 noundef) #1 declare i64 @mpz_cmp(i32 noundef, i32 noundef) #1 declare i32 @mpz_powm_ui(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mpz_clear(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/tmpr8y93ojp.c' source_filename = "/tmp/tmpr8y93ojp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"Hajj\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Case %d: Hajj-e-Akbar\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"Umrah\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"Case %d: Hajj-e-Asghar\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %3, align 4 br label %4 4: ; preds = %27, %0 %5 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %5) %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %30 8: ; preds = %4 %9 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %8 br label %30 13: ; preds = %8 %14 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.2) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %13 %18 = load i32, ptr %3, align 4 %19 = call i32 @printf(ptr noundef @.str.3, i32 noundef %18) br label %20 20: ; preds = %17, %13 %21 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str.4) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %27 24: ; preds = %20 %25 = load i32, ptr %3, align 4 %26 = call i32 @printf(ptr noundef @.str.5, i32 noundef %25) br label %27 27: ; preds = %24, %20 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 br label %4, !llvm.loop !6 30: ; preds = %12, %4 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr8y93ojp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"Hajj\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Case %d: Hajj-e-Akbar\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"Umrah\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"Case %d: Hajj-e-Asghar\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %3, align 4 %4 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %6 = icmp eq i32 %5, 1 br i1 %6, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %26 %8 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %9 = call i64 @strcmp(ptr noundef %8, ptr noundef @.str.1) %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %7 br label %31 12: ; preds = %7 %13 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str.2) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr %3, align 4 %18 = call i32 @printf(ptr noundef @.str.3, i32 noundef %17) br label %19 19: ; preds = %16, %12 %20 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.4) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %19 %24 = load i32, ptr %3, align 4 %25 = call i32 @printf(ptr noundef @.str.5, i32 noundef %24) br label %26 26: ; preds = %23, %19 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 %29 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %30 = icmp eq i32 %29, 1 br i1 %30, label %7, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %26 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %31 31: ; preds = %.loopexit, %11 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqfy6qu0d.c' source_filename = "/tmp/tmpqfy6qu0d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"% 15s = % 10lu_u32 # - %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"A_NORMAL\00", align 1 @A_NORMAL = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [30 x i8] c"Normal display (no highlight)\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"A_STANDOUT\00", align 1 @A_STANDOUT = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [40 x i8] c"Best highlighting mode of the terminal.\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"A_UNDERLINE\00", align 1 @A_UNDERLINE = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [12 x i8] c"Underlining\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"A_REVERSE\00", align 1 @A_REVERSE = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [14 x i8] c"Reverse video\00", align 1 @.str.9 = private unnamed_addr constant [8 x i8] c"A_BLINK\00", align 1 @A_BLINK = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [9 x i8] c"Blinking\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"A_DIM\00", align 1 @A_DIM = dso_local global i32 0, align 4 @.str.12 = private unnamed_addr constant [12 x i8] c"Half bright\00", align 1 @.str.13 = private unnamed_addr constant [7 x i8] c"A_BOLD\00", align 1 @A_BOLD = dso_local global i32 0, align 4 @.str.14 = private unnamed_addr constant [21 x i8] c"Extra bright or bold\00", align 1 @.str.15 = private unnamed_addr constant [10 x i8] c"A_PROTECT\00", align 1 @A_PROTECT = dso_local global i32 0, align 4 @.str.16 = private unnamed_addr constant [15 x i8] c"Protected mode\00", align 1 @.str.17 = private unnamed_addr constant [8 x i8] c"A_INVIS\00", align 1 @A_INVIS = dso_local global i32 0, align 4 @.str.18 = private unnamed_addr constant [24 x i8] c"Invisible or blank mode\00", align 1 @.str.19 = private unnamed_addr constant [13 x i8] c"A_ALTCHARSET\00", align 1 @A_ALTCHARSET = dso_local global i32 0, align 4 @.str.20 = private unnamed_addr constant [24 x i8] c"Alternate character set\00", align 1 @.str.21 = private unnamed_addr constant [9 x i8] c"A_ITALIC\00", align 1 @A_ITALIC = dso_local global i32 0, align 4 @.str.22 = private unnamed_addr constant [31 x i8] c"Italics (non-X/Open extension)\00", align 1 @.str.23 = private unnamed_addr constant [11 x i8] c"A_CHARTEXT\00", align 1 @A_CHARTEXT = dso_local global i32 0, align 4 @.str.24 = private unnamed_addr constant [32 x i8] c"Bit-mask to extract a character\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 = load i32, ptr @A_NORMAL, align 4 %3 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %2, ptr noundef @.str.2) %4 = load i32, ptr @A_STANDOUT, align 4 %5 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.3, i32 noundef %4, ptr noundef @.str.4) %6 = load i32, ptr @A_UNDERLINE, align 4 %7 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.5, i32 noundef %6, ptr noundef @.str.6) %8 = load i32, ptr @A_REVERSE, align 4 %9 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.7, i32 noundef %8, ptr noundef @.str.8) %10 = load i32, ptr @A_BLINK, align 4 %11 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.9, i32 noundef %10, ptr noundef @.str.10) %12 = load i32, ptr @A_DIM, align 4 %13 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.11, i32 noundef %12, ptr noundef @.str.12) %14 = load i32, ptr @A_BOLD, align 4 %15 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.13, i32 noundef %14, ptr noundef @.str.14) %16 = load i32, ptr @A_PROTECT, align 4 %17 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.15, i32 noundef %16, ptr noundef @.str.16) %18 = load i32, ptr @A_INVIS, align 4 %19 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.17, i32 noundef %18, ptr noundef @.str.18) %20 = load i32, ptr @A_ALTCHARSET, align 4 %21 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.19, i32 noundef %20, ptr noundef @.str.20) %22 = load i32, ptr @A_ITALIC, align 4 %23 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.21, i32 noundef %22, ptr noundef @.str.22) %24 = load i32, ptr @A_CHARTEXT, align 4 %25 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.23, i32 noundef %24, ptr noundef @.str.24) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqfy6qu0d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"% 15s = % 10lu_u32 # - %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"A_NORMAL\00", align 1 @A_NORMAL = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [30 x i8] c"Normal display (no highlight)\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"A_STANDOUT\00", align 1 @A_STANDOUT = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [40 x i8] c"Best highlighting mode of the terminal.\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"A_UNDERLINE\00", align 1 @A_UNDERLINE = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [12 x i8] c"Underlining\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"A_REVERSE\00", align 1 @A_REVERSE = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [14 x i8] c"Reverse video\00", align 1 @.str.9 = private unnamed_addr constant [8 x i8] c"A_BLINK\00", align 1 @A_BLINK = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [9 x i8] c"Blinking\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"A_DIM\00", align 1 @A_DIM = dso_local global i32 0, align 4 @.str.12 = private unnamed_addr constant [12 x i8] c"Half bright\00", align 1 @.str.13 = private unnamed_addr constant [7 x i8] c"A_BOLD\00", align 1 @A_BOLD = dso_local global i32 0, align 4 @.str.14 = private unnamed_addr constant [21 x i8] c"Extra bright or bold\00", align 1 @.str.15 = private unnamed_addr constant [10 x i8] c"A_PROTECT\00", align 1 @A_PROTECT = dso_local global i32 0, align 4 @.str.16 = private unnamed_addr constant [15 x i8] c"Protected mode\00", align 1 @.str.17 = private unnamed_addr constant [8 x i8] c"A_INVIS\00", align 1 @A_INVIS = dso_local global i32 0, align 4 @.str.18 = private unnamed_addr constant [24 x i8] c"Invisible or blank mode\00", align 1 @.str.19 = private unnamed_addr constant [13 x i8] c"A_ALTCHARSET\00", align 1 @A_ALTCHARSET = dso_local global i32 0, align 4 @.str.20 = private unnamed_addr constant [24 x i8] c"Alternate character set\00", align 1 @.str.21 = private unnamed_addr constant [9 x i8] c"A_ITALIC\00", align 1 @A_ITALIC = dso_local global i32 0, align 4 @.str.22 = private unnamed_addr constant [31 x i8] c"Italics (non-X/Open extension)\00", align 1 @.str.23 = private unnamed_addr constant [11 x i8] c"A_CHARTEXT\00", align 1 @A_CHARTEXT = dso_local global i32 0, align 4 @.str.24 = private unnamed_addr constant [32 x i8] c"Bit-mask to extract a character\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 = load i32, ptr @A_NORMAL, align 4 %3 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %2, ptr noundef @.str.2) %4 = load i32, ptr @A_STANDOUT, align 4 %5 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.3, i32 noundef %4, ptr noundef @.str.4) %6 = load i32, ptr @A_UNDERLINE, align 4 %7 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.5, i32 noundef %6, ptr noundef @.str.6) %8 = load i32, ptr @A_REVERSE, align 4 %9 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.7, i32 noundef %8, ptr noundef @.str.8) %10 = load i32, ptr @A_BLINK, align 4 %11 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.9, i32 noundef %10, ptr noundef @.str.10) %12 = load i32, ptr @A_DIM, align 4 %13 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.11, i32 noundef %12, ptr noundef @.str.12) %14 = load i32, ptr @A_BOLD, align 4 %15 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.13, i32 noundef %14, ptr noundef @.str.14) %16 = load i32, ptr @A_PROTECT, align 4 %17 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.15, i32 noundef %16, ptr noundef @.str.16) %18 = load i32, ptr @A_INVIS, align 4 %19 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.17, i32 noundef %18, ptr noundef @.str.18) %20 = load i32, ptr @A_ALTCHARSET, align 4 %21 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.19, i32 noundef %20, ptr noundef @.str.20) %22 = load i32, ptr @A_ITALIC, align 4 %23 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.21, i32 noundef %22, ptr noundef @.str.22) %24 = load i32, ptr @A_CHARTEXT, align 4 %25 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.23, i32 noundef %24, ptr noundef @.str.24) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyjn7mfmm.c' source_filename = "/tmp/tmpyjn7mfmm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lng_reverse(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = load i64, ptr %4, align 8 %9 = getelementptr inbounds i64, ptr %7, i64 %8 store ptr %9, ptr %5, align 8 br label %10 10: ; preds = %15, %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds i64, ptr %11, i32 -1 store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %3, align 8 %14 = icmp ugt ptr %12, %13 br i1 %14, label %15, label %24 15: ; preds = %10 %16 = load ptr, ptr %5, align 8 %17 = load i64, ptr %16, align 8 store i64 %17, ptr %6, align 8 %18 = load ptr, ptr %3, align 8 %19 = load i64, ptr %18, align 8 %20 = load ptr, ptr %5, align 8 store i64 %19, ptr %20, align 8 %21 = load i64, ptr %6, align 8 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i64, ptr %22, i32 1 store ptr %23, ptr %3, align 8 store i64 %21, ptr %22, align 8 br label %10, !llvm.loop !6 24: ; preds = %10 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyjn7mfmm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lng_reverse(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = load i64, ptr %4, align 8 %9 = getelementptr inbounds i64, ptr %7, i64 %8 store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds i64, ptr %10, i32 -1 store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %3, align 8 %13 = icmp ugt ptr %11, %12 br i1 %13, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %14 %15 = load ptr, ptr %5, align 8 %16 = load i64, ptr %15, align 8 store i64 %16, ptr %6, align 8 %17 = load ptr, ptr %3, align 8 %18 = load i64, ptr %17, align 8 %19 = load ptr, ptr %5, align 8 store i64 %18, ptr %19, align 8 %20 = load i64, ptr %6, align 8 %21 = load ptr, ptr %3, align 8 %22 = getelementptr inbounds i64, ptr %21, i32 1 store ptr %22, ptr %3, align 8 store i64 %20, ptr %21, align 8 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds i64, ptr %23, i32 -1 store ptr %24, ptr %5, align 8 %25 = load ptr, ptr %3, align 8 %26 = icmp ugt ptr %24, %25 br i1 %26, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %27 27: ; preds = %._crit_edge, %2 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphwdt08bm.c' source_filename = "/tmp/tmphwdt08bm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"input cubed is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cubeByValue(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = mul nsw i32 %3, %4 %6 = load i32, ptr %2, align 4 %7 = mul nsw i32 %5, %6 store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphwdt08bm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"input cubed is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cubeByValue(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = mul nsw i32 %3, %4 %6 = load i32, ptr %2, align 4 %7 = mul nsw i32 %5, %6 store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprckue5ok.c' source_filename = "/tmp/tmprckue5ok.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"%a, %d %b %Y %H:%M:%S GMT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mmp_time_1123_format(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %5, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %12, label %9 9: ; preds = %3 %10 = load i64, ptr %6, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %9, %3 br label %18 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %6, align 8 %16 = call i32 @gmtime(ptr noundef %4) %17 = call i32 @strftime(ptr noundef %14, i64 noundef %15, ptr noundef @.str, i32 noundef %16) br label %18 18: ; preds = %13, %12 ret void } declare i32 @strftime(ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1 declare i32 @gmtime(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/tmprckue5ok.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"%a, %d %b %Y %H:%M:%S GMT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mmp_time_1123_format(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %5, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %12, label %9 9: ; preds = %3 %10 = load i64, ptr %6, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %9, %3 br label %18 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %6, align 8 %16 = call i32 @gmtime(ptr noundef %4) %17 = call i32 @strftime(ptr noundef %14, i64 noundef %15, ptr noundef @.str, i32 noundef %16) br label %18 18: ; preds = %13, %12 ret void } declare i32 @strftime(ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1 declare i32 @gmtime(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/tmphjxrpf5e.c' source_filename = "/tmp/tmphjxrpf5e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"oonf_api package compiled!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphjxrpf5e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"oonf_api package compiled!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4d6b6_2_.c' source_filename = "/tmp/tmp4d6b6_2_.c" target datalayout = "e-m:e-p270: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/tmp4d6b6_2_.c" target datalayout = "e-m:e-p270: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/tmprbcj6lju.c' source_filename = "/tmp/tmprbcj6lju.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @os_gettimeofday(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 @gettimeofday(ptr noundef %4, ptr noundef null) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp eq i32 %6, -1 br i1 %7, label %8, label %11 8: ; preds = %1 %9 = load i32, ptr @errno, align 4 %10 = sub nsw i32 0, %9 store i32 %10, ptr %3, align 4 br label %11 11: ; preds = %8, %1 %12 = load i32, ptr %3, align 4 ret i32 %12 } declare i32 @gettimeofday(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/tmprbcj6lju.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @os_gettimeofday(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 @gettimeofday(ptr noundef %4, ptr noundef null) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp eq i32 %6, -1 br i1 %7, label %8, label %11 8: ; preds = %1 %9 = load i32, ptr @errno, align 4 %10 = sub nsw i32 0, %9 store i32 %10, ptr %3, align 4 br label %11 11: ; preds = %8, %1 %12 = load i32, ptr %3, align 4 ret i32 %12 } declare i32 @gettimeofday(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/tmpq7b1q0rq.c' source_filename = "/tmp/tmpq7b1q0rq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SocketClose(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = call i32 @shutdown(i32 noundef %4, i32 noundef 2) %6 = load i32, ptr %3, align 4 %7 = call i32 @close(i32 noundef %6) %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %10 9: ; preds = %1 store i32 -1, ptr %2, align 4 br label %11 10: ; preds = %1 store i32 1, ptr %2, align 4 br label %11 11: ; preds = %10, %9 %12 = load i32, ptr %2, align 4 ret i32 %12 } declare i32 @shutdown(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq7b1q0rq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SocketClose(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = call i32 @shutdown(i32 noundef %4, i32 noundef 2) %6 = load i32, ptr %3, align 4 %7 = call i32 @close(i32 noundef %6) %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %10 9: ; preds = %1 store i32 -1, ptr %2, align 4 br label %11 10: ; preds = %1 store i32 1, ptr %2, align 4 br label %11 11: ; preds = %10, %9 %12 = load i32, ptr %2, align 4 ret i32 %12 } declare i32 @shutdown(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnbevj0j6.c' source_filename = "/tmp/tmpnbevj0j6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @standard_Littlewood_Richardson_homotopies(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11) #0 { %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca ptr, align 8 %29 = alloca i64, align 8 %30 = alloca [8 x i32], align 16 store i32 %0, ptr %13, align 4 store i32 %1, ptr %14, align 4 store i32 %2, ptr %15, align 4 store ptr %3, ptr %16, align 8 store i32 %4, ptr %17, align 4 store i32 %5, ptr %18, align 4 store i32 %6, ptr %19, align 4 store i32 %7, ptr %20, align 4 store i32 %8, ptr %21, align 4 store ptr %9, ptr %22, align 8 store ptr %10, ptr %23, align 8 store ptr %11, ptr %24, align 8 %31 = load i32, ptr %15, align 4 %32 = sub nsw i32 %31, 2 %33 = mul nsw i32 2, %32 %34 = load i32, ptr %13, align 4 %35 = mul nsw i32 %33, %34 %36 = load i32, ptr %13, align 4 %37 = mul nsw i32 %35, %36 %38 = add nsw i32 %37, 1 store i32 %38, ptr %27, align 4 %39 = load i32, ptr %27, align 4 %40 = zext i32 %39 to i64 %41 = call ptr @llvm.stacksave() store ptr %41, ptr %28, align 8 %42 = alloca double, i64 %40, align 16 store i64 %40, ptr %29, align 8 %43 = load i32, ptr %13, align 4 %44 = getelementptr inbounds [8 x i32], ptr %30, i64 0, i64 0 store i32 %43, ptr %44, align 16 %45 = load i32, ptr %14, align 4 %46 = getelementptr inbounds [8 x i32], ptr %30, i64 0, i64 1 store i32 %45, ptr %46, align 4 %47 = load i32, ptr %15, align 4 %48 = getelementptr inbounds [8 x i32], ptr %30, i64 0, i64 2 store i32 %47, ptr %48, align 8 %49 = load i32, ptr %17, align 4 %50 = getelementptr inbounds [8 x i32], ptr %30, i64 0, i64 3 store i32 %49, ptr %50, align 4 %51 = load i32, ptr %18, align 4 %52 = getelementptr inbounds [8 x i32], ptr %30, i64 0, i64 4 store i32 %51, ptr %52, align 16 %53 = load i32, ptr %21, align 4 %54 = getelementptr inbounds [8 x i32], ptr %30, i64 0, i64 5 store i32 %53, ptr %54, align 4 %55 = load i32, ptr %19, align 4 %56 = getelementptr inbounds [8 x i32], ptr %30, i64 0, i64 6 store i32 %55, ptr %56, align 8 %57 = load i32, ptr %20, align 4 %58 = getelementptr inbounds [8 x i32], ptr %30, i64 0, i64 7 store i32 %57, ptr %58, align 4 store i32 0, ptr %26, align 4 br label %59 59: ; preds = %73, %12 %60 = load i32, ptr %26, align 4 %61 = load i32, ptr %21, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %63, label %76 63: ; preds = %59 %64 = load ptr, ptr %22, align 8 %65 = load i32, ptr %26, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 %68 = load i8, ptr %67, align 1 %69 = sitofp i8 %68 to double %70 = load i32, ptr %26, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds double, ptr %42, i64 %71 store double %69, ptr %72, align 8 br label %73 73: ; preds = %63 %74 = load i32, ptr %26, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %26, align 4 br label %59, !llvm.loop !6 76: ; preds = %59 %77 = getelementptr inbounds [8 x i32], ptr %30, i64 0, i64 0 %78 = load ptr, ptr %16, align 8 %79 = call i32 @_ada_use_c2phc4c(i32 noundef 229, ptr noundef %77, ptr noundef %78, ptr noundef %42, i32 noundef 0) store i32 %79, ptr %25, align 4 %80 = getelementptr inbounds double, ptr %42, i64 0 %81 = load double, ptr %80, align 16 %82 = fptosi double %81 to i32 %83 = load ptr, ptr %23, align 8 store i32 %82, ptr %83, align 4 store i32 1, ptr %26, align 4 br label %84 84: ; preds = %98, %76 %85 = load i32, ptr %26, align 4 %86 = load i32, ptr %27, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %88, label %101 88: ; preds = %84 %89 = load i32, ptr %26, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds double, ptr %42, i64 %90 %92 = load double, ptr %91, align 8 %93 = load ptr, ptr %24, align 8 %94 = load i32, ptr %26, align 4 %95 = sub nsw i32 %94, 1 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds double, ptr %93, i64 %96 store double %92, ptr %97, align 8 br label %98 98: ; preds = %88 %99 = load i32, ptr %26, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %26, align 4 br label %84, !llvm.loop !8 101: ; preds = %84 %102 = load i32, ptr %25, align 4 %103 = load ptr, ptr %28, align 8 call void @llvm.stackrestore(ptr %103) ret i32 %102 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnbevj0j6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @standard_Littlewood_Richardson_homotopies(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11) #0 { %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca ptr, align 8 %29 = alloca i64, align 8 %30 = alloca [8 x i32], align 16 store i32 %0, ptr %13, align 4 store i32 %1, ptr %14, align 4 store i32 %2, ptr %15, align 4 store ptr %3, ptr %16, align 8 store i32 %4, ptr %17, align 4 store i32 %5, ptr %18, align 4 store i32 %6, ptr %19, align 4 store i32 %7, ptr %20, align 4 store i32 %8, ptr %21, align 4 store ptr %9, ptr %22, align 8 store ptr %10, ptr %23, align 8 store ptr %11, ptr %24, align 8 %31 = load i32, ptr %15, align 4 %32 = sub nsw i32 %31, 2 %33 = mul nsw i32 2, %32 %34 = load i32, ptr %13, align 4 %35 = mul nsw i32 %33, %34 %36 = load i32, ptr %13, align 4 %37 = mul nsw i32 %35, %36 %38 = add nsw i32 %37, 1 store i32 %38, ptr %27, align 4 %39 = load i32, ptr %27, align 4 %40 = zext i32 %39 to i64 %41 = call ptr @llvm.stacksave() store ptr %41, ptr %28, align 8 %42 = alloca double, i64 %40, align 16 store i64 %40, ptr %29, align 8 %43 = load i32, ptr %13, align 4 %44 = getelementptr inbounds [8 x i32], ptr %30, i64 0, i64 0 store i32 %43, ptr %44, align 16 %45 = load i32, ptr %14, align 4 %46 = getelementptr inbounds [8 x i32], ptr %30, i64 0, i64 1 store i32 %45, ptr %46, align 4 %47 = load i32, ptr %15, align 4 %48 = getelementptr inbounds [8 x i32], ptr %30, i64 0, i64 2 store i32 %47, ptr %48, align 8 %49 = load i32, ptr %17, align 4 %50 = getelementptr inbounds [8 x i32], ptr %30, i64 0, i64 3 store i32 %49, ptr %50, align 4 %51 = load i32, ptr %18, align 4 %52 = getelementptr inbounds [8 x i32], ptr %30, i64 0, i64 4 store i32 %51, ptr %52, align 16 %53 = load i32, ptr %21, align 4 %54 = getelementptr inbounds [8 x i32], ptr %30, i64 0, i64 5 store i32 %53, ptr %54, align 4 %55 = load i32, ptr %19, align 4 %56 = getelementptr inbounds [8 x i32], ptr %30, i64 0, i64 6 store i32 %55, ptr %56, align 8 %57 = load i32, ptr %20, align 4 %58 = getelementptr inbounds [8 x i32], ptr %30, i64 0, i64 7 store i32 %57, ptr %58, align 4 store i32 0, ptr %26, align 4 %59 = load i32, ptr %26, align 4 %60 = load i32, ptr %21, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %.lr.ph, label %78 .lr.ph: ; preds = %12 br label %62 62: ; preds = %.lr.ph, %72 %63 = load ptr, ptr %22, align 8 %64 = load i32, ptr %26, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 %67 = load i8, ptr %66, align 1 %68 = sitofp i8 %67 to double %69 = load i32, ptr %26, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds double, ptr %42, i64 %70 store double %68, ptr %71, align 8 br label %72 72: ; preds = %62 %73 = load i32, ptr %26, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %26, align 4 %75 = load i32, ptr %26, align 4 %76 = load i32, ptr %21, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %62, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %72 br label %78 78: ; preds = %._crit_edge, %12 %79 = getelementptr inbounds [8 x i32], ptr %30, i64 0, i64 0 %80 = load ptr, ptr %16, align 8 %81 = call i32 @_ada_use_c2phc4c(i32 noundef 229, ptr noundef %79, ptr noundef %80, ptr noundef %42, i32 noundef 0) store i32 %81, ptr %25, align 4 %82 = getelementptr inbounds double, ptr %42, i64 0 %83 = load double, ptr %82, align 16 %84 = fptosi double %83 to i32 %85 = load ptr, ptr %23, align 8 store i32 %84, ptr %85, align 4 store i32 1, ptr %26, align 4 %86 = load i32, ptr %26, align 4 %87 = load i32, ptr %27, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %.lr.ph2, label %105 .lr.ph2: ; preds = %78 br label %89 89: ; preds = %.lr.ph2, %99 %90 = load i32, ptr %26, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds double, ptr %42, i64 %91 %93 = load double, ptr %92, align 8 %94 = load ptr, ptr %24, align 8 %95 = load i32, ptr %26, align 4 %96 = sub nsw i32 %95, 1 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds double, ptr %94, i64 %97 store double %93, ptr %98, align 8 br label %99 99: ; preds = %89 %100 = load i32, ptr %26, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %26, align 4 %102 = load i32, ptr %26, align 4 %103 = load i32, ptr %27, align 4 %104 = icmp slt i32 %102, %103 br i1 %104, label %89, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %99 br label %105 105: ; preds = %._crit_edge3, %78 %106 = load i32, ptr %25, align 4 %107 = load ptr, ptr %28, align 8 call void @llvm.stackrestore(ptr %107) ret i32 %106 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpwmetgyrv.c' source_filename = "/tmp/tmpwmetgyrv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter phone [(xxx) xxx-xxxx]: \00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"(%d) %d-%d\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"You entered: %d.%d.%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4) %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %4, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7, i32 noundef %8, i32 noundef %9) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwmetgyrv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter phone [(xxx) xxx-xxxx]: \00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"(%d) %d-%d\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"You entered: %d.%d.%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4) %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %4, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7, i32 noundef %8, i32 noundef %9) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpww8qg_5g.c' source_filename = "/tmp/tmpww8qg_5g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @time_add(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 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 %7 = load i64, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds %struct.timespec, ptr %8, i32 0, i32 1 %10 = load i64, ptr %9, align 8 %11 = add nsw i64 %7, %10 %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 1 store i64 %11, ptr %13, align 8 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds %struct.timespec, ptr %14, i32 0, i32 0 %16 = load i32, ptr %15, align 8 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds %struct.timespec, ptr %17, i32 0, i32 0 %19 = load i32, ptr %18, align 8 %20 = add nsw i32 %16, %19 %21 = load ptr, ptr %3, align 8 %22 = getelementptr inbounds %struct.timespec, ptr %21, i32 0, i32 0 store i32 %20, ptr %22, align 8 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds %struct.timespec, ptr %23, i32 0, i32 0 %25 = load i32, ptr %24, align 8 %26 = icmp sge i32 %25, 1000000000 br i1 %26, label %27, label %36 27: ; preds = %2 %28 = load ptr, ptr %3, align 8 %29 = getelementptr inbounds %struct.timespec, ptr %28, i32 0, i32 1 %30 = load i64, ptr %29, align 8 %31 = add nsw i64 %30, 1 store i64 %31, ptr %29, align 8 %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds %struct.timespec, ptr %32, i32 0, i32 0 %34 = load i32, ptr %33, align 8 %35 = sub nsw i32 %34, 1000000000 store i32 %35, ptr %33, align 8 br label %36 36: ; preds = %27, %2 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpww8qg_5g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @time_add(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 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 %7 = load i64, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds %struct.timespec, ptr %8, i32 0, i32 1 %10 = load i64, ptr %9, align 8 %11 = add nsw i64 %7, %10 %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 1 store i64 %11, ptr %13, align 8 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds %struct.timespec, ptr %14, i32 0, i32 0 %16 = load i32, ptr %15, align 8 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds %struct.timespec, ptr %17, i32 0, i32 0 %19 = load i32, ptr %18, align 8 %20 = add nsw i32 %16, %19 %21 = load ptr, ptr %3, align 8 %22 = getelementptr inbounds %struct.timespec, ptr %21, i32 0, i32 0 store i32 %20, ptr %22, align 8 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds %struct.timespec, ptr %23, i32 0, i32 0 %25 = load i32, ptr %24, align 8 %26 = icmp sge i32 %25, 1000000000 br i1 %26, label %27, label %36 27: ; preds = %2 %28 = load ptr, ptr %3, align 8 %29 = getelementptr inbounds %struct.timespec, ptr %28, i32 0, i32 1 %30 = load i64, ptr %29, align 8 %31 = add nsw i64 %30, 1 store i64 %31, ptr %29, align 8 %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds %struct.timespec, ptr %32, i32 0, i32 0 %34 = load i32, ptr %33, align 8 %35 = sub nsw i32 %34, 1000000000 store i32 %35, ptr %33, align 8 br label %36 36: ; preds = %27, %2 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvmlinw2_.c' source_filename = "/tmp/tmpvmlinw2_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MAP_GAUSS(double noundef %0, i32 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca i32, align 4 store double %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load double, ptr %3, align 8 %6 = fmul double -8.000000e+00, %5 %7 = load double, ptr %3, align 8 %8 = fmul double %6, %7 %9 = call double @exp(double noundef %8) #2 %10 = fadd double %9, -6.000000e-01 ret double %10 } ; Function Attrs: nounwind declare double @exp(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvmlinw2_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MAP_GAUSS(double noundef %0, i32 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca i32, align 4 store double %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load double, ptr %3, align 8 %6 = fmul double -8.000000e+00, %5 %7 = load double, ptr %3, align 8 %8 = fmul double %6, %7 %9 = call double @exp(double noundef %8) #2 %10 = fadd double %9, -6.000000e-01 ret double %10 } ; Function Attrs: nounwind declare double @exp(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpexvkrnu7.c' source_filename = "/tmp/tmpexvkrnu7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Target Selected.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_cmd_look() #0 { %1 = call i64 @target_set_interactive(i32 noundef 2, i32 noundef -1, i32 noundef -1) %2 = icmp ne i64 %1, 0 br i1 %2, label %3, label %5 3: ; preds = %0 %4 = call i32 @msg_print(ptr noundef @.str) br label %5 5: ; preds = %3, %0 ret void } declare i64 @target_set_interactive(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @msg_print(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/tmpexvkrnu7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Target Selected.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_cmd_look() #0 { %1 = call i64 @target_set_interactive(i32 noundef 2, i32 noundef -1, i32 noundef -1) %2 = icmp ne i64 %1, 0 br i1 %2, label %3, label %5 3: ; preds = %0 %4 = call i32 @msg_print(ptr noundef @.str) br label %5 5: ; preds = %3, %0 ret void } declare i64 @target_set_interactive(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @msg_print(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_thihaa6.c' source_filename = "/tmp/tmp_thihaa6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPC_CREAT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"Blad\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"Znalezione\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 ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 store i32 0, ptr %1, align 4 %15 = call i64 @time(ptr noundef null) %16 = trunc i64 %15 to i32 %17 = call i32 @srand(i32 noundef %16) %18 = call i32 (...) @fork() store i32 %18, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %81, label %21 21: ; preds = %0 %22 = call i32 (...) @getppid() store i32 %22, ptr %3, align 4 %23 = load i32, ptr @IPC_CREAT, align 4 %24 = or i32 %23, 420 %25 = call i32 @shmget(i32 noundef 727272, i32 noundef 16, i32 noundef %24) store i32 %25, ptr %4, align 4 %26 = load i32, ptr @IPC_CREAT, align 4 %27 = or i32 %26, 420 %28 = call i32 @shmget(i32 noundef 727271, i32 noundef 4, i32 noundef %27) store i32 %28, ptr %5, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp eq i32 %29, -1 br i1 %30, label %34, label %31 31: ; preds = %21 %32 = load i32, ptr %5, align 4 %33 = icmp eq i32 %32, -1 br i1 %33, label %34, label %37 34: ; preds = %31, %21 %35 = call i32 @printf(ptr noundef @.str) %36 = call i32 @_exit(i32 noundef 1) #3 unreachable 37: ; preds = %31 %38 = load i32, ptr %4, align 4 %39 = call i64 @shmat(i32 noundef %38, ptr noundef null, i32 noundef 0) %40 = inttoptr i64 %39 to ptr store ptr %40, ptr %6, align 8 %41 = load i32, ptr %5, align 4 %42 = call i64 @shmat(i32 noundef %41, ptr noundef null, i32 noundef 0) %43 = inttoptr i64 %42 to ptr store ptr %43, ptr %7, align 8 %44 = load ptr, ptr %7, align 8 %45 = getelementptr inbounds i32, ptr %44, i64 0 store i32 1, ptr %45, align 4 %46 = load ptr, ptr %6, align 8 %47 = icmp eq ptr %46, null br i1 %47, label %51, label %48 48: ; preds = %37 %49 = load ptr, ptr %7, align 8 %50 = icmp eq ptr %49, null br i1 %50, label %51, label %54 51: ; preds = %48, %37 %52 = call i32 @printf(ptr noundef @.str) %53 = call i32 @_exit(i32 noundef 1) #3 unreachable 54: ; preds = %48 store i32 0, ptr %8, align 4 br label %55 55: ; preds = %76, %54 %56 = load ptr, ptr %7, align 8 %57 = getelementptr inbounds i32, ptr %56, i64 0 %58 = load i32, ptr %57, align 4 %59 = icmp ne i32 %58, 0 br i1 %59, label %60, label %64 60: ; preds = %55 %61 = load i32, ptr %3, align 4 %62 = call i32 @dziala(i32 noundef %61) %63 = icmp eq i32 %62, 1 br label %64 64: ; preds = %60, %55 %65 = phi i1 [ false, %55 ], [ %63, %60 ] br i1 %65, label %66, label %79 66: ; preds = %64 %67 = call i64 (...) @rand() %68 = trunc i64 %67 to i8 %69 = sext i8 %68 to i32 %70 = srem i32 %69, 256 %71 = load ptr, ptr %6, align 8 %72 = load i32, ptr %8, align 4 %73 = srem i32 %72, 16 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i32, ptr %71, i64 %74 store i32 %70, ptr %75, align 4 br label %76 76: ; preds = %66 %77 = load i32, ptr %8, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %8, align 4 br label %55, !llvm.loop !6 79: ; preds = %64 %80 = call i32 @_exit(i32 noundef 0) #3 unreachable 81: ; preds = %0 %82 = load i32, ptr @IPC_CREAT, align 4 %83 = or i32 %82, 420 %84 = call i32 @shmget(i32 noundef 727272, i32 noundef 16, i32 noundef %83) store i32 %84, ptr %9, align 4 %85 = load i32, ptr @IPC_CREAT, align 4 %86 = or i32 %85, 420 %87 = call i32 @shmget(i32 noundef 727271, i32 noundef 4, i32 noundef %86) store i32 %87, ptr %10, align 4 %88 = load i32, ptr %9, align 4 %89 = icmp eq i32 %88, -1 br i1 %89, label %93, label %90 90: ; preds = %81 %91 = load i32, ptr %10, align 4 %92 = icmp eq i32 %91, -1 br i1 %92, label %93, label %95 93: ; preds = %90, %81 %94 = call i32 @printf(ptr noundef @.str) br label %95 95: ; preds = %93, %90 %96 = load i32, ptr %9, align 4 %97 = call i64 @shmat(i32 noundef %96, ptr noundef null, i32 noundef 0) %98 = inttoptr i64 %97 to ptr store ptr %98, ptr %11, align 8 %99 = load i32, ptr %10, align 4 %100 = call i64 @shmat(i32 noundef %99, ptr noundef null, i32 noundef 0) %101 = inttoptr i64 %100 to ptr store ptr %101, ptr %12, align 8 %102 = load ptr, ptr %11, align 8 %103 = icmp eq ptr %102, null br i1 %103, label %107, label %104 104: ; preds = %95 %105 = load ptr, ptr %12, align 8 %106 = icmp eq ptr %105, null br i1 %106, label %107, label %109 107: ; preds = %104, %95 %108 = call i32 @printf(ptr noundef @.str) br label %109 109: ; preds = %107, %104 %110 = load ptr, ptr %12, align 8 %111 = getelementptr inbounds i32, ptr %110, i64 0 store i32 1, ptr %111, align 4 %112 = call ptr @malloc(i32 noundef 8) store ptr %112, ptr %13, align 8 %113 = load ptr, ptr %13, align 8 %114 = call i32 @FBB1(ptr noundef %113) store i32 0, ptr %14, align 4 br label %115 115: ; preds = %135, %109 br i1 true, label %116, label %138 116: ; preds = %115 %117 = load ptr, ptr %13, align 8 %118 = load ptr, ptr %11, align 8 %119 = load i32, ptr %14, align 4 %120 = srem i32 %119, 16 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds i32, ptr %118, i64 %121 %123 = load i32, ptr %122, align 4 %124 = call i32 @FBB2(ptr noundef %117, i32 noundef %123) %125 = load ptr, ptr %13, align 8 %126 = call i64 @sprawdz(ptr noundef %125) %127 = icmp ne i64 %126, 0 br i1 %127, label %128, label %134 128: ; preds = %116 %129 = load ptr, ptr %13, align 8 %130 = call i32 @showFBB(ptr noundef %129) %131 = call i32 @printf(ptr noundef @.str.1) %132 = load ptr, ptr %12, align 8 %133 = getelementptr inbounds i32, ptr %132, i64 0 store i32 0, ptr %133, align 4 br label %138 134: ; preds = %116 br label %135 135: ; preds = %134 %136 = load i32, ptr %14, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %14, align 4 br label %115 138: ; preds = %128, %115 %139 = call i32 @wait(ptr noundef null) ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @getppid(...) #1 declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 declare i64 @shmat(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @dziala(i32 noundef) #1 declare i64 @rand(...) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @FBB1(ptr noundef) #1 declare i32 @FBB2(ptr noundef, i32 noundef) #1 declare i64 @sprawdz(ptr noundef) #1 declare i32 @showFBB(ptr noundef) #1 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_thihaa6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPC_CREAT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"Blad\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"Znalezione\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 ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 store i32 0, ptr %1, align 4 %15 = call i64 @time(ptr noundef null) %16 = trunc i64 %15 to i32 %17 = call i32 @srand(i32 noundef %16) %18 = call i32 (...) @fork() store i32 %18, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %81, label %21 21: ; preds = %0 %22 = call i32 (...) @getppid() store i32 %22, ptr %3, align 4 %23 = load i32, ptr @IPC_CREAT, align 4 %24 = or i32 %23, 420 %25 = call i32 @shmget(i32 noundef 727272, i32 noundef 16, i32 noundef %24) store i32 %25, ptr %4, align 4 %26 = load i32, ptr @IPC_CREAT, align 4 %27 = or i32 %26, 420 %28 = call i32 @shmget(i32 noundef 727271, i32 noundef 4, i32 noundef %27) store i32 %28, ptr %5, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp eq i32 %29, -1 br i1 %30, label %34, label %31 31: ; preds = %21 %32 = load i32, ptr %5, align 4 %33 = icmp eq i32 %32, -1 br i1 %33, label %34, label %37 34: ; preds = %31, %21 %35 = call i32 @printf(ptr noundef @.str) %36 = call i32 @_exit(i32 noundef 1) #3 unreachable 37: ; preds = %31 %38 = load i32, ptr %4, align 4 %39 = call i64 @shmat(i32 noundef %38, ptr noundef null, i32 noundef 0) %40 = inttoptr i64 %39 to ptr store ptr %40, ptr %6, align 8 %41 = load i32, ptr %5, align 4 %42 = call i64 @shmat(i32 noundef %41, ptr noundef null, i32 noundef 0) %43 = inttoptr i64 %42 to ptr store ptr %43, ptr %7, align 8 %44 = load ptr, ptr %7, align 8 %45 = getelementptr inbounds i32, ptr %44, i64 0 store i32 1, ptr %45, align 4 %46 = load ptr, ptr %6, align 8 %47 = icmp eq ptr %46, null br i1 %47, label %51, label %48 48: ; preds = %37 %49 = load ptr, ptr %7, align 8 %50 = icmp eq ptr %49, null br i1 %50, label %51, label %54 51: ; preds = %48, %37 %52 = call i32 @printf(ptr noundef @.str) %53 = call i32 @_exit(i32 noundef 1) #3 unreachable 54: ; preds = %48 store i32 0, ptr %8, align 4 br label %55 55: ; preds = %76, %54 %56 = load ptr, ptr %7, align 8 %57 = getelementptr inbounds i32, ptr %56, i64 0 %58 = load i32, ptr %57, align 4 %59 = icmp ne i32 %58, 0 br i1 %59, label %60, label %64 60: ; preds = %55 %61 = load i32, ptr %3, align 4 %62 = call i32 @dziala(i32 noundef %61) %63 = icmp eq i32 %62, 1 br label %64 64: ; preds = %60, %55 %65 = phi i1 [ false, %55 ], [ %63, %60 ] br i1 %65, label %66, label %79 66: ; preds = %64 %67 = call i64 (...) @rand() %68 = trunc i64 %67 to i8 %69 = sext i8 %68 to i32 %70 = srem i32 %69, 256 %71 = load ptr, ptr %6, align 8 %72 = load i32, ptr %8, align 4 %73 = srem i32 %72, 16 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i32, ptr %71, i64 %74 store i32 %70, ptr %75, align 4 br label %76 76: ; preds = %66 %77 = load i32, ptr %8, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %8, align 4 br label %55, !llvm.loop !6 79: ; preds = %64 %80 = call i32 @_exit(i32 noundef 0) #3 unreachable 81: ; preds = %0 %82 = load i32, ptr @IPC_CREAT, align 4 %83 = or i32 %82, 420 %84 = call i32 @shmget(i32 noundef 727272, i32 noundef 16, i32 noundef %83) store i32 %84, ptr %9, align 4 %85 = load i32, ptr @IPC_CREAT, align 4 %86 = or i32 %85, 420 %87 = call i32 @shmget(i32 noundef 727271, i32 noundef 4, i32 noundef %86) store i32 %87, ptr %10, align 4 %88 = load i32, ptr %9, align 4 %89 = icmp eq i32 %88, -1 br i1 %89, label %93, label %90 90: ; preds = %81 %91 = load i32, ptr %10, align 4 %92 = icmp eq i32 %91, -1 br i1 %92, label %93, label %95 93: ; preds = %90, %81 %94 = call i32 @printf(ptr noundef @.str) br label %95 95: ; preds = %93, %90 %96 = load i32, ptr %9, align 4 %97 = call i64 @shmat(i32 noundef %96, ptr noundef null, i32 noundef 0) %98 = inttoptr i64 %97 to ptr store ptr %98, ptr %11, align 8 %99 = load i32, ptr %10, align 4 %100 = call i64 @shmat(i32 noundef %99, ptr noundef null, i32 noundef 0) %101 = inttoptr i64 %100 to ptr store ptr %101, ptr %12, align 8 %102 = load ptr, ptr %11, align 8 %103 = icmp eq ptr %102, null br i1 %103, label %107, label %104 104: ; preds = %95 %105 = load ptr, ptr %12, align 8 %106 = icmp eq ptr %105, null br i1 %106, label %107, label %109 107: ; preds = %104, %95 %108 = call i32 @printf(ptr noundef @.str) br label %109 109: ; preds = %107, %104 %110 = load ptr, ptr %12, align 8 %111 = getelementptr inbounds i32, ptr %110, i64 0 store i32 1, ptr %111, align 4 %112 = call ptr @malloc(i32 noundef 8) store ptr %112, ptr %13, align 8 %113 = load ptr, ptr %13, align 8 %114 = call i32 @FBB1(ptr noundef %113) store i32 0, ptr %14, align 4 br label %115 115: ; preds = %109, %134 %116 = load ptr, ptr %13, align 8 %117 = load ptr, ptr %11, align 8 %118 = load i32, ptr %14, align 4 %119 = srem i32 %118, 16 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i32, ptr %117, i64 %120 %122 = load i32, ptr %121, align 4 %123 = call i32 @FBB2(ptr noundef %116, i32 noundef %122) %124 = load ptr, ptr %13, align 8 %125 = call i64 @sprawdz(ptr noundef %124) %126 = icmp ne i64 %125, 0 br i1 %126, label %127, label %133 127: ; preds = %115 %128 = load ptr, ptr %13, align 8 %129 = call i32 @showFBB(ptr noundef %128) %130 = call i32 @printf(ptr noundef @.str.1) %131 = load ptr, ptr %12, align 8 %132 = getelementptr inbounds i32, ptr %131, i64 0 store i32 0, ptr %132, align 4 br label %137 133: ; preds = %115 br label %134 134: ; preds = %133 %135 = load i32, ptr %14, align 4 %136 = add nsw i32 %135, 1 store i32 %136, ptr %14, align 4 br i1 true, label %115, label %.loopexit .loopexit: ; preds = %134 br label %137 137: ; preds = %.loopexit, %127 %138 = call i32 @wait(ptr noundef null) ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @getppid(...) #1 declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 declare i64 @shmat(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @dziala(i32 noundef) #1 declare i64 @rand(...) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @FBB1(ptr noundef) #1 declare i32 @FBB2(ptr noundef, i32 noundef) #1 declare i64 @sprawdz(ptr noundef) #1 declare i32 @showFBB(ptr noundef) #1 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpg6qo1n6i.c' source_filename = "/tmp/tmpg6qo1n6i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"The number is divisible by 5 and 7\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @div() #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/tmpg6qo1n6i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"The number is divisible by 5 and 7\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @div() #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/tmpwexxa7el.c' source_filename = "/tmp/tmpwexxa7el.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myAtoL(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %3, align 4 store i64 0, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %9 9: ; preds = %51, %1 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %54 17: ; preds = %9 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp sle i32 %23, 57 br i1 %24, label %25, label %51 25: ; preds = %17 %26 = load ptr, ptr %2, align 8 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp sge i32 %31, 48 br i1 %32, label %33, label %51 33: ; preds = %25 %34 = load ptr, ptr %2, align 8 %35 = load i32, ptr %5, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = sub nsw i32 %39, 48 store i32 %40, ptr %6, align 4 %41 = load i64, ptr %4, align 8 %42 = load i32, ptr %6, align 4 %43 = load i32, ptr %3, align 4 %44 = load i32, ptr %5, align 4 %45 = sub nsw i32 %43, %44 %46 = sub nsw i32 %45, 1 %47 = call i32 @pow(i32 noundef 10, i32 noundef %46) %48 = mul nsw i32 %42, %47 %49 = sext i32 %48 to i64 %50 = add nsw i64 %41, %49 store i64 %50, ptr %4, align 8 br label %51 51: ; preds = %33, %25, %17 %52 = load i32, ptr %5, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %5, align 4 br label %9, !llvm.loop !6 54: ; preds = %9 %55 = load ptr, ptr %2, align 8 %56 = getelementptr inbounds i8, ptr %55, i64 0 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp eq i32 %58, 45 br i1 %59, label %60, label %63 60: ; preds = %54 %61 = load i64, ptr %4, align 8 %62 = mul nsw i64 %61, -1 store i64 %62, ptr %4, align 8 br label %63 63: ; preds = %60, %54 %64 = load i64, ptr %4, align 8 ret i64 %64 } declare i32 @strlen(ptr noundef) #1 declare i32 @pow(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/tmpwexxa7el.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myAtoL(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %3, align 4 store i64 0, ptr %4, align 8 store i32 0, ptr %5, align 4 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %.lr.ph, label %60 .lr.ph: ; preds = %1 br label %16 16: ; preds = %.lr.ph, %50 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp sle i32 %22, 57 br i1 %23, label %24, label %50 24: ; preds = %16 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp sge i32 %30, 48 br i1 %31, label %32, label %50 32: ; preds = %24 %33 = load ptr, ptr %2, align 8 %34 = load i32, ptr %5, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = sub nsw i32 %38, 48 store i32 %39, ptr %6, align 4 %40 = load i64, ptr %4, align 8 %41 = load i32, ptr %6, align 4 %42 = load i32, ptr %3, align 4 %43 = load i32, ptr %5, align 4 %44 = sub nsw i32 %42, %43 %45 = sub nsw i32 %44, 1 %46 = call i32 @pow(i32 noundef 10, i32 noundef %45) %47 = mul nsw i32 %41, %46 %48 = sext i32 %47 to i64 %49 = add nsw i64 %40, %48 store i64 %49, ptr %4, align 8 br label %50 50: ; preds = %32, %24, %16 %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %5, align 4 %53 = load ptr, ptr %2, align 8 %54 = load i32, ptr %5, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp ne i32 %58, 0 br i1 %59, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %60 60: ; preds = %._crit_edge, %1 %61 = load ptr, ptr %2, align 8 %62 = getelementptr inbounds i8, ptr %61, i64 0 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = icmp eq i32 %64, 45 br i1 %65, label %66, label %69 66: ; preds = %60 %67 = load i64, ptr %4, align 8 %68 = mul nsw i64 %67, -1 store i64 %68, ptr %4, align 8 br label %69 69: ; preds = %66, %60 %70 = load i64, ptr %4, align 8 ret i64 %70 } declare i32 @strlen(ptr noundef) #1 declare i32 @pow(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/tmpeat3tkbz.c' source_filename = "/tmp/tmpeat3tkbz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Lcd8_Shift_Left() #0 { %1 = call i32 @Lcd8_Cmd(i32 noundef 24) ret void } declare i32 @Lcd8_Cmd(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/tmpeat3tkbz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Lcd8_Shift_Left() #0 { %1 = call i32 @Lcd8_Cmd(i32 noundef 24) ret void } declare i32 @Lcd8_Cmd(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/tmp68on87tt.c' source_filename = "/tmp/tmp68on87tt.c" target datalayout = "e-m:e-p270: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/tmp68on87tt.c" target datalayout = "e-m:e-p270: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/tmp8bpk9zs8.c' source_filename = "/tmp/tmp8bpk9zs8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_islower.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0x1f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_islower_0x1f() #0 { %1 = call i64 @islower(i32 noundef 31) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 160, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @islower(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/tmp8bpk9zs8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_islower.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0x1f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_islower_0x1f() #0 { %1 = call i64 @islower(i32 noundef 31) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 160, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @islower(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/tmpaog16_1z.c' source_filename = "/tmp/tmpaog16_1z.c" target datalayout = "e-m:e-p270: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/tmpaog16_1z.c" target datalayout = "e-m:e-p270: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/tmpl1k3gm1z.c' source_filename = "/tmp/tmpl1k3gm1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i2c_write_clock_scale(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, 255 %5 = call i32 @i2c_write_reg(i32 noundef 0, i32 noundef %4) %6 = load i32, ptr %2, align 4 %7 = ashr i32 %6, 8 %8 = call i32 @i2c_write_reg(i32 noundef 1, i32 noundef %7) ret void } declare i32 @i2c_write_reg(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/tmpl1k3gm1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i2c_write_clock_scale(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, 255 %5 = call i32 @i2c_write_reg(i32 noundef 0, i32 noundef %4) %6 = load i32, ptr %2, align 4 %7 = ashr i32 %6, 8 %8 = call i32 @i2c_write_reg(i32 noundef 1, i32 noundef %7) ret void } declare i32 @i2c_write_reg(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/tmpu4k9s_o_.c' source_filename = "/tmp/tmpu4k9s_o_.c" target datalayout = "e-m:e-p270: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 { i64, ptr } @ASN1_R_ODD_NUMBER_OF_CHARS = dso_local global i32 0, align 4 @ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4 @ASN1_R_NON_HEX_CHARACTERS = dso_local global i32 0, align 4 @ASN1_R_SHORT_LINE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @a2i_ASN1_STRING(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 %22 = alloca i64, align 8 %23 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i32 0, ptr %10, align 4 store ptr null, ptr %18, align 8 store i32 1, ptr %21, align 4 store i64 0, ptr %22, align 8 store i64 0, ptr %23, align 8 %24 = load ptr, ptr %6, align 8 %25 = load ptr, ptr %8, align 8 %26 = load i32, ptr %9, align 4 %27 = call i32 @BIO_gets(ptr noundef %24, ptr noundef %25, i32 noundef %26) store i32 %27, ptr %17, align 4 br label %28 28: ; preds = %285, %4 %29 = load i32, ptr %17, align 4 %30 = icmp slt i32 %29, 1 br i1 %30, label %31, label %36 31: ; preds = %28 %32 = load i32, ptr %21, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %31 br label %286 35: ; preds = %31 br label %293 36: ; preds = %28 store i32 0, ptr %21, align 4 %37 = load i32, ptr %17, align 4 store i32 %37, ptr %11, align 4 %38 = load ptr, ptr %8, align 8 %39 = load i32, ptr %11, align 4 %40 = sub nsw i32 %39, 1 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %38, i64 %41 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 10 br i1 %45, label %46, label %52 46: ; preds = %36 %47 = load ptr, ptr %8, align 8 %48 = load i32, ptr %11, align 4 %49 = add nsw i32 %48, -1 store i32 %49, ptr %11, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %47, i64 %50 store i8 0, ptr %51, align 1 br label %52 52: ; preds = %46, %36 %53 = load i32, ptr %11, align 4 %54 = icmp eq i32 %53, 0 br i1 %54, label %55, label %56 55: ; preds = %52 br label %293 56: ; preds = %52 %57 = load ptr, ptr %8, align 8 %58 = load i32, ptr %11, align 4 %59 = sub nsw i32 %58, 1 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %57, i64 %60 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %63, 13 br i1 %64, label %65, label %71 65: ; preds = %56 %66 = load ptr, ptr %8, align 8 %67 = load i32, ptr %11, align 4 %68 = add nsw i32 %67, -1 store i32 %68, ptr %11, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %66, i64 %69 store i8 0, ptr %70, align 1 br label %71 71: ; preds = %65, %56 %72 = load i32, ptr %11, align 4 %73 = icmp eq i32 %72, 0 br i1 %73, label %74, label %75 74: ; preds = %71 br label %293 75: ; preds = %71 %76 = load ptr, ptr %8, align 8 %77 = load i32, ptr %11, align 4 %78 = sub nsw i32 %77, 1 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i8, ptr %76, i64 %79 %81 = load i8, ptr %80, align 1 %82 = sext i8 %81 to i32 %83 = icmp eq i32 %82, 92 %84 = zext i1 %83 to i32 store i32 %84, ptr %16, align 4 %85 = load i32, ptr %11, align 4 %86 = sub nsw i32 %85, 1 store i32 %86, ptr %12, align 4 br label %87 87: ; preds = %141, %75 %88 = load i32, ptr %12, align 4 %89 = icmp sgt i32 %88, 0 br i1 %89, label %90, label %144 90: ; preds = %87 %91 = load ptr, ptr %8, align 8 %92 = load i32, ptr %12, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i8, ptr %91, i64 %93 %95 = load i8, ptr %94, align 1 %96 = sext i8 %95 to i32 %97 = icmp sge i32 %96, 48 br i1 %97, label %98, label %106 98: ; preds = %90 %99 = load ptr, ptr %8, align 8 %100 = load i32, ptr %12, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i8, ptr %99, i64 %101 %103 = load i8, ptr %102, align 1 %104 = sext i8 %103 to i32 %105 = icmp sle i32 %104, 57 br i1 %105, label %140, label %106 106: ; preds = %98, %90 %107 = load ptr, ptr %8, align 8 %108 = load i32, ptr %12, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i8, ptr %107, i64 %109 %111 = load i8, ptr %110, align 1 %112 = sext i8 %111 to i32 %113 = icmp sge i32 %112, 97 br i1 %113, label %114, label %122 114: ; preds = %106 %115 = load ptr, ptr %8, align 8 %116 = load i32, ptr %12, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i8, ptr %115, i64 %117 %119 = load i8, ptr %118, align 1 %120 = sext i8 %119 to i32 %121 = icmp sle i32 %120, 102 br i1 %121, label %140, label %122 122: ; preds = %114, %106 %123 = load ptr, ptr %8, align 8 %124 = load i32, ptr %12, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds i8, ptr %123, i64 %125 %127 = load i8, ptr %126, align 1 %128 = sext i8 %127 to i32 %129 = icmp sge i32 %128, 65 br i1 %129, label %130, label %138 130: ; preds = %122 %131 = load ptr, ptr %8, align 8 %132 = load i32, ptr %12, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds i8, ptr %131, i64 %133 %135 = load i8, ptr %134, align 1 %136 = sext i8 %135 to i32 %137 = icmp sle i32 %136, 70 br i1 %137, label %140, label %138 138: ; preds = %130, %122 %139 = load i32, ptr %12, align 4 store i32 %139, ptr %11, align 4 br label %144 140: ; preds = %130, %114, %98 br label %141 141: ; preds = %140 %142 = load i32, ptr %12, align 4 %143 = add nsw i32 %142, -1 store i32 %143, ptr %12, align 4 br label %87, !llvm.loop !6 144: ; preds = %138, %87 %145 = load ptr, ptr %8, align 8 %146 = load i32, ptr %11, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds i8, ptr %145, i64 %147 store i8 0, ptr %148, align 1 %149 = load i32, ptr %11, align 4 %150 = icmp slt i32 %149, 2 br i1 %150, label %151, label %152 151: ; preds = %144 br label %293 152: ; preds = %144 %153 = load ptr, ptr %8, align 8 store ptr %153, ptr %20, align 8 store i32 0, ptr %13, align 4 %154 = load i32, ptr %16, align 4 %155 = load i32, ptr %11, align 4 %156 = sub nsw i32 %155, %154 store i32 %156, ptr %11, align 4 %157 = load i32, ptr %11, align 4 %158 = srem i32 %157, 2 %159 = icmp ne i32 %158, 0 br i1 %159, label %160, label %163 160: ; preds = %152 %161 = load i32, ptr @ASN1_R_ODD_NUMBER_OF_CHARS, align 4 %162 = call i32 @ASN1error(i32 noundef %161) br label %296 163: ; preds = %152 %164 = load i32, ptr %11, align 4 %165 = sdiv i32 %164, 2 store i32 %165, ptr %11, align 4 %166 = load i64, ptr %22, align 8 %167 = load i32, ptr %11, align 4 %168 = sext i32 %167 to i64 %169 = add i64 %166, %168 %170 = load i64, ptr %23, align 8 %171 = icmp ugt i64 %169, %170 br i1 %171, label %172, label %190 172: ; preds = %163 %173 = load ptr, ptr %18, align 8 %174 = load i64, ptr %22, align 8 %175 = load i32, ptr %11, align 4 %176 = sext i32 %175 to i64 %177 = add i64 %174, %176 %178 = call ptr @realloc(ptr noundef %173, i64 noundef %177) store ptr %178, ptr %19, align 8 %179 = load ptr, ptr %19, align 8 %180 = icmp eq ptr %179, null br i1 %180, label %181, label %184 181: ; preds = %172 %182 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4 %183 = call i32 @ASN1error(i32 noundef %182) br label %296 184: ; preds = %172 %185 = load ptr, ptr %19, align 8 store ptr %185, ptr %18, align 8 %186 = load i64, ptr %22, align 8 %187 = load i32, ptr %11, align 4 %188 = sext i32 %187 to i64 %189 = add i64 %186, %188 store i64 %189, ptr %23, align 8 br label %190 190: ; preds = %184, %163 store i32 0, ptr %12, align 4 br label %191 191: ; preds = %267, %190 %192 = load i32, ptr %12, align 4 %193 = load i32, ptr %11, align 4 %194 = icmp slt i32 %192, %193 br i1 %194, label %195, label %272 195: ; preds = %191 store i32 0, ptr %15, align 4 br label %196 196: ; preds = %263, %195 %197 = load i32, ptr %15, align 4 %198 = icmp slt i32 %197, 2 br i1 %198, label %199, label %266 199: ; preds = %196 %200 = load ptr, ptr %20, align 8 %201 = load i32, ptr %13, align 4 %202 = load i32, ptr %15, align 4 %203 = add nsw i32 %201, %202 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds i8, ptr %200, i64 %204 %206 = load i8, ptr %205, align 1 %207 = zext i8 %206 to i32 store i32 %207, ptr %14, align 4 %208 = load i32, ptr %14, align 4 %209 = icmp sge i32 %208, 48 br i1 %209, label %210, label %216 210: ; preds = %199 %211 = load i32, ptr %14, align 4 %212 = icmp sle i32 %211, 57 br i1 %212, label %213, label %216 213: ; preds = %210 %214 = load i32, ptr %14, align 4 %215 = sub nsw i32 %214, 48 store i32 %215, ptr %14, align 4 br label %241 216: ; preds = %210, %199 %217 = load i32, ptr %14, align 4 %218 = icmp sge i32 %217, 97 br i1 %218, label %219, label %226 219: ; preds = %216 %220 = load i32, ptr %14, align 4 %221 = icmp sle i32 %220, 102 br i1 %221, label %222, label %226 222: ; preds = %219 %223 = load i32, ptr %14, align 4 %224 = sub nsw i32 %223, 97 %225 = add nsw i32 %224, 10 store i32 %225, ptr %14, align 4 br label %240 226: ; preds = %219, %216 %227 = load i32, ptr %14, align 4 %228 = icmp sge i32 %227, 65 br i1 %228, label %229, label %236 229: ; preds = %226 %230 = load i32, ptr %14, align 4 %231 = icmp sle i32 %230, 70 br i1 %231, label %232, label %236 232: ; preds = %229 %233 = load i32, ptr %14, align 4 %234 = sub nsw i32 %233, 65 %235 = add nsw i32 %234, 10 store i32 %235, ptr %14, align 4 br label %239 236: ; preds = %229, %226 %237 = load i32, ptr @ASN1_R_NON_HEX_CHARACTERS, align 4 %238 = call i32 @ASN1error(i32 noundef %237) br label %296 239: ; preds = %232 br label %240 240: ; preds = %239, %222 br label %241 241: ; preds = %240, %213 %242 = load ptr, ptr %18, align 8 %243 = load i64, ptr %22, align 8 %244 = load i32, ptr %12, align 4 %245 = sext i32 %244 to i64 %246 = add i64 %243, %245 %247 = getelementptr inbounds i8, ptr %242, i64 %246 %248 = load i8, ptr %247, align 1 %249 = zext i8 %248 to i32 %250 = shl i32 %249, 4 %251 = trunc i32 %250 to i8 store i8 %251, ptr %247, align 1 %252 = load i32, ptr %14, align 4 %253 = load ptr, ptr %18, align 8 %254 = load i64, ptr %22, align 8 %255 = load i32, ptr %12, align 4 %256 = sext i32 %255 to i64 %257 = add i64 %254, %256 %258 = getelementptr inbounds i8, ptr %253, i64 %257 %259 = load i8, ptr %258, align 1 %260 = zext i8 %259 to i32 %261 = or i32 %260, %252 %262 = trunc i32 %261 to i8 store i8 %262, ptr %258, align 1 br label %263 263: ; preds = %241 %264 = load i32, ptr %15, align 4 %265 = add nsw i32 %264, 1 store i32 %265, ptr %15, align 4 br label %196, !llvm.loop !8 266: ; preds = %196 br label %267 267: ; preds = %266 %268 = load i32, ptr %12, align 4 %269 = add nsw i32 %268, 1 store i32 %269, ptr %12, align 4 %270 = load i32, ptr %13, align 4 %271 = add nsw i32 %270, 2 store i32 %271, ptr %13, align 4 br label %191, !llvm.loop !9 272: ; preds = %191 %273 = load i32, ptr %11, align 4 %274 = sext i32 %273 to i64 %275 = load i64, ptr %22, align 8 %276 = add i64 %275, %274 store i64 %276, ptr %22, align 8 %277 = load i32, ptr %16, align 4 %278 = icmp ne i32 %277, 0 br i1 %278, label %279, label %284 279: ; preds = %272 %280 = load ptr, ptr %6, align 8 %281 = load ptr, ptr %8, align 8 %282 = load i32, ptr %9, align 4 %283 = call i32 @BIO_gets(ptr noundef %280, ptr noundef %281, i32 noundef %282) store i32 %283, ptr %17, align 4 br label %285 284: ; preds = %272 br label %286 285: ; preds = %279 br label %28 286: ; preds = %284, %34 %287 = load i64, ptr %22, align 8 %288 = load ptr, ptr %7, align 8 %289 = getelementptr inbounds %struct.TYPE_3__, ptr %288, i32 0, i32 0 store i64 %287, ptr %289, align 8 %290 = load ptr, ptr %18, align 8 %291 = load ptr, ptr %7, align 8 %292 = getelementptr inbounds %struct.TYPE_3__, ptr %291, i32 0, i32 1 store ptr %290, ptr %292, align 8 store i32 1, ptr %5, align 4 br label %300 293: ; preds = %151, %74, %55, %35 %294 = load i32, ptr @ASN1_R_SHORT_LINE, align 4 %295 = call i32 @ASN1error(i32 noundef %294) br label %296 296: ; preds = %293, %236, %181, %160 %297 = load ptr, ptr %18, align 8 %298 = call i32 @free(ptr noundef %297) %299 = load i32, ptr %10, align 4 store i32 %299, ptr %5, align 4 br label %300 300: ; preds = %296, %286 %301 = load i32, ptr %5, align 4 ret i32 %301 } declare i32 @BIO_gets(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @ASN1error(i32 noundef) #1 declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu4k9s_o_.c" target datalayout = "e-m:e-p270: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 { i64, ptr } @ASN1_R_ODD_NUMBER_OF_CHARS = dso_local global i32 0, align 4 @ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4 @ASN1_R_NON_HEX_CHARACTERS = dso_local global i32 0, align 4 @ASN1_R_SHORT_LINE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @a2i_ASN1_STRING(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 %22 = alloca i64, align 8 %23 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i32 0, ptr %10, align 4 store ptr null, ptr %18, align 8 store i32 1, ptr %21, align 4 store i64 0, ptr %22, align 8 store i64 0, ptr %23, align 8 %24 = load ptr, ptr %6, align 8 %25 = load ptr, ptr %8, align 8 %26 = load i32, ptr %9, align 4 %27 = call i32 @BIO_gets(ptr noundef %24, ptr noundef %25, i32 noundef %26) store i32 %27, ptr %17, align 4 %28 = load i32, ptr %17, align 4 %29 = icmp slt i32 %28, 1 br i1 %29, label %30, label %.lr.ph6 .lr.ph6: ; preds = %4 br label %35 ._crit_edge7: ; preds = %288 br label %30 30: ; preds = %._crit_edge7, %4 %31 = load i32, ptr %21, align 4 %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %30 br label %291 34: ; preds = %30 br label %298 35: ; preds = %.lr.ph6, %288 store i32 0, ptr %21, align 4 %36 = load i32, ptr %17, align 4 store i32 %36, ptr %11, align 4 %37 = load ptr, ptr %8, align 8 %38 = load i32, ptr %11, align 4 %39 = sub nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %37, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %43, 10 br i1 %44, label %45, label %51 45: ; preds = %35 %46 = load ptr, ptr %8, align 8 %47 = load i32, ptr %11, align 4 %48 = add nsw i32 %47, -1 store i32 %48, ptr %11, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %46, i64 %49 store i8 0, ptr %50, align 1 br label %51 51: ; preds = %45, %35 %52 = load i32, ptr %11, align 4 %53 = icmp eq i32 %52, 0 br i1 %53, label %54, label %55 54: ; preds = %51 br label %298 55: ; preds = %51 %56 = load ptr, ptr %8, align 8 %57 = load i32, ptr %11, align 4 %58 = sub nsw i32 %57, 1 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %56, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp eq i32 %62, 13 br i1 %63, label %64, label %70 64: ; preds = %55 %65 = load ptr, ptr %8, align 8 %66 = load i32, ptr %11, align 4 %67 = add nsw i32 %66, -1 store i32 %67, ptr %11, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %65, i64 %68 store i8 0, ptr %69, align 1 br label %70 70: ; preds = %64, %55 %71 = load i32, ptr %11, align 4 %72 = icmp eq i32 %71, 0 br i1 %72, label %73, label %74 73: ; preds = %70 br label %298 74: ; preds = %70 %75 = load ptr, ptr %8, align 8 %76 = load i32, ptr %11, align 4 %77 = sub nsw i32 %76, 1 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %75, i64 %78 %80 = load i8, ptr %79, align 1 %81 = sext i8 %80 to i32 %82 = icmp eq i32 %81, 92 %83 = zext i1 %82 to i32 store i32 %83, ptr %16, align 4 %84 = load i32, ptr %11, align 4 %85 = sub nsw i32 %84, 1 store i32 %85, ptr %12, align 4 %86 = load i32, ptr %12, align 4 %87 = icmp sgt i32 %86, 0 br i1 %87, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %74 br label %88 88: ; preds = %.lr.ph, %139 %89 = load ptr, ptr %8, align 8 %90 = load i32, ptr %12, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i8, ptr %89, i64 %91 %93 = load i8, ptr %92, align 1 %94 = sext i8 %93 to i32 %95 = icmp sge i32 %94, 48 br i1 %95, label %96, label %104 96: ; preds = %88 %97 = load ptr, ptr %8, align 8 %98 = load i32, ptr %12, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i8, ptr %97, i64 %99 %101 = load i8, ptr %100, align 1 %102 = sext i8 %101 to i32 %103 = icmp sle i32 %102, 57 br i1 %103, label %138, label %104 104: ; preds = %96, %88 %105 = load ptr, ptr %8, align 8 %106 = load i32, ptr %12, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i8, ptr %105, i64 %107 %109 = load i8, ptr %108, align 1 %110 = sext i8 %109 to i32 %111 = icmp sge i32 %110, 97 br i1 %111, label %112, label %120 112: ; preds = %104 %113 = load ptr, ptr %8, align 8 %114 = load i32, ptr %12, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i8, ptr %113, i64 %115 %117 = load i8, ptr %116, align 1 %118 = sext i8 %117 to i32 %119 = icmp sle i32 %118, 102 br i1 %119, label %138, label %120 120: ; preds = %112, %104 %121 = load ptr, ptr %8, align 8 %122 = load i32, ptr %12, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds i8, ptr %121, i64 %123 %125 = load i8, ptr %124, align 1 %126 = sext i8 %125 to i32 %127 = icmp sge i32 %126, 65 br i1 %127, label %128, label %136 128: ; preds = %120 %129 = load ptr, ptr %8, align 8 %130 = load i32, ptr %12, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds i8, ptr %129, i64 %131 %133 = load i8, ptr %132, align 1 %134 = sext i8 %133 to i32 %135 = icmp sle i32 %134, 70 br i1 %135, label %138, label %136 136: ; preds = %128, %120 %137 = load i32, ptr %12, align 4 store i32 %137, ptr %11, align 4 br label %144 138: ; preds = %128, %112, %96 br label %139 139: ; preds = %138 %140 = load i32, ptr %12, align 4 %141 = add nsw i32 %140, -1 store i32 %141, ptr %12, align 4 %142 = load i32, ptr %12, align 4 %143 = icmp sgt i32 %142, 0 br i1 %143, label %88, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %139 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %74 br label %144 144: ; preds = %.loopexit, %136 %145 = load ptr, ptr %8, align 8 %146 = load i32, ptr %11, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds i8, ptr %145, i64 %147 store i8 0, ptr %148, align 1 %149 = load i32, ptr %11, align 4 %150 = icmp slt i32 %149, 2 br i1 %150, label %151, label %152 151: ; preds = %144 br label %298 152: ; preds = %144 %153 = load ptr, ptr %8, align 8 store ptr %153, ptr %20, align 8 store i32 0, ptr %13, align 4 %154 = load i32, ptr %16, align 4 %155 = load i32, ptr %11, align 4 %156 = sub nsw i32 %155, %154 store i32 %156, ptr %11, align 4 %157 = load i32, ptr %11, align 4 %158 = srem i32 %157, 2 %159 = icmp ne i32 %158, 0 br i1 %159, label %160, label %163 160: ; preds = %152 %161 = load i32, ptr @ASN1_R_ODD_NUMBER_OF_CHARS, align 4 %162 = call i32 @ASN1error(i32 noundef %161) br label %301 163: ; preds = %152 %164 = load i32, ptr %11, align 4 %165 = sdiv i32 %164, 2 store i32 %165, ptr %11, align 4 %166 = load i64, ptr %22, align 8 %167 = load i32, ptr %11, align 4 %168 = sext i32 %167 to i64 %169 = add i64 %166, %168 %170 = load i64, ptr %23, align 8 %171 = icmp ugt i64 %169, %170 br i1 %171, label %172, label %190 172: ; preds = %163 %173 = load ptr, ptr %18, align 8 %174 = load i64, ptr %22, align 8 %175 = load i32, ptr %11, align 4 %176 = sext i32 %175 to i64 %177 = add i64 %174, %176 %178 = call ptr @realloc(ptr noundef %173, i64 noundef %177) store ptr %178, ptr %19, align 8 %179 = load ptr, ptr %19, align 8 %180 = icmp eq ptr %179, null br i1 %180, label %181, label %184 181: ; preds = %172 %182 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4 %183 = call i32 @ASN1error(i32 noundef %182) br label %301 184: ; preds = %172 %185 = load ptr, ptr %19, align 8 store ptr %185, ptr %18, align 8 %186 = load i64, ptr %22, align 8 %187 = load i32, ptr %11, align 4 %188 = sext i32 %187 to i64 %189 = add i64 %186, %188 store i64 %189, ptr %23, align 8 br label %190 190: ; preds = %184, %163 store i32 0, ptr %12, align 4 %191 = load i32, ptr %12, align 4 %192 = load i32, ptr %11, align 4 %193 = icmp slt i32 %191, %192 br i1 %193, label %.lr.ph3, label %275 .lr.ph3: ; preds = %190 br label %194 194: ; preds = %.lr.ph3, %267 store i32 0, ptr %15, align 4 %195 = load i32, ptr %15, align 4 %196 = icmp slt i32 %195, 2 br i1 %196, label %.lr.ph1, label %266 .lr.ph1: ; preds = %194 br label %197 197: ; preds = %.lr.ph1, %261 %198 = load ptr, ptr %20, align 8 %199 = load i32, ptr %13, align 4 %200 = load i32, ptr %15, align 4 %201 = add nsw i32 %199, %200 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds i8, ptr %198, i64 %202 %204 = load i8, ptr %203, align 1 %205 = zext i8 %204 to i32 store i32 %205, ptr %14, align 4 %206 = load i32, ptr %14, align 4 %207 = icmp sge i32 %206, 48 br i1 %207, label %208, label %214 208: ; preds = %197 %209 = load i32, ptr %14, align 4 %210 = icmp sle i32 %209, 57 br i1 %210, label %211, label %214 211: ; preds = %208 %212 = load i32, ptr %14, align 4 %213 = sub nsw i32 %212, 48 store i32 %213, ptr %14, align 4 br label %239 214: ; preds = %208, %197 %215 = load i32, ptr %14, align 4 %216 = icmp sge i32 %215, 97 br i1 %216, label %217, label %224 217: ; preds = %214 %218 = load i32, ptr %14, align 4 %219 = icmp sle i32 %218, 102 br i1 %219, label %220, label %224 220: ; preds = %217 %221 = load i32, ptr %14, align 4 %222 = sub nsw i32 %221, 97 %223 = add nsw i32 %222, 10 store i32 %223, ptr %14, align 4 br label %238 224: ; preds = %217, %214 %225 = load i32, ptr %14, align 4 %226 = icmp sge i32 %225, 65 br i1 %226, label %227, label %234 227: ; preds = %224 %228 = load i32, ptr %14, align 4 %229 = icmp sle i32 %228, 70 br i1 %229, label %230, label %234 230: ; preds = %227 %231 = load i32, ptr %14, align 4 %232 = sub nsw i32 %231, 65 %233 = add nsw i32 %232, 10 store i32 %233, ptr %14, align 4 br label %237 234: ; preds = %227, %224 %235 = load i32, ptr @ASN1_R_NON_HEX_CHARACTERS, align 4 %236 = call i32 @ASN1error(i32 noundef %235) br label %301 237: ; preds = %230 br label %238 238: ; preds = %237, %220 br label %239 239: ; preds = %238, %211 %240 = load ptr, ptr %18, align 8 %241 = load i64, ptr %22, align 8 %242 = load i32, ptr %12, align 4 %243 = sext i32 %242 to i64 %244 = add i64 %241, %243 %245 = getelementptr inbounds i8, ptr %240, i64 %244 %246 = load i8, ptr %245, align 1 %247 = zext i8 %246 to i32 %248 = shl i32 %247, 4 %249 = trunc i32 %248 to i8 store i8 %249, ptr %245, align 1 %250 = load i32, ptr %14, align 4 %251 = load ptr, ptr %18, align 8 %252 = load i64, ptr %22, align 8 %253 = load i32, ptr %12, align 4 %254 = sext i32 %253 to i64 %255 = add i64 %252, %254 %256 = getelementptr inbounds i8, ptr %251, i64 %255 %257 = load i8, ptr %256, align 1 %258 = zext i8 %257 to i32 %259 = or i32 %258, %250 %260 = trunc i32 %259 to i8 store i8 %260, ptr %256, align 1 br label %261 261: ; preds = %239 %262 = load i32, ptr %15, align 4 %263 = add nsw i32 %262, 1 store i32 %263, ptr %15, align 4 %264 = load i32, ptr %15, align 4 %265 = icmp slt i32 %264, 2 br i1 %265, label %197, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %261 br label %266 266: ; preds = %._crit_edge, %194 br label %267 267: ; preds = %266 %268 = load i32, ptr %12, align 4 %269 = add nsw i32 %268, 1 store i32 %269, ptr %12, align 4 %270 = load i32, ptr %13, align 4 %271 = add nsw i32 %270, 2 store i32 %271, ptr %13, align 4 %272 = load i32, ptr %12, align 4 %273 = load i32, ptr %11, align 4 %274 = icmp slt i32 %272, %273 br i1 %274, label %194, label %._crit_edge4, !llvm.loop !9 ._crit_edge4: ; preds = %267 br label %275 275: ; preds = %._crit_edge4, %190 %276 = load i32, ptr %11, align 4 %277 = sext i32 %276 to i64 %278 = load i64, ptr %22, align 8 %279 = add i64 %278, %277 store i64 %279, ptr %22, align 8 %280 = load i32, ptr %16, align 4 %281 = icmp ne i32 %280, 0 br i1 %281, label %282, label %287 282: ; preds = %275 %283 = load ptr, ptr %6, align 8 %284 = load ptr, ptr %8, align 8 %285 = load i32, ptr %9, align 4 %286 = call i32 @BIO_gets(ptr noundef %283, ptr noundef %284, i32 noundef %285) store i32 %286, ptr %17, align 4 br label %288 287: ; preds = %275 br label %291 288: ; preds = %282 %289 = load i32, ptr %17, align 4 %290 = icmp slt i32 %289, 1 br i1 %290, label %._crit_edge7, label %35 291: ; preds = %287, %33 %292 = load i64, ptr %22, align 8 %293 = load ptr, ptr %7, align 8 %294 = getelementptr inbounds %struct.TYPE_3__, ptr %293, i32 0, i32 0 store i64 %292, ptr %294, align 8 %295 = load ptr, ptr %18, align 8 %296 = load ptr, ptr %7, align 8 %297 = getelementptr inbounds %struct.TYPE_3__, ptr %296, i32 0, i32 1 store ptr %295, ptr %297, align 8 store i32 1, ptr %5, align 4 br label %305 298: ; preds = %151, %73, %54, %34 %299 = load i32, ptr @ASN1_R_SHORT_LINE, align 4 %300 = call i32 @ASN1error(i32 noundef %299) br label %301 301: ; preds = %298, %234, %181, %160 %302 = load ptr, ptr %18, align 8 %303 = call i32 @free(ptr noundef %302) %304 = load i32, ptr %10, align 4 store i32 %304, ptr %5, align 4 br label %305 305: ; preds = %301, %291 %306 = load i32, ptr %5, align 4 ret i32 %306 } declare i32 @BIO_gets(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @ASN1error(i32 noundef) #1 declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmprkngbkiw.c' source_filename = "/tmp/tmprkngbkiw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"\0APodaj d\C5\82ugo\C5\9B\C4\87 pierwszej liczby: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"\0APodaj d\C5\82ugo\C5\9B\C4\87 drugiej liczby: \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%1i\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store i32 0, ptr %1, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %20 18: ; preds = %0 %19 = load i32, ptr %4, align 4 store i32 %19, ptr %5, align 4 br label %22 20: ; preds = %0 %21 = load i32, ptr %3, align 4 store i32 %21, ptr %5, align 4 br label %22 22: ; preds = %20, %18 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 %25 = zext i32 %24 to i64 %26 = call ptr @llvm.stacksave() store ptr %26, ptr %7, align 8 %27 = alloca i32, i64 %25, align 16 store i64 %25, ptr %8, align 8 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 %30 = zext i32 %29 to i64 %31 = alloca i32, i64 %30, align 16 store i64 %30, ptr %9, align 8 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 %34 = zext i32 %33 to i64 %35 = alloca i32, i64 %34, align 16 store i64 %34, ptr %10, align 8 %36 = load i32, ptr %5, align 4 store i32 %36, ptr %2, align 4 br label %37 37: ; preds = %45, %22 %38 = load i32, ptr %2, align 4 %39 = load i32, ptr %3, align 4 %40 = icmp sge i32 %38, %39 br i1 %40, label %41, label %48 41: ; preds = %37 %42 = load i32, ptr %2, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %27, i64 %43 store i32 0, ptr %44, align 4 br label %45 45: ; preds = %41 %46 = load i32, ptr %2, align 4 %47 = sub nsw i32 %46, 1 store i32 %47, ptr %2, align 4 br label %37, !llvm.loop !6 48: ; preds = %37 %49 = load i32, ptr %3, align 4 %50 = sub nsw i32 %49, 1 store i32 %50, ptr %2, align 4 br label %51 51: ; preds = %59, %48 %52 = load i32, ptr %2, align 4 %53 = icmp sge i32 %52, 0 br i1 %53, label %54, label %62 54: ; preds = %51 %55 = load i32, ptr %2, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %27, i64 %56 %58 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %57) br label %59 59: ; preds = %54 %60 = load i32, ptr %2, align 4 %61 = sub nsw i32 %60, 1 store i32 %61, ptr %2, align 4 br label %51, !llvm.loop !8 62: ; preds = %51 %63 = load i32, ptr %5, align 4 store i32 %63, ptr %2, align 4 br label %64 64: ; preds = %72, %62 %65 = load i32, ptr %2, align 4 %66 = load i32, ptr %4, align 4 %67 = icmp sge i32 %65, %66 br i1 %67, label %68, label %75 68: ; preds = %64 %69 = load i32, ptr %2, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %31, i64 %70 store i32 0, ptr %71, align 4 br label %72 72: ; preds = %68 %73 = load i32, ptr %2, align 4 %74 = sub nsw i32 %73, 1 store i32 %74, ptr %2, align 4 br label %64, !llvm.loop !9 75: ; preds = %64 %76 = load i32, ptr %4, align 4 %77 = sub nsw i32 %76, 1 store i32 %77, ptr %2, align 4 br label %78 78: ; preds = %86, %75 %79 = load i32, ptr %2, align 4 %80 = icmp sge i32 %79, 0 br i1 %80, label %81, label %89 81: ; preds = %78 %82 = load i32, ptr %2, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %31, i64 %83 %85 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %84) br label %86 86: ; preds = %81 %87 = load i32, ptr %2, align 4 %88 = sub nsw i32 %87, 1 store i32 %88, ptr %2, align 4 br label %78, !llvm.loop !10 89: ; preds = %78 store i32 0, ptr %6, align 4 store i32 0, ptr %2, align 4 br label %90 90: ; preds = %122, %89 %91 = load i32, ptr %2, align 4 %92 = load i32, ptr %5, align 4 %93 = icmp sle i32 %91, %92 br i1 %93, label %94, label %125 94: ; preds = %90 %95 = load i32, ptr %2, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i32, ptr %27, i64 %96 %98 = load i32, ptr %97, align 4 %99 = load i32, ptr %2, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds i32, ptr %31, i64 %100 %102 = load i32, ptr %101, align 4 %103 = add nsw i32 %98, %102 %104 = load i32, ptr %6, align 4 %105 = add nsw i32 %103, %104 %106 = load i32, ptr %2, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i32, ptr %35, i64 %107 store i32 %105, ptr %108, align 4 %109 = load i32, ptr %2, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i32, ptr %35, i64 %110 %112 = load i32, ptr %111, align 4 %113 = sdiv i32 %112, 10 store i32 %113, ptr %6, align 4 %114 = load i32, ptr %2, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i32, ptr %35, i64 %115 %117 = load i32, ptr %116, align 4 %118 = srem i32 %117, 10 %119 = load i32, ptr %2, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i32, ptr %35, i64 %120 store i32 %118, ptr %121, align 4 br label %122 122: ; preds = %94 %123 = load i32, ptr %2, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %2, align 4 br label %90, !llvm.loop !11 125: ; preds = %90 %126 = load i32, ptr %5, align 4 store i32 %126, ptr %2, align 4 br label %127 127: ; preds = %138, %125 %128 = load i32, ptr %2, align 4 %129 = icmp sge i32 %128, 0 br i1 %129, label %130, label %136 130: ; preds = %127 %131 = load i32, ptr %2, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds i32, ptr %35, i64 %132 %134 = load i32, ptr %133, align 4 %135 = icmp eq i32 %134, 0 br label %136 136: ; preds = %130, %127 %137 = phi i1 [ false, %127 ], [ %135, %130 ] br i1 %137, label %138, label %141 138: ; preds = %136 %139 = load i32, ptr %2, align 4 %140 = sub nsw i32 %139, 1 store i32 %140, ptr %2, align 4 br label %127, !llvm.loop !12 141: ; preds = %136 %142 = load i32, ptr %2, align 4 %143 = icmp slt i32 %142, 0 br i1 %143, label %144, label %146 144: ; preds = %141 %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %159 146: ; preds = %141 br label %147 147: ; preds = %150, %146 %148 = load i32, ptr %2, align 4 %149 = icmp sge i32 %148, 0 br i1 %149, label %150, label %158 150: ; preds = %147 %151 = load i32, ptr %2, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds i32, ptr %35, i64 %152 %154 = load i32, ptr %153, align 4 %155 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %154) %156 = load i32, ptr %2, align 4 %157 = sub nsw i32 %156, 1 store i32 %157, ptr %2, align 4 br label %147, !llvm.loop !13 158: ; preds = %147 br label %159 159: ; preds = %158, %144 store i32 0, ptr %1, align 4 %160 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %160) %161 = load i32, ptr %1, align 4 ret i32 %161 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprkngbkiw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"\0APodaj d\C5\82ugo\C5\9B\C4\87 pierwszej liczby: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"\0APodaj d\C5\82ugo\C5\9B\C4\87 drugiej liczby: \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%1i\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store i32 0, ptr %1, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %20 18: ; preds = %0 %19 = load i32, ptr %4, align 4 store i32 %19, ptr %5, align 4 br label %22 20: ; preds = %0 %21 = load i32, ptr %3, align 4 store i32 %21, ptr %5, align 4 br label %22 22: ; preds = %20, %18 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 %25 = zext i32 %24 to i64 %26 = call ptr @llvm.stacksave() store ptr %26, ptr %7, align 8 %27 = alloca i32, i64 %25, align 16 store i64 %25, ptr %8, align 8 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 %30 = zext i32 %29 to i64 %31 = alloca i32, i64 %30, align 16 store i64 %30, ptr %9, align 8 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 %34 = zext i32 %33 to i64 %35 = alloca i32, i64 %34, align 16 store i64 %34, ptr %10, align 8 %36 = load i32, ptr %5, align 4 store i32 %36, ptr %2, align 4 %37 = load i32, ptr %2, align 4 %38 = load i32, ptr %3, align 4 %39 = icmp sge i32 %37, %38 br i1 %39, label %.lr.ph, label %50 .lr.ph: ; preds = %22 br label %40 40: ; preds = %.lr.ph, %44 %41 = load i32, ptr %2, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %27, i64 %42 store i32 0, ptr %43, align 4 br label %44 44: ; preds = %40 %45 = load i32, ptr %2, align 4 %46 = sub nsw i32 %45, 1 store i32 %46, ptr %2, align 4 %47 = load i32, ptr %2, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp sge i32 %47, %48 br i1 %49, label %40, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %50 50: ; preds = %._crit_edge, %22 %51 = load i32, ptr %3, align 4 %52 = sub nsw i32 %51, 1 store i32 %52, ptr %2, align 4 %53 = load i32, ptr %2, align 4 %54 = icmp sge i32 %53, 0 br i1 %54, label %.lr.ph2, label %65 .lr.ph2: ; preds = %50 br label %55 55: ; preds = %.lr.ph2, %60 %56 = load i32, ptr %2, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i32, ptr %27, i64 %57 %59 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %58) br label %60 60: ; preds = %55 %61 = load i32, ptr %2, align 4 %62 = sub nsw i32 %61, 1 store i32 %62, ptr %2, align 4 %63 = load i32, ptr %2, align 4 %64 = icmp sge i32 %63, 0 br i1 %64, label %55, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %60 br label %65 65: ; preds = %._crit_edge3, %50 %66 = load i32, ptr %5, align 4 store i32 %66, ptr %2, align 4 %67 = load i32, ptr %2, align 4 %68 = load i32, ptr %4, align 4 %69 = icmp sge i32 %67, %68 br i1 %69, label %.lr.ph5, label %80 .lr.ph5: ; preds = %65 br label %70 70: ; preds = %.lr.ph5, %74 %71 = load i32, ptr %2, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %31, i64 %72 store i32 0, ptr %73, align 4 br label %74 74: ; preds = %70 %75 = load i32, ptr %2, align 4 %76 = sub nsw i32 %75, 1 store i32 %76, ptr %2, align 4 %77 = load i32, ptr %2, align 4 %78 = load i32, ptr %4, align 4 %79 = icmp sge i32 %77, %78 br i1 %79, label %70, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %74 br label %80 80: ; preds = %._crit_edge6, %65 %81 = load i32, ptr %4, align 4 %82 = sub nsw i32 %81, 1 store i32 %82, ptr %2, align 4 %83 = load i32, ptr %2, align 4 %84 = icmp sge i32 %83, 0 br i1 %84, label %.lr.ph8, label %95 .lr.ph8: ; preds = %80 br label %85 85: ; preds = %.lr.ph8, %90 %86 = load i32, ptr %2, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i32, ptr %31, i64 %87 %89 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %88) br label %90 90: ; preds = %85 %91 = load i32, ptr %2, align 4 %92 = sub nsw i32 %91, 1 store i32 %92, ptr %2, align 4 %93 = load i32, ptr %2, align 4 %94 = icmp sge i32 %93, 0 br i1 %94, label %85, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %90 br label %95 95: ; preds = %._crit_edge9, %80 store i32 0, ptr %6, align 4 store i32 0, ptr %2, align 4 %96 = load i32, ptr %2, align 4 %97 = load i32, ptr %5, align 4 %98 = icmp sle i32 %96, %97 br i1 %98, label %.lr.ph11, label %133 .lr.ph11: ; preds = %95 br label %99 99: ; preds = %.lr.ph11, %127 %100 = load i32, ptr %2, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i32, ptr %27, i64 %101 %103 = load i32, ptr %102, align 4 %104 = load i32, ptr %2, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i32, ptr %31, i64 %105 %107 = load i32, ptr %106, align 4 %108 = add nsw i32 %103, %107 %109 = load i32, ptr %6, align 4 %110 = add nsw i32 %108, %109 %111 = load i32, ptr %2, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i32, ptr %35, i64 %112 store i32 %110, ptr %113, align 4 %114 = load i32, ptr %2, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i32, ptr %35, i64 %115 %117 = load i32, ptr %116, align 4 %118 = sdiv i32 %117, 10 store i32 %118, ptr %6, align 4 %119 = load i32, ptr %2, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i32, ptr %35, i64 %120 %122 = load i32, ptr %121, align 4 %123 = srem i32 %122, 10 %124 = load i32, ptr %2, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds i32, ptr %35, i64 %125 store i32 %123, ptr %126, align 4 br label %127 127: ; preds = %99 %128 = load i32, ptr %2, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %2, align 4 %130 = load i32, ptr %2, align 4 %131 = load i32, ptr %5, align 4 %132 = icmp sle i32 %130, %131 br i1 %132, label %99, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %127 br label %133 133: ; preds = %._crit_edge12, %95 %134 = load i32, ptr %5, align 4 store i32 %134, ptr %2, align 4 br label %135 135: ; preds = %146, %133 %136 = load i32, ptr %2, align 4 %137 = icmp sge i32 %136, 0 br i1 %137, label %138, label %144 138: ; preds = %135 %139 = load i32, ptr %2, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds i32, ptr %35, i64 %140 %142 = load i32, ptr %141, align 4 %143 = icmp eq i32 %142, 0 br label %144 144: ; preds = %138, %135 %145 = phi i1 [ false, %135 ], [ %143, %138 ] br i1 %145, label %146, label %149 146: ; preds = %144 %147 = load i32, ptr %2, align 4 %148 = sub nsw i32 %147, 1 store i32 %148, ptr %2, align 4 br label %135, !llvm.loop !12 149: ; preds = %144 %150 = load i32, ptr %2, align 4 %151 = icmp slt i32 %150, 0 br i1 %151, label %152, label %154 152: ; preds = %149 %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %168 154: ; preds = %149 %155 = load i32, ptr %2, align 4 %156 = icmp sge i32 %155, 0 br i1 %156, label %.lr.ph14, label %167 .lr.ph14: ; preds = %154 br label %157 157: ; preds = %.lr.ph14, %157 %158 = load i32, ptr %2, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds i32, ptr %35, i64 %159 %161 = load i32, ptr %160, align 4 %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %161) %163 = load i32, ptr %2, align 4 %164 = sub nsw i32 %163, 1 store i32 %164, ptr %2, align 4 %165 = load i32, ptr %2, align 4 %166 = icmp sge i32 %165, 0 br i1 %166, label %157, label %._crit_edge15, !llvm.loop !13 ._crit_edge15: ; preds = %157 br label %167 167: ; preds = %._crit_edge15, %154 br label %168 168: ; preds = %167, %152 store i32 0, ptr %1, align 4 %169 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %169) %170 = load i32, ptr %1, align 4 ret i32 %170 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '/tmp/tmp885yhfdg.c' source_filename = "/tmp/tmp885yhfdg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test67(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 @_mm_slli_pi16(i32 noundef %3, i32 noundef 3) ret i32 %4 } declare i32 @_mm_slli_pi16(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/tmp885yhfdg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test67(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 @_mm_slli_pi16(i32 noundef %3, i32 noundef 3) ret i32 %4 } declare i32 @_mm_slli_pi16(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/tmp0siofznc.c' source_filename = "/tmp/tmp0siofznc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tanh_lin_grad(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = call double @tanh(double noundef %4) #3 store double %5, ptr %3, align 8 %6 = load double, ptr %3, align 8 %7 = load double, ptr %3, align 8 %8 = fneg double %6 %9 = call double @llvm.fmuladd.f64(double %8, double %7, double 1.000000e+00) %10 = fadd double %9, 1.000000e+00 ret double %10 } ; Function Attrs: nounwind declare double @tanh(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0siofznc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tanh_lin_grad(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = call double @tanh(double noundef %4) #3 store double %5, ptr %3, align 8 %6 = load double, ptr %3, align 8 %7 = load double, ptr %3, align 8 %8 = fneg double %6 %9 = call double @llvm.fmuladd.f64(double %8, double %7, double 1.000000e+00) %10 = fadd double %9, 1.000000e+00 ret double %10 } ; Function Attrs: nounwind declare double @tanh(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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"}
; ModuleID = '/tmp/tmpguyl1cuz.c' source_filename = "/tmp/tmpguyl1cuz.c" target datalayout = "e-m:e-p270: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/tmpguyl1cuz.c" target datalayout = "e-m:e-p270: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/tmpcl3ut5sg.c' source_filename = "/tmp/tmpcl3ut5sg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"apos: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bwrite_audio_pes(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef %9, ptr noundef %10, i32 noundef %11) #0 { %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca ptr, align 8 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 store i32 %0, ptr %14, align 4 store i32 %1, ptr %15, align 4 store i32 %2, ptr %16, align 4 store i32 %3, ptr %17, align 4 store i32 %4, ptr %18, align 4 store i32 %5, ptr %19, align 4 store i32 %6, ptr %20, align 4 store ptr %7, ptr %21, align 8 store ptr %8, ptr %22, align 8 store i32 %9, ptr %23, align 4 store ptr %10, ptr %24, align 8 store i32 %11, ptr %25, align 4 store i32 0, ptr %27, align 4 store i32 0, ptr %28, align 4 store i32 0, ptr %29, align 4 %31 = load ptr, ptr %22, align 8 %32 = load i32, ptr %31, align 4 store i32 %32, ptr %30, align 4 %33 = load i32, ptr %30, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %36, label %35 35: ; preds = %12 store i32 0, ptr %13, align 4 br label %148 36: ; preds = %12 store i32 23, ptr %28, align 4 %37 = load i32, ptr %23, align 4 %38 = icmp eq i32 %37, 128 br i1 %38, label %39, label %42 39: ; preds = %36 %40 = load i32, ptr %28, align 4 %41 = add nsw i32 %40, 5 store i32 %41, ptr %28, align 4 br label %42 42: ; preds = %39, %36 %43 = load i32, ptr %30, align 4 %44 = load i32, ptr %28, align 4 %45 = add nsw i32 %43, %44 %46 = load i32, ptr %14, align 4 %47 = icmp sge i32 %45, %46 br i1 %47, label %48, label %50 48: ; preds = %42 %49 = load i32, ptr %14, align 4 store i32 %49, ptr %30, align 4 br label %69 50: ; preds = %42 %51 = load i32, ptr %14, align 4 %52 = load i32, ptr %30, align 4 %53 = sub nsw i32 %51, %52 %54 = load i32, ptr %28, align 4 %55 = sub nsw i32 %53, %54 %56 = icmp sle i32 %55, 7 br i1 %56, label %57, label %64 57: ; preds = %50 %58 = load i32, ptr %14, align 4 %59 = load i32, ptr %30, align 4 %60 = sub nsw i32 %58, %59 %61 = load i32, ptr %28, align 4 %62 = sub nsw i32 %60, %61 store i32 %62, ptr %29, align 4 %63 = load i32, ptr %14, align 4 store i32 %63, ptr %30, align 4 br label %68 64: ; preds = %50 %65 = load i32, ptr %30, align 4 %66 = load i32, ptr %28, align 4 %67 = add nsw i32 %65, %66 store i32 %67, ptr %30, align 4 br label %68 68: ; preds = %64, %57 br label %69 69: ; preds = %68, %48 %70 = load ptr, ptr %21, align 8 %71 = load i32, ptr %19, align 4 %72 = load i32, ptr %20, align 4 %73 = load i32, ptr %15, align 4 %74 = load i32, ptr %16, align 4 %75 = add nsw i32 %73, %74 %76 = call i32 @write_ps_header(ptr noundef %70, i32 noundef %71, i32 noundef %72, i32 noundef %75, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 1, i32 noundef 1, i32 noundef 0) store i32 %76, ptr %27, align 4 %77 = load i32, ptr %17, align 4 %78 = add nsw i32 192, %77 %79 = load i32, ptr %30, align 4 %80 = load i32, ptr %27, align 4 %81 = sub nsw i32 %79, %80 %82 = load i32, ptr %18, align 4 %83 = load ptr, ptr %21, align 8 %84 = load i32, ptr %27, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i32, ptr %83, i64 %85 %87 = load i32, ptr %29, align 4 %88 = load i32, ptr %23, align 4 %89 = call i64 @write_pes_header(i32 noundef %78, i32 noundef %81, i32 noundef %82, i32 noundef 0, ptr noundef %86, i32 noundef %87, i32 noundef %88) %90 = load i32, ptr %27, align 4 %91 = sext i32 %90 to i64 %92 = add nsw i64 %91, %89 %93 = trunc i64 %92 to i32 store i32 %93, ptr %27, align 4 %94 = load i32, ptr %30, align 4 %95 = load i32, ptr %27, align 4 %96 = sub nsw i32 %94, %95 %97 = load i32, ptr %25, align 4 %98 = icmp slt i32 %96, %97 br i1 %98, label %99, label %114 99: ; preds = %69 %100 = load ptr, ptr %21, align 8 %101 = load i32, ptr %27, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %100, i64 %102 %104 = load ptr, ptr %24, align 8 %105 = load i32, ptr %30, align 4 %106 = load i32, ptr %27, align 4 %107 = sub nsw i32 %105, %106 %108 = call i32 @memcpy(ptr noundef %103, ptr noundef %104, i32 noundef %107) %109 = load i32, ptr %30, align 4 %110 = load i32, ptr %27, align 4 %111 = sub nsw i32 %109, %110 store i32 %111, ptr %26, align 4 %112 = load i32, ptr %26, align 4 %113 = load ptr, ptr %22, align 8 store i32 %112, ptr %113, align 4 br label %115 114: ; preds = %69 store i32 -1, ptr %13, align 4 br label %148 115: ; preds = %99 %116 = load i32, ptr %26, align 4 %117 = load i32, ptr %27, align 4 %118 = add nsw i32 %117, %116 store i32 %118, ptr %27, align 4 %119 = load i32, ptr %27, align 4 %120 = add nsw i32 %119, 7 %121 = load i32, ptr %14, align 4 %122 = icmp slt i32 %120, %121 br i1 %122, label %123, label %137 123: ; preds = %115 %124 = load i32, ptr %14, align 4 %125 = load i32, ptr %27, align 4 %126 = sub nsw i32 %124, %125 %127 = load ptr, ptr %21, align 8 %128 = load i32, ptr %27, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds i32, ptr %127, i64 %129 %131 = call i64 @write_pes_header(i32 noundef 190, i32 noundef %126, i32 noundef 0, i32 noundef 0, ptr noundef %130, i32 noundef 0, i32 noundef 0) %132 = load i32, ptr %27, align 4 %133 = sext i32 %132 to i64 %134 = add nsw i64 %133, %131 %135 = trunc i64 %134 to i32 store i32 %135, ptr %27, align 4 %136 = load i32, ptr %14, align 4 store i32 %136, ptr %27, align 4 br label %137 137: ; preds = %123, %115 %138 = load i32, ptr %27, align 4 %139 = load i32, ptr %14, align 4 %140 = icmp ne i32 %138, %139 br i1 %140, label %141, label %146 141: ; preds = %137 %142 = load i32, ptr @stderr, align 4 %143 = load i32, ptr %27, align 4 %144 = call i32 @fprintf(i32 noundef %142, ptr noundef @.str, i32 noundef %143) %145 = call i32 @exit(i32 noundef 1) #3 unreachable 146: ; preds = %137 %147 = load i32, ptr %27, align 4 store i32 %147, ptr %13, align 4 br label %148 148: ; preds = %146, %114, %35 %149 = load i32, ptr %13, align 4 ret i32 %149 } declare i32 @write_ps_header(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @write_pes_header(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcl3ut5sg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"apos: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bwrite_audio_pes(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef %9, ptr noundef %10, i32 noundef %11) #0 { %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca ptr, align 8 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 store i32 %0, ptr %14, align 4 store i32 %1, ptr %15, align 4 store i32 %2, ptr %16, align 4 store i32 %3, ptr %17, align 4 store i32 %4, ptr %18, align 4 store i32 %5, ptr %19, align 4 store i32 %6, ptr %20, align 4 store ptr %7, ptr %21, align 8 store ptr %8, ptr %22, align 8 store i32 %9, ptr %23, align 4 store ptr %10, ptr %24, align 8 store i32 %11, ptr %25, align 4 store i32 0, ptr %27, align 4 store i32 0, ptr %28, align 4 store i32 0, ptr %29, align 4 %31 = load ptr, ptr %22, align 8 %32 = load i32, ptr %31, align 4 store i32 %32, ptr %30, align 4 %33 = load i32, ptr %30, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %36, label %35 35: ; preds = %12 store i32 0, ptr %13, align 4 br label %148 36: ; preds = %12 store i32 23, ptr %28, align 4 %37 = load i32, ptr %23, align 4 %38 = icmp eq i32 %37, 128 br i1 %38, label %39, label %42 39: ; preds = %36 %40 = load i32, ptr %28, align 4 %41 = add nsw i32 %40, 5 store i32 %41, ptr %28, align 4 br label %42 42: ; preds = %39, %36 %43 = load i32, ptr %30, align 4 %44 = load i32, ptr %28, align 4 %45 = add nsw i32 %43, %44 %46 = load i32, ptr %14, align 4 %47 = icmp sge i32 %45, %46 br i1 %47, label %48, label %50 48: ; preds = %42 %49 = load i32, ptr %14, align 4 store i32 %49, ptr %30, align 4 br label %69 50: ; preds = %42 %51 = load i32, ptr %14, align 4 %52 = load i32, ptr %30, align 4 %53 = sub nsw i32 %51, %52 %54 = load i32, ptr %28, align 4 %55 = sub nsw i32 %53, %54 %56 = icmp sle i32 %55, 7 br i1 %56, label %57, label %64 57: ; preds = %50 %58 = load i32, ptr %14, align 4 %59 = load i32, ptr %30, align 4 %60 = sub nsw i32 %58, %59 %61 = load i32, ptr %28, align 4 %62 = sub nsw i32 %60, %61 store i32 %62, ptr %29, align 4 %63 = load i32, ptr %14, align 4 store i32 %63, ptr %30, align 4 br label %68 64: ; preds = %50 %65 = load i32, ptr %30, align 4 %66 = load i32, ptr %28, align 4 %67 = add nsw i32 %65, %66 store i32 %67, ptr %30, align 4 br label %68 68: ; preds = %64, %57 br label %69 69: ; preds = %68, %48 %70 = load ptr, ptr %21, align 8 %71 = load i32, ptr %19, align 4 %72 = load i32, ptr %20, align 4 %73 = load i32, ptr %15, align 4 %74 = load i32, ptr %16, align 4 %75 = add nsw i32 %73, %74 %76 = call i32 @write_ps_header(ptr noundef %70, i32 noundef %71, i32 noundef %72, i32 noundef %75, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 1, i32 noundef 1, i32 noundef 0) store i32 %76, ptr %27, align 4 %77 = load i32, ptr %17, align 4 %78 = add nsw i32 192, %77 %79 = load i32, ptr %30, align 4 %80 = load i32, ptr %27, align 4 %81 = sub nsw i32 %79, %80 %82 = load i32, ptr %18, align 4 %83 = load ptr, ptr %21, align 8 %84 = load i32, ptr %27, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i32, ptr %83, i64 %85 %87 = load i32, ptr %29, align 4 %88 = load i32, ptr %23, align 4 %89 = call i64 @write_pes_header(i32 noundef %78, i32 noundef %81, i32 noundef %82, i32 noundef 0, ptr noundef %86, i32 noundef %87, i32 noundef %88) %90 = load i32, ptr %27, align 4 %91 = sext i32 %90 to i64 %92 = add nsw i64 %91, %89 %93 = trunc i64 %92 to i32 store i32 %93, ptr %27, align 4 %94 = load i32, ptr %30, align 4 %95 = load i32, ptr %27, align 4 %96 = sub nsw i32 %94, %95 %97 = load i32, ptr %25, align 4 %98 = icmp slt i32 %96, %97 br i1 %98, label %99, label %114 99: ; preds = %69 %100 = load ptr, ptr %21, align 8 %101 = load i32, ptr %27, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %100, i64 %102 %104 = load ptr, ptr %24, align 8 %105 = load i32, ptr %30, align 4 %106 = load i32, ptr %27, align 4 %107 = sub nsw i32 %105, %106 %108 = call i32 @memcpy(ptr noundef %103, ptr noundef %104, i32 noundef %107) %109 = load i32, ptr %30, align 4 %110 = load i32, ptr %27, align 4 %111 = sub nsw i32 %109, %110 store i32 %111, ptr %26, align 4 %112 = load i32, ptr %26, align 4 %113 = load ptr, ptr %22, align 8 store i32 %112, ptr %113, align 4 br label %115 114: ; preds = %69 store i32 -1, ptr %13, align 4 br label %148 115: ; preds = %99 %116 = load i32, ptr %26, align 4 %117 = load i32, ptr %27, align 4 %118 = add nsw i32 %117, %116 store i32 %118, ptr %27, align 4 %119 = load i32, ptr %27, align 4 %120 = add nsw i32 %119, 7 %121 = load i32, ptr %14, align 4 %122 = icmp slt i32 %120, %121 br i1 %122, label %123, label %137 123: ; preds = %115 %124 = load i32, ptr %14, align 4 %125 = load i32, ptr %27, align 4 %126 = sub nsw i32 %124, %125 %127 = load ptr, ptr %21, align 8 %128 = load i32, ptr %27, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds i32, ptr %127, i64 %129 %131 = call i64 @write_pes_header(i32 noundef 190, i32 noundef %126, i32 noundef 0, i32 noundef 0, ptr noundef %130, i32 noundef 0, i32 noundef 0) %132 = load i32, ptr %27, align 4 %133 = sext i32 %132 to i64 %134 = add nsw i64 %133, %131 %135 = trunc i64 %134 to i32 store i32 %135, ptr %27, align 4 %136 = load i32, ptr %14, align 4 store i32 %136, ptr %27, align 4 br label %137 137: ; preds = %123, %115 %138 = load i32, ptr %27, align 4 %139 = load i32, ptr %14, align 4 %140 = icmp ne i32 %138, %139 br i1 %140, label %141, label %146 141: ; preds = %137 %142 = load i32, ptr @stderr, align 4 %143 = load i32, ptr %27, align 4 %144 = call i32 @fprintf(i32 noundef %142, ptr noundef @.str, i32 noundef %143) %145 = call i32 @exit(i32 noundef 1) #3 unreachable 146: ; preds = %137 %147 = load i32, ptr %27, align 4 store i32 %147, ptr %13, align 4 br label %148 148: ; preds = %146, %114, %35 %149 = load i32, ptr %13, align 4 ret i32 %149 } declare i32 @write_ps_header(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @write_pes_header(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpji6d95au.c' source_filename = "/tmp/tmpji6d95au.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rl\09l\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @zcarryconv() #0 { %1 = call i32 @vconst(i32 noundef 0) %2 = call i32 @ol(ptr noundef @.str) ret void } declare i32 @vconst(i32 noundef) #1 declare i32 @ol(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/tmpji6d95au.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rl\09l\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @zcarryconv() #0 { %1 = call i32 @vconst(i32 noundef 0) %2 = call i32 @ol(ptr noundef @.str) ret void } declare i32 @vconst(i32 noundef) #1 declare i32 @ol(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/tmpr_3p7n53.c' source_filename = "/tmp/tmpr_3p7n53.c" target datalayout = "e-m:e-p270: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/tmpr_3p7n53.c" target datalayout = "e-m:e-p270: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/tmpad0273b2.c' source_filename = "/tmp/tmpad0273b2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_un = type { i32, i32 } @.str = private unnamed_addr constant [34 x i8] c"Not enough command line arguments\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"LOGFILE: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"Server error opening log file\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [19 x i8] c"ERROR: Bad header\0A\00", align 1 @.str.5 = private unnamed_addr constant [42 x i8] c"ERROR: Packet exceeds max supported size\0A\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"Missing %d bytes\0A\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"Read Error (%d):%s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [10 x i8] c"%s\09%s\09%s\0A\00", align 1 @.str.9 = private unnamed_addr constant [28 x i8] c"/tmp/clientsocket_connected\00", align 1 @AF_LOCAL = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [28 x i8] c"/tmp/serversocket_connected\00", align 1 @.str.11 = private unnamed_addr constant [23 x i8] c"localsocket send error\00", align 1 @.str.12 = private unnamed_addr constant [5 x i8] c"%05u\00", align 1 @stdout = dso_local global ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [5 x i8], align 1 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [4096 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i8, align 1 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca %struct.sockaddr_un, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca [6 x i8], align 1 %23 = 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 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %24, 3 br i1 %25, label %26, label %28 26: ; preds = %2 %27 = call i32 @perror(ptr noundef @.str) br label %28 28: ; preds = %26, %2 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 store ptr %31, ptr %6, align 8 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 2 %34 = load ptr, ptr %33, align 8 store ptr %34, ptr %7, align 8 %35 = load ptr, ptr %7, align 8 %36 = call ptr @fopen(ptr noundef %35, ptr noundef @.str.1) store ptr %36, ptr %8, align 8 %37 = load ptr, ptr %8, align 8 %38 = icmp ne ptr %37, null br i1 %38, label %43, label %39 39: ; preds = %28 %40 = load ptr, ptr %7, align 8 %41 = call i32 @printf(ptr noundef @.str.2, ptr noundef %40) %42 = call i32 @error(ptr noundef @.str.3) br label %43 43: ; preds = %39, %28 %44 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 0 %45 = call i32 @bzero(ptr noundef %44, i32 noundef 5) %46 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 0 %47 = load i32, ptr @stdin, align 4 %48 = call i32 @fread(ptr noundef %46, i32 noundef 1, i32 noundef 5, i32 noundef %47) store i32 %48, ptr %10, align 4 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 5 br i1 %50, label %51, label %55 51: ; preds = %43 %52 = load ptr, ptr %8, align 8 %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.4) %54 = call i32 @exit(i32 noundef 1) #3 unreachable 55: ; preds = %43 %56 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 0 %57 = call i32 @atoi(ptr noundef %56) store i32 %57, ptr %11, align 4 %58 = load i32, ptr %11, align 4 %59 = icmp sgt i32 %58, 4095 br i1 %59, label %60, label %64 60: ; preds = %55 %61 = load ptr, ptr %8, align 8 %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str.5) %63 = call i32 @exit(i32 noundef 1) #3 unreachable 64: ; preds = %55 %65 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0 %66 = call i32 @bzero(ptr noundef %65, i32 noundef 4096) store i32 0, ptr %13, align 4 br label %67 67: ; preds = %86, %64 %68 = load i32, ptr @stdin, align 4 %69 = call signext i8 @getc(i32 noundef %68) store i8 %69, ptr %14, align 1 %70 = load i8, ptr %14, align 1 %71 = load i32, ptr %13, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 %72 store i8 %70, ptr %73, align 1 %74 = load i32, ptr %13, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %13, align 4 br label %76 76: ; preds = %67 %77 = load i32, ptr %13, align 4 %78 = load i32, ptr %11, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %80, label %86 80: ; preds = %76 %81 = load i8, ptr %14, align 1 %82 = sext i8 %81 to i32 %83 = load i8, ptr @EOF, align 1 %84 = sext i8 %83 to i32 %85 = icmp ne i32 %82, %84 br label %86 86: ; preds = %80, %76 %87 = phi i1 [ false, %76 ], [ %85, %80 ] br i1 %87, label %67, label %88, !llvm.loop !6 88: ; preds = %86 %89 = load i32, ptr %13, align 4 %90 = load i32, ptr %11, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %92, label %98 92: ; preds = %88 %93 = load ptr, ptr %8, align 8 %94 = load i32, ptr %11, align 4 %95 = load i32, ptr %13, align 4 %96 = sub nsw i32 %94, %95 %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef @.str.6, i32 noundef %96) br label %98 98: ; preds = %92, %88 %99 = load i32, ptr @stdin, align 4 %100 = call i64 @ferror(i32 noundef %99) %101 = icmp ne i64 %100, 0 br i1 %101, label %102, label %108 102: ; preds = %98 %103 = load ptr, ptr %8, align 8 %104 = load i32, ptr @errno, align 4 %105 = load i32, ptr @errno, align 4 %106 = call ptr @strerror(i32 noundef %105) %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef @.str.7, i32 noundef %104, ptr noundef %106) br label %108 108: ; preds = %102, %98 %109 = call i32 @time(ptr noundef %15) %110 = call ptr @ctime(ptr noundef %15) store ptr %110, ptr %16, align 8 %111 = load ptr, ptr %16, align 8 %112 = call i32 @remove_newline_ch(ptr noundef %111) %113 = load ptr, ptr %8, align 8 %114 = load ptr, ptr %16, align 8 %115 = load ptr, ptr %6, align 8 %116 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0 %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef @.str.8, ptr noundef %114, ptr noundef %115, ptr noundef %116) %118 = load ptr, ptr %8, align 8 %119 = call i32 @fflush(ptr noundef %118) %120 = call i32 @make_named_socket(ptr noundef @.str.9) store i32 %120, ptr %17, align 4 %121 = load i32, ptr @AF_LOCAL, align 4 %122 = getelementptr inbounds %struct.sockaddr_un, ptr %18, i32 0, i32 1 store i32 %121, ptr %122, align 4 %123 = getelementptr inbounds %struct.sockaddr_un, ptr %18, i32 0, i32 0 %124 = load i32, ptr %123, align 4 %125 = call i32 @strcpy(i32 noundef %124, ptr noundef @.str.10) store i32 8, ptr %19, align 4 %126 = load i32, ptr %17, align 4 %127 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0 %128 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0 %129 = call i64 @strlen(ptr noundef %128) %130 = add nsw i64 %129, 1 %131 = load i32, ptr %19, align 4 %132 = call i32 @sendto(i32 noundef %126, ptr noundef %127, i64 noundef %130, i32 noundef 0, ptr noundef %18, i32 noundef %131) store i32 %132, ptr %21, align 4 %133 = load i32, ptr %21, align 4 %134 = icmp slt i32 %133, 0 br i1 %134, label %135, label %137 135: ; preds = %108 %136 = call i32 @perror(ptr noundef @.str.11) br label %137 137: ; preds = %135, %108 %138 = getelementptr inbounds [6 x i8], ptr %22, i64 0, i64 0 %139 = load i32, ptr %13, align 4 %140 = call i32 @sprintf(ptr noundef %138, ptr noundef @.str.12, i32 noundef %139) %141 = getelementptr inbounds [6 x i8], ptr %22, i64 0, i64 0 %142 = getelementptr inbounds [6 x i8], ptr %22, i64 0, i64 0 %143 = call i64 @strlen(ptr noundef %142) %144 = load ptr, ptr @stdout, align 8 %145 = call i32 @fwrite(ptr noundef %141, i32 noundef 1, i64 noundef %143, ptr noundef %144) store i32 %145, ptr %23, align 4 %146 = load ptr, ptr @stdout, align 8 %147 = call i32 @fflush(ptr noundef %146) %148 = load i32, ptr @stdin, align 4 %149 = call signext i8 @getc(i32 noundef %148) %150 = load ptr, ptr %8, align 8 %151 = call i32 @fclose(ptr noundef %150) ret i32 0 } declare i32 @perror(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @error(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare signext i8 @getc(i32 noundef) #1 declare i64 @ferror(i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare ptr @ctime(ptr noundef) #1 declare i32 @remove_newline_ch(ptr noundef) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @make_named_socket(ptr noundef) #1 declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpad0273b2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_un = type { i32, i32 } @.str = private unnamed_addr constant [34 x i8] c"Not enough command line arguments\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"LOGFILE: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"Server error opening log file\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [19 x i8] c"ERROR: Bad header\0A\00", align 1 @.str.5 = private unnamed_addr constant [42 x i8] c"ERROR: Packet exceeds max supported size\0A\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"Missing %d bytes\0A\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"Read Error (%d):%s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [10 x i8] c"%s\09%s\09%s\0A\00", align 1 @.str.9 = private unnamed_addr constant [28 x i8] c"/tmp/clientsocket_connected\00", align 1 @AF_LOCAL = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [28 x i8] c"/tmp/serversocket_connected\00", align 1 @.str.11 = private unnamed_addr constant [23 x i8] c"localsocket send error\00", align 1 @.str.12 = private unnamed_addr constant [5 x i8] c"%05u\00", align 1 @stdout = dso_local global ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [5 x i8], align 1 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [4096 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i8, align 1 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca %struct.sockaddr_un, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca [6 x i8], align 1 %23 = 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 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %24, 3 br i1 %25, label %26, label %28 26: ; preds = %2 %27 = call i32 @perror(ptr noundef @.str) br label %28 28: ; preds = %26, %2 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 store ptr %31, ptr %6, align 8 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 2 %34 = load ptr, ptr %33, align 8 store ptr %34, ptr %7, align 8 %35 = load ptr, ptr %7, align 8 %36 = call ptr @fopen(ptr noundef %35, ptr noundef @.str.1) store ptr %36, ptr %8, align 8 %37 = load ptr, ptr %8, align 8 %38 = icmp ne ptr %37, null br i1 %38, label %43, label %39 39: ; preds = %28 %40 = load ptr, ptr %7, align 8 %41 = call i32 @printf(ptr noundef @.str.2, ptr noundef %40) %42 = call i32 @error(ptr noundef @.str.3) br label %43 43: ; preds = %39, %28 %44 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 0 %45 = call i32 @bzero(ptr noundef %44, i32 noundef 5) %46 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 0 %47 = load i32, ptr @stdin, align 4 %48 = call i32 @fread(ptr noundef %46, i32 noundef 1, i32 noundef 5, i32 noundef %47) store i32 %48, ptr %10, align 4 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 5 br i1 %50, label %51, label %55 51: ; preds = %43 %52 = load ptr, ptr %8, align 8 %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.4) %54 = call i32 @exit(i32 noundef 1) #3 unreachable 55: ; preds = %43 %56 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 0 %57 = call i32 @atoi(ptr noundef %56) store i32 %57, ptr %11, align 4 %58 = load i32, ptr %11, align 4 %59 = icmp sgt i32 %58, 4095 br i1 %59, label %60, label %64 60: ; preds = %55 %61 = load ptr, ptr %8, align 8 %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str.5) %63 = call i32 @exit(i32 noundef 1) #3 unreachable 64: ; preds = %55 %65 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0 %66 = call i32 @bzero(ptr noundef %65, i32 noundef 4096) store i32 0, ptr %13, align 4 br label %67 67: ; preds = %86, %64 %68 = load i32, ptr @stdin, align 4 %69 = call signext i8 @getc(i32 noundef %68) store i8 %69, ptr %14, align 1 %70 = load i8, ptr %14, align 1 %71 = load i32, ptr %13, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 %72 store i8 %70, ptr %73, align 1 %74 = load i32, ptr %13, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %13, align 4 br label %76 76: ; preds = %67 %77 = load i32, ptr %13, align 4 %78 = load i32, ptr %11, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %80, label %86 80: ; preds = %76 %81 = load i8, ptr %14, align 1 %82 = sext i8 %81 to i32 %83 = load i8, ptr @EOF, align 1 %84 = sext i8 %83 to i32 %85 = icmp ne i32 %82, %84 br label %86 86: ; preds = %80, %76 %87 = phi i1 [ false, %76 ], [ %85, %80 ] br i1 %87, label %67, label %88, !llvm.loop !6 88: ; preds = %86 %89 = load i32, ptr %13, align 4 %90 = load i32, ptr %11, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %92, label %98 92: ; preds = %88 %93 = load ptr, ptr %8, align 8 %94 = load i32, ptr %11, align 4 %95 = load i32, ptr %13, align 4 %96 = sub nsw i32 %94, %95 %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef @.str.6, i32 noundef %96) br label %98 98: ; preds = %92, %88 %99 = load i32, ptr @stdin, align 4 %100 = call i64 @ferror(i32 noundef %99) %101 = icmp ne i64 %100, 0 br i1 %101, label %102, label %108 102: ; preds = %98 %103 = load ptr, ptr %8, align 8 %104 = load i32, ptr @errno, align 4 %105 = load i32, ptr @errno, align 4 %106 = call ptr @strerror(i32 noundef %105) %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef @.str.7, i32 noundef %104, ptr noundef %106) br label %108 108: ; preds = %102, %98 %109 = call i32 @time(ptr noundef %15) %110 = call ptr @ctime(ptr noundef %15) store ptr %110, ptr %16, align 8 %111 = load ptr, ptr %16, align 8 %112 = call i32 @remove_newline_ch(ptr noundef %111) %113 = load ptr, ptr %8, align 8 %114 = load ptr, ptr %16, align 8 %115 = load ptr, ptr %6, align 8 %116 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0 %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef @.str.8, ptr noundef %114, ptr noundef %115, ptr noundef %116) %118 = load ptr, ptr %8, align 8 %119 = call i32 @fflush(ptr noundef %118) %120 = call i32 @make_named_socket(ptr noundef @.str.9) store i32 %120, ptr %17, align 4 %121 = load i32, ptr @AF_LOCAL, align 4 %122 = getelementptr inbounds %struct.sockaddr_un, ptr %18, i32 0, i32 1 store i32 %121, ptr %122, align 4 %123 = getelementptr inbounds %struct.sockaddr_un, ptr %18, i32 0, i32 0 %124 = load i32, ptr %123, align 4 %125 = call i32 @strcpy(i32 noundef %124, ptr noundef @.str.10) store i32 8, ptr %19, align 4 %126 = load i32, ptr %17, align 4 %127 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0 %128 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0 %129 = call i64 @strlen(ptr noundef %128) %130 = add nsw i64 %129, 1 %131 = load i32, ptr %19, align 4 %132 = call i32 @sendto(i32 noundef %126, ptr noundef %127, i64 noundef %130, i32 noundef 0, ptr noundef %18, i32 noundef %131) store i32 %132, ptr %21, align 4 %133 = load i32, ptr %21, align 4 %134 = icmp slt i32 %133, 0 br i1 %134, label %135, label %137 135: ; preds = %108 %136 = call i32 @perror(ptr noundef @.str.11) br label %137 137: ; preds = %135, %108 %138 = getelementptr inbounds [6 x i8], ptr %22, i64 0, i64 0 %139 = load i32, ptr %13, align 4 %140 = call i32 @sprintf(ptr noundef %138, ptr noundef @.str.12, i32 noundef %139) %141 = getelementptr inbounds [6 x i8], ptr %22, i64 0, i64 0 %142 = getelementptr inbounds [6 x i8], ptr %22, i64 0, i64 0 %143 = call i64 @strlen(ptr noundef %142) %144 = load ptr, ptr @stdout, align 8 %145 = call i32 @fwrite(ptr noundef %141, i32 noundef 1, i64 noundef %143, ptr noundef %144) store i32 %145, ptr %23, align 4 %146 = load ptr, ptr @stdout, align 8 %147 = call i32 @fflush(ptr noundef %146) %148 = load i32, ptr @stdin, align 4 %149 = call signext i8 @getc(i32 noundef %148) %150 = load ptr, ptr %8, align 8 %151 = call i32 @fclose(ptr noundef %150) ret i32 0 } declare i32 @perror(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @error(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare signext i8 @getc(i32 noundef) #1 declare i64 @ferror(i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare ptr @ctime(ptr noundef) #1 declare i32 @remove_newline_ch(ptr noundef) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @make_named_socket(ptr noundef) #1 declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpx29w9k2_.c' source_filename = "/tmp/tmpx29w9k2_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [21 x i8] c"It is a prime number\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"It is not a prime number\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, 2 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str.1) br label %26 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = srem i32 %9, 2 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %8 %13 = call i32 @printf(ptr noundef @.str.2) br label %25 14: ; preds = %8 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %2, align 4 %17 = call i32 @sqrt(i32 noundef %16) %18 = call i64 @Prime(i32 noundef %15, i32 noundef %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %14 %21 = call i32 @printf(ptr noundef @.str.1) br label %24 22: ; preds = %14 %23 = call i32 @printf(ptr noundef @.str.2) br label %24 24: ; preds = %22, %20 br label %25 25: ; preds = %24, %12 br label %26 26: ; preds = %25, %6 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i64 @Prime(i32 noundef, i32 noundef) #1 declare i32 @sqrt(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx29w9k2_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [21 x i8] c"It is a prime number\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"It is not a prime number\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, 2 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str.1) br label %26 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = srem i32 %9, 2 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %8 %13 = call i32 @printf(ptr noundef @.str.2) br label %25 14: ; preds = %8 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %2, align 4 %17 = call i32 @sqrt(i32 noundef %16) %18 = call i64 @Prime(i32 noundef %15, i32 noundef %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %14 %21 = call i32 @printf(ptr noundef @.str.1) br label %24 22: ; preds = %14 %23 = call i32 @printf(ptr noundef @.str.2) br label %24 24: ; preds = %22, %20 br label %25 25: ; preds = %24, %12 br label %26 26: ; preds = %25, %6 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i64 @Prime(i32 noundef, i32 noundef) #1 declare i32 @sqrt(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi65pmjj9.c' source_filename = "/tmp/tmpi65pmjj9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPPROTO_IP = dso_local global i32 0, align 4 @IP_TOS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"setting IP_TOS failed\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"TOS %d != %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_socket_tos(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 0, ptr %3, align 4 br label %33 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr @IPPROTO_IP, align 4 %14 = load i32, ptr @IP_TOS, align 4 %15 = call i64 @setsockopt(i32 noundef %12, i32 noundef %13, i32 noundef %14, ptr noundef %5, i32 noundef 4) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %11 %18 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %33 19: ; preds = %11 store i32 4, ptr %7, align 4 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr @IPPROTO_IP, align 4 %22 = load i32, ptr @IP_TOS, align 4 %23 = call i32 @getsockopt(i32 noundef %20, i32 noundef %21, i32 noundef %22, ptr noundef %6, ptr noundef %7) %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp ne i32 %24, %25 br i1 %26, label %27, label %32 27: ; preds = %19 %28 = load i32, ptr @stderr, align 4 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %5, align 4 %31 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str.1, i32 noundef %29, i32 noundef %30) store i32 1, ptr %3, align 4 br label %33 32: ; preds = %19 store i32 0, ptr %3, align 4 br label %33 33: ; preds = %32, %27, %17, %10 %34 = load i32, ptr %3, align 4 ret i32 %34 } declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @getsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi65pmjj9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPPROTO_IP = dso_local global i32 0, align 4 @IP_TOS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"setting IP_TOS failed\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"TOS %d != %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_socket_tos(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 0, ptr %3, align 4 br label %33 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr @IPPROTO_IP, align 4 %14 = load i32, ptr @IP_TOS, align 4 %15 = call i64 @setsockopt(i32 noundef %12, i32 noundef %13, i32 noundef %14, ptr noundef %5, i32 noundef 4) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %11 %18 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %33 19: ; preds = %11 store i32 4, ptr %7, align 4 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr @IPPROTO_IP, align 4 %22 = load i32, ptr @IP_TOS, align 4 %23 = call i32 @getsockopt(i32 noundef %20, i32 noundef %21, i32 noundef %22, ptr noundef %6, ptr noundef %7) %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp ne i32 %24, %25 br i1 %26, label %27, label %32 27: ; preds = %19 %28 = load i32, ptr @stderr, align 4 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %5, align 4 %31 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str.1, i32 noundef %29, i32 noundef %30) store i32 1, ptr %3, align 4 br label %33 32: ; preds = %19 store i32 0, ptr %3, align 4 br label %33 33: ; preds = %32, %27, %17, %10 %34 = load i32, ptr %3, align 4 ret i32 %34 } declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @getsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9myzx999.c' source_filename = "/tmp/tmp9myzx999.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test2(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = call i32 (...) @bar() %5 = call i32 (...) @foo() %6 = load i32, ptr %2, align 4 ret i32 %6 } declare i32 @bar(...) #1 declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9myzx999.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test2(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = call i32 (...) @bar() %5 = call i32 (...) @foo() %6 = load i32, ptr %2, align 4 ret i32 %6 } declare i32 @bar(...) #1 declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzn6vjlik.c' source_filename = "/tmp/tmpzn6vjlik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extract_ssh_port(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [1024 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 22, ptr %8, align 4 store i32 0, ptr %7, align 4 br label %10 10: ; preds = %95, %2 %11 = load i32, ptr %7, align 4 %12 = load ptr, ptr %3, align 8 %13 = call i32 @strlen(ptr noundef %12) %14 = icmp slt i32 %11, %13 br i1 %14, label %15, label %98 15: ; preds = %10 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 58 br i1 %22, label %23, label %84 23: ; preds = %15 %24 = load i32, ptr %7, align 4 %25 = load ptr, ptr %3, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = sub nsw i32 %26, 1 %28 = icmp slt i32 %24, %27 br i1 %28, label %29, label %84 29: ; preds = %23 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %7, align 4 %32 = add nsw i32 %31, 1 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %30, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 %36, 47 br i1 %37, label %38, label %83 38: ; preds = %29 %39 = load ptr, ptr %3, align 8 %40 = load i32, ptr %7, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 %43 = load i8, ptr %42, align 1 %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 %47 = sext i32 %45 to i64 %48 = getelementptr inbounds i8, ptr %44, i64 %47 store i8 %43, ptr %48, align 1 %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %7, align 4 br label %51 51: ; preds = %70, %38 %52 = load i32, ptr %7, align 4 %53 = load ptr, ptr %3, align 8 %54 = call i32 @strlen(ptr noundef %53) %55 = sub nsw i32 %54, 1 %56 = icmp slt i32 %52, %55 br i1 %56, label %57, label %82 57: ; preds = %51 %58 = load ptr, ptr %3, align 8 %59 = load i32, ptr %7, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %63, 47 br i1 %64, label %65, label %70 65: ; preds = %57 %66 = load i32, ptr %6, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %6, align 4 %68 = sext i32 %66 to i64 %69 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 %68 store i8 0, ptr %69, align 1 br label %82 70: ; preds = %57 %71 = load ptr, ptr %3, align 8 %72 = load i32, ptr %7, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 %75 = load i8, ptr %74, align 1 %76 = load i32, ptr %6, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %6, align 4 %78 = sext i32 %76 to i64 %79 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 %78 store i8 %75, ptr %79, align 1 %80 = load i32, ptr %7, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %7, align 4 br label %51, !llvm.loop !6 82: ; preds = %65, %51 br label %83 83: ; preds = %82, %29 br label %84 84: ; preds = %83, %23, %15 %85 = load ptr, ptr %3, align 8 %86 = load i32, ptr %7, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i8, ptr %85, i64 %87 %89 = load i8, ptr %88, align 1 %90 = load ptr, ptr %4, align 8 %91 = load i32, ptr %5, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %5, align 4 %93 = sext i32 %91 to i64 %94 = getelementptr inbounds i8, ptr %90, i64 %93 store i8 %89, ptr %94, align 1 br label %95 95: ; preds = %84 %96 = load i32, ptr %7, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %7, align 4 br label %10, !llvm.loop !8 98: ; preds = %10 %99 = load ptr, ptr %4, align 8 %100 = load i32, ptr %5, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %5, align 4 %102 = sext i32 %100 to i64 %103 = getelementptr inbounds i8, ptr %99, i64 %102 store i8 0, ptr %103, align 1 %104 = load i32, ptr %6, align 4 %105 = icmp sgt i32 %104, 0 br i1 %105, label %106, label %109 106: ; preds = %98 %107 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %108 = call i32 @atoi(ptr noundef %107) store i32 %108, ptr %8, align 4 br label %109 109: ; preds = %106, %98 %110 = load i32, ptr %8, align 4 ret i32 %110 } declare i32 @strlen(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzn6vjlik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extract_ssh_port(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [1024 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 22, ptr %8, align 4 store i32 0, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = load ptr, ptr %3, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = icmp slt i32 %10, %12 br i1 %13, label %.lr.ph1, label %105 .lr.ph1: ; preds = %2 br label %14 14: ; preds = %.lr.ph1, %98 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %7, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 58 br i1 %21, label %22, label %87 22: ; preds = %14 %23 = load i32, ptr %7, align 4 %24 = load ptr, ptr %3, align 8 %25 = call i32 @strlen(ptr noundef %24) %26 = sub nsw i32 %25, 1 %27 = icmp slt i32 %23, %26 br i1 %27, label %28, label %87 28: ; preds = %22 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %30, 1 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %29, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 47 br i1 %36, label %37, label %86 37: ; preds = %28 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = load i8, ptr %41, align 1 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %5, align 4 %46 = sext i32 %44 to i64 %47 = getelementptr inbounds i8, ptr %43, i64 %46 store i8 %42, ptr %47, align 1 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %7, align 4 %50 = load i32, ptr %7, align 4 %51 = load ptr, ptr %3, align 8 %52 = call i32 @strlen(ptr noundef %51) %53 = sub nsw i32 %52, 1 %54 = icmp slt i32 %50, %53 br i1 %54, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %37 br label %55 55: ; preds = %.lr.ph, %68 %56 = load ptr, ptr %3, align 8 %57 = load i32, ptr %7, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp eq i32 %61, 47 br i1 %62, label %63, label %68 63: ; preds = %55 %64 = load i32, ptr %6, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %6, align 4 %66 = sext i32 %64 to i64 %67 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 %66 store i8 0, ptr %67, align 1 br label %85 68: ; preds = %55 %69 = load ptr, ptr %3, align 8 %70 = load i32, ptr %7, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 %73 = load i8, ptr %72, align 1 %74 = load i32, ptr %6, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %6, align 4 %76 = sext i32 %74 to i64 %77 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 %76 store i8 %73, ptr %77, align 1 %78 = load i32, ptr %7, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %7, align 4 %80 = load i32, ptr %7, align 4 %81 = load ptr, ptr %3, align 8 %82 = call i32 @strlen(ptr noundef %81) %83 = sub nsw i32 %82, 1 %84 = icmp slt i32 %80, %83 br i1 %84, label %55, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %68 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %37 br label %85 85: ; preds = %.loopexit, %63 br label %86 86: ; preds = %85, %28 br label %87 87: ; preds = %86, %22, %14 %88 = load ptr, ptr %3, align 8 %89 = load i32, ptr %7, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i8, ptr %88, i64 %90 %92 = load i8, ptr %91, align 1 %93 = load ptr, ptr %4, align 8 %94 = load i32, ptr %5, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %5, align 4 %96 = sext i32 %94 to i64 %97 = getelementptr inbounds i8, ptr %93, i64 %96 store i8 %92, ptr %97, align 1 br label %98 98: ; preds = %87 %99 = load i32, ptr %7, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %7, align 4 %101 = load i32, ptr %7, align 4 %102 = load ptr, ptr %3, align 8 %103 = call i32 @strlen(ptr noundef %102) %104 = icmp slt i32 %101, %103 br i1 %104, label %14, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %98 br label %105 105: ; preds = %._crit_edge, %2 %106 = load ptr, ptr %4, align 8 %107 = load i32, ptr %5, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %5, align 4 %109 = sext i32 %107 to i64 %110 = getelementptr inbounds i8, ptr %106, i64 %109 store i8 0, ptr %110, align 1 %111 = load i32, ptr %6, align 4 %112 = icmp sgt i32 %111, 0 br i1 %112, label %113, label %116 113: ; preds = %105 %114 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %115 = call i32 @atoi(ptr noundef %114) store i32 %115, ptr %8, align 4 br label %116 116: ; preds = %113, %105 %117 = load i32, ptr %8, align 4 ret i32 %117 } declare i32 @strlen(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp5wqxbs2a.c' source_filename = "/tmp/tmp5wqxbs2a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = 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/tmp5wqxbs2a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = 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/tmp87dgccg7.c' source_filename = "/tmp/tmp87dgccg7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @GCMGetGameID(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 = icmp ne ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %11, label %10 10: ; preds = %7, %2 br label %22 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr @SEEK_SET, align 4 %14 = call i32 @fseek(ptr noundef %12, i32 noundef 1, i32 noundef %13) %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %3, align 8 %17 = call i32 @fread(ptr noundef %15, i32 noundef 1, i32 noundef 2, ptr noundef %16) %18 = icmp ne i32 %17, 2 br i1 %18, label %19, label %22 19: ; preds = %11 %20 = load ptr, ptr %4, align 8 %21 = call i32 @free(ptr noundef %20) br label %22 22: ; preds = %10, %19, %11 ret void } declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 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/tmp87dgccg7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @GCMGetGameID(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 = icmp ne ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %11, label %10 10: ; preds = %7, %2 br label %22 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr @SEEK_SET, align 4 %14 = call i32 @fseek(ptr noundef %12, i32 noundef 1, i32 noundef %13) %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %3, align 8 %17 = call i32 @fread(ptr noundef %15, i32 noundef 1, i32 noundef 2, ptr noundef %16) %18 = icmp ne i32 %17, 2 br i1 %18, label %19, label %22 19: ; preds = %11 %20 = load ptr, ptr %4, align 8 %21 = call i32 @free(ptr noundef %20) br label %22 22: ; preds = %19, %11, %10 ret void } declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 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/tmp_xb2p3nd.c' source_filename = "/tmp/tmp_xb2p3nd.c" target datalayout = "e-m:e-p270: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/tmp_xb2p3nd.c" target datalayout = "e-m:e-p270: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/tmpxp8osrob.c' source_filename = "/tmp/tmpxp8osrob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %11, %0 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %5 = icmp eq i32 %4, 1 br i1 %5, label %6, label %9 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = icmp ne i32 %7, 0 br label %9 9: ; preds = %6, %3 %10 = phi i1 [ false, %3 ], [ %8, %6 ] br i1 %10, label %11, label %21 11: ; preds = %9 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = mul nsw i32 3, %15 %17 = sub nsw i32 %16, 1 %18 = mul nsw i32 %14, %17 %19 = sdiv i32 %18, 2 %20 = call i32 @printf(ptr noundef @.str.1, i32 noundef %19) br label %3, !llvm.loop !6 21: ; preds = %9 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxp8osrob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %11, %0 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %5 = icmp eq i32 %4, 1 br i1 %5, label %6, label %9 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = icmp ne i32 %7, 0 br label %9 9: ; preds = %6, %3 %10 = phi i1 [ false, %3 ], [ %8, %6 ] br i1 %10, label %11, label %21 11: ; preds = %9 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = mul nsw i32 3, %15 %17 = sub nsw i32 %16, 1 %18 = mul nsw i32 %14, %17 %19 = sdiv i32 %18, 2 %20 = call i32 @printf(ptr noundef @.str.1, i32 noundef %19) br label %3, !llvm.loop !6 21: ; preds = %9 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpu8f2fcgr.c' source_filename = "/tmp/tmpu8f2fcgr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @multiply(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %17 = load ptr, ptr %3, align 8 %18 = call i32 @strlen(ptr noundef %17) store i32 %18, ptr %5, align 4 %19 = load ptr, ptr %4, align 8 %20 = call i32 @strlen(ptr noundef %19) store i32 %20, ptr %6, align 4 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 %23 = sext i32 %22 to i64 %24 = mul i64 1, %23 %25 = trunc i64 %24 to i32 %26 = call i64 @malloc(i32 noundef %25) %27 = inttoptr i64 %26 to ptr store ptr %27, ptr %7, align 8 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = mul i64 1, %30 %32 = trunc i64 %31 to i32 %33 = call i64 @malloc(i32 noundef %32) %34 = inttoptr i64 %33 to ptr store ptr %34, ptr %8, align 8 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %35, %36 %38 = add nsw i32 %37, 1 %39 = call i64 @calloc(i32 noundef 1, i32 noundef %38) %40 = inttoptr i64 %39 to ptr store ptr %40, ptr %9, align 8 %41 = load ptr, ptr %7, align 8 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, 1 %45 = call i32 @memcpy(ptr noundef %41, ptr noundef %42, i32 noundef %44) %46 = load ptr, ptr %8, align 8 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr %6, align 4 %49 = add nsw i32 %48, 1 %50 = call i32 @memcpy(ptr noundef %46, ptr noundef %47, i32 noundef %49) %51 = load ptr, ptr %7, align 8 %52 = call i32 @turnaround(ptr noundef %51) %53 = load ptr, ptr %8, align 8 %54 = call i32 @turnaround(ptr noundef %53) store i32 0, ptr %12, align 4 store i32 0, ptr %10, align 4 br label %55 55: ; preds = %181, %2 %56 = load i32, ptr %10, align 4 %57 = load i32, ptr %6, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %59, label %184 59: ; preds = %55 store i32 0, ptr %11, align 4 br label %60 60: ; preds = %131, %59 %61 = load i32, ptr %11, align 4 %62 = load i32, ptr %5, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %64, label %134 64: ; preds = %60 %65 = load ptr, ptr %7, align 8 %66 = load i32, ptr %11, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = sub nsw i32 %70, 48 store i32 %71, ptr %13, align 4 %72 = load ptr, ptr %8, align 8 %73 = load i32, ptr %10, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 %78 = sub nsw i32 %77, 48 store i32 %78, ptr %14, align 4 %79 = load i32, ptr %14, align 4 %80 = load i32, ptr %13, align 4 %81 = mul nsw i32 %79, %80 %82 = srem i32 %81, 10 %83 = load i32, ptr %12, align 4 %84 = add nsw i32 %82, %83 %85 = load ptr, ptr %9, align 8 %86 = load i32, ptr %11, align 4 %87 = load i32, ptr %10, align 4 %88 = add nsw i32 %86, %87 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %85, i64 %89 %91 = load i8, ptr %90, align 1 %92 = sext i8 %91 to i32 %93 = add nsw i32 %92, %84 %94 = trunc i32 %93 to i8 store i8 %94, ptr %90, align 1 %95 = load i32, ptr %14, align 4 %96 = load i32, ptr %13, align 4 %97 = mul nsw i32 %95, %96 %98 = icmp sgt i32 %97, 9 br i1 %98, label %99, label %104 99: ; preds = %64 %100 = load i32, ptr %14, align 4 %101 = load i32, ptr %13, align 4 %102 = mul nsw i32 %100, %101 %103 = sdiv i32 %102, 10 br label %105 104: ; preds = %64 br label %105 105: ; preds = %104, %99 %106 = phi i32 [ %103, %99 ], [ 0, %104 ] store i32 %106, ptr %12, align 4 br label %107 107: ; preds = %117, %105 %108 = load ptr, ptr %9, align 8 %109 = load i32, ptr %11, align 4 %110 = load i32, ptr %10, align 4 %111 = add nsw i32 %109, %110 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i8, ptr %108, i64 %112 %114 = load i8, ptr %113, align 1 %115 = sext i8 %114 to i32 %116 = icmp sgt i32 %115, 9 br i1 %116, label %117, label %130 117: ; preds = %107 %118 = load i32, ptr %12, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %12, align 4 %120 = load ptr, ptr %9, align 8 %121 = load i32, ptr %11, align 4 %122 = load i32, ptr %10, align 4 %123 = add nsw i32 %121, %122 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i8, ptr %120, i64 %124 %126 = load i8, ptr %125, align 1 %127 = sext i8 %126 to i32 %128 = sub nsw i32 %127, 10 %129 = trunc i32 %128 to i8 store i8 %129, ptr %125, align 1 br label %107, !llvm.loop !6 130: ; preds = %107 br label %131 131: ; preds = %130 %132 = load i32, ptr %11, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %11, align 4 br label %60, !llvm.loop !8 134: ; preds = %60 store i32 0, ptr %15, align 4 br label %135 135: ; preds = %177, %134 %136 = load i32, ptr %12, align 4 %137 = icmp ne i32 %136, 0 br i1 %137, label %138, label %180 138: ; preds = %135 %139 = load i32, ptr %12, align 4 %140 = load ptr, ptr %9, align 8 %141 = load i32, ptr %11, align 4 %142 = load i32, ptr %10, align 4 %143 = add nsw i32 %141, %142 %144 = load i32, ptr %15, align 4 %145 = add nsw i32 %143, %144 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds i8, ptr %140, i64 %146 %148 = load i8, ptr %147, align 1 %149 = sext i8 %148 to i32 %150 = add nsw i32 %149, %139 %151 = trunc i32 %150 to i8 store i8 %151, ptr %147, align 1 %152 = load ptr, ptr %9, align 8 %153 = load i32, ptr %11, align 4 %154 = load i32, ptr %10, align 4 %155 = add nsw i32 %153, %154 %156 = load i32, ptr %15, align 4 %157 = add nsw i32 %155, %156 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds i8, ptr %152, i64 %158 %160 = load i8, ptr %159, align 1 %161 = sext i8 %160 to i32 %162 = icmp sgt i32 %161, 9 br i1 %162, label %163, label %176 163: ; preds = %138 %164 = load ptr, ptr %9, align 8 %165 = load i32, ptr %11, align 4 %166 = load i32, ptr %10, align 4 %167 = add nsw i32 %165, %166 %168 = load i32, ptr %15, align 4 %169 = add nsw i32 %167, %168 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds i8, ptr %164, i64 %170 %172 = load i8, ptr %171, align 1 %173 = sext i8 %172 to i32 %174 = sub nsw i32 %173, 10 %175 = trunc i32 %174 to i8 store i8 %175, ptr %171, align 1 store i32 1, ptr %12, align 4 br label %177 176: ; preds = %138 store i32 0, ptr %12, align 4 br label %177 177: ; preds = %176, %163 %178 = load i32, ptr %15, align 4 %179 = add nsw i32 %178, 1 store i32 %179, ptr %15, align 4 br label %135, !llvm.loop !9 180: ; preds = %135 br label %181 181: ; preds = %180 %182 = load i32, ptr %10, align 4 %183 = add nsw i32 %182, 1 store i32 %183, ptr %10, align 4 br label %55, !llvm.loop !10 184: ; preds = %55 store i32 0, ptr %10, align 4 br label %185 185: ; preds = %200, %184 %186 = load i32, ptr %10, align 4 %187 = load i32, ptr %5, align 4 %188 = load i32, ptr %6, align 4 %189 = add nsw i32 %187, %188 %190 = icmp slt i32 %186, %189 br i1 %190, label %191, label %203 191: ; preds = %185 %192 = load ptr, ptr %9, align 8 %193 = load i32, ptr %10, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds i8, ptr %192, i64 %194 %196 = load i8, ptr %195, align 1 %197 = sext i8 %196 to i32 %198 = add nsw i32 %197, 48 %199 = trunc i32 %198 to i8 store i8 %199, ptr %195, align 1 br label %200 200: ; preds = %191 %201 = load i32, ptr %10, align 4 %202 = add nsw i32 %201, 1 store i32 %202, ptr %10, align 4 br label %185, !llvm.loop !11 203: ; preds = %185 %204 = load ptr, ptr %9, align 8 %205 = load ptr, ptr %9, align 8 %206 = call i32 @strlen(ptr noundef %205) %207 = sext i32 %206 to i64 %208 = getelementptr inbounds i8, ptr %204, i64 %207 %209 = getelementptr inbounds i8, ptr %208, i64 -1 store ptr %209, ptr %16, align 8 br label %210 210: ; preds = %225, %203 %211 = load ptr, ptr %16, align 8 %212 = load i8, ptr %211, align 1 %213 = sext i8 %212 to i32 %214 = icmp eq i32 %213, 48 br i1 %214, label %215, label %226 215: ; preds = %210 %216 = load ptr, ptr %16, align 8 %217 = getelementptr inbounds i8, ptr %216, i32 -1 store ptr %217, ptr %16, align 8 store i8 0, ptr %216, align 1 %218 = load ptr, ptr %16, align 8 %219 = load ptr, ptr %9, align 8 %220 = ptrtoint ptr %218 to i64 %221 = ptrtoint ptr %219 to i64 %222 = sub i64 %220, %221 %223 = icmp eq i64 %222, 0 br i1 %223, label %224, label %225 224: ; preds = %215 br label %226 225: ; preds = %215 br label %210, !llvm.loop !12 226: ; preds = %224, %210 %227 = load ptr, ptr %7, align 8 %228 = icmp ne ptr %227, null br i1 %228, label %229, label %232 229: ; preds = %226 %230 = load ptr, ptr %7, align 8 %231 = call i32 @free(ptr noundef %230) br label %232 232: ; preds = %229, %226 %233 = load ptr, ptr %8, align 8 %234 = icmp ne ptr %233, null br i1 %234, label %235, label %238 235: ; preds = %232 %236 = load ptr, ptr %8, align 8 %237 = call i32 @free(ptr noundef %236) br label %238 238: ; preds = %235, %232 %239 = load ptr, ptr %9, align 8 %240 = call i32 @turnaround(ptr noundef %239) %241 = load ptr, ptr %9, align 8 ret ptr %241 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @turnaround(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu8f2fcgr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @multiply(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %17 = load ptr, ptr %3, align 8 %18 = call i32 @strlen(ptr noundef %17) store i32 %18, ptr %5, align 4 %19 = load ptr, ptr %4, align 8 %20 = call i32 @strlen(ptr noundef %19) store i32 %20, ptr %6, align 4 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 %23 = sext i32 %22 to i64 %24 = mul i64 1, %23 %25 = trunc i64 %24 to i32 %26 = call i64 @malloc(i32 noundef %25) %27 = inttoptr i64 %26 to ptr store ptr %27, ptr %7, align 8 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = mul i64 1, %30 %32 = trunc i64 %31 to i32 %33 = call i64 @malloc(i32 noundef %32) %34 = inttoptr i64 %33 to ptr store ptr %34, ptr %8, align 8 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %35, %36 %38 = add nsw i32 %37, 1 %39 = call i64 @calloc(i32 noundef 1, i32 noundef %38) %40 = inttoptr i64 %39 to ptr store ptr %40, ptr %9, align 8 %41 = load ptr, ptr %7, align 8 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, 1 %45 = call i32 @memcpy(ptr noundef %41, ptr noundef %42, i32 noundef %44) %46 = load ptr, ptr %8, align 8 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr %6, align 4 %49 = add nsw i32 %48, 1 %50 = call i32 @memcpy(ptr noundef %46, ptr noundef %47, i32 noundef %49) %51 = load ptr, ptr %7, align 8 %52 = call i32 @turnaround(ptr noundef %51) %53 = load ptr, ptr %8, align 8 %54 = call i32 @turnaround(ptr noundef %53) store i32 0, ptr %12, align 4 store i32 0, ptr %10, align 4 %55 = load i32, ptr %10, align 4 %56 = load i32, ptr %6, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %.lr.ph8, label %197 .lr.ph8: ; preds = %2 br label %58 58: ; preds = %.lr.ph8, %191 store i32 0, ptr %11, align 4 %59 = load i32, ptr %11, align 4 %60 = load i32, ptr %5, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %.lr.ph2, label %143 .lr.ph2: ; preds = %58 br label %62 62: ; preds = %.lr.ph2, %137 %63 = load ptr, ptr %7, align 8 %64 = load i32, ptr %11, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = sub nsw i32 %68, 48 store i32 %69, ptr %13, align 4 %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %10, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i8, ptr %70, i64 %72 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = sub nsw i32 %75, 48 store i32 %76, ptr %14, align 4 %77 = load i32, ptr %14, align 4 %78 = load i32, ptr %13, align 4 %79 = mul nsw i32 %77, %78 %80 = srem i32 %79, 10 %81 = load i32, ptr %12, align 4 %82 = add nsw i32 %80, %81 %83 = load ptr, ptr %9, align 8 %84 = load i32, ptr %11, align 4 %85 = load i32, ptr %10, align 4 %86 = add nsw i32 %84, %85 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i8, ptr %83, i64 %87 %89 = load i8, ptr %88, align 1 %90 = sext i8 %89 to i32 %91 = add nsw i32 %90, %82 %92 = trunc i32 %91 to i8 store i8 %92, ptr %88, align 1 %93 = load i32, ptr %14, align 4 %94 = load i32, ptr %13, align 4 %95 = mul nsw i32 %93, %94 %96 = icmp sgt i32 %95, 9 br i1 %96, label %97, label %102 97: ; preds = %62 %98 = load i32, ptr %14, align 4 %99 = load i32, ptr %13, align 4 %100 = mul nsw i32 %98, %99 %101 = sdiv i32 %100, 10 br label %103 102: ; preds = %62 br label %103 103: ; preds = %102, %97 %104 = phi i32 [ %101, %97 ], [ 0, %102 ] store i32 %104, ptr %12, align 4 %105 = load ptr, ptr %9, align 8 %106 = load i32, ptr %11, align 4 %107 = load i32, ptr %10, align 4 %108 = add nsw i32 %106, %107 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i8, ptr %105, i64 %109 %111 = load i8, ptr %110, align 1 %112 = sext i8 %111 to i32 %113 = icmp sgt i32 %112, 9 br i1 %113, label %.lr.ph, label %136 .lr.ph: ; preds = %103 br label %114 114: ; preds = %.lr.ph, %114 %115 = load i32, ptr %12, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %12, align 4 %117 = load ptr, ptr %9, align 8 %118 = load i32, ptr %11, align 4 %119 = load i32, ptr %10, align 4 %120 = add nsw i32 %118, %119 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds i8, ptr %117, i64 %121 %123 = load i8, ptr %122, align 1 %124 = sext i8 %123 to i32 %125 = sub nsw i32 %124, 10 %126 = trunc i32 %125 to i8 store i8 %126, ptr %122, align 1 %127 = load ptr, ptr %9, align 8 %128 = load i32, ptr %11, align 4 %129 = load i32, ptr %10, align 4 %130 = add nsw i32 %128, %129 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds i8, ptr %127, i64 %131 %133 = load i8, ptr %132, align 1 %134 = sext i8 %133 to i32 %135 = icmp sgt i32 %134, 9 br i1 %135, label %114, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %114 br label %136 136: ; preds = %._crit_edge, %103 br label %137 137: ; preds = %136 %138 = load i32, ptr %11, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %11, align 4 %140 = load i32, ptr %11, align 4 %141 = load i32, ptr %5, align 4 %142 = icmp slt i32 %140, %141 br i1 %142, label %62, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %137 br label %143 143: ; preds = %._crit_edge3, %58 store i32 0, ptr %15, align 4 %144 = load i32, ptr %12, align 4 %145 = icmp ne i32 %144, 0 br i1 %145, label %.lr.ph5, label %190 .lr.ph5: ; preds = %143 br label %146 146: ; preds = %.lr.ph5, %185 %147 = load i32, ptr %12, align 4 %148 = load ptr, ptr %9, align 8 %149 = load i32, ptr %11, align 4 %150 = load i32, ptr %10, align 4 %151 = add nsw i32 %149, %150 %152 = load i32, ptr %15, align 4 %153 = add nsw i32 %151, %152 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds i8, ptr %148, i64 %154 %156 = load i8, ptr %155, align 1 %157 = sext i8 %156 to i32 %158 = add nsw i32 %157, %147 %159 = trunc i32 %158 to i8 store i8 %159, ptr %155, align 1 %160 = load ptr, ptr %9, align 8 %161 = load i32, ptr %11, align 4 %162 = load i32, ptr %10, align 4 %163 = add nsw i32 %161, %162 %164 = load i32, ptr %15, align 4 %165 = add nsw i32 %163, %164 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds i8, ptr %160, i64 %166 %168 = load i8, ptr %167, align 1 %169 = sext i8 %168 to i32 %170 = icmp sgt i32 %169, 9 br i1 %170, label %171, label %184 171: ; preds = %146 %172 = load ptr, ptr %9, align 8 %173 = load i32, ptr %11, align 4 %174 = load i32, ptr %10, align 4 %175 = add nsw i32 %173, %174 %176 = load i32, ptr %15, align 4 %177 = add nsw i32 %175, %176 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds i8, ptr %172, i64 %178 %180 = load i8, ptr %179, align 1 %181 = sext i8 %180 to i32 %182 = sub nsw i32 %181, 10 %183 = trunc i32 %182 to i8 store i8 %183, ptr %179, align 1 store i32 1, ptr %12, align 4 br label %185 184: ; preds = %146 store i32 0, ptr %12, align 4 br label %185 185: ; preds = %184, %171 %186 = load i32, ptr %15, align 4 %187 = add nsw i32 %186, 1 store i32 %187, ptr %15, align 4 %188 = load i32, ptr %12, align 4 %189 = icmp ne i32 %188, 0 br i1 %189, label %146, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %185 br label %190 190: ; preds = %._crit_edge6, %143 br label %191 191: ; preds = %190 %192 = load i32, ptr %10, align 4 %193 = add nsw i32 %192, 1 store i32 %193, ptr %10, align 4 %194 = load i32, ptr %10, align 4 %195 = load i32, ptr %6, align 4 %196 = icmp slt i32 %194, %195 br i1 %196, label %58, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %191 br label %197 197: ; preds = %._crit_edge9, %2 store i32 0, ptr %10, align 4 %198 = load i32, ptr %10, align 4 %199 = load i32, ptr %5, align 4 %200 = load i32, ptr %6, align 4 %201 = add nsw i32 %199, %200 %202 = icmp slt i32 %198, %201 br i1 %202, label %.lr.ph11, label %220 .lr.ph11: ; preds = %197 br label %203 203: ; preds = %.lr.ph11, %212 %204 = load ptr, ptr %9, align 8 %205 = load i32, ptr %10, align 4 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds i8, ptr %204, i64 %206 %208 = load i8, ptr %207, align 1 %209 = sext i8 %208 to i32 %210 = add nsw i32 %209, 48 %211 = trunc i32 %210 to i8 store i8 %211, ptr %207, align 1 br label %212 212: ; preds = %203 %213 = load i32, ptr %10, align 4 %214 = add nsw i32 %213, 1 store i32 %214, ptr %10, align 4 %215 = load i32, ptr %10, align 4 %216 = load i32, ptr %5, align 4 %217 = load i32, ptr %6, align 4 %218 = add nsw i32 %216, %217 %219 = icmp slt i32 %215, %218 br i1 %219, label %203, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %212 br label %220 220: ; preds = %._crit_edge12, %197 %221 = load ptr, ptr %9, align 8 %222 = load ptr, ptr %9, align 8 %223 = call i32 @strlen(ptr noundef %222) %224 = sext i32 %223 to i64 %225 = getelementptr inbounds i8, ptr %221, i64 %224 %226 = getelementptr inbounds i8, ptr %225, i64 -1 store ptr %226, ptr %16, align 8 %227 = load ptr, ptr %16, align 8 %228 = load i8, ptr %227, align 1 %229 = sext i8 %228 to i32 %230 = icmp eq i32 %229, 48 br i1 %230, label %.lr.ph14, label %.loopexit .lr.ph14: ; preds = %220 br label %236 231: ; preds = %236 %232 = load ptr, ptr %16, align 8 %233 = load i8, ptr %232, align 1 %234 = sext i8 %233 to i32 %235 = icmp eq i32 %234, 48 br i1 %235, label %236, label %..loopexit_crit_edge, !llvm.loop !12 236: ; preds = %.lr.ph14, %231 %237 = load ptr, ptr %16, align 8 %238 = getelementptr inbounds i8, ptr %237, i32 -1 store ptr %238, ptr %16, align 8 store i8 0, ptr %237, align 1 %239 = load ptr, ptr %16, align 8 %240 = load ptr, ptr %9, align 8 %241 = ptrtoint ptr %239 to i64 %242 = ptrtoint ptr %240 to i64 %243 = sub i64 %241, %242 %244 = icmp eq i64 %243, 0 br i1 %244, label %245, label %231 245: ; preds = %236 br label %246 ..loopexit_crit_edge: ; preds = %231 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %220 br label %246 246: ; preds = %.loopexit, %245 %247 = load ptr, ptr %7, align 8 %248 = icmp ne ptr %247, null br i1 %248, label %249, label %252 249: ; preds = %246 %250 = load ptr, ptr %7, align 8 %251 = call i32 @free(ptr noundef %250) br label %252 252: ; preds = %249, %246 %253 = load ptr, ptr %8, align 8 %254 = icmp ne ptr %253, null br i1 %254, label %255, label %258 255: ; preds = %252 %256 = load ptr, ptr %8, align 8 %257 = call i32 @free(ptr noundef %256) br label %258 258: ; preds = %255, %252 %259 = load ptr, ptr %9, align 8 %260 = call i32 @turnaround(ptr noundef %259) %261 = load ptr, ptr %9, align 8 ret ptr %261 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @turnaround(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpe5tje9ki.c' source_filename = "/tmp/tmpe5tje9ki.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"--debug\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"First standard line.\0A\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"Debug line with --debug at runtime.\0A\00", align 1 @.str.3 = private unnamed_addr constant [40 x i8] c"Debug line with DEBUG at compile time.\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Second standard line.\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 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 br label %8 8: ; preds = %22, %2 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %25 12: ; preds = %8 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = call i64 @strcmp(ptr noundef @.str, ptr noundef %17) %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %12 store i32 1, ptr %7, align 4 br label %21 21: ; preds = %20, %12 br label %22 22: ; preds = %21 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %6, align 4 br label %8, !llvm.loop !6 25: ; preds = %8 %26 = call i32 @printf(ptr noundef @.str.1) %27 = load i32, ptr %7, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %25 %30 = call i32 @printf(ptr noundef @.str.2) br label %31 31: ; preds = %29, %25 %32 = call i32 @printf(ptr noundef @.str.3) %33 = call i32 @printf(ptr noundef @.str.4) ret i32 0 } declare i64 @strcmp(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/tmpe5tje9ki.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"--debug\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"First standard line.\0A\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"Debug line with --debug at runtime.\0A\00", align 1 @.str.3 = private unnamed_addr constant [40 x i8] c"Debug line with DEBUG at compile time.\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Second standard line.\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 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %21 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds ptr, ptr %12, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = call i64 @strcmp(ptr noundef @.str, ptr noundef %16) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %11 store i32 1, ptr %7, align 4 br label %20 20: ; preds = %19, %11 br label %21 21: ; preds = %20 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %2 %28 = call i32 @printf(ptr noundef @.str.1) %29 = load i32, ptr %7, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %27 %32 = call i32 @printf(ptr noundef @.str.2) br label %33 33: ; preds = %31, %27 %34 = call i32 @printf(ptr noundef @.str.3) %35 = call i32 @printf(ptr noundef @.str.4) ret i32 0 } declare i64 @strcmp(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/tmp299h_zkp.c' source_filename = "/tmp/tmp299h_zkp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rt\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"read_text_file realloc fail\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @read_text_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 store i64 0, ptr %5, align 8 store i64 0, ptr %6, align 8 %10 = load ptr, ptr %3, align 8 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str) store ptr %11, ptr %7, align 8 br label %12 12: ; preds = %48, %1 %13 = load ptr, ptr %7, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %20 15: ; preds = %12 %16 = load ptr, ptr %7, align 8 %17 = call i32 @feof(ptr noundef %16) %18 = icmp ne i32 %17, 0 %19 = xor i1 %18, true br label %20 20: ; preds = %15, %12 %21 = phi i1 [ false, %12 ], [ %19, %15 ] br i1 %21, label %22, label %59 22: ; preds = %20 %23 = load i64, ptr %6, align 8 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %44 25: ; preds = %22 %26 = load ptr, ptr %4, align 8 %27 = load i64, ptr %5, align 8 %28 = add i64 %27, 1024 %29 = call i64 @realloc(ptr noundef %26, i64 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %8, align 8 %31 = load ptr, ptr %8, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %33, label %39 33: ; preds = %25 %34 = load i64, ptr %6, align 8 %35 = add i64 %34, 1024 store i64 %35, ptr %6, align 8 %36 = load i64, ptr %5, align 8 %37 = add i64 %36, 1024 store i64 %37, ptr %5, align 8 %38 = load ptr, ptr %8, align 8 store ptr %38, ptr %4, align 8 br label %43 39: ; preds = %25 %40 = load i32, ptr @stderr, align 4 %41 = call i32 @fprintf(i32 noundef %40, ptr noundef @.str.1) %42 = load ptr, ptr %4, align 8 store ptr %42, ptr %2, align 8 br label %71 43: ; preds = %33 br label %44 44: ; preds = %43, %22 %45 = load i64, ptr %6, align 8 %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %48 47: ; preds = %44 br label %59 48: ; preds = %44 %49 = load ptr, ptr %4, align 8 %50 = load i64, ptr %5, align 8 %51 = sub i64 %50, 1024 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = load i64, ptr %6, align 8 %54 = load ptr, ptr %7, align 8 %55 = call i64 @fread(ptr noundef %52, i32 noundef 1, i64 noundef %53, ptr noundef %54) store i64 %55, ptr %9, align 8 %56 = load i64, ptr %9, align 8 %57 = load i64, ptr %6, align 8 %58 = sub i64 %57, %56 store i64 %58, ptr %6, align 8 br label %12, !llvm.loop !6 59: ; preds = %47, %20 %60 = load ptr, ptr %4, align 8 %61 = icmp ne ptr %60, null br i1 %61, label %62, label %69 62: ; preds = %59 %63 = load i64, ptr %5, align 8 %64 = icmp ugt i64 %63, 0 br i1 %64, label %65, label %69 65: ; preds = %62 %66 = load ptr, ptr %4, align 8 %67 = load i64, ptr %5, align 8 %68 = getelementptr inbounds i8, ptr %66, i64 %67 store i8 0, ptr %68, align 1 br label %69 69: ; preds = %65, %62, %59 %70 = load ptr, ptr %4, align 8 store ptr %70, ptr %2, align 8 br label %71 71: ; preds = %69, %39 %72 = load ptr, ptr %2, align 8 ret ptr %72 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i64 @realloc(ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp299h_zkp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rt\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"read_text_file realloc fail\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @read_text_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 store i64 0, ptr %5, align 8 store i64 0, ptr %6, align 8 %10 = load ptr, ptr %3, align 8 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str) store ptr %11, ptr %7, align 8 br label %12 12: ; preds = %48, %1 %13 = load ptr, ptr %7, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %20 15: ; preds = %12 %16 = load ptr, ptr %7, align 8 %17 = call i32 @feof(ptr noundef %16) %18 = icmp ne i32 %17, 0 %19 = xor i1 %18, true br label %20 20: ; preds = %15, %12 %21 = phi i1 [ false, %12 ], [ %19, %15 ] br i1 %21, label %22, label %.loopexit 22: ; preds = %20 %23 = load i64, ptr %6, align 8 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %44 25: ; preds = %22 %26 = load ptr, ptr %4, align 8 %27 = load i64, ptr %5, align 8 %28 = add i64 %27, 1024 %29 = call i64 @realloc(ptr noundef %26, i64 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %8, align 8 %31 = load ptr, ptr %8, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %33, label %39 33: ; preds = %25 %34 = load i64, ptr %6, align 8 %35 = add i64 %34, 1024 store i64 %35, ptr %6, align 8 %36 = load i64, ptr %5, align 8 %37 = add i64 %36, 1024 store i64 %37, ptr %5, align 8 %38 = load ptr, ptr %8, align 8 store ptr %38, ptr %4, align 8 br label %43 39: ; preds = %25 %40 = load i32, ptr @stderr, align 4 %41 = call i32 @fprintf(i32 noundef %40, ptr noundef @.str.1) %42 = load ptr, ptr %4, align 8 store ptr %42, ptr %2, align 8 br label %71 43: ; preds = %33 br label %44 44: ; preds = %43, %22 %45 = load i64, ptr %6, align 8 %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %48 47: ; preds = %44 br label %59 48: ; preds = %44 %49 = load ptr, ptr %4, align 8 %50 = load i64, ptr %5, align 8 %51 = sub i64 %50, 1024 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = load i64, ptr %6, align 8 %54 = load ptr, ptr %7, align 8 %55 = call i64 @fread(ptr noundef %52, i32 noundef 1, i64 noundef %53, ptr noundef %54) store i64 %55, ptr %9, align 8 %56 = load i64, ptr %9, align 8 %57 = load i64, ptr %6, align 8 %58 = sub i64 %57, %56 store i64 %58, ptr %6, align 8 br label %12, !llvm.loop !6 .loopexit: ; preds = %20 br label %59 59: ; preds = %.loopexit, %47 %60 = load ptr, ptr %4, align 8 %61 = icmp ne ptr %60, null br i1 %61, label %62, label %69 62: ; preds = %59 %63 = load i64, ptr %5, align 8 %64 = icmp ugt i64 %63, 0 br i1 %64, label %65, label %69 65: ; preds = %62 %66 = load ptr, ptr %4, align 8 %67 = load i64, ptr %5, align 8 %68 = getelementptr inbounds i8, ptr %66, i64 %67 store i8 0, ptr %68, align 1 br label %69 69: ; preds = %65, %62, %59 %70 = load ptr, ptr %4, align 8 store ptr %70, ptr %2, align 8 br label %71 71: ; preds = %69, %39 %72 = load ptr, ptr %2, align 8 ret ptr %72 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i64 @realloc(ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmps5ut3jjj.c' source_filename = "/tmp/tmps5ut3jjj.c" target datalayout = "e-m:e-p270: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/tmps5ut3jjj.c" target datalayout = "e-m:e-p270: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/tmpw0xyamzv.c' source_filename = "/tmp/tmpw0xyamzv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sudoku_solver(ptr noundef %0, i32 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 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 9 br i1 %10, label %11, label %87 11: ; preds = %3 %12 = load i32, ptr %7, align 4 %13 = icmp slt i32 %12, 9 br i1 %13, label %14, label %87 14: ; preds = %11 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [9 x i32], ptr %15, i64 %17 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [9 x i32], ptr %18, i64 0, i64 %20 %22 = load i32, ptr %21, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %44 24: ; preds = %14 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %25, 1 %27 = icmp slt i32 %26, 9 br i1 %27, label %28, label %34 28: ; preds = %24 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %7, align 4 %32 = add nsw i32 %31, 1 %33 = call i32 @sudoku_solver(ptr noundef %29, i32 noundef %30, i32 noundef %32) store i32 %33, ptr %4, align 4 br label %88 34: ; preds = %24 %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, 1 %37 = icmp slt i32 %36, 9 br i1 %37, label %38, label %43 38: ; preds = %34 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 1 %42 = call i32 @sudoku_solver(ptr noundef %39, i32 noundef %41, i32 noundef 0) store i32 %42, ptr %4, align 4 br label %88 43: ; preds = %34 store i32 1, ptr %4, align 4 br label %88 44: ; preds = %14 store i32 0, ptr %8, align 4 br label %45 45: ; preds = %82, %44 %46 = load i32, ptr %8, align 4 %47 = icmp slt i32 %46, 9 br i1 %47, label %48, label %85 48: ; preds = %45 %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %6, align 4 %51 = load i32, ptr %7, align 4 %52 = load i32, ptr %8, align 4 %53 = add nsw i32 %52, 1 %54 = call i64 @is_valid(ptr noundef %49, i32 noundef %50, i32 noundef %51, i32 noundef %53) %55 = icmp ne i64 %54, 0 br i1 %55, label %56, label %81 56: ; preds = %48 %57 = load i32, ptr %8, align 4 %58 = add nsw i32 %57, 1 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %6, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [9 x i32], ptr %59, i64 %61 %63 = load i32, ptr %7, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [9 x i32], ptr %62, i64 0, i64 %64 store i32 %58, ptr %65, align 4 %66 = load ptr, ptr %5, align 8 %67 = load i32, ptr %6, align 4 %68 = load i32, ptr %7, align 4 %69 = call i32 @sudoku_solver(ptr noundef %66, i32 noundef %67, i32 noundef %68) %70 = icmp ne i32 %69, 0 br i1 %70, label %71, label %72 71: ; preds = %56 store i32 1, ptr %4, align 4 br label %88 72: ; preds = %56 %73 = load ptr, ptr %5, align 8 %74 = load i32, ptr %6, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [9 x i32], ptr %73, i64 %75 %77 = load i32, ptr %7, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [9 x i32], ptr %76, i64 0, i64 %78 store i32 0, ptr %79, align 4 br label %80 80: ; preds = %72 br label %81 81: ; preds = %80, %48 br label %82 82: ; preds = %81 %83 = load i32, ptr %8, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %8, align 4 br label %45, !llvm.loop !6 85: ; preds = %45 br label %86 86: ; preds = %85 store i32 0, ptr %4, align 4 br label %88 87: ; preds = %11, %3 store i32 1, ptr %4, align 4 br label %88 88: ; preds = %87, %86, %71, %43, %38, %28 %89 = load i32, ptr %4, align 4 ret i32 %89 } declare i64 @is_valid(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw0xyamzv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sudoku_solver(ptr noundef %0, i32 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 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 9 br i1 %10, label %11, label %88 11: ; preds = %3 %12 = load i32, ptr %7, align 4 %13 = icmp slt i32 %12, 9 br i1 %13, label %14, label %88 14: ; preds = %11 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [9 x i32], ptr %15, i64 %17 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [9 x i32], ptr %18, i64 0, i64 %20 %22 = load i32, ptr %21, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %44 24: ; preds = %14 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %25, 1 %27 = icmp slt i32 %26, 9 br i1 %27, label %28, label %34 28: ; preds = %24 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %7, align 4 %32 = add nsw i32 %31, 1 %33 = call i32 @sudoku_solver(ptr noundef %29, i32 noundef %30, i32 noundef %32) store i32 %33, ptr %4, align 4 br label %89 34: ; preds = %24 %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, 1 %37 = icmp slt i32 %36, 9 br i1 %37, label %38, label %43 38: ; preds = %34 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 1 %42 = call i32 @sudoku_solver(ptr noundef %39, i32 noundef %41, i32 noundef 0) store i32 %42, ptr %4, align 4 br label %89 43: ; preds = %34 store i32 1, ptr %4, align 4 br label %89 44: ; preds = %14 store i32 0, ptr %8, align 4 %45 = load i32, ptr %8, align 4 %46 = icmp slt i32 %45, 9 br i1 %46, label %.lr.ph, label %86 .lr.ph: ; preds = %44 br label %47 47: ; preds = %.lr.ph, %81 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %7, align 4 %51 = load i32, ptr %8, align 4 %52 = add nsw i32 %51, 1 %53 = call i64 @is_valid(ptr noundef %48, i32 noundef %49, i32 noundef %50, i32 noundef %52) %54 = icmp ne i64 %53, 0 br i1 %54, label %55, label %80 55: ; preds = %47 %56 = load i32, ptr %8, align 4 %57 = add nsw i32 %56, 1 %58 = load ptr, ptr %5, align 8 %59 = load i32, ptr %6, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [9 x i32], ptr %58, i64 %60 %62 = load i32, ptr %7, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [9 x i32], ptr %61, i64 0, i64 %63 store i32 %57, ptr %64, align 4 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr %6, align 4 %67 = load i32, ptr %7, align 4 %68 = call i32 @sudoku_solver(ptr noundef %65, i32 noundef %66, i32 noundef %67) %69 = icmp ne i32 %68, 0 br i1 %69, label %70, label %71 70: ; preds = %55 store i32 1, ptr %4, align 4 br label %89 71: ; preds = %55 %72 = load ptr, ptr %5, align 8 %73 = load i32, ptr %6, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [9 x i32], ptr %72, i64 %74 %76 = load i32, ptr %7, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [9 x i32], ptr %75, i64 0, i64 %77 store i32 0, ptr %78, align 4 br label %79 79: ; preds = %71 br label %80 80: ; preds = %79, %47 br label %81 81: ; preds = %80 %82 = load i32, ptr %8, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %8, align 4 %84 = load i32, ptr %8, align 4 %85 = icmp slt i32 %84, 9 br i1 %85, label %47, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %81 br label %86 86: ; preds = %._crit_edge, %44 br label %87 87: ; preds = %86 store i32 0, ptr %4, align 4 br label %89 88: ; preds = %11, %3 store i32 1, ptr %4, align 4 br label %89 89: ; preds = %88, %87, %70, %43, %38, %28 %90 = load i32, ptr %4, align 4 ret i32 %90 } declare i64 @is_valid(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpzovf4_86.c' source_filename = "/tmp/tmpzovf4_86.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @void_tand0(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = call i32 @identity(i8 noundef signext %4) %6 = and i32 %5, 0 %7 = icmp ne i32 %6, 0 %8 = zext i1 %7 to i64 %9 = select i1 %7, i32 42, i32 43 %10 = trunc i32 %9 to i8 store i8 %10, ptr %3, align 1 ret void } declare i32 @identity(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzovf4_86.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @void_tand0(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = call i32 @identity(i8 noundef signext %4) %6 = and i32 %5, 0 %7 = icmp ne i32 %6, 0 %8 = zext i1 %7 to i64 %9 = select i1 %7, i32 42, i32 43 %10 = trunc i32 %9 to i8 store i8 %10, ptr %3, align 1 ret void } declare i32 @identity(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd5vzthy5.c' source_filename = "/tmp/tmpd5vzthy5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_verlan(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = add nsw i32 %7, 1 %9 = call ptr @malloc(i32 noundef %8) store ptr %9, ptr %5, align 8 store ptr %9, ptr %6, align 8 %10 = load i32, ptr %4, align 4 %11 = sub nsw i32 %10, 1 %12 = load ptr, ptr %3, align 8 %13 = sext i32 %11 to i64 %14 = getelementptr inbounds i8, ptr %12, i64 %13 store ptr %14, ptr %3, align 8 br label %15 15: ; preds = %19, %2 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, -1 store i32 %17, ptr %4, align 4 %18 = icmp sge i32 %16, 0 br i1 %18, label %19, label %25 19: ; preds = %15 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 -1 store ptr %21, ptr %3, align 8 %22 = load i8, ptr %20, align 1 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %5, align 8 store i8 %22, ptr %23, align 1 br label %15, !llvm.loop !6 25: ; preds = %15 %26 = load ptr, ptr %5, align 8 store i8 0, ptr %26, align 1 %27 = load ptr, ptr %6, align 8 ret ptr %27 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd5vzthy5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_verlan(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = add nsw i32 %7, 1 %9 = call ptr @malloc(i32 noundef %8) store ptr %9, ptr %5, align 8 store ptr %9, ptr %6, align 8 %10 = load i32, ptr %4, align 4 %11 = sub nsw i32 %10, 1 %12 = load ptr, ptr %3, align 8 %13 = sext i32 %11 to i64 %14 = getelementptr inbounds i8, ptr %12, i64 %13 store ptr %14, ptr %3, align 8 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, -1 store i32 %16, ptr %4, align 4 %17 = icmp sge i32 %15, 0 br i1 %17, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %18 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 -1 store ptr %20, ptr %3, align 8 %21 = load i8, ptr %19, align 1 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %5, align 8 store i8 %21, ptr %22, align 1 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %4, align 4 %26 = icmp sge i32 %24, 0 br i1 %26, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %27 27: ; preds = %._crit_edge, %2 %28 = load ptr, ptr %5, align 8 store i8 0, ptr %28, align 1 %29 = load ptr, ptr %6, align 8 ret ptr %29 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpyh6nfdj4.c' source_filename = "/tmp/tmpyh6nfdj4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EEXIST = 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/tmpyh6nfdj4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EEXIST = 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/tmpz3wm4guw.c' source_filename = "/tmp/tmpz3wm4guw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 1, %7 br i1 %8, label %9, label %13 9: ; preds = %2 %10 = call i32 @cat(ptr noundef @.str) %11 = load i32, ptr %6, align 4 %12 = or i32 %11, %10 store i32 %12, ptr %6, align 4 br label %26 13: ; preds = %2 br label %14 14: ; preds = %19, %13 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i32 1 store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %16, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %25 19: ; preds = %14 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %20, align 8 %22 = call i32 @cat(ptr noundef %21) %23 = load i32, ptr %6, align 4 %24 = or i32 %23, %22 store i32 %24, ptr %6, align 4 br label %14, !llvm.loop !6 25: ; preds = %14 br label %26 26: ; preds = %25, %9 %27 = load i32, ptr %6, align 4 ret i32 %27 } declare i32 @cat(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/tmpz3wm4guw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp eq i32 1, %7 br i1 %8, label %9, label %13 9: ; preds = %2 %10 = call i32 @cat(ptr noundef @.str) %11 = load i32, ptr %6, align 4 %12 = or i32 %11, %10 store i32 %12, ptr %6, align 4 br label %29 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i32 1 store ptr %15, ptr %5, align 8 %16 = load ptr, ptr %15, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %.lr.ph, label %28 .lr.ph: ; preds = %13 br label %18 18: ; preds = %.lr.ph, %18 %19 = load ptr, ptr %5, align 8 %20 = load ptr, ptr %19, align 8 %21 = call i32 @cat(ptr noundef %20) %22 = load i32, ptr %6, align 4 %23 = or i32 %22, %21 store i32 %23, ptr %6, align 4 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i32 1 store ptr %25, ptr %5, align 8 %26 = load ptr, ptr %25, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %28 28: ; preds = %._crit_edge, %13 br label %29 29: ; preds = %28, %9 %30 = load i32, ptr %6, align 4 ret i32 %30 } declare i32 @cat(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/tmp9ujxy2ha.c' source_filename = "/tmp/tmp9ujxy2ha.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f5(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %5 = load float, ptr %3, align 4 %6 = load float, ptr %4, align 4 %7 = fmul float %5, %6 ret float %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9ujxy2ha.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f5(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %5 = load float, ptr %3, align 4 %6 = load float, ptr %4, align 4 %7 = fmul float %5, %6 ret float %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpspbgn8z7.c' source_filename = "/tmp/tmpspbgn8z7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cptp_patch_request_header(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, i8 noundef zeroext %3, i8 noundef zeroext %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i16, align 2 %9 = alloca i16, align 2 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i16 %1, ptr %8, align 2 store i16 %2, ptr %9, align 2 store i8 %3, ptr %10, align 1 store i8 %4, ptr %11, align 1 store i32 %5, ptr %12, align 4 %13 = load ptr, ptr %7, align 8 %14 = load i16, ptr %8, align 2 %15 = load i16, ptr %9, align 2 %16 = load i8, ptr %10, align 1 %17 = load i8, ptr %11, align 1 %18 = load i32, ptr %12, align 4 %19 = call i32 @cptp_patch_header(ptr noundef %13, i16 noundef zeroext %14, i16 noundef zeroext %15, i8 noundef zeroext %16, i32 noundef 0, i8 noundef zeroext %17, i32 noundef %18) ret i32 %19 } declare i32 @cptp_patch_header(ptr noundef, i16 noundef zeroext, i16 noundef zeroext, i8 noundef zeroext, i32 noundef, i8 noundef zeroext, 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/tmpspbgn8z7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cptp_patch_request_header(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, i8 noundef zeroext %3, i8 noundef zeroext %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i16, align 2 %9 = alloca i16, align 2 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i16 %1, ptr %8, align 2 store i16 %2, ptr %9, align 2 store i8 %3, ptr %10, align 1 store i8 %4, ptr %11, align 1 store i32 %5, ptr %12, align 4 %13 = load ptr, ptr %7, align 8 %14 = load i16, ptr %8, align 2 %15 = load i16, ptr %9, align 2 %16 = load i8, ptr %10, align 1 %17 = load i8, ptr %11, align 1 %18 = load i32, ptr %12, align 4 %19 = call i32 @cptp_patch_header(ptr noundef %13, i16 noundef zeroext %14, i16 noundef zeroext %15, i8 noundef zeroext %16, i32 noundef 0, i8 noundef zeroext %17, i32 noundef %18) ret i32 %19 } declare i32 @cptp_patch_header(ptr noundef, i16 noundef zeroext, i16 noundef zeroext, i8 noundef zeroext, i32 noundef, i8 noundef zeroext, 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/tmpuhiolr2c.c' source_filename = "/tmp/tmpuhiolr2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global i32 0, align 4 @M_PI_2 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @lash_getContainedAngle(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15) #0 { %17 = alloca i32, align 4 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca i32, align 4 %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca double, align 8 %35 = alloca double, align 8 %36 = alloca double, align 8 %37 = alloca double, align 8 %38 = alloca double, align 8 %39 = alloca i32, align 4 %40 = alloca double, align 8 %41 = alloca double, align 8 %42 = alloca double, align 8 %43 = alloca i32, align 4 %44 = alloca double, align 8 %45 = alloca i32, align 4 %46 = alloca double, align 8 %47 = alloca i32, align 4 store double %0, ptr %18, align 8 store double %1, ptr %19, align 8 store double %2, ptr %20, align 8 store double %3, ptr %21, align 8 store double %4, ptr %22, align 8 store i32 %5, ptr %23, align 4 store i32 %6, ptr %24, align 4 store i32 %7, ptr %25, align 4 store i32 %8, ptr %26, align 4 store ptr %9, ptr %27, align 8 store ptr %10, ptr %28, align 8 store i32 %11, ptr %29, align 4 store ptr %12, ptr %30, align 8 store ptr %13, ptr %31, align 8 store ptr %14, ptr %32, align 8 store ptr %15, ptr %33, align 8 %48 = load double, ptr %18, align 8 %49 = load double, ptr %20, align 8 %50 = fsub double %48, %49 %51 = load i32, ptr %26, align 4 %52 = sitofp i32 %51 to double %53 = fcmp olt double %50, %52 br i1 %53, label %54, label %228 54: ; preds = %16 %55 = load double, ptr %19, align 8 %56 = load double, ptr %20, align 8 %57 = fsub double %55, %56 %58 = load i32, ptr %23, align 4 %59 = sitofp i32 %58 to double %60 = fcmp olt double %57, %59 br i1 %60, label %61, label %115 61: ; preds = %54 %62 = load i32, ptr @M_PI, align 4 %63 = sitofp i32 %62 to double store double %63, ptr %34, align 8 %64 = load i32, ptr @M_PI, align 4 %65 = mul nsw i32 2, %64 %66 = sitofp i32 %65 to double store double %66, ptr %35, align 8 %67 = load double, ptr %34, align 8 %68 = load double, ptr %18, align 8 %69 = load i32, ptr %26, align 4 %70 = sitofp i32 %69 to double %71 = fsub double %68, %70 %72 = load double, ptr %20, align 8 %73 = fdiv double %71, %72 %74 = call double @acos(double noundef %73) #4 %75 = fadd double %67, %74 %76 = load ptr, ptr %27, align 8 store double %75, ptr %76, align 8 %77 = load double, ptr %35, align 8 %78 = load double, ptr %19, align 8 %79 = load i32, ptr %23, align 4 %80 = sitofp i32 %79 to double %81 = fsub double %78, %80 %82 = load double, ptr %20, align 8 %83 = fdiv double %81, %82 %84 = call double @asin(double noundef %83) #4 %85 = fadd double %77, %84 %86 = load ptr, ptr %28, align 8 store double %85, ptr %86, align 8 %87 = load i32, ptr %29, align 4 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %114 89: ; preds = %61 %90 = load i32, ptr %26, align 4 %91 = sitofp i32 %90 to double %92 = load ptr, ptr %30, align 8 store double %91, ptr %92, align 8 %93 = load double, ptr %19, align 8 %94 = load ptr, ptr %27, align 8 %95 = load double, ptr %94, align 8 %96 = load double, ptr %34, align 8 %97 = fsub double %95, %96 %98 = call double @sin(double noundef %97) %99 = load double, ptr %20, align 8 %100 = call double @llvm.fmuladd.f64(double %98, double %99, double %93) %101 = load ptr, ptr %31, align 8 store double %100, ptr %101, align 8 %102 = load double, ptr %18, align 8 %103 = load ptr, ptr %28, align 8 %104 = load double, ptr %103, align 8 %105 = load double, ptr %35, align 8 %106 = fsub double %104, %105 %107 = call double @cos(double noundef %106) %108 = load double, ptr %20, align 8 %109 = call double @llvm.fmuladd.f64(double %107, double %108, double %102) %110 = load ptr, ptr %32, align 8 store double %109, ptr %110, align 8 %111 = load i32, ptr %23, align 4 %112 = sitofp i32 %111 to double %113 = load ptr, ptr %33, align 8 store double %112, ptr %113, align 8 br label %114 114: ; preds = %89, %61 store i32 0, ptr %17, align 4 br label %555 115: ; preds = %54 %116 = load double, ptr %19, align 8 %117 = load double, ptr %20, align 8 %118 = fadd double %116, %117 %119 = load double, ptr %22, align 8 %120 = load i32, ptr %25, align 4 %121 = sitofp i32 %120 to double %122 = fsub double %119, %121 %123 = fcmp ogt double %118, %122 br i1 %123, label %124, label %184 124: ; preds = %115 %125 = load i32, ptr @M_PI_2, align 4 %126 = mul nsw i32 3, %125 %127 = sitofp i32 %126 to double store double %127, ptr %36, align 8 %128 = load i32, ptr @M_PI_2, align 4 %129 = mul nsw i32 5, %128 %130 = sitofp i32 %129 to double store double %130, ptr %37, align 8 %131 = load double, ptr %36, align 8 %132 = load double, ptr %18, align 8 %133 = load i32, ptr %26, align 4 %134 = sitofp i32 %133 to double %135 = fsub double %132, %134 %136 = load double, ptr %20, align 8 %137 = fdiv double %135, %136 %138 = call double @acos(double noundef %137) #4 %139 = fadd double %131, %138 %140 = load ptr, ptr %27, align 8 store double %139, ptr %140, align 8 %141 = load double, ptr %37, align 8 %142 = load double, ptr %22, align 8 %143 = load i32, ptr %25, align 4 %144 = sitofp i32 %143 to double %145 = fsub double %142, %144 %146 = load double, ptr %19, align 8 %147 = fsub double %145, %146 %148 = load double, ptr %20, align 8 %149 = fdiv double %147, %148 %150 = call double @asin(double noundef %149) #4 %151 = fadd double %141, %150 %152 = load ptr, ptr %28, align 8 store double %151, ptr %152, align 8 %153 = load i32, ptr %29, align 4 %154 = icmp ne i32 %153, 0 br i1 %154, label %155, label %183 155: ; preds = %124 %156 = load double, ptr %18, align 8 %157 = load ptr, ptr %27, align 8 %158 = load double, ptr %157, align 8 %159 = load double, ptr %36, align 8 %160 = fsub double %158, %159 %161 = call double @sin(double noundef %160) %162 = load double, ptr %20, align 8 %163 = call double @llvm.fmuladd.f64(double %161, double %162, double %156) %164 = load ptr, ptr %30, align 8 store double %163, ptr %164, align 8 %165 = load double, ptr %22, align 8 %166 = load i32, ptr %25, align 4 %167 = sitofp i32 %166 to double %168 = fsub double %165, %167 %169 = load ptr, ptr %31, align 8 store double %168, ptr %169, align 8 %170 = load i32, ptr %26, align 4 %171 = sitofp i32 %170 to double %172 = load ptr, ptr %32, align 8 store double %171, ptr %172, align 8 %173 = load double, ptr %19, align 8 %174 = load ptr, ptr %28, align 8 %175 = load double, ptr %174, align 8 %176 = load double, ptr %37, align 8 %177 = fsub double %175, %176 %178 = call double @cos(double noundef %177) %179 = load double, ptr %20, align 8 %180 = fneg double %178 %181 = call double @llvm.fmuladd.f64(double %180, double %179, double %173) %182 = load ptr, ptr %33, align 8 store double %181, ptr %182, align 8 br label %183 183: ; preds = %155, %124 store i32 0, ptr %17, align 4 br label %555 184: ; preds = %115 %185 = load double, ptr %18, align 8 %186 = load i32, ptr %26, align 4 %187 = sitofp i32 %186 to double %188 = fsub double %185, %187 %189 = load double, ptr %20, align 8 %190 = fdiv double %188, %189 %191 = call double @acos(double noundef %190) #4 store double %191, ptr %38, align 8 %192 = load i32, ptr @M_PI, align 4 %193 = sitofp i32 %192 to double %194 = load double, ptr %38, align 8 %195 = fadd double %193, %194 %196 = load ptr, ptr %27, align 8 store double %195, ptr %196, align 8 %197 = load i32, ptr @M_PI, align 4 %198 = mul nsw i32 3, %197 %199 = sitofp i32 %198 to double %200 = load double, ptr %38, align 8 %201 = fsub double %199, %200 %202 = load ptr, ptr %28, align 8 store double %201, ptr %202, align 8 %203 = load i32, ptr %29, align 4 %204 = icmp ne i32 %203, 0 br i1 %204, label %205, label %227 205: ; preds = %184 %206 = load double, ptr %38, align 8 %207 = call double @sin(double noundef %206) %208 = load double, ptr %20, align 8 %209 = fmul double %207, %208 %210 = fptosi double %209 to i32 store i32 %210, ptr %39, align 4 %211 = load i32, ptr %26, align 4 %212 = sitofp i32 %211 to double %213 = load ptr, ptr %30, align 8 store double %212, ptr %213, align 8 %214 = load double, ptr %19, align 8 %215 = load i32, ptr %39, align 4 %216 = sitofp i32 %215 to double %217 = fadd double %214, %216 %218 = load ptr, ptr %31, align 8 store double %217, ptr %218, align 8 %219 = load i32, ptr %26, align 4 %220 = sitofp i32 %219 to double %221 = load ptr, ptr %32, align 8 store double %220, ptr %221, align 8 %222 = load double, ptr %19, align 8 %223 = load i32, ptr %39, align 4 %224 = sitofp i32 %223 to double %225 = fsub double %222, %224 %226 = load ptr, ptr %33, align 8 store double %225, ptr %226, align 8 br label %227 227: ; preds = %205, %184 store i32 0, ptr %17, align 4 br label %555 228: ; preds = %16 %229 = load double, ptr %18, align 8 %230 = load double, ptr %20, align 8 %231 = fadd double %229, %230 %232 = load double, ptr %21, align 8 %233 = load i32, ptr %24, align 4 %234 = sitofp i32 %233 to double %235 = fsub double %232, %234 %236 = fcmp ogt double %231, %235 br i1 %236, label %237, label %417 237: ; preds = %228 %238 = load double, ptr %19, align 8 %239 = load double, ptr %20, align 8 %240 = fsub double %238, %239 %241 = load i32, ptr %23, align 4 %242 = sitofp i32 %241 to double %243 = fcmp olt double %240, %242 br i1 %243, label %244, label %303 244: ; preds = %237 %245 = load i32, ptr @M_PI_2, align 4 %246 = sitofp i32 %245 to double store double %246, ptr %40, align 8 %247 = load i32, ptr @M_PI_2, align 4 %248 = mul nsw i32 3, %247 %249 = sitofp i32 %248 to double store double %249, ptr %41, align 8 %250 = load double, ptr %40, align 8 %251 = load double, ptr %19, align 8 %252 = load i32, ptr %23, align 4 %253 = sitofp i32 %252 to double %254 = fsub double %251, %253 %255 = load double, ptr %20, align 8 %256 = fdiv double %254, %255 %257 = call double @acos(double noundef %256) #4 %258 = fadd double %250, %257 %259 = load ptr, ptr %27, align 8 store double %258, ptr %259, align 8 %260 = load double, ptr %41, align 8 %261 = load double, ptr %21, align 8 %262 = load i32, ptr %24, align 4 %263 = sitofp i32 %262 to double %264 = fsub double %261, %263 %265 = load double, ptr %18, align 8 %266 = fsub double %264, %265 %267 = load double, ptr %20, align 8 %268 = fdiv double %266, %267 %269 = call double @asin(double noundef %268) #4 %270 = fadd double %260, %269 %271 = load ptr, ptr %28, align 8 store double %270, ptr %271, align 8 %272 = load i32, ptr %29, align 4 %273 = icmp ne i32 %272, 0 br i1 %273, label %274, label %302 274: ; preds = %244 %275 = load double, ptr %18, align 8 %276 = load ptr, ptr %27, align 8 %277 = load double, ptr %276, align 8 %278 = load double, ptr %40, align 8 %279 = fsub double %277, %278 %280 = call double @sin(double noundef %279) %281 = load double, ptr %20, align 8 %282 = fneg double %280 %283 = call double @llvm.fmuladd.f64(double %282, double %281, double %275) %284 = load ptr, ptr %30, align 8 store double %283, ptr %284, align 8 %285 = load i32, ptr %23, align 4 %286 = sitofp i32 %285 to double %287 = load ptr, ptr %31, align 8 store double %286, ptr %287, align 8 %288 = load double, ptr %21, align 8 %289 = load i32, ptr %26, align 4 %290 = sitofp i32 %289 to double %291 = fsub double %288, %290 %292 = load ptr, ptr %32, align 8 store double %291, ptr %292, align 8 %293 = load double, ptr %19, align 8 %294 = load ptr, ptr %28, align 8 %295 = load double, ptr %294, align 8 %296 = load double, ptr %41, align 8 %297 = fsub double %295, %296 %298 = call double @cos(double noundef %297) %299 = load double, ptr %20, align 8 %300 = call double @llvm.fmuladd.f64(double %298, double %299, double %293) %301 = load ptr, ptr %33, align 8 store double %300, ptr %301, align 8 br label %302 302: ; preds = %274, %244 store i32 0, ptr %17, align 4 br label %555 303: ; preds = %237 %304 = load double, ptr %19, align 8 %305 = load double, ptr %20, align 8 %306 = fadd double %304, %305 %307 = load double, ptr %22, align 8 %308 = load i32, ptr %25, align 4 %309 = sitofp i32 %308 to double %310 = fsub double %307, %309 %311 = fcmp ogt double %306, %310 br i1 %311, label %312, label %369 312: ; preds = %303 %313 = load i32, ptr @M_PI, align 4 %314 = sitofp i32 %313 to double store double %314, ptr %42, align 8 %315 = load double, ptr %21, align 8 %316 = load i32, ptr %24, align 4 %317 = sitofp i32 %316 to double %318 = fsub double %315, %317 %319 = load double, ptr %18, align 8 %320 = fsub double %318, %319 %321 = load double, ptr %20, align 8 %322 = fdiv double %320, %321 %323 = call double @acos(double noundef %322) #4 %324 = load ptr, ptr %27, align 8 store double %323, ptr %324, align 8 %325 = load double, ptr %42, align 8 %326 = load double, ptr %22, align 8 %327 = load i32, ptr %25, align 4 %328 = sitofp i32 %327 to double %329 = fsub double %326, %328 %330 = load double, ptr %19, align 8 %331 = fsub double %329, %330 %332 = load double, ptr %20, align 8 %333 = fdiv double %331, %332 %334 = call double @asin(double noundef %333) #4 %335 = fadd double %325, %334 %336 = load ptr, ptr %28, align 8 store double %335, ptr %336, align 8 %337 = load i32, ptr %29, align 4 %338 = icmp ne i32 %337, 0 br i1 %338, label %339, label %368 339: ; preds = %312 %340 = load double, ptr %21, align 8 %341 = load i32, ptr %26, align 4 %342 = sitofp i32 %341 to double %343 = fsub double %340, %342 %344 = load ptr, ptr %30, align 8 store double %343, ptr %344, align 8 %345 = load double, ptr %19, align 8 %346 = load ptr, ptr %27, align 8 %347 = load double, ptr %346, align 8 %348 = call double @sin(double noundef %347) %349 = load double, ptr %20, align 8 %350 = fneg double %348 %351 = call double @llvm.fmuladd.f64(double %350, double %349, double %345) %352 = load ptr, ptr %31, align 8 store double %351, ptr %352, align 8 %353 = load double, ptr %18, align 8 %354 = load ptr, ptr %28, align 8 %355 = load double, ptr %354, align 8 %356 = load double, ptr %42, align 8 %357 = fsub double %355, %356 %358 = call double @cos(double noundef %357) %359 = load double, ptr %20, align 8 %360 = fneg double %358 %361 = call double @llvm.fmuladd.f64(double %360, double %359, double %353) %362 = load ptr, ptr %32, align 8 store double %361, ptr %362, align 8 %363 = load double, ptr %22, align 8 %364 = load i32, ptr %25, align 4 %365 = sitofp i32 %364 to double %366 = fsub double %363, %365 %367 = load ptr, ptr %33, align 8 store double %366, ptr %367, align 8 br label %368 368: ; preds = %339, %312 store i32 0, ptr %17, align 4 br label %555 369: ; preds = %303 %370 = load double, ptr %21, align 8 %371 = load i32, ptr %24, align 4 %372 = sitofp i32 %371 to double %373 = fsub double %370, %372 %374 = load double, ptr %18, align 8 %375 = fsub double %373, %374 %376 = load double, ptr %20, align 8 %377 = fdiv double %375, %376 %378 = call double @acos(double noundef %377) #4 %379 = load ptr, ptr %27, align 8 store double %378, ptr %379, align 8 %380 = load i32, ptr @M_PI, align 4 %381 = mul nsw i32 2, %380 %382 = sitofp i32 %381 to double %383 = load ptr, ptr %27, align 8 %384 = load double, ptr %383, align 8 %385 = fsub double %382, %384 %386 = load ptr, ptr %28, align 8 store double %385, ptr %386, align 8 %387 = load i32, ptr %29, align 4 %388 = icmp ne i32 %387, 0 br i1 %388, label %389, label %416 389: ; preds = %369 %390 = load ptr, ptr %27, align 8 %391 = load double, ptr %390, align 8 %392 = call double @sin(double noundef %391) %393 = load double, ptr %20, align 8 %394 = fmul double %392, %393 %395 = fptosi double %394 to i32 store i32 %395, ptr %43, align 4 %396 = load double, ptr %21, align 8 %397 = load i32, ptr %24, align 4 %398 = sitofp i32 %397 to double %399 = fsub double %396, %398 %400 = load ptr, ptr %30, align 8 store double %399, ptr %400, align 8 %401 = load double, ptr %19, align 8 %402 = load i32, ptr %43, align 4 %403 = sitofp i32 %402 to double %404 = fsub double %401, %403 %405 = load ptr, ptr %31, align 8 store double %404, ptr %405, align 8 %406 = load double, ptr %21, align 8 %407 = load i32, ptr %24, align 4 %408 = sitofp i32 %407 to double %409 = fsub double %406, %408 %410 = load ptr, ptr %32, align 8 store double %409, ptr %410, align 8 %411 = load double, ptr %19, align 8 %412 = load i32, ptr %43, align 4 %413 = sitofp i32 %412 to double %414 = fadd double %411, %413 %415 = load ptr, ptr %33, align 8 store double %414, ptr %415, align 8 br label %416 416: ; preds = %389, %369 store i32 0, ptr %17, align 4 br label %555 417: ; preds = %228 %418 = load double, ptr %19, align 8 %419 = load double, ptr %20, align 8 %420 = fsub double %418, %419 %421 = load i32, ptr %23, align 4 %422 = sitofp i32 %421 to double %423 = fcmp olt double %420, %422 br i1 %423, label %424, label %468 424: ; preds = %417 %425 = load double, ptr %19, align 8 %426 = load i32, ptr %23, align 4 %427 = sitofp i32 %426 to double %428 = fsub double %425, %427 %429 = load double, ptr %20, align 8 %430 = fdiv double %428, %429 %431 = call double @acos(double noundef %430) #4 store double %431, ptr %44, align 8 %432 = load i32, ptr @M_PI_2, align 4 %433 = sitofp i32 %432 to double %434 = load double, ptr %44, align 8 %435 = fadd double %433, %434 %436 = load ptr, ptr %27, align 8 store double %435, ptr %436, align 8 %437 = load i32, ptr @M_PI_2, align 4 %438 = mul nsw i32 5, %437 %439 = sitofp i32 %438 to double %440 = load double, ptr %44, align 8 %441 = fsub double %439, %440 %442 = load ptr, ptr %28, align 8 store double %441, ptr %442, align 8 %443 = load i32, ptr %29, align 4 %444 = icmp ne i32 %443, 0 br i1 %444, label %445, label %467 445: ; preds = %424 %446 = load double, ptr %44, align 8 %447 = call double @sin(double noundef %446) %448 = load double, ptr %20, align 8 %449 = fmul double %447, %448 %450 = fptosi double %449 to i32 store i32 %450, ptr %45, align 4 %451 = load double, ptr %18, align 8 %452 = load i32, ptr %45, align 4 %453 = sitofp i32 %452 to double %454 = fsub double %451, %453 %455 = load ptr, ptr %30, align 8 store double %454, ptr %455, align 8 %456 = load i32, ptr %23, align 4 %457 = sitofp i32 %456 to double %458 = load ptr, ptr %31, align 8 store double %457, ptr %458, align 8 %459 = load double, ptr %18, align 8 %460 = load i32, ptr %45, align 4 %461 = sitofp i32 %460 to double %462 = fadd double %459, %461 %463 = load ptr, ptr %32, align 8 store double %462, ptr %463, align 8 %464 = load i32, ptr %23, align 4 %465 = sitofp i32 %464 to double %466 = load ptr, ptr %33, align 8 store double %465, ptr %466, align 8 br label %467 467: ; preds = %445, %424 store i32 0, ptr %17, align 4 br label %555 468: ; preds = %417 %469 = load double, ptr %19, align 8 %470 = load double, ptr %20, align 8 %471 = fadd double %469, %470 %472 = load double, ptr %22, align 8 %473 = load i32, ptr %25, align 4 %474 = sitofp i32 %473 to double %475 = fsub double %472, %474 %476 = fcmp ogt double %471, %475 br i1 %476, label %477, label %528 477: ; preds = %468 %478 = load double, ptr %22, align 8 %479 = load i32, ptr %25, align 4 %480 = sitofp i32 %479 to double %481 = fsub double %478, %480 %482 = load double, ptr %19, align 8 %483 = fsub double %481, %482 %484 = load double, ptr %20, align 8 %485 = fdiv double %483, %484 %486 = call double @acos(double noundef %485) #4 store double %486, ptr %46, align 8 %487 = load i32, ptr @M_PI_2, align 4 %488 = mul nsw i32 3, %487 %489 = sitofp i32 %488 to double %490 = load double, ptr %46, align 8 %491 = fadd double %489, %490 %492 = load ptr, ptr %27, align 8 store double %491, ptr %492, align 8 %493 = load i32, ptr @M_PI_2, align 4 %494 = mul nsw i32 7, %493 %495 = sitofp i32 %494 to double %496 = load double, ptr %46, align 8 %497 = fsub double %495, %496 %498 = load ptr, ptr %28, align 8 store double %497, ptr %498, align 8 %499 = load i32, ptr %29, align 4 %500 = icmp ne i32 %499, 0 br i1 %500, label %501, label %527 501: ; preds = %477 %502 = load double, ptr %46, align 8 %503 = call double @sin(double noundef %502) %504 = load double, ptr %20, align 8 %505 = fmul double %503, %504 %506 = fptosi double %505 to i32 store i32 %506, ptr %47, align 4 %507 = load double, ptr %18, align 8 %508 = load i32, ptr %47, align 4 %509 = sitofp i32 %508 to double %510 = fadd double %507, %509 %511 = load ptr, ptr %30, align 8 store double %510, ptr %511, align 8 %512 = load double, ptr %22, align 8 %513 = load i32, ptr %25, align 4 %514 = sitofp i32 %513 to double %515 = fsub double %512, %514 %516 = load ptr, ptr %31, align 8 store double %515, ptr %516, align 8 %517 = load double, ptr %18, align 8 %518 = load i32, ptr %47, align 4 %519 = sitofp i32 %518 to double %520 = fsub double %517, %519 %521 = load ptr, ptr %32, align 8 store double %520, ptr %521, align 8 %522 = load double, ptr %22, align 8 %523 = load i32, ptr %25, align 4 %524 = sitofp i32 %523 to double %525 = fsub double %522, %524 %526 = load ptr, ptr %33, align 8 store double %525, ptr %526, align 8 br label %527 527: ; preds = %501, %477 store i32 0, ptr %17, align 4 br label %555 528: ; preds = %468 br label %529 529: ; preds = %528 br label %530 530: ; preds = %529 br label %531 531: ; preds = %530 %532 = load ptr, ptr %27, align 8 store double 0.000000e+00, ptr %532, align 8 %533 = load i32, ptr @M_PI, align 4 %534 = mul nsw i32 2, %533 %535 = sitofp i32 %534 to double %536 = load ptr, ptr %28, align 8 store double %535, ptr %536, align 8 %537 = load i32, ptr %29, align 4 %538 = icmp ne i32 %537, 0 br i1 %538, label %539, label %554 539: ; preds = %531 %540 = load double, ptr %22, align 8 %541 = load i32, ptr %24, align 4 %542 = sitofp i32 %541 to double %543 = fsub double %540, %542 %544 = load ptr, ptr %30, align 8 store double %543, ptr %544, align 8 %545 = load double, ptr %19, align 8 %546 = load ptr, ptr %31, align 8 store double %545, ptr %546, align 8 %547 = load double, ptr %22, align 8 %548 = load i32, ptr %24, align 4 %549 = sitofp i32 %548 to double %550 = fsub double %547, %549 %551 = load ptr, ptr %32, align 8 store double %550, ptr %551, align 8 %552 = load double, ptr %19, align 8 %553 = load ptr, ptr %33, align 8 store double %552, ptr %553, align 8 br label %554 554: ; preds = %539, %531 store i32 0, ptr %17, align 4 br label %555 555: ; preds = %554, %527, %467, %416, %368, %302, %227, %183, %114 %556 = load i32, ptr %17, align 4 ret i32 %556 } ; Function Attrs: nounwind declare double @acos(double noundef) #1 ; Function Attrs: nounwind declare double @asin(double noundef) #1 declare double @sin(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare double @cos(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 = { 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 = { "frame-pointer"="all" "no-trapping-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/tmpuhiolr2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global i32 0, align 4 @M_PI_2 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @lash_getContainedAngle(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15) #0 { %17 = alloca i32, align 4 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca i32, align 4 %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca double, align 8 %35 = alloca double, align 8 %36 = alloca double, align 8 %37 = alloca double, align 8 %38 = alloca double, align 8 %39 = alloca i32, align 4 %40 = alloca double, align 8 %41 = alloca double, align 8 %42 = alloca double, align 8 %43 = alloca i32, align 4 %44 = alloca double, align 8 %45 = alloca i32, align 4 %46 = alloca double, align 8 %47 = alloca i32, align 4 store double %0, ptr %18, align 8 store double %1, ptr %19, align 8 store double %2, ptr %20, align 8 store double %3, ptr %21, align 8 store double %4, ptr %22, align 8 store i32 %5, ptr %23, align 4 store i32 %6, ptr %24, align 4 store i32 %7, ptr %25, align 4 store i32 %8, ptr %26, align 4 store ptr %9, ptr %27, align 8 store ptr %10, ptr %28, align 8 store i32 %11, ptr %29, align 4 store ptr %12, ptr %30, align 8 store ptr %13, ptr %31, align 8 store ptr %14, ptr %32, align 8 store ptr %15, ptr %33, align 8 %48 = load double, ptr %18, align 8 %49 = load double, ptr %20, align 8 %50 = fsub double %48, %49 %51 = load i32, ptr %26, align 4 %52 = sitofp i32 %51 to double %53 = fcmp olt double %50, %52 br i1 %53, label %54, label %228 54: ; preds = %16 %55 = load double, ptr %19, align 8 %56 = load double, ptr %20, align 8 %57 = fsub double %55, %56 %58 = load i32, ptr %23, align 4 %59 = sitofp i32 %58 to double %60 = fcmp olt double %57, %59 br i1 %60, label %61, label %115 61: ; preds = %54 %62 = load i32, ptr @M_PI, align 4 %63 = sitofp i32 %62 to double store double %63, ptr %34, align 8 %64 = load i32, ptr @M_PI, align 4 %65 = mul nsw i32 2, %64 %66 = sitofp i32 %65 to double store double %66, ptr %35, align 8 %67 = load double, ptr %34, align 8 %68 = load double, ptr %18, align 8 %69 = load i32, ptr %26, align 4 %70 = sitofp i32 %69 to double %71 = fsub double %68, %70 %72 = load double, ptr %20, align 8 %73 = fdiv double %71, %72 %74 = call double @acos(double noundef %73) #4 %75 = fadd double %67, %74 %76 = load ptr, ptr %27, align 8 store double %75, ptr %76, align 8 %77 = load double, ptr %35, align 8 %78 = load double, ptr %19, align 8 %79 = load i32, ptr %23, align 4 %80 = sitofp i32 %79 to double %81 = fsub double %78, %80 %82 = load double, ptr %20, align 8 %83 = fdiv double %81, %82 %84 = call double @asin(double noundef %83) #4 %85 = fadd double %77, %84 %86 = load ptr, ptr %28, align 8 store double %85, ptr %86, align 8 %87 = load i32, ptr %29, align 4 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %114 89: ; preds = %61 %90 = load i32, ptr %26, align 4 %91 = sitofp i32 %90 to double %92 = load ptr, ptr %30, align 8 store double %91, ptr %92, align 8 %93 = load double, ptr %19, align 8 %94 = load ptr, ptr %27, align 8 %95 = load double, ptr %94, align 8 %96 = load double, ptr %34, align 8 %97 = fsub double %95, %96 %98 = call double @sin(double noundef %97) %99 = load double, ptr %20, align 8 %100 = call double @llvm.fmuladd.f64(double %98, double %99, double %93) %101 = load ptr, ptr %31, align 8 store double %100, ptr %101, align 8 %102 = load double, ptr %18, align 8 %103 = load ptr, ptr %28, align 8 %104 = load double, ptr %103, align 8 %105 = load double, ptr %35, align 8 %106 = fsub double %104, %105 %107 = call double @cos(double noundef %106) %108 = load double, ptr %20, align 8 %109 = call double @llvm.fmuladd.f64(double %107, double %108, double %102) %110 = load ptr, ptr %32, align 8 store double %109, ptr %110, align 8 %111 = load i32, ptr %23, align 4 %112 = sitofp i32 %111 to double %113 = load ptr, ptr %33, align 8 store double %112, ptr %113, align 8 br label %114 114: ; preds = %89, %61 store i32 0, ptr %17, align 4 br label %555 115: ; preds = %54 %116 = load double, ptr %19, align 8 %117 = load double, ptr %20, align 8 %118 = fadd double %116, %117 %119 = load double, ptr %22, align 8 %120 = load i32, ptr %25, align 4 %121 = sitofp i32 %120 to double %122 = fsub double %119, %121 %123 = fcmp ogt double %118, %122 br i1 %123, label %124, label %184 124: ; preds = %115 %125 = load i32, ptr @M_PI_2, align 4 %126 = mul nsw i32 3, %125 %127 = sitofp i32 %126 to double store double %127, ptr %36, align 8 %128 = load i32, ptr @M_PI_2, align 4 %129 = mul nsw i32 5, %128 %130 = sitofp i32 %129 to double store double %130, ptr %37, align 8 %131 = load double, ptr %36, align 8 %132 = load double, ptr %18, align 8 %133 = load i32, ptr %26, align 4 %134 = sitofp i32 %133 to double %135 = fsub double %132, %134 %136 = load double, ptr %20, align 8 %137 = fdiv double %135, %136 %138 = call double @acos(double noundef %137) #4 %139 = fadd double %131, %138 %140 = load ptr, ptr %27, align 8 store double %139, ptr %140, align 8 %141 = load double, ptr %37, align 8 %142 = load double, ptr %22, align 8 %143 = load i32, ptr %25, align 4 %144 = sitofp i32 %143 to double %145 = fsub double %142, %144 %146 = load double, ptr %19, align 8 %147 = fsub double %145, %146 %148 = load double, ptr %20, align 8 %149 = fdiv double %147, %148 %150 = call double @asin(double noundef %149) #4 %151 = fadd double %141, %150 %152 = load ptr, ptr %28, align 8 store double %151, ptr %152, align 8 %153 = load i32, ptr %29, align 4 %154 = icmp ne i32 %153, 0 br i1 %154, label %155, label %183 155: ; preds = %124 %156 = load double, ptr %18, align 8 %157 = load ptr, ptr %27, align 8 %158 = load double, ptr %157, align 8 %159 = load double, ptr %36, align 8 %160 = fsub double %158, %159 %161 = call double @sin(double noundef %160) %162 = load double, ptr %20, align 8 %163 = call double @llvm.fmuladd.f64(double %161, double %162, double %156) %164 = load ptr, ptr %30, align 8 store double %163, ptr %164, align 8 %165 = load double, ptr %22, align 8 %166 = load i32, ptr %25, align 4 %167 = sitofp i32 %166 to double %168 = fsub double %165, %167 %169 = load ptr, ptr %31, align 8 store double %168, ptr %169, align 8 %170 = load i32, ptr %26, align 4 %171 = sitofp i32 %170 to double %172 = load ptr, ptr %32, align 8 store double %171, ptr %172, align 8 %173 = load double, ptr %19, align 8 %174 = load ptr, ptr %28, align 8 %175 = load double, ptr %174, align 8 %176 = load double, ptr %37, align 8 %177 = fsub double %175, %176 %178 = call double @cos(double noundef %177) %179 = load double, ptr %20, align 8 %180 = fneg double %178 %181 = call double @llvm.fmuladd.f64(double %180, double %179, double %173) %182 = load ptr, ptr %33, align 8 store double %181, ptr %182, align 8 br label %183 183: ; preds = %155, %124 store i32 0, ptr %17, align 4 br label %555 184: ; preds = %115 %185 = load double, ptr %18, align 8 %186 = load i32, ptr %26, align 4 %187 = sitofp i32 %186 to double %188 = fsub double %185, %187 %189 = load double, ptr %20, align 8 %190 = fdiv double %188, %189 %191 = call double @acos(double noundef %190) #4 store double %191, ptr %38, align 8 %192 = load i32, ptr @M_PI, align 4 %193 = sitofp i32 %192 to double %194 = load double, ptr %38, align 8 %195 = fadd double %193, %194 %196 = load ptr, ptr %27, align 8 store double %195, ptr %196, align 8 %197 = load i32, ptr @M_PI, align 4 %198 = mul nsw i32 3, %197 %199 = sitofp i32 %198 to double %200 = load double, ptr %38, align 8 %201 = fsub double %199, %200 %202 = load ptr, ptr %28, align 8 store double %201, ptr %202, align 8 %203 = load i32, ptr %29, align 4 %204 = icmp ne i32 %203, 0 br i1 %204, label %205, label %227 205: ; preds = %184 %206 = load double, ptr %38, align 8 %207 = call double @sin(double noundef %206) %208 = load double, ptr %20, align 8 %209 = fmul double %207, %208 %210 = fptosi double %209 to i32 store i32 %210, ptr %39, align 4 %211 = load i32, ptr %26, align 4 %212 = sitofp i32 %211 to double %213 = load ptr, ptr %30, align 8 store double %212, ptr %213, align 8 %214 = load double, ptr %19, align 8 %215 = load i32, ptr %39, align 4 %216 = sitofp i32 %215 to double %217 = fadd double %214, %216 %218 = load ptr, ptr %31, align 8 store double %217, ptr %218, align 8 %219 = load i32, ptr %26, align 4 %220 = sitofp i32 %219 to double %221 = load ptr, ptr %32, align 8 store double %220, ptr %221, align 8 %222 = load double, ptr %19, align 8 %223 = load i32, ptr %39, align 4 %224 = sitofp i32 %223 to double %225 = fsub double %222, %224 %226 = load ptr, ptr %33, align 8 store double %225, ptr %226, align 8 br label %227 227: ; preds = %205, %184 store i32 0, ptr %17, align 4 br label %555 228: ; preds = %16 %229 = load double, ptr %18, align 8 %230 = load double, ptr %20, align 8 %231 = fadd double %229, %230 %232 = load double, ptr %21, align 8 %233 = load i32, ptr %24, align 4 %234 = sitofp i32 %233 to double %235 = fsub double %232, %234 %236 = fcmp ogt double %231, %235 br i1 %236, label %237, label %417 237: ; preds = %228 %238 = load double, ptr %19, align 8 %239 = load double, ptr %20, align 8 %240 = fsub double %238, %239 %241 = load i32, ptr %23, align 4 %242 = sitofp i32 %241 to double %243 = fcmp olt double %240, %242 br i1 %243, label %244, label %303 244: ; preds = %237 %245 = load i32, ptr @M_PI_2, align 4 %246 = sitofp i32 %245 to double store double %246, ptr %40, align 8 %247 = load i32, ptr @M_PI_2, align 4 %248 = mul nsw i32 3, %247 %249 = sitofp i32 %248 to double store double %249, ptr %41, align 8 %250 = load double, ptr %40, align 8 %251 = load double, ptr %19, align 8 %252 = load i32, ptr %23, align 4 %253 = sitofp i32 %252 to double %254 = fsub double %251, %253 %255 = load double, ptr %20, align 8 %256 = fdiv double %254, %255 %257 = call double @acos(double noundef %256) #4 %258 = fadd double %250, %257 %259 = load ptr, ptr %27, align 8 store double %258, ptr %259, align 8 %260 = load double, ptr %41, align 8 %261 = load double, ptr %21, align 8 %262 = load i32, ptr %24, align 4 %263 = sitofp i32 %262 to double %264 = fsub double %261, %263 %265 = load double, ptr %18, align 8 %266 = fsub double %264, %265 %267 = load double, ptr %20, align 8 %268 = fdiv double %266, %267 %269 = call double @asin(double noundef %268) #4 %270 = fadd double %260, %269 %271 = load ptr, ptr %28, align 8 store double %270, ptr %271, align 8 %272 = load i32, ptr %29, align 4 %273 = icmp ne i32 %272, 0 br i1 %273, label %274, label %302 274: ; preds = %244 %275 = load double, ptr %18, align 8 %276 = load ptr, ptr %27, align 8 %277 = load double, ptr %276, align 8 %278 = load double, ptr %40, align 8 %279 = fsub double %277, %278 %280 = call double @sin(double noundef %279) %281 = load double, ptr %20, align 8 %282 = fneg double %280 %283 = call double @llvm.fmuladd.f64(double %282, double %281, double %275) %284 = load ptr, ptr %30, align 8 store double %283, ptr %284, align 8 %285 = load i32, ptr %23, align 4 %286 = sitofp i32 %285 to double %287 = load ptr, ptr %31, align 8 store double %286, ptr %287, align 8 %288 = load double, ptr %21, align 8 %289 = load i32, ptr %26, align 4 %290 = sitofp i32 %289 to double %291 = fsub double %288, %290 %292 = load ptr, ptr %32, align 8 store double %291, ptr %292, align 8 %293 = load double, ptr %19, align 8 %294 = load ptr, ptr %28, align 8 %295 = load double, ptr %294, align 8 %296 = load double, ptr %41, align 8 %297 = fsub double %295, %296 %298 = call double @cos(double noundef %297) %299 = load double, ptr %20, align 8 %300 = call double @llvm.fmuladd.f64(double %298, double %299, double %293) %301 = load ptr, ptr %33, align 8 store double %300, ptr %301, align 8 br label %302 302: ; preds = %274, %244 store i32 0, ptr %17, align 4 br label %555 303: ; preds = %237 %304 = load double, ptr %19, align 8 %305 = load double, ptr %20, align 8 %306 = fadd double %304, %305 %307 = load double, ptr %22, align 8 %308 = load i32, ptr %25, align 4 %309 = sitofp i32 %308 to double %310 = fsub double %307, %309 %311 = fcmp ogt double %306, %310 br i1 %311, label %312, label %369 312: ; preds = %303 %313 = load i32, ptr @M_PI, align 4 %314 = sitofp i32 %313 to double store double %314, ptr %42, align 8 %315 = load double, ptr %21, align 8 %316 = load i32, ptr %24, align 4 %317 = sitofp i32 %316 to double %318 = fsub double %315, %317 %319 = load double, ptr %18, align 8 %320 = fsub double %318, %319 %321 = load double, ptr %20, align 8 %322 = fdiv double %320, %321 %323 = call double @acos(double noundef %322) #4 %324 = load ptr, ptr %27, align 8 store double %323, ptr %324, align 8 %325 = load double, ptr %42, align 8 %326 = load double, ptr %22, align 8 %327 = load i32, ptr %25, align 4 %328 = sitofp i32 %327 to double %329 = fsub double %326, %328 %330 = load double, ptr %19, align 8 %331 = fsub double %329, %330 %332 = load double, ptr %20, align 8 %333 = fdiv double %331, %332 %334 = call double @asin(double noundef %333) #4 %335 = fadd double %325, %334 %336 = load ptr, ptr %28, align 8 store double %335, ptr %336, align 8 %337 = load i32, ptr %29, align 4 %338 = icmp ne i32 %337, 0 br i1 %338, label %339, label %368 339: ; preds = %312 %340 = load double, ptr %21, align 8 %341 = load i32, ptr %26, align 4 %342 = sitofp i32 %341 to double %343 = fsub double %340, %342 %344 = load ptr, ptr %30, align 8 store double %343, ptr %344, align 8 %345 = load double, ptr %19, align 8 %346 = load ptr, ptr %27, align 8 %347 = load double, ptr %346, align 8 %348 = call double @sin(double noundef %347) %349 = load double, ptr %20, align 8 %350 = fneg double %348 %351 = call double @llvm.fmuladd.f64(double %350, double %349, double %345) %352 = load ptr, ptr %31, align 8 store double %351, ptr %352, align 8 %353 = load double, ptr %18, align 8 %354 = load ptr, ptr %28, align 8 %355 = load double, ptr %354, align 8 %356 = load double, ptr %42, align 8 %357 = fsub double %355, %356 %358 = call double @cos(double noundef %357) %359 = load double, ptr %20, align 8 %360 = fneg double %358 %361 = call double @llvm.fmuladd.f64(double %360, double %359, double %353) %362 = load ptr, ptr %32, align 8 store double %361, ptr %362, align 8 %363 = load double, ptr %22, align 8 %364 = load i32, ptr %25, align 4 %365 = sitofp i32 %364 to double %366 = fsub double %363, %365 %367 = load ptr, ptr %33, align 8 store double %366, ptr %367, align 8 br label %368 368: ; preds = %339, %312 store i32 0, ptr %17, align 4 br label %555 369: ; preds = %303 %370 = load double, ptr %21, align 8 %371 = load i32, ptr %24, align 4 %372 = sitofp i32 %371 to double %373 = fsub double %370, %372 %374 = load double, ptr %18, align 8 %375 = fsub double %373, %374 %376 = load double, ptr %20, align 8 %377 = fdiv double %375, %376 %378 = call double @acos(double noundef %377) #4 %379 = load ptr, ptr %27, align 8 store double %378, ptr %379, align 8 %380 = load i32, ptr @M_PI, align 4 %381 = mul nsw i32 2, %380 %382 = sitofp i32 %381 to double %383 = load ptr, ptr %27, align 8 %384 = load double, ptr %383, align 8 %385 = fsub double %382, %384 %386 = load ptr, ptr %28, align 8 store double %385, ptr %386, align 8 %387 = load i32, ptr %29, align 4 %388 = icmp ne i32 %387, 0 br i1 %388, label %389, label %416 389: ; preds = %369 %390 = load ptr, ptr %27, align 8 %391 = load double, ptr %390, align 8 %392 = call double @sin(double noundef %391) %393 = load double, ptr %20, align 8 %394 = fmul double %392, %393 %395 = fptosi double %394 to i32 store i32 %395, ptr %43, align 4 %396 = load double, ptr %21, align 8 %397 = load i32, ptr %24, align 4 %398 = sitofp i32 %397 to double %399 = fsub double %396, %398 %400 = load ptr, ptr %30, align 8 store double %399, ptr %400, align 8 %401 = load double, ptr %19, align 8 %402 = load i32, ptr %43, align 4 %403 = sitofp i32 %402 to double %404 = fsub double %401, %403 %405 = load ptr, ptr %31, align 8 store double %404, ptr %405, align 8 %406 = load double, ptr %21, align 8 %407 = load i32, ptr %24, align 4 %408 = sitofp i32 %407 to double %409 = fsub double %406, %408 %410 = load ptr, ptr %32, align 8 store double %409, ptr %410, align 8 %411 = load double, ptr %19, align 8 %412 = load i32, ptr %43, align 4 %413 = sitofp i32 %412 to double %414 = fadd double %411, %413 %415 = load ptr, ptr %33, align 8 store double %414, ptr %415, align 8 br label %416 416: ; preds = %389, %369 store i32 0, ptr %17, align 4 br label %555 417: ; preds = %228 %418 = load double, ptr %19, align 8 %419 = load double, ptr %20, align 8 %420 = fsub double %418, %419 %421 = load i32, ptr %23, align 4 %422 = sitofp i32 %421 to double %423 = fcmp olt double %420, %422 br i1 %423, label %424, label %468 424: ; preds = %417 %425 = load double, ptr %19, align 8 %426 = load i32, ptr %23, align 4 %427 = sitofp i32 %426 to double %428 = fsub double %425, %427 %429 = load double, ptr %20, align 8 %430 = fdiv double %428, %429 %431 = call double @acos(double noundef %430) #4 store double %431, ptr %44, align 8 %432 = load i32, ptr @M_PI_2, align 4 %433 = sitofp i32 %432 to double %434 = load double, ptr %44, align 8 %435 = fadd double %433, %434 %436 = load ptr, ptr %27, align 8 store double %435, ptr %436, align 8 %437 = load i32, ptr @M_PI_2, align 4 %438 = mul nsw i32 5, %437 %439 = sitofp i32 %438 to double %440 = load double, ptr %44, align 8 %441 = fsub double %439, %440 %442 = load ptr, ptr %28, align 8 store double %441, ptr %442, align 8 %443 = load i32, ptr %29, align 4 %444 = icmp ne i32 %443, 0 br i1 %444, label %445, label %467 445: ; preds = %424 %446 = load double, ptr %44, align 8 %447 = call double @sin(double noundef %446) %448 = load double, ptr %20, align 8 %449 = fmul double %447, %448 %450 = fptosi double %449 to i32 store i32 %450, ptr %45, align 4 %451 = load double, ptr %18, align 8 %452 = load i32, ptr %45, align 4 %453 = sitofp i32 %452 to double %454 = fsub double %451, %453 %455 = load ptr, ptr %30, align 8 store double %454, ptr %455, align 8 %456 = load i32, ptr %23, align 4 %457 = sitofp i32 %456 to double %458 = load ptr, ptr %31, align 8 store double %457, ptr %458, align 8 %459 = load double, ptr %18, align 8 %460 = load i32, ptr %45, align 4 %461 = sitofp i32 %460 to double %462 = fadd double %459, %461 %463 = load ptr, ptr %32, align 8 store double %462, ptr %463, align 8 %464 = load i32, ptr %23, align 4 %465 = sitofp i32 %464 to double %466 = load ptr, ptr %33, align 8 store double %465, ptr %466, align 8 br label %467 467: ; preds = %445, %424 store i32 0, ptr %17, align 4 br label %555 468: ; preds = %417 %469 = load double, ptr %19, align 8 %470 = load double, ptr %20, align 8 %471 = fadd double %469, %470 %472 = load double, ptr %22, align 8 %473 = load i32, ptr %25, align 4 %474 = sitofp i32 %473 to double %475 = fsub double %472, %474 %476 = fcmp ogt double %471, %475 br i1 %476, label %477, label %528 477: ; preds = %468 %478 = load double, ptr %22, align 8 %479 = load i32, ptr %25, align 4 %480 = sitofp i32 %479 to double %481 = fsub double %478, %480 %482 = load double, ptr %19, align 8 %483 = fsub double %481, %482 %484 = load double, ptr %20, align 8 %485 = fdiv double %483, %484 %486 = call double @acos(double noundef %485) #4 store double %486, ptr %46, align 8 %487 = load i32, ptr @M_PI_2, align 4 %488 = mul nsw i32 3, %487 %489 = sitofp i32 %488 to double %490 = load double, ptr %46, align 8 %491 = fadd double %489, %490 %492 = load ptr, ptr %27, align 8 store double %491, ptr %492, align 8 %493 = load i32, ptr @M_PI_2, align 4 %494 = mul nsw i32 7, %493 %495 = sitofp i32 %494 to double %496 = load double, ptr %46, align 8 %497 = fsub double %495, %496 %498 = load ptr, ptr %28, align 8 store double %497, ptr %498, align 8 %499 = load i32, ptr %29, align 4 %500 = icmp ne i32 %499, 0 br i1 %500, label %501, label %527 501: ; preds = %477 %502 = load double, ptr %46, align 8 %503 = call double @sin(double noundef %502) %504 = load double, ptr %20, align 8 %505 = fmul double %503, %504 %506 = fptosi double %505 to i32 store i32 %506, ptr %47, align 4 %507 = load double, ptr %18, align 8 %508 = load i32, ptr %47, align 4 %509 = sitofp i32 %508 to double %510 = fadd double %507, %509 %511 = load ptr, ptr %30, align 8 store double %510, ptr %511, align 8 %512 = load double, ptr %22, align 8 %513 = load i32, ptr %25, align 4 %514 = sitofp i32 %513 to double %515 = fsub double %512, %514 %516 = load ptr, ptr %31, align 8 store double %515, ptr %516, align 8 %517 = load double, ptr %18, align 8 %518 = load i32, ptr %47, align 4 %519 = sitofp i32 %518 to double %520 = fsub double %517, %519 %521 = load ptr, ptr %32, align 8 store double %520, ptr %521, align 8 %522 = load double, ptr %22, align 8 %523 = load i32, ptr %25, align 4 %524 = sitofp i32 %523 to double %525 = fsub double %522, %524 %526 = load ptr, ptr %33, align 8 store double %525, ptr %526, align 8 br label %527 527: ; preds = %501, %477 store i32 0, ptr %17, align 4 br label %555 528: ; preds = %468 br label %529 529: ; preds = %528 br label %530 530: ; preds = %529 br label %531 531: ; preds = %530 %532 = load ptr, ptr %27, align 8 store double 0.000000e+00, ptr %532, align 8 %533 = load i32, ptr @M_PI, align 4 %534 = mul nsw i32 2, %533 %535 = sitofp i32 %534 to double %536 = load ptr, ptr %28, align 8 store double %535, ptr %536, align 8 %537 = load i32, ptr %29, align 4 %538 = icmp ne i32 %537, 0 br i1 %538, label %539, label %554 539: ; preds = %531 %540 = load double, ptr %22, align 8 %541 = load i32, ptr %24, align 4 %542 = sitofp i32 %541 to double %543 = fsub double %540, %542 %544 = load ptr, ptr %30, align 8 store double %543, ptr %544, align 8 %545 = load double, ptr %19, align 8 %546 = load ptr, ptr %31, align 8 store double %545, ptr %546, align 8 %547 = load double, ptr %22, align 8 %548 = load i32, ptr %24, align 4 %549 = sitofp i32 %548 to double %550 = fsub double %547, %549 %551 = load ptr, ptr %32, align 8 store double %550, ptr %551, align 8 %552 = load double, ptr %19, align 8 %553 = load ptr, ptr %33, align 8 store double %552, ptr %553, align 8 br label %554 554: ; preds = %539, %531 store i32 0, ptr %17, align 4 br label %555 555: ; preds = %554, %527, %467, %416, %368, %302, %227, %183, %114 %556 = load i32, ptr %17, align 4 ret i32 %556 } ; Function Attrs: nounwind declare double @acos(double noundef) #1 ; Function Attrs: nounwind declare double @asin(double noundef) #1 declare double @sin(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare double @cos(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 = { 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 = { "frame-pointer"="all" "no-trapping-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/tmpfe43efq5.c' source_filename = "/tmp/tmpfe43efq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isascii.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isascii should be 1 for n\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isascii_0x6e() #0 { %1 = call i32 @isascii(i32 noundef 110) %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 555, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @isascii(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/tmpfe43efq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isascii.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isascii should be 1 for n\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isascii_0x6e() #0 { %1 = call i32 @isascii(i32 noundef 110) %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 555, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @isascii(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/tmpuxp18br0.c' source_filename = "/tmp/tmpuxp18br0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"\0A Hello world!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #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/tmpuxp18br0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"\0A Hello world!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #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/tmpn2o_53tw.c' source_filename = "/tmp/tmpn2o_53tw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @es_par(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = srem i32 %3, 2 %5 = icmp eq i32 %4, 0 %6 = zext i1 %5 to i32 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn2o_53tw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @es_par(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = srem i32 %3, 2 %5 = icmp eq i32 %4, 0 %6 = zext i1 %5 to i32 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe3bdhwop.c' source_filename = "/tmp/tmpe3bdhwop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [290 x i8] c"-t, --threshold=f\0A\09 Threshold giving the floating-point number where to discretize.\0A\09 Defaults to 1.0.\0A-B, --temporary-basis=FILE\0A\09 A file where the basis will be printed during computation.\0A-p, --bonus-covered=p\0A\09 Bias the object function to give `p' times more points for\0A\09 covering 1s.\0A\00", align 1 @.str.1 = private unnamed_addr constant [235 x i8] c"-P, --penalty-overcovered=P\0A\09 Bias the object function to penalize each covered 0 by 'P'.\0A-D, --decomp-matrix=FILE\0A\09 The file where the decomposition matrix will be printed.\0A\09 The decomposition matrix will be printed as a transpose.\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @approx_help() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) 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/tmpe3bdhwop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [290 x i8] c"-t, --threshold=f\0A\09 Threshold giving the floating-point number where to discretize.\0A\09 Defaults to 1.0.\0A-B, --temporary-basis=FILE\0A\09 A file where the basis will be printed during computation.\0A-p, --bonus-covered=p\0A\09 Bias the object function to give `p' times more points for\0A\09 covering 1s.\0A\00", align 1 @.str.1 = private unnamed_addr constant [235 x i8] c"-P, --penalty-overcovered=P\0A\09 Bias the object function to penalize each covered 0 by 'P'.\0A-D, --decomp-matrix=FILE\0A\09 The file where the decomposition matrix will be printed.\0A\09 The decomposition matrix will be printed as a transpose.\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @approx_help() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) 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/tmpd7f7x34f.c' source_filename = "/tmp/tmpd7f7x34f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strlen(ptr noundef %6) store i64 %7, ptr %4, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp ne i64 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %2, align 8 br label %36 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 %14 = load i64, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %13, i64 %14 %16 = getelementptr inbounds i8, ptr %15, i64 -1 store ptr %16, ptr %5, align 8 br label %17 17: ; preds = %28, %12 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %3, align 8 %20 = icmp uge ptr %18, %19 br i1 %20, label %21, label %26 21: ; preds = %17 %22 = load ptr, ptr %5, align 8 %23 = load i8, ptr %22, align 1 %24 = call i64 @isspace(i8 noundef signext %23) %25 = icmp ne i64 %24, 0 br label %26 26: ; preds = %21, %17 %27 = phi i1 [ false, %17 ], [ %25, %21 ] br i1 %27, label %28, label %31 28: ; preds = %26 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 -1 store ptr %30, ptr %5, align 8 br label %17, !llvm.loop !6 31: ; preds = %26 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 1 store i8 0, ptr %33, align 1 %34 = load ptr, ptr %3, align 8 %35 = call ptr @skip_spaces(ptr noundef %34) store ptr %35, ptr %2, align 8 br label %36 36: ; preds = %31, %10 %37 = load ptr, ptr %2, align 8 ret ptr %37 } declare i64 @strlen(ptr noundef) #1 declare i64 @isspace(i8 noundef signext) #1 declare ptr @skip_spaces(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/tmpd7f7x34f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strlen(ptr noundef %6) store i64 %7, ptr %4, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp ne i64 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %2, align 8 br label %36 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 %14 = load i64, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %13, i64 %14 %16 = getelementptr inbounds i8, ptr %15, i64 -1 store ptr %16, ptr %5, align 8 br label %17 17: ; preds = %28, %12 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %3, align 8 %20 = icmp uge ptr %18, %19 br i1 %20, label %21, label %26 21: ; preds = %17 %22 = load ptr, ptr %5, align 8 %23 = load i8, ptr %22, align 1 %24 = call i64 @isspace(i8 noundef signext %23) %25 = icmp ne i64 %24, 0 br label %26 26: ; preds = %21, %17 %27 = phi i1 [ false, %17 ], [ %25, %21 ] br i1 %27, label %28, label %31 28: ; preds = %26 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 -1 store ptr %30, ptr %5, align 8 br label %17, !llvm.loop !6 31: ; preds = %26 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 1 store i8 0, ptr %33, align 1 %34 = load ptr, ptr %3, align 8 %35 = call ptr @skip_spaces(ptr noundef %34) store ptr %35, ptr %2, align 8 br label %36 36: ; preds = %31, %10 %37 = load ptr, ptr %2, align 8 ret ptr %37 } declare i64 @strlen(ptr noundef) #1 declare i64 @isspace(i8 noundef signext) #1 declare ptr @skip_spaces(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/tmp8egju9uh.c' source_filename = "/tmp/tmp8egju9uh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBUART_DP_ISR() #0 { %1 = call i32 (...) @USBUART_Dp_ClearInterrupt() ret void } declare i32 @USBUART_Dp_ClearInterrupt(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8egju9uh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBUART_DP_ISR() #0 { %1 = call i32 (...) @USBUART_Dp_ClearInterrupt() ret void } declare i32 @USBUART_Dp_ClearInterrupt(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy41s07es.c' source_filename = "/tmp/tmpy41s07es.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @file_exists(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i64 @access(ptr noundef %3, i32 noundef 0) %5 = icmp eq i64 %4, 0 %6 = zext i1 %5 to i32 ret i32 %6 } declare i64 @access(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/tmpy41s07es.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @file_exists(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i64 @access(ptr noundef %3, i32 noundef 0) %5 = icmp eq i64 %4, 0 %6 = zext i1 %5 to i32 ret i32 %6 } declare i64 @access(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/tmp8k8a0s90.c' source_filename = "/tmp/tmp8k8a0s90.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @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/tmp8k8a0s90.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @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/tmpn7l9avsf.c' source_filename = "/tmp/tmpn7l9avsf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sms_invSpectrum(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store i32 %0, ptr %8, align 4 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store i32 %3, ptr %11, align 4 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %17 = load i32, ptr %11, align 4 %18 = shl i32 %17, 1 store i32 %18, ptr %16, align 4 %19 = load i32, ptr %11, align 4 %20 = load ptr, ptr %14, align 8 %21 = load ptr, ptr %12, align 8 %22 = load ptr, ptr %13, align 8 %23 = call i32 @sms_PolarToRect(i32 noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22) %24 = load i32, ptr %16, align 4 %25 = load ptr, ptr %14, align 8 %26 = call i32 @sms_ifft(i32 noundef %24, ptr noundef %25) store i32 0, ptr %15, align 4 br label %27 27: ; preds = %41, %7 %28 = load i32, ptr %15, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %44 31: ; preds = %27 %32 = load ptr, ptr %14, align 8 %33 = load i32, ptr %15, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds double, ptr %32, i64 %34 %36 = load double, ptr %35, align 8 %37 = load ptr, ptr %9, align 8 %38 = load i32, ptr %15, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds double, ptr %37, i64 %39 store double %36, ptr %40, align 8 br label %41 41: ; preds = %31 %42 = load i32, ptr %15, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %15, align 4 br label %27, !llvm.loop !6 44: ; preds = %27 %45 = load i32, ptr %16, align 4 ret i32 %45 } declare i32 @sms_PolarToRect(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @sms_ifft(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/tmpn7l9avsf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sms_invSpectrum(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store i32 %0, ptr %8, align 4 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store i32 %3, ptr %11, align 4 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %17 = load i32, ptr %11, align 4 %18 = shl i32 %17, 1 store i32 %18, ptr %16, align 4 %19 = load i32, ptr %11, align 4 %20 = load ptr, ptr %14, align 8 %21 = load ptr, ptr %12, align 8 %22 = load ptr, ptr %13, align 8 %23 = call i32 @sms_PolarToRect(i32 noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22) %24 = load i32, ptr %16, align 4 %25 = load ptr, ptr %14, align 8 %26 = call i32 @sms_ifft(i32 noundef %24, ptr noundef %25) store i32 0, ptr %15, align 4 %27 = load i32, ptr %15, align 4 %28 = load i32, ptr %8, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph, label %46 .lr.ph: ; preds = %7 br label %30 30: ; preds = %.lr.ph, %40 %31 = load ptr, ptr %14, align 8 %32 = load i32, ptr %15, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds double, ptr %31, i64 %33 %35 = load double, ptr %34, align 8 %36 = load ptr, ptr %9, align 8 %37 = load i32, ptr %15, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %36, i64 %38 store double %35, ptr %39, align 8 br label %40 40: ; preds = %30 %41 = load i32, ptr %15, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %15, align 4 %43 = load i32, ptr %15, align 4 %44 = load i32, ptr %8, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %46 46: ; preds = %._crit_edge, %7 %47 = load i32, ptr %16, align 4 ret i32 %47 } declare i32 @sms_PolarToRect(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @sms_ifft(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"}