llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp35n54qbh.c' source_filename = "/tmp/tmp35n54qbh.c" target datalayout = "e-m:e-p270: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 [7 x i8] c"USAGE:\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c" %s [OPTIONS]\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"OPTIONS:\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c" -h\09show this help\0A\00", align 1 @.str.5 = private unnamed_addr constant [62 x i8] c" -A\09number of aleatory numbers to generate (default 100000)\0A\00", align 1 @.str.6 = private unnamed_addr constant [41 x i8] c" -M\09higher random number (default 100)\0A\00", align 1 @.str.7 = private unnamed_addr constant [38 x i8] c" -N\09lower random number (default 0)\0A\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"NOTES:\0A\00", align 1 @.str.9 = private unnamed_addr constant [43 x i8] c" The number of intervals CAN'T be higher\0A\00", align 1 @.str.10 = private unnamed_addr constant [46 x i8] c" than the maximun number minus the minimun.\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 i32, ptr @stderr, align 4 %4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str) %5 = load i32, ptr @stderr, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1, ptr noundef %6) %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2) %10 = load i32, ptr @stderr, align 4 %11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3) %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.4) %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.5) %16 = load i32, ptr @stderr, align 4 %17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.6) %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.7) %20 = load i32, ptr @stderr, align 4 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.2) %22 = load i32, ptr @stderr, align 4 %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.8) %24 = load i32, ptr @stderr, align 4 %25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.9) %26 = load i32, ptr @stderr, align 4 %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.10) %28 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp35n54qbh.c" target datalayout = "e-m:e-p270: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 [7 x i8] c"USAGE:\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c" %s [OPTIONS]\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"OPTIONS:\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c" -h\09show this help\0A\00", align 1 @.str.5 = private unnamed_addr constant [62 x i8] c" -A\09number of aleatory numbers to generate (default 100000)\0A\00", align 1 @.str.6 = private unnamed_addr constant [41 x i8] c" -M\09higher random number (default 100)\0A\00", align 1 @.str.7 = private unnamed_addr constant [38 x i8] c" -N\09lower random number (default 0)\0A\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"NOTES:\0A\00", align 1 @.str.9 = private unnamed_addr constant [43 x i8] c" The number of intervals CAN'T be higher\0A\00", align 1 @.str.10 = private unnamed_addr constant [46 x i8] c" than the maximun number minus the minimun.\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 i32, ptr @stderr, align 4 %4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str) %5 = load i32, ptr @stderr, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1, ptr noundef %6) %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2) %10 = load i32, ptr @stderr, align 4 %11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3) %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.4) %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.5) %16 = load i32, ptr @stderr, align 4 %17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.6) %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.7) %20 = load i32, ptr @stderr, align 4 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.2) %22 = load i32, ptr @stderr, align 4 %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.8) %24 = load i32, ptr @stderr, align 4 %25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef @.str.9) %26 = load i32, ptr @stderr, align 4 %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.10) %28 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkj0jwwen.c' source_filename = "/tmp/tmpkj0jwwen.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Strsafe(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @Strsafe_find(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %20 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = call i64 @strlen(ptr noundef %9) %11 = add nsw i64 %10, 1 %12 = call ptr @malloc(i64 noundef %11) store ptr %12, ptr %3, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %20 14: ; preds = %8 %15 = load ptr, ptr %3, align 8 %16 = load ptr, ptr %2, align 8 %17 = call i32 @strcpy(ptr noundef %15, ptr noundef %16) %18 = load ptr, ptr %3, align 8 %19 = call i32 @Strsafe_insert(ptr noundef %18) br label %20 20: ; preds = %14, %8, %1 %21 = load ptr, ptr %3, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %24 23: ; preds = %20 call void (...) @memory_error() br label %24 24: ; preds = %23, %20 %25 = load ptr, ptr %3, align 8 ret ptr %25 } declare ptr @Strsafe_find(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @Strsafe_insert(ptr noundef) #1 declare void @memory_error(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkj0jwwen.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Strsafe(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @Strsafe_find(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %20 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = call i64 @strlen(ptr noundef %9) %11 = add nsw i64 %10, 1 %12 = call ptr @malloc(i64 noundef %11) store ptr %12, ptr %3, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %20 14: ; preds = %8 %15 = load ptr, ptr %3, align 8 %16 = load ptr, ptr %2, align 8 %17 = call i32 @strcpy(ptr noundef %15, ptr noundef %16) %18 = load ptr, ptr %3, align 8 %19 = call i32 @Strsafe_insert(ptr noundef %18) br label %20 20: ; preds = %14, %8, %1 %21 = load ptr, ptr %3, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %24 23: ; preds = %20 call void (...) @memory_error() br label %24 24: ; preds = %23, %20 %25 = load ptr, ptr %3, align 8 ret ptr %25 } declare ptr @Strsafe_find(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @Strsafe_insert(ptr noundef) #1 declare void @memory_error(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwufulfli.c' source_filename = "/tmp/tmpwufulfli.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNIX = dso_local global i32 0, align 4 @SOCK_SEQPACKET = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 1, ptr %7, align 4 store i32 600, ptr %8, align 4 store ptr null, ptr %9, align 8 %10 = load i32, ptr @AF_UNIX, align 4 %11 = load i32, ptr @SOCK_SEQPACKET, align 4 %12 = load i32, ptr @IPPROTO_UDP, align 4 %13 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef %12) store i32 %13, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = call ptr @svcudp_create(i32 noundef %14) store ptr %15, ptr %9, align 8 %16 = load ptr, ptr %9, align 8 %17 = icmp ne ptr %16, null %18 = zext i1 %17 to i64 %19 = select i1 %17, i32 0, i32 1 store i32 %19, ptr %7, align 4 %20 = load ptr, ptr %9, align 8 %21 = call i32 @svc_destroy(ptr noundef %20) %22 = load i32, ptr %7, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %22) %24 = load i32, ptr %7, align 4 ret i32 %24 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @svcudp_create(i32 noundef) #1 declare i32 @svc_destroy(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwufulfli.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNIX = dso_local global i32 0, align 4 @SOCK_SEQPACKET = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 1, ptr %7, align 4 store i32 600, ptr %8, align 4 store ptr null, ptr %9, align 8 %10 = load i32, ptr @AF_UNIX, align 4 %11 = load i32, ptr @SOCK_SEQPACKET, align 4 %12 = load i32, ptr @IPPROTO_UDP, align 4 %13 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef %12) store i32 %13, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = call ptr @svcudp_create(i32 noundef %14) store ptr %15, ptr %9, align 8 %16 = load ptr, ptr %9, align 8 %17 = icmp ne ptr %16, null %18 = zext i1 %17 to i64 %19 = select i1 %17, i32 0, i32 1 store i32 %19, ptr %7, align 4 %20 = load ptr, ptr %9, align 8 %21 = call i32 @svc_destroy(ptr noundef %20) %22 = load i32, ptr %7, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %22) %24 = load i32, ptr %7, align 4 ret i32 %24 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @svcudp_create(i32 noundef) #1 declare i32 @svc_destroy(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9hsxnr9x.c' source_filename = "/tmp/tmp9hsxnr9x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numEquivDominoPairs(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %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 i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 store i32 2, ptr %15, align 4 %16 = load i32, ptr %5, align 4 %17 = call i64 @calloc(i32 noundef %16, i32 noundef 4) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %13, align 4 br label %19 19: ; preds = %114, %3 %20 = load i32, ptr %13, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %117 23: ; preds = %19 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %13, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %23 br label %114 31: ; preds = %23 %32 = load ptr, ptr %7, align 8 %33 = load i32, ptr %13, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 store i32 1, ptr %35, align 4 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %13, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds ptr, ptr %36, i64 %38 %40 = load ptr, ptr %39, align 8 store ptr %40, ptr %11, align 8 store i32 1, ptr %9, align 4 %41 = load i32, ptr %13, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %14, align 4 br label %43 43: ; preds = %99, %31 %44 = load i32, ptr %14, align 4 %45 = load i32, ptr %5, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %47, label %102 47: ; preds = %43 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %14, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %48, i64 %50 %52 = load ptr, ptr %51, align 8 store ptr %52, ptr %12, align 8 %53 = load ptr, ptr %11, align 8 %54 = getelementptr inbounds i32, ptr %53, i64 0 %55 = load i32, ptr %54, align 4 %56 = load ptr, ptr %12, align 8 %57 = getelementptr inbounds i32, ptr %56, i64 0 %58 = load i32, ptr %57, align 4 %59 = icmp eq i32 %55, %58 br i1 %59, label %60, label %68 60: ; preds = %47 %61 = load ptr, ptr %11, align 8 %62 = getelementptr inbounds i32, ptr %61, i64 1 %63 = load i32, ptr %62, align 4 %64 = load ptr, ptr %12, align 8 %65 = getelementptr inbounds i32, ptr %64, i64 1 %66 = load i32, ptr %65, align 4 %67 = icmp eq i32 %63, %66 br i1 %67, label %86, label %68 68: ; preds = %60, %47 %69 = load ptr, ptr %11, align 8 %70 = getelementptr inbounds i32, ptr %69, i64 1 %71 = load i32, ptr %70, align 4 %72 = load ptr, ptr %12, align 8 %73 = getelementptr inbounds i32, ptr %72, i64 0 %74 = load i32, ptr %73, align 4 %75 = icmp eq i32 %71, %74 br i1 %75, label %76, label %84 76: ; preds = %68 %77 = load ptr, ptr %11, align 8 %78 = getelementptr inbounds i32, ptr %77, i64 0 %79 = load i32, ptr %78, align 4 %80 = load ptr, ptr %12, align 8 %81 = getelementptr inbounds i32, ptr %80, i64 1 %82 = load i32, ptr %81, align 4 %83 = icmp eq i32 %79, %82 br label %84 84: ; preds = %76, %68 %85 = phi i1 [ false, %68 ], [ %83, %76 ] br label %86 86: ; preds = %84, %60 %87 = phi i1 [ true, %60 ], [ %85, %84 ] %88 = zext i1 %87 to i32 store i32 %88, ptr %10, align 4 %89 = load i32, ptr %10, align 4 %90 = icmp ne i32 %89, 0 br i1 %90, label %91, label %98 91: ; preds = %86 %92 = load ptr, ptr %7, align 8 %93 = load i32, ptr %14, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i32, ptr %92, i64 %94 store i32 1, ptr %95, align 4 %96 = load i32, ptr %9, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %9, align 4 br label %98 98: ; preds = %91, %86 br label %99 99: ; preds = %98 %100 = load i32, ptr %14, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %14, align 4 br label %43, !llvm.loop !6 102: ; preds = %43 %103 = load i32, ptr %9, align 4 %104 = icmp sgt i32 %103, 1 br i1 %104, label %105, label %113 105: ; preds = %102 %106 = load i32, ptr %9, align 4 %107 = load i32, ptr %9, align 4 %108 = sub nsw i32 %107, 1 %109 = mul nsw i32 %106, %108 %110 = sdiv i32 %109, 2 %111 = load i32, ptr %8, align 4 %112 = add nsw i32 %111, %110 store i32 %112, ptr %8, align 4 br label %113 113: ; preds = %105, %102 br label %114 114: ; preds = %113, %30 %115 = load i32, ptr %13, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %13, align 4 br label %19, !llvm.loop !8 117: ; preds = %19 %118 = load i32, ptr %8, align 4 ret i32 %118 } declare i64 @calloc(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9hsxnr9x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numEquivDominoPairs(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %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 i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 store i32 2, ptr %15, align 4 %16 = load i32, ptr %5, align 4 %17 = call i64 @calloc(i32 noundef %16, i32 noundef 4) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %13, align 4 %19 = load i32, ptr %13, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph2, label %121 .lr.ph2: ; preds = %3 br label %22 22: ; preds = %.lr.ph2, %115 %23 = load ptr, ptr %7, align 8 %24 = load i32, ptr %13, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %22 br label %115 30: ; preds = %22 %31 = load ptr, ptr %7, align 8 %32 = load i32, ptr %13, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 store i32 1, ptr %34, align 4 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %13, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds ptr, ptr %35, i64 %37 %39 = load ptr, ptr %38, align 8 store ptr %39, ptr %11, align 8 store i32 1, ptr %9, align 4 %40 = load i32, ptr %13, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %14, align 4 %42 = load i32, ptr %14, align 4 %43 = load i32, ptr %5, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %.lr.ph, label %103 .lr.ph: ; preds = %30 br label %45 45: ; preds = %.lr.ph, %97 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %14, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds ptr, ptr %46, i64 %48 %50 = load ptr, ptr %49, align 8 store ptr %50, ptr %12, align 8 %51 = load ptr, ptr %11, align 8 %52 = getelementptr inbounds i32, ptr %51, i64 0 %53 = load i32, ptr %52, align 4 %54 = load ptr, ptr %12, align 8 %55 = getelementptr inbounds i32, ptr %54, i64 0 %56 = load i32, ptr %55, align 4 %57 = icmp eq i32 %53, %56 br i1 %57, label %58, label %66 58: ; preds = %45 %59 = load ptr, ptr %11, align 8 %60 = getelementptr inbounds i32, ptr %59, i64 1 %61 = load i32, ptr %60, align 4 %62 = load ptr, ptr %12, align 8 %63 = getelementptr inbounds i32, ptr %62, i64 1 %64 = load i32, ptr %63, align 4 %65 = icmp eq i32 %61, %64 br i1 %65, label %84, label %66 66: ; preds = %58, %45 %67 = load ptr, ptr %11, align 8 %68 = getelementptr inbounds i32, ptr %67, i64 1 %69 = load i32, ptr %68, align 4 %70 = load ptr, ptr %12, align 8 %71 = getelementptr inbounds i32, ptr %70, i64 0 %72 = load i32, ptr %71, align 4 %73 = icmp eq i32 %69, %72 br i1 %73, label %74, label %82 74: ; preds = %66 %75 = load ptr, ptr %11, align 8 %76 = getelementptr inbounds i32, ptr %75, i64 0 %77 = load i32, ptr %76, align 4 %78 = load ptr, ptr %12, align 8 %79 = getelementptr inbounds i32, ptr %78, i64 1 %80 = load i32, ptr %79, align 4 %81 = icmp eq i32 %77, %80 br label %82 82: ; preds = %74, %66 %83 = phi i1 [ false, %66 ], [ %81, %74 ] br label %84 84: ; preds = %82, %58 %85 = phi i1 [ true, %58 ], [ %83, %82 ] %86 = zext i1 %85 to i32 store i32 %86, ptr %10, align 4 %87 = load i32, ptr %10, align 4 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %96 89: ; preds = %84 %90 = load ptr, ptr %7, align 8 %91 = load i32, ptr %14, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i32, ptr %90, i64 %92 store i32 1, ptr %93, align 4 %94 = load i32, ptr %9, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %9, align 4 br label %96 96: ; preds = %89, %84 br label %97 97: ; preds = %96 %98 = load i32, ptr %14, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %14, align 4 %100 = load i32, ptr %14, align 4 %101 = load i32, ptr %5, align 4 %102 = icmp slt i32 %100, %101 br i1 %102, label %45, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %97 br label %103 103: ; preds = %._crit_edge, %30 %104 = load i32, ptr %9, align 4 %105 = icmp sgt i32 %104, 1 br i1 %105, label %106, label %114 106: ; preds = %103 %107 = load i32, ptr %9, align 4 %108 = load i32, ptr %9, align 4 %109 = sub nsw i32 %108, 1 %110 = mul nsw i32 %107, %109 %111 = sdiv i32 %110, 2 %112 = load i32, ptr %8, align 4 %113 = add nsw i32 %112, %111 store i32 %113, ptr %8, align 4 br label %114 114: ; preds = %106, %103 br label %115 115: ; preds = %114, %29 %116 = load i32, ptr %13, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %13, align 4 %118 = load i32, ptr %13, align 4 %119 = load i32, ptr %5, align 4 %120 = icmp slt i32 %118, %119 br i1 %120, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %115 br label %121 121: ; preds = %._crit_edge3, %3 %122 = load i32, ptr %8, align 4 ret i32 %122 } declare i64 @calloc(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpztl6d47z.c' source_filename = "/tmp/tmpztl6d47z.c" target datalayout = "e-m:e-p270: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.suffix = private unnamed_addr constant [4 x i8] c"new\00", align 1 @.str = private unnamed_addr constant [25 x i8] c"Enter your secret code: \00", align 1 @stdin = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"Inavlid input\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"Code must be 5 characters long\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"Unable to allocate memory\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Your new secret code is: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [6 x i8], align 1 %3 = alloca [4 x i8], align 1 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.suffix, i64 4, i1 false) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %9 = load i32, ptr @stdin, align 4 %10 = call ptr @fgets(ptr noundef %8, i32 noundef 6, i32 noundef %9) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %0 %14 = load i32, ptr @stderr, align 4 %15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str.1) %16 = call i32 @exit(i32 noundef 1) #4 unreachable 17: ; preds = %0 store i32 0, ptr %6, align 4 br label %18 18: ; preds = %33, %17 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %19, 6 br i1 %20, label %21, label %36 21: ; preds = %18 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 10 br i1 %27, label %28, label %32 28: ; preds = %21 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 %30 store i8 0, ptr %31, align 1 br label %36 32: ; preds = %21 br label %33 33: ; preds = %32 %34 = load i32, ptr %6, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %6, align 4 br label %18, !llvm.loop !6 36: ; preds = %28, %18 %37 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %38 = call i32 @strlen(ptr noundef %37) %39 = icmp ne i32 %38, 5 br i1 %39, label %40, label %43 40: ; preds = %36 %41 = call i32 @puts(ptr noundef @.str.2) %42 = call i32 @exit(i32 noundef 1) #4 unreachable 43: ; preds = %36 %44 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %45 = call i32 @strlen(ptr noundef %44) %46 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0 %47 = call i32 @strlen(ptr noundef %46) %48 = add nsw i32 %45, %47 %49 = add nsw i32 %48, 1 %50 = call i64 @malloc(i32 noundef %49) %51 = inttoptr i64 %50 to ptr store ptr %51, ptr %5, align 8 %52 = load ptr, ptr %5, align 8 %53 = icmp eq ptr %52, null br i1 %53, label %54, label %58 54: ; preds = %43 %55 = load i32, ptr @stderr, align 4 %56 = call i32 @fprintf(i32 noundef %55, ptr noundef @.str.3) %57 = call i32 @exit(i32 noundef 1) #4 unreachable 58: ; preds = %43 %59 = load ptr, ptr %5, align 8 %60 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %61 = call i32 @strcpy(ptr noundef %59, ptr noundef %60) %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0 %64 = call i32 @strcat(ptr noundef %62, ptr noundef %63) %65 = load ptr, ptr %5, align 8 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %65) store i32 0, ptr %6, align 4 br label %67 67: ; preds = %74, %58 %68 = load i32, ptr %6, align 4 %69 = icmp slt i32 %68, 6 br i1 %69, label %70, label %77 70: ; preds = %67 %71 = load i32, ptr %6, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 %72 store i8 0, ptr %73, align 1 br label %74 74: ; preds = %70 %75 = load i32, ptr %6, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %6, align 4 br label %67, !llvm.loop !8 77: ; preds = %67 store i32 0, ptr %6, align 4 br label %78 78: ; preds = %88, %77 %79 = load i32, ptr %6, align 4 %80 = load ptr, ptr %5, align 8 %81 = call i32 @strlen(ptr noundef %80) %82 = icmp slt i32 %79, %81 br i1 %82, label %83, label %91 83: ; preds = %78 %84 = load ptr, ptr %5, align 8 %85 = load i32, ptr %6, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i8, ptr %84, i64 %86 store i8 0, ptr %87, align 1 br label %88 88: ; preds = %83 %89 = load i32, ptr %6, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %6, align 4 br label %78, !llvm.loop !9 91: ; preds = %78 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @strlen(ptr noundef) #2 declare i32 @puts(ptr noundef) #2 declare i64 @malloc(i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpztl6d47z.c" target datalayout = "e-m:e-p270: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.suffix = private unnamed_addr constant [4 x i8] c"new\00", align 1 @.str = private unnamed_addr constant [25 x i8] c"Enter your secret code: \00", align 1 @stdin = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"Inavlid input\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"Code must be 5 characters long\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"Unable to allocate memory\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Your new secret code is: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [6 x i8], align 1 %3 = alloca [4 x i8], align 1 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.suffix, i64 4, i1 false) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %9 = load i32, ptr @stdin, align 4 %10 = call ptr @fgets(ptr noundef %8, i32 noundef 6, i32 noundef %9) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %0 %14 = load i32, ptr @stderr, align 4 %15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str.1) %16 = call i32 @exit(i32 noundef 1) #4 unreachable 17: ; preds = %0 store i32 0, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %18, 6 br i1 %19, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %17 br label %20 20: ; preds = %.lr.ph, %32 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 10 br i1 %26, label %27, label %31 27: ; preds = %20 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 %29 store i8 0, ptr %30, align 1 br label %37 31: ; preds = %20 br label %32 32: ; preds = %31 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = icmp slt i32 %35, 6 br i1 %36, label %20, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %32 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %17 br label %37 37: ; preds = %.loopexit, %27 %38 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %39 = call i32 @strlen(ptr noundef %38) %40 = icmp ne i32 %39, 5 br i1 %40, label %41, label %44 41: ; preds = %37 %42 = call i32 @puts(ptr noundef @.str.2) %43 = call i32 @exit(i32 noundef 1) #4 unreachable 44: ; preds = %37 %45 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %46 = call i32 @strlen(ptr noundef %45) %47 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0 %48 = call i32 @strlen(ptr noundef %47) %49 = add nsw i32 %46, %48 %50 = add nsw i32 %49, 1 %51 = call i64 @malloc(i32 noundef %50) %52 = inttoptr i64 %51 to ptr store ptr %52, ptr %5, align 8 %53 = load ptr, ptr %5, align 8 %54 = icmp eq ptr %53, null br i1 %54, label %55, label %59 55: ; preds = %44 %56 = load i32, ptr @stderr, align 4 %57 = call i32 @fprintf(i32 noundef %56, ptr noundef @.str.3) %58 = call i32 @exit(i32 noundef 1) #4 unreachable 59: ; preds = %44 %60 = load ptr, ptr %5, align 8 %61 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %62 = call i32 @strcpy(ptr noundef %60, ptr noundef %61) %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0 %65 = call i32 @strcat(ptr noundef %63, ptr noundef %64) %66 = load ptr, ptr %5, align 8 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %66) store i32 0, ptr %6, align 4 %68 = load i32, ptr %6, align 4 %69 = icmp slt i32 %68, 6 br i1 %69, label %.lr.ph1, label %79 .lr.ph1: ; preds = %59 br label %70 70: ; preds = %.lr.ph1, %74 %71 = load i32, ptr %6, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 %72 store i8 0, ptr %73, align 1 br label %74 74: ; preds = %70 %75 = load i32, ptr %6, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %6, align 4 %77 = load i32, ptr %6, align 4 %78 = icmp slt i32 %77, 6 br i1 %78, label %70, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %74 br label %79 79: ; preds = %._crit_edge, %59 store i32 0, ptr %6, align 4 %80 = load i32, ptr %6, align 4 %81 = load ptr, ptr %5, align 8 %82 = call i32 @strlen(ptr noundef %81) %83 = icmp slt i32 %80, %82 br i1 %83, label %.lr.ph3, label %96 .lr.ph3: ; preds = %79 br label %84 84: ; preds = %.lr.ph3, %89 %85 = load ptr, ptr %5, align 8 %86 = load i32, ptr %6, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i8, ptr %85, i64 %87 store i8 0, ptr %88, align 1 br label %89 89: ; preds = %84 %90 = load i32, ptr %6, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %6, align 4 %92 = load i32, ptr %6, align 4 %93 = load ptr, ptr %5, align 8 %94 = call i32 @strlen(ptr noundef %93) %95 = icmp slt i32 %92, %94 br i1 %95, label %84, label %._crit_edge4, !llvm.loop !9 ._crit_edge4: ; preds = %89 br label %96 96: ; preds = %._crit_edge4, %79 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @strlen(ptr noundef) #2 declare i32 @puts(ptr noundef) #2 declare i64 @malloc(i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpnjo_kzgi.c' source_filename = "/tmp/tmpnjo_kzgi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xor_64_bytes(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 16, ptr %7, align 4 br label %8 8: ; preds = %12, %3 %9 = load i32, ptr %7, align 4 %10 = add nsw i32 %9, -1 store i32 %10, ptr %7, align 4 %11 = icmp ne i32 %9, 0 br i1 %11, label %12, label %22 12: ; preds = %8 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds i32, ptr %13, i32 1 store ptr %14, ptr %5, align 8 %15 = load i32, ptr %13, align 4 %16 = load ptr, ptr %6, align 8 %17 = getelementptr inbounds i32, ptr %16, i32 1 store ptr %17, ptr %6, align 8 %18 = load i32, ptr %16, align 4 %19 = xor i32 %15, %18 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i32, ptr %20, i32 1 store ptr %21, ptr %4, align 8 store i32 %19, ptr %20, align 4 br label %8, !llvm.loop !6 22: ; preds = %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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnjo_kzgi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xor_64_bytes(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 16, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = add nsw i32 %8, -1 store i32 %9, ptr %7, align 4 %10 = icmp ne i32 %8, 0 br i1 %10, label %.lr.ph, label %24 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %11 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds i32, ptr %12, i32 1 store ptr %13, ptr %5, align 8 %14 = load i32, ptr %12, align 4 %15 = load ptr, ptr %6, align 8 %16 = getelementptr inbounds i32, ptr %15, i32 1 store ptr %16, ptr %6, align 8 %17 = load i32, ptr %15, align 4 %18 = xor i32 %14, %17 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds i32, ptr %19, i32 1 store ptr %20, ptr %4, align 8 store i32 %18, ptr %19, align 4 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, -1 store i32 %22, ptr %7, align 4 %23 = icmp ne i32 %21, 0 br i1 %23, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %24 24: ; preds = %._crit_edge, %3 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/tmpkpzz8vkh.c' source_filename = "/tmp/tmpkpzz8vkh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @orthog(i32 noundef %0, ptr 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 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 ptr, align 8 %16 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %17 = load i32, ptr %7, align 4 %18 = mul nsw i32 2, %17 %19 = add nsw i32 %18, 1 %20 = load i32, ptr %7, align 4 %21 = mul nsw i32 2, %20 %22 = add nsw i32 %21, 1 %23 = call ptr @matrix(i32 noundef 1, i32 noundef %19, i32 noundef 1, i32 noundef %22) store ptr %23, ptr %15, align 8 %24 = load i32, ptr %7, align 4 %25 = mul nsw i32 2, %24 store i32 %25, ptr %16, align 4 store i32 3, ptr %14, align 4 br label %26 26: ; preds = %37, %6 %27 = load i32, ptr %14, align 4 %28 = load i32, ptr %16, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %30, label %40 30: ; preds = %26 %31 = load ptr, ptr %15, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 1 %33 = load ptr, ptr %32, align 8 %34 = load i32, ptr %14, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds float, ptr %33, i64 %35 store float 0.000000e+00, ptr %36, align 4 br label %37 37: ; preds = %30 %38 = load i32, ptr %14, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %14, align 4 br label %26, !llvm.loop !6 40: ; preds = %26 %41 = load i32, ptr %16, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %16, align 4 store i32 2, ptr %14, align 4 br label %43 43: ; preds = %60, %40 %44 = load i32, ptr %14, align 4 %45 = load i32, ptr %16, align 4 %46 = icmp sle i32 %44, %45 br i1 %46, label %47, label %63 47: ; preds = %43 %48 = load ptr, ptr %8, align 8 %49 = load i32, ptr %14, align 4 %50 = sub nsw i32 %49, 1 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds float, ptr %48, i64 %51 %53 = load float, ptr %52, align 4 %54 = load ptr, ptr %15, align 8 %55 = getelementptr inbounds ptr, ptr %54, i64 2 %56 = load ptr, ptr %55, align 8 %57 = load i32, ptr %14, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds float, ptr %56, i64 %58 store float %53, ptr %59, align 4 br label %60 60: ; preds = %47 %61 = load i32, ptr %14, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %14, align 4 br label %43, !llvm.loop !8 63: ; preds = %43 %64 = load ptr, ptr %9, align 8 %65 = getelementptr inbounds float, ptr %64, i64 1 %66 = load float, ptr %65, align 4 %67 = load ptr, ptr %8, align 8 %68 = getelementptr inbounds float, ptr %67, i64 2 %69 = load float, ptr %68, align 4 %70 = load ptr, ptr %8, align 8 %71 = getelementptr inbounds float, ptr %70, i64 1 %72 = load float, ptr %71, align 4 %73 = fdiv float %69, %72 %74 = fadd float %66, %73 %75 = load ptr, ptr %11, align 8 %76 = getelementptr inbounds float, ptr %75, i64 1 store float %74, ptr %76, align 4 %77 = load ptr, ptr %12, align 8 %78 = getelementptr inbounds float, ptr %77, i64 1 store float 0.000000e+00, ptr %78, align 4 store i32 3, ptr %13, align 4 br label %79 79: ; preds = %260, %63 %80 = load i32, ptr %13, align 4 %81 = load i32, ptr %7, align 4 %82 = add nsw i32 %81, 1 %83 = icmp sle i32 %80, %82 br i1 %83, label %84, label %263 84: ; preds = %79 %85 = load i32, ptr %7, align 4 %86 = mul nsw i32 2, %85 %87 = load i32, ptr %13, align 4 %88 = sub nsw i32 %86, %87 %89 = add nsw i32 %88, 3 store i32 %89, ptr %16, align 4 %90 = load i32, ptr %13, align 4 store i32 %90, ptr %14, align 4 br label %91 91: ; preds = %175, %84 %92 = load i32, ptr %14, align 4 %93 = load i32, ptr %16, align 4 %94 = icmp sle i32 %92, %93 br i1 %94, label %95, label %178 95: ; preds = %91 %96 = load ptr, ptr %15, align 8 %97 = load i32, ptr %13, align 4 %98 = sub nsw i32 %97, 1 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds ptr, ptr %96, i64 %99 %101 = load ptr, ptr %100, align 8 %102 = load i32, ptr %14, align 4 %103 = add nsw i32 %102, 1 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds float, ptr %101, i64 %104 %106 = load float, ptr %105, align 4 %107 = load ptr, ptr %9, align 8 %108 = load i32, ptr %14, align 4 %109 = sub nsw i32 %108, 1 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds float, ptr %107, i64 %110 %112 = load float, ptr %111, align 4 %113 = load ptr, ptr %11, align 8 %114 = load i32, ptr %13, align 4 %115 = sub nsw i32 %114, 2 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds float, ptr %113, i64 %116 %118 = load float, ptr %117, align 4 %119 = fsub float %112, %118 %120 = load ptr, ptr %15, align 8 %121 = load i32, ptr %13, align 4 %122 = sub nsw i32 %121, 1 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds ptr, ptr %120, i64 %123 %125 = load ptr, ptr %124, align 8 %126 = load i32, ptr %14, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds float, ptr %125, i64 %127 %129 = load float, ptr %128, align 4 %130 = call float @llvm.fmuladd.f32(float %119, float %129, float %106) %131 = load ptr, ptr %12, align 8 %132 = load i32, ptr %13, align 4 %133 = sub nsw i32 %132, 2 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds float, ptr %131, i64 %134 %136 = load float, ptr %135, align 4 %137 = load ptr, ptr %15, align 8 %138 = load i32, ptr %13, align 4 %139 = sub nsw i32 %138, 2 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds ptr, ptr %137, i64 %140 %142 = load ptr, ptr %141, align 8 %143 = load i32, ptr %14, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds float, ptr %142, i64 %144 %146 = load float, ptr %145, align 4 %147 = fneg float %136 %148 = call float @llvm.fmuladd.f32(float %147, float %146, float %130) %149 = load ptr, ptr %10, align 8 %150 = load i32, ptr %14, align 4 %151 = sub nsw i32 %150, 1 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds float, ptr %149, i64 %152 %154 = load float, ptr %153, align 4 %155 = load ptr, ptr %15, align 8 %156 = load i32, ptr %13, align 4 %157 = sub nsw i32 %156, 1 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds ptr, ptr %155, i64 %158 %160 = load ptr, ptr %159, align 8 %161 = load i32, ptr %14, align 4 %162 = sub nsw i32 %161, 1 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds float, ptr %160, i64 %163 %165 = load float, ptr %164, align 4 %166 = call float @llvm.fmuladd.f32(float %154, float %165, float %148) %167 = load ptr, ptr %15, align 8 %168 = load i32, ptr %13, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds ptr, ptr %167, i64 %169 %171 = load ptr, ptr %170, align 8 %172 = load i32, ptr %14, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds float, ptr %171, i64 %173 store float %166, ptr %174, align 4 br label %175 175: ; preds = %95 %176 = load i32, ptr %14, align 4 %177 = add nsw i32 %176, 1 store i32 %177, ptr %14, align 4 br label %91, !llvm.loop !9 178: ; preds = %91 %179 = load ptr, ptr %9, align 8 %180 = load i32, ptr %13, align 4 %181 = sub nsw i32 %180, 1 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds float, ptr %179, i64 %182 %184 = load float, ptr %183, align 4 %185 = load ptr, ptr %15, align 8 %186 = load i32, ptr %13, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds ptr, ptr %185, i64 %187 %189 = load ptr, ptr %188, align 8 %190 = load i32, ptr %13, align 4 %191 = add nsw i32 %190, 1 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds float, ptr %189, i64 %192 %194 = load float, ptr %193, align 4 %195 = load ptr, ptr %15, align 8 %196 = load i32, ptr %13, align 4 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds ptr, ptr %195, i64 %197 %199 = load ptr, ptr %198, align 8 %200 = load i32, ptr %13, align 4 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds float, ptr %199, i64 %201 %203 = load float, ptr %202, align 4 %204 = fdiv float %194, %203 %205 = fadd float %184, %204 %206 = load ptr, ptr %15, align 8 %207 = load i32, ptr %13, align 4 %208 = sub nsw i32 %207, 1 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds ptr, ptr %206, i64 %209 %211 = load ptr, ptr %210, align 8 %212 = load i32, ptr %13, align 4 %213 = sext i32 %212 to i64 %214 = getelementptr inbounds float, ptr %211, i64 %213 %215 = load float, ptr %214, align 4 %216 = load ptr, ptr %15, align 8 %217 = load i32, ptr %13, align 4 %218 = sub nsw i32 %217, 1 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds ptr, ptr %216, i64 %219 %221 = load ptr, ptr %220, align 8 %222 = load i32, ptr %13, align 4 %223 = sub nsw i32 %222, 1 %224 = sext i32 %223 to i64 %225 = getelementptr inbounds float, ptr %221, i64 %224 %226 = load float, ptr %225, align 4 %227 = fdiv float %215, %226 %228 = fsub float %205, %227 %229 = load ptr, ptr %11, align 8 %230 = load i32, ptr %13, align 4 %231 = sub nsw i32 %230, 1 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds float, ptr %229, i64 %232 store float %228, ptr %233, align 4 %234 = load ptr, ptr %15, align 8 %235 = load i32, ptr %13, align 4 %236 = sext i32 %235 to i64 %237 = getelementptr inbounds ptr, ptr %234, i64 %236 %238 = load ptr, ptr %237, align 8 %239 = load i32, ptr %13, align 4 %240 = sext i32 %239 to i64 %241 = getelementptr inbounds float, ptr %238, i64 %240 %242 = load float, ptr %241, align 4 %243 = load ptr, ptr %15, align 8 %244 = load i32, ptr %13, align 4 %245 = sub nsw i32 %244, 1 %246 = sext i32 %245 to i64 %247 = getelementptr inbounds ptr, ptr %243, i64 %246 %248 = load ptr, ptr %247, align 8 %249 = load i32, ptr %13, align 4 %250 = sub nsw i32 %249, 1 %251 = sext i32 %250 to i64 %252 = getelementptr inbounds float, ptr %248, i64 %251 %253 = load float, ptr %252, align 4 %254 = fdiv float %242, %253 %255 = load ptr, ptr %12, align 8 %256 = load i32, ptr %13, align 4 %257 = sub nsw i32 %256, 1 %258 = sext i32 %257 to i64 %259 = getelementptr inbounds float, ptr %255, i64 %258 store float %254, ptr %259, align 4 br label %260 260: ; preds = %178 %261 = load i32, ptr %13, align 4 %262 = add nsw i32 %261, 1 store i32 %262, ptr %13, align 4 br label %79, !llvm.loop !10 263: ; preds = %79 %264 = load ptr, ptr %15, align 8 %265 = load i32, ptr %7, align 4 %266 = mul nsw i32 2, %265 %267 = add nsw i32 %266, 1 %268 = load i32, ptr %7, align 4 %269 = mul nsw i32 2, %268 %270 = add nsw i32 %269, 1 %271 = call i32 @free_matrix(ptr noundef %264, i32 noundef 1, i32 noundef %267, i32 noundef 1, i32 noundef %270) ret void } declare ptr @matrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @free_matrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkpzz8vkh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @orthog(i32 noundef %0, ptr 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 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 ptr, align 8 %16 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %17 = load i32, ptr %7, align 4 %18 = mul nsw i32 2, %17 %19 = add nsw i32 %18, 1 %20 = load i32, ptr %7, align 4 %21 = mul nsw i32 2, %20 %22 = add nsw i32 %21, 1 %23 = call ptr @matrix(i32 noundef 1, i32 noundef %19, i32 noundef 1, i32 noundef %22) store ptr %23, ptr %15, align 8 %24 = load i32, ptr %7, align 4 %25 = mul nsw i32 2, %24 store i32 %25, ptr %16, align 4 store i32 3, ptr %14, align 4 %26 = load i32, ptr %14, align 4 %27 = load i32, ptr %16, align 4 %28 = icmp sle i32 %26, %27 br i1 %28, label %.lr.ph, label %42 .lr.ph: ; preds = %6 br label %29 29: ; preds = %.lr.ph, %36 %30 = load ptr, ptr %15, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = load ptr, ptr %31, align 8 %33 = load i32, ptr %14, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds float, ptr %32, i64 %34 store float 0.000000e+00, ptr %35, align 4 br label %36 36: ; preds = %29 %37 = load i32, ptr %14, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %14, align 4 %39 = load i32, ptr %14, align 4 %40 = load i32, ptr %16, align 4 %41 = icmp sle i32 %39, %40 br i1 %41, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %42 42: ; preds = %._crit_edge, %6 %43 = load i32, ptr %16, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %16, align 4 store i32 2, ptr %14, align 4 %45 = load i32, ptr %14, align 4 %46 = load i32, ptr %16, align 4 %47 = icmp sle i32 %45, %46 br i1 %47, label %.lr.ph2, label %67 .lr.ph2: ; preds = %42 br label %48 48: ; preds = %.lr.ph2, %61 %49 = load ptr, ptr %8, align 8 %50 = load i32, ptr %14, align 4 %51 = sub nsw i32 %50, 1 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds float, ptr %49, i64 %52 %54 = load float, ptr %53, align 4 %55 = load ptr, ptr %15, align 8 %56 = getelementptr inbounds ptr, ptr %55, i64 2 %57 = load ptr, ptr %56, align 8 %58 = load i32, ptr %14, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds float, ptr %57, i64 %59 store float %54, ptr %60, align 4 br label %61 61: ; preds = %48 %62 = load i32, ptr %14, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %14, align 4 %64 = load i32, ptr %14, align 4 %65 = load i32, ptr %16, align 4 %66 = icmp sle i32 %64, %65 br i1 %66, label %48, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %61 br label %67 67: ; preds = %._crit_edge3, %42 %68 = load ptr, ptr %9, align 8 %69 = getelementptr inbounds float, ptr %68, i64 1 %70 = load float, ptr %69, align 4 %71 = load ptr, ptr %8, align 8 %72 = getelementptr inbounds float, ptr %71, i64 2 %73 = load float, ptr %72, align 4 %74 = load ptr, ptr %8, align 8 %75 = getelementptr inbounds float, ptr %74, i64 1 %76 = load float, ptr %75, align 4 %77 = fdiv float %73, %76 %78 = fadd float %70, %77 %79 = load ptr, ptr %11, align 8 %80 = getelementptr inbounds float, ptr %79, i64 1 store float %78, ptr %80, align 4 %81 = load ptr, ptr %12, align 8 %82 = getelementptr inbounds float, ptr %81, i64 1 store float 0.000000e+00, ptr %82, align 4 store i32 3, ptr %13, align 4 %83 = load i32, ptr %13, align 4 %84 = load i32, ptr %7, align 4 %85 = add nsw i32 %84, 1 %86 = icmp sle i32 %83, %85 br i1 %86, label %.lr.ph8, label %272 .lr.ph8: ; preds = %67 br label %87 87: ; preds = %.lr.ph8, %265 %88 = load i32, ptr %7, align 4 %89 = mul nsw i32 2, %88 %90 = load i32, ptr %13, align 4 %91 = sub nsw i32 %89, %90 %92 = add nsw i32 %91, 3 store i32 %92, ptr %16, align 4 %93 = load i32, ptr %13, align 4 store i32 %93, ptr %14, align 4 %94 = load i32, ptr %14, align 4 %95 = load i32, ptr %16, align 4 %96 = icmp sle i32 %94, %95 br i1 %96, label %.lr.ph5, label %183 .lr.ph5: ; preds = %87 br label %97 97: ; preds = %.lr.ph5, %177 %98 = load ptr, ptr %15, align 8 %99 = load i32, ptr %13, align 4 %100 = sub nsw i32 %99, 1 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds ptr, ptr %98, i64 %101 %103 = load ptr, ptr %102, align 8 %104 = load i32, ptr %14, align 4 %105 = add nsw i32 %104, 1 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds float, ptr %103, i64 %106 %108 = load float, ptr %107, align 4 %109 = load ptr, ptr %9, align 8 %110 = load i32, ptr %14, align 4 %111 = sub nsw i32 %110, 1 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds float, ptr %109, i64 %112 %114 = load float, ptr %113, align 4 %115 = load ptr, ptr %11, align 8 %116 = load i32, ptr %13, align 4 %117 = sub nsw i32 %116, 2 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds float, ptr %115, i64 %118 %120 = load float, ptr %119, align 4 %121 = fsub float %114, %120 %122 = load ptr, ptr %15, align 8 %123 = load i32, ptr %13, align 4 %124 = sub nsw i32 %123, 1 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds ptr, ptr %122, i64 %125 %127 = load ptr, ptr %126, align 8 %128 = load i32, ptr %14, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds float, ptr %127, i64 %129 %131 = load float, ptr %130, align 4 %132 = call float @llvm.fmuladd.f32(float %121, float %131, float %108) %133 = load ptr, ptr %12, align 8 %134 = load i32, ptr %13, align 4 %135 = sub nsw i32 %134, 2 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds float, ptr %133, i64 %136 %138 = load float, ptr %137, align 4 %139 = load ptr, ptr %15, align 8 %140 = load i32, ptr %13, align 4 %141 = sub nsw i32 %140, 2 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds ptr, ptr %139, i64 %142 %144 = load ptr, ptr %143, align 8 %145 = load i32, ptr %14, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds float, ptr %144, i64 %146 %148 = load float, ptr %147, align 4 %149 = fneg float %138 %150 = call float @llvm.fmuladd.f32(float %149, float %148, float %132) %151 = load ptr, ptr %10, align 8 %152 = load i32, ptr %14, align 4 %153 = sub nsw i32 %152, 1 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds float, ptr %151, i64 %154 %156 = load float, ptr %155, align 4 %157 = load ptr, ptr %15, align 8 %158 = load i32, ptr %13, align 4 %159 = sub nsw i32 %158, 1 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds ptr, ptr %157, i64 %160 %162 = load ptr, ptr %161, align 8 %163 = load i32, ptr %14, align 4 %164 = sub nsw i32 %163, 1 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds float, ptr %162, i64 %165 %167 = load float, ptr %166, align 4 %168 = call float @llvm.fmuladd.f32(float %156, float %167, float %150) %169 = load ptr, ptr %15, align 8 %170 = load i32, ptr %13, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds ptr, ptr %169, i64 %171 %173 = load ptr, ptr %172, align 8 %174 = load i32, ptr %14, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds float, ptr %173, i64 %175 store float %168, ptr %176, align 4 br label %177 177: ; preds = %97 %178 = load i32, ptr %14, align 4 %179 = add nsw i32 %178, 1 store i32 %179, ptr %14, align 4 %180 = load i32, ptr %14, align 4 %181 = load i32, ptr %16, align 4 %182 = icmp sle i32 %180, %181 br i1 %182, label %97, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %177 br label %183 183: ; preds = %._crit_edge6, %87 %184 = load ptr, ptr %9, align 8 %185 = load i32, ptr %13, align 4 %186 = sub nsw i32 %185, 1 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds float, ptr %184, i64 %187 %189 = load float, ptr %188, align 4 %190 = load ptr, ptr %15, align 8 %191 = load i32, ptr %13, align 4 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds ptr, ptr %190, i64 %192 %194 = load ptr, ptr %193, align 8 %195 = load i32, ptr %13, align 4 %196 = add nsw i32 %195, 1 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds float, ptr %194, i64 %197 %199 = load float, ptr %198, align 4 %200 = load ptr, ptr %15, align 8 %201 = load i32, ptr %13, align 4 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds ptr, ptr %200, i64 %202 %204 = load ptr, ptr %203, align 8 %205 = load i32, ptr %13, align 4 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds float, ptr %204, i64 %206 %208 = load float, ptr %207, align 4 %209 = fdiv float %199, %208 %210 = fadd float %189, %209 %211 = load ptr, ptr %15, align 8 %212 = load i32, ptr %13, align 4 %213 = sub nsw i32 %212, 1 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds ptr, ptr %211, i64 %214 %216 = load ptr, ptr %215, align 8 %217 = load i32, ptr %13, align 4 %218 = sext i32 %217 to i64 %219 = getelementptr inbounds float, ptr %216, i64 %218 %220 = load float, ptr %219, align 4 %221 = load ptr, ptr %15, align 8 %222 = load i32, ptr %13, align 4 %223 = sub nsw i32 %222, 1 %224 = sext i32 %223 to i64 %225 = getelementptr inbounds ptr, ptr %221, i64 %224 %226 = load ptr, ptr %225, align 8 %227 = load i32, ptr %13, align 4 %228 = sub nsw i32 %227, 1 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds float, ptr %226, i64 %229 %231 = load float, ptr %230, align 4 %232 = fdiv float %220, %231 %233 = fsub float %210, %232 %234 = load ptr, ptr %11, align 8 %235 = load i32, ptr %13, align 4 %236 = sub nsw i32 %235, 1 %237 = sext i32 %236 to i64 %238 = getelementptr inbounds float, ptr %234, i64 %237 store float %233, ptr %238, align 4 %239 = load ptr, ptr %15, align 8 %240 = load i32, ptr %13, align 4 %241 = sext i32 %240 to i64 %242 = getelementptr inbounds ptr, ptr %239, i64 %241 %243 = load ptr, ptr %242, align 8 %244 = load i32, ptr %13, align 4 %245 = sext i32 %244 to i64 %246 = getelementptr inbounds float, ptr %243, i64 %245 %247 = load float, ptr %246, align 4 %248 = load ptr, ptr %15, align 8 %249 = load i32, ptr %13, align 4 %250 = sub nsw i32 %249, 1 %251 = sext i32 %250 to i64 %252 = getelementptr inbounds ptr, ptr %248, i64 %251 %253 = load ptr, ptr %252, align 8 %254 = load i32, ptr %13, align 4 %255 = sub nsw i32 %254, 1 %256 = sext i32 %255 to i64 %257 = getelementptr inbounds float, ptr %253, i64 %256 %258 = load float, ptr %257, align 4 %259 = fdiv float %247, %258 %260 = load ptr, ptr %12, align 8 %261 = load i32, ptr %13, align 4 %262 = sub nsw i32 %261, 1 %263 = sext i32 %262 to i64 %264 = getelementptr inbounds float, ptr %260, i64 %263 store float %259, ptr %264, align 4 br label %265 265: ; preds = %183 %266 = load i32, ptr %13, align 4 %267 = add nsw i32 %266, 1 store i32 %267, ptr %13, align 4 %268 = load i32, ptr %13, align 4 %269 = load i32, ptr %7, align 4 %270 = add nsw i32 %269, 1 %271 = icmp sle i32 %268, %270 br i1 %271, label %87, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %265 br label %272 272: ; preds = %._crit_edge9, %67 %273 = load ptr, ptr %15, align 8 %274 = load i32, ptr %7, align 4 %275 = mul nsw i32 2, %274 %276 = add nsw i32 %275, 1 %277 = load i32, ptr %7, align 4 %278 = mul nsw i32 2, %277 %279 = add nsw i32 %278, 1 %280 = call i32 @free_matrix(ptr noundef %273, i32 noundef 1, i32 noundef %276, i32 noundef 1, i32 noundef %279) ret void } declare ptr @matrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @free_matrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpfxxkadbv.c' source_filename = "/tmp/tmpfxxkadbv.c" target datalayout = "e-m:e-p270: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/tmpfxxkadbv.c" target datalayout = "e-m:e-p270: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/tmpc8js8ka6.c' source_filename = "/tmp/tmpc8js8ka6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGCLD = dso_local global i32 0, align 4 @SIG_ERR = 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/tmpc8js8ka6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGCLD = dso_local global i32 0, align 4 @SIG_ERR = 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/tmp1hsoxg4b.c' source_filename = "/tmp/tmp1hsoxg4b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"************************************\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"******* read frame extended ********\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"rx_frame_information_eff: 0x%X \0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"identifier 0: 0x%X \0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"identifier 1: 0x%X \0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"identifier 2: 0x%X \0A\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"identifier 3: 0x%X \0A\0A\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"data byte 1: 0x%X \0A\00", align 1 @.str.8 = private unnamed_addr constant [20 x i8] c"data byte 2: 0x%X \0A\00", align 1 @.str.9 = private unnamed_addr constant [20 x i8] c"data byte 3: 0x%X \0A\00", align 1 @.str.10 = private unnamed_addr constant [20 x i8] c"data byte 4: 0x%X \0A\00", align 1 @.str.11 = private unnamed_addr constant [20 x i8] c"data byte 5: 0x%X \0A\00", align 1 @.str.12 = private unnamed_addr constant [20 x i8] c"data byte 6: 0x%X \0A\00", align 1 @.str.13 = private unnamed_addr constant [20 x i8] c"data byte 7: 0x%X \0A\00", align 1 @.str.14 = private unnamed_addr constant [21 x i8] c"data byte 8: 0x%X \0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @read_receive_buffer_extended() #0 { %1 = alloca i8, align 1 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = load i8, ptr inttoptr (i64 4294705168 to ptr), align 1 %6 = zext i8 %5 to i32 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6) %8 = load i8, ptr inttoptr (i64 4294705169 to ptr), align 1 %9 = zext i8 %8 to i32 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %9) %11 = load i8, ptr inttoptr (i64 4294705170 to ptr), align 1 %12 = zext i8 %11 to i32 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %12) %14 = load i8, ptr inttoptr (i64 4294705171 to ptr), align 1 %15 = zext i8 %14 to i32 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %15) %17 = load i8, ptr inttoptr (i64 4294705172 to ptr), align 1 %18 = zext i8 %17 to i32 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %18) %20 = load i8, ptr inttoptr (i64 4294705173 to ptr), align 1 %21 = zext i8 %20 to i32 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %21) %23 = load i8, ptr inttoptr (i64 4294705174 to ptr), align 1 %24 = zext i8 %23 to i32 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %24) %26 = load i8, ptr inttoptr (i64 4294705175 to ptr), align 1 %27 = zext i8 %26 to i32 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %27) %29 = load i8, ptr inttoptr (i64 4294705176 to ptr), align 1 %30 = zext i8 %29 to i32 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %30) %32 = load i8, ptr inttoptr (i64 4294705177 to ptr), align 1 %33 = zext i8 %32 to i32 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %33) %35 = load i8, ptr inttoptr (i64 4294705178 to ptr), align 1 %36 = zext i8 %35 to i32 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %36) %38 = load i8, ptr inttoptr (i64 4294705179 to ptr), align 1 %39 = zext i8 %38 to i32 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %39) %41 = load i8, ptr inttoptr (i64 4294705180 to ptr), align 1 %42 = zext i8 %41 to i32 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %42) 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/tmp1hsoxg4b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"************************************\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"******* read frame extended ********\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"rx_frame_information_eff: 0x%X \0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"identifier 0: 0x%X \0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"identifier 1: 0x%X \0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"identifier 2: 0x%X \0A\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"identifier 3: 0x%X \0A\0A\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"data byte 1: 0x%X \0A\00", align 1 @.str.8 = private unnamed_addr constant [20 x i8] c"data byte 2: 0x%X \0A\00", align 1 @.str.9 = private unnamed_addr constant [20 x i8] c"data byte 3: 0x%X \0A\00", align 1 @.str.10 = private unnamed_addr constant [20 x i8] c"data byte 4: 0x%X \0A\00", align 1 @.str.11 = private unnamed_addr constant [20 x i8] c"data byte 5: 0x%X \0A\00", align 1 @.str.12 = private unnamed_addr constant [20 x i8] c"data byte 6: 0x%X \0A\00", align 1 @.str.13 = private unnamed_addr constant [20 x i8] c"data byte 7: 0x%X \0A\00", align 1 @.str.14 = private unnamed_addr constant [21 x i8] c"data byte 8: 0x%X \0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @read_receive_buffer_extended() #0 { %1 = alloca i8, align 1 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = load i8, ptr inttoptr (i64 4294705168 to ptr), align 1 %6 = zext i8 %5 to i32 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6) %8 = load i8, ptr inttoptr (i64 4294705169 to ptr), align 1 %9 = zext i8 %8 to i32 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %9) %11 = load i8, ptr inttoptr (i64 4294705170 to ptr), align 1 %12 = zext i8 %11 to i32 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %12) %14 = load i8, ptr inttoptr (i64 4294705171 to ptr), align 1 %15 = zext i8 %14 to i32 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %15) %17 = load i8, ptr inttoptr (i64 4294705172 to ptr), align 1 %18 = zext i8 %17 to i32 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %18) %20 = load i8, ptr inttoptr (i64 4294705173 to ptr), align 1 %21 = zext i8 %20 to i32 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %21) %23 = load i8, ptr inttoptr (i64 4294705174 to ptr), align 1 %24 = zext i8 %23 to i32 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %24) %26 = load i8, ptr inttoptr (i64 4294705175 to ptr), align 1 %27 = zext i8 %26 to i32 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %27) %29 = load i8, ptr inttoptr (i64 4294705176 to ptr), align 1 %30 = zext i8 %29 to i32 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %30) %32 = load i8, ptr inttoptr (i64 4294705177 to ptr), align 1 %33 = zext i8 %32 to i32 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %33) %35 = load i8, ptr inttoptr (i64 4294705178 to ptr), align 1 %36 = zext i8 %35 to i32 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %36) %38 = load i8, ptr inttoptr (i64 4294705179 to ptr), align 1 %39 = zext i8 %38 to i32 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %39) %41 = load i8, ptr inttoptr (i64 4294705180 to ptr), align 1 %42 = zext i8 %41 to i32 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %42) 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/tmp1g3_6grk.c' source_filename = "/tmp/tmp1g3_6grk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @rp_fatal(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 @printErr(ptr noundef %3) %5 = load i32, ptr @EXIT_FAILURE, align 4 %6 = call i32 @exit(i32 noundef %5) #3 unreachable } declare i32 @printErr(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/tmp1g3_6grk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @rp_fatal(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 @printErr(ptr noundef %3) %5 = load i32, ptr @EXIT_FAILURE, align 4 %6 = call i32 @exit(i32 noundef %5) #3 unreachable } declare i32 @printErr(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/tmprvvlpdgx.c' source_filename = "/tmp/tmprvvlpdgx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"%s (%zd bytes, %zd bits):\0A \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printType(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = load i64, ptr %4, align 8 %8 = mul i64 %7, 8 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %5, i64 noundef %6, i64 noundef %8) ret void } declare i32 @printf(ptr noundef, ptr noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprvvlpdgx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"%s (%zd bytes, %zd bits):\0A \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printType(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = load i64, ptr %4, align 8 %8 = mul i64 %7, 8 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %5, i64 noundef %6, i64 noundef %8) ret void } declare i32 @printf(ptr noundef, ptr noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppg1b1li7.c' source_filename = "/tmp/tmppg1b1li7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_flatten(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %5, align 4 %19 = sub nsw i32 %17, %18 store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = zext i32 %20 to i64 %22 = call ptr @llvm.stacksave() store ptr %22, ptr %8, align 8 %23 = alloca i64, i64 %21, align 16 store i64 %21, ptr %9, align 8 store i64 0, ptr %10, align 8 store i64 0, ptr %11, align 8 %24 = load i32, ptr %5, align 4 store i32 %24, ptr %12, align 4 store i32 0, ptr %13, align 4 br label %25 25: ; preds = %45, %3 %26 = load i32, ptr %12, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %50 29: ; preds = %25 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %12, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = call i64 @strlen(ptr noundef %34) %36 = load i32, ptr %13, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i64, ptr %23, i64 %37 store i64 %35, ptr %38, align 8 %39 = load i32, ptr %13, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i64, ptr %23, i64 %40 %42 = load i64, ptr %41, align 8 %43 = load i64, ptr %10, align 8 %44 = add i64 %43, %42 store i64 %44, ptr %10, align 8 br label %45 45: ; preds = %29 %46 = load i32, ptr %12, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %12, align 4 %48 = load i32, ptr %13, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %13, align 4 br label %25, !llvm.loop !6 50: ; preds = %25 %51 = load i64, ptr %10, align 8 %52 = load i32, ptr %7, align 4 %53 = sext i32 %52 to i64 %54 = add i64 %51, %53 %55 = call ptr @malloc(i64 noundef %54) store ptr %55, ptr %14, align 8 %56 = load ptr, ptr %14, align 8 %57 = load i64, ptr %10, align 8 %58 = load i32, ptr %7, align 4 %59 = sext i32 %58 to i64 %60 = add i64 %57, %59 %61 = sub i64 %60, 1 %62 = getelementptr inbounds i8, ptr %56, i64 %61 store i8 0, ptr %62, align 1 %63 = load i32, ptr %5, align 4 store i32 %63, ptr %15, align 4 store i32 0, ptr %16, align 4 br label %64 64: ; preds = %103, %50 %65 = load i32, ptr %15, align 4 %66 = load i32, ptr %6, align 4 %67 = sub nsw i32 %66, 1 %68 = icmp slt i32 %65, %67 br i1 %68, label %69, label %108 69: ; preds = %64 %70 = load ptr, ptr %14, align 8 %71 = load i64, ptr %11, align 8 %72 = getelementptr inbounds i8, ptr %70, i64 %71 %73 = load i32, ptr %16, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 %76 = load ptr, ptr %4, align 8 %77 = load i32, ptr %15, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds ptr, ptr %76, i64 %78 %80 = load ptr, ptr %79, align 8 %81 = load i32, ptr %16, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i64, ptr %23, i64 %82 %84 = load i64, ptr %83, align 8 %85 = call i32 @memcpy(ptr noundef %75, ptr noundef %80, i64 noundef %84) %86 = load ptr, ptr %14, align 8 %87 = load i64, ptr %11, align 8 %88 = load i32, ptr %16, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i64, ptr %23, i64 %89 %91 = load i64, ptr %90, align 8 %92 = add i64 %87, %91 %93 = load i32, ptr %16, align 4 %94 = sext i32 %93 to i64 %95 = add i64 %92, %94 %96 = getelementptr inbounds i8, ptr %86, i64 %95 store i8 32, ptr %96, align 1 %97 = load i32, ptr %16, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i64, ptr %23, i64 %98 %100 = load i64, ptr %99, align 8 %101 = load i64, ptr %11, align 8 %102 = add i64 %101, %100 store i64 %102, ptr %11, align 8 br label %103 103: ; preds = %69 %104 = load i32, ptr %15, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %15, align 4 %106 = load i32, ptr %16, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %16, align 4 br label %64, !llvm.loop !8 108: ; preds = %64 %109 = load ptr, ptr %14, align 8 %110 = load i64, ptr %11, align 8 %111 = getelementptr inbounds i8, ptr %109, i64 %110 %112 = load i32, ptr %7, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i8, ptr %111, i64 %113 %115 = getelementptr inbounds i8, ptr %114, i64 -1 %116 = load ptr, ptr %4, align 8 %117 = load i32, ptr %6, align 4 %118 = sub nsw i32 %117, 1 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds ptr, ptr %116, i64 %119 %121 = load ptr, ptr %120, align 8 %122 = load i32, ptr %7, align 4 %123 = sub nsw i32 %122, 1 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i64, ptr %23, i64 %124 %126 = load i64, ptr %125, align 8 %127 = call i32 @memcpy(ptr noundef %115, ptr noundef %121, i64 noundef %126) %128 = load ptr, ptr %14, align 8 %129 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %129) ret ptr %128 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i64 @strlen(ptr noundef) #2 declare ptr @malloc(i64 noundef) #2 declare i32 @memcpy(ptr noundef, ptr noundef, i64 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/tmppg1b1li7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_flatten(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %5, align 4 %19 = sub nsw i32 %17, %18 store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = zext i32 %20 to i64 %22 = call ptr @llvm.stacksave() store ptr %22, ptr %8, align 8 %23 = alloca i64, i64 %21, align 16 store i64 %21, ptr %9, align 8 store i64 0, ptr %10, align 8 store i64 0, ptr %11, align 8 %24 = load i32, ptr %5, align 4 store i32 %24, ptr %12, align 4 store i32 0, ptr %13, align 4 %25 = load i32, ptr %12, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph, label %52 .lr.ph: ; preds = %3 br label %28 28: ; preds = %.lr.ph, %44 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %12, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = call i64 @strlen(ptr noundef %33) %35 = load i32, ptr %13, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i64, ptr %23, i64 %36 store i64 %34, ptr %37, align 8 %38 = load i32, ptr %13, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i64, ptr %23, i64 %39 %41 = load i64, ptr %40, align 8 %42 = load i64, ptr %10, align 8 %43 = add i64 %42, %41 store i64 %43, ptr %10, align 8 br label %44 44: ; preds = %28 %45 = load i32, ptr %12, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %12, align 4 %47 = load i32, ptr %13, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %13, align 4 %49 = load i32, ptr %12, align 4 %50 = load i32, ptr %6, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %52 52: ; preds = %._crit_edge, %3 %53 = load i64, ptr %10, align 8 %54 = load i32, ptr %7, align 4 %55 = sext i32 %54 to i64 %56 = add i64 %53, %55 %57 = call ptr @malloc(i64 noundef %56) store ptr %57, ptr %14, align 8 %58 = load ptr, ptr %14, align 8 %59 = load i64, ptr %10, align 8 %60 = load i32, ptr %7, align 4 %61 = sext i32 %60 to i64 %62 = add i64 %59, %61 %63 = sub i64 %62, 1 %64 = getelementptr inbounds i8, ptr %58, i64 %63 store i8 0, ptr %64, align 1 %65 = load i32, ptr %5, align 4 store i32 %65, ptr %15, align 4 store i32 0, ptr %16, align 4 %66 = load i32, ptr %15, align 4 %67 = load i32, ptr %6, align 4 %68 = sub nsw i32 %67, 1 %69 = icmp slt i32 %66, %68 br i1 %69, label %.lr.ph2, label %113 .lr.ph2: ; preds = %52 br label %70 70: ; preds = %.lr.ph2, %104 %71 = load ptr, ptr %14, align 8 %72 = load i64, ptr %11, align 8 %73 = getelementptr inbounds i8, ptr %71, i64 %72 %74 = load i32, ptr %16, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i8, ptr %73, i64 %75 %77 = load ptr, ptr %4, align 8 %78 = load i32, ptr %15, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds ptr, ptr %77, i64 %79 %81 = load ptr, ptr %80, align 8 %82 = load i32, ptr %16, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i64, ptr %23, i64 %83 %85 = load i64, ptr %84, align 8 %86 = call i32 @memcpy(ptr noundef %76, ptr noundef %81, i64 noundef %85) %87 = load ptr, ptr %14, align 8 %88 = load i64, ptr %11, align 8 %89 = load i32, ptr %16, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i64, ptr %23, i64 %90 %92 = load i64, ptr %91, align 8 %93 = add i64 %88, %92 %94 = load i32, ptr %16, align 4 %95 = sext i32 %94 to i64 %96 = add i64 %93, %95 %97 = getelementptr inbounds i8, ptr %87, i64 %96 store i8 32, ptr %97, align 1 %98 = load i32, ptr %16, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i64, ptr %23, i64 %99 %101 = load i64, ptr %100, align 8 %102 = load i64, ptr %11, align 8 %103 = add i64 %102, %101 store i64 %103, ptr %11, align 8 br label %104 104: ; preds = %70 %105 = load i32, ptr %15, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %15, align 4 %107 = load i32, ptr %16, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %16, align 4 %109 = load i32, ptr %15, align 4 %110 = load i32, ptr %6, align 4 %111 = sub nsw i32 %110, 1 %112 = icmp slt i32 %109, %111 br i1 %112, label %70, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %104 br label %113 113: ; preds = %._crit_edge3, %52 %114 = load ptr, ptr %14, align 8 %115 = load i64, ptr %11, align 8 %116 = getelementptr inbounds i8, ptr %114, i64 %115 %117 = load i32, ptr %7, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i8, ptr %116, i64 %118 %120 = getelementptr inbounds i8, ptr %119, i64 -1 %121 = load ptr, ptr %4, align 8 %122 = load i32, ptr %6, align 4 %123 = sub nsw i32 %122, 1 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds ptr, ptr %121, i64 %124 %126 = load ptr, ptr %125, align 8 %127 = load i32, ptr %7, align 4 %128 = sub nsw i32 %127, 1 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds i64, ptr %23, i64 %129 %131 = load i64, ptr %130, align 8 %132 = call i32 @memcpy(ptr noundef %120, ptr noundef %126, i64 noundef %131) %133 = load ptr, ptr %14, align 8 %134 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %134) ret ptr %133 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i64 @strlen(ptr noundef) #2 declare ptr @malloc(i64 noundef) #2 declare i32 @memcpy(ptr noundef, ptr noundef, i64 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/tmprqpirhv2.c' source_filename = "/tmp/tmprqpirhv2.c" target datalayout = "e-m:e-p270: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/tmprqpirhv2.c" target datalayout = "e-m:e-p270: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/tmpw4bat_qx.c' source_filename = "/tmp/tmpw4bat_qx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replace_file(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @rename(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @rename(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/tmpw4bat_qx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replace_file(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @rename(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @rename(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/tmp7kssxzdv.c' source_filename = "/tmp/tmp7kssxzdv.c" target datalayout = "e-m:e-p270: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/tmp7kssxzdv.c" target datalayout = "e-m:e-p270: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/tmp8f97bhc2.c' source_filename = "/tmp/tmp8f97bhc2.c" target datalayout = "e-m:e-p270: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/tmp8f97bhc2.c" target datalayout = "e-m:e-p270: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/tmp9dj9g4zg.c' source_filename = "/tmp/tmp9dj9g4zg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\09\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %9, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 5 br i1 %5, label %6, label %12 6: ; preds = %3 %7 = call i32 (...) @random() %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7) br label %9 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 br label %3, !llvm.loop !6 12: ; preds = %3 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp9dj9g4zg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\09\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 5 br i1 %4, label %.lr.ph, label %13 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %8 %6 = call i32 (...) @random() %7 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %6) br label %8 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 5 br i1 %12, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %13 13: ; preds = %._crit_edge, %0 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpz31oyatw.c' source_filename = "/tmp/tmpz31oyatw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENXIO = 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/tmpz31oyatw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENXIO = 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/tmphhwj2o5x.c' source_filename = "/tmp/tmphhwj2o5x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"The value pointed to by iptr is %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"The address point to by iptr is %p\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"The address of iptr itself is %p\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fooA(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 %3, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %4) %6 = load ptr, ptr %2, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %6) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphhwj2o5x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"The value pointed to by iptr is %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"The address point to by iptr is %p\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"The address of iptr itself is %p\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fooA(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 %3, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %4) %6 = load ptr, ptr %2, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %6) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb8ov0y7v.c' source_filename = "/tmp/tmpb8ov0y7v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"\1B[2J\1B[1;1H\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ClearScreen() #0 { %1 = call i32 @iprintf(ptr noundef @.str) ret void } declare i32 @iprintf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb8ov0y7v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"\1B[2J\1B[1;1H\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ClearScreen() #0 { %1 = call i32 @iprintf(ptr noundef @.str) ret void } declare i32 @iprintf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeti0_7ww.c' source_filename = "/tmp/tmpeti0_7ww.c" target datalayout = "e-m:e-p270: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/tmpeti0_7ww.c" target datalayout = "e-m:e-p270: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/tmplrqw3x_l.c' source_filename = "/tmp/tmplrqw3x_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplrqw3x_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp530qas5e.c' source_filename = "/tmp/tmp530qas5e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } @mumu_timing.started = internal global i32 0, align 4 @mumu_timing.oldtime = internal global %struct.timeval zeroinitializer, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @mumu_timing() #0 { %1 = alloca %struct.timeval, align 4 %2 = alloca i64, align 8 %3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) %4 = load i32, ptr @mumu_timing.started, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %18 6: ; preds = %0 %7 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %8 = load i32, ptr %7, align 4 %9 = load i32, ptr @mumu_timing.oldtime, align 4 %10 = sub nsw i32 %8, %9 %11 = mul nsw i32 %10, 1000000 %12 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %13 = load i32, ptr %12, align 4 %14 = load i32, ptr getelementptr inbounds (%struct.timeval, ptr @mumu_timing.oldtime, i32 0, i32 1), align 4 %15 = sub nsw i32 %13, %14 %16 = add nsw i32 %11, %15 %17 = sext i32 %16 to i64 store i64 %17, ptr %2, align 8 br label %19 18: ; preds = %0 store i64 0, ptr %2, align 8 store i32 1, ptr @mumu_timing.started, align 4 br label %19 19: ; preds = %18, %6 call void @llvm.memcpy.p0.p0.i64(ptr align 4 @mumu_timing.oldtime, ptr align 4 %1, i64 8, i1 false) %20 = load i64, ptr %2, align 8 ret i64 %20 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp530qas5e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } @mumu_timing.started = internal global i32 0, align 4 @mumu_timing.oldtime = internal global %struct.timeval zeroinitializer, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @mumu_timing() #0 { %1 = alloca %struct.timeval, align 4 %2 = alloca i64, align 8 %3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) %4 = load i32, ptr @mumu_timing.started, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %18 6: ; preds = %0 %7 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %8 = load i32, ptr %7, align 4 %9 = load i32, ptr @mumu_timing.oldtime, align 4 %10 = sub nsw i32 %8, %9 %11 = mul nsw i32 %10, 1000000 %12 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %13 = load i32, ptr %12, align 4 %14 = load i32, ptr getelementptr inbounds (%struct.timeval, ptr @mumu_timing.oldtime, i32 0, i32 1), align 4 %15 = sub nsw i32 %13, %14 %16 = add nsw i32 %11, %15 %17 = sext i32 %16 to i64 store i64 %17, ptr %2, align 8 br label %19 18: ; preds = %0 store i64 0, ptr %2, align 8 store i32 1, ptr @mumu_timing.started, align 4 br label %19 19: ; preds = %18, %6 call void @llvm.memcpy.p0.p0.i64(ptr align 4 @mumu_timing.oldtime, ptr align 4 %1, i64 8, i1 false) %20 = load i64, ptr %2, align 8 ret i64 %20 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphh8bpv49.c' source_filename = "/tmp/tmphh8bpv49.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @WNOHANG = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"Sesion cerrada\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @SigCatcher(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr @WNOHANG, align 4 %5 = call i32 @wait3(ptr noundef null, i32 noundef %4, ptr noundef null) %6 = call i32 @printf(ptr noundef @.str) %7 = load ptr, ptr %2, align 8 ret ptr %7 } declare i32 @wait3(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphh8bpv49.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @WNOHANG = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"Sesion cerrada\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @SigCatcher(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr @WNOHANG, align 4 %5 = call i32 @wait3(ptr noundef null, i32 noundef %4, ptr noundef null) %6 = call i32 @printf(ptr noundef @.str) %7 = load ptr, ptr %2, align 8 ret ptr %7 } declare i32 @wait3(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyomvl54o.c' source_filename = "/tmp/tmpyomvl54o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @funcA() ret i32 %6 } declare i32 @funcA(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyomvl54o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @funcA() ret i32 %6 } declare i32 @funcA(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5251mbf9.c' source_filename = "/tmp/tmp5251mbf9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wsh_strcmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5251mbf9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wsh_strcmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc9eit_4y.c' source_filename = "/tmp/tmpc9eit_4y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 1 %8 = load ptr, ptr %7, align 8 %9 = call i32 @check(ptr noundef %8) ret i32 0 } declare i32 @check(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc9eit_4y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 1 %8 = load ptr, ptr %7, align 8 %9 = call i32 @check(ptr noundef %8) ret i32 0 } declare i32 @check(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcswp8n5q.c' source_filename = "/tmp/tmpcswp8n5q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash_path(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = mul nsw i32 %7, 2 %9 = add nsw i32 %8, 1 %10 = call ptr @malloc(i32 noundef %9) store ptr %10, ptr %3, align 8 %11 = load ptr, ptr %2, align 8 store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %3, align 8 store ptr %12, ptr %5, align 8 br label %13 13: ; preds = %31, %1 %14 = load ptr, ptr %4, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 switch i32 %16, label %25 [ i32 47, label %17 i32 36, label %20 ] 17: ; preds = %13 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %5, align 8 store i8 36, ptr %18, align 1 br label %30 20: ; preds = %13 %21 = load ptr, ptr %4, align 8 %22 = load i8, ptr %21, 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 %25 25: ; preds = %13, %20 %26 = load ptr, ptr %4, align 8 %27 = load i8, ptr %26, align 1 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %5, align 8 store i8 %27, ptr %28, align 1 br label %30 30: ; preds = %25, %17 br label %31 31: ; preds = %30 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %4, align 8 %34 = load i8, ptr %32, align 1 %35 = icmp ne i8 %34, 0 br i1 %35, label %13, label %36, !llvm.loop !6 36: ; preds = %31 %37 = load ptr, ptr %3, align 8 ret ptr %37 } declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcswp8n5q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash_path(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = mul nsw i32 %7, 2 %9 = add nsw i32 %8, 1 %10 = call ptr @malloc(i32 noundef %9) store ptr %10, ptr %3, align 8 %11 = load ptr, ptr %2, align 8 store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %3, align 8 store ptr %12, ptr %5, align 8 br label %13 13: ; preds = %31, %1 %14 = load ptr, ptr %4, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 switch i32 %16, label %25 [ i32 47, label %17 i32 36, label %20 ] 17: ; preds = %13 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %5, align 8 store i8 36, ptr %18, align 1 br label %30 20: ; preds = %13 %21 = load ptr, ptr %4, align 8 %22 = load i8, ptr %21, 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 %25 25: ; preds = %20, %13 %26 = load ptr, ptr %4, align 8 %27 = load i8, ptr %26, align 1 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %5, align 8 store i8 %27, ptr %28, align 1 br label %30 30: ; preds = %25, %17 br label %31 31: ; preds = %30 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %4, align 8 %34 = load i8, ptr %32, align 1 %35 = icmp ne i8 %34, 0 br i1 %35, label %13, label %36, !llvm.loop !6 36: ; preds = %31 %37 = load ptr, ptr %3, align 8 ret ptr %37 } declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpeisp9wik.c' source_filename = "/tmp/tmpeisp9wik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gaussian(float noundef %0, i32 noundef %1, float noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca i32, align 4 %6 = alloca float, align 4 store float %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store float %2, ptr %6, align 4 %7 = load float, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = sdiv i32 %8, 2 %10 = sitofp i32 %9 to float %11 = fsub float %7, %10 %12 = load float, ptr %6, align 4 %13 = fmul float 2.000000e+00, %12 %14 = fdiv float %11, %13 %15 = call i32 @pow(float noundef %14, i32 noundef 2) %16 = sub nsw i32 0, %15 %17 = call float @exp(i32 noundef %16) ret float %17 } declare float @exp(i32 noundef) #1 declare i32 @pow(float 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/tmpeisp9wik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gaussian(float noundef %0, i32 noundef %1, float noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca i32, align 4 %6 = alloca float, align 4 store float %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store float %2, ptr %6, align 4 %7 = load float, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = sdiv i32 %8, 2 %10 = sitofp i32 %9 to float %11 = fsub float %7, %10 %12 = load float, ptr %6, align 4 %13 = fmul float 2.000000e+00, %12 %14 = fdiv float %11, %13 %15 = call i32 @pow(float noundef %14, i32 noundef 2) %16 = sub nsw i32 0, %15 %17 = call float @exp(i32 noundef %16) ret float %17 } declare float @exp(i32 noundef) #1 declare i32 @pow(float 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/tmp2m6lffu3.c' source_filename = "/tmp/tmp2m6lffu3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @process_args(i32 noundef %11, ptr noundef %12, ptr noundef %6, ptr noundef %8, ptr noundef %9, ptr noundef %10) %14 = load i32, ptr %6, align 4 %15 = load double, ptr %9, align 8 %16 = load double, ptr %10, align 8 %17 = call i32 @print_info(i32 noundef %14, double noundef %15, double noundef %16) %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = mul i64 8, %19 %21 = trunc i64 %20 to i32 %22 = call ptr @malloc(i32 noundef %21) store ptr %22, ptr %7, align 8 %23 = load i32, ptr %6, align 4 %24 = load ptr, ptr %8, align 8 %25 = load double, ptr %9, align 8 %26 = load ptr, ptr %7, align 8 %27 = call i32 @l1tf(i32 noundef %23, ptr noundef %24, double noundef %25, ptr noundef %26) %28 = load i32, ptr %6, align 4 %29 = load ptr, ptr %7, align 8 %30 = call i32 @print_dvec(i32 noundef %28, ptr noundef %29) %31 = load ptr, ptr %8, align 8 %32 = call i32 @free(ptr noundef %31) %33 = load ptr, ptr %7, align 8 %34 = call i32 @free(ptr noundef %33) %35 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %35 } declare i32 @process_args(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @print_info(i32 noundef, double noundef, double noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @l1tf(i32 noundef, ptr noundef, double noundef, ptr noundef) #1 declare i32 @print_dvec(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/tmp2m6lffu3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @process_args(i32 noundef %11, ptr noundef %12, ptr noundef %6, ptr noundef %8, ptr noundef %9, ptr noundef %10) %14 = load i32, ptr %6, align 4 %15 = load double, ptr %9, align 8 %16 = load double, ptr %10, align 8 %17 = call i32 @print_info(i32 noundef %14, double noundef %15, double noundef %16) %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = mul i64 8, %19 %21 = trunc i64 %20 to i32 %22 = call ptr @malloc(i32 noundef %21) store ptr %22, ptr %7, align 8 %23 = load i32, ptr %6, align 4 %24 = load ptr, ptr %8, align 8 %25 = load double, ptr %9, align 8 %26 = load ptr, ptr %7, align 8 %27 = call i32 @l1tf(i32 noundef %23, ptr noundef %24, double noundef %25, ptr noundef %26) %28 = load i32, ptr %6, align 4 %29 = load ptr, ptr %7, align 8 %30 = call i32 @print_dvec(i32 noundef %28, ptr noundef %29) %31 = load ptr, ptr %8, align 8 %32 = call i32 @free(ptr noundef %31) %33 = load ptr, ptr %7, align 8 %34 = call i32 @free(ptr noundef %33) %35 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %35 } declare i32 @process_args(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @print_info(i32 noundef, double noundef, double noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @l1tf(i32 noundef, ptr noundef, double noundef, ptr noundef) #1 declare i32 @print_dvec(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/tmp0szi7e37.c' source_filename = "/tmp/tmp0szi7e37.c" target datalayout = "e-m:e-p270: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_5__ = type { i32 } @TRUE = dso_local global i32 0, align 4 @FALSE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xdr_uint32_t(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 = getelementptr inbounds %struct.TYPE_5__, ptr %6, i32 0, i32 0 %8 = load i32, ptr %7, align 4 switch i32 %8, label %19 [ i32 129, label %9 i32 130, label %13 i32 128, label %17 ] 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i32 @XDR_PUTINT32(ptr noundef %10, ptr noundef %11) store i32 %12, ptr %3, align 4 br label %21 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %5, align 8 %16 = call i32 @XDR_GETINT32(ptr noundef %14, ptr noundef %15) store i32 %16, ptr %3, align 4 br label %21 17: ; preds = %2 %18 = load i32, ptr @TRUE, align 4 store i32 %18, ptr %3, align 4 br label %21 19: ; preds = %2 %20 = load i32, ptr @FALSE, align 4 store i32 %20, ptr %3, align 4 br label %21 21: ; preds = %19, %17, %13, %9 %22 = load i32, ptr %3, align 4 ret i32 %22 } declare i32 @XDR_PUTINT32(ptr noundef, ptr noundef) #1 declare i32 @XDR_GETINT32(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/tmp0szi7e37.c" target datalayout = "e-m:e-p270: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_5__ = type { i32 } @TRUE = dso_local global i32 0, align 4 @FALSE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xdr_uint32_t(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 = getelementptr inbounds %struct.TYPE_5__, ptr %6, i32 0, i32 0 %8 = load i32, ptr %7, align 4 switch i32 %8, label %19 [ i32 129, label %9 i32 130, label %13 i32 128, label %17 ] 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i32 @XDR_PUTINT32(ptr noundef %10, ptr noundef %11) store i32 %12, ptr %3, align 4 br label %21 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %5, align 8 %16 = call i32 @XDR_GETINT32(ptr noundef %14, ptr noundef %15) store i32 %16, ptr %3, align 4 br label %21 17: ; preds = %2 %18 = load i32, ptr @TRUE, align 4 store i32 %18, ptr %3, align 4 br label %21 19: ; preds = %2 %20 = load i32, ptr @FALSE, align 4 store i32 %20, ptr %3, align 4 br label %21 21: ; preds = %19, %17, %13, %9 %22 = load i32, ptr %3, align 4 ret i32 %22 } declare i32 @XDR_PUTINT32(ptr noundef, ptr noundef) #1 declare i32 @XDR_GETINT32(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/tmptymx940g.c' source_filename = "/tmp/tmptymx940g.c" target datalayout = "e-m:e-p270: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/tmptymx940g.c" target datalayout = "e-m:e-p270: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/tmpxw_arxmt.c' source_filename = "/tmp/tmpxw_arxmt.c" target datalayout = "e-m:e-p270: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/tmpxw_arxmt.c" target datalayout = "e-m:e-p270: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/tmpwnrz3tol.c' source_filename = "/tmp/tmpwnrz3tol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xts_aes_init(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @aes256_gentab() ret void } declare i32 @aes256_gentab(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwnrz3tol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xts_aes_init(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @aes256_gentab() ret void } declare i32 @aes256_gentab(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr4v2kbnz.c' source_filename = "/tmp/tmpr4v2kbnz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Q_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 = icmp ne ptr %3, null br i1 %4, label %6, label %5 5: ; preds = %1 br label %9 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @free(ptr noundef %7) br label %9 9: ; preds = %6, %5 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/tmpr4v2kbnz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Q_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 = icmp ne ptr %3, null br i1 %4, label %6, label %5 5: ; preds = %1 br label %9 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @free(ptr noundef %7) br label %9 9: ; preds = %6, %5 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/tmp5xxyxeig.c' source_filename = "/tmp/tmp5xxyxeig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_ALL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"Insira um valor em cent\C3\ADmetros: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.3 = private unnamed_addr constant [42 x i8] c"O valor de %.2fcm em polegadas \C3\A9: %.2f\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 %4 = load i32, ptr @LC_ALL, align 4 %5 = call i32 @setlocale(i32 noundef %4, ptr noundef @.str) store float 0.000000e+00, ptr %2, align 4 store float 0.000000e+00, ptr %3, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %8 = load float, ptr %2, align 4 %9 = fpext float %8 to double %10 = fdiv double %9, 2.540000e+00 %11 = fptrunc double %10 to float store float %11, ptr %3, align 4 %12 = load float, ptr %2, align 4 %13 = fpext float %12 to double %14 = load float, ptr %3, align 4 %15 = fpext float %14 to double %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %13, double noundef %15) ret i32 0 } declare i32 @setlocale(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5xxyxeig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_ALL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"Insira um valor em cent\C3\ADmetros: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.3 = private unnamed_addr constant [42 x i8] c"O valor de %.2fcm em polegadas \C3\A9: %.2f\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 %4 = load i32, ptr @LC_ALL, align 4 %5 = call i32 @setlocale(i32 noundef %4, ptr noundef @.str) store float 0.000000e+00, ptr %2, align 4 store float 0.000000e+00, ptr %3, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %7 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %8 = load float, ptr %2, align 4 %9 = fpext float %8 to double %10 = fdiv double %9, 2.540000e+00 %11 = fptrunc double %10 to float store float %11, ptr %3, align 4 %12 = load float, ptr %2, align 4 %13 = fpext float %12 to double %14 = load float, ptr %3, align 4 %15 = fpext float %14 to double %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %13, double noundef %15) ret i32 0 } declare i32 @setlocale(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0b8zt2u4.c' source_filename = "/tmp/tmp0b8zt2u4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @baumcrypt_decrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @baumcrypt_helper1(ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef 0) ret i32 %10 } declare i32 @baumcrypt_helper1(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0b8zt2u4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @baumcrypt_decrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @baumcrypt_helper1(ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef 0) ret i32 %10 } declare i32 @baumcrypt_helper1(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0d1k7gbw.c' source_filename = "/tmp/tmp0d1k7gbw.c" target datalayout = "e-m:e-p270: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/tmp0d1k7gbw.c" target datalayout = "e-m:e-p270: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/tmp4olql33o.c' source_filename = "/tmp/tmp4olql33o.c" target datalayout = "e-m:e-p270: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/tmp4olql33o.c" target datalayout = "e-m:e-p270: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/tmpwe75zwez.c' source_filename = "/tmp/tmpwe75zwez.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"The repeating elements are: \0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c" %d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printRepeating(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 br label %7 7: ; preds = %53, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %56 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 %17 = load i32, ptr %16, align 4 %18 = call i32 @abs(i32 noundef %17) #3 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %12, i64 %19 %21 = load i32, ptr %20, align 4 %22 = icmp sge i32 %21, 0 br i1 %22, label %23, label %44 23: ; preds = %11 %24 = load ptr, ptr %3, align 8 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4 %30 = call i32 @abs(i32 noundef %29) #3 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %24, i64 %31 %33 = load i32, ptr %32, align 4 %34 = sub nsw i32 0, %33 %35 = load ptr, ptr %3, align 8 %36 = load ptr, ptr %3, align 8 %37 = load i32, ptr %5, 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 @abs(i32 noundef %40) #3 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %35, i64 %42 store i32 %34, ptr %43, align 4 br label %52 44: ; preds = %11 %45 = load ptr, ptr %3, align 8 %46 = load i32, ptr %5, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 %50 = call i32 @abs(i32 noundef %49) #3 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %50) br label %52 52: ; preds = %44, %23 br label %53 53: ; preds = %52 %54 = load i32, ptr %5, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %5, align 4 br label %7, !llvm.loop !6 56: ; preds = %7 ret void } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwe75zwez.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"The repeating elements are: \0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c" %d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printRepeating(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %58 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %52 %11 = load ptr, ptr %3, align 8 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = call i32 @abs(i32 noundef %16) #3 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %11, i64 %18 %20 = load i32, ptr %19, align 4 %21 = icmp sge i32 %20, 0 br i1 %21, label %22, label %43 22: ; preds = %10 %23 = load ptr, ptr %3, align 8 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %5, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = call i32 @abs(i32 noundef %28) #3 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %23, i64 %30 %32 = load i32, ptr %31, align 4 %33 = sub nsw i32 0, %32 %34 = load ptr, ptr %3, align 8 %35 = load ptr, ptr %3, align 8 %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 %40 = call i32 @abs(i32 noundef %39) #3 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %34, i64 %41 store i32 %33, ptr %42, align 4 br label %51 43: ; preds = %10 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %5, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 %49 = call i32 @abs(i32 noundef %48) #3 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %49) br label %51 51: ; preds = %43, %22 br label %52 52: ; preds = %51 %53 = load i32, ptr %5, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %5, align 4 %55 = load i32, ptr %5, align 4 %56 = load i32, ptr %4, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %58 58: ; preds = %._crit_edge, %2 ret void } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1c73jqh7.c' source_filename = "/tmp/tmp1c73jqh7.c" target datalayout = "e-m:e-p270: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/tmp1c73jqh7.c" target datalayout = "e-m:e-p270: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/tmprb7yisfh.c' source_filename = "/tmp/tmprb7yisfh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsends(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i64 @wcslen(ptr noundef %8) store i64 %9, ptr %6, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i64 @wcslen(ptr noundef %10) store i64 %11, ptr %7, align 8 %12 = load i64, ptr %6, align 8 %13 = load i64, ptr %7, align 8 %14 = icmp ult i64 %12, %13 br i1 %14, label %15, label %16 15: ; preds = %2 store ptr null, ptr %3, align 8 br label %33 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = load i64, ptr %6, align 8 %19 = load i64, ptr %7, align 8 %20 = sub i64 %18, %19 %21 = getelementptr inbounds i32, ptr %17, i64 %20 %22 = load ptr, ptr %5, align 8 %23 = load i64, ptr %7, align 8 %24 = call i64 @wmemcmp(ptr noundef %21, ptr noundef %22, i64 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %16 br label %31 27: ; preds = %16 %28 = load ptr, ptr %4, align 8 %29 = load i64, ptr %6, align 8 %30 = getelementptr inbounds i32, ptr %28, i64 %29 br label %31 31: ; preds = %27, %26 %32 = phi ptr [ null, %26 ], [ %30, %27 ] store ptr %32, ptr %3, align 8 br label %33 33: ; preds = %31, %15 %34 = load ptr, ptr %3, align 8 ret ptr %34 } declare i64 @wcslen(ptr noundef) #1 declare i64 @wmemcmp(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprb7yisfh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsends(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i64 @wcslen(ptr noundef %8) store i64 %9, ptr %6, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i64 @wcslen(ptr noundef %10) store i64 %11, ptr %7, align 8 %12 = load i64, ptr %6, align 8 %13 = load i64, ptr %7, align 8 %14 = icmp ult i64 %12, %13 br i1 %14, label %15, label %16 15: ; preds = %2 store ptr null, ptr %3, align 8 br label %33 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = load i64, ptr %6, align 8 %19 = load i64, ptr %7, align 8 %20 = sub i64 %18, %19 %21 = getelementptr inbounds i32, ptr %17, i64 %20 %22 = load ptr, ptr %5, align 8 %23 = load i64, ptr %7, align 8 %24 = call i64 @wmemcmp(ptr noundef %21, ptr noundef %22, i64 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %16 br label %31 27: ; preds = %16 %28 = load ptr, ptr %4, align 8 %29 = load i64, ptr %6, align 8 %30 = getelementptr inbounds i32, ptr %28, i64 %29 br label %31 31: ; preds = %27, %26 %32 = phi ptr [ null, %26 ], [ %30, %27 ] store ptr %32, ptr %3, align 8 br label %33 33: ; preds = %31, %15 %34 = load ptr, ptr %3, align 8 ret ptr %34 } declare i64 @wcslen(ptr noundef) #1 declare i64 @wmemcmp(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8u_v5unf.c' source_filename = "/tmp/tmp8u_v5unf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [7 x i8] c"%lf%lf\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"%13.6f\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\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 double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 br label %8 8: ; preds = %31, %0 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %34 12: ; preds = %8 %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5) %14 = load double, ptr %4, align 8 %15 = fmul double %14, 1.000000e+06 store double %15, ptr %4, align 8 %16 = load double, ptr %5, align 8 %17 = fmul double %16, 1.000000e+06 store double %17, ptr %5, align 8 %18 = load double, ptr %4, align 8 %19 = load double, ptr %5, align 8 %20 = call double @solve(double noundef %18, double noundef %19) store double %20, ptr %6, align 8 %21 = load double, ptr %6, align 8 %22 = fdiv double %21, 1.000000e+06 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %22) %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %2, align 4 %26 = sub nsw i32 %25, 1 %27 = icmp ne i32 %24, %26 br i1 %27, label %28, label %30 28: ; preds = %12 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %30 30: ; preds = %28, %12 br label %31 31: ; preds = %30 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %3, align 4 br label %8, !llvm.loop !6 34: ; preds = %8 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare double @solve(double noundef, double 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/tmp8u_v5unf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [7 x i8] c"%lf%lf\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"%13.6f\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\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 double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %36 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %30 %12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5) %13 = load double, ptr %4, align 8 %14 = fmul double %13, 1.000000e+06 store double %14, ptr %4, align 8 %15 = load double, ptr %5, align 8 %16 = fmul double %15, 1.000000e+06 store double %16, ptr %5, align 8 %17 = load double, ptr %4, align 8 %18 = load double, ptr %5, align 8 %19 = call double @solve(double noundef %17, double noundef %18) store double %19, ptr %6, align 8 %20 = load double, ptr %6, align 8 %21 = fdiv double %20, 1.000000e+06 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %21) %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %2, align 4 %25 = sub nsw i32 %24, 1 %26 = icmp ne i32 %23, %25 br i1 %26, label %27, label %29 27: ; preds = %11 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %29 29: ; preds = %27, %11 br label %30 30: ; preds = %29 %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %3, align 4 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %2, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %36 36: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare double @solve(double noundef, double 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/tmpo63hjyus.c' source_filename = "/tmp/tmpo63hjyus.c" target datalayout = "e-m:e-p270: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/tmpo63hjyus.c" target datalayout = "e-m:e-p270: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/tmpbviciniw.c' source_filename = "/tmp/tmpbviciniw.c" target datalayout = "e-m:e-p270: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.buf = private unnamed_addr constant [48 x i8] c"/var/www/html/Testing This Interface$%^&*().txt\00", align 16 @__const.main.clean = private unnamed_addr constant [25 x i8] c"/var/www/html/index.html\00", align 16 @.str = private unnamed_addr constant [12 x i8] c"Sent: '%s'\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Fixed: '%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca [48 x i8], align 16 %9 = alloca [25 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.buf, i64 48, i1 false) %10 = getelementptr inbounds [48 x i8], ptr %8, i64 0, i64 0 %11 = call ptr @os_shell_escape(ptr noundef %10) store ptr %11, ptr %7, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.clean, i64 25, i1 false) %12 = getelementptr inbounds [48 x i8], ptr %8, i64 0, i64 0 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) %14 = load ptr, ptr %7, align 8 %15 = call i32 @printf(ptr noundef @.str.1, ptr noundef %14) %16 = load ptr, ptr %7, align 8 %17 = call i32 @free(ptr noundef %16) %18 = getelementptr inbounds [25 x i8], ptr %9, i64 0, i64 0 %19 = call ptr @os_shell_escape(ptr noundef %18) store ptr %19, ptr %7, align 8 %20 = getelementptr inbounds [25 x i8], ptr %9, i64 0, i64 0 %21 = call i32 @printf(ptr noundef @.str, ptr noundef %20) %22 = load ptr, ptr %7, align 8 %23 = call i32 @printf(ptr noundef @.str.1, ptr noundef %22) 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 @os_shell_escape(ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbviciniw.c" target datalayout = "e-m:e-p270: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.buf = private unnamed_addr constant [48 x i8] c"/var/www/html/Testing This Interface$%^&*().txt\00", align 16 @__const.main.clean = private unnamed_addr constant [25 x i8] c"/var/www/html/index.html\00", align 16 @.str = private unnamed_addr constant [12 x i8] c"Sent: '%s'\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Fixed: '%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca [48 x i8], align 16 %9 = alloca [25 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.buf, i64 48, i1 false) %10 = getelementptr inbounds [48 x i8], ptr %8, i64 0, i64 0 %11 = call ptr @os_shell_escape(ptr noundef %10) store ptr %11, ptr %7, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.clean, i64 25, i1 false) %12 = getelementptr inbounds [48 x i8], ptr %8, i64 0, i64 0 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) %14 = load ptr, ptr %7, align 8 %15 = call i32 @printf(ptr noundef @.str.1, ptr noundef %14) %16 = load ptr, ptr %7, align 8 %17 = call i32 @free(ptr noundef %16) %18 = getelementptr inbounds [25 x i8], ptr %9, i64 0, i64 0 %19 = call ptr @os_shell_escape(ptr noundef %18) store ptr %19, ptr %7, align 8 %20 = getelementptr inbounds [25 x i8], ptr %9, i64 0, i64 0 %21 = call i32 @printf(ptr noundef @.str, ptr noundef %20) %22 = load ptr, ptr %7, align 8 %23 = call i32 @printf(ptr noundef @.str.1, ptr noundef %22) 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 @os_shell_escape(ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm3q_7wp5.c' source_filename = "/tmp/tmpm3q_7wp5.c" target datalayout = "e-m:e-p270: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/tmpm3q_7wp5.c" target datalayout = "e-m:e-p270: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/tmph3vzro7o.c' source_filename = "/tmp/tmph3vzro7o.c" target datalayout = "e-m:e-p270: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/tmph3vzro7o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_k82yesy.c' source_filename = "/tmp/tmp_k82yesy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BatchInterpolatedAll3DMirrWarp(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, i64 noundef %7, double noundef %8, double noundef %9, double noundef %10, ptr noundef %11, double noundef %12, double noundef %13, double noundef %14, ptr noundef %15, double noundef %16, double noundef %17, double noundef %18, ptr noundef %19, i64 noundef %20) #0 { %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca i64, align 8 %28 = alloca i64, align 8 %29 = alloca i64, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca ptr, align 8 %34 = alloca double, align 8 %35 = alloca double, align 8 %36 = alloca double, align 8 %37 = alloca ptr, align 8 %38 = alloca double, align 8 %39 = alloca double, align 8 %40 = alloca double, align 8 %41 = alloca ptr, align 8 %42 = alloca i64, align 8 %43 = alloca double, align 8 %44 = alloca double, align 8 %45 = alloca double, align 8 %46 = alloca double, align 8 %47 = alloca double, align 8 %48 = alloca double, align 8 %49 = alloca i64, align 8 %50 = alloca i64, align 8 %51 = alloca i64, align 8 %52 = alloca i64, align 8 store ptr %0, ptr %22, align 8 store ptr %1, ptr %23, align 8 store ptr %2, ptr %24, align 8 store ptr %3, ptr %25, align 8 store ptr %4, ptr %26, align 8 store i64 %5, ptr %27, align 8 store i64 %6, ptr %28, align 8 store i64 %7, ptr %29, align 8 store double %8, ptr %30, align 8 store double %9, ptr %31, align 8 store double %10, ptr %32, align 8 store ptr %11, ptr %33, align 8 store double %12, ptr %34, align 8 store double %13, ptr %35, align 8 store double %14, ptr %36, align 8 store ptr %15, ptr %37, align 8 store double %16, ptr %38, align 8 store double %17, ptr %39, align 8 store double %18, ptr %40, align 8 store ptr %19, ptr %41, align 8 store i64 %20, ptr %42, align 8 store i64 0, ptr %49, align 8 store i64 0, ptr %52, align 8 br label %53 53: ; preds = %149, %21 %54 = load i64, ptr %52, align 8 %55 = sitofp i64 %54 to double %56 = load double, ptr %38, align 8 %57 = fcmp olt double %55, %56 br i1 %57, label %58, label %152 58: ; preds = %53 store i64 0, ptr %51, align 8 br label %59 59: ; preds = %145, %58 %60 = load i64, ptr %51, align 8 %61 = sitofp i64 %60 to double %62 = load double, ptr %34, align 8 %63 = fcmp olt double %61, %62 br i1 %63, label %64, label %148 64: ; preds = %59 store i64 0, ptr %50, align 8 br label %65 65: ; preds = %141, %64 %66 = load i64, ptr %50, align 8 %67 = sitofp i64 %66 to double %68 = load double, ptr %30, align 8 %69 = fcmp olt double %67, %68 br i1 %69, label %70, label %144 70: ; preds = %65 %71 = load i64, ptr %50, align 8 %72 = sitofp i64 %71 to float %73 = load ptr, ptr %33, align 8 %74 = load i64, ptr %49, align 8 %75 = getelementptr inbounds float, ptr %73, i64 %74 %76 = load float, ptr %75, align 4 %77 = fadd float %72, %76 %78 = fpext float %77 to double %79 = load double, ptr %31, align 8 %80 = fsub double %78, %79 %81 = load double, ptr %32, align 8 %82 = fdiv double %80, %81 store double %82, ptr %43, align 8 %83 = load i64, ptr %51, align 8 %84 = sitofp i64 %83 to float %85 = load ptr, ptr %37, align 8 %86 = load i64, ptr %49, align 8 %87 = getelementptr inbounds float, ptr %85, i64 %86 %88 = load float, ptr %87, align 4 %89 = fadd float %84, %88 %90 = fpext float %89 to double %91 = load double, ptr %35, align 8 %92 = fsub double %90, %91 %93 = load double, ptr %36, align 8 %94 = fdiv double %92, %93 store double %94, ptr %44, align 8 %95 = load i64, ptr %52, align 8 %96 = sitofp i64 %95 to float %97 = load ptr, ptr %41, align 8 %98 = load i64, ptr %49, align 8 %99 = getelementptr inbounds float, ptr %97, i64 %98 %100 = load float, ptr %99, align 4 %101 = fadd float %96, %100 %102 = fpext float %101 to double %103 = load double, ptr %39, align 8 %104 = fsub double %102, %103 %105 = load double, ptr %40, align 8 %106 = fdiv double %104, %105 store double %106, ptr %45, align 8 %107 = load ptr, ptr %26, align 8 %108 = load i64, ptr %27, align 8 %109 = load i64, ptr %28, align 8 %110 = load i64, ptr %29, align 8 %111 = load double, ptr %43, align 8 %112 = load double, ptr %44, align 8 %113 = load double, ptr %45, align 8 %114 = load i64, ptr %42, align 8 %115 = call float @InterpolatedAll3DMirr(ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %107, i64 noundef %108, i64 noundef %109, i64 noundef %110, double noundef %111, double noundef %112, double noundef %113, i64 noundef %114) %116 = load ptr, ptr %22, align 8 %117 = load i64, ptr %49, align 8 %118 = getelementptr inbounds float, ptr %116, i64 %117 store float %115, ptr %118, align 4 %119 = load double, ptr %46, align 8 %120 = load double, ptr %32, align 8 %121 = fdiv double %119, %120 %122 = fptrunc double %121 to float %123 = load ptr, ptr %23, align 8 %124 = load i64, ptr %49, align 8 %125 = getelementptr inbounds float, ptr %123, i64 %124 store float %122, ptr %125, align 4 %126 = load double, ptr %47, align 8 %127 = load double, ptr %36, align 8 %128 = fdiv double %126, %127 %129 = fptrunc double %128 to float %130 = load ptr, ptr %24, align 8 %131 = load i64, ptr %49, align 8 %132 = getelementptr inbounds float, ptr %130, i64 %131 store float %129, ptr %132, align 4 %133 = load double, ptr %48, align 8 %134 = load double, ptr %40, align 8 %135 = fdiv double %133, %134 %136 = fptrunc double %135 to float %137 = load ptr, ptr %25, align 8 %138 = load i64, ptr %49, align 8 %139 = add nsw i64 %138, 1 store i64 %139, ptr %49, align 8 %140 = getelementptr inbounds float, ptr %137, i64 %138 store float %136, ptr %140, align 4 br label %141 141: ; preds = %70 %142 = load i64, ptr %50, align 8 %143 = add nsw i64 %142, 1 store i64 %143, ptr %50, align 8 br label %65, !llvm.loop !6 144: ; preds = %65 br label %145 145: ; preds = %144 %146 = load i64, ptr %51, align 8 %147 = add nsw i64 %146, 1 store i64 %147, ptr %51, align 8 br label %59, !llvm.loop !8 148: ; preds = %59 br label %149 149: ; preds = %148 %150 = load i64, ptr %52, align 8 %151 = add nsw i64 %150, 1 store i64 %151, ptr %52, align 8 br label %53, !llvm.loop !9 152: ; preds = %53 ret void } declare float @InterpolatedAll3DMirr(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, double noundef, double noundef, double noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_k82yesy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BatchInterpolatedAll3DMirrWarp(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6, i64 noundef %7, double noundef %8, double noundef %9, double noundef %10, ptr noundef %11, double noundef %12, double noundef %13, double noundef %14, ptr noundef %15, double noundef %16, double noundef %17, double noundef %18, ptr noundef %19, i64 noundef %20) #0 { %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca i64, align 8 %28 = alloca i64, align 8 %29 = alloca i64, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca ptr, align 8 %34 = alloca double, align 8 %35 = alloca double, align 8 %36 = alloca double, align 8 %37 = alloca ptr, align 8 %38 = alloca double, align 8 %39 = alloca double, align 8 %40 = alloca double, align 8 %41 = alloca ptr, align 8 %42 = alloca i64, align 8 %43 = alloca double, align 8 %44 = alloca double, align 8 %45 = alloca double, align 8 %46 = alloca double, align 8 %47 = alloca double, align 8 %48 = alloca double, align 8 %49 = alloca i64, align 8 %50 = alloca i64, align 8 %51 = alloca i64, align 8 %52 = alloca i64, align 8 store ptr %0, ptr %22, align 8 store ptr %1, ptr %23, align 8 store ptr %2, ptr %24, align 8 store ptr %3, ptr %25, align 8 store ptr %4, ptr %26, align 8 store i64 %5, ptr %27, align 8 store i64 %6, ptr %28, align 8 store i64 %7, ptr %29, align 8 store double %8, ptr %30, align 8 store double %9, ptr %31, align 8 store double %10, ptr %32, align 8 store ptr %11, ptr %33, align 8 store double %12, ptr %34, align 8 store double %13, ptr %35, align 8 store double %14, ptr %36, align 8 store ptr %15, ptr %37, align 8 store double %16, ptr %38, align 8 store double %17, ptr %39, align 8 store double %18, ptr %40, align 8 store ptr %19, ptr %41, align 8 store i64 %20, ptr %42, align 8 store i64 0, ptr %49, align 8 store i64 0, ptr %52, align 8 %53 = load i64, ptr %52, align 8 %54 = sitofp i64 %53 to double %55 = load double, ptr %38, align 8 %56 = fcmp olt double %54, %55 br i1 %56, label %.lr.ph5, label %161 .lr.ph5: ; preds = %21 br label %57 57: ; preds = %.lr.ph5, %154 store i64 0, ptr %51, align 8 %58 = load i64, ptr %51, align 8 %59 = sitofp i64 %58 to double %60 = load double, ptr %34, align 8 %61 = fcmp olt double %59, %60 br i1 %61, label %.lr.ph2, label %153 .lr.ph2: ; preds = %57 br label %62 62: ; preds = %.lr.ph2, %146 store i64 0, ptr %50, align 8 %63 = load i64, ptr %50, align 8 %64 = sitofp i64 %63 to double %65 = load double, ptr %30, align 8 %66 = fcmp olt double %64, %65 br i1 %66, label %.lr.ph, label %145 .lr.ph: ; preds = %62 br label %67 67: ; preds = %.lr.ph, %138 %68 = load i64, ptr %50, align 8 %69 = sitofp i64 %68 to float %70 = load ptr, ptr %33, align 8 %71 = load i64, ptr %49, align 8 %72 = getelementptr inbounds float, ptr %70, i64 %71 %73 = load float, ptr %72, align 4 %74 = fadd float %69, %73 %75 = fpext float %74 to double %76 = load double, ptr %31, align 8 %77 = fsub double %75, %76 %78 = load double, ptr %32, align 8 %79 = fdiv double %77, %78 store double %79, ptr %43, align 8 %80 = load i64, ptr %51, align 8 %81 = sitofp i64 %80 to float %82 = load ptr, ptr %37, align 8 %83 = load i64, ptr %49, align 8 %84 = getelementptr inbounds float, ptr %82, i64 %83 %85 = load float, ptr %84, align 4 %86 = fadd float %81, %85 %87 = fpext float %86 to double %88 = load double, ptr %35, align 8 %89 = fsub double %87, %88 %90 = load double, ptr %36, align 8 %91 = fdiv double %89, %90 store double %91, ptr %44, align 8 %92 = load i64, ptr %52, align 8 %93 = sitofp i64 %92 to float %94 = load ptr, ptr %41, align 8 %95 = load i64, ptr %49, align 8 %96 = getelementptr inbounds float, ptr %94, i64 %95 %97 = load float, ptr %96, align 4 %98 = fadd float %93, %97 %99 = fpext float %98 to double %100 = load double, ptr %39, align 8 %101 = fsub double %99, %100 %102 = load double, ptr %40, align 8 %103 = fdiv double %101, %102 store double %103, ptr %45, align 8 %104 = load ptr, ptr %26, align 8 %105 = load i64, ptr %27, align 8 %106 = load i64, ptr %28, align 8 %107 = load i64, ptr %29, align 8 %108 = load double, ptr %43, align 8 %109 = load double, ptr %44, align 8 %110 = load double, ptr %45, align 8 %111 = load i64, ptr %42, align 8 %112 = call float @InterpolatedAll3DMirr(ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %104, i64 noundef %105, i64 noundef %106, i64 noundef %107, double noundef %108, double noundef %109, double noundef %110, i64 noundef %111) %113 = load ptr, ptr %22, align 8 %114 = load i64, ptr %49, align 8 %115 = getelementptr inbounds float, ptr %113, i64 %114 store float %112, ptr %115, align 4 %116 = load double, ptr %46, align 8 %117 = load double, ptr %32, align 8 %118 = fdiv double %116, %117 %119 = fptrunc double %118 to float %120 = load ptr, ptr %23, align 8 %121 = load i64, ptr %49, align 8 %122 = getelementptr inbounds float, ptr %120, i64 %121 store float %119, ptr %122, align 4 %123 = load double, ptr %47, align 8 %124 = load double, ptr %36, align 8 %125 = fdiv double %123, %124 %126 = fptrunc double %125 to float %127 = load ptr, ptr %24, align 8 %128 = load i64, ptr %49, align 8 %129 = getelementptr inbounds float, ptr %127, i64 %128 store float %126, ptr %129, align 4 %130 = load double, ptr %48, align 8 %131 = load double, ptr %40, align 8 %132 = fdiv double %130, %131 %133 = fptrunc double %132 to float %134 = load ptr, ptr %25, align 8 %135 = load i64, ptr %49, align 8 %136 = add nsw i64 %135, 1 store i64 %136, ptr %49, align 8 %137 = getelementptr inbounds float, ptr %134, i64 %135 store float %133, ptr %137, align 4 br label %138 138: ; preds = %67 %139 = load i64, ptr %50, align 8 %140 = add nsw i64 %139, 1 store i64 %140, ptr %50, align 8 %141 = load i64, ptr %50, align 8 %142 = sitofp i64 %141 to double %143 = load double, ptr %30, align 8 %144 = fcmp olt double %142, %143 br i1 %144, label %67, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %138 br label %145 145: ; preds = %._crit_edge, %62 br label %146 146: ; preds = %145 %147 = load i64, ptr %51, align 8 %148 = add nsw i64 %147, 1 store i64 %148, ptr %51, align 8 %149 = load i64, ptr %51, align 8 %150 = sitofp i64 %149 to double %151 = load double, ptr %34, align 8 %152 = fcmp olt double %150, %151 br i1 %152, label %62, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %146 br label %153 153: ; preds = %._crit_edge3, %57 br label %154 154: ; preds = %153 %155 = load i64, ptr %52, align 8 %156 = add nsw i64 %155, 1 store i64 %156, ptr %52, align 8 %157 = load i64, ptr %52, align 8 %158 = sitofp i64 %157 to double %159 = load double, ptr %38, align 8 %160 = fcmp olt double %158, %159 br i1 %160, label %57, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %154 br label %161 161: ; preds = %._crit_edge6, %21 ret void } declare float @InterpolatedAll3DMirr(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, double noundef, double noundef, double noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpqqvuddf4.c' source_filename = "/tmp/tmpqqvuddf4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @panel_stack_update() #0 { %1 = call i32 (...) @update_panels() ret void } declare i32 @update_panels(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqqvuddf4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @panel_stack_update() #0 { %1 = call i32 (...) @update_panels() ret void } declare i32 @update_panels(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyy7oc_q2.c' source_filename = "/tmp/tmpyy7oc_q2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"Write Error\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"Read Error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @I2CReadReg8(i32 noundef %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #0 { %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca [8 x i8], align 1 %8 = alloca [8 x i8], align 1 store i32 %0, ptr %4, align 4 store i8 %1, ptr %5, align 1 store i8 %2, ptr %6, align 1 %9 = load i8, ptr %6, align 1 %10 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0 store i8 %9, ptr %10, align 1 %11 = load i32, ptr %4, align 4 %12 = load i8, ptr %5, align 1 %13 = call i32 @setI2cAddress(i32 noundef %11, i8 noundef zeroext %12) %14 = load i32, ptr %4, align 4 %15 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0 %16 = call i32 @write(i32 noundef %14, ptr noundef %15, i32 noundef 1) %17 = icmp ne i32 %16, 1 br i1 %17, label %18, label %20 18: ; preds = %3 %19 = call i32 @perror(ptr noundef @.str) br label %20 20: ; preds = %18, %3 %21 = load i32, ptr %4, align 4 %22 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0 %23 = call i32 @read(i32 noundef %21, ptr noundef %22, i32 noundef 8) %24 = icmp ne i32 %23, 8 br i1 %24, label %25, label %27 25: ; preds = %20 %26 = call i32 @perror(ptr noundef @.str.1) br label %27 27: ; preds = %25, %20 %28 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0 %29 = load i8, ptr %28, align 1 ret i8 %29 } declare i32 @setI2cAddress(i32 noundef, i8 noundef zeroext) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyy7oc_q2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"Write Error\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"Read Error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @I2CReadReg8(i32 noundef %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #0 { %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca [8 x i8], align 1 %8 = alloca [8 x i8], align 1 store i32 %0, ptr %4, align 4 store i8 %1, ptr %5, align 1 store i8 %2, ptr %6, align 1 %9 = load i8, ptr %6, align 1 %10 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0 store i8 %9, ptr %10, align 1 %11 = load i32, ptr %4, align 4 %12 = load i8, ptr %5, align 1 %13 = call i32 @setI2cAddress(i32 noundef %11, i8 noundef zeroext %12) %14 = load i32, ptr %4, align 4 %15 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0 %16 = call i32 @write(i32 noundef %14, ptr noundef %15, i32 noundef 1) %17 = icmp ne i32 %16, 1 br i1 %17, label %18, label %20 18: ; preds = %3 %19 = call i32 @perror(ptr noundef @.str) br label %20 20: ; preds = %18, %3 %21 = load i32, ptr %4, align 4 %22 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0 %23 = call i32 @read(i32 noundef %21, ptr noundef %22, i32 noundef 8) %24 = icmp ne i32 %23, 8 br i1 %24, label %25, label %27 25: ; preds = %20 %26 = call i32 @perror(ptr noundef @.str.1) br label %27 27: ; preds = %25, %20 %28 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0 %29 = load i8, ptr %28, align 1 ret i8 %29 } declare i32 @setI2cAddress(i32 noundef, i8 noundef zeroext) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppmv8nc0h.c' source_filename = "/tmp/tmppmv8nc0h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @errorcheck2d(i32 noundef %0, i32 noundef %1, double noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca double, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store double %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %11, align 4 store double 0.000000e+00, ptr %12, align 8 store i32 0, ptr %9, align 4 br label %14 14: ; preds = %59, %4 %15 = load i32, ptr %9, align 4 %16 = load i32, ptr %5, align 4 %17 = sub nsw i32 %16, 1 %18 = icmp sle i32 %15, %17 br i1 %18, label %19, label %62 19: ; preds = %14 store i32 0, ptr %10, align 4 br label %20 20: ; preds = %55, %19 %21 = load i32, ptr %10, align 4 %22 = load i32, ptr %6, align 4 %23 = sub nsw i32 %22, 1 %24 = icmp sle i32 %21, %23 br i1 %24, label %25, label %58 25: ; preds = %20 %26 = load i32, ptr %11, align 4 %27 = mul nsw i32 %26, 7141 %28 = add nsw i32 %27, 54773 %29 = srem i32 %28, 259200 store i32 %29, ptr %11, align 4 %30 = sitofp i32 %29 to double %31 = load ptr, ptr %8, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = load i32, ptr %10, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds double, ptr %35, i64 %37 %39 = load double, ptr %38, align 8 %40 = load double, ptr %7, align 8 %41 = fmul double %39, %40 %42 = fneg double %41 %43 = call double @llvm.fmuladd.f64(double %30, double 0x3ED02E85C0898B71, double %42) store double %43, ptr %13, align 8 %44 = load double, ptr %12, align 8 %45 = load double, ptr %13, align 8 %46 = call double @llvm.fabs.f64(double %45) %47 = fcmp ogt double %44, %46 br i1 %47, label %48, label %50 48: ; preds = %25 %49 = load double, ptr %12, align 8 br label %53 50: ; preds = %25 %51 = load double, ptr %13, align 8 %52 = call double @llvm.fabs.f64(double %51) br label %53 53: ; preds = %50, %48 %54 = phi double [ %49, %48 ], [ %52, %50 ] store double %54, ptr %12, align 8 br label %55 55: ; preds = %53 %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 br label %20, !llvm.loop !6 58: ; preds = %20 br label %59 59: ; preds = %58 %60 = load i32, ptr %9, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %9, align 4 br label %14, !llvm.loop !8 62: ; preds = %14 %63 = load double, ptr %12, align 8 ret double %63 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmppmv8nc0h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @errorcheck2d(i32 noundef %0, i32 noundef %1, double noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca double, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store double %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %11, align 4 store double 0.000000e+00, ptr %12, align 8 store i32 0, ptr %9, align 4 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %5, align 4 %16 = sub nsw i32 %15, 1 %17 = icmp sle i32 %14, %16 br i1 %17, label %.lr.ph2, label %68 .lr.ph2: ; preds = %4 br label %18 18: ; preds = %.lr.ph2, %61 store i32 0, ptr %10, align 4 %19 = load i32, ptr %10, align 4 %20 = load i32, ptr %6, align 4 %21 = sub nsw i32 %20, 1 %22 = icmp sle i32 %19, %21 br i1 %22, label %.lr.ph, label %60 .lr.ph: ; preds = %18 br label %23 23: ; preds = %.lr.ph, %53 %24 = load i32, ptr %11, align 4 %25 = mul nsw i32 %24, 7141 %26 = add nsw i32 %25, 54773 %27 = srem i32 %26, 259200 store i32 %27, ptr %11, align 4 %28 = sitofp i32 %27 to double %29 = load ptr, ptr %8, align 8 %30 = load i32, ptr %9, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = load i32, ptr %10, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds double, ptr %33, i64 %35 %37 = load double, ptr %36, align 8 %38 = load double, ptr %7, align 8 %39 = fmul double %37, %38 %40 = fneg double %39 %41 = call double @llvm.fmuladd.f64(double %28, double 0x3ED02E85C0898B71, double %40) store double %41, ptr %13, align 8 %42 = load double, ptr %12, align 8 %43 = load double, ptr %13, align 8 %44 = call double @llvm.fabs.f64(double %43) %45 = fcmp ogt double %42, %44 br i1 %45, label %46, label %48 46: ; preds = %23 %47 = load double, ptr %12, align 8 br label %51 48: ; preds = %23 %49 = load double, ptr %13, align 8 %50 = call double @llvm.fabs.f64(double %49) br label %51 51: ; preds = %48, %46 %52 = phi double [ %47, %46 ], [ %50, %48 ] store double %52, ptr %12, align 8 br label %53 53: ; preds = %51 %54 = load i32, ptr %10, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %10, align 4 %56 = load i32, ptr %10, align 4 %57 = load i32, ptr %6, align 4 %58 = sub nsw i32 %57, 1 %59 = icmp sle i32 %56, %58 br i1 %59, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %53 br label %60 60: ; preds = %._crit_edge, %18 br label %61 61: ; preds = %60 %62 = load i32, ptr %9, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %9, align 4 %64 = load i32, ptr %9, align 4 %65 = load i32, ptr %5, align 4 %66 = sub nsw i32 %65, 1 %67 = icmp sle i32 %64, %66 br i1 %67, label %18, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %61 br label %68 68: ; preds = %._crit_edge3, %4 %69 = load double, ptr %12, align 8 ret double %69 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpa9g4mmgo.c' source_filename = "/tmp/tmpa9g4mmgo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @AN_split_string_c(ptr noundef %0, i8 noundef signext %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %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 i32, align 4 store ptr %0, ptr %6, align 8 store i8 %1, ptr %7, align 1 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store ptr null, ptr %13, align 8 store i32 1, ptr %16, align 4 %22 = load ptr, ptr %6, align 8 store ptr %22, ptr %12, align 8 br label %23 23: ; preds = %74, %5 %24 = load ptr, ptr %12, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %77 28: ; preds = %23 %29 = load ptr, ptr %8, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %36 31: ; preds = %28 %32 = load ptr, ptr %8, align 8 %33 = load ptr, ptr %12, align 8 %34 = load i8, ptr %33, align 1 %35 = call ptr @strchr(ptr noundef %32, i8 noundef signext %34) store ptr %35, ptr %13, align 8 br label %36 36: ; preds = %31, %28 %37 = load ptr, ptr %13, align 8 %38 = icmp ne ptr %37, null br i1 %38, label %39, label %62 39: ; preds = %36 %40 = load ptr, ptr %12, align 8 %41 = getelementptr inbounds i8, ptr %40, i32 1 store ptr %41, ptr %12, align 8 br label %42 42: ; preds = %58, %39 %43 = load ptr, ptr %12, align 8 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = load ptr, ptr %13, align 8 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp ne i32 %45, %48 br i1 %49, label %50, label %55 50: ; preds = %42 %51 = load ptr, ptr %12, align 8 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp ne i32 %53, 0 br label %55 55: ; preds = %50, %42 %56 = phi i1 [ false, %42 ], [ %54, %50 ] br i1 %56, label %57, label %61 57: ; preds = %55 br label %58 58: ; preds = %57 %59 = load ptr, ptr %12, align 8 %60 = getelementptr inbounds i8, ptr %59, i32 1 store ptr %60, ptr %12, align 8 br label %42, !llvm.loop !6 61: ; preds = %55 br label %73 62: ; preds = %36 %63 = load ptr, ptr %12, align 8 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = load i8, ptr %7, align 1 %67 = sext i8 %66 to i32 %68 = icmp eq i32 %65, %67 br i1 %68, label %69, label %72 69: ; preds = %62 %70 = load i32, ptr %16, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %16, align 4 br label %72 72: ; preds = %69, %62 br label %73 73: ; preds = %72, %61 br label %74 74: ; preds = %73 %75 = load ptr, ptr %12, align 8 %76 = getelementptr inbounds i8, ptr %75, i32 1 store ptr %76, ptr %12, align 8 br label %23, !llvm.loop !8 77: ; preds = %23 %78 = load ptr, ptr %10, align 8 %79 = icmp ne ptr %78, null br i1 %79, label %80, label %83 80: ; preds = %77 %81 = load i32, ptr %16, align 4 %82 = load ptr, ptr %10, align 8 store i32 %81, ptr %82, align 4 br label %83 83: ; preds = %80, %77 %84 = load i32, ptr %16, align 4 %85 = add nsw i32 %84, 1 %86 = sext i32 %85 to i64 %87 = mul i64 8, %86 %88 = trunc i64 %87 to i32 %89 = call ptr @AN_ne_malloc(i32 noundef %88) store ptr %89, ptr %11, align 8 %90 = load ptr, ptr %11, align 8 %91 = load i32, ptr %16, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds ptr, ptr %90, i64 %92 store ptr null, ptr %93, align 8 store ptr null, ptr %14, align 8 store ptr null, ptr %15, align 8 store ptr null, ptr %13, align 8 store i32 0, ptr %19, align 4 store i32 1, ptr %21, align 4 %94 = load ptr, ptr %6, align 8 store ptr %94, ptr %12, align 8 br label %95 95: ; preds = %230, %83 %96 = load ptr, ptr %12, align 8 %97 = load i8, ptr %96, align 1 %98 = sext i8 %97 to i32 %99 = icmp ne i32 %98, 0 br i1 %99, label %100, label %233 100: ; preds = %95 %101 = load ptr, ptr %8, align 8 %102 = icmp ne ptr %101, null br i1 %102, label %103, label %108 103: ; preds = %100 %104 = load ptr, ptr %8, align 8 %105 = load ptr, ptr %12, align 8 %106 = load i8, ptr %105, align 1 %107 = call ptr @strchr(ptr noundef %104, i8 noundef signext %106) store ptr %107, ptr %13, align 8 br label %108 108: ; preds = %103, %100 %109 = load ptr, ptr %9, align 8 %110 = icmp ne ptr %109, null br i1 %110, label %111, label %117 111: ; preds = %108 %112 = load ptr, ptr %9, align 8 %113 = load ptr, ptr %12, align 8 %114 = load i8, ptr %113, align 1 %115 = call ptr @strchr(ptr noundef %112, i8 noundef signext %114) %116 = icmp ne ptr %115, null br label %117 117: ; preds = %111, %108 %118 = phi i1 [ false, %108 ], [ %116, %111 ] %119 = zext i1 %118 to i32 store i32 %119, ptr %17, align 4 %120 = load ptr, ptr %12, align 8 %121 = load i8, ptr %120, align 1 %122 = sext i8 %121 to i32 %123 = load i8, ptr %7, align 1 %124 = sext i8 %123 to i32 %125 = icmp eq i32 %122, %124 %126 = zext i1 %125 to i32 store i32 %126, ptr %18, align 4 %127 = load i32, ptr %21, align 4 %128 = icmp ne i32 %127, 0 br i1 %128, label %129, label %152 129: ; preds = %117 %130 = load ptr, ptr %13, align 8 %131 = icmp ne ptr %130, null br i1 %131, label %132, label %134 132: ; preds = %129 %133 = load ptr, ptr %12, align 8 store ptr %133, ptr %14, align 8 store i32 1, ptr %20, align 4 store i32 0, ptr %21, align 4 br label %151 134: ; preds = %129 %135 = load i32, ptr %18, align 4 %136 = icmp ne i32 %135, 0 br i1 %136, label %137, label %144 137: ; preds = %134 %138 = call ptr @AN_ne_strdup(ptr noundef @.str) %139 = load ptr, ptr %11, align 8 %140 = load i32, ptr %19, align 4 %141 = add nsw i32 %140, 1 store i32 %141, ptr %19, align 4 %142 = sext i32 %140 to i64 %143 = getelementptr inbounds ptr, ptr %139, i64 %142 store ptr %138, ptr %143, align 8 br label %150 144: ; preds = %134 %145 = load i32, ptr %17, align 4 %146 = icmp ne i32 %145, 0 br i1 %146, label %149, label %147 147: ; preds = %144 %148 = load ptr, ptr %12, align 8 store ptr %148, ptr %15, align 8 store ptr %148, ptr %14, align 8 store i32 1, ptr %20, align 4 store i32 0, ptr %21, align 4 br label %149 149: ; preds = %147, %144 br label %150 150: ; preds = %149, %137 br label %151 151: ; preds = %150, %132 br label %202 152: ; preds = %117 %153 = load ptr, ptr %13, align 8 %154 = icmp ne ptr %153, null br i1 %154, label %155, label %158 155: ; preds = %152 %156 = load i32, ptr %20, align 4 %157 = add nsw i32 %156, 1 store i32 %157, ptr %20, align 4 br label %201 158: ; preds = %152 %159 = load i32, ptr %18, align 4 %160 = icmp ne i32 %159, 0 br i1 %160, label %161, label %194 161: ; preds = %158 %162 = load ptr, ptr %15, align 8 %163 = load ptr, ptr %14, align 8 %164 = ptrtoint ptr %162 to i64 %165 = ptrtoint ptr %163 to i64 %166 = sub i64 %164, %165 %167 = add nsw i64 %166, 1 %168 = trunc i64 %167 to i32 store i32 %168, ptr %20, align 4 %169 = load i32, ptr %20, align 4 %170 = add nsw i32 %169, 1 %171 = call ptr @AN_ne_malloc(i32 noundef %170) %172 = load ptr, ptr %11, align 8 %173 = load i32, ptr %19, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds ptr, ptr %172, i64 %174 store ptr %171, ptr %175, align 8 %176 = load ptr, ptr %11, align 8 %177 = load i32, ptr %19, align 4 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds ptr, ptr %176, i64 %178 %180 = load ptr, ptr %179, align 8 %181 = load ptr, ptr %14, align 8 %182 = load i32, ptr %20, align 4 %183 = call i32 @memcpy(ptr noundef %180, ptr noundef %181, i32 noundef %182) %184 = load ptr, ptr %11, align 8 %185 = load i32, ptr %19, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds ptr, ptr %184, i64 %186 %188 = load ptr, ptr %187, align 8 %189 = load i32, ptr %20, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds i8, ptr %188, i64 %190 store i8 0, ptr %191, align 1 %192 = load i32, ptr %19, align 4 %193 = add nsw i32 %192, 1 store i32 %193, ptr %19, align 4 store i32 1, ptr %21, align 4 br label %200 194: ; preds = %158 %195 = load i32, ptr %17, align 4 %196 = icmp ne i32 %195, 0 br i1 %196, label %199, label %197 197: ; preds = %194 %198 = load ptr, ptr %12, align 8 store ptr %198, ptr %15, align 8 br label %199 199: ; preds = %197, %194 br label %200 200: ; preds = %199, %161 br label %201 201: ; preds = %200, %155 br label %202 202: ; preds = %201, %151 %203 = load ptr, ptr %13, align 8 %204 = icmp ne ptr %203, null br i1 %204, label %205, label %229 205: ; preds = %202 %206 = load ptr, ptr %12, align 8 %207 = getelementptr inbounds i8, ptr %206, i32 1 store ptr %207, ptr %12, align 8 br label %208 208: ; preds = %224, %205 %209 = load ptr, ptr %12, align 8 %210 = load i8, ptr %209, align 1 %211 = sext i8 %210 to i32 %212 = load ptr, ptr %13, align 8 %213 = load i8, ptr %212, align 1 %214 = sext i8 %213 to i32 %215 = icmp ne i32 %211, %214 br i1 %215, label %216, label %221 216: ; preds = %208 %217 = load ptr, ptr %12, align 8 %218 = load i8, ptr %217, align 1 %219 = sext i8 %218 to i32 %220 = icmp ne i32 %219, 0 br label %221 221: ; preds = %216, %208 %222 = phi i1 [ false, %208 ], [ %220, %216 ] br i1 %222, label %223, label %227 223: ; preds = %221 br label %224 224: ; preds = %223 %225 = load ptr, ptr %12, align 8 %226 = getelementptr inbounds i8, ptr %225, i32 1 store ptr %226, ptr %12, align 8 br label %208, !llvm.loop !9 227: ; preds = %221 %228 = load ptr, ptr %12, align 8 store ptr %228, ptr %15, align 8 br label %229 229: ; preds = %227, %202 br label %230 230: ; preds = %229 %231 = load ptr, ptr %12, align 8 %232 = getelementptr inbounds i8, ptr %231, i32 1 store ptr %232, ptr %12, align 8 br label %95, !llvm.loop !10 233: ; preds = %95 %234 = load i32, ptr %21, align 4 %235 = icmp ne i32 %234, 0 br i1 %235, label %236, label %242 236: ; preds = %233 %237 = call ptr @AN_ne_strdup(ptr noundef @.str) %238 = load ptr, ptr %11, align 8 %239 = load i32, ptr %19, align 4 %240 = sext i32 %239 to i64 %241 = getelementptr inbounds ptr, ptr %238, i64 %240 store ptr %237, ptr %241, align 8 br label %273 242: ; preds = %233 %243 = load ptr, ptr %15, align 8 %244 = load ptr, ptr %14, align 8 %245 = ptrtoint ptr %243 to i64 %246 = ptrtoint ptr %244 to i64 %247 = sub i64 %245, %246 %248 = add nsw i64 %247, 1 %249 = trunc i64 %248 to i32 store i32 %249, ptr %20, align 4 %250 = load i32, ptr %20, align 4 %251 = add nsw i32 %250, 1 %252 = call ptr @AN_ne_malloc(i32 noundef %251) %253 = load ptr, ptr %11, align 8 %254 = load i32, ptr %19, align 4 %255 = sext i32 %254 to i64 %256 = getelementptr inbounds ptr, ptr %253, i64 %255 store ptr %252, ptr %256, align 8 %257 = load ptr, ptr %11, align 8 %258 = load i32, ptr %19, align 4 %259 = sext i32 %258 to i64 %260 = getelementptr inbounds ptr, ptr %257, i64 %259 %261 = load ptr, ptr %260, align 8 %262 = load ptr, ptr %14, align 8 %263 = load i32, ptr %20, align 4 %264 = call i32 @memcpy(ptr noundef %261, ptr noundef %262, i32 noundef %263) %265 = load ptr, ptr %11, align 8 %266 = load i32, ptr %19, align 4 %267 = sext i32 %266 to i64 %268 = getelementptr inbounds ptr, ptr %265, i64 %267 %269 = load ptr, ptr %268, align 8 %270 = load i32, ptr %20, align 4 %271 = sext i32 %270 to i64 %272 = getelementptr inbounds i8, ptr %269, i64 %271 store i8 0, ptr %272, align 1 br label %273 273: ; preds = %242, %236 %274 = load ptr, ptr %11, align 8 ret ptr %274 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare ptr @AN_ne_malloc(i32 noundef) #1 declare ptr @AN_ne_strdup(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa9g4mmgo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @AN_split_string_c(ptr noundef %0, i8 noundef signext %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %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 i32, align 4 store ptr %0, ptr %6, align 8 store i8 %1, ptr %7, align 1 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store ptr null, ptr %13, align 8 store i32 1, ptr %16, align 4 %22 = load ptr, ptr %6, align 8 store ptr %22, ptr %12, align 8 %23 = load ptr, ptr %12, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 0 br i1 %26, label %.lr.ph, label %80 .lr.ph: ; preds = %5 br label %27 27: ; preds = %.lr.ph, %73 %28 = load ptr, ptr %8, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %35 30: ; preds = %27 %31 = load ptr, ptr %8, align 8 %32 = load ptr, ptr %12, align 8 %33 = load i8, ptr %32, align 1 %34 = call ptr @strchr(ptr noundef %31, i8 noundef signext %33) store ptr %34, ptr %13, align 8 br label %35 35: ; preds = %30, %27 %36 = load ptr, ptr %13, align 8 %37 = icmp ne ptr %36, null br i1 %37, label %38, label %61 38: ; preds = %35 %39 = load ptr, ptr %12, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 1 store ptr %40, ptr %12, align 8 br label %41 41: ; preds = %57, %38 %42 = load ptr, ptr %12, align 8 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = load ptr, ptr %13, align 8 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp ne i32 %44, %47 br i1 %48, label %49, label %54 49: ; preds = %41 %50 = load ptr, ptr %12, align 8 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp ne i32 %52, 0 br label %54 54: ; preds = %49, %41 %55 = phi i1 [ false, %41 ], [ %53, %49 ] br i1 %55, label %56, label %60 56: ; preds = %54 br label %57 57: ; preds = %56 %58 = load ptr, ptr %12, align 8 %59 = getelementptr inbounds i8, ptr %58, i32 1 store ptr %59, ptr %12, align 8 br label %41, !llvm.loop !6 60: ; preds = %54 br label %72 61: ; preds = %35 %62 = load ptr, ptr %12, align 8 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = load i8, ptr %7, align 1 %66 = sext i8 %65 to i32 %67 = icmp eq i32 %64, %66 br i1 %67, label %68, label %71 68: ; preds = %61 %69 = load i32, ptr %16, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %16, align 4 br label %71 71: ; preds = %68, %61 br label %72 72: ; preds = %71, %60 br label %73 73: ; preds = %72 %74 = load ptr, ptr %12, align 8 %75 = getelementptr inbounds i8, ptr %74, i32 1 store ptr %75, ptr %12, align 8 %76 = load ptr, ptr %12, align 8 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = icmp ne i32 %78, 0 br i1 %79, label %27, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %73 br label %80 80: ; preds = %._crit_edge, %5 %81 = load ptr, ptr %10, align 8 %82 = icmp ne ptr %81, null br i1 %82, label %83, label %86 83: ; preds = %80 %84 = load i32, ptr %16, align 4 %85 = load ptr, ptr %10, align 8 store i32 %84, ptr %85, align 4 br label %86 86: ; preds = %83, %80 %87 = load i32, ptr %16, align 4 %88 = add nsw i32 %87, 1 %89 = sext i32 %88 to i64 %90 = mul i64 8, %89 %91 = trunc i64 %90 to i32 %92 = call ptr @AN_ne_malloc(i32 noundef %91) store ptr %92, ptr %11, align 8 %93 = load ptr, ptr %11, align 8 %94 = load i32, ptr %16, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds ptr, ptr %93, i64 %95 store ptr null, ptr %96, align 8 store ptr null, ptr %14, align 8 store ptr null, ptr %15, align 8 store ptr null, ptr %13, align 8 store i32 0, ptr %19, align 4 store i32 1, ptr %21, align 4 %97 = load ptr, ptr %6, align 8 store ptr %97, ptr %12, align 8 %98 = load ptr, ptr %12, align 8 %99 = load i8, ptr %98, align 1 %100 = sext i8 %99 to i32 %101 = icmp ne i32 %100, 0 br i1 %101, label %.lr.ph2, label %239 .lr.ph2: ; preds = %86 br label %102 102: ; preds = %.lr.ph2, %232 %103 = load ptr, ptr %8, align 8 %104 = icmp ne ptr %103, null br i1 %104, label %105, label %110 105: ; preds = %102 %106 = load ptr, ptr %8, align 8 %107 = load ptr, ptr %12, align 8 %108 = load i8, ptr %107, align 1 %109 = call ptr @strchr(ptr noundef %106, i8 noundef signext %108) store ptr %109, ptr %13, align 8 br label %110 110: ; preds = %105, %102 %111 = load ptr, ptr %9, align 8 %112 = icmp ne ptr %111, null br i1 %112, label %113, label %119 113: ; preds = %110 %114 = load ptr, ptr %9, align 8 %115 = load ptr, ptr %12, align 8 %116 = load i8, ptr %115, align 1 %117 = call ptr @strchr(ptr noundef %114, i8 noundef signext %116) %118 = icmp ne ptr %117, null br label %119 119: ; preds = %113, %110 %120 = phi i1 [ false, %110 ], [ %118, %113 ] %121 = zext i1 %120 to i32 store i32 %121, ptr %17, align 4 %122 = load ptr, ptr %12, align 8 %123 = load i8, ptr %122, align 1 %124 = sext i8 %123 to i32 %125 = load i8, ptr %7, align 1 %126 = sext i8 %125 to i32 %127 = icmp eq i32 %124, %126 %128 = zext i1 %127 to i32 store i32 %128, ptr %18, align 4 %129 = load i32, ptr %21, align 4 %130 = icmp ne i32 %129, 0 br i1 %130, label %131, label %154 131: ; preds = %119 %132 = load ptr, ptr %13, align 8 %133 = icmp ne ptr %132, null br i1 %133, label %134, label %136 134: ; preds = %131 %135 = load ptr, ptr %12, align 8 store ptr %135, ptr %14, align 8 store i32 1, ptr %20, align 4 store i32 0, ptr %21, align 4 br label %153 136: ; preds = %131 %137 = load i32, ptr %18, align 4 %138 = icmp ne i32 %137, 0 br i1 %138, label %139, label %146 139: ; preds = %136 %140 = call ptr @AN_ne_strdup(ptr noundef @.str) %141 = load ptr, ptr %11, align 8 %142 = load i32, ptr %19, align 4 %143 = add nsw i32 %142, 1 store i32 %143, ptr %19, align 4 %144 = sext i32 %142 to i64 %145 = getelementptr inbounds ptr, ptr %141, i64 %144 store ptr %140, ptr %145, align 8 br label %152 146: ; preds = %136 %147 = load i32, ptr %17, align 4 %148 = icmp ne i32 %147, 0 br i1 %148, label %151, label %149 149: ; preds = %146 %150 = load ptr, ptr %12, align 8 store ptr %150, ptr %15, align 8 store ptr %150, ptr %14, align 8 store i32 1, ptr %20, align 4 store i32 0, ptr %21, align 4 br label %151 151: ; preds = %149, %146 br label %152 152: ; preds = %151, %139 br label %153 153: ; preds = %152, %134 br label %204 154: ; preds = %119 %155 = load ptr, ptr %13, align 8 %156 = icmp ne ptr %155, null br i1 %156, label %157, label %160 157: ; preds = %154 %158 = load i32, ptr %20, align 4 %159 = add nsw i32 %158, 1 store i32 %159, ptr %20, align 4 br label %203 160: ; preds = %154 %161 = load i32, ptr %18, align 4 %162 = icmp ne i32 %161, 0 br i1 %162, label %163, label %196 163: ; preds = %160 %164 = load ptr, ptr %15, align 8 %165 = load ptr, ptr %14, align 8 %166 = ptrtoint ptr %164 to i64 %167 = ptrtoint ptr %165 to i64 %168 = sub i64 %166, %167 %169 = add nsw i64 %168, 1 %170 = trunc i64 %169 to i32 store i32 %170, ptr %20, align 4 %171 = load i32, ptr %20, align 4 %172 = add nsw i32 %171, 1 %173 = call ptr @AN_ne_malloc(i32 noundef %172) %174 = load ptr, ptr %11, align 8 %175 = load i32, ptr %19, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds ptr, ptr %174, i64 %176 store ptr %173, ptr %177, align 8 %178 = load ptr, ptr %11, align 8 %179 = load i32, ptr %19, align 4 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds ptr, ptr %178, i64 %180 %182 = load ptr, ptr %181, align 8 %183 = load ptr, ptr %14, align 8 %184 = load i32, ptr %20, align 4 %185 = call i32 @memcpy(ptr noundef %182, ptr noundef %183, i32 noundef %184) %186 = load ptr, ptr %11, align 8 %187 = load i32, ptr %19, align 4 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds ptr, ptr %186, i64 %188 %190 = load ptr, ptr %189, align 8 %191 = load i32, ptr %20, align 4 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds i8, ptr %190, i64 %192 store i8 0, ptr %193, align 1 %194 = load i32, ptr %19, align 4 %195 = add nsw i32 %194, 1 store i32 %195, ptr %19, align 4 store i32 1, ptr %21, align 4 br label %202 196: ; preds = %160 %197 = load i32, ptr %17, align 4 %198 = icmp ne i32 %197, 0 br i1 %198, label %201, label %199 199: ; preds = %196 %200 = load ptr, ptr %12, align 8 store ptr %200, ptr %15, align 8 br label %201 201: ; preds = %199, %196 br label %202 202: ; preds = %201, %163 br label %203 203: ; preds = %202, %157 br label %204 204: ; preds = %203, %153 %205 = load ptr, ptr %13, align 8 %206 = icmp ne ptr %205, null br i1 %206, label %207, label %231 207: ; preds = %204 %208 = load ptr, ptr %12, align 8 %209 = getelementptr inbounds i8, ptr %208, i32 1 store ptr %209, ptr %12, align 8 br label %210 210: ; preds = %226, %207 %211 = load ptr, ptr %12, align 8 %212 = load i8, ptr %211, align 1 %213 = sext i8 %212 to i32 %214 = load ptr, ptr %13, align 8 %215 = load i8, ptr %214, align 1 %216 = sext i8 %215 to i32 %217 = icmp ne i32 %213, %216 br i1 %217, label %218, label %223 218: ; preds = %210 %219 = load ptr, ptr %12, align 8 %220 = load i8, ptr %219, align 1 %221 = sext i8 %220 to i32 %222 = icmp ne i32 %221, 0 br label %223 223: ; preds = %218, %210 %224 = phi i1 [ false, %210 ], [ %222, %218 ] br i1 %224, label %225, label %229 225: ; preds = %223 br label %226 226: ; preds = %225 %227 = load ptr, ptr %12, align 8 %228 = getelementptr inbounds i8, ptr %227, i32 1 store ptr %228, ptr %12, align 8 br label %210, !llvm.loop !9 229: ; preds = %223 %230 = load ptr, ptr %12, align 8 store ptr %230, ptr %15, align 8 br label %231 231: ; preds = %229, %204 br label %232 232: ; preds = %231 %233 = load ptr, ptr %12, align 8 %234 = getelementptr inbounds i8, ptr %233, i32 1 store ptr %234, ptr %12, align 8 %235 = load ptr, ptr %12, align 8 %236 = load i8, ptr %235, align 1 %237 = sext i8 %236 to i32 %238 = icmp ne i32 %237, 0 br i1 %238, label %102, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %232 br label %239 239: ; preds = %._crit_edge3, %86 %240 = load i32, ptr %21, align 4 %241 = icmp ne i32 %240, 0 br i1 %241, label %242, label %248 242: ; preds = %239 %243 = call ptr @AN_ne_strdup(ptr noundef @.str) %244 = load ptr, ptr %11, align 8 %245 = load i32, ptr %19, align 4 %246 = sext i32 %245 to i64 %247 = getelementptr inbounds ptr, ptr %244, i64 %246 store ptr %243, ptr %247, align 8 br label %279 248: ; preds = %239 %249 = load ptr, ptr %15, align 8 %250 = load ptr, ptr %14, align 8 %251 = ptrtoint ptr %249 to i64 %252 = ptrtoint ptr %250 to i64 %253 = sub i64 %251, %252 %254 = add nsw i64 %253, 1 %255 = trunc i64 %254 to i32 store i32 %255, ptr %20, align 4 %256 = load i32, ptr %20, align 4 %257 = add nsw i32 %256, 1 %258 = call ptr @AN_ne_malloc(i32 noundef %257) %259 = load ptr, ptr %11, align 8 %260 = load i32, ptr %19, align 4 %261 = sext i32 %260 to i64 %262 = getelementptr inbounds ptr, ptr %259, i64 %261 store ptr %258, ptr %262, align 8 %263 = load ptr, ptr %11, align 8 %264 = load i32, ptr %19, align 4 %265 = sext i32 %264 to i64 %266 = getelementptr inbounds ptr, ptr %263, i64 %265 %267 = load ptr, ptr %266, align 8 %268 = load ptr, ptr %14, align 8 %269 = load i32, ptr %20, align 4 %270 = call i32 @memcpy(ptr noundef %267, ptr noundef %268, i32 noundef %269) %271 = load ptr, ptr %11, align 8 %272 = load i32, ptr %19, align 4 %273 = sext i32 %272 to i64 %274 = getelementptr inbounds ptr, ptr %271, i64 %273 %275 = load ptr, ptr %274, align 8 %276 = load i32, ptr %20, align 4 %277 = sext i32 %276 to i64 %278 = getelementptr inbounds i8, ptr %275, i64 %277 store i8 0, ptr %278, align 1 br label %279 279: ; preds = %248, %242 %280 = load ptr, ptr %11, align 8 ret ptr %280 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare ptr @AN_ne_malloc(i32 noundef) #1 declare ptr @AN_ne_strdup(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpc_riyosc.c' source_filename = "/tmp/tmpc_riyosc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %34 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = call i32 @partition(ptr noundef %12, i32 noundef %13, i32 noundef %14) store i32 %15, ptr %7, align 4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %7, align 4 %18 = sub nsw i32 %17, 1 %19 = icmp slt i32 %16, %18 br i1 %19, label %20, label %25 20: ; preds = %11 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %7, align 4 %24 = sub nsw i32 %23, 1 call void @qsort(ptr noundef %21, i32 noundef %22, i32 noundef %24) br label %25 25: ; preds = %20, %11 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %33 29: ; preds = %25 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %7, align 4 %32 = load i32, ptr %6, align 4 call void @qsort(ptr noundef %30, i32 noundef %31, i32 noundef %32) br label %33 33: ; preds = %29, %25 br label %34 34: ; preds = %33, %3 ret void } declare i32 @partition(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/tmpc_riyosc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %34 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = call i32 @partition(ptr noundef %12, i32 noundef %13, i32 noundef %14) store i32 %15, ptr %7, align 4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %7, align 4 %18 = sub nsw i32 %17, 1 %19 = icmp slt i32 %16, %18 br i1 %19, label %20, label %25 20: ; preds = %11 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %7, align 4 %24 = sub nsw i32 %23, 1 call void @qsort(ptr noundef %21, i32 noundef %22, i32 noundef %24) br label %25 25: ; preds = %20, %11 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %33 29: ; preds = %25 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %7, align 4 %32 = load i32, ptr %6, align 4 call void @qsort(ptr noundef %30, i32 noundef %31, i32 noundef %32) br label %33 33: ; preds = %29, %25 br label %34 34: ; preds = %33, %3 ret void } declare i32 @partition(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/tmpo93o27_4.c' source_filename = "/tmp/tmpo93o27_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NVX %s, an image \22voxalizer\22.\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"0.0.1\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Usage: %s [options]\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"\0AOptions:\0A\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c" -o\09output OBJ model\09(required)\0A\00", align 1 @.str.5 = private unnamed_addr constant [34 x i8] c" -f\09front TGA image\09\09(required)\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c" -u\09unit\09\09\09(default: 1.0)\0A\00", align 1 @.str.7 = private unnamed_addr constant [35 x i8] c" -d\09depth in units\09\09(default: 1)\0A\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c" -h\09display help\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_help(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %4) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) 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/tmpo93o27_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NVX %s, an image \22voxalizer\22.\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"0.0.1\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Usage: %s [options]\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"\0AOptions:\0A\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c" -o\09output OBJ model\09(required)\0A\00", align 1 @.str.5 = private unnamed_addr constant [34 x i8] c" -f\09front TGA image\09\09(required)\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c" -u\09unit\09\09\09(default: 1.0)\0A\00", align 1 @.str.7 = private unnamed_addr constant [35 x i8] c" -d\09depth in units\09\09(default: 1)\0A\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c" -h\09display help\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_help(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %4) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) 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/tmpq2go43u3.c' source_filename = "/tmp/tmpq2go43u3.c" target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [10 x i32] [i32 2, i32 3, i32 4, i32 5, i32 5, i32 6, i32 5, i32 4, i32 3, i32 2], align 16 @__const.main.b = private unnamed_addr constant [3 x i32] [i32 5, i32 6, i32 5], align 4 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca [3 x i32], align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 40, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.main.b, i64 12, i1 false) %4 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %5 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 0 %6 = call i32 @arrayArray(ptr noundef %4, i32 noundef 10, ptr noundef %5, i32 noundef 3) %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @arrayArray(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq2go43u3.c" target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [10 x i32] [i32 2, i32 3, i32 4, i32 5, i32 5, i32 6, i32 5, i32 4, i32 3, i32 2], align 16 @__const.main.b = private unnamed_addr constant [3 x i32] [i32 5, i32 6, i32 5], align 4 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca [3 x i32], align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 40, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.main.b, i64 12, i1 false) %4 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %5 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 0 %6 = call i32 @arrayArray(ptr noundef %4, i32 noundef 10, ptr noundef %5, i32 noundef 3) %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @arrayArray(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw4iffm9e.c' source_filename = "/tmp/tmpw4iffm9e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = call i32 @foo(ptr noundef %9, i32 noundef 16, ptr noundef %10, i32 noundef %11) %13 = load ptr, ptr %8, align 8 store i32 %12, ptr %13, align 4 ret void } declare i32 @foo(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw4iffm9e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = call i32 @foo(ptr noundef %9, i32 noundef 16, ptr noundef %10, i32 noundef %11) %13 = load ptr, ptr %8, align 8 store i32 %12, ptr %13, align 4 ret void } declare i32 @foo(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt7x0d1pn.c' source_filename = "/tmp/tmpt7x0d1pn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PTRACE_ARCH_PRCTL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @os_arch_prctl(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load i32, ptr @PTRACE_ARCH_PRCTL, align 4 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %6, align 8 %10 = ptrtoint ptr %9 to i64 %11 = load i32, ptr %5, align 4 %12 = call i32 @ptrace(i32 noundef %7, i32 noundef %8, i64 noundef %10, i32 noundef %11) ret i32 %12 } declare i32 @ptrace(i32 noundef, i32 noundef, i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt7x0d1pn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PTRACE_ARCH_PRCTL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @os_arch_prctl(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load i32, ptr @PTRACE_ARCH_PRCTL, align 4 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %6, align 8 %10 = ptrtoint ptr %9 to i64 %11 = load i32, ptr %5, align 4 %12 = call i32 @ptrace(i32 noundef %7, i32 noundef %8, i64 noundef %10, i32 noundef %11) ret i32 %12 } declare i32 @ptrace(i32 noundef, i32 noundef, i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7cpygb8i.c' source_filename = "/tmp/tmp7cpygb8i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter %d numbers: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Largest: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"Smallest: %d\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 i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef 10) store i32 0, ptr %3, align 4 br label %7 7: ; preds = %15, %0 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 10 br i1 %9, label %10, label %18 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %12 %14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %13) br label %15 15: ; preds = %10 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 br label %7, !llvm.loop !6 18: ; preds = %7 %19 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %20 = call i32 @max_min(ptr noundef %19, i32 noundef 10, ptr noundef %4, ptr noundef %5) %21 = load i32, ptr %4, align 4 %22 = call i32 @printf(ptr noundef @.str.2, i32 noundef %21) %23 = load i32, ptr %5, align 4 %24 = call i32 @printf(ptr noundef @.str.3, i32 noundef %23) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @max_min(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7cpygb8i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter %d numbers: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Largest: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"Smallest: %d\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 i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef 10) store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %14 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %11 %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %12) br label %14 14: ; preds = %9 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %17, 10 br i1 %18, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %0 %20 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %21 = call i32 @max_min(ptr noundef %20, i32 noundef 10, ptr noundef %4, ptr noundef %5) %22 = load i32, ptr %4, align 4 %23 = call i32 @printf(ptr noundef @.str.2, i32 noundef %22) %24 = load i32, ptr %5, align 4 %25 = call i32 @printf(ptr noundef @.str.3, i32 noundef %24) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @max_min(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6b_cgpdi.c' source_filename = "/tmp/tmp6b_cgpdi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%15s\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ui__getInteger(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [15 x i8], align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @printf(ptr noundef %6) %8 = getelementptr inbounds [15 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8) br label %10 10: ; preds = %14, %1 %11 = getelementptr inbounds [15 x i8], ptr %3, i64 0, i64 0 %12 = call i32 @sscanf(ptr noundef %11, ptr noundef @.str.1, ptr noundef %4) %13 = icmp ne i32 %12, 1 br i1 %13, label %14, label %19 14: ; preds = %10 %15 = load ptr, ptr %2, align 8 %16 = call i32 @printf(ptr noundef %15) %17 = getelementptr inbounds [15 x i8], ptr %3, i64 0, i64 0 %18 = call i32 @scanf(ptr noundef @.str, ptr noundef %17) br label %10, !llvm.loop !6 19: ; preds = %10 %20 = load i32, ptr %4, align 4 ret i32 %20 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6b_cgpdi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%15s\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ui__getInteger(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [15 x i8], align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @printf(ptr noundef %6) %8 = getelementptr inbounds [15 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8) %10 = getelementptr inbounds [15 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @sscanf(ptr noundef %10, ptr noundef @.str.1, ptr noundef %4) %12 = icmp ne i32 %11, 1 br i1 %12, label %.lr.ph, label %20 .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %13 %14 = load ptr, ptr %2, align 8 %15 = call i32 @printf(ptr noundef %14) %16 = getelementptr inbounds [15 x i8], ptr %3, i64 0, i64 0 %17 = call i32 @scanf(ptr noundef @.str, ptr noundef %16) %18 = call i32 @sscanf(ptr noundef %10, ptr noundef @.str.1, ptr noundef %4) %19 = icmp ne i32 %18, 1 br i1 %19, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %20 20: ; preds = %._crit_edge, %1 %21 = load i32, ptr %4, align 4 ret i32 %21 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0hq3la65.c' source_filename = "/tmp/tmp0hq3la65.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [21 x i8] c"Opening SQL Database\00", align 1 @SQLITE_OK = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [22 x i8] c"Failed Open Database\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @open_sql_database(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %5 = load ptr, ptr %2, align 8 %6 = call i64 @sqlite3_open(ptr noundef %5, ptr noundef %3) %7 = load i64, ptr @SQLITE_OK, align 8 %8 = icmp ne i64 %6, %7 br i1 %8, label %9, label %16 9: ; preds = %1 %10 = load i32, ptr @stderr, align 4 %11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str.2) %12 = load ptr, ptr %3, align 8 %13 = call i32 @sqlite3_close(ptr noundef %12) %14 = load i32, ptr @EXIT_FAILURE, align 4 %15 = call i32 @exit(i32 noundef %14) #3 unreachable 16: ; preds = %1 %17 = load ptr, ptr %3, align 8 ret ptr %17 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i64 @sqlite3_open(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @sqlite3_close(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/tmp0hq3la65.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [21 x i8] c"Opening SQL Database\00", align 1 @SQLITE_OK = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [22 x i8] c"Failed Open Database\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @open_sql_database(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %5 = load ptr, ptr %2, align 8 %6 = call i64 @sqlite3_open(ptr noundef %5, ptr noundef %3) %7 = load i64, ptr @SQLITE_OK, align 8 %8 = icmp ne i64 %6, %7 br i1 %8, label %9, label %16 9: ; preds = %1 %10 = load i32, ptr @stderr, align 4 %11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str.2) %12 = load ptr, ptr %3, align 8 %13 = call i32 @sqlite3_close(ptr noundef %12) %14 = load i32, ptr @EXIT_FAILURE, align 4 %15 = call i32 @exit(i32 noundef %14) #3 unreachable 16: ; preds = %1 %17 = load ptr, ptr %3, align 8 ret ptr %17 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i64 @sqlite3_open(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @sqlite3_close(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/tmp2e7fsydl.c' source_filename = "/tmp/tmp2e7fsydl.c" target datalayout = "e-m:e-p270: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.fc8300_tuner_set_pll_es.lo_divide_ratio = private unnamed_addr constant [8 x i8] c"\08\0C\10\18 0@`", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fc8300_tuner_set_pll_es(ptr noundef %0, i16 noundef zeroext %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i8, align 1 %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 [8 x i8], align 1 %22 = alloca i32, align 4 %23 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store i16 %1, ptr %6, align 2 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 6200000, ptr %20, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %21, ptr align 1 @__const.fc8300_tuner_set_pll_es.lo_divide_ratio, i64 8, i1 false) store i8 4, ptr %23, align 1 %24 = load i32, ptr %7, align 4 store i32 %24, ptr %19, align 4 store i8 0, ptr %11, align 1 br label %25 25: ; preds = %43, %4 %26 = load i8, ptr %11, align 1 %27 = zext i8 %26 to i32 %28 = icmp slt i32 %27, 7 br i1 %28, label %29, label %46 29: ; preds = %25 %30 = load i32, ptr %20, align 4 %31 = load i32, ptr %19, align 4 %32 = load i8, ptr %11, align 1 %33 = zext i8 %32 to i32 %34 = add nsw i32 %33, 1 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [8 x i8], ptr %21, i64 0, i64 %35 %37 = load i8, ptr %36, align 1 %38 = zext i8 %37 to i32 %39 = mul i32 %31, %38 %40 = icmp ult i32 %30, %39 br i1 %40, label %41, label %42 41: ; preds = %29 br label %46 42: ; preds = %29 br label %43 43: ; preds = %42 %44 = load i8, ptr %11, align 1 %45 = add i8 %44, 1 store i8 %45, ptr %11, align 1 br label %25, !llvm.loop !6 46: ; preds = %41, %25 %47 = load i8, ptr %11, align 1 %48 = zext i8 %47 to i64 %49 = getelementptr inbounds [8 x i8], ptr %21, i64 0, i64 %48 %50 = load i8, ptr %49, align 1 store i8 %50, ptr %12, align 1 %51 = load i32, ptr %19, align 4 %52 = load i8, ptr %12, align 1 %53 = zext i8 %52 to i32 %54 = mul i32 %51, %53 store i32 %54, ptr %17, align 4 store i32 1, ptr %22, align 4 %55 = load i32, ptr %22, align 4 %56 = udiv i32 19200, %55 store i32 %56, ptr %18, align 4 %57 = load i32, ptr %17, align 4 %58 = load i32, ptr %18, align 4 %59 = udiv i32 %57, %58 store i32 %59, ptr %15, align 4 %60 = load i32, ptr %17, align 4 %61 = load i32, ptr %18, align 4 %62 = load i32, ptr %15, align 4 %63 = mul i32 %61, %62 %64 = sub i32 %60, %63 store i32 %64, ptr %13, align 4 %65 = load i32, ptr %13, align 4 %66 = load i8, ptr %23, align 1 %67 = zext i8 %66 to i32 %68 = sub nsw i32 20, %67 %69 = shl i32 %65, %68 store i32 %69, ptr %14, align 4 %70 = load i32, ptr %14, align 4 %71 = load i32, ptr %18, align 4 %72 = load i8, ptr %23, align 1 %73 = zext i8 %72 to i32 %74 = lshr i32 %71, %73 %75 = udiv i32 %70, %74 store i32 %75, ptr %16, align 4 %76 = load i32, ptr %16, align 4 %77 = or i32 %76, 1 store i32 %77, ptr %16, align 4 %78 = load i32, ptr %15, align 4 %79 = lshr i32 %78, 3 %80 = and i32 %79, 32 %81 = trunc i32 %80 to i8 store i8 %81, ptr %10, align 1 %82 = load i32, ptr %22, align 4 %83 = icmp eq i32 %82, 1 %84 = zext i1 %83 to i64 %85 = select i1 %83, i32 0, i32 16 %86 = load i8, ptr %10, align 1 %87 = zext i8 %86 to i32 %88 = add nsw i32 %87, %85 %89 = trunc i32 %88 to i8 store i8 %89, ptr %10, align 1 %90 = load i32, ptr %16, align 4 %91 = lshr i32 %90, 16 %92 = load i8, ptr %10, align 1 %93 = zext i8 %92 to i32 %94 = add i32 %93, %91 %95 = trunc i32 %94 to i8 store i8 %95, ptr %10, align 1 store i8 0, ptr %9, align 1 %96 = load i8, ptr %11, align 1 %97 = zext i8 %96 to i32 %98 = mul nsw i32 %97, 2 %99 = add nsw i32 %98, 1 %100 = load i8, ptr %9, align 1 %101 = zext i8 %100 to i32 %102 = add nsw i32 %101, %99 %103 = trunc i32 %102 to i8 store i8 %103, ptr %9, align 1 %104 = load ptr, ptr %5, align 8 %105 = load i16, ptr %6, align 2 %106 = call i32 @fc8300_write(ptr noundef %104, i16 noundef zeroext %105, i32 noundef 124, i32 noundef 0) %107 = load ptr, ptr %5, align 8 %108 = load i16, ptr %6, align 2 %109 = call i32 @fc8300_write(ptr noundef %107, i16 noundef zeroext %108, i32 noundef 126, i32 noundef 0) %110 = load ptr, ptr %5, align 8 %111 = load i16, ptr %6, align 2 %112 = call i32 @fc8300_write(ptr noundef %110, i16 noundef zeroext %111, i32 noundef 127, i32 noundef 0) %113 = load ptr, ptr %5, align 8 %114 = load i16, ptr %6, align 2 %115 = call i32 @fc8300_write(ptr noundef %113, i16 noundef zeroext %114, i32 noundef 128, i32 noundef 0) %116 = load ptr, ptr %5, align 8 %117 = load i16, ptr %6, align 2 %118 = call i32 @fc8300_write(ptr noundef %116, i16 noundef zeroext %117, i32 noundef 129, i32 noundef 0) %119 = load ptr, ptr %5, align 8 %120 = load i16, ptr %6, align 2 %121 = call i32 @fc8300_write(ptr noundef %119, i16 noundef zeroext %120, i32 noundef 21, i32 noundef 119) %122 = load ptr, ptr %5, align 8 %123 = load i16, ptr %6, align 2 %124 = call i32 @fc8300_write(ptr noundef %122, i16 noundef zeroext %123, i32 noundef 145, i32 noundef 168) %125 = load i32, ptr %17, align 4 %126 = icmp uge i32 %125, 6084000 br i1 %126, label %127, label %133 127: ; preds = %46 %128 = load ptr, ptr %5, align 8 %129 = load i16, ptr %6, align 2 %130 = load i32, ptr %8, align 4 %131 = add i32 7, %130 %132 = call i32 @fc8300_write(ptr noundef %128, i16 noundef zeroext %129, i32 noundef 94, i32 noundef %131) br label %208 133: ; preds = %46 %134 = load i32, ptr %17, align 4 %135 = icmp ult i32 %134, 6084000 br i1 %135, label %136, label %145 136: ; preds = %133 %137 = load i32, ptr %17, align 4 %138 = icmp uge i32 %137, 5796000 br i1 %138, label %139, label %145 139: ; preds = %136 %140 = load ptr, ptr %5, align 8 %141 = load i16, ptr %6, align 2 %142 = load i32, ptr %8, align 4 %143 = add i32 8, %142 %144 = call i32 @fc8300_write(ptr noundef %140, i16 noundef zeroext %141, i32 noundef 94, i32 noundef %143) br label %207 145: ; preds = %136, %133 %146 = load i32, ptr %17, align 4 %147 = icmp ult i32 %146, 5796000 br i1 %147, label %148, label %157 148: ; preds = %145 %149 = load i32, ptr %17, align 4 %150 = icmp uge i32 %149, 5653000 br i1 %150, label %151, label %157 151: ; preds = %148 %152 = load ptr, ptr %5, align 8 %153 = load i16, ptr %6, align 2 %154 = load i32, ptr %8, align 4 %155 = add i32 9, %154 %156 = call i32 @fc8300_write(ptr noundef %152, i16 noundef zeroext %153, i32 noundef 94, i32 noundef %155) br label %206 157: ; preds = %148, %145 %158 = load i32, ptr %17, align 4 %159 = icmp ult i32 %158, 5653000 br i1 %159, label %160, label %169 160: ; preds = %157 %161 = load i32, ptr %17, align 4 %162 = icmp uge i32 %161, 5547000 br i1 %162, label %163, label %169 163: ; preds = %160 %164 = load ptr, ptr %5, align 8 %165 = load i16, ptr %6, align 2 %166 = load i32, ptr %8, align 4 %167 = add i32 10, %166 %168 = call i32 @fc8300_write(ptr noundef %164, i16 noundef zeroext %165, i32 noundef 94, i32 noundef %167) br label %205 169: ; preds = %160, %157 %170 = load i32, ptr %17, align 4 %171 = icmp ult i32 %170, 5547000 br i1 %171, label %172, label %181 172: ; preds = %169 %173 = load i32, ptr %17, align 4 %174 = icmp uge i32 %173, 5067000 br i1 %174, label %175, label %181 175: ; preds = %172 %176 = load ptr, ptr %5, align 8 %177 = load i16, ptr %6, align 2 %178 = load i32, ptr %8, align 4 %179 = add i32 12, %178 %180 = call i32 @fc8300_write(ptr noundef %176, i16 noundef zeroext %177, i32 noundef 94, i32 noundef %179) br label %204 181: ; preds = %172, %169 %182 = load i32, ptr %17, align 4 %183 = icmp ult i32 %182, 5067000 br i1 %183, label %184, label %193 184: ; preds = %181 %185 = load i32, ptr %17, align 4 %186 = icmp uge i32 %185, 4731000 br i1 %186, label %187, label %193 187: ; preds = %184 %188 = load ptr, ptr %5, align 8 %189 = load i16, ptr %6, align 2 %190 = load i32, ptr %8, align 4 %191 = add i32 13, %190 %192 = call i32 @fc8300_write(ptr noundef %188, i16 noundef zeroext %189, i32 noundef 94, i32 noundef %191) br label %203 193: ; preds = %184, %181 %194 = load i32, ptr %17, align 4 %195 = icmp ult i32 %194, 4731000 br i1 %195, label %196, label %202 196: ; preds = %193 %197 = load ptr, ptr %5, align 8 %198 = load i16, ptr %6, align 2 %199 = load i32, ptr %8, align 4 %200 = add i32 20, %199 %201 = call i32 @fc8300_write(ptr noundef %197, i16 noundef zeroext %198, i32 noundef 94, i32 noundef %200) br label %202 202: ; preds = %196, %193 br label %203 203: ; preds = %202, %187 br label %204 204: ; preds = %203, %175 br label %205 205: ; preds = %204, %163 br label %206 206: ; preds = %205, %151 br label %207 207: ; preds = %206, %139 br label %208 208: ; preds = %207, %127 %209 = load ptr, ptr %5, align 8 %210 = load i16, ptr %6, align 2 %211 = load i8, ptr %9, align 1 %212 = zext i8 %211 to i32 %213 = call i32 @fc8300_write(ptr noundef %209, i16 noundef zeroext %210, i32 noundef 81, i32 noundef %212) %214 = load ptr, ptr %5, align 8 %215 = load i16, ptr %6, align 2 %216 = load i8, ptr %10, align 1 %217 = zext i8 %216 to i32 %218 = call i32 @fc8300_write(ptr noundef %214, i16 noundef zeroext %215, i32 noundef 87, i32 noundef %217) %219 = load ptr, ptr %5, align 8 %220 = load i16, ptr %6, align 2 %221 = load i32, ptr %16, align 4 %222 = lshr i32 %221, 8 %223 = and i32 %222, 255 %224 = trunc i32 %223 to i8 %225 = zext i8 %224 to i32 %226 = call i32 @fc8300_write(ptr noundef %219, i16 noundef zeroext %220, i32 noundef 88, i32 noundef %225) %227 = load ptr, ptr %5, align 8 %228 = load i16, ptr %6, align 2 %229 = load i32, ptr %16, align 4 %230 = and i32 %229, 255 %231 = trunc i32 %230 to i8 %232 = zext i8 %231 to i32 %233 = call i32 @fc8300_write(ptr noundef %227, i16 noundef zeroext %228, i32 noundef 89, i32 noundef %232) %234 = load ptr, ptr %5, align 8 %235 = load i16, ptr %6, align 2 %236 = load i32, ptr %15, align 4 %237 = trunc i32 %236 to i8 %238 = zext i8 %237 to i32 %239 = call i32 @fc8300_write(ptr noundef %234, i16 noundef zeroext %235, i32 noundef 90, i32 noundef %238) %240 = load ptr, ptr %5, align 8 %241 = load i16, ptr %6, align 2 %242 = call i32 @fc8300_write(ptr noundef %240, i16 noundef zeroext %241, i32 noundef 80, i32 noundef 227) %243 = load ptr, ptr %5, align 8 %244 = load i16, ptr %6, align 2 %245 = call i32 @fc8300_write(ptr noundef %243, i16 noundef zeroext %244, i32 noundef 80, i32 noundef 255) %246 = load ptr, ptr %5, align 8 %247 = load i16, ptr %6, align 2 %248 = call i32 @fc8300_write(ptr noundef %246, i16 noundef zeroext %247, i32 noundef 145, i32 noundef 120) %249 = load ptr, ptr %5, align 8 %250 = load i16, ptr %6, align 2 %251 = call i32 @fc8300_write(ptr noundef %249, i16 noundef zeroext %250, i32 noundef 21, i32 noundef 70) %252 = load ptr, ptr %5, align 8 %253 = load i16, ptr %6, align 2 %254 = call i32 @fc8300_write(ptr noundef %252, i16 noundef zeroext %253, i32 noundef 124, i32 noundef 48) %255 = load ptr, ptr %5, align 8 %256 = load i16, ptr %6, align 2 %257 = call i32 @fc8300_write(ptr noundef %255, i16 noundef zeroext %256, i32 noundef 126, i32 noundef 5) %258 = load ptr, ptr %5, align 8 %259 = load i16, ptr %6, align 2 %260 = call i32 @fc8300_write(ptr noundef %258, i16 noundef zeroext %259, i32 noundef 127, i32 noundef 10) %261 = load ptr, ptr %5, align 8 %262 = load i16, ptr %6, align 2 %263 = call i32 @fc8300_write(ptr noundef %261, i16 noundef zeroext %262, i32 noundef 128, i32 noundef 63) %264 = load ptr, ptr %5, align 8 %265 = load i16, ptr %6, align 2 %266 = call i32 @fc8300_write(ptr noundef %264, i16 noundef zeroext %265, i32 noundef 129, i32 noundef 63) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @fc8300_write(ptr noundef, i16 noundef zeroext, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2e7fsydl.c" target datalayout = "e-m:e-p270: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.fc8300_tuner_set_pll_es.lo_divide_ratio = private unnamed_addr constant [8 x i8] c"\08\0C\10\18 0@`", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fc8300_tuner_set_pll_es(ptr noundef %0, i16 noundef zeroext %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i8, align 1 %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 [8 x i8], align 1 %22 = alloca i32, align 4 %23 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store i16 %1, ptr %6, align 2 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 6200000, ptr %20, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %21, ptr align 1 @__const.fc8300_tuner_set_pll_es.lo_divide_ratio, i64 8, i1 false) store i8 4, ptr %23, align 1 %24 = load i32, ptr %7, align 4 store i32 %24, ptr %19, align 4 store i8 0, ptr %11, align 1 %25 = load i8, ptr %11, align 1 %26 = zext i8 %25 to i32 %27 = icmp slt i32 %26, 7 br i1 %27, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %4 br label %28 28: ; preds = %.lr.ph, %42 %29 = load i32, ptr %20, align 4 %30 = load i32, ptr %19, align 4 %31 = load i8, ptr %11, align 1 %32 = zext i8 %31 to i32 %33 = add nsw i32 %32, 1 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [8 x i8], ptr %21, i64 0, i64 %34 %36 = load i8, ptr %35, align 1 %37 = zext i8 %36 to i32 %38 = mul i32 %30, %37 %39 = icmp ult i32 %29, %38 br i1 %39, label %40, label %41 40: ; preds = %28 br label %48 41: ; preds = %28 br label %42 42: ; preds = %41 %43 = load i8, ptr %11, align 1 %44 = add i8 %43, 1 store i8 %44, ptr %11, align 1 %45 = load i8, ptr %11, align 1 %46 = zext i8 %45 to i32 %47 = icmp slt i32 %46, 7 br i1 %47, label %28, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %42 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %4 br label %48 48: ; preds = %.loopexit, %40 %49 = load i8, ptr %11, align 1 %50 = zext i8 %49 to i64 %51 = getelementptr inbounds [8 x i8], ptr %21, i64 0, i64 %50 %52 = load i8, ptr %51, align 1 store i8 %52, ptr %12, align 1 %53 = load i32, ptr %19, align 4 %54 = load i8, ptr %12, align 1 %55 = zext i8 %54 to i32 %56 = mul i32 %53, %55 store i32 %56, ptr %17, align 4 store i32 1, ptr %22, align 4 %57 = load i32, ptr %22, align 4 %58 = udiv i32 19200, %57 store i32 %58, ptr %18, align 4 %59 = load i32, ptr %17, align 4 %60 = load i32, ptr %18, align 4 %61 = udiv i32 %59, %60 store i32 %61, ptr %15, align 4 %62 = load i32, ptr %17, align 4 %63 = load i32, ptr %18, align 4 %64 = load i32, ptr %15, align 4 %65 = mul i32 %63, %64 %66 = sub i32 %62, %65 store i32 %66, ptr %13, align 4 %67 = load i32, ptr %13, align 4 %68 = load i8, ptr %23, align 1 %69 = zext i8 %68 to i32 %70 = sub nsw i32 20, %69 %71 = shl i32 %67, %70 store i32 %71, ptr %14, align 4 %72 = load i32, ptr %14, align 4 %73 = load i32, ptr %18, align 4 %74 = load i8, ptr %23, align 1 %75 = zext i8 %74 to i32 %76 = lshr i32 %73, %75 %77 = udiv i32 %72, %76 store i32 %77, ptr %16, align 4 %78 = load i32, ptr %16, align 4 %79 = or i32 %78, 1 store i32 %79, ptr %16, align 4 %80 = load i32, ptr %15, align 4 %81 = lshr i32 %80, 3 %82 = and i32 %81, 32 %83 = trunc i32 %82 to i8 store i8 %83, ptr %10, align 1 %84 = load i32, ptr %22, align 4 %85 = icmp eq i32 %84, 1 %86 = zext i1 %85 to i64 %87 = select i1 %85, i32 0, i32 16 %88 = load i8, ptr %10, align 1 %89 = zext i8 %88 to i32 %90 = add nsw i32 %89, %87 %91 = trunc i32 %90 to i8 store i8 %91, ptr %10, align 1 %92 = load i32, ptr %16, align 4 %93 = lshr i32 %92, 16 %94 = load i8, ptr %10, align 1 %95 = zext i8 %94 to i32 %96 = add i32 %95, %93 %97 = trunc i32 %96 to i8 store i8 %97, ptr %10, align 1 store i8 0, ptr %9, align 1 %98 = load i8, ptr %11, align 1 %99 = zext i8 %98 to i32 %100 = mul nsw i32 %99, 2 %101 = add nsw i32 %100, 1 %102 = load i8, ptr %9, align 1 %103 = zext i8 %102 to i32 %104 = add nsw i32 %103, %101 %105 = trunc i32 %104 to i8 store i8 %105, ptr %9, align 1 %106 = load ptr, ptr %5, align 8 %107 = load i16, ptr %6, align 2 %108 = call i32 @fc8300_write(ptr noundef %106, i16 noundef zeroext %107, i32 noundef 124, i32 noundef 0) %109 = load ptr, ptr %5, align 8 %110 = load i16, ptr %6, align 2 %111 = call i32 @fc8300_write(ptr noundef %109, i16 noundef zeroext %110, i32 noundef 126, i32 noundef 0) %112 = load ptr, ptr %5, align 8 %113 = load i16, ptr %6, align 2 %114 = call i32 @fc8300_write(ptr noundef %112, i16 noundef zeroext %113, i32 noundef 127, i32 noundef 0) %115 = load ptr, ptr %5, align 8 %116 = load i16, ptr %6, align 2 %117 = call i32 @fc8300_write(ptr noundef %115, i16 noundef zeroext %116, i32 noundef 128, i32 noundef 0) %118 = load ptr, ptr %5, align 8 %119 = load i16, ptr %6, align 2 %120 = call i32 @fc8300_write(ptr noundef %118, i16 noundef zeroext %119, i32 noundef 129, i32 noundef 0) %121 = load ptr, ptr %5, align 8 %122 = load i16, ptr %6, align 2 %123 = call i32 @fc8300_write(ptr noundef %121, i16 noundef zeroext %122, i32 noundef 21, i32 noundef 119) %124 = load ptr, ptr %5, align 8 %125 = load i16, ptr %6, align 2 %126 = call i32 @fc8300_write(ptr noundef %124, i16 noundef zeroext %125, i32 noundef 145, i32 noundef 168) %127 = load i32, ptr %17, align 4 %128 = icmp uge i32 %127, 6084000 br i1 %128, label %129, label %135 129: ; preds = %48 %130 = load ptr, ptr %5, align 8 %131 = load i16, ptr %6, align 2 %132 = load i32, ptr %8, align 4 %133 = add i32 7, %132 %134 = call i32 @fc8300_write(ptr noundef %130, i16 noundef zeroext %131, i32 noundef 94, i32 noundef %133) br label %210 135: ; preds = %48 %136 = load i32, ptr %17, align 4 %137 = icmp ult i32 %136, 6084000 br i1 %137, label %138, label %147 138: ; preds = %135 %139 = load i32, ptr %17, align 4 %140 = icmp uge i32 %139, 5796000 br i1 %140, label %141, label %147 141: ; preds = %138 %142 = load ptr, ptr %5, align 8 %143 = load i16, ptr %6, align 2 %144 = load i32, ptr %8, align 4 %145 = add i32 8, %144 %146 = call i32 @fc8300_write(ptr noundef %142, i16 noundef zeroext %143, i32 noundef 94, i32 noundef %145) br label %209 147: ; preds = %138, %135 %148 = load i32, ptr %17, align 4 %149 = icmp ult i32 %148, 5796000 br i1 %149, label %150, label %159 150: ; preds = %147 %151 = load i32, ptr %17, align 4 %152 = icmp uge i32 %151, 5653000 br i1 %152, label %153, label %159 153: ; preds = %150 %154 = load ptr, ptr %5, align 8 %155 = load i16, ptr %6, align 2 %156 = load i32, ptr %8, align 4 %157 = add i32 9, %156 %158 = call i32 @fc8300_write(ptr noundef %154, i16 noundef zeroext %155, i32 noundef 94, i32 noundef %157) br label %208 159: ; preds = %150, %147 %160 = load i32, ptr %17, align 4 %161 = icmp ult i32 %160, 5653000 br i1 %161, label %162, label %171 162: ; preds = %159 %163 = load i32, ptr %17, align 4 %164 = icmp uge i32 %163, 5547000 br i1 %164, label %165, label %171 165: ; preds = %162 %166 = load ptr, ptr %5, align 8 %167 = load i16, ptr %6, align 2 %168 = load i32, ptr %8, align 4 %169 = add i32 10, %168 %170 = call i32 @fc8300_write(ptr noundef %166, i16 noundef zeroext %167, i32 noundef 94, i32 noundef %169) br label %207 171: ; preds = %162, %159 %172 = load i32, ptr %17, align 4 %173 = icmp ult i32 %172, 5547000 br i1 %173, label %174, label %183 174: ; preds = %171 %175 = load i32, ptr %17, align 4 %176 = icmp uge i32 %175, 5067000 br i1 %176, label %177, label %183 177: ; preds = %174 %178 = load ptr, ptr %5, align 8 %179 = load i16, ptr %6, align 2 %180 = load i32, ptr %8, align 4 %181 = add i32 12, %180 %182 = call i32 @fc8300_write(ptr noundef %178, i16 noundef zeroext %179, i32 noundef 94, i32 noundef %181) br label %206 183: ; preds = %174, %171 %184 = load i32, ptr %17, align 4 %185 = icmp ult i32 %184, 5067000 br i1 %185, label %186, label %195 186: ; preds = %183 %187 = load i32, ptr %17, align 4 %188 = icmp uge i32 %187, 4731000 br i1 %188, label %189, label %195 189: ; preds = %186 %190 = load ptr, ptr %5, align 8 %191 = load i16, ptr %6, align 2 %192 = load i32, ptr %8, align 4 %193 = add i32 13, %192 %194 = call i32 @fc8300_write(ptr noundef %190, i16 noundef zeroext %191, i32 noundef 94, i32 noundef %193) br label %205 195: ; preds = %186, %183 %196 = load i32, ptr %17, align 4 %197 = icmp ult i32 %196, 4731000 br i1 %197, label %198, label %204 198: ; preds = %195 %199 = load ptr, ptr %5, align 8 %200 = load i16, ptr %6, align 2 %201 = load i32, ptr %8, align 4 %202 = add i32 20, %201 %203 = call i32 @fc8300_write(ptr noundef %199, i16 noundef zeroext %200, i32 noundef 94, i32 noundef %202) br label %204 204: ; preds = %198, %195 br label %205 205: ; preds = %204, %189 br label %206 206: ; preds = %205, %177 br label %207 207: ; preds = %206, %165 br label %208 208: ; preds = %207, %153 br label %209 209: ; preds = %208, %141 br label %210 210: ; preds = %209, %129 %211 = load ptr, ptr %5, align 8 %212 = load i16, ptr %6, align 2 %213 = load i8, ptr %9, align 1 %214 = zext i8 %213 to i32 %215 = call i32 @fc8300_write(ptr noundef %211, i16 noundef zeroext %212, i32 noundef 81, i32 noundef %214) %216 = load ptr, ptr %5, align 8 %217 = load i16, ptr %6, align 2 %218 = load i8, ptr %10, align 1 %219 = zext i8 %218 to i32 %220 = call i32 @fc8300_write(ptr noundef %216, i16 noundef zeroext %217, i32 noundef 87, i32 noundef %219) %221 = load ptr, ptr %5, align 8 %222 = load i16, ptr %6, align 2 %223 = load i32, ptr %16, align 4 %224 = lshr i32 %223, 8 %225 = and i32 %224, 255 %226 = trunc i32 %225 to i8 %227 = zext i8 %226 to i32 %228 = call i32 @fc8300_write(ptr noundef %221, i16 noundef zeroext %222, i32 noundef 88, i32 noundef %227) %229 = load ptr, ptr %5, align 8 %230 = load i16, ptr %6, align 2 %231 = load i32, ptr %16, align 4 %232 = and i32 %231, 255 %233 = trunc i32 %232 to i8 %234 = zext i8 %233 to i32 %235 = call i32 @fc8300_write(ptr noundef %229, i16 noundef zeroext %230, i32 noundef 89, i32 noundef %234) %236 = load ptr, ptr %5, align 8 %237 = load i16, ptr %6, align 2 %238 = load i32, ptr %15, align 4 %239 = trunc i32 %238 to i8 %240 = zext i8 %239 to i32 %241 = call i32 @fc8300_write(ptr noundef %236, i16 noundef zeroext %237, i32 noundef 90, i32 noundef %240) %242 = load ptr, ptr %5, align 8 %243 = load i16, ptr %6, align 2 %244 = call i32 @fc8300_write(ptr noundef %242, i16 noundef zeroext %243, i32 noundef 80, i32 noundef 227) %245 = load ptr, ptr %5, align 8 %246 = load i16, ptr %6, align 2 %247 = call i32 @fc8300_write(ptr noundef %245, i16 noundef zeroext %246, i32 noundef 80, i32 noundef 255) %248 = load ptr, ptr %5, align 8 %249 = load i16, ptr %6, align 2 %250 = call i32 @fc8300_write(ptr noundef %248, i16 noundef zeroext %249, i32 noundef 145, i32 noundef 120) %251 = load ptr, ptr %5, align 8 %252 = load i16, ptr %6, align 2 %253 = call i32 @fc8300_write(ptr noundef %251, i16 noundef zeroext %252, i32 noundef 21, i32 noundef 70) %254 = load ptr, ptr %5, align 8 %255 = load i16, ptr %6, align 2 %256 = call i32 @fc8300_write(ptr noundef %254, i16 noundef zeroext %255, i32 noundef 124, i32 noundef 48) %257 = load ptr, ptr %5, align 8 %258 = load i16, ptr %6, align 2 %259 = call i32 @fc8300_write(ptr noundef %257, i16 noundef zeroext %258, i32 noundef 126, i32 noundef 5) %260 = load ptr, ptr %5, align 8 %261 = load i16, ptr %6, align 2 %262 = call i32 @fc8300_write(ptr noundef %260, i16 noundef zeroext %261, i32 noundef 127, i32 noundef 10) %263 = load ptr, ptr %5, align 8 %264 = load i16, ptr %6, align 2 %265 = call i32 @fc8300_write(ptr noundef %263, i16 noundef zeroext %264, i32 noundef 128, i32 noundef 63) %266 = load ptr, ptr %5, align 8 %267 = load i16, ptr %6, align 2 %268 = call i32 @fc8300_write(ptr noundef %266, i16 noundef zeroext %267, i32 noundef 129, i32 noundef 63) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @fc8300_write(ptr noundef, i16 noundef zeroext, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpl5ittg9k.c' source_filename = "/tmp/tmpl5ittg9k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intlinarr(i64 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i64, 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 i64, align 8 %14 = alloca i64, align 8 store i64 %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i64 1, ptr %14, align 8 br label %15 15: ; preds = %78, %6 %16 = load i64, ptr %14, align 8 %17 = load i64, ptr %7, align 8 %18 = icmp slt i64 %16, %17 br i1 %18, label %19, label %81 19: ; preds = %15 store i64 0, ptr %13, align 8 br label %20 20: ; preds = %74, %19 %21 = load i64, ptr %13, align 8 %22 = load i32, ptr %10, align 4 %23 = sext i32 %22 to i64 %24 = icmp slt i64 %21, %23 br i1 %24, label %25, label %77 25: ; preds = %20 %26 = load ptr, ptr %12, align 8 %27 = load i64, ptr %13, align 8 %28 = getelementptr inbounds double, ptr %26, i64 %27 %29 = load double, ptr %28, align 8 %30 = load ptr, ptr %9, align 8 %31 = load i64, ptr %14, align 8 %32 = sub nsw i64 %31, 1 %33 = getelementptr inbounds double, ptr %30, i64 %32 %34 = load double, ptr %33, align 8 %35 = fcmp oge double %29, %34 br i1 %35, label %36, label %73 36: ; preds = %25 %37 = load ptr, ptr %12, align 8 %38 = load i64, ptr %13, align 8 %39 = getelementptr inbounds double, ptr %37, i64 %38 %40 = load double, ptr %39, align 8 %41 = load ptr, ptr %9, align 8 %42 = load i64, ptr %14, align 8 %43 = getelementptr inbounds double, ptr %41, i64 %42 %44 = load double, ptr %43, align 8 %45 = fcmp ole double %40, %44 br i1 %45, label %46, label %73 46: ; preds = %36 %47 = load ptr, ptr %12, align 8 %48 = load i64, ptr %13, align 8 %49 = getelementptr inbounds double, ptr %47, i64 %48 %50 = load double, ptr %49, align 8 %51 = load ptr, ptr %8, align 8 %52 = load i64, ptr %14, align 8 %53 = sub nsw i64 %52, 1 %54 = getelementptr inbounds double, ptr %51, i64 %53 %55 = load double, ptr %54, align 8 %56 = load ptr, ptr %9, align 8 %57 = load i64, ptr %14, align 8 %58 = sub nsw i64 %57, 1 %59 = getelementptr inbounds double, ptr %56, i64 %58 %60 = load double, ptr %59, align 8 %61 = load ptr, ptr %8, align 8 %62 = load i64, ptr %14, align 8 %63 = getelementptr inbounds double, ptr %61, i64 %62 %64 = load double, ptr %63, align 8 %65 = load ptr, ptr %9, align 8 %66 = load i64, ptr %14, align 8 %67 = getelementptr inbounds double, ptr %65, i64 %66 %68 = load double, ptr %67, align 8 %69 = call double @intlin(double noundef %50, double noundef %55, double noundef %60, double noundef %64, double noundef %68) %70 = load ptr, ptr %11, align 8 %71 = load i64, ptr %13, align 8 %72 = getelementptr inbounds double, ptr %70, i64 %71 store double %69, ptr %72, align 8 br label %73 73: ; preds = %46, %36, %25 br label %74 74: ; preds = %73 %75 = load i64, ptr %13, align 8 %76 = add nsw i64 %75, 1 store i64 %76, ptr %13, align 8 br label %20, !llvm.loop !6 77: ; preds = %20 br label %78 78: ; preds = %77 %79 = load i64, ptr %14, align 8 %80 = add nsw i64 %79, 1 store i64 %80, ptr %14, align 8 br label %15, !llvm.loop !8 81: ; preds = %15 ret void } declare double @intlin(double noundef, double noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl5ittg9k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intlinarr(i64 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i64, 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 i64, align 8 %14 = alloca i64, align 8 store i64 %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i64 1, ptr %14, align 8 %15 = load i64, ptr %14, align 8 %16 = load i64, ptr %7, align 8 %17 = icmp slt i64 %15, %16 br i1 %17, label %.lr.ph2, label %86 .lr.ph2: ; preds = %6 br label %18 18: ; preds = %.lr.ph2, %80 store i64 0, ptr %13, align 8 %19 = load i64, ptr %13, align 8 %20 = load i32, ptr %10, align 4 %21 = sext i32 %20 to i64 %22 = icmp slt i64 %19, %21 br i1 %22, label %.lr.ph, label %79 .lr.ph: ; preds = %18 br label %23 23: ; preds = %.lr.ph, %72 %24 = load ptr, ptr %12, align 8 %25 = load i64, ptr %13, align 8 %26 = getelementptr inbounds double, ptr %24, i64 %25 %27 = load double, ptr %26, align 8 %28 = load ptr, ptr %9, align 8 %29 = load i64, ptr %14, align 8 %30 = sub nsw i64 %29, 1 %31 = getelementptr inbounds double, ptr %28, i64 %30 %32 = load double, ptr %31, align 8 %33 = fcmp oge double %27, %32 br i1 %33, label %34, label %71 34: ; preds = %23 %35 = load ptr, ptr %12, align 8 %36 = load i64, ptr %13, align 8 %37 = getelementptr inbounds double, ptr %35, i64 %36 %38 = load double, ptr %37, align 8 %39 = load ptr, ptr %9, align 8 %40 = load i64, ptr %14, align 8 %41 = getelementptr inbounds double, ptr %39, i64 %40 %42 = load double, ptr %41, align 8 %43 = fcmp ole double %38, %42 br i1 %43, label %44, label %71 44: ; preds = %34 %45 = load ptr, ptr %12, align 8 %46 = load i64, ptr %13, align 8 %47 = getelementptr inbounds double, ptr %45, i64 %46 %48 = load double, ptr %47, align 8 %49 = load ptr, ptr %8, align 8 %50 = load i64, ptr %14, align 8 %51 = sub nsw i64 %50, 1 %52 = getelementptr inbounds double, ptr %49, i64 %51 %53 = load double, ptr %52, align 8 %54 = load ptr, ptr %9, align 8 %55 = load i64, ptr %14, align 8 %56 = sub nsw i64 %55, 1 %57 = getelementptr inbounds double, ptr %54, i64 %56 %58 = load double, ptr %57, align 8 %59 = load ptr, ptr %8, align 8 %60 = load i64, ptr %14, align 8 %61 = getelementptr inbounds double, ptr %59, i64 %60 %62 = load double, ptr %61, align 8 %63 = load ptr, ptr %9, align 8 %64 = load i64, ptr %14, align 8 %65 = getelementptr inbounds double, ptr %63, i64 %64 %66 = load double, ptr %65, align 8 %67 = call double @intlin(double noundef %48, double noundef %53, double noundef %58, double noundef %62, double noundef %66) %68 = load ptr, ptr %11, align 8 %69 = load i64, ptr %13, align 8 %70 = getelementptr inbounds double, ptr %68, i64 %69 store double %67, ptr %70, align 8 br label %71 71: ; preds = %44, %34, %23 br label %72 72: ; preds = %71 %73 = load i64, ptr %13, align 8 %74 = add nsw i64 %73, 1 store i64 %74, ptr %13, align 8 %75 = load i64, ptr %13, align 8 %76 = load i32, ptr %10, align 4 %77 = sext i32 %76 to i64 %78 = icmp slt i64 %75, %77 br i1 %78, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %72 br label %79 79: ; preds = %._crit_edge, %18 br label %80 80: ; preds = %79 %81 = load i64, ptr %14, align 8 %82 = add nsw i64 %81, 1 store i64 %82, ptr %14, align 8 %83 = load i64, ptr %14, align 8 %84 = load i64, ptr %7, align 8 %85 = icmp slt i64 %83, %84 br i1 %85, label %18, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %80 br label %86 86: ; preds = %._crit_edge3, %6 ret void } declare double @intlin(double noundef, double noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp3rvugl8b.c' source_filename = "/tmp/tmp3rvugl8b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @teardown(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @assert(ptr noundef %5) %7 = load ptr, ptr %3, align 8 %8 = call i32 @fclose(ptr noundef %7) ret void } declare i32 @assert(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3rvugl8b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @teardown(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @assert(ptr noundef %5) %7 = load ptr, ptr %3, align 8 %8 = call i32 @fclose(ptr noundef %7) ret void } declare i32 @assert(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7ioor608.c' source_filename = "/tmp/tmp7ioor608.c" target datalayout = "e-m:e-p270: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/tmp7ioor608.c" target datalayout = "e-m:e-p270: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/tmps8180l82.c' source_filename = "/tmp/tmps8180l82.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CE_CO2CO3_pH(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 { %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 store double %0, ptr %7, align 8 store double %1, ptr %8, align 8 store double %2, ptr %9, align 8 store double %3, ptr %10, align 8 store double %4, ptr %11, align 8 store double %5, ptr %12, align 8 %14 = load double, ptr %9, align 8 %15 = load double, ptr %12, align 8 %16 = call double @pow(double noundef %15, i32 noundef 2) %17 = fdiv double %14, %16 store double %17, ptr %9, align 8 %18 = load double, ptr %10, align 8 %19 = load double, ptr %12, align 8 %20 = call double @pow(double noundef %19, i32 noundef 4) %21 = fdiv double %18, %20 store double %21, ptr %10, align 8 %22 = load double, ptr %11, align 8 %23 = load double, ptr %12, align 8 %24 = call double @pow(double noundef %23, i32 noundef 2) %25 = fdiv double %22, %24 store double %25, ptr %11, align 8 %26 = load double, ptr %8, align 8 %27 = fdiv double 1.000000e+00, %26 %28 = load double, ptr %9, align 8 %29 = load double, ptr %7, align 8 %30 = fmul double %28, %29 %31 = load double, ptr %10, align 8 %32 = fmul double %30, %31 %33 = load double, ptr %8, align 8 %34 = fmul double %32, %33 %35 = call i32 @sqrt(double noundef %34) %36 = sitofp i32 %35 to double %37 = fmul double %27, %36 store double %37, ptr %13, align 8 %38 = load double, ptr %13, align 8 %39 = load double, ptr %12, align 8 %40 = fmul double %38, %39 %41 = call double @log10(double noundef %40) #3 %42 = fsub double 3.000000e+00, %41 ret double %42 } declare double @pow(double noundef, i32 noundef) #1 declare i32 @sqrt(double noundef) #1 ; Function Attrs: nounwind declare double @log10(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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/tmps8180l82.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CE_CO2CO3_pH(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 { %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 store double %0, ptr %7, align 8 store double %1, ptr %8, align 8 store double %2, ptr %9, align 8 store double %3, ptr %10, align 8 store double %4, ptr %11, align 8 store double %5, ptr %12, align 8 %14 = load double, ptr %9, align 8 %15 = load double, ptr %12, align 8 %16 = call double @pow(double noundef %15, i32 noundef 2) %17 = fdiv double %14, %16 store double %17, ptr %9, align 8 %18 = load double, ptr %10, align 8 %19 = load double, ptr %12, align 8 %20 = call double @pow(double noundef %19, i32 noundef 4) %21 = fdiv double %18, %20 store double %21, ptr %10, align 8 %22 = load double, ptr %11, align 8 %23 = load double, ptr %12, align 8 %24 = call double @pow(double noundef %23, i32 noundef 2) %25 = fdiv double %22, %24 store double %25, ptr %11, align 8 %26 = load double, ptr %8, align 8 %27 = fdiv double 1.000000e+00, %26 %28 = load double, ptr %9, align 8 %29 = load double, ptr %7, align 8 %30 = fmul double %28, %29 %31 = load double, ptr %10, align 8 %32 = fmul double %30, %31 %33 = load double, ptr %8, align 8 %34 = fmul double %32, %33 %35 = call i32 @sqrt(double noundef %34) %36 = sitofp i32 %35 to double %37 = fmul double %27, %36 store double %37, ptr %13, align 8 %38 = load double, ptr %13, align 8 %39 = load double, ptr %12, align 8 %40 = fmul double %38, %39 %41 = call double @log10(double noundef %40) #3 %42 = fsub double 3.000000e+00, %41 ret double %42 } declare double @pow(double noundef, i32 noundef) #1 declare i32 @sqrt(double noundef) #1 ; Function Attrs: nounwind declare double @log10(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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/tmp0qrbe3_n.c' source_filename = "/tmp/tmp0qrbe3_n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sysapi_new_truncate_file(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i64 @sysapi_touch(ptr noundef %6) %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %5, align 4 %12 = call i32 @sysapi_truncate_file(ptr noundef %10, i32 noundef %11) store i32 %12, ptr %3, align 4 br label %14 13: ; preds = %2 store i32 -1, ptr %3, align 4 br label %14 14: ; preds = %13, %9 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare i64 @sysapi_touch(ptr noundef) #1 declare i32 @sysapi_truncate_file(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/tmp0qrbe3_n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sysapi_new_truncate_file(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i64 @sysapi_touch(ptr noundef %6) %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %5, align 4 %12 = call i32 @sysapi_truncate_file(ptr noundef %10, i32 noundef %11) store i32 %12, ptr %3, align 4 br label %14 13: ; preds = %2 store i32 -1, ptr %3, align 4 br label %14 14: ; preds = %13, %9 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare i64 @sysapi_touch(ptr noundef) #1 declare i32 @sysapi_truncate_file(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/tmp8gumx9la.c' source_filename = "/tmp/tmp8gumx9la.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ETH_ALEN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strupr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp sle i32 %9, 0 br i1 %10, label %17, label %11 11: ; preds = %1 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr @ETH_ALEN, align 4 %14 = mul nsw i32 %13, 2 %15 = add nsw i32 %14, 5 %16 = icmp sgt i32 %12, %15 br i1 %16, label %17, label %18 17: ; preds = %11, %1 store ptr null, ptr %2, align 8 br label %69 18: ; preds = %11 %19 = load i32, ptr @ETH_ALEN, align 4 %20 = mul nsw i32 %19, 2 %21 = add nsw i32 %20, 5 %22 = call i64 @malloc(i32 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %4, align 8 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr @ETH_ALEN, align 4 %26 = mul nsw i32 %25, 2 %27 = add nsw i32 %26, 5 %28 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef %27) store i32 0, ptr %5, align 4 br label %29 29: ; preds = %64, %18 %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %6, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %67 33: ; preds = %29 %34 = load ptr, ptr %3, 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 = call i64 @isalpha(i8 noundef signext %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %53 41: ; preds = %33 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = call i64 @toupper(i8 noundef signext %46) %48 = trunc i64 %47 to i8 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %5, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 store i8 %48, ptr %52, align 1 br label %63 53: ; preds = %33 %54 = load ptr, ptr %3, align 8 %55 = load i32, ptr %5, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = load i8, ptr %57, align 1 %59 = load ptr, ptr %4, align 8 %60 = load i32, ptr %5, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 store i8 %58, ptr %62, align 1 br label %63 63: ; preds = %53, %41 br label %64 64: ; preds = %63 %65 = load i32, ptr %5, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %5, align 4 br label %29, !llvm.loop !6 67: ; preds = %29 %68 = load ptr, ptr %4, align 8 store ptr %68, ptr %2, align 8 br label %69 69: ; preds = %67, %17 %70 = load ptr, ptr %2, align 8 ret ptr %70 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @isalpha(i8 noundef signext) #1 declare i64 @toupper(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8gumx9la.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ETH_ALEN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strupr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp sle i32 %9, 0 br i1 %10, label %17, label %11 11: ; preds = %1 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr @ETH_ALEN, align 4 %14 = mul nsw i32 %13, 2 %15 = add nsw i32 %14, 5 %16 = icmp sgt i32 %12, %15 br i1 %16, label %17, label %18 17: ; preds = %11, %1 store ptr null, ptr %2, align 8 br label %71 18: ; preds = %11 %19 = load i32, ptr @ETH_ALEN, align 4 %20 = mul nsw i32 %19, 2 %21 = add nsw i32 %20, 5 %22 = call i64 @malloc(i32 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %4, align 8 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr @ETH_ALEN, align 4 %26 = mul nsw i32 %25, 2 %27 = add nsw i32 %26, 5 %28 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef %27) store i32 0, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph, label %69 .lr.ph: ; preds = %18 br label %32 32: ; preds = %.lr.ph, %63 %33 = load ptr, ptr %3, 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 = call i64 @isalpha(i8 noundef signext %37) %39 = icmp ne i64 %38, 0 br i1 %39, label %40, label %52 40: ; preds = %32 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %5, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = call i64 @toupper(i8 noundef signext %45) %47 = trunc i64 %46 to i8 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %5, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 store i8 %47, ptr %51, align 1 br label %62 52: ; preds = %32 %53 = load ptr, ptr %3, 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 = load ptr, ptr %4, align 8 %59 = load i32, ptr %5, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 store i8 %57, ptr %61, align 1 br label %62 62: ; preds = %52, %40 br label %63 63: ; preds = %62 %64 = load i32, ptr %5, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %5, align 4 %66 = load i32, ptr %5, align 4 %67 = load i32, ptr %6, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %63 br label %69 69: ; preds = %._crit_edge, %18 %70 = load ptr, ptr %4, align 8 store ptr %70, ptr %2, align 8 br label %71 71: ; preds = %69, %17 %72 = load ptr, ptr %2, align 8 ret ptr %72 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @isalpha(i8 noundef signext) #1 declare i64 @toupper(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbwodggbx.c' source_filename = "/tmp/tmpbwodggbx.c" target datalayout = "e-m:e-p270: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 i64 0, align 8 @ERANGE = dso_local global i64 0, align 8 @ENOMEM = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @sgsXPC_GetCurrentDirectory() #0 { %1 = alloca ptr, align 8 %2 = alloca [4096 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 4096, ptr %4, align 8 store i64 40960, ptr %5, align 8 %7 = call ptr @getcwd(ptr noundef null, i64 noundef 0) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %0 %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %1, align 8 br label %71 12: ; preds = %0 store i64 0, ptr @errno, align 8 %13 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0 store ptr %13, ptr %3, align 8 br label %14 14: ; preds = %70, %12 %15 = load ptr, ptr %3, align 8 %16 = load i64, ptr %4, align 8 %17 = call ptr @getcwd(ptr noundef %15, i64 noundef %16) %18 = icmp ne ptr %17, null br i1 %18, label %19, label %36 19: ; preds = %14 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0 %22 = icmp eq ptr %20, %21 br i1 %22, label %23, label %34 23: ; preds = %19 %24 = load ptr, ptr %3, align 8 %25 = call i32 @strlen(ptr noundef %24) %26 = add nsw i32 %25, 1 %27 = sext i32 %26 to i64 store i64 %27, ptr %6, align 8 %28 = load i64, ptr %6, align 8 %29 = call ptr @malloc(i64 noundef %28) store ptr %29, ptr %3, align 8 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0 %32 = load i64, ptr %6, align 8 %33 = call i32 @memcpy(ptr noundef %30, ptr noundef %31, i64 noundef %32) br label %34 34: ; preds = %23, %19 %35 = load ptr, ptr %3, align 8 store ptr %35, ptr %1, align 8 br label %71 36: ; preds = %14 %37 = load i64, ptr @errno, align 8 %38 = load i64, ptr @ERANGE, align 8 %39 = icmp ne i64 %37, %38 br i1 %39, label %44, label %40 40: ; preds = %36 %41 = load i64, ptr %4, align 8 %42 = load i64, ptr %5, align 8 %43 = icmp uge i64 %41, %42 br i1 %43, label %44, label %52 44: ; preds = %40, %36 %45 = load ptr, ptr %3, align 8 %46 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0 %47 = icmp ne ptr %45, %46 br i1 %47, label %48, label %51 48: ; preds = %44 %49 = load ptr, ptr %3, align 8 %50 = call i32 @free(ptr noundef %49) br label %51 51: ; preds = %48, %44 store ptr null, ptr %1, align 8 br label %71 52: ; preds = %40 %53 = load i64, ptr %4, align 8 %54 = mul i64 %53, 2 store i64 %54, ptr %4, align 8 %55 = load ptr, ptr %3, align 8 %56 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0 %57 = icmp eq ptr %55, %56 br i1 %57, label %58, label %61 58: ; preds = %52 %59 = load i64, ptr %4, align 8 %60 = call ptr @malloc(i64 noundef %59) store ptr %60, ptr %3, align 8 br label %65 61: ; preds = %52 %62 = load ptr, ptr %3, align 8 %63 = load i64, ptr %4, align 8 %64 = call ptr @realloc(ptr noundef %62, i64 noundef %63) store ptr %64, ptr %3, align 8 br label %65 65: ; preds = %61, %58 %66 = load ptr, ptr %3, align 8 %67 = icmp ne ptr %66, null br i1 %67, label %70, label %68 68: ; preds = %65 %69 = load i64, ptr @ENOMEM, align 8 store i64 %69, ptr @errno, align 8 store ptr null, ptr %1, align 8 br label %71 70: ; preds = %65 br label %14 71: ; preds = %68, %51, %34, %10 %72 = load ptr, ptr %1, align 8 ret ptr %72 } declare ptr @getcwd(ptr noundef, i64 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @realloc(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbwodggbx.c" target datalayout = "e-m:e-p270: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 i64 0, align 8 @ERANGE = dso_local global i64 0, align 8 @ENOMEM = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @sgsXPC_GetCurrentDirectory() #0 { %1 = alloca ptr, align 8 %2 = alloca [4096 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 4096, ptr %4, align 8 store i64 40960, ptr %5, align 8 %7 = call ptr @getcwd(ptr noundef null, i64 noundef 0) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %0 %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %1, align 8 br label %74 12: ; preds = %0 store i64 0, ptr @errno, align 8 %13 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0 store ptr %13, ptr %3, align 8 %14 = load ptr, ptr %3, align 8 %15 = load i64, ptr %4, align 8 %16 = call ptr @getcwd(ptr noundef %14, i64 noundef %15) %17 = icmp ne ptr %16, null br i1 %17, label %23, label %.lr.ph .lr.ph: ; preds = %12 br label %40 18: ; preds = %69 %19 = load ptr, ptr %3, align 8 %20 = load i64, ptr %4, align 8 %21 = call ptr @getcwd(ptr noundef %19, i64 noundef %20) %22 = icmp ne ptr %21, null br i1 %22, label %._crit_edge, label %40 ._crit_edge: ; preds = %18 br label %23 23: ; preds = %._crit_edge, %12 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0 %26 = icmp eq ptr %24, %25 br i1 %26, label %27, label %38 27: ; preds = %23 %28 = load ptr, ptr %3, align 8 %29 = call i32 @strlen(ptr noundef %28) %30 = add nsw i32 %29, 1 %31 = sext i32 %30 to i64 store i64 %31, ptr %6, align 8 %32 = load i64, ptr %6, align 8 %33 = call ptr @malloc(i64 noundef %32) store ptr %33, ptr %3, align 8 %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0 %36 = load i64, ptr %6, align 8 %37 = call i32 @memcpy(ptr noundef %34, ptr noundef %35, i64 noundef %36) br label %38 38: ; preds = %27, %23 %39 = load ptr, ptr %3, align 8 store ptr %39, ptr %1, align 8 br label %74 40: ; preds = %.lr.ph, %18 %41 = load i64, ptr @errno, align 8 %42 = load i64, ptr @ERANGE, align 8 %43 = icmp ne i64 %41, %42 br i1 %43, label %48, label %44 44: ; preds = %40 %45 = load i64, ptr %4, align 8 %46 = load i64, ptr %5, align 8 %47 = icmp uge i64 %45, %46 br i1 %47, label %48, label %56 48: ; preds = %44, %40 %49 = load ptr, ptr %3, align 8 %50 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0 %51 = icmp ne ptr %49, %50 br i1 %51, label %52, label %55 52: ; preds = %48 %53 = load ptr, ptr %3, align 8 %54 = call i32 @free(ptr noundef %53) br label %55 55: ; preds = %52, %48 store ptr null, ptr %1, align 8 br label %74 56: ; preds = %44 %57 = load i64, ptr %4, align 8 %58 = mul i64 %57, 2 store i64 %58, ptr %4, align 8 %59 = load ptr, ptr %3, align 8 %60 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0 %61 = icmp eq ptr %59, %60 br i1 %61, label %62, label %65 62: ; preds = %56 %63 = load i64, ptr %4, align 8 %64 = call ptr @malloc(i64 noundef %63) store ptr %64, ptr %3, align 8 br label %69 65: ; preds = %56 %66 = load ptr, ptr %3, align 8 %67 = load i64, ptr %4, align 8 %68 = call ptr @realloc(ptr noundef %66, i64 noundef %67) store ptr %68, ptr %3, align 8 br label %69 69: ; preds = %65, %62 %70 = load ptr, ptr %3, align 8 %71 = icmp ne ptr %70, null br i1 %71, label %18, label %72 72: ; preds = %69 %73 = load i64, ptr @ENOMEM, align 8 store i64 %73, ptr @errno, align 8 store ptr null, ptr %1, align 8 br label %74 74: ; preds = %72, %55, %38, %10 %75 = load ptr, ptr %1, align 8 ret ptr %75 } declare ptr @getcwd(ptr noundef, i64 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @realloc(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjfbj6tnw.c' source_filename = "/tmp/tmpjfbj6tnw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trasposeMatrix(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = call ptr @allocateDoubleMatrix(i32 noundef %10, i32 noundef %11) store ptr %12, ptr %9, align 8 store i32 0, ptr %7, align 4 br label %13 13: ; preds = %44, %3 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %47 17: ; preds = %13 store i32 0, ptr %8, align 4 br label %18 18: ; preds = %40, %17 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %43 22: ; preds = %18 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %8, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = load i32, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds double, ptr %27, i64 %29 %31 = load double, ptr %30, align 8 %32 = load ptr, ptr %9, align 8 %33 = load i32, ptr %7, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %32, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = load i32, ptr %8, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %36, i64 %38 store double %31, ptr %39, align 8 br label %40 40: ; preds = %22 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %8, align 4 br label %18, !llvm.loop !6 43: ; preds = %18 br label %44 44: ; preds = %43 %45 = load i32, ptr %7, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %7, align 4 br label %13, !llvm.loop !8 47: ; preds = %13 %48 = load ptr, ptr %9, align 8 ret ptr %48 } declare ptr @allocateDoubleMatrix(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjfbj6tnw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trasposeMatrix(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = call ptr @allocateDoubleMatrix(i32 noundef %10, i32 noundef %11) store ptr %12, ptr %9, align 8 store i32 0, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph2, label %51 .lr.ph2: ; preds = %3 br label %16 16: ; preds = %.lr.ph2, %45 store i32 0, ptr %8, align 4 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph, label %44 .lr.ph: ; preds = %16 br label %20 20: ; preds = %.lr.ph, %38 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %25, i64 %27 %29 = load double, ptr %28, align 8 %30 = load ptr, ptr %9, align 8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = load i32, ptr %8, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds double, ptr %34, i64 %36 store double %29, ptr %37, align 8 br label %38 38: ; preds = %20 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr %6, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %16 br label %45 45: ; preds = %44 %46 = load i32, ptr %7, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %7, align 4 %48 = load i32, ptr %7, align 4 %49 = load i32, ptr %5, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %16, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %45 br label %51 51: ; preds = %._crit_edge3, %3 %52 = load ptr, ptr %9, align 8 ret ptr %52 } declare ptr @allocateDoubleMatrix(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmph_55pb0u.c' source_filename = "/tmp/tmph_55pb0u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [49 x i8] c"\0A _____XTABLE_____\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [71 x i8] c" Y 10 20 30 40 50 60 70 80 90\00", align 1 @.str.2 = private unnamed_addr constant [77 x i8] c"\0A X ----------------------------------------------------------------------\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c" %d \00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"%d \00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"%d \00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"%d \00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"%d \00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"%d \00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"%d \00", align 1 @.str.10 = private unnamed_addr constant [77 x i8] c"\0A ----------------------------------------------------------------------\0A\00", align 1 @.str.11 = private unnamed_addr constant [34 x i8] c"\0A Equation: x^4 / y^2 + sqrt(y)\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 9, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %8, align 8 %10 = alloca i32, i64 81, align 16 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 br label %12 12: ; preds = %46, %0 %13 = load i32, ptr %5, align 4 %14 = icmp slt i32 %13, 9 br i1 %14, label %15, label %49 15: ; preds = %12 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 10 store i32 %17, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %6, align 4 br label %18 18: ; preds = %42, %15 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %19, 9 br i1 %20, label %21, label %45 21: ; preds = %18 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 10 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %3, align 4 %25 = sitofp i32 %24 to double %26 = call i32 @pow(double noundef %25, double noundef 4.000000e+00) %27 = load i32, ptr %4, align 4 %28 = sitofp i32 %27 to double %29 = call i32 @pow(double noundef %28, double noundef 2.000000e+00) %30 = sdiv i32 %26, %29 %31 = load i32, ptr %4, align 4 %32 = call i32 @sqrt(i32 noundef %31) %33 = add nsw i32 %30, %32 store i32 %33, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %5, align 4 %36 = sext i32 %35 to i64 %37 = mul nsw i64 %36, 9 %38 = getelementptr inbounds i32, ptr %10, i64 %37 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 store i32 %34, ptr %41, align 4 br label %42 42: ; preds = %21 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %6, align 4 br label %18, !llvm.loop !6 45: ; preds = %18 br label %46 46: ; preds = %45 %47 = load i32, ptr %5, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %5, align 4 br label %12, !llvm.loop !8 49: ; preds = %12 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %52 52: ; preds = %254, %49 %53 = load i32, ptr %5, align 4 %54 = icmp slt i32 %53, 9 br i1 %54, label %55, label %257 55: ; preds = %52 %56 = load i32, ptr %4, align 4 %57 = add nsw i32 %56, 10 store i32 %57, ptr %4, align 4 %58 = load i32, ptr %4, align 4 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %58) store i32 0, ptr %6, align 4 br label %60 60: ; preds = %249, %55 %61 = load i32, ptr %6, align 4 %62 = icmp slt i32 %61, 9 br i1 %62, label %63, label %252 63: ; preds = %60 %64 = load i32, ptr %5, align 4 %65 = sext i32 %64 to i64 %66 = mul nsw i64 %65, 9 %67 = getelementptr inbounds i32, ptr %10, i64 %66 %68 = load i32, ptr %6, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i32, ptr %67, i64 %69 %71 = load i32, ptr %70, align 4 %72 = icmp sle i32 0, %71 br i1 %72, label %73, label %93 73: ; preds = %63 %74 = load i32, ptr %5, align 4 %75 = sext i32 %74 to i64 %76 = mul nsw i64 %75, 9 %77 = getelementptr inbounds i32, ptr %10, i64 %76 %78 = load i32, ptr %6, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %77, i64 %79 %81 = load i32, ptr %80, align 4 %82 = icmp sle i32 %81, 9 br i1 %82, label %83, label %93 83: ; preds = %73 %84 = load i32, ptr %5, align 4 %85 = sext i32 %84 to i64 %86 = mul nsw i64 %85, 9 %87 = getelementptr inbounds i32, ptr %10, i64 %86 %88 = load i32, ptr %6, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i32, ptr %87, i64 %89 %91 = load i32, ptr %90, align 4 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %91) br label %248 93: ; preds = %73, %63 %94 = load i32, ptr %5, align 4 %95 = sext i32 %94 to i64 %96 = mul nsw i64 %95, 9 %97 = getelementptr inbounds i32, ptr %10, i64 %96 %98 = load i32, ptr %6, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %97, i64 %99 %101 = load i32, ptr %100, align 4 %102 = icmp sle i32 10, %101 br i1 %102, label %103, label %123 103: ; preds = %93 %104 = load i32, ptr %5, align 4 %105 = sext i32 %104 to i64 %106 = mul nsw i64 %105, 9 %107 = getelementptr inbounds i32, ptr %10, i64 %106 %108 = load i32, ptr %6, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i32, ptr %107, i64 %109 %111 = load i32, ptr %110, align 4 %112 = icmp sle i32 %111, 99 br i1 %112, label %113, label %123 113: ; preds = %103 %114 = load i32, ptr %5, align 4 %115 = sext i32 %114 to i64 %116 = mul nsw i64 %115, 9 %117 = getelementptr inbounds i32, ptr %10, i64 %116 %118 = load i32, ptr %6, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds i32, ptr %117, i64 %119 %121 = load i32, ptr %120, align 4 %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %121) br label %247 123: ; preds = %103, %93 %124 = load i32, ptr %5, align 4 %125 = sext i32 %124 to i64 %126 = mul nsw i64 %125, 9 %127 = getelementptr inbounds i32, ptr %10, i64 %126 %128 = load i32, ptr %6, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds i32, ptr %127, i64 %129 %131 = load i32, ptr %130, align 4 %132 = icmp sle i32 100, %131 br i1 %132, label %133, label %153 133: ; preds = %123 %134 = load i32, ptr %5, align 4 %135 = sext i32 %134 to i64 %136 = mul nsw i64 %135, 9 %137 = getelementptr inbounds i32, ptr %10, i64 %136 %138 = load i32, ptr %6, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds i32, ptr %137, i64 %139 %141 = load i32, ptr %140, align 4 %142 = icmp sle i32 %141, 999 br i1 %142, label %143, label %153 143: ; preds = %133 %144 = load i32, ptr %5, align 4 %145 = sext i32 %144 to i64 %146 = mul nsw i64 %145, 9 %147 = getelementptr inbounds i32, ptr %10, i64 %146 %148 = load i32, ptr %6, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds i32, ptr %147, i64 %149 %151 = load i32, ptr %150, align 4 %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %151) br label %246 153: ; preds = %133, %123 %154 = load i32, ptr %5, align 4 %155 = sext i32 %154 to i64 %156 = mul nsw i64 %155, 9 %157 = getelementptr inbounds i32, ptr %10, i64 %156 %158 = load i32, ptr %6, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds i32, ptr %157, i64 %159 %161 = load i32, ptr %160, align 4 %162 = icmp sle i32 1000, %161 br i1 %162, label %163, label %183 163: ; preds = %153 %164 = load i32, ptr %5, align 4 %165 = sext i32 %164 to i64 %166 = mul nsw i64 %165, 9 %167 = getelementptr inbounds i32, ptr %10, i64 %166 %168 = load i32, ptr %6, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds i32, ptr %167, i64 %169 %171 = load i32, ptr %170, align 4 %172 = icmp sle i32 %171, 9999 br i1 %172, label %173, label %183 173: ; preds = %163 %174 = load i32, ptr %5, align 4 %175 = sext i32 %174 to i64 %176 = mul nsw i64 %175, 9 %177 = getelementptr inbounds i32, ptr %10, i64 %176 %178 = load i32, ptr %6, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds i32, ptr %177, i64 %179 %181 = load i32, ptr %180, align 4 %182 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %181) br label %245 183: ; preds = %163, %153 %184 = load i32, ptr %5, align 4 %185 = sext i32 %184 to i64 %186 = mul nsw i64 %185, 9 %187 = getelementptr inbounds i32, ptr %10, i64 %186 %188 = load i32, ptr %6, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds i32, ptr %187, i64 %189 %191 = load i32, ptr %190, align 4 %192 = icmp sle i32 10000, %191 br i1 %192, label %193, label %213 193: ; preds = %183 %194 = load i32, ptr %5, align 4 %195 = sext i32 %194 to i64 %196 = mul nsw i64 %195, 9 %197 = getelementptr inbounds i32, ptr %10, i64 %196 %198 = load i32, ptr %6, align 4 %199 = sext i32 %198 to i64 %200 = getelementptr inbounds i32, ptr %197, i64 %199 %201 = load i32, ptr %200, align 4 %202 = icmp sle i32 %201, 99999 br i1 %202, label %203, label %213 203: ; preds = %193 %204 = load i32, ptr %5, align 4 %205 = sext i32 %204 to i64 %206 = mul nsw i64 %205, 9 %207 = getelementptr inbounds i32, ptr %10, i64 %206 %208 = load i32, ptr %6, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds i32, ptr %207, i64 %209 %211 = load i32, ptr %210, align 4 %212 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %211) br label %244 213: ; preds = %193, %183 %214 = load i32, ptr %5, align 4 %215 = sext i32 %214 to i64 %216 = mul nsw i64 %215, 9 %217 = getelementptr inbounds i32, ptr %10, i64 %216 %218 = load i32, ptr %6, align 4 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds i32, ptr %217, i64 %219 %221 = load i32, ptr %220, align 4 %222 = icmp sle i32 100000, %221 br i1 %222, label %223, label %243 223: ; preds = %213 %224 = load i32, ptr %5, align 4 %225 = sext i32 %224 to i64 %226 = mul nsw i64 %225, 9 %227 = getelementptr inbounds i32, ptr %10, i64 %226 %228 = load i32, ptr %6, align 4 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds i32, ptr %227, i64 %229 %231 = load i32, ptr %230, align 4 %232 = icmp sle i32 %231, 999999 br i1 %232, label %233, label %243 233: ; preds = %223 %234 = load i32, ptr %5, align 4 %235 = sext i32 %234 to i64 %236 = mul nsw i64 %235, 9 %237 = getelementptr inbounds i32, ptr %10, i64 %236 %238 = load i32, ptr %6, align 4 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds i32, ptr %237, i64 %239 %241 = load i32, ptr %240, align 4 %242 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %241) br label %243 243: ; preds = %233, %223, %213 br label %244 244: ; preds = %243, %203 br label %245 245: ; preds = %244, %173 br label %246 246: ; preds = %245, %143 br label %247 247: ; preds = %246, %113 br label %248 248: ; preds = %247, %83 br label %249 249: ; preds = %248 %250 = load i32, ptr %6, align 4 %251 = add nsw i32 %250, 1 store i32 %251, ptr %6, align 4 br label %60, !llvm.loop !9 252: ; preds = %60 %253 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %254 254: ; preds = %252 %255 = load i32, ptr %5, align 4 %256 = add nsw i32 %255, 1 store i32 %256, ptr %5, align 4 br label %52, !llvm.loop !10 257: ; preds = %52 %258 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) store i32 0, ptr %1, align 4 %259 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %259) %260 = load i32, ptr %1, align 4 ret i32 %260 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @pow(double noundef, double noundef) #2 declare i32 @sqrt(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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph_55pb0u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [49 x i8] c"\0A _____XTABLE_____\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [71 x i8] c" Y 10 20 30 40 50 60 70 80 90\00", align 1 @.str.2 = private unnamed_addr constant [77 x i8] c"\0A X ----------------------------------------------------------------------\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c" %d \00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"%d \00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"%d \00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"%d \00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"%d \00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"%d \00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"%d \00", align 1 @.str.10 = private unnamed_addr constant [77 x i8] c"\0A ----------------------------------------------------------------------\0A\00", align 1 @.str.11 = private unnamed_addr constant [34 x i8] c"\0A Equation: x^4 / y^2 + sqrt(y)\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 9, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %8, align 8 %10 = alloca i32, i64 81, align 16 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %12, 9 br i1 %13, label %.lr.ph2, label %51 .lr.ph2: ; preds = %0 br label %14 14: ; preds = %.lr.ph2, %46 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 10 store i32 %16, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %17, 9 br i1 %18, label %.lr.ph, label %45 .lr.ph: ; preds = %14 br label %19 19: ; preds = %.lr.ph, %40 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 10 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %3, align 4 %23 = sitofp i32 %22 to double %24 = call i32 @pow(double noundef %23, double noundef 4.000000e+00) %25 = load i32, ptr %4, align 4 %26 = sitofp i32 %25 to double %27 = call i32 @pow(double noundef %26, double noundef 2.000000e+00) %28 = sdiv i32 %24, %27 %29 = load i32, ptr %4, align 4 %30 = call i32 @sqrt(i32 noundef %29) %31 = add nsw i32 %28, %30 store i32 %31, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = mul nsw i64 %34, 9 %36 = getelementptr inbounds i32, ptr %10, i64 %35 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 store i32 %32, ptr %39, align 4 br label %40 40: ; preds = %19 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %6, align 4 %44 = icmp slt i32 %43, 9 br i1 %44, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %45 45: ; preds = %._crit_edge, %14 br label %46 46: ; preds = %45 %47 = load i32, ptr %5, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %5, align 4 %49 = load i32, ptr %5, align 4 %50 = icmp slt i32 %49, 9 br i1 %50, label %14, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %46 br label %51 51: ; preds = %._crit_edge3, %0 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %54 = load i32, ptr %5, align 4 %55 = icmp slt i32 %54, 9 br i1 %55, label %.lr.ph8, label %261 .lr.ph8: ; preds = %51 br label %56 56: ; preds = %.lr.ph8, %256 %57 = load i32, ptr %4, align 4 %58 = add nsw i32 %57, 10 store i32 %58, ptr %4, align 4 %59 = load i32, ptr %4, align 4 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %59) store i32 0, ptr %6, align 4 %61 = load i32, ptr %6, align 4 %62 = icmp slt i32 %61, 9 br i1 %62, label %.lr.ph5, label %254 .lr.ph5: ; preds = %56 br label %63 63: ; preds = %.lr.ph5, %249 %64 = load i32, ptr %5, align 4 %65 = sext i32 %64 to i64 %66 = mul nsw i64 %65, 9 %67 = getelementptr inbounds i32, ptr %10, i64 %66 %68 = load i32, ptr %6, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i32, ptr %67, i64 %69 %71 = load i32, ptr %70, align 4 %72 = icmp sle i32 0, %71 br i1 %72, label %73, label %93 73: ; preds = %63 %74 = load i32, ptr %5, align 4 %75 = sext i32 %74 to i64 %76 = mul nsw i64 %75, 9 %77 = getelementptr inbounds i32, ptr %10, i64 %76 %78 = load i32, ptr %6, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %77, i64 %79 %81 = load i32, ptr %80, align 4 %82 = icmp sle i32 %81, 9 br i1 %82, label %83, label %93 83: ; preds = %73 %84 = load i32, ptr %5, align 4 %85 = sext i32 %84 to i64 %86 = mul nsw i64 %85, 9 %87 = getelementptr inbounds i32, ptr %10, i64 %86 %88 = load i32, ptr %6, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i32, ptr %87, i64 %89 %91 = load i32, ptr %90, align 4 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %91) br label %248 93: ; preds = %73, %63 %94 = load i32, ptr %5, align 4 %95 = sext i32 %94 to i64 %96 = mul nsw i64 %95, 9 %97 = getelementptr inbounds i32, ptr %10, i64 %96 %98 = load i32, ptr %6, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %97, i64 %99 %101 = load i32, ptr %100, align 4 %102 = icmp sle i32 10, %101 br i1 %102, label %103, label %123 103: ; preds = %93 %104 = load i32, ptr %5, align 4 %105 = sext i32 %104 to i64 %106 = mul nsw i64 %105, 9 %107 = getelementptr inbounds i32, ptr %10, i64 %106 %108 = load i32, ptr %6, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i32, ptr %107, i64 %109 %111 = load i32, ptr %110, align 4 %112 = icmp sle i32 %111, 99 br i1 %112, label %113, label %123 113: ; preds = %103 %114 = load i32, ptr %5, align 4 %115 = sext i32 %114 to i64 %116 = mul nsw i64 %115, 9 %117 = getelementptr inbounds i32, ptr %10, i64 %116 %118 = load i32, ptr %6, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds i32, ptr %117, i64 %119 %121 = load i32, ptr %120, align 4 %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %121) br label %247 123: ; preds = %103, %93 %124 = load i32, ptr %5, align 4 %125 = sext i32 %124 to i64 %126 = mul nsw i64 %125, 9 %127 = getelementptr inbounds i32, ptr %10, i64 %126 %128 = load i32, ptr %6, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds i32, ptr %127, i64 %129 %131 = load i32, ptr %130, align 4 %132 = icmp sle i32 100, %131 br i1 %132, label %133, label %153 133: ; preds = %123 %134 = load i32, ptr %5, align 4 %135 = sext i32 %134 to i64 %136 = mul nsw i64 %135, 9 %137 = getelementptr inbounds i32, ptr %10, i64 %136 %138 = load i32, ptr %6, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds i32, ptr %137, i64 %139 %141 = load i32, ptr %140, align 4 %142 = icmp sle i32 %141, 999 br i1 %142, label %143, label %153 143: ; preds = %133 %144 = load i32, ptr %5, align 4 %145 = sext i32 %144 to i64 %146 = mul nsw i64 %145, 9 %147 = getelementptr inbounds i32, ptr %10, i64 %146 %148 = load i32, ptr %6, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds i32, ptr %147, i64 %149 %151 = load i32, ptr %150, align 4 %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %151) br label %246 153: ; preds = %133, %123 %154 = load i32, ptr %5, align 4 %155 = sext i32 %154 to i64 %156 = mul nsw i64 %155, 9 %157 = getelementptr inbounds i32, ptr %10, i64 %156 %158 = load i32, ptr %6, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds i32, ptr %157, i64 %159 %161 = load i32, ptr %160, align 4 %162 = icmp sle i32 1000, %161 br i1 %162, label %163, label %183 163: ; preds = %153 %164 = load i32, ptr %5, align 4 %165 = sext i32 %164 to i64 %166 = mul nsw i64 %165, 9 %167 = getelementptr inbounds i32, ptr %10, i64 %166 %168 = load i32, ptr %6, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds i32, ptr %167, i64 %169 %171 = load i32, ptr %170, align 4 %172 = icmp sle i32 %171, 9999 br i1 %172, label %173, label %183 173: ; preds = %163 %174 = load i32, ptr %5, align 4 %175 = sext i32 %174 to i64 %176 = mul nsw i64 %175, 9 %177 = getelementptr inbounds i32, ptr %10, i64 %176 %178 = load i32, ptr %6, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds i32, ptr %177, i64 %179 %181 = load i32, ptr %180, align 4 %182 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %181) br label %245 183: ; preds = %163, %153 %184 = load i32, ptr %5, align 4 %185 = sext i32 %184 to i64 %186 = mul nsw i64 %185, 9 %187 = getelementptr inbounds i32, ptr %10, i64 %186 %188 = load i32, ptr %6, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds i32, ptr %187, i64 %189 %191 = load i32, ptr %190, align 4 %192 = icmp sle i32 10000, %191 br i1 %192, label %193, label %213 193: ; preds = %183 %194 = load i32, ptr %5, align 4 %195 = sext i32 %194 to i64 %196 = mul nsw i64 %195, 9 %197 = getelementptr inbounds i32, ptr %10, i64 %196 %198 = load i32, ptr %6, align 4 %199 = sext i32 %198 to i64 %200 = getelementptr inbounds i32, ptr %197, i64 %199 %201 = load i32, ptr %200, align 4 %202 = icmp sle i32 %201, 99999 br i1 %202, label %203, label %213 203: ; preds = %193 %204 = load i32, ptr %5, align 4 %205 = sext i32 %204 to i64 %206 = mul nsw i64 %205, 9 %207 = getelementptr inbounds i32, ptr %10, i64 %206 %208 = load i32, ptr %6, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds i32, ptr %207, i64 %209 %211 = load i32, ptr %210, align 4 %212 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %211) br label %244 213: ; preds = %193, %183 %214 = load i32, ptr %5, align 4 %215 = sext i32 %214 to i64 %216 = mul nsw i64 %215, 9 %217 = getelementptr inbounds i32, ptr %10, i64 %216 %218 = load i32, ptr %6, align 4 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds i32, ptr %217, i64 %219 %221 = load i32, ptr %220, align 4 %222 = icmp sle i32 100000, %221 br i1 %222, label %223, label %243 223: ; preds = %213 %224 = load i32, ptr %5, align 4 %225 = sext i32 %224 to i64 %226 = mul nsw i64 %225, 9 %227 = getelementptr inbounds i32, ptr %10, i64 %226 %228 = load i32, ptr %6, align 4 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds i32, ptr %227, i64 %229 %231 = load i32, ptr %230, align 4 %232 = icmp sle i32 %231, 999999 br i1 %232, label %233, label %243 233: ; preds = %223 %234 = load i32, ptr %5, align 4 %235 = sext i32 %234 to i64 %236 = mul nsw i64 %235, 9 %237 = getelementptr inbounds i32, ptr %10, i64 %236 %238 = load i32, ptr %6, align 4 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds i32, ptr %237, i64 %239 %241 = load i32, ptr %240, align 4 %242 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %241) br label %243 243: ; preds = %233, %223, %213 br label %244 244: ; preds = %243, %203 br label %245 245: ; preds = %244, %173 br label %246 246: ; preds = %245, %143 br label %247 247: ; preds = %246, %113 br label %248 248: ; preds = %247, %83 br label %249 249: ; preds = %248 %250 = load i32, ptr %6, align 4 %251 = add nsw i32 %250, 1 store i32 %251, ptr %6, align 4 %252 = load i32, ptr %6, align 4 %253 = icmp slt i32 %252, 9 br i1 %253, label %63, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %249 br label %254 254: ; preds = %._crit_edge6, %56 %255 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %256 256: ; preds = %254 %257 = load i32, ptr %5, align 4 %258 = add nsw i32 %257, 1 store i32 %258, ptr %5, align 4 %259 = load i32, ptr %5, align 4 %260 = icmp slt i32 %259, 9 br i1 %260, label %56, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %256 br label %261 261: ; preds = %._crit_edge9, %51 %262 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) store i32 0, ptr %1, align 4 %263 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %263) %264 = load i32, ptr %1, align 4 ret i32 %264 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @pow(double noundef, double noundef) #2 declare i32 @sqrt(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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp8tdyq6y4.c' source_filename = "/tmp/tmp8tdyq6y4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ASN1_TIME_set_string(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @ASN1_TIME_set_string_internal(ptr noundef %5, ptr noundef %6, i32 noundef 0) ret i32 %7 } declare i32 @ASN1_TIME_set_string_internal(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8tdyq6y4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ASN1_TIME_set_string(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @ASN1_TIME_set_string_internal(ptr noundef %5, ptr noundef %6, i32 noundef 0) ret i32 %7 } declare i32 @ASN1_TIME_set_string_internal(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5qhv2zzw.c' source_filename = "/tmp/tmp5qhv2zzw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trimLeft_execute(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 0, ptr %5, align 8 br label %6 6: ; preds = %19, %2 %7 = load i64, ptr %5, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp slt i64 %7, %8 br i1 %9, label %10, label %22 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %5, align 8 %13 = getelementptr inbounds i8, ptr %11, i64 %12 %14 = load i8, ptr %13, align 1 %15 = call i64 @isspace(i8 noundef zeroext %14) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %10 br label %22 18: ; preds = %10 br label %19 19: ; preds = %18 %20 = load i64, ptr %5, align 8 %21 = add nsw i64 %20, 1 store i64 %21, ptr %5, align 8 br label %6, !llvm.loop !6 22: ; preds = %17, %6 %23 = load i64, ptr %5, align 8 %24 = trunc i64 %23 to i32 ret i32 %24 } declare i64 @isspace(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5qhv2zzw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trimLeft_execute(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 0, ptr %5, align 8 %6 = load i64, ptr %5, align 8 %7 = load i64, ptr %4, align 8 %8 = icmp slt i64 %6, %7 br i1 %8, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %18 %10 = load ptr, ptr %3, align 8 %11 = load i64, ptr %5, align 8 %12 = getelementptr inbounds i8, ptr %10, i64 %11 %13 = load i8, ptr %12, align 1 %14 = call i64 @isspace(i8 noundef zeroext %13) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %9 br label %24 17: ; preds = %9 br label %18 18: ; preds = %17 %19 = load i64, ptr %5, align 8 %20 = add nsw i64 %19, 1 store i64 %20, ptr %5, align 8 %21 = load i64, ptr %5, align 8 %22 = load i64, ptr %4, align 8 %23 = icmp slt i64 %21, %22 br i1 %23, label %9, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %18 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %24 24: ; preds = %.loopexit, %16 %25 = load i64, ptr %5, align 8 %26 = trunc i64 %25 to i32 ret i32 %26 } declare i64 @isspace(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_x1zmdk8.c' source_filename = "/tmp/tmp_x1zmdk8.c" target datalayout = "e-m:e-p270: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 double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @gaussian(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %9 = load double, ptr @M_PI, align 8 %10 = fmul double 2.000000e+00, %9 %11 = call double @sqrt(double noundef %10) #2 %12 = load double, ptr %6, align 8 %13 = fmul double %11, %12 %14 = fdiv double 1.000000e+00, %13 store double %14, ptr %7, align 8 %15 = load double, ptr %4, align 8 %16 = load double, ptr %5, align 8 %17 = fsub double %15, %16 %18 = load double, ptr %6, align 8 %19 = fdiv double %17, %18 store double %19, ptr %8, align 8 %20 = load double, ptr %7, align 8 %21 = load double, ptr %8, align 8 %22 = fmul double -5.000000e-01, %21 %23 = load double, ptr %8, align 8 %24 = fmul double %22, %23 %25 = call double @exp(double noundef %24) #2 %26 = fmul double %20, %25 ret double %26 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; 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/tmp_x1zmdk8.c" target datalayout = "e-m:e-p270: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 double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @gaussian(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %9 = load double, ptr @M_PI, align 8 %10 = fmul double 2.000000e+00, %9 %11 = call double @sqrt(double noundef %10) #2 %12 = load double, ptr %6, align 8 %13 = fmul double %11, %12 %14 = fdiv double 1.000000e+00, %13 store double %14, ptr %7, align 8 %15 = load double, ptr %4, align 8 %16 = load double, ptr %5, align 8 %17 = fsub double %15, %16 %18 = load double, ptr %6, align 8 %19 = fdiv double %17, %18 store double %19, ptr %8, align 8 %20 = load double, ptr %7, align 8 %21 = load double, ptr %8, align 8 %22 = fmul double -5.000000e-01, %21 %23 = load double, ptr %8, align 8 %24 = fmul double %22, %23 %25 = call double @exp(double noundef %24) #2 %26 = fmul double %20, %25 ret double %26 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; 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/tmpf3yw_4y9.c' source_filename = "/tmp/tmpf3yw_4y9.c" target datalayout = "e-m:e-p270: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/tmpf3yw_4y9.c" target datalayout = "e-m:e-p270: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/tmpnw7wx0pq.c' source_filename = "/tmp/tmpnw7wx0pq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Bienvenido\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"Seleccione un programa de la lista:\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"0. Ninguno, me tengo que ir\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"1. Divisibles entre 7\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"2. Numeros pares\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"3. Segundos\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Introduzca numero:\09\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"cls\00", align 1 @.str.9 = private unnamed_addr constant [34 x i8] c"Introduce un numero mayor que 0\0A\0A\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 @.str.11 = private unnamed_addr constant [43 x i8] c"Ejecutando programa 'Divisibles entre 7'\0A\0A\00", align 1 @.str.12 = private unnamed_addr constant [12 x i8] c"Continuar?\0A\00", align 1 @.str.13 = private unnamed_addr constant [38 x i8] c"Ejecutando programa 'Numeros pares'\0A\0A\00", align 1 @.str.14 = private unnamed_addr constant [33 x i8] c"Ejecutando programa 'Segundos'\0A\0A\00", align 1 @.str.15 = private unnamed_addr constant [39 x i8] c"Introduce un numero entre el 1 y el 3\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.2) %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 @scanf(ptr noundef @.str.7, ptr noundef %2) %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %19 13: ; preds = %0 %14 = call i32 @system(ptr noundef @.str.8) %15 = call i32 @printf(ptr noundef @.str.9) %16 = call i32 @system(ptr noundef @.str.10) %17 = call i32 @system(ptr noundef @.str.8) %18 = call i32 @main() br label %63 19: ; preds = %0 %20 = load i32, ptr %2, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %19 store i32 0, ptr %1, align 4 br label %64 23: ; preds = %19 %24 = load i32, ptr %2, align 4 %25 = icmp eq i32 %24, 1 br i1 %25, label %26, label %33 26: ; preds = %23 %27 = call i32 @system(ptr noundef @.str.8) %28 = call i32 @printf(ptr noundef @.str.11) %29 = call i32 @printf(ptr noundef @.str.12) %30 = call i32 @system(ptr noundef @.str.10) %31 = call i32 @system(ptr noundef @.str.8) %32 = call i32 (...) @divis() br label %61 33: ; preds = %23 %34 = load i32, ptr %2, align 4 %35 = icmp eq i32 %34, 2 br i1 %35, label %36, label %43 36: ; preds = %33 %37 = call i32 @system(ptr noundef @.str.8) %38 = call i32 @printf(ptr noundef @.str.13) %39 = call i32 @printf(ptr noundef @.str.12) %40 = call i32 @system(ptr noundef @.str.10) %41 = call i32 @system(ptr noundef @.str.8) %42 = call i32 (...) @pares() br label %60 43: ; preds = %33 %44 = load i32, ptr %2, align 4 %45 = icmp eq i32 %44, 3 br i1 %45, label %46, label %53 46: ; preds = %43 %47 = call i32 @system(ptr noundef @.str.8) %48 = call i32 @printf(ptr noundef @.str.14) %49 = call i32 @printf(ptr noundef @.str.12) %50 = call i32 @system(ptr noundef @.str.10) %51 = call i32 @system(ptr noundef @.str.8) %52 = call i32 (...) @seg() br label %59 53: ; preds = %43 %54 = call i32 @system(ptr noundef @.str.8) %55 = call i32 @printf(ptr noundef @.str.15) %56 = call i32 @system(ptr noundef @.str.10) %57 = call i32 @system(ptr noundef @.str.8) %58 = call i32 @main() br label %59 59: ; preds = %53, %46 br label %60 60: ; preds = %59, %36 br label %61 61: ; preds = %60, %26 br label %62 62: ; preds = %61 br label %63 63: ; preds = %62, %13 store i32 0, ptr %1, align 4 br label %64 64: ; preds = %63, %22 %65 = load i32, ptr %1, align 4 ret i32 %65 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @divis(...) #1 declare i32 @pares(...) #1 declare i32 @seg(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnw7wx0pq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Bienvenido\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"Seleccione un programa de la lista:\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"0. Ninguno, me tengo que ir\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"1. Divisibles entre 7\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"2. Numeros pares\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"3. Segundos\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Introduzca numero:\09\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"cls\00", align 1 @.str.9 = private unnamed_addr constant [34 x i8] c"Introduce un numero mayor que 0\0A\0A\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 @.str.11 = private unnamed_addr constant [43 x i8] c"Ejecutando programa 'Divisibles entre 7'\0A\0A\00", align 1 @.str.12 = private unnamed_addr constant [12 x i8] c"Continuar?\0A\00", align 1 @.str.13 = private unnamed_addr constant [38 x i8] c"Ejecutando programa 'Numeros pares'\0A\0A\00", align 1 @.str.14 = private unnamed_addr constant [33 x i8] c"Ejecutando programa 'Segundos'\0A\0A\00", align 1 @.str.15 = private unnamed_addr constant [39 x i8] c"Introduce un numero entre el 1 y el 3\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.2) %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 @scanf(ptr noundef @.str.7, ptr noundef %2) %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %19 13: ; preds = %0 %14 = call i32 @system(ptr noundef @.str.8) %15 = call i32 @printf(ptr noundef @.str.9) %16 = call i32 @system(ptr noundef @.str.10) %17 = call i32 @system(ptr noundef @.str.8) %18 = call i32 @main() br label %63 19: ; preds = %0 %20 = load i32, ptr %2, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %19 store i32 0, ptr %1, align 4 br label %64 23: ; preds = %19 %24 = load i32, ptr %2, align 4 %25 = icmp eq i32 %24, 1 br i1 %25, label %26, label %33 26: ; preds = %23 %27 = call i32 @system(ptr noundef @.str.8) %28 = call i32 @printf(ptr noundef @.str.11) %29 = call i32 @printf(ptr noundef @.str.12) %30 = call i32 @system(ptr noundef @.str.10) %31 = call i32 @system(ptr noundef @.str.8) %32 = call i32 (...) @divis() br label %61 33: ; preds = %23 %34 = load i32, ptr %2, align 4 %35 = icmp eq i32 %34, 2 br i1 %35, label %36, label %43 36: ; preds = %33 %37 = call i32 @system(ptr noundef @.str.8) %38 = call i32 @printf(ptr noundef @.str.13) %39 = call i32 @printf(ptr noundef @.str.12) %40 = call i32 @system(ptr noundef @.str.10) %41 = call i32 @system(ptr noundef @.str.8) %42 = call i32 (...) @pares() br label %60 43: ; preds = %33 %44 = load i32, ptr %2, align 4 %45 = icmp eq i32 %44, 3 br i1 %45, label %46, label %53 46: ; preds = %43 %47 = call i32 @system(ptr noundef @.str.8) %48 = call i32 @printf(ptr noundef @.str.14) %49 = call i32 @printf(ptr noundef @.str.12) %50 = call i32 @system(ptr noundef @.str.10) %51 = call i32 @system(ptr noundef @.str.8) %52 = call i32 (...) @seg() br label %59 53: ; preds = %43 %54 = call i32 @system(ptr noundef @.str.8) %55 = call i32 @printf(ptr noundef @.str.15) %56 = call i32 @system(ptr noundef @.str.10) %57 = call i32 @system(ptr noundef @.str.8) %58 = call i32 @main() br label %59 59: ; preds = %53, %46 br label %60 60: ; preds = %59, %36 br label %61 61: ; preds = %60, %26 br label %62 62: ; preds = %61 br label %63 63: ; preds = %62, %13 store i32 0, ptr %1, align 4 br label %64 64: ; preds = %63, %22 %65 = load i32, ptr %1, align 4 ret i32 %65 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @divis(...) #1 declare i32 @pares(...) #1 declare i32 @seg(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp81pw73tu.c' source_filename = "/tmp/tmp81pw73tu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_WRONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"error opening %s: %s (%d)\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"error writing to %s: %s (%d)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @writeStr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr @O_WRONLY, align 4 %11 = call i32 @open(ptr noundef %9, i32 noundef %10) store i32 %11, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %21 14: ; preds = %2 %15 = load i32, ptr @stderr, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr @errno, align 4 %18 = call ptr @strerror(i32 noundef %17) %19 = load i32, ptr @errno, align 4 %20 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %16, ptr noundef %18, i32 noundef %19) store i32 0, ptr %3, align 4 br label %41 21: ; preds = %2 store i32 1, ptr %7, align 4 %22 = load ptr, ptr %5, align 8 %23 = call i64 @strlen(ptr noundef %22) store i64 %23, ptr %8, align 8 %24 = load i32, ptr %6, align 4 %25 = load ptr, ptr %5, align 8 %26 = load i64, ptr %8, align 8 %27 = call i64 @write(i32 noundef %24, ptr noundef %25, i64 noundef %26) %28 = load i64, ptr %8, align 8 %29 = icmp ne i64 %27, %28 br i1 %29, label %30, label %37 30: ; preds = %21 %31 = load i32, ptr @stderr, align 4 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr @errno, align 4 %34 = call ptr @strerror(i32 noundef %33) %35 = load i32, ptr @errno, align 4 %36 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.1, ptr noundef %32, ptr noundef %34, i32 noundef %35) store i32 0, ptr %7, align 4 br label %37 37: ; preds = %30, %21 %38 = load i32, ptr %6, align 4 %39 = call i32 @close(i32 noundef %38) %40 = load i32, ptr %7, align 4 store i32 %40, ptr %3, align 4 br label %41 41: ; preds = %37, %14 %42 = load i32, ptr %3, align 4 ret i32 %42 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i64 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/tmp81pw73tu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_WRONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"error opening %s: %s (%d)\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"error writing to %s: %s (%d)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @writeStr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr @O_WRONLY, align 4 %11 = call i32 @open(ptr noundef %9, i32 noundef %10) store i32 %11, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %21 14: ; preds = %2 %15 = load i32, ptr @stderr, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr @errno, align 4 %18 = call ptr @strerror(i32 noundef %17) %19 = load i32, ptr @errno, align 4 %20 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %16, ptr noundef %18, i32 noundef %19) store i32 0, ptr %3, align 4 br label %41 21: ; preds = %2 store i32 1, ptr %7, align 4 %22 = load ptr, ptr %5, align 8 %23 = call i64 @strlen(ptr noundef %22) store i64 %23, ptr %8, align 8 %24 = load i32, ptr %6, align 4 %25 = load ptr, ptr %5, align 8 %26 = load i64, ptr %8, align 8 %27 = call i64 @write(i32 noundef %24, ptr noundef %25, i64 noundef %26) %28 = load i64, ptr %8, align 8 %29 = icmp ne i64 %27, %28 br i1 %29, label %30, label %37 30: ; preds = %21 %31 = load i32, ptr @stderr, align 4 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr @errno, align 4 %34 = call ptr @strerror(i32 noundef %33) %35 = load i32, ptr @errno, align 4 %36 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.1, ptr noundef %32, ptr noundef %34, i32 noundef %35) store i32 0, ptr %7, align 4 br label %37 37: ; preds = %30, %21 %38 = load i32, ptr %6, align 4 %39 = call i32 @close(i32 noundef %38) %40 = load i32, ptr %7, align 4 store i32 %40, ptr %3, align 4 br label %41 41: ; preds = %37, %14 %42 = load i32, ptr %3, align 4 ret i32 %42 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i64 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/tmp8b7uqek9.c' source_filename = "/tmp/tmp8b7uqek9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @empty(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %22, %1 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i8, ptr %6, i64 %8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %25 13: ; preds = %5 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = call i32 @isspace(i8 noundef signext %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %13 store i32 0, ptr %2, align 4 br label %26 22: ; preds = %13 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 br label %5, !llvm.loop !6 25: ; preds = %5 store i32 1, ptr %2, align 4 br label %26 26: ; preds = %25, %21 %27 = load i32, ptr %2, align 4 ret i32 %27 } declare i32 @isspace(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/tmp8b7uqek9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @empty(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph, label %31 .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %21 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = call i32 @isspace(i8 noundef signext %17) %19 = icmp ne i32 %18, 0 br i1 %19, label %21, label %20 20: ; preds = %12 store i32 0, ptr %2, align 4 br label %32 21: ; preds = %12 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 %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 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 0 br i1 %30, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %31 31: ; preds = %._crit_edge, %1 store i32 1, ptr %2, align 4 br label %32 32: ; preds = %31, %20 %33 = load i32, ptr %2, align 4 ret i32 %33 } declare i32 @isspace(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/tmpekjhgfhb.c' source_filename = "/tmp/tmpekjhgfhb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call ptr @malloc(i32 noundef 10000) store ptr %5, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) store i32 0, ptr %3, align 4 br label %8 8: ; preds = %151, %0 %9 = load i32, ptr %3, align 4 %10 = load ptr, ptr %2, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = icmp slt i32 %9, %11 br i1 %12, label %13, label %154 13: ; preds = %8 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 switch i32 %19, label %150 [ i32 65, label %20 i32 66, label %25 i32 67, label %30 i32 68, label %35 i32 69, label %40 i32 70, label %45 i32 71, label %50 i32 72, label %55 i32 73, label %60 i32 74, label %65 i32 75, label %70 i32 76, label %75 i32 77, label %80 i32 78, label %85 i32 79, label %90 i32 80, label %95 i32 81, label %100 i32 82, label %105 i32 83, label %110 i32 84, label %115 i32 85, label %120 i32 86, label %125 i32 88, label %130 i32 89, label %135 i32 87, label %140 i32 90, label %145 ] 20: ; preds = %13 %21 = load ptr, ptr %2, align 8 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 store i8 97, ptr %24, align 1 br label %150 25: ; preds = %13 %26 = load ptr, ptr %2, align 8 %27 = load i32, ptr %3, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 store i8 98, ptr %29, align 1 br label %150 30: ; preds = %13 %31 = load ptr, ptr %2, align 8 %32 = load i32, ptr %3, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 store i8 99, ptr %34, align 1 br label %150 35: ; preds = %13 %36 = load ptr, ptr %2, align 8 %37 = load i32, ptr %3, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 store i8 100, ptr %39, align 1 br label %150 40: ; preds = %13 %41 = load ptr, ptr %2, align 8 %42 = load i32, ptr %3, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 store i8 101, ptr %44, align 1 br label %150 45: ; preds = %13 %46 = load ptr, ptr %2, align 8 %47 = load i32, ptr %3, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 store i8 102, ptr %49, align 1 br label %150 50: ; preds = %13 %51 = load ptr, ptr %2, align 8 %52 = load i32, ptr %3, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 store i8 103, ptr %54, align 1 br label %150 55: ; preds = %13 %56 = load ptr, ptr %2, align 8 %57 = load i32, ptr %3, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 store i8 104, ptr %59, align 1 br label %150 60: ; preds = %13 %61 = load ptr, ptr %2, align 8 %62 = load i32, ptr %3, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 store i8 105, ptr %64, align 1 br label %150 65: ; preds = %13 %66 = load ptr, ptr %2, align 8 %67 = load i32, ptr %3, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %66, i64 %68 store i8 106, ptr %69, align 1 br label %150 70: ; preds = %13 %71 = load ptr, ptr %2, align 8 %72 = load i32, ptr %3, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 store i8 107, ptr %74, align 1 br label %150 75: ; preds = %13 %76 = load ptr, ptr %2, align 8 %77 = load i32, ptr %3, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %76, i64 %78 store i8 108, ptr %79, align 1 br label %150 80: ; preds = %13 %81 = load ptr, ptr %2, align 8 %82 = load i32, ptr %3, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i8, ptr %81, i64 %83 store i8 109, ptr %84, align 1 br label %150 85: ; preds = %13 %86 = load ptr, ptr %2, align 8 %87 = load i32, ptr %3, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i8, ptr %86, i64 %88 store i8 110, ptr %89, align 1 br label %150 90: ; preds = %13 %91 = load ptr, ptr %2, align 8 %92 = load i32, ptr %3, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i8, ptr %91, i64 %93 store i8 111, ptr %94, align 1 br label %150 95: ; preds = %13 %96 = load ptr, ptr %2, align 8 %97 = load i32, ptr %3, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i8, ptr %96, i64 %98 store i8 112, ptr %99, align 1 br label %150 100: ; preds = %13 %101 = load ptr, ptr %2, align 8 %102 = load i32, ptr %3, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i8, ptr %101, i64 %103 store i8 113, ptr %104, align 1 br label %150 105: ; preds = %13 %106 = load ptr, ptr %2, align 8 %107 = load i32, ptr %3, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds i8, ptr %106, i64 %108 store i8 114, ptr %109, align 1 br label %150 110: ; preds = %13 %111 = load ptr, ptr %2, align 8 %112 = load i32, ptr %3, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i8, ptr %111, i64 %113 store i8 115, ptr %114, align 1 br label %150 115: ; preds = %13 %116 = load ptr, ptr %2, align 8 %117 = load i32, ptr %3, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i8, ptr %116, i64 %118 store i8 116, ptr %119, align 1 br label %150 120: ; preds = %13 %121 = load ptr, ptr %2, align 8 %122 = load i32, ptr %3, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds i8, ptr %121, i64 %123 store i8 117, ptr %124, align 1 br label %150 125: ; preds = %13 %126 = load ptr, ptr %2, align 8 %127 = load i32, ptr %3, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds i8, ptr %126, i64 %128 store i8 118, ptr %129, align 1 br label %150 130: ; preds = %13 %131 = load ptr, ptr %2, align 8 %132 = load i32, ptr %3, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds i8, ptr %131, i64 %133 store i8 120, ptr %134, align 1 br label %150 135: ; preds = %13 %136 = load ptr, ptr %2, align 8 %137 = load i32, ptr %3, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds i8, ptr %136, i64 %138 store i8 121, ptr %139, align 1 br label %150 140: ; preds = %13 %141 = load ptr, ptr %2, align 8 %142 = load i32, ptr %3, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds i8, ptr %141, i64 %143 store i8 119, ptr %144, align 1 br label %150 145: ; preds = %13 %146 = load ptr, ptr %2, align 8 %147 = load i32, ptr %3, align 4 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds i8, ptr %146, i64 %148 store i8 122, ptr %149, align 1 br label %150 150: ; preds = %13, %145, %140, %135, %130, %125, %120, %115, %110, %105, %100, %95, %90, %85, %80, %75, %70, %65, %60, %55, %50, %45, %40, %35, %30, %25, %20 br label %151 151: ; preds = %150 %152 = load i32, ptr %3, align 4 %153 = add nsw i32 %152, 1 store i32 %153, ptr %3, align 4 br label %8, !llvm.loop !6 154: ; preds = %8 store i32 0, ptr %3, align 4 br label %155 155: ; preds = %167, %154 %156 = load i32, ptr %3, align 4 %157 = load ptr, ptr %2, align 8 %158 = call i32 @strlen(ptr noundef %157) %159 = icmp slt i32 %156, %158 br i1 %159, label %160, label %170 160: ; preds = %155 %161 = load ptr, ptr %2, align 8 %162 = load i32, ptr %3, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds i8, ptr %161, i64 %163 %165 = load i8, ptr %164, align 1 %166 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %165) br label %167 167: ; preds = %160 %168 = load i32, ptr %3, align 4 %169 = add nsw i32 %168, 1 store i32 %169, ptr %3, align 4 br label %155, !llvm.loop !8 170: ; preds = %155 ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpekjhgfhb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call ptr @malloc(i32 noundef 10000) store ptr %5, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = icmp slt i32 %8, %10 br i1 %11, label %.lr.ph, label %157 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %150 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 switch i32 %18, label %149 [ i32 65, label %19 i32 66, label %24 i32 67, label %29 i32 68, label %34 i32 69, label %39 i32 70, label %44 i32 71, label %49 i32 72, label %54 i32 73, label %59 i32 74, label %64 i32 75, label %69 i32 76, label %74 i32 77, label %79 i32 78, label %84 i32 79, label %89 i32 80, label %94 i32 81, label %99 i32 82, label %104 i32 83, label %109 i32 84, label %114 i32 85, label %119 i32 86, label %124 i32 88, label %129 i32 89, label %134 i32 87, label %139 i32 90, label %144 ] 19: ; preds = %12 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 store i8 97, ptr %23, align 1 br label %149 24: ; preds = %12 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %3, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 store i8 98, ptr %28, align 1 br label %149 29: ; preds = %12 %30 = load ptr, ptr %2, align 8 %31 = load i32, ptr %3, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 store i8 99, ptr %33, align 1 br label %149 34: ; preds = %12 %35 = load ptr, ptr %2, align 8 %36 = load i32, ptr %3, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 store i8 100, ptr %38, align 1 br label %149 39: ; preds = %12 %40 = load ptr, ptr %2, align 8 %41 = load i32, ptr %3, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 101, ptr %43, align 1 br label %149 44: ; preds = %12 %45 = load ptr, ptr %2, align 8 %46 = load i32, ptr %3, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 store i8 102, ptr %48, align 1 br label %149 49: ; preds = %12 %50 = load ptr, ptr %2, align 8 %51 = load i32, ptr %3, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 store i8 103, ptr %53, align 1 br label %149 54: ; preds = %12 %55 = load ptr, ptr %2, align 8 %56 = load i32, ptr %3, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 store i8 104, ptr %58, align 1 br label %149 59: ; preds = %12 %60 = load ptr, ptr %2, align 8 %61 = load i32, ptr %3, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %60, i64 %62 store i8 105, ptr %63, align 1 br label %149 64: ; preds = %12 %65 = load ptr, ptr %2, align 8 %66 = load i32, ptr %3, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 store i8 106, ptr %68, align 1 br label %149 69: ; preds = %12 %70 = load ptr, ptr %2, align 8 %71 = load i32, ptr %3, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i8, ptr %70, i64 %72 store i8 107, ptr %73, align 1 br label %149 74: ; preds = %12 %75 = load ptr, ptr %2, align 8 %76 = load i32, ptr %3, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 store i8 108, ptr %78, align 1 br label %149 79: ; preds = %12 %80 = load ptr, ptr %2, align 8 %81 = load i32, ptr %3, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %80, i64 %82 store i8 109, ptr %83, align 1 br label %149 84: ; preds = %12 %85 = load ptr, ptr %2, align 8 %86 = load i32, ptr %3, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i8, ptr %85, i64 %87 store i8 110, ptr %88, align 1 br label %149 89: ; preds = %12 %90 = load ptr, ptr %2, align 8 %91 = load i32, ptr %3, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i8, ptr %90, i64 %92 store i8 111, ptr %93, align 1 br label %149 94: ; preds = %12 %95 = load ptr, ptr %2, align 8 %96 = load i32, ptr %3, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i8, ptr %95, i64 %97 store i8 112, ptr %98, align 1 br label %149 99: ; preds = %12 %100 = load ptr, ptr %2, align 8 %101 = load i32, ptr %3, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i8, ptr %100, i64 %102 store i8 113, ptr %103, align 1 br label %149 104: ; preds = %12 %105 = load ptr, ptr %2, align 8 %106 = load i32, ptr %3, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i8, ptr %105, i64 %107 store i8 114, ptr %108, align 1 br label %149 109: ; preds = %12 %110 = load ptr, ptr %2, align 8 %111 = load i32, ptr %3, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i8, ptr %110, i64 %112 store i8 115, ptr %113, align 1 br label %149 114: ; preds = %12 %115 = load ptr, ptr %2, align 8 %116 = load i32, ptr %3, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i8, ptr %115, i64 %117 store i8 116, ptr %118, align 1 br label %149 119: ; preds = %12 %120 = load ptr, ptr %2, align 8 %121 = load i32, ptr %3, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds i8, ptr %120, i64 %122 store i8 117, ptr %123, align 1 br label %149 124: ; preds = %12 %125 = load ptr, ptr %2, align 8 %126 = load i32, ptr %3, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i8, ptr %125, i64 %127 store i8 118, ptr %128, align 1 br label %149 129: ; preds = %12 %130 = load ptr, ptr %2, align 8 %131 = load i32, ptr %3, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds i8, ptr %130, i64 %132 store i8 120, ptr %133, align 1 br label %149 134: ; preds = %12 %135 = load ptr, ptr %2, align 8 %136 = load i32, ptr %3, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds i8, ptr %135, i64 %137 store i8 121, ptr %138, align 1 br label %149 139: ; preds = %12 %140 = load ptr, ptr %2, align 8 %141 = load i32, ptr %3, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds i8, ptr %140, i64 %142 store i8 119, ptr %143, align 1 br label %149 144: ; preds = %12 %145 = load ptr, ptr %2, align 8 %146 = load i32, ptr %3, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds i8, ptr %145, i64 %147 store i8 122, ptr %148, align 1 br label %149 149: ; preds = %144, %139, %134, %129, %124, %119, %114, %109, %104, %99, %94, %89, %84, %79, %74, %69, %64, %59, %54, %49, %44, %39, %34, %29, %24, %19, %12 br label %150 150: ; preds = %149 %151 = load i32, ptr %3, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %3, align 4 %153 = load i32, ptr %3, align 4 %154 = load ptr, ptr %2, align 8 %155 = call i32 @strlen(ptr noundef %154) %156 = icmp slt i32 %153, %155 br i1 %156, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %150 br label %157 157: ; preds = %._crit_edge, %0 store i32 0, ptr %3, align 4 %158 = load i32, ptr %3, align 4 %159 = load ptr, ptr %2, align 8 %160 = call i32 @strlen(ptr noundef %159) %161 = icmp slt i32 %158, %160 br i1 %161, label %.lr.ph2, label %176 .lr.ph2: ; preds = %157 br label %162 162: ; preds = %.lr.ph2, %169 %163 = load ptr, ptr %2, align 8 %164 = load i32, ptr %3, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds i8, ptr %163, i64 %165 %167 = load i8, ptr %166, align 1 %168 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %167) br label %169 169: ; preds = %162 %170 = load i32, ptr %3, align 4 %171 = add nsw i32 %170, 1 store i32 %171, ptr %3, align 4 %172 = load i32, ptr %3, align 4 %173 = load ptr, ptr %2, align 8 %174 = call i32 @strlen(ptr noundef %173) %175 = icmp slt i32 %172, %174 br i1 %175, label %162, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %169 br label %176 176: ; preds = %._crit_edge3, %157 ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpio7dppq0.c' source_filename = "/tmp/tmpio7dppq0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca float, i64 %12, align 16 store i64 %12, ptr %7, align 8 store i32 0, ptr %10, align 4 br label %15 15: ; preds = %25, %2 %16 = load i32, ptr %10, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %28 19: ; preds = %15 %20 = call float (...) @rand_float() %21 = call float @llvm.fmuladd.f32(float %20, float 2.000000e+04, float -1.000000e+04) %22 = load i32, ptr %10, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds float, ptr %14, i64 %23 store float %21, ptr %24, align 4 br label %25 25: ; preds = %19 %26 = load i32, ptr %10, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %10, align 4 br label %15, !llvm.loop !6 28: ; preds = %15 store double 0.000000e+00, ptr %8, align 8 %29 = call double (...) @tic() store double %29, ptr %9, align 8 store i32 0, ptr %10, align 4 br label %30 30: ; preds = %43, %28 %31 = load i32, ptr %10, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %46 34: ; preds = %30 %35 = load i32, ptr %4, align 4 %36 = call double @stdlib_strided_dsmeanpw(i32 noundef %35, ptr noundef %14, i32 noundef 1) store double %36, ptr %8, align 8 %37 = load double, ptr %8, align 8 %38 = load double, ptr %8, align 8 %39 = fcmp une double %37, %38 br i1 %39, label %40, label %42 40: ; preds = %34 %41 = call i32 @printf(ptr noundef @.str) br label %46 42: ; preds = %34 br label %43 43: ; preds = %42 %44 = load i32, ptr %10, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %10, align 4 br label %30, !llvm.loop !8 46: ; preds = %40, %30 %47 = call double (...) @tic() %48 = load double, ptr %9, align 8 %49 = fsub double %47, %48 store double %49, ptr %5, align 8 %50 = load double, ptr %8, align 8 %51 = load double, ptr %8, align 8 %52 = fcmp une double %50, %51 br i1 %52, label %53, label %55 53: ; preds = %46 %54 = call i32 @printf(ptr noundef @.str) br label %55 55: ; preds = %53, %46 %56 = load double, ptr %5, align 8 %57 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %57) ret double %56 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare float @rand_float(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare double @tic(...) #2 declare double @stdlib_strided_dsmeanpw(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr 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" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpio7dppq0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca float, i64 %12, align 16 store i64 %12, ptr %7, align 8 store i32 0, ptr %10, align 4 %15 = load i32, ptr %10, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %24 %19 = call float (...) @rand_float() %20 = call float @llvm.fmuladd.f32(float %19, float 2.000000e+04, float -1.000000e+04) %21 = load i32, ptr %10, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds float, ptr %14, i64 %22 store float %20, ptr %23, align 4 br label %24 24: ; preds = %18 %25 = load i32, ptr %10, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %10, align 4 %27 = load i32, ptr %10, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %2 store double 0.000000e+00, ptr %8, align 8 %31 = call double (...) @tic() store double %31, ptr %9, align 8 store i32 0, ptr %10, align 4 %32 = load i32, ptr %10, align 4 %33 = load i32, ptr %3, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %30 br label %35 35: ; preds = %.lr.ph2, %44 %36 = load i32, ptr %4, align 4 %37 = call double @stdlib_strided_dsmeanpw(i32 noundef %36, ptr noundef %14, i32 noundef 1) store double %37, ptr %8, align 8 %38 = load double, ptr %8, align 8 %39 = load double, ptr %8, align 8 %40 = fcmp une double %38, %39 br i1 %40, label %41, label %43 41: ; preds = %35 %42 = call i32 @printf(ptr noundef @.str) br label %50 43: ; preds = %35 br label %44 44: ; preds = %43 %45 = load i32, ptr %10, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %10, align 4 %47 = load i32, ptr %10, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %35, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %44 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %30 br label %50 50: ; preds = %.loopexit, %41 %51 = call double (...) @tic() %52 = load double, ptr %9, align 8 %53 = fsub double %51, %52 store double %53, ptr %5, align 8 %54 = load double, ptr %8, align 8 %55 = load double, ptr %8, align 8 %56 = fcmp une double %54, %55 br i1 %56, label %57, label %59 57: ; preds = %50 %58 = call i32 @printf(ptr noundef @.str) br label %59 59: ; preds = %57, %50 %60 = load double, ptr %5, align 8 %61 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %61) ret double %60 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare float @rand_float(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare double @tic(...) #2 declare double @stdlib_strided_dsmeanpw(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr 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" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpbius5363.c' source_filename = "/tmp/tmpbius5363.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setOp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 3) %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @strncpy(ptr noundef %7, ptr noundef %8, i32 noundef 2) ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbius5363.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setOp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 3) %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @strncpy(ptr noundef %7, ptr noundef %8, i32 noundef 2) ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe_wbe4a1.c' source_filename = "/tmp/tmpe_wbe4a1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Hey! What's up? I'm fC.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fC() #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/tmpe_wbe4a1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Hey! What's up? I'm fC.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fC() #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/tmp3lfgk9uc.c' source_filename = "/tmp/tmp3lfgk9uc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @binaria(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = call ptr %8(ptr noundef %9, ptr noundef %10) store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %7, align 8 %13 = call i32 @imprimir_matriz(ptr noundef %12) %14 = load ptr, ptr %7, align 8 %15 = call i32 @free_dispersa(ptr noundef %14) ret void } declare i32 @imprimir_matriz(ptr noundef) #1 declare i32 @free_dispersa(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3lfgk9uc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @binaria(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = call ptr %8(ptr noundef %9, ptr noundef %10) store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %7, align 8 %13 = call i32 @imprimir_matriz(ptr noundef %12) %14 = load ptr, ptr %7, align 8 %15 = call i32 @free_dispersa(ptr noundef %14) ret void } declare i32 @imprimir_matriz(ptr noundef) #1 declare i32 @free_dispersa(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwx6z47j7.c' source_filename = "/tmp/tmpwx6z47j7.c" target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32 } @.str = private unnamed_addr constant [14 x i8] c"%d:%02d:%02d\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca %struct.tm, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) store i32 %4, ptr %2, align 4 %5 = call ptr @localtime(ptr noundef %2) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 %5, i64 12, i1 false) %6 = getelementptr inbounds %struct.tm, ptr %3, i32 0, i32 0 %7 = load i32, ptr %6, align 4 %8 = getelementptr inbounds %struct.tm, ptr %3, i32 0, i32 1 %9 = load i32, ptr %8, align 4 %10 = getelementptr inbounds %struct.tm, ptr %3, i32 0, i32 2 %11 = load i32, ptr %10, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %9, i32 noundef %11) %13 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %13 } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @printf(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" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwx6z47j7.c" target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32 } @.str = private unnamed_addr constant [14 x i8] c"%d:%02d:%02d\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca %struct.tm, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) store i32 %4, ptr %2, align 4 %5 = call ptr @localtime(ptr noundef %2) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 %5, i64 12, i1 false) %6 = getelementptr inbounds %struct.tm, ptr %3, i32 0, i32 0 %7 = load i32, ptr %6, align 4 %8 = getelementptr inbounds %struct.tm, ptr %3, i32 0, i32 1 %9 = load i32, ptr %8, align 4 %10 = getelementptr inbounds %struct.tm, ptr %3, i32 0, i32 2 %11 = load i32, ptr %10, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %9, i32 noundef %11) %13 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %13 } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @printf(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" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp12h146ia.c' source_filename = "/tmp/tmp12h146ia.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FX_SoundActive(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 @MV_VoicePlaying(i32 noundef %3) ret i32 %4 } declare i32 @MV_VoicePlaying(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/tmp12h146ia.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FX_SoundActive(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 @MV_VoicePlaying(i32 noundef %3) ret i32 %4 } declare i32 @MV_VoicePlaying(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/tmpcab8w4dm.c' source_filename = "/tmp/tmpcab8w4dm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @E_blendOnFaceDrv(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %10 = load i32, ptr %7, align 4 %11 = icmp eq i32 %10, 2 br i1 %11, label %12, label %17 12: ; preds = %4 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %8, align 8 %15 = load ptr, ptr %9, align 8 %16 = call i32 @F_edgeBlendTriDrv(ptr noundef %13, ptr noundef %14, ptr noundef %15) store i32 %16, ptr %5, align 4 br label %18 17: ; preds = %4 store i32 0, ptr %5, align 4 br label %18 18: ; preds = %17, %12 %19 = load i32, ptr %5, align 4 ret i32 %19 } declare i32 @F_edgeBlendTriDrv(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/tmpcab8w4dm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @E_blendOnFaceDrv(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %10 = load i32, ptr %7, align 4 %11 = icmp eq i32 %10, 2 br i1 %11, label %12, label %17 12: ; preds = %4 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %8, align 8 %15 = load ptr, ptr %9, align 8 %16 = call i32 @F_edgeBlendTriDrv(ptr noundef %13, ptr noundef %14, ptr noundef %15) store i32 %16, ptr %5, align 4 br label %18 17: ; preds = %4 store i32 0, ptr %5, align 4 br label %18 18: ; preds = %17, %12 %19 = load i32, ptr %5, align 4 ret i32 %19 } declare i32 @F_edgeBlendTriDrv(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/tmpgs3sv08y.c' source_filename = "/tmp/tmpgs3sv08y.c" target datalayout = "e-m:e-p270: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/tmpgs3sv08y.c" target datalayout = "e-m:e-p270: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/tmp3au3tjql.c' source_filename = "/tmp/tmp3au3tjql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VIM_IPP_GetWindowPos(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = call zeroext i16 @VIM_HIF_GetReg16(i32 noundef 7178) %6 = load ptr, ptr %3, align 8 store i16 %5, ptr %6, align 2 %7 = call zeroext i16 @VIM_HIF_GetReg16(i32 noundef 7180) %8 = load ptr, ptr %4, align 8 store i16 %7, ptr %8, align 2 ret void } declare zeroext i16 @VIM_HIF_GetReg16(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/tmp3au3tjql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VIM_IPP_GetWindowPos(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = call zeroext i16 @VIM_HIF_GetReg16(i32 noundef 7178) %6 = load ptr, ptr %3, align 8 store i16 %5, ptr %6, align 2 %7 = call zeroext i16 @VIM_HIF_GetReg16(i32 noundef 7180) %8 = load ptr, ptr %4, align 8 store i16 %7, ptr %8, align 2 ret void } declare zeroext i16 @VIM_HIF_GetReg16(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/tmpnsj7me5i.c' source_filename = "/tmp/tmpnsj7me5i.c" target datalayout = "e-m:e-p270: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/tmpnsj7me5i.c" target datalayout = "e-m:e-p270: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/tmpm3m_vtkd.c' source_filename = "/tmp/tmpm3m_vtkd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Unable to open file!\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @parsePlink2(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %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 ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i8, align 1 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca double, align 8 %26 = alloca i32, align 4 %27 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %28 = load ptr, ptr %8, align 8 %29 = load i32, ptr %28, align 4 store i32 %29, ptr %13, align 4 %30 = load ptr, ptr %9, align 8 %31 = load i32, ptr %30, align 4 store i32 %31, ptr %14, align 4 %32 = call i64 @malloc(i32 noundef 4096) %33 = inttoptr i64 %32 to ptr store ptr %33, ptr %15, align 8 %34 = load i32, ptr %13, align 4 %35 = sext i32 %34 to i64 %36 = mul i64 %35, 4 %37 = trunc i64 %36 to i32 %38 = call i64 @malloc(i32 noundef %37) %39 = inttoptr i64 %38 to ptr store ptr %39, ptr %16, align 8 %40 = load i32, ptr %13, align 4 %41 = srem i32 %40, 4 store i32 %41, ptr %19, align 4 store double 0.000000e+00, ptr %25, align 8 store i32 12, ptr %26, align 4 store i32 0, ptr %20, align 4 br label %42 42: ; preds = %64, %6 %43 = load i32, ptr %20, align 4 %44 = load i32, ptr %14, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %46, label %67 46: ; preds = %42 store i32 0, ptr %21, align 4 br label %47 47: ; preds = %60, %46 %48 = load i32, ptr %21, align 4 %49 = load i32, ptr %26, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %51, label %63 51: ; preds = %47 %52 = load ptr, ptr %12, align 8 %53 = load i32, ptr %20, align 4 %54 = load i32, ptr %26, align 4 %55 = mul nsw i32 %53, %54 %56 = load i32, ptr %21, align 4 %57 = add nsw i32 %55, %56 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds double, ptr %52, i64 %58 store double 0.000000e+00, ptr %59, align 8 br label %60 60: ; preds = %51 %61 = load i32, ptr %21, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %21, align 4 br label %47, !llvm.loop !6 63: ; preds = %47 br label %64 64: ; preds = %63 %65 = load i32, ptr %20, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %20, align 4 br label %42, !llvm.loop !8 67: ; preds = %42 store i32 0, ptr %20, align 4 br label %68 68: ; preds = %96, %67 %69 = load i32, ptr %20, align 4 %70 = load i32, ptr %13, align 4 %71 = sub nsw i32 %70, 1 %72 = icmp slt i32 %69, %71 br i1 %72, label %73, label %99 73: ; preds = %68 %74 = load i32, ptr %20, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %21, align 4 br label %76 76: ; preds = %92, %73 %77 = load i32, ptr %21, align 4 %78 = load i32, ptr %13, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %80, label %95 80: ; preds = %76 %81 = load ptr, ptr %10, align 8 %82 = load i32, ptr %20, align 4 %83 = load i32, ptr %13, align 4 %84 = mul nsw i32 %82, %83 %85 = load i32, ptr %21, align 4 %86 = add nsw i32 %84, %85 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds double, ptr %81, i64 %87 %89 = load double, ptr %88, align 8 %90 = load double, ptr %25, align 8 %91 = fadd double %90, %89 store double %91, ptr %25, align 8 br label %92 92: ; preds = %80 %93 = load i32, ptr %21, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %21, align 4 br label %76, !llvm.loop !9 95: ; preds = %76 br label %96 96: ; preds = %95 %97 = load i32, ptr %20, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %20, align 4 br label %68, !llvm.loop !10 99: ; preds = %68 %100 = load double, ptr %25, align 8 %101 = load i32, ptr %13, align 4 %102 = sitofp i32 %101 to double %103 = load i32, ptr %13, align 4 %104 = sub nsw i32 %103, 1 %105 = sitofp i32 %104 to double %106 = fmul double %102, %105 %107 = fdiv double %106, 2.000000e+00 %108 = fdiv double %100, %107 store double %108, ptr %25, align 8 store i32 0, ptr %20, align 4 br label %109 109: ; preds = %164, %99 %110 = load i32, ptr %20, align 4 %111 = load i32, ptr %13, align 4 %112 = sub nsw i32 %111, 1 %113 = icmp slt i32 %110, %112 br i1 %113, label %114, label %167 114: ; preds = %109 %115 = load i32, ptr %20, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %21, align 4 br label %117 117: ; preds = %160, %114 %118 = load i32, ptr %21, align 4 %119 = load i32, ptr %13, align 4 %120 = icmp slt i32 %118, %119 br i1 %120, label %121, label %163 121: ; preds = %117 %122 = load ptr, ptr %10, align 8 %123 = load i32, ptr %20, align 4 %124 = load i32, ptr %13, align 4 %125 = mul nsw i32 %123, %124 %126 = load i32, ptr %21, align 4 %127 = add nsw i32 %125, %126 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds double, ptr %122, i64 %128 %130 = load double, ptr %129, align 8 %131 = load double, ptr %25, align 8 %132 = fsub double %130, %131 %133 = load ptr, ptr %10, align 8 %134 = load i32, ptr %20, align 4 %135 = load i32, ptr %13, align 4 %136 = mul nsw i32 %134, %135 %137 = load i32, ptr %21, align 4 %138 = add nsw i32 %136, %137 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds double, ptr %133, i64 %139 store double %132, ptr %140, align 8 %141 = load ptr, ptr %10, align 8 %142 = load i32, ptr %21, align 4 %143 = load i32, ptr %13, align 4 %144 = mul nsw i32 %142, %143 %145 = load i32, ptr %20, align 4 %146 = add nsw i32 %144, %145 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds double, ptr %141, i64 %147 %149 = load double, ptr %148, align 8 %150 = load double, ptr %25, align 8 %151 = fsub double %149, %150 %152 = load ptr, ptr %10, align 8 %153 = load i32, ptr %21, align 4 %154 = load i32, ptr %13, align 4 %155 = mul nsw i32 %153, %154 %156 = load i32, ptr %20, align 4 %157 = add nsw i32 %155, %156 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds double, ptr %152, i64 %158 store double %151, ptr %159, align 8 br label %160 160: ; preds = %121 %161 = load i32, ptr %21, align 4 %162 = add nsw i32 %161, 1 store i32 %162, ptr %21, align 4 br label %117, !llvm.loop !11 163: ; preds = %117 br label %164 164: ; preds = %163 %165 = load i32, ptr %20, align 4 %166 = add nsw i32 %165, 1 store i32 %166, ptr %20, align 4 br label %109, !llvm.loop !12 167: ; preds = %109 store i32 0, ptr %20, align 4 br label %168 168: ; preds = %220, %167 %169 = load i32, ptr %20, align 4 %170 = icmp slt i32 %169, 256 br i1 %170, label %171, label %223 171: ; preds = %168 %172 = load i32, ptr %20, align 4 %173 = trunc i32 %172 to i8 store i8 %173, ptr %17, align 1 %174 = load i32, ptr %20, align 4 %175 = mul nsw i32 %174, 4 store i32 %175, ptr %22, align 4 store i32 0, ptr %21, align 4 br label %176 176: ; preds = %216, %171 %177 = load i32, ptr %21, align 4 %178 = icmp slt i32 %177, 4 br i1 %178, label %179, label %219 179: ; preds = %176 %180 = load i8, ptr %17, align 1 %181 = zext i8 %180 to i32 %182 = load i32, ptr %21, align 4 %183 = mul nsw i32 %182, 2 %184 = ashr i32 %181, %183 %185 = and i32 %184, 3 store i32 %185, ptr %18, align 4 %186 = load i32, ptr %18, align 4 switch i32 %186, label %208 [ i32 0, label %187 i32 2, label %194 i32 3, label %201 ] 187: ; preds = %179 %188 = load ptr, ptr %15, align 8 %189 = load i32, ptr %22, align 4 %190 = load i32, ptr %21, align 4 %191 = add nsw i32 %189, %190 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds i32, ptr %188, i64 %192 store i32 2, ptr %193, align 4 br label %215 194: ; preds = %179 %195 = load ptr, ptr %15, align 8 %196 = load i32, ptr %22, align 4 %197 = load i32, ptr %21, align 4 %198 = add nsw i32 %196, %197 %199 = sext i32 %198 to i64 %200 = getelementptr inbounds i32, ptr %195, i64 %199 store i32 1, ptr %200, align 4 br label %215 201: ; preds = %179 %202 = load ptr, ptr %15, align 8 %203 = load i32, ptr %22, align 4 %204 = load i32, ptr %21, align 4 %205 = add nsw i32 %203, %204 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds i32, ptr %202, i64 %206 store i32 0, ptr %207, align 4 br label %215 208: ; preds = %179 %209 = load ptr, ptr %15, align 8 %210 = load i32, ptr %22, align 4 %211 = load i32, ptr %21, align 4 %212 = add nsw i32 %210, %211 %213 = sext i32 %212 to i64 %214 = getelementptr inbounds i32, ptr %209, i64 %213 store i32 -9, ptr %214, align 4 br label %215 215: ; preds = %208, %201, %194, %187 br label %216 216: ; preds = %215 %217 = load i32, ptr %21, align 4 %218 = add nsw i32 %217, 1 store i32 %218, ptr %21, align 4 br label %176, !llvm.loop !13 219: ; preds = %176 br label %220 220: ; preds = %219 %221 = load i32, ptr %20, align 4 %222 = add nsw i32 %221, 1 store i32 %222, ptr %20, align 4 br label %168, !llvm.loop !14 223: ; preds = %168 %224 = load ptr, ptr %7, align 8 %225 = load ptr, ptr %224, align 8 %226 = call ptr @fopen(ptr noundef %225, ptr noundef @.str) store ptr %226, ptr %27, align 8 %227 = load ptr, ptr %27, align 8 %228 = icmp ne ptr %227, null br i1 %228, label %231, label %229 229: ; preds = %223 %230 = call i32 @printf(ptr noundef @.str.1) br label %231 231: ; preds = %229, %223 %232 = load ptr, ptr %27, align 8 %233 = load i32, ptr @SEEK_SET, align 4 %234 = call i32 @fseek(ptr noundef %232, i32 noundef 3, i32 noundef %233) store i32 0, ptr %21, align 4 br label %235 235: ; preds = %555, %231 %236 = load i32, ptr %21, align 4 %237 = load i32, ptr %14, align 4 %238 = icmp slt i32 %236, %237 br i1 %238, label %239, label %558 239: ; preds = %235 %240 = load i32, ptr %21, align 4 %241 = load i32, ptr %26, align 4 %242 = mul nsw i32 %240, %241 store i32 %242, ptr %23, align 4 store i32 0, ptr %20, align 4 br label %243 243: ; preds = %333, %239 %244 = load i32, ptr %20, align 4 %245 = load i32, ptr %13, align 4 %246 = sub nsw i32 %245, 3 %247 = icmp slt i32 %244, %246 br i1 %247, label %248, label %336 248: ; preds = %243 %249 = load ptr, ptr %27, align 8 %250 = call i32 @fread(ptr noundef %17, i32 noundef 1, i32 noundef 1, ptr noundef %249) %251 = load i8, ptr %17, align 1 %252 = zext i8 %251 to i32 %253 = shl i32 %252, 2 store i32 %253, ptr %18, align 4 store i32 0, ptr %22, align 4 br label %254 254: ; preds = %329, %248 %255 = load i32, ptr %22, align 4 %256 = icmp slt i32 %255, 4 br i1 %256, label %257, label %332 257: ; preds = %254 %258 = load ptr, ptr %15, align 8 %259 = load i32, ptr %18, align 4 %260 = load i32, ptr %22, align 4 %261 = add nsw i32 %259, %260 %262 = sext i32 %261 to i64 %263 = getelementptr inbounds i32, ptr %258, i64 %262 %264 = load i32, ptr %263, align 4 %265 = load ptr, ptr %16, align 8 %266 = load i32, ptr %20, align 4 %267 = load i32, ptr %22, align 4 %268 = add nsw i32 %266, %267 %269 = sext i32 %268 to i64 %270 = getelementptr inbounds i32, ptr %265, i64 %269 store i32 %264, ptr %270, align 4 %271 = load ptr, ptr %16, align 8 %272 = load i32, ptr %20, align 4 %273 = load i32, ptr %22, align 4 %274 = add nsw i32 %272, %273 %275 = sext i32 %274 to i64 %276 = getelementptr inbounds i32, ptr %271, i64 %275 %277 = load i32, ptr %276, align 4 switch i32 %277, label %315 [ i32 0, label %278 i32 1, label %289 i32 2, label %302 ] 278: ; preds = %257 %279 = load ptr, ptr %12, align 8 %280 = load i32, ptr %23, align 4 %281 = sext i32 %280 to i64 %282 = getelementptr inbounds double, ptr %279, i64 %281 %283 = load double, ptr %282, align 8 %284 = fadd double %283, 1.000000e+00 %285 = load ptr, ptr %12, align 8 %286 = load i32, ptr %23, align 4 %287 = sext i32 %286 to i64 %288 = getelementptr inbounds double, ptr %285, i64 %287 store double %284, ptr %288, align 8 br label %328 289: ; preds = %257 %290 = load ptr, ptr %12, align 8 %291 = load i32, ptr %23, align 4 %292 = add nsw i32 %291, 1 %293 = sext i32 %292 to i64 %294 = getelementptr inbounds double, ptr %290, i64 %293 %295 = load double, ptr %294, align 8 %296 = fadd double %295, 1.000000e+00 %297 = load ptr, ptr %12, align 8 %298 = load i32, ptr %23, align 4 %299 = add nsw i32 %298, 1 %300 = sext i32 %299 to i64 %301 = getelementptr inbounds double, ptr %297, i64 %300 store double %296, ptr %301, align 8 br label %328 302: ; preds = %257 %303 = load ptr, ptr %12, align 8 %304 = load i32, ptr %23, align 4 %305 = add nsw i32 %304, 2 %306 = sext i32 %305 to i64 %307 = getelementptr inbounds double, ptr %303, i64 %306 %308 = load double, ptr %307, align 8 %309 = fadd double %308, 1.000000e+00 %310 = load ptr, ptr %12, align 8 %311 = load i32, ptr %23, align 4 %312 = add nsw i32 %311, 2 %313 = sext i32 %312 to i64 %314 = getelementptr inbounds double, ptr %310, i64 %313 store double %309, ptr %314, align 8 br label %328 315: ; preds = %257 %316 = load ptr, ptr %12, align 8 %317 = load i32, ptr %23, align 4 %318 = add nsw i32 %317, 3 %319 = sext i32 %318 to i64 %320 = getelementptr inbounds double, ptr %316, i64 %319 %321 = load double, ptr %320, align 8 %322 = fadd double %321, 1.000000e+00 %323 = load ptr, ptr %12, align 8 %324 = load i32, ptr %23, align 4 %325 = add nsw i32 %324, 3 %326 = sext i32 %325 to i64 %327 = getelementptr inbounds double, ptr %323, i64 %326 store double %322, ptr %327, align 8 br label %328 328: ; preds = %315, %302, %289, %278 br label %329 329: ; preds = %328 %330 = load i32, ptr %22, align 4 %331 = add nsw i32 %330, 1 store i32 %331, ptr %22, align 4 br label %254, !llvm.loop !15 332: ; preds = %254 br label %333 333: ; preds = %332 %334 = load i32, ptr %20, align 4 %335 = add nsw i32 %334, 4 store i32 %335, ptr %20, align 4 br label %243, !llvm.loop !16 336: ; preds = %243 %337 = load i32, ptr %19, align 4 %338 = icmp sgt i32 %337, 0 br i1 %338, label %339, label %425 339: ; preds = %336 %340 = load ptr, ptr %27, align 8 %341 = call i32 @fread(ptr noundef %17, i32 noundef 1, i32 noundef 1, ptr noundef %340) %342 = load i8, ptr %17, align 1 %343 = zext i8 %342 to i32 %344 = shl i32 %343, 2 store i32 %344, ptr %18, align 4 store i32 0, ptr %22, align 4 br label %345 345: ; preds = %421, %339 %346 = load i32, ptr %22, align 4 %347 = load i32, ptr %19, align 4 %348 = icmp slt i32 %346, %347 br i1 %348, label %349, label %424 349: ; preds = %345 %350 = load ptr, ptr %15, align 8 %351 = load i32, ptr %18, align 4 %352 = load i32, ptr %22, align 4 %353 = add nsw i32 %351, %352 %354 = sext i32 %353 to i64 %355 = getelementptr inbounds i32, ptr %350, i64 %354 %356 = load i32, ptr %355, align 4 %357 = load ptr, ptr %16, align 8 %358 = load i32, ptr %20, align 4 %359 = load i32, ptr %22, align 4 %360 = add nsw i32 %358, %359 %361 = sext i32 %360 to i64 %362 = getelementptr inbounds i32, ptr %357, i64 %361 store i32 %356, ptr %362, align 4 %363 = load ptr, ptr %16, align 8 %364 = load i32, ptr %20, align 4 %365 = load i32, ptr %22, align 4 %366 = add nsw i32 %364, %365 %367 = sext i32 %366 to i64 %368 = getelementptr inbounds i32, ptr %363, i64 %367 %369 = load i32, ptr %368, align 4 switch i32 %369, label %407 [ i32 0, label %370 i32 1, label %381 i32 2, label %394 ] 370: ; preds = %349 %371 = load ptr, ptr %12, align 8 %372 = load i32, ptr %23, align 4 %373 = sext i32 %372 to i64 %374 = getelementptr inbounds double, ptr %371, i64 %373 %375 = load double, ptr %374, align 8 %376 = fadd double %375, 1.000000e+00 %377 = load ptr, ptr %12, align 8 %378 = load i32, ptr %23, align 4 %379 = sext i32 %378 to i64 %380 = getelementptr inbounds double, ptr %377, i64 %379 store double %376, ptr %380, align 8 br label %420 381: ; preds = %349 %382 = load ptr, ptr %12, align 8 %383 = load i32, ptr %23, align 4 %384 = add nsw i32 %383, 1 %385 = sext i32 %384 to i64 %386 = getelementptr inbounds double, ptr %382, i64 %385 %387 = load double, ptr %386, align 8 %388 = fadd double %387, 1.000000e+00 %389 = load ptr, ptr %12, align 8 %390 = load i32, ptr %23, align 4 %391 = add nsw i32 %390, 1 %392 = sext i32 %391 to i64 %393 = getelementptr inbounds double, ptr %389, i64 %392 store double %388, ptr %393, align 8 br label %420 394: ; preds = %349 %395 = load ptr, ptr %12, align 8 %396 = load i32, ptr %23, align 4 %397 = add nsw i32 %396, 2 %398 = sext i32 %397 to i64 %399 = getelementptr inbounds double, ptr %395, i64 %398 %400 = load double, ptr %399, align 8 %401 = fadd double %400, 1.000000e+00 %402 = load ptr, ptr %12, align 8 %403 = load i32, ptr %23, align 4 %404 = add nsw i32 %403, 2 %405 = sext i32 %404 to i64 %406 = getelementptr inbounds double, ptr %402, i64 %405 store double %401, ptr %406, align 8 br label %420 407: ; preds = %349 %408 = load ptr, ptr %12, align 8 %409 = load i32, ptr %23, align 4 %410 = add nsw i32 %409, 3 %411 = sext i32 %410 to i64 %412 = getelementptr inbounds double, ptr %408, i64 %411 %413 = load double, ptr %412, align 8 %414 = fadd double %413, 1.000000e+00 %415 = load ptr, ptr %12, align 8 %416 = load i32, ptr %23, align 4 %417 = add nsw i32 %416, 3 %418 = sext i32 %417 to i64 %419 = getelementptr inbounds double, ptr %415, i64 %418 store double %414, ptr %419, align 8 br label %420 420: ; preds = %407, %394, %381, %370 br label %421 421: ; preds = %420 %422 = load i32, ptr %22, align 4 %423 = add nsw i32 %422, 1 store i32 %423, ptr %22, align 4 br label %345, !llvm.loop !17 424: ; preds = %345 br label %425 425: ; preds = %424, %336 %426 = load ptr, ptr %12, align 8 %427 = load i32, ptr %23, align 4 %428 = add nsw i32 %427, 1 %429 = sext i32 %428 to i64 %430 = getelementptr inbounds double, ptr %426, i64 %429 %431 = load double, ptr %430, align 8 %432 = load ptr, ptr %12, align 8 %433 = load i32, ptr %23, align 4 %434 = add nsw i32 %433, 2 %435 = sext i32 %434 to i64 %436 = getelementptr inbounds double, ptr %432, i64 %435 %437 = load double, ptr %436, align 8 %438 = fadd double %431, %437 %439 = load ptr, ptr %12, align 8 %440 = load i32, ptr %23, align 4 %441 = add nsw i32 %440, 2 %442 = sext i32 %441 to i64 %443 = getelementptr inbounds double, ptr %439, i64 %442 %444 = load double, ptr %443, align 8 %445 = fadd double %438, %444 %446 = load i32, ptr %13, align 4 %447 = load i32, ptr %13, align 4 %448 = add nsw i32 %446, %447 %449 = sitofp i32 %448 to double %450 = load ptr, ptr %12, align 8 %451 = load i32, ptr %23, align 4 %452 = add nsw i32 %451, 3 %453 = sext i32 %452 to i64 %454 = getelementptr inbounds double, ptr %450, i64 %453 %455 = load double, ptr %454, align 8 %456 = fsub double %449, %455 %457 = load ptr, ptr %12, align 8 %458 = load i32, ptr %23, align 4 %459 = add nsw i32 %458, 3 %460 = sext i32 %459 to i64 %461 = getelementptr inbounds double, ptr %457, i64 %460 %462 = load double, ptr %461, align 8 %463 = fsub double %456, %462 %464 = fdiv double %445, %463 %465 = load ptr, ptr %12, align 8 %466 = load i32, ptr %23, align 4 %467 = add nsw i32 %466, 4 %468 = sext i32 %467 to i64 %469 = getelementptr inbounds double, ptr %465, i64 %468 store double %464, ptr %469, align 8 store i32 0, ptr %20, align 4 br label %470 470: ; preds = %551, %425 %471 = load i32, ptr %20, align 4 %472 = load i32, ptr %13, align 4 %473 = sub nsw i32 %472, 1 %474 = icmp slt i32 %471, %473 br i1 %474, label %475, label %554 475: ; preds = %470 %476 = load i32, ptr %20, align 4 %477 = add nsw i32 %476, 1 store i32 %477, ptr %22, align 4 br label %478 478: ; preds = %547, %475 %479 = load i32, ptr %22, align 4 %480 = load i32, ptr %13, align 4 %481 = icmp slt i32 %479, %480 br i1 %481, label %482, label %550 482: ; preds = %478 %483 = load ptr, ptr %16, align 8 %484 = load i32, ptr %20, align 4 %485 = sext i32 %484 to i64 %486 = getelementptr inbounds i32, ptr %483, i64 %485 %487 = load i32, ptr %486, align 4 %488 = icmp ne i32 %487, -9 br i1 %488, label %489, label %546 489: ; preds = %482 %490 = load ptr, ptr %16, align 8 %491 = load i32, ptr %22, align 4 %492 = sext i32 %491 to i64 %493 = getelementptr inbounds i32, ptr %490, i64 %492 %494 = load i32, ptr %493, align 4 %495 = icmp ne i32 %494, -9 br i1 %495, label %496, label %546 496: ; preds = %489 %497 = load ptr, ptr %16, align 8 %498 = load i32, ptr %20, align 4 %499 = sext i32 %498 to i64 %500 = getelementptr inbounds i32, ptr %497, i64 %499 %501 = load i32, ptr %500, align 4 %502 = load ptr, ptr %16, align 8 %503 = load i32, ptr %22, align 4 %504 = sext i32 %503 to i64 %505 = getelementptr inbounds i32, ptr %502, i64 %504 %506 = load i32, ptr %505, align 4 %507 = sub nsw i32 %501, %506 %508 = call i32 @abs(i32 noundef %507) #3 store i32 %508, ptr %24, align 4 %509 = load i32, ptr %24, align 4 switch i32 %509, label %528 [ i32 0, label %510 i32 2, label %511 ] 510: ; preds = %496 br label %545 511: ; preds = %496 %512 = load ptr, ptr %10, align 8 %513 = load i32, ptr %20, align 4 %514 = load i32, ptr %13, align 4 %515 = mul nsw i32 %513, %514 %516 = load i32, ptr %22, align 4 %517 = add nsw i32 %515, %516 %518 = sext i32 %517 to i64 %519 = getelementptr inbounds double, ptr %512, i64 %518 %520 = load double, ptr %519, align 8 %521 = load ptr, ptr %12, align 8 %522 = load i32, ptr %23, align 4 %523 = add nsw i32 %522, 10 %524 = sext i32 %523 to i64 %525 = getelementptr inbounds double, ptr %521, i64 %524 %526 = load double, ptr %525, align 8 %527 = fadd double %526, %520 store double %527, ptr %525, align 8 br label %528 528: ; preds = %496, %511 %529 = load ptr, ptr %10, align 8 %530 = load i32, ptr %20, align 4 %531 = load i32, ptr %13, align 4 %532 = mul nsw i32 %530, %531 %533 = load i32, ptr %22, align 4 %534 = add nsw i32 %532, %533 %535 = sext i32 %534 to i64 %536 = getelementptr inbounds double, ptr %529, i64 %535 %537 = load double, ptr %536, align 8 %538 = load ptr, ptr %12, align 8 %539 = load i32, ptr %23, align 4 %540 = add nsw i32 %539, 10 %541 = sext i32 %540 to i64 %542 = getelementptr inbounds double, ptr %538, i64 %541 %543 = load double, ptr %542, align 8 %544 = fadd double %543, %537 store double %544, ptr %542, align 8 br label %545 545: ; preds = %528, %510 br label %546 546: ; preds = %545, %489, %482 br label %547 547: ; preds = %546 %548 = load i32, ptr %22, align 4 %549 = add nsw i32 %548, 1 store i32 %549, ptr %22, align 4 br label %478, !llvm.loop !18 550: ; preds = %478 br label %551 551: ; preds = %550 %552 = load i32, ptr %20, align 4 %553 = add nsw i32 %552, 1 store i32 %553, ptr %20, align 4 br label %470, !llvm.loop !19 554: ; preds = %470 br label %555 555: ; preds = %554 %556 = load i32, ptr %21, align 4 %557 = add nsw i32 %556, 1 store i32 %557, ptr %21, align 4 br label %235, !llvm.loop !20 558: ; preds = %235 %559 = load ptr, ptr %27, align 8 %560 = call i32 @fclose(ptr noundef %559) %561 = load ptr, ptr %16, align 8 %562 = call i32 @free(ptr noundef %561) %563 = load ptr, ptr %15, align 8 %564 = call i32 @free(ptr noundef %563) ret void } declare i64 @malloc(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #2 declare i32 @fclose(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm3m_vtkd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Unable to open file!\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @parsePlink2(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %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 ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i8, align 1 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca double, align 8 %26 = alloca i32, align 4 %27 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %28 = load ptr, ptr %8, align 8 %29 = load i32, ptr %28, align 4 store i32 %29, ptr %13, align 4 %30 = load ptr, ptr %9, align 8 %31 = load i32, ptr %30, align 4 store i32 %31, ptr %14, align 4 %32 = call i64 @malloc(i32 noundef 4096) %33 = inttoptr i64 %32 to ptr store ptr %33, ptr %15, align 8 %34 = load i32, ptr %13, align 4 %35 = sext i32 %34 to i64 %36 = mul i64 %35, 4 %37 = trunc i64 %36 to i32 %38 = call i64 @malloc(i32 noundef %37) %39 = inttoptr i64 %38 to ptr store ptr %39, ptr %16, align 8 %40 = load i32, ptr %13, align 4 %41 = srem i32 %40, 4 store i32 %41, ptr %19, align 4 store double 0.000000e+00, ptr %25, align 8 store i32 12, ptr %26, align 4 store i32 0, ptr %20, align 4 %42 = load i32, ptr %20, align 4 %43 = load i32, ptr %14, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %.lr.ph2, label %71 .lr.ph2: ; preds = %6 br label %45 45: ; preds = %.lr.ph2, %65 store i32 0, ptr %21, align 4 %46 = load i32, ptr %21, align 4 %47 = load i32, ptr %26, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %.lr.ph, label %64 .lr.ph: ; preds = %45 br label %49 49: ; preds = %.lr.ph, %58 %50 = load ptr, ptr %12, align 8 %51 = load i32, ptr %20, align 4 %52 = load i32, ptr %26, align 4 %53 = mul nsw i32 %51, %52 %54 = load i32, ptr %21, align 4 %55 = add nsw i32 %53, %54 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds double, ptr %50, i64 %56 store double 0.000000e+00, ptr %57, align 8 br label %58 58: ; preds = %49 %59 = load i32, ptr %21, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %21, align 4 %61 = load i32, ptr %21, align 4 %62 = load i32, ptr %26, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %49, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %58 br label %64 64: ; preds = %._crit_edge, %45 br label %65 65: ; preds = %64 %66 = load i32, ptr %20, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %20, align 4 %68 = load i32, ptr %20, align 4 %69 = load i32, ptr %14, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %45, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %65 br label %71 71: ; preds = %._crit_edge3, %6 store i32 0, ptr %20, align 4 %72 = load i32, ptr %20, align 4 %73 = load i32, ptr %13, align 4 %74 = sub nsw i32 %73, 1 %75 = icmp slt i32 %72, %74 br i1 %75, label %.lr.ph8, label %108 .lr.ph8: ; preds = %71 br label %76 76: ; preds = %.lr.ph8, %101 %77 = load i32, ptr %20, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %21, align 4 %79 = load i32, ptr %21, align 4 %80 = load i32, ptr %13, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %.lr.ph5, label %100 .lr.ph5: ; preds = %76 br label %82 82: ; preds = %.lr.ph5, %94 %83 = load ptr, ptr %10, align 8 %84 = load i32, ptr %20, align 4 %85 = load i32, ptr %13, align 4 %86 = mul nsw i32 %84, %85 %87 = load i32, ptr %21, align 4 %88 = add nsw i32 %86, %87 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds double, ptr %83, i64 %89 %91 = load double, ptr %90, align 8 %92 = load double, ptr %25, align 8 %93 = fadd double %92, %91 store double %93, ptr %25, align 8 br label %94 94: ; preds = %82 %95 = load i32, ptr %21, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %21, align 4 %97 = load i32, ptr %21, align 4 %98 = load i32, ptr %13, align 4 %99 = icmp slt i32 %97, %98 br i1 %99, label %82, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %94 br label %100 100: ; preds = %._crit_edge6, %76 br label %101 101: ; preds = %100 %102 = load i32, ptr %20, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %20, align 4 %104 = load i32, ptr %20, align 4 %105 = load i32, ptr %13, align 4 %106 = sub nsw i32 %105, 1 %107 = icmp slt i32 %104, %106 br i1 %107, label %76, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %101 br label %108 108: ; preds = %._crit_edge9, %71 %109 = load double, ptr %25, align 8 %110 = load i32, ptr %13, align 4 %111 = sitofp i32 %110 to double %112 = load i32, ptr %13, align 4 %113 = sub nsw i32 %112, 1 %114 = sitofp i32 %113 to double %115 = fmul double %111, %114 %116 = fdiv double %115, 2.000000e+00 %117 = fdiv double %109, %116 store double %117, ptr %25, align 8 store i32 0, ptr %20, align 4 %118 = load i32, ptr %20, align 4 %119 = load i32, ptr %13, align 4 %120 = sub nsw i32 %119, 1 %121 = icmp slt i32 %118, %120 br i1 %121, label %.lr.ph14, label %181 .lr.ph14: ; preds = %108 br label %122 122: ; preds = %.lr.ph14, %174 %123 = load i32, ptr %20, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %21, align 4 %125 = load i32, ptr %21, align 4 %126 = load i32, ptr %13, align 4 %127 = icmp slt i32 %125, %126 br i1 %127, label %.lr.ph11, label %173 .lr.ph11: ; preds = %122 br label %128 128: ; preds = %.lr.ph11, %167 %129 = load ptr, ptr %10, align 8 %130 = load i32, ptr %20, align 4 %131 = load i32, ptr %13, align 4 %132 = mul nsw i32 %130, %131 %133 = load i32, ptr %21, align 4 %134 = add nsw i32 %132, %133 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds double, ptr %129, i64 %135 %137 = load double, ptr %136, align 8 %138 = load double, ptr %25, align 8 %139 = fsub double %137, %138 %140 = load ptr, ptr %10, align 8 %141 = load i32, ptr %20, align 4 %142 = load i32, ptr %13, align 4 %143 = mul nsw i32 %141, %142 %144 = load i32, ptr %21, align 4 %145 = add nsw i32 %143, %144 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds double, ptr %140, i64 %146 store double %139, ptr %147, align 8 %148 = load ptr, ptr %10, align 8 %149 = load i32, ptr %21, align 4 %150 = load i32, ptr %13, align 4 %151 = mul nsw i32 %149, %150 %152 = load i32, ptr %20, align 4 %153 = add nsw i32 %151, %152 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds double, ptr %148, i64 %154 %156 = load double, ptr %155, align 8 %157 = load double, ptr %25, align 8 %158 = fsub double %156, %157 %159 = load ptr, ptr %10, align 8 %160 = load i32, ptr %21, align 4 %161 = load i32, ptr %13, align 4 %162 = mul nsw i32 %160, %161 %163 = load i32, ptr %20, align 4 %164 = add nsw i32 %162, %163 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds double, ptr %159, i64 %165 store double %158, ptr %166, align 8 br label %167 167: ; preds = %128 %168 = load i32, ptr %21, align 4 %169 = add nsw i32 %168, 1 store i32 %169, ptr %21, align 4 %170 = load i32, ptr %21, align 4 %171 = load i32, ptr %13, align 4 %172 = icmp slt i32 %170, %171 br i1 %172, label %128, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %167 br label %173 173: ; preds = %._crit_edge12, %122 br label %174 174: ; preds = %173 %175 = load i32, ptr %20, align 4 %176 = add nsw i32 %175, 1 store i32 %176, ptr %20, align 4 %177 = load i32, ptr %20, align 4 %178 = load i32, ptr %13, align 4 %179 = sub nsw i32 %178, 1 %180 = icmp slt i32 %177, %179 br i1 %180, label %122, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %174 br label %181 181: ; preds = %._crit_edge15, %108 store i32 0, ptr %20, align 4 %182 = load i32, ptr %20, align 4 %183 = icmp slt i32 %182, 256 br i1 %183, label %.lr.ph20, label %239 .lr.ph20: ; preds = %181 br label %184 184: ; preds = %.lr.ph20, %234 %185 = load i32, ptr %20, align 4 %186 = trunc i32 %185 to i8 store i8 %186, ptr %17, align 1 %187 = load i32, ptr %20, align 4 %188 = mul nsw i32 %187, 4 store i32 %188, ptr %22, align 4 store i32 0, ptr %21, align 4 %189 = load i32, ptr %21, align 4 %190 = icmp slt i32 %189, 4 br i1 %190, label %.lr.ph17, label %233 .lr.ph17: ; preds = %184 br label %191 191: ; preds = %.lr.ph17, %228 %192 = load i8, ptr %17, align 1 %193 = zext i8 %192 to i32 %194 = load i32, ptr %21, align 4 %195 = mul nsw i32 %194, 2 %196 = ashr i32 %193, %195 %197 = and i32 %196, 3 store i32 %197, ptr %18, align 4 %198 = load i32, ptr %18, align 4 switch i32 %198, label %220 [ i32 0, label %199 i32 2, label %206 i32 3, label %213 ] 199: ; preds = %191 %200 = load ptr, ptr %15, align 8 %201 = load i32, ptr %22, align 4 %202 = load i32, ptr %21, align 4 %203 = add nsw i32 %201, %202 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds i32, ptr %200, i64 %204 store i32 2, ptr %205, align 4 br label %227 206: ; preds = %191 %207 = load ptr, ptr %15, align 8 %208 = load i32, ptr %22, align 4 %209 = load i32, ptr %21, align 4 %210 = add nsw i32 %208, %209 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds i32, ptr %207, i64 %211 store i32 1, ptr %212, align 4 br label %227 213: ; preds = %191 %214 = load ptr, ptr %15, align 8 %215 = load i32, ptr %22, align 4 %216 = load i32, ptr %21, align 4 %217 = add nsw i32 %215, %216 %218 = sext i32 %217 to i64 %219 = getelementptr inbounds i32, ptr %214, i64 %218 store i32 0, ptr %219, align 4 br label %227 220: ; preds = %191 %221 = load ptr, ptr %15, align 8 %222 = load i32, ptr %22, align 4 %223 = load i32, ptr %21, align 4 %224 = add nsw i32 %222, %223 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds i32, ptr %221, i64 %225 store i32 -9, ptr %226, align 4 br label %227 227: ; preds = %220, %213, %206, %199 br label %228 228: ; preds = %227 %229 = load i32, ptr %21, align 4 %230 = add nsw i32 %229, 1 store i32 %230, ptr %21, align 4 %231 = load i32, ptr %21, align 4 %232 = icmp slt i32 %231, 4 br i1 %232, label %191, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %228 br label %233 233: ; preds = %._crit_edge18, %184 br label %234 234: ; preds = %233 %235 = load i32, ptr %20, align 4 %236 = add nsw i32 %235, 1 store i32 %236, ptr %20, align 4 %237 = load i32, ptr %20, align 4 %238 = icmp slt i32 %237, 256 br i1 %238, label %184, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %234 br label %239 239: ; preds = %._crit_edge21, %181 %240 = load ptr, ptr %7, align 8 %241 = load ptr, ptr %240, align 8 %242 = call ptr @fopen(ptr noundef %241, ptr noundef @.str) store ptr %242, ptr %27, align 8 %243 = load ptr, ptr %27, align 8 %244 = icmp ne ptr %243, null br i1 %244, label %247, label %245 245: ; preds = %239 %246 = call i32 @printf(ptr noundef @.str.1) br label %247 247: ; preds = %245, %239 %248 = load ptr, ptr %27, align 8 %249 = load i32, ptr @SEEK_SET, align 4 %250 = call i32 @fseek(ptr noundef %248, i32 noundef 3, i32 noundef %249) store i32 0, ptr %21, align 4 %251 = load i32, ptr %21, align 4 %252 = load i32, ptr %14, align 4 %253 = icmp slt i32 %251, %252 br i1 %253, label %.lr.ph38, label %587 .lr.ph38: ; preds = %247 br label %254 254: ; preds = %.lr.ph38, %581 %255 = load i32, ptr %21, align 4 %256 = load i32, ptr %26, align 4 %257 = mul nsw i32 %255, %256 store i32 %257, ptr %23, align 4 store i32 0, ptr %20, align 4 %258 = load i32, ptr %20, align 4 %259 = load i32, ptr %13, align 4 %260 = sub nsw i32 %259, 3 %261 = icmp slt i32 %258, %260 br i1 %261, label %.lr.ph26, label %355 .lr.ph26: ; preds = %254 br label %262 262: ; preds = %.lr.ph26, %348 %263 = load ptr, ptr %27, align 8 %264 = call i32 @fread(ptr noundef %17, i32 noundef 1, i32 noundef 1, ptr noundef %263) %265 = load i8, ptr %17, align 1 %266 = zext i8 %265 to i32 %267 = shl i32 %266, 2 store i32 %267, ptr %18, align 4 store i32 0, ptr %22, align 4 %268 = load i32, ptr %22, align 4 %269 = icmp slt i32 %268, 4 br i1 %269, label %.lr.ph23, label %347 .lr.ph23: ; preds = %262 br label %270 270: ; preds = %.lr.ph23, %342 %271 = load ptr, ptr %15, align 8 %272 = load i32, ptr %18, align 4 %273 = load i32, ptr %22, align 4 %274 = add nsw i32 %272, %273 %275 = sext i32 %274 to i64 %276 = getelementptr inbounds i32, ptr %271, i64 %275 %277 = load i32, ptr %276, align 4 %278 = load ptr, ptr %16, align 8 %279 = load i32, ptr %20, align 4 %280 = load i32, ptr %22, align 4 %281 = add nsw i32 %279, %280 %282 = sext i32 %281 to i64 %283 = getelementptr inbounds i32, ptr %278, i64 %282 store i32 %277, ptr %283, align 4 %284 = load ptr, ptr %16, align 8 %285 = load i32, ptr %20, align 4 %286 = load i32, ptr %22, align 4 %287 = add nsw i32 %285, %286 %288 = sext i32 %287 to i64 %289 = getelementptr inbounds i32, ptr %284, i64 %288 %290 = load i32, ptr %289, align 4 switch i32 %290, label %328 [ i32 0, label %291 i32 1, label %302 i32 2, label %315 ] 291: ; preds = %270 %292 = load ptr, ptr %12, align 8 %293 = load i32, ptr %23, align 4 %294 = sext i32 %293 to i64 %295 = getelementptr inbounds double, ptr %292, i64 %294 %296 = load double, ptr %295, align 8 %297 = fadd double %296, 1.000000e+00 %298 = load ptr, ptr %12, align 8 %299 = load i32, ptr %23, align 4 %300 = sext i32 %299 to i64 %301 = getelementptr inbounds double, ptr %298, i64 %300 store double %297, ptr %301, align 8 br label %341 302: ; preds = %270 %303 = load ptr, ptr %12, align 8 %304 = load i32, ptr %23, align 4 %305 = add nsw i32 %304, 1 %306 = sext i32 %305 to i64 %307 = getelementptr inbounds double, ptr %303, i64 %306 %308 = load double, ptr %307, align 8 %309 = fadd double %308, 1.000000e+00 %310 = load ptr, ptr %12, align 8 %311 = load i32, ptr %23, align 4 %312 = add nsw i32 %311, 1 %313 = sext i32 %312 to i64 %314 = getelementptr inbounds double, ptr %310, i64 %313 store double %309, ptr %314, align 8 br label %341 315: ; preds = %270 %316 = load ptr, ptr %12, align 8 %317 = load i32, ptr %23, align 4 %318 = add nsw i32 %317, 2 %319 = sext i32 %318 to i64 %320 = getelementptr inbounds double, ptr %316, i64 %319 %321 = load double, ptr %320, align 8 %322 = fadd double %321, 1.000000e+00 %323 = load ptr, ptr %12, align 8 %324 = load i32, ptr %23, align 4 %325 = add nsw i32 %324, 2 %326 = sext i32 %325 to i64 %327 = getelementptr inbounds double, ptr %323, i64 %326 store double %322, ptr %327, align 8 br label %341 328: ; preds = %270 %329 = load ptr, ptr %12, align 8 %330 = load i32, ptr %23, align 4 %331 = add nsw i32 %330, 3 %332 = sext i32 %331 to i64 %333 = getelementptr inbounds double, ptr %329, i64 %332 %334 = load double, ptr %333, align 8 %335 = fadd double %334, 1.000000e+00 %336 = load ptr, ptr %12, align 8 %337 = load i32, ptr %23, align 4 %338 = add nsw i32 %337, 3 %339 = sext i32 %338 to i64 %340 = getelementptr inbounds double, ptr %336, i64 %339 store double %335, ptr %340, align 8 br label %341 341: ; preds = %328, %315, %302, %291 br label %342 342: ; preds = %341 %343 = load i32, ptr %22, align 4 %344 = add nsw i32 %343, 1 store i32 %344, ptr %22, align 4 %345 = load i32, ptr %22, align 4 %346 = icmp slt i32 %345, 4 br i1 %346, label %270, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %342 br label %347 347: ; preds = %._crit_edge24, %262 br label %348 348: ; preds = %347 %349 = load i32, ptr %20, align 4 %350 = add nsw i32 %349, 4 store i32 %350, ptr %20, align 4 %351 = load i32, ptr %20, align 4 %352 = load i32, ptr %13, align 4 %353 = sub nsw i32 %352, 3 %354 = icmp slt i32 %351, %353 br i1 %354, label %262, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %348 br label %355 355: ; preds = %._crit_edge27, %254 %356 = load i32, ptr %19, align 4 %357 = icmp sgt i32 %356, 0 br i1 %357, label %358, label %446 358: ; preds = %355 %359 = load ptr, ptr %27, align 8 %360 = call i32 @fread(ptr noundef %17, i32 noundef 1, i32 noundef 1, ptr noundef %359) %361 = load i8, ptr %17, align 1 %362 = zext i8 %361 to i32 %363 = shl i32 %362, 2 store i32 %363, ptr %18, align 4 store i32 0, ptr %22, align 4 %364 = load i32, ptr %22, align 4 %365 = load i32, ptr %19, align 4 %366 = icmp slt i32 %364, %365 br i1 %366, label %.lr.ph29, label %445 .lr.ph29: ; preds = %358 br label %367 367: ; preds = %.lr.ph29, %439 %368 = load ptr, ptr %15, align 8 %369 = load i32, ptr %18, align 4 %370 = load i32, ptr %22, align 4 %371 = add nsw i32 %369, %370 %372 = sext i32 %371 to i64 %373 = getelementptr inbounds i32, ptr %368, i64 %372 %374 = load i32, ptr %373, align 4 %375 = load ptr, ptr %16, align 8 %376 = load i32, ptr %20, align 4 %377 = load i32, ptr %22, align 4 %378 = add nsw i32 %376, %377 %379 = sext i32 %378 to i64 %380 = getelementptr inbounds i32, ptr %375, i64 %379 store i32 %374, ptr %380, align 4 %381 = load ptr, ptr %16, align 8 %382 = load i32, ptr %20, align 4 %383 = load i32, ptr %22, align 4 %384 = add nsw i32 %382, %383 %385 = sext i32 %384 to i64 %386 = getelementptr inbounds i32, ptr %381, i64 %385 %387 = load i32, ptr %386, align 4 switch i32 %387, label %425 [ i32 0, label %388 i32 1, label %399 i32 2, label %412 ] 388: ; preds = %367 %389 = load ptr, ptr %12, align 8 %390 = load i32, ptr %23, align 4 %391 = sext i32 %390 to i64 %392 = getelementptr inbounds double, ptr %389, i64 %391 %393 = load double, ptr %392, align 8 %394 = fadd double %393, 1.000000e+00 %395 = load ptr, ptr %12, align 8 %396 = load i32, ptr %23, align 4 %397 = sext i32 %396 to i64 %398 = getelementptr inbounds double, ptr %395, i64 %397 store double %394, ptr %398, align 8 br label %438 399: ; preds = %367 %400 = load ptr, ptr %12, align 8 %401 = load i32, ptr %23, align 4 %402 = add nsw i32 %401, 1 %403 = sext i32 %402 to i64 %404 = getelementptr inbounds double, ptr %400, i64 %403 %405 = load double, ptr %404, align 8 %406 = fadd double %405, 1.000000e+00 %407 = load ptr, ptr %12, align 8 %408 = load i32, ptr %23, align 4 %409 = add nsw i32 %408, 1 %410 = sext i32 %409 to i64 %411 = getelementptr inbounds double, ptr %407, i64 %410 store double %406, ptr %411, align 8 br label %438 412: ; preds = %367 %413 = load ptr, ptr %12, align 8 %414 = load i32, ptr %23, align 4 %415 = add nsw i32 %414, 2 %416 = sext i32 %415 to i64 %417 = getelementptr inbounds double, ptr %413, i64 %416 %418 = load double, ptr %417, align 8 %419 = fadd double %418, 1.000000e+00 %420 = load ptr, ptr %12, align 8 %421 = load i32, ptr %23, align 4 %422 = add nsw i32 %421, 2 %423 = sext i32 %422 to i64 %424 = getelementptr inbounds double, ptr %420, i64 %423 store double %419, ptr %424, align 8 br label %438 425: ; preds = %367 %426 = load ptr, ptr %12, align 8 %427 = load i32, ptr %23, align 4 %428 = add nsw i32 %427, 3 %429 = sext i32 %428 to i64 %430 = getelementptr inbounds double, ptr %426, i64 %429 %431 = load double, ptr %430, align 8 %432 = fadd double %431, 1.000000e+00 %433 = load ptr, ptr %12, align 8 %434 = load i32, ptr %23, align 4 %435 = add nsw i32 %434, 3 %436 = sext i32 %435 to i64 %437 = getelementptr inbounds double, ptr %433, i64 %436 store double %432, ptr %437, align 8 br label %438 438: ; preds = %425, %412, %399, %388 br label %439 439: ; preds = %438 %440 = load i32, ptr %22, align 4 %441 = add nsw i32 %440, 1 store i32 %441, ptr %22, align 4 %442 = load i32, ptr %22, align 4 %443 = load i32, ptr %19, align 4 %444 = icmp slt i32 %442, %443 br i1 %444, label %367, label %._crit_edge30, !llvm.loop !17 ._crit_edge30: ; preds = %439 br label %445 445: ; preds = %._crit_edge30, %358 br label %446 446: ; preds = %445, %355 %447 = load ptr, ptr %12, align 8 %448 = load i32, ptr %23, align 4 %449 = add nsw i32 %448, 1 %450 = sext i32 %449 to i64 %451 = getelementptr inbounds double, ptr %447, i64 %450 %452 = load double, ptr %451, align 8 %453 = load ptr, ptr %12, align 8 %454 = load i32, ptr %23, align 4 %455 = add nsw i32 %454, 2 %456 = sext i32 %455 to i64 %457 = getelementptr inbounds double, ptr %453, i64 %456 %458 = load double, ptr %457, align 8 %459 = fadd double %452, %458 %460 = load ptr, ptr %12, align 8 %461 = load i32, ptr %23, align 4 %462 = add nsw i32 %461, 2 %463 = sext i32 %462 to i64 %464 = getelementptr inbounds double, ptr %460, i64 %463 %465 = load double, ptr %464, align 8 %466 = fadd double %459, %465 %467 = load i32, ptr %13, align 4 %468 = load i32, ptr %13, align 4 %469 = add nsw i32 %467, %468 %470 = sitofp i32 %469 to double %471 = load ptr, ptr %12, align 8 %472 = load i32, ptr %23, align 4 %473 = add nsw i32 %472, 3 %474 = sext i32 %473 to i64 %475 = getelementptr inbounds double, ptr %471, i64 %474 %476 = load double, ptr %475, align 8 %477 = fsub double %470, %476 %478 = load ptr, ptr %12, align 8 %479 = load i32, ptr %23, align 4 %480 = add nsw i32 %479, 3 %481 = sext i32 %480 to i64 %482 = getelementptr inbounds double, ptr %478, i64 %481 %483 = load double, ptr %482, align 8 %484 = fsub double %477, %483 %485 = fdiv double %466, %484 %486 = load ptr, ptr %12, align 8 %487 = load i32, ptr %23, align 4 %488 = add nsw i32 %487, 4 %489 = sext i32 %488 to i64 %490 = getelementptr inbounds double, ptr %486, i64 %489 store double %485, ptr %490, align 8 store i32 0, ptr %20, align 4 %491 = load i32, ptr %20, align 4 %492 = load i32, ptr %13, align 4 %493 = sub nsw i32 %492, 1 %494 = icmp slt i32 %491, %493 br i1 %494, label %.lr.ph35, label %580 .lr.ph35: ; preds = %446 br label %495 495: ; preds = %.lr.ph35, %573 %496 = load i32, ptr %20, align 4 %497 = add nsw i32 %496, 1 store i32 %497, ptr %22, align 4 %498 = load i32, ptr %22, align 4 %499 = load i32, ptr %13, align 4 %500 = icmp slt i32 %498, %499 br i1 %500, label %.lr.ph32, label %572 .lr.ph32: ; preds = %495 br label %501 501: ; preds = %.lr.ph32, %566 %502 = load ptr, ptr %16, align 8 %503 = load i32, ptr %20, align 4 %504 = sext i32 %503 to i64 %505 = getelementptr inbounds i32, ptr %502, i64 %504 %506 = load i32, ptr %505, align 4 %507 = icmp ne i32 %506, -9 br i1 %507, label %508, label %565 508: ; preds = %501 %509 = load ptr, ptr %16, align 8 %510 = load i32, ptr %22, align 4 %511 = sext i32 %510 to i64 %512 = getelementptr inbounds i32, ptr %509, i64 %511 %513 = load i32, ptr %512, align 4 %514 = icmp ne i32 %513, -9 br i1 %514, label %515, label %565 515: ; preds = %508 %516 = load ptr, ptr %16, align 8 %517 = load i32, ptr %20, align 4 %518 = sext i32 %517 to i64 %519 = getelementptr inbounds i32, ptr %516, i64 %518 %520 = load i32, ptr %519, align 4 %521 = load ptr, ptr %16, align 8 %522 = load i32, ptr %22, align 4 %523 = sext i32 %522 to i64 %524 = getelementptr inbounds i32, ptr %521, i64 %523 %525 = load i32, ptr %524, align 4 %526 = sub nsw i32 %520, %525 %527 = call i32 @abs(i32 noundef %526) #3 store i32 %527, ptr %24, align 4 %528 = load i32, ptr %24, align 4 switch i32 %528, label %547 [ i32 0, label %529 i32 2, label %530 ] 529: ; preds = %515 br label %564 530: ; preds = %515 %531 = load ptr, ptr %10, align 8 %532 = load i32, ptr %20, align 4 %533 = load i32, ptr %13, align 4 %534 = mul nsw i32 %532, %533 %535 = load i32, ptr %22, align 4 %536 = add nsw i32 %534, %535 %537 = sext i32 %536 to i64 %538 = getelementptr inbounds double, ptr %531, i64 %537 %539 = load double, ptr %538, align 8 %540 = load ptr, ptr %12, align 8 %541 = load i32, ptr %23, align 4 %542 = add nsw i32 %541, 10 %543 = sext i32 %542 to i64 %544 = getelementptr inbounds double, ptr %540, i64 %543 %545 = load double, ptr %544, align 8 %546 = fadd double %545, %539 store double %546, ptr %544, align 8 br label %547 547: ; preds = %530, %515 %548 = load ptr, ptr %10, align 8 %549 = load i32, ptr %20, align 4 %550 = load i32, ptr %13, align 4 %551 = mul nsw i32 %549, %550 %552 = load i32, ptr %22, align 4 %553 = add nsw i32 %551, %552 %554 = sext i32 %553 to i64 %555 = getelementptr inbounds double, ptr %548, i64 %554 %556 = load double, ptr %555, align 8 %557 = load ptr, ptr %12, align 8 %558 = load i32, ptr %23, align 4 %559 = add nsw i32 %558, 10 %560 = sext i32 %559 to i64 %561 = getelementptr inbounds double, ptr %557, i64 %560 %562 = load double, ptr %561, align 8 %563 = fadd double %562, %556 store double %563, ptr %561, align 8 br label %564 564: ; preds = %547, %529 br label %565 565: ; preds = %564, %508, %501 br label %566 566: ; preds = %565 %567 = load i32, ptr %22, align 4 %568 = add nsw i32 %567, 1 store i32 %568, ptr %22, align 4 %569 = load i32, ptr %22, align 4 %570 = load i32, ptr %13, align 4 %571 = icmp slt i32 %569, %570 br i1 %571, label %501, label %._crit_edge33, !llvm.loop !18 ._crit_edge33: ; preds = %566 br label %572 572: ; preds = %._crit_edge33, %495 br label %573 573: ; preds = %572 %574 = load i32, ptr %20, align 4 %575 = add nsw i32 %574, 1 store i32 %575, ptr %20, align 4 %576 = load i32, ptr %20, align 4 %577 = load i32, ptr %13, align 4 %578 = sub nsw i32 %577, 1 %579 = icmp slt i32 %576, %578 br i1 %579, label %495, label %._crit_edge36, !llvm.loop !19 ._crit_edge36: ; preds = %573 br label %580 580: ; preds = %._crit_edge36, %446 br label %581 581: ; preds = %580 %582 = load i32, ptr %21, align 4 %583 = add nsw i32 %582, 1 store i32 %583, ptr %21, align 4 %584 = load i32, ptr %21, align 4 %585 = load i32, ptr %14, align 4 %586 = icmp slt i32 %584, %585 br i1 %586, label %254, label %._crit_edge39, !llvm.loop !20 ._crit_edge39: ; preds = %581 br label %587 587: ; preds = %._crit_edge39, %247 %588 = load ptr, ptr %27, align 8 %589 = call i32 @fclose(ptr noundef %588) %590 = load ptr, ptr %16, align 8 %591 = call i32 @free(ptr noundef %590) %592 = load ptr, ptr %15, align 8 %593 = call i32 @free(ptr noundef %592) ret void } declare i64 @malloc(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #2 declare i32 @fclose(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7}
; ModuleID = '/tmp/tmpv2s5i3q1.c' source_filename = "/tmp/tmpv2s5i3q1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minimax(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %11 = load ptr, ptr %4, align 8 %12 = call i32 @vencer(ptr noundef %11) store i32 %12, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %2 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %5, align 4 %18 = mul nsw i32 %16, %17 store i32 %18, ptr %3, align 4 br label %62 19: ; preds = %2 store i32 -1, ptr %7, align 4 store i32 -2, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %20 20: ; preds = %53, %19 %21 = load i32, ptr %9, align 4 %22 = icmp slt i32 %21, 9 br i1 %22, label %23, label %56 23: ; preds = %20 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %9, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %52 30: ; preds = %23 %31 = load i32, ptr %5, align 4 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %9, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 store i32 %31, ptr %35, align 4 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %5, align 4 %38 = mul nsw i32 %37, -1 %39 = call i32 @minimax(ptr noundef %36, i32 noundef %38) %40 = sub nsw i32 0, %39 store i32 %40, ptr %10, align 4 %41 = load i32, ptr %10, align 4 %42 = load i32, ptr %8, align 4 %43 = icmp sgt i32 %41, %42 br i1 %43, label %44, label %47 44: ; preds = %30 %45 = load i32, ptr %10, align 4 store i32 %45, ptr %8, align 4 %46 = load i32, ptr %9, align 4 store i32 %46, ptr %7, align 4 br label %47 47: ; preds = %44, %30 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 store i32 0, ptr %51, align 4 br label %52 52: ; preds = %47, %23 br label %53 53: ; preds = %52 %54 = load i32, ptr %9, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %9, align 4 br label %20, !llvm.loop !6 56: ; preds = %20 %57 = load i32, ptr %7, align 4 %58 = icmp eq i32 %57, -1 br i1 %58, label %59, label %60 59: ; preds = %56 store i32 0, ptr %3, align 4 br label %62 60: ; preds = %56 %61 = load i32, ptr %8, align 4 store i32 %61, ptr %3, align 4 br label %62 62: ; preds = %60, %59, %15 %63 = load i32, ptr %3, align 4 ret i32 %63 } declare i32 @vencer(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpv2s5i3q1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minimax(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %11 = load ptr, ptr %4, align 8 %12 = call i32 @vencer(ptr noundef %11) store i32 %12, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %2 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %5, align 4 %18 = mul nsw i32 %16, %17 store i32 %18, ptr %3, align 4 br label %63 19: ; preds = %2 store i32 -1, ptr %7, align 4 store i32 -2, ptr %8, align 4 store i32 0, ptr %9, align 4 %20 = load i32, ptr %9, align 4 %21 = icmp slt i32 %20, 9 br i1 %21, label %.lr.ph, label %57 .lr.ph: ; preds = %19 br label %22 22: ; preds = %.lr.ph, %52 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %9, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %51 29: ; preds = %22 %30 = load i32, ptr %5, align 4 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 store i32 %30, ptr %34, align 4 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %5, align 4 %37 = mul nsw i32 %36, -1 %38 = call i32 @minimax(ptr noundef %35, i32 noundef %37) %39 = sub nsw i32 0, %38 store i32 %39, ptr %10, align 4 %40 = load i32, ptr %10, align 4 %41 = load i32, ptr %8, align 4 %42 = icmp sgt i32 %40, %41 br i1 %42, label %43, label %46 43: ; preds = %29 %44 = load i32, ptr %10, align 4 store i32 %44, ptr %8, align 4 %45 = load i32, ptr %9, align 4 store i32 %45, ptr %7, align 4 br label %46 46: ; preds = %43, %29 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr %9, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %47, i64 %49 store i32 0, ptr %50, align 4 br label %51 51: ; preds = %46, %22 br label %52 52: ; preds = %51 %53 = load i32, ptr %9, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %9, align 4 %55 = load i32, ptr %9, align 4 %56 = icmp slt i32 %55, 9 br i1 %56, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %57 57: ; preds = %._crit_edge, %19 %58 = load i32, ptr %7, align 4 %59 = icmp eq i32 %58, -1 br i1 %59, label %60, label %61 60: ; preds = %57 store i32 0, ptr %3, align 4 br label %63 61: ; preds = %57 %62 = load i32, ptr %8, align 4 store i32 %62, ptr %3, align 4 br label %63 63: ; preds = %61, %60, %15 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i32 @vencer(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpfdp0pn50.c' source_filename = "/tmp/tmpfdp0pn50.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.epoll_event = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @errno = dso_local global i64 0, align 8 @EINPROGRESS = dso_local global i64 0, align 8 @EPOLLOUT = dso_local global i32 0, align 4 @EPOLLIN = dso_local global i32 0, align 4 @EPOLLERR = dso_local global i32 0, align 4 @EPOLL_CTL_ADD = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_ERROR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @wait_connect(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.epoll_event, 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 %4, align 4 store i32 %1, ptr %5, align 4 %11 = load i64, ptr @errno, align 8 %12 = load i64, ptr @EINPROGRESS, align 8 %13 = icmp ne i64 %11, %12 br i1 %13, label %14, label %15 14: ; preds = %2 store i32 -1, ptr %3, align 4 br label %63 15: ; preds = %2 %16 = call i32 @epoll_create(i32 noundef 1) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %20 19: ; preds = %15 store i32 -1, ptr %3, align 4 br label %63 20: ; preds = %15 %21 = load i32, ptr %4, align 4 %22 = getelementptr inbounds %struct.epoll_event, ptr %6, i32 0, i32 1 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i32 0, i32 0 store i32 %21, ptr %23, align 4 %24 = load i32, ptr @EPOLLOUT, align 4 %25 = load i32, ptr @EPOLLIN, align 4 %26 = or i32 %24, %25 %27 = load i32, ptr @EPOLLERR, align 4 %28 = or i32 %26, %27 %29 = getelementptr inbounds %struct.epoll_event, ptr %6, i32 0, i32 0 store i32 %28, ptr %29, align 4 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr @EPOLL_CTL_ADD, align 4 %32 = load i32, ptr %4, align 4 %33 = call i32 @epoll_ctl(i32 noundef %30, i32 noundef %31, i32 noundef %32, ptr noundef %6) %34 = icmp eq i32 %33, -1 br i1 %34, label %35, label %38 35: ; preds = %20 %36 = load i32, ptr %7, align 4 %37 = call i32 @close(i32 noundef %36) store i32 -1, ptr %3, align 4 br label %63 38: ; preds = %20 %39 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8) %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %5, align 4 %42 = call i32 @epoll_wait(i32 noundef %40, ptr noundef %6, i32 noundef 1, i32 noundef %41) store i32 %42, ptr %8, align 4 %43 = load i32, ptr %8, align 4 %44 = icmp sle i32 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %38 %46 = load i32, ptr %7, align 4 %47 = call i32 @close(i32 noundef %46) store i32 -1, ptr %3, align 4 br label %63 48: ; preds = %38 store i32 -1, ptr %9, align 4 store i32 4, ptr %10, align 4 %49 = load i32, ptr %4, align 4 %50 = load i32, ptr @SOL_SOCKET, align 4 %51 = load i32, ptr @SO_ERROR, align 4 %52 = call i64 @getsockopt(i32 noundef %49, i32 noundef %50, i32 noundef %51, ptr noundef %9, ptr noundef %10) %53 = icmp ne i64 %52, 0 br i1 %53, label %57, label %54 54: ; preds = %48 %55 = load i32, ptr %9, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %60 57: ; preds = %54, %48 %58 = load i32, ptr %7, align 4 %59 = call i32 @close(i32 noundef %58) store i32 -1, ptr %3, align 4 br label %63 60: ; preds = %54 %61 = load i32, ptr %7, align 4 %62 = call i32 @close(i32 noundef %61) store i32 0, ptr %3, align 4 br label %63 63: ; preds = %60, %57, %45, %35, %19, %14 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i32 @epoll_create(i32 noundef) #1 declare i32 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @epoll_wait(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @getsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfdp0pn50.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.epoll_event = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @errno = dso_local global i64 0, align 8 @EINPROGRESS = dso_local global i64 0, align 8 @EPOLLOUT = dso_local global i32 0, align 4 @EPOLLIN = dso_local global i32 0, align 4 @EPOLLERR = dso_local global i32 0, align 4 @EPOLL_CTL_ADD = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_ERROR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @wait_connect(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.epoll_event, 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 %4, align 4 store i32 %1, ptr %5, align 4 %11 = load i64, ptr @errno, align 8 %12 = load i64, ptr @EINPROGRESS, align 8 %13 = icmp ne i64 %11, %12 br i1 %13, label %14, label %15 14: ; preds = %2 store i32 -1, ptr %3, align 4 br label %63 15: ; preds = %2 %16 = call i32 @epoll_create(i32 noundef 1) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %20 19: ; preds = %15 store i32 -1, ptr %3, align 4 br label %63 20: ; preds = %15 %21 = load i32, ptr %4, align 4 %22 = getelementptr inbounds %struct.epoll_event, ptr %6, i32 0, i32 1 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i32 0, i32 0 store i32 %21, ptr %23, align 4 %24 = load i32, ptr @EPOLLOUT, align 4 %25 = load i32, ptr @EPOLLIN, align 4 %26 = or i32 %24, %25 %27 = load i32, ptr @EPOLLERR, align 4 %28 = or i32 %26, %27 %29 = getelementptr inbounds %struct.epoll_event, ptr %6, i32 0, i32 0 store i32 %28, ptr %29, align 4 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr @EPOLL_CTL_ADD, align 4 %32 = load i32, ptr %4, align 4 %33 = call i32 @epoll_ctl(i32 noundef %30, i32 noundef %31, i32 noundef %32, ptr noundef %6) %34 = icmp eq i32 %33, -1 br i1 %34, label %35, label %38 35: ; preds = %20 %36 = load i32, ptr %7, align 4 %37 = call i32 @close(i32 noundef %36) store i32 -1, ptr %3, align 4 br label %63 38: ; preds = %20 %39 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8) %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %5, align 4 %42 = call i32 @epoll_wait(i32 noundef %40, ptr noundef %6, i32 noundef 1, i32 noundef %41) store i32 %42, ptr %8, align 4 %43 = load i32, ptr %8, align 4 %44 = icmp sle i32 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %38 %46 = load i32, ptr %7, align 4 %47 = call i32 @close(i32 noundef %46) store i32 -1, ptr %3, align 4 br label %63 48: ; preds = %38 store i32 -1, ptr %9, align 4 store i32 4, ptr %10, align 4 %49 = load i32, ptr %4, align 4 %50 = load i32, ptr @SOL_SOCKET, align 4 %51 = load i32, ptr @SO_ERROR, align 4 %52 = call i64 @getsockopt(i32 noundef %49, i32 noundef %50, i32 noundef %51, ptr noundef %9, ptr noundef %10) %53 = icmp ne i64 %52, 0 br i1 %53, label %57, label %54 54: ; preds = %48 %55 = load i32, ptr %9, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %60 57: ; preds = %54, %48 %58 = load i32, ptr %7, align 4 %59 = call i32 @close(i32 noundef %58) store i32 -1, ptr %3, align 4 br label %63 60: ; preds = %54 %61 = load i32, ptr %7, align 4 %62 = call i32 @close(i32 noundef %61) store i32 0, ptr %3, align 4 br label %63 63: ; preds = %60, %57, %45, %35, %19, %14 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i32 @epoll_create(i32 noundef) #1 declare i32 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @epoll_wait(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @getsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3787ebg3.c' source_filename = "/tmp/tmp3787ebg3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @update_uptime() #0 { %1 = call i32 (...) @update_sysinfo() ret void } declare i32 @update_sysinfo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3787ebg3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @update_uptime() #0 { %1 = call i32 (...) @update_sysinfo() ret void } declare i32 @update_sysinfo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmahru5m5.c' source_filename = "/tmp/tmpmahru5m5.c" target datalayout = "e-m:e-p270: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/tmpmahru5m5.c" target datalayout = "e-m:e-p270: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/tmppnws50ov.c' source_filename = "/tmp/tmppnws50ov.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"main.c\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"Existem %d descritores abertos\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 = load i32, ptr @O_RDONLY, align 4 %6 = call i32 @open(ptr noundef @.str, i32 noundef %5) store i32 %6, ptr %4, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %2, align 4 br label %7 7: ; preds = %19, %0 %8 = load i32, ptr %3, align 4 %9 = call i32 (...) @getdtablesize() %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %22 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = call i64 @isopen(i32 noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i32, ptr %2, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %2, align 4 br label %18 18: ; preds = %15, %11 br label %19 19: ; preds = %18 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 br label %7, !llvm.loop !6 22: ; preds = %7 %23 = load i32, ptr %2, align 4 %24 = call i32 @printf(ptr noundef @.str.1, i32 noundef %23) ret i32 0 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @getdtablesize(...) #1 declare i64 @isopen(i32 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/tmppnws50ov.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"main.c\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"Existem %d descritores abertos\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 = load i32, ptr @O_RDONLY, align 4 %6 = call i32 @open(ptr noundef @.str, i32 noundef %5) store i32 %6, ptr %4, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 (...) @getdtablesize() %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %18 %11 = load i32, ptr %3, align 4 %12 = call i64 @isopen(i32 noundef %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = load i32, ptr %2, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %2, align 4 br label %17 17: ; preds = %14, %10 br label %18 18: ; preds = %17 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = call i32 (...) @getdtablesize() %23 = icmp slt i32 %21, %22 br i1 %23, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %0 %25 = load i32, ptr %2, align 4 %26 = call i32 @printf(ptr noundef @.str.1, i32 noundef %25) ret i32 0 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @getdtablesize(...) #1 declare i64 @isopen(i32 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/tmpjbk5bcfa.c' source_filename = "/tmp/tmpjbk5bcfa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypto_thread_cleanup() #0 { %1 = call i32 (...) @destroy_thread_fast_rng() ret void } declare i32 @destroy_thread_fast_rng(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjbk5bcfa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypto_thread_cleanup() #0 { %1 = call i32 (...) @destroy_thread_fast_rng() ret void } declare i32 @destroy_thread_fast_rng(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9mm75g4w.c' source_filename = "/tmp/tmp9mm75g4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Pore3D - Writing 8-bit RAW file %s ...\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.2 = private unnamed_addr constant [66 x i8] c"Pore3D - IO error: cannot open output file %s. Program will exit.\00", align 1 @.str.3 = private unnamed_addr constant [64 x i8] c"Pore3D - IO error: error on writing file %s. Program will exit.\00", align 1 @.str.4 = private unnamed_addr constant [53 x i8] c"Pore3D - RAW file written successfully in %dm%0.3fs.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @p3dWriteRaw8(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 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 i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 %17 = load ptr, ptr %14, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %24 19: ; preds = %7 %20 = call i32 (...) @p3dResetStartTime() %21 = load ptr, ptr %14, align 8 %22 = load ptr, ptr %10, align 8 %23 = call i32 (ptr, ...) %21(ptr noundef @.str, ptr noundef %22) br label %24 24: ; preds = %19, %7 %25 = load ptr, ptr %10, align 8 %26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.1) store ptr %26, ptr %16, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %32 28: ; preds = %24 %29 = load ptr, ptr %14, align 8 %30 = load ptr, ptr %10, align 8 %31 = call i32 (ptr, ...) %29(ptr noundef @.str.2, ptr noundef %30) store i32 1, ptr %8, align 4 br label %62 32: ; preds = %24 %33 = load ptr, ptr %9, align 8 %34 = load i32, ptr %11, align 4 %35 = load i32, ptr %12, align 4 %36 = mul nsw i32 %34, %35 %37 = load i32, ptr %13, align 4 %38 = mul nsw i32 %36, %37 %39 = load ptr, ptr %16, align 8 %40 = call i32 @fwrite(ptr noundef %33, i32 noundef 1, i32 noundef %38, ptr noundef %39) %41 = load i32, ptr %11, align 4 %42 = load i32, ptr %12, align 4 %43 = mul nsw i32 %41, %42 %44 = load i32, ptr %13, align 4 %45 = mul nsw i32 %43, %44 %46 = icmp slt i32 %40, %45 br i1 %46, label %47, label %51 47: ; preds = %32 %48 = load ptr, ptr %14, align 8 %49 = load ptr, ptr %10, align 8 %50 = call i32 (ptr, ...) %48(ptr noundef @.str.3, ptr noundef %49) store i32 1, ptr %8, align 4 br label %62 51: ; preds = %32 %52 = load ptr, ptr %16, align 8 %53 = call i32 @fclose(ptr noundef %52) %54 = load ptr, ptr %14, align 8 %55 = icmp ne ptr %54, null br i1 %55, label %56, label %61 56: ; preds = %51 %57 = load ptr, ptr %14, align 8 %58 = call i32 (...) @p3dGetElapsedTime_min() %59 = call i32 (...) @p3dGetElapsedTime_sec() %60 = call i32 (ptr, ...) %57(ptr noundef @.str.4, i32 noundef %58, i32 noundef %59) br label %61 61: ; preds = %56, %51 store i32 2, ptr %8, align 4 br label %62 62: ; preds = %61, %47, %28 %63 = load i32, ptr %8, align 4 ret i32 %63 } declare i32 @p3dResetStartTime(...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @p3dGetElapsedTime_min(...) #1 declare i32 @p3dGetElapsedTime_sec(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9mm75g4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Pore3D - Writing 8-bit RAW file %s ...\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.2 = private unnamed_addr constant [66 x i8] c"Pore3D - IO error: cannot open output file %s. Program will exit.\00", align 1 @.str.3 = private unnamed_addr constant [64 x i8] c"Pore3D - IO error: error on writing file %s. Program will exit.\00", align 1 @.str.4 = private unnamed_addr constant [53 x i8] c"Pore3D - RAW file written successfully in %dm%0.3fs.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @p3dWriteRaw8(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 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 i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 %17 = load ptr, ptr %14, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %24 19: ; preds = %7 %20 = call i32 (...) @p3dResetStartTime() %21 = load ptr, ptr %14, align 8 %22 = load ptr, ptr %10, align 8 %23 = call i32 (ptr, ...) %21(ptr noundef @.str, ptr noundef %22) br label %24 24: ; preds = %19, %7 %25 = load ptr, ptr %10, align 8 %26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.1) store ptr %26, ptr %16, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %32 28: ; preds = %24 %29 = load ptr, ptr %14, align 8 %30 = load ptr, ptr %10, align 8 %31 = call i32 (ptr, ...) %29(ptr noundef @.str.2, ptr noundef %30) store i32 1, ptr %8, align 4 br label %62 32: ; preds = %24 %33 = load ptr, ptr %9, align 8 %34 = load i32, ptr %11, align 4 %35 = load i32, ptr %12, align 4 %36 = mul nsw i32 %34, %35 %37 = load i32, ptr %13, align 4 %38 = mul nsw i32 %36, %37 %39 = load ptr, ptr %16, align 8 %40 = call i32 @fwrite(ptr noundef %33, i32 noundef 1, i32 noundef %38, ptr noundef %39) %41 = load i32, ptr %11, align 4 %42 = load i32, ptr %12, align 4 %43 = mul nsw i32 %41, %42 %44 = load i32, ptr %13, align 4 %45 = mul nsw i32 %43, %44 %46 = icmp slt i32 %40, %45 br i1 %46, label %47, label %51 47: ; preds = %32 %48 = load ptr, ptr %14, align 8 %49 = load ptr, ptr %10, align 8 %50 = call i32 (ptr, ...) %48(ptr noundef @.str.3, ptr noundef %49) store i32 1, ptr %8, align 4 br label %62 51: ; preds = %32 %52 = load ptr, ptr %16, align 8 %53 = call i32 @fclose(ptr noundef %52) %54 = load ptr, ptr %14, align 8 %55 = icmp ne ptr %54, null br i1 %55, label %56, label %61 56: ; preds = %51 %57 = load ptr, ptr %14, align 8 %58 = call i32 (...) @p3dGetElapsedTime_min() %59 = call i32 (...) @p3dGetElapsedTime_sec() %60 = call i32 (ptr, ...) %57(ptr noundef @.str.4, i32 noundef %58, i32 noundef %59) br label %61 61: ; preds = %56, %51 store i32 2, ptr %8, align 4 br label %62 62: ; preds = %61, %47, %28 %63 = load i32, ptr %8, align 4 ret i32 %63 } declare i32 @p3dResetStartTime(...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @p3dGetElapsedTime_min(...) #1 declare i32 @p3dGetElapsedTime_sec(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxhn4r1yd.c' source_filename = "/tmp/tmpxhn4r1yd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @ICPrintSizeOf() ret i32 0 } declare i32 @ICPrintSizeOf(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxhn4r1yd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @ICPrintSizeOf() ret i32 0 } declare i32 @ICPrintSizeOf(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb1mdlcw9.c' source_filename = "/tmp/tmpb1mdlcw9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @RogueObject_println(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 @RogueObject_print(ptr noundef %3) %5 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @RogueObject_print(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/tmpb1mdlcw9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @RogueObject_println(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 @RogueObject_print(ptr noundef %3) %5 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @RogueObject_print(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/tmpnj4tygul.c' source_filename = "/tmp/tmpnj4tygul.c" target datalayout = "e-m:e-p270: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/tmpnj4tygul.c" target datalayout = "e-m:e-p270: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"}