llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpa8m8dex5.c' source_filename = "/tmp/tmpa8m8dex5.c" target datalayout = "e-m:e-p270: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/tmpa8m8dex5.c" target datalayout = "e-m:e-p270: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/tmpun08305b.c' source_filename = "/tmp/tmpun08305b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"Sao Paulo\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"Campinas\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"Rio de Janeiro\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"Vitoria\0A\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"Belo Horizonte\0A\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"Juiz de Fora\0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"Brasilia\0A\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"Salvador\0A\00", align 1 @.str.9 = private unnamed_addr constant [20 x i8] c"DDD nao cadastrado\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, 11 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str.1) br label %52 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, 19 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 @printf(ptr noundef @.str.2) br label %51 13: ; preds = %8 %14 = load i32, ptr %2, align 4 %15 = icmp eq i32 %14, 21 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = call i32 @printf(ptr noundef @.str.3) br label %50 18: ; preds = %13 %19 = load i32, ptr %2, align 4 %20 = icmp eq i32 %19, 27 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = call i32 @printf(ptr noundef @.str.4) br label %49 23: ; preds = %18 %24 = load i32, ptr %2, align 4 %25 = icmp eq i32 %24, 31 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = call i32 @printf(ptr noundef @.str.5) br label %48 28: ; preds = %23 %29 = load i32, ptr %2, align 4 %30 = icmp eq i32 %29, 32 br i1 %30, label %31, label %33 31: ; preds = %28 %32 = call i32 @printf(ptr noundef @.str.6) br label %47 33: ; preds = %28 %34 = load i32, ptr %2, align 4 %35 = icmp eq i32 %34, 61 br i1 %35, label %36, label %38 36: ; preds = %33 %37 = call i32 @printf(ptr noundef @.str.7) br label %46 38: ; preds = %33 %39 = load i32, ptr %2, align 4 %40 = icmp eq i32 %39, 71 br i1 %40, label %41, label %43 41: ; preds = %38 %42 = call i32 @printf(ptr noundef @.str.8) br label %45 43: ; preds = %38 %44 = call i32 @printf(ptr noundef @.str.9) br label %45 45: ; preds = %43, %41 br label %46 46: ; preds = %45, %36 br label %47 47: ; preds = %46, %31 br label %48 48: ; preds = %47, %26 br label %49 49: ; preds = %48, %21 br label %50 50: ; preds = %49, %16 br label %51 51: ; preds = %50, %11 br label %52 52: ; preds = %51, %6 %53 = load i32, ptr %1, align 4 ret i32 %53 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpun08305b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"Sao Paulo\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"Campinas\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"Rio de Janeiro\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"Vitoria\0A\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"Belo Horizonte\0A\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"Juiz de Fora\0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"Brasilia\0A\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"Salvador\0A\00", align 1 @.str.9 = private unnamed_addr constant [20 x i8] c"DDD nao cadastrado\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, 11 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str.1) br label %52 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, 19 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 @printf(ptr noundef @.str.2) br label %51 13: ; preds = %8 %14 = load i32, ptr %2, align 4 %15 = icmp eq i32 %14, 21 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = call i32 @printf(ptr noundef @.str.3) br label %50 18: ; preds = %13 %19 = load i32, ptr %2, align 4 %20 = icmp eq i32 %19, 27 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = call i32 @printf(ptr noundef @.str.4) br label %49 23: ; preds = %18 %24 = load i32, ptr %2, align 4 %25 = icmp eq i32 %24, 31 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = call i32 @printf(ptr noundef @.str.5) br label %48 28: ; preds = %23 %29 = load i32, ptr %2, align 4 %30 = icmp eq i32 %29, 32 br i1 %30, label %31, label %33 31: ; preds = %28 %32 = call i32 @printf(ptr noundef @.str.6) br label %47 33: ; preds = %28 %34 = load i32, ptr %2, align 4 %35 = icmp eq i32 %34, 61 br i1 %35, label %36, label %38 36: ; preds = %33 %37 = call i32 @printf(ptr noundef @.str.7) br label %46 38: ; preds = %33 %39 = load i32, ptr %2, align 4 %40 = icmp eq i32 %39, 71 br i1 %40, label %41, label %43 41: ; preds = %38 %42 = call i32 @printf(ptr noundef @.str.8) br label %45 43: ; preds = %38 %44 = call i32 @printf(ptr noundef @.str.9) br label %45 45: ; preds = %43, %41 br label %46 46: ; preds = %45, %36 br label %47 47: ; preds = %46, %31 br label %48 48: ; preds = %47, %26 br label %49 49: ; preds = %48, %21 br label %50 50: ; preds = %49, %16 br label %51 51: ; preds = %50, %11 br label %52 52: ; preds = %51, %6 %53 = load i32, ptr %1, align 4 ret i32 %53 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp69umc6cw.c' source_filename = "/tmp/tmp69umc6cw.c" target datalayout = "e-m:e-p270: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_INET = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"???\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @rt_addr_n2a(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr @AF_INET, align 4 %14 = icmp eq i32 %12, %13 br i1 %14, label %15, label %21 15: ; preds = %5 %16 = load i32, ptr %7, align 4 %17 = load ptr, ptr %9, align 8 %18 = load ptr, ptr %10, align 8 %19 = load i32, ptr %11, align 4 %20 = call ptr @inet_ntop(i32 noundef %16, ptr noundef %17, ptr noundef %18, i32 noundef %19) store ptr %20, ptr %6, align 8 br label %22 21: ; preds = %5 store ptr @.str, ptr %6, align 8 br label %22 22: ; preds = %21, %15 %23 = load ptr, ptr %6, align 8 ret ptr %23 } declare ptr @inet_ntop(i32 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/tmp69umc6cw.c" target datalayout = "e-m:e-p270: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_INET = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"???\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @rt_addr_n2a(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr @AF_INET, align 4 %14 = icmp eq i32 %12, %13 br i1 %14, label %15, label %21 15: ; preds = %5 %16 = load i32, ptr %7, align 4 %17 = load ptr, ptr %9, align 8 %18 = load ptr, ptr %10, align 8 %19 = load i32, ptr %11, align 4 %20 = call ptr @inet_ntop(i32 noundef %16, ptr noundef %17, ptr noundef %18, i32 noundef %19) store ptr %20, ptr %6, align 8 br label %22 21: ; preds = %5 store ptr @.str, ptr %6, align 8 br label %22 22: ; preds = %21, %15 %23 = load ptr, ptr %6, align 8 ret ptr %23 } declare ptr @inet_ntop(i32 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/tmp8obrf0oa.c' source_filename = "/tmp/tmp8obrf0oa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @probNormDist(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @sqrt(i32 noundef 2) %5 = fdiv double %3, %4 %6 = call i32 @erf(double noundef %5) %7 = sitofp i32 %6 to double %8 = fdiv double %7, 2.000000e+00 ret double %8 } declare i32 @erf(double noundef) #1 declare double @sqrt(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8obrf0oa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @probNormDist(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @sqrt(i32 noundef 2) %5 = fdiv double %3, %4 %6 = call i32 @erf(double noundef %5) %7 = sitofp i32 %6 to double %8 = fdiv double %7, 2.000000e+00 ret double %8 } declare i32 @erf(double noundef) #1 declare double @sqrt(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8u8544vb.c' source_filename = "/tmp/tmp8u8544vb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @script_straight(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @script_write_byte(i32 noundef 145) %4 = load i32, ptr %2, align 4 %5 = and i32 %4, 65535 %6 = ashr i32 %5, 8 %7 = call i32 @script_write_byte(i32 noundef %6) %8 = load i32, ptr %2, align 4 %9 = and i32 %8, 255 %10 = call i32 @script_write_byte(i32 noundef %9) %11 = load i32, ptr %2, align 4 %12 = and i32 %11, 65535 %13 = ashr i32 %12, 8 %14 = call i32 @script_write_byte(i32 noundef %13) %15 = load i32, ptr %2, align 4 %16 = and i32 %15, 255 %17 = call i32 @script_write_byte(i32 noundef %16) ret void } declare i32 @script_write_byte(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/tmp8u8544vb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @script_straight(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @script_write_byte(i32 noundef 145) %4 = load i32, ptr %2, align 4 %5 = and i32 %4, 65535 %6 = ashr i32 %5, 8 %7 = call i32 @script_write_byte(i32 noundef %6) %8 = load i32, ptr %2, align 4 %9 = and i32 %8, 255 %10 = call i32 @script_write_byte(i32 noundef %9) %11 = load i32, ptr %2, align 4 %12 = and i32 %11, 65535 %13 = ashr i32 %12, 8 %14 = call i32 @script_write_byte(i32 noundef %13) %15 = load i32, ptr %2, align 4 %16 = and i32 %15, 255 %17 = call i32 @script_write_byte(i32 noundef %16) ret void } declare i32 @script_write_byte(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/tmpezltu1d3.c' source_filename = "/tmp/tmpezltu1d3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NUM_rkf(ptr noundef %0, i32 noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, double noundef %6, ptr noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca double, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca double, align 8 %21 = alloca double, align 8 %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 ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store double %2, ptr %11, align 8 store double %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store double %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 store double 0.000000e+00, ptr %21, align 8 %34 = load i32, ptr %10, align 4 %35 = sext i32 %34 to i64 %36 = mul i64 8, %35 %37 = trunc i64 %36 to i32 %38 = call i64 @malloc(i32 noundef %37) %39 = inttoptr i64 %38 to ptr store ptr %39, ptr %23, align 8 %40 = load i32, ptr %10, align 4 %41 = sext i32 %40 to i64 %42 = mul i64 8, %41 %43 = trunc i64 %42 to i32 %44 = call i64 @malloc(i32 noundef %43) %45 = inttoptr i64 %44 to ptr store ptr %45, ptr %24, align 8 %46 = load i32, ptr %10, align 4 %47 = sext i32 %46 to i64 %48 = mul i64 8, %47 %49 = trunc i64 %48 to i32 %50 = call i64 @malloc(i32 noundef %49) %51 = inttoptr i64 %50 to ptr store ptr %51, ptr %31, align 8 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = mul i64 8, %53 %55 = trunc i64 %54 to i32 %56 = call i64 @malloc(i32 noundef %55) %57 = inttoptr i64 %56 to ptr store ptr %57, ptr %25, align 8 %58 = load i32, ptr %10, align 4 %59 = sext i32 %58 to i64 %60 = mul i64 8, %59 %61 = trunc i64 %60 to i32 %62 = call i64 @malloc(i32 noundef %61) %63 = inttoptr i64 %62 to ptr store ptr %63, ptr %26, align 8 %64 = load i32, ptr %10, align 4 %65 = sext i32 %64 to i64 %66 = mul i64 8, %65 %67 = trunc i64 %66 to i32 %68 = call i64 @malloc(i32 noundef %67) %69 = inttoptr i64 %68 to ptr store ptr %69, ptr %27, align 8 %70 = load i32, ptr %10, align 4 %71 = sext i32 %70 to i64 %72 = mul i64 8, %71 %73 = trunc i64 %72 to i32 %74 = call i64 @malloc(i32 noundef %73) %75 = inttoptr i64 %74 to ptr store ptr %75, ptr %28, align 8 %76 = load i32, ptr %10, align 4 %77 = sext i32 %76 to i64 %78 = mul i64 8, %77 %79 = trunc i64 %78 to i32 %80 = call i64 @malloc(i32 noundef %79) %81 = inttoptr i64 %80 to ptr store ptr %81, ptr %29, align 8 %82 = load i32, ptr %10, align 4 %83 = sext i32 %82 to i64 %84 = mul i64 8, %83 %85 = trunc i64 %84 to i32 %86 = call i64 @malloc(i32 noundef %85) %87 = inttoptr i64 %86 to ptr store ptr %87, ptr %30, align 8 %88 = load double, ptr %11, align 8 store double %88, ptr %20, align 8 store i32 0, ptr %18, align 4 %89 = load i32, ptr %10, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %19, align 4 %91 = load i32, ptr %19, align 4 %92 = sext i32 %91 to i64 %93 = mul i64 8, %92 %94 = load i32, ptr %18, align 4 %95 = add nsw i32 %94, 1 %96 = sext i32 %95 to i64 %97 = mul i64 %93, %96 %98 = trunc i64 %97 to i32 %99 = call i64 @malloc(i32 noundef %98) %100 = inttoptr i64 %99 to ptr %101 = load ptr, ptr %14, align 8 store ptr %100, ptr %101, align 8 store ptr %100, ptr %22, align 8 store i32 0, ptr %17, align 4 br label %102 102: ; preds = %123, %8 %103 = load i32, ptr %17, align 4 %104 = load i32, ptr %10, align 4 %105 = icmp slt i32 %103, %104 br i1 %105, label %106, label %126 106: ; preds = %102 %107 = load ptr, ptr %13, align 8 %108 = load i32, ptr %17, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds double, ptr %107, i64 %109 %111 = load double, ptr %110, align 8 %112 = load ptr, ptr %22, align 8 %113 = load i32, ptr %17, align 4 %114 = load i32, ptr %19, align 4 %115 = mul nsw i32 %114, 0 %116 = add nsw i32 %113, %115 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds double, ptr %112, i64 %117 store double %111, ptr %118, align 8 %119 = load ptr, ptr %23, align 8 %120 = load i32, ptr %17, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds double, ptr %119, i64 %121 store double %111, ptr %122, align 8 br label %123 123: ; preds = %106 %124 = load i32, ptr %17, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %17, align 4 br label %102, !llvm.loop !6 126: ; preds = %102 br label %127 127: ; preds = %700, %126 %128 = load double, ptr %21, align 8 %129 = load double, ptr %12, align 8 %130 = fcmp olt double %128, %129 br i1 %130, label %131, label %701 131: ; preds = %127 %132 = load ptr, ptr %14, align 8 %133 = load ptr, ptr %132, align 8 %134 = load i32, ptr %19, align 4 %135 = sext i32 %134 to i64 %136 = mul i64 8, %135 %137 = load i32, ptr %18, align 4 %138 = add nsw i32 %137, 2 %139 = sext i32 %138 to i64 %140 = mul i64 %136, %139 %141 = trunc i64 %140 to i32 %142 = call i64 @realloc(ptr noundef %133, i32 noundef %141) %143 = inttoptr i64 %142 to ptr %144 = load ptr, ptr %14, align 8 store ptr %143, ptr %144, align 8 store ptr %143, ptr %22, align 8 store i32 0, ptr %17, align 4 br label %145 145: ; preds = %188, %131 %146 = load i32, ptr %17, align 4 %147 = load i32, ptr %10, align 4 %148 = icmp slt i32 %146, %147 br i1 %148, label %149, label %191 149: ; preds = %145 %150 = load ptr, ptr %9, align 8 %151 = load i32, ptr %10, align 4 %152 = load double, ptr %21, align 8 %153 = load ptr, ptr %23, align 8 %154 = load ptr, ptr %24, align 8 %155 = load ptr, ptr %16, align 8 %156 = call i32 %150(i32 noundef %151, double noundef %152, ptr noundef %153, ptr noundef %154, ptr noundef %155) %157 = load double, ptr %20, align 8 %158 = load ptr, ptr %24, align 8 %159 = load i32, ptr %17, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds double, ptr %158, i64 %160 %162 = load double, ptr %161, align 8 %163 = fmul double %157, %162 %164 = load ptr, ptr %25, align 8 %165 = load i32, ptr %17, align 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds double, ptr %164, i64 %166 store double %163, ptr %167, align 8 %168 = load ptr, ptr %22, align 8 %169 = load i32, ptr %17, align 4 %170 = load i32, ptr %19, align 4 %171 = load i32, ptr %18, align 4 %172 = mul nsw i32 %170, %171 %173 = add nsw i32 %169, %172 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds double, ptr %168, i64 %174 %176 = load double, ptr %175, align 8 %177 = load ptr, ptr %25, align 8 %178 = load i32, ptr %17, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds double, ptr %177, i64 %179 %181 = load double, ptr %180, align 8 %182 = fdiv double %181, 4.000000e+00 %183 = fadd double %176, %182 %184 = load ptr, ptr %23, align 8 %185 = load i32, ptr %17, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds double, ptr %184, i64 %186 store double %183, ptr %187, align 8 br label %188 188: ; preds = %149 %189 = load i32, ptr %17, align 4 %190 = add nsw i32 %189, 1 store i32 %190, ptr %17, align 4 br label %145, !llvm.loop !8 191: ; preds = %145 store i32 0, ptr %17, align 4 br label %192 192: ; preds = %247, %191 %193 = load i32, ptr %17, align 4 %194 = load i32, ptr %10, align 4 %195 = icmp slt i32 %193, %194 br i1 %195, label %196, label %250 196: ; preds = %192 %197 = load ptr, ptr %9, align 8 %198 = load i32, ptr %10, align 4 %199 = load double, ptr %21, align 8 %200 = load double, ptr %20, align 8 %201 = fdiv double %200, 4.000000e+00 %202 = fadd double %199, %201 %203 = load ptr, ptr %23, align 8 %204 = load ptr, ptr %24, align 8 %205 = load ptr, ptr %16, align 8 %206 = call i32 %197(i32 noundef %198, double noundef %202, ptr noundef %203, ptr noundef %204, ptr noundef %205) %207 = load double, ptr %20, align 8 %208 = load ptr, ptr %24, align 8 %209 = load i32, ptr %17, align 4 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds double, ptr %208, i64 %210 %212 = load double, ptr %211, align 8 %213 = fmul double %207, %212 %214 = load ptr, ptr %26, align 8 %215 = load i32, ptr %17, align 4 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds double, ptr %214, i64 %216 store double %213, ptr %217, align 8 %218 = load ptr, ptr %22, align 8 %219 = load i32, ptr %17, align 4 %220 = load i32, ptr %19, align 4 %221 = load i32, ptr %18, align 4 %222 = mul nsw i32 %220, %221 %223 = add nsw i32 %219, %222 %224 = sext i32 %223 to i64 %225 = getelementptr inbounds double, ptr %218, i64 %224 %226 = load double, ptr %225, align 8 %227 = load ptr, ptr %25, align 8 %228 = load i32, ptr %17, align 4 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds double, ptr %227, i64 %229 %231 = load double, ptr %230, align 8 %232 = fmul double 3.000000e+00, %231 %233 = fdiv double %232, 3.200000e+01 %234 = fadd double %226, %233 %235 = load ptr, ptr %26, align 8 %236 = load i32, ptr %17, align 4 %237 = sext i32 %236 to i64 %238 = getelementptr inbounds double, ptr %235, i64 %237 %239 = load double, ptr %238, align 8 %240 = fmul double 9.000000e+00, %239 %241 = fdiv double %240, 3.200000e+01 %242 = fadd double %234, %241 %243 = load ptr, ptr %23, align 8 %244 = load i32, ptr %17, align 4 %245 = sext i32 %244 to i64 %246 = getelementptr inbounds double, ptr %243, i64 %245 store double %242, ptr %246, align 8 br label %247 247: ; preds = %196 %248 = load i32, ptr %17, align 4 %249 = add nsw i32 %248, 1 store i32 %249, ptr %17, align 4 br label %192, !llvm.loop !9 250: ; preds = %192 store i32 0, ptr %17, align 4 br label %251 251: ; preds = %315, %250 %252 = load i32, ptr %17, align 4 %253 = load i32, ptr %10, align 4 %254 = icmp slt i32 %252, %253 br i1 %254, label %255, label %318 255: ; preds = %251 %256 = load ptr, ptr %9, align 8 %257 = load i32, ptr %10, align 4 %258 = load double, ptr %21, align 8 %259 = load double, ptr %20, align 8 %260 = fmul double 3.000000e+00, %259 %261 = fdiv double %260, 8.000000e+00 %262 = fadd double %258, %261 %263 = load ptr, ptr %23, align 8 %264 = load ptr, ptr %24, align 8 %265 = load ptr, ptr %16, align 8 %266 = call i32 %256(i32 noundef %257, double noundef %262, ptr noundef %263, ptr noundef %264, ptr noundef %265) %267 = load double, ptr %20, align 8 %268 = load ptr, ptr %24, align 8 %269 = load i32, ptr %17, align 4 %270 = sext i32 %269 to i64 %271 = getelementptr inbounds double, ptr %268, i64 %270 %272 = load double, ptr %271, align 8 %273 = fmul double %267, %272 %274 = load ptr, ptr %27, align 8 %275 = load i32, ptr %17, align 4 %276 = sext i32 %275 to i64 %277 = getelementptr inbounds double, ptr %274, i64 %276 store double %273, ptr %277, align 8 %278 = load ptr, ptr %22, align 8 %279 = load i32, ptr %17, align 4 %280 = load i32, ptr %19, align 4 %281 = load i32, ptr %18, align 4 %282 = mul nsw i32 %280, %281 %283 = add nsw i32 %279, %282 %284 = sext i32 %283 to i64 %285 = getelementptr inbounds double, ptr %278, i64 %284 %286 = load double, ptr %285, align 8 %287 = load ptr, ptr %25, align 8 %288 = load i32, ptr %17, align 4 %289 = sext i32 %288 to i64 %290 = getelementptr inbounds double, ptr %287, i64 %289 %291 = load double, ptr %290, align 8 %292 = fmul double 1.932000e+03, %291 %293 = fdiv double %292, 2.197000e+03 %294 = fadd double %286, %293 %295 = load ptr, ptr %26, align 8 %296 = load i32, ptr %17, align 4 %297 = sext i32 %296 to i64 %298 = getelementptr inbounds double, ptr %295, i64 %297 %299 = load double, ptr %298, align 8 %300 = fmul double 7.200000e+03, %299 %301 = fdiv double %300, 2.197000e+03 %302 = fsub double %294, %301 %303 = load ptr, ptr %27, align 8 %304 = load i32, ptr %17, align 4 %305 = sext i32 %304 to i64 %306 = getelementptr inbounds double, ptr %303, i64 %305 %307 = load double, ptr %306, align 8 %308 = fmul double 7.296000e+03, %307 %309 = fdiv double %308, 2.197000e+03 %310 = fadd double %302, %309 %311 = load ptr, ptr %23, align 8 %312 = load i32, ptr %17, align 4 %313 = sext i32 %312 to i64 %314 = getelementptr inbounds double, ptr %311, i64 %313 store double %310, ptr %314, align 8 br label %315 315: ; preds = %255 %316 = load i32, ptr %17, align 4 %317 = add nsw i32 %316, 1 store i32 %317, ptr %17, align 4 br label %251, !llvm.loop !10 318: ; preds = %251 store i32 0, ptr %17, align 4 br label %319 319: ; preds = %389, %318 %320 = load i32, ptr %17, align 4 %321 = load i32, ptr %10, align 4 %322 = icmp slt i32 %320, %321 br i1 %322, label %323, label %392 323: ; preds = %319 %324 = load ptr, ptr %9, align 8 %325 = load i32, ptr %10, align 4 %326 = load double, ptr %21, align 8 %327 = load double, ptr %20, align 8 %328 = fmul double 1.200000e+01, %327 %329 = fdiv double %328, 1.300000e+01 %330 = fadd double %326, %329 %331 = load ptr, ptr %23, align 8 %332 = load ptr, ptr %24, align 8 %333 = load ptr, ptr %16, align 8 %334 = call i32 %324(i32 noundef %325, double noundef %330, ptr noundef %331, ptr noundef %332, ptr noundef %333) %335 = load double, ptr %20, align 8 %336 = load ptr, ptr %24, align 8 %337 = load i32, ptr %17, align 4 %338 = sext i32 %337 to i64 %339 = getelementptr inbounds double, ptr %336, i64 %338 %340 = load double, ptr %339, align 8 %341 = fmul double %335, %340 %342 = load ptr, ptr %28, align 8 %343 = load i32, ptr %17, align 4 %344 = sext i32 %343 to i64 %345 = getelementptr inbounds double, ptr %342, i64 %344 store double %341, ptr %345, align 8 %346 = load ptr, ptr %22, align 8 %347 = load i32, ptr %17, align 4 %348 = load i32, ptr %19, align 4 %349 = load i32, ptr %18, align 4 %350 = mul nsw i32 %348, %349 %351 = add nsw i32 %347, %350 %352 = sext i32 %351 to i64 %353 = getelementptr inbounds double, ptr %346, i64 %352 %354 = load double, ptr %353, align 8 %355 = load ptr, ptr %25, align 8 %356 = load i32, ptr %17, align 4 %357 = sext i32 %356 to i64 %358 = getelementptr inbounds double, ptr %355, i64 %357 %359 = load double, ptr %358, align 8 %360 = fmul double 4.390000e+02, %359 %361 = fdiv double %360, 2.160000e+02 %362 = fadd double %354, %361 %363 = load ptr, ptr %26, align 8 %364 = load i32, ptr %17, align 4 %365 = sext i32 %364 to i64 %366 = getelementptr inbounds double, ptr %363, i64 %365 %367 = load double, ptr %366, align 8 %368 = call double @llvm.fmuladd.f64(double -8.000000e+00, double %367, double %362) %369 = load ptr, ptr %27, align 8 %370 = load i32, ptr %17, align 4 %371 = sext i32 %370 to i64 %372 = getelementptr inbounds double, ptr %369, i64 %371 %373 = load double, ptr %372, align 8 %374 = fmul double 3.680000e+03, %373 %375 = fdiv double %374, 5.130000e+02 %376 = fadd double %368, %375 %377 = load ptr, ptr %28, align 8 %378 = load i32, ptr %17, align 4 %379 = sext i32 %378 to i64 %380 = getelementptr inbounds double, ptr %377, i64 %379 %381 = load double, ptr %380, align 8 %382 = fmul double 8.450000e+02, %381 %383 = fdiv double %382, 4.104000e+03 %384 = fsub double %376, %383 %385 = load ptr, ptr %23, align 8 %386 = load i32, ptr %17, align 4 %387 = sext i32 %386 to i64 %388 = getelementptr inbounds double, ptr %385, i64 %387 store double %384, ptr %388, align 8 br label %389 389: ; preds = %323 %390 = load i32, ptr %17, align 4 %391 = add nsw i32 %390, 1 store i32 %391, ptr %17, align 4 br label %319, !llvm.loop !11 392: ; preds = %319 store i32 0, ptr %17, align 4 br label %393 393: ; preds = %469, %392 %394 = load i32, ptr %17, align 4 %395 = load i32, ptr %10, align 4 %396 = icmp slt i32 %394, %395 br i1 %396, label %397, label %472 397: ; preds = %393 %398 = load ptr, ptr %9, align 8 %399 = load i32, ptr %10, align 4 %400 = load double, ptr %21, align 8 %401 = load double, ptr %20, align 8 %402 = fadd double %400, %401 %403 = load ptr, ptr %23, align 8 %404 = load ptr, ptr %24, align 8 %405 = load ptr, ptr %16, align 8 %406 = call i32 %398(i32 noundef %399, double noundef %402, ptr noundef %403, ptr noundef %404, ptr noundef %405) %407 = load double, ptr %20, align 8 %408 = load ptr, ptr %24, align 8 %409 = load i32, ptr %17, align 4 %410 = sext i32 %409 to i64 %411 = getelementptr inbounds double, ptr %408, i64 %410 %412 = load double, ptr %411, align 8 %413 = fmul double %407, %412 %414 = load ptr, ptr %29, align 8 %415 = load i32, ptr %17, align 4 %416 = sext i32 %415 to i64 %417 = getelementptr inbounds double, ptr %414, i64 %416 store double %413, ptr %417, align 8 %418 = load ptr, ptr %22, align 8 %419 = load i32, ptr %17, align 4 %420 = load i32, ptr %19, align 4 %421 = load i32, ptr %18, align 4 %422 = mul nsw i32 %420, %421 %423 = add nsw i32 %419, %422 %424 = sext i32 %423 to i64 %425 = getelementptr inbounds double, ptr %418, i64 %424 %426 = load double, ptr %425, align 8 %427 = load ptr, ptr %25, align 8 %428 = load i32, ptr %17, align 4 %429 = sext i32 %428 to i64 %430 = getelementptr inbounds double, ptr %427, i64 %429 %431 = load double, ptr %430, align 8 %432 = fmul double 8.000000e+00, %431 %433 = fdiv double %432, 2.700000e+01 %434 = fsub double %426, %433 %435 = load ptr, ptr %26, align 8 %436 = load i32, ptr %17, align 4 %437 = sext i32 %436 to i64 %438 = getelementptr inbounds double, ptr %435, i64 %437 %439 = load double, ptr %438, align 8 %440 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %439, double %434) %441 = load ptr, ptr %27, align 8 %442 = load i32, ptr %17, align 4 %443 = sext i32 %442 to i64 %444 = getelementptr inbounds double, ptr %441, i64 %443 %445 = load double, ptr %444, align 8 %446 = fmul double 3.544000e+03, %445 %447 = fdiv double %446, 2.565000e+03 %448 = fsub double %440, %447 %449 = load ptr, ptr %28, align 8 %450 = load i32, ptr %17, align 4 %451 = sext i32 %450 to i64 %452 = getelementptr inbounds double, ptr %449, i64 %451 %453 = load double, ptr %452, align 8 %454 = fmul double 1.859000e+03, %453 %455 = fdiv double %454, 4.104000e+03 %456 = fadd double %448, %455 %457 = load ptr, ptr %29, align 8 %458 = load i32, ptr %17, align 4 %459 = sext i32 %458 to i64 %460 = getelementptr inbounds double, ptr %457, i64 %459 %461 = load double, ptr %460, align 8 %462 = fmul double 1.100000e+01, %461 %463 = fdiv double %462, 4.000000e+01 %464 = fsub double %456, %463 %465 = load ptr, ptr %23, align 8 %466 = load i32, ptr %17, align 4 %467 = sext i32 %466 to i64 %468 = getelementptr inbounds double, ptr %465, i64 %467 store double %464, ptr %468, align 8 br label %469 469: ; preds = %397 %470 = load i32, ptr %17, align 4 %471 = add nsw i32 %470, 1 store i32 %471, ptr %17, align 4 br label %393, !llvm.loop !12 472: ; preds = %393 store i32 0, ptr %17, align 4 br label %473 473: ; preds = %499, %472 %474 = load i32, ptr %17, align 4 %475 = load i32, ptr %10, align 4 %476 = icmp slt i32 %474, %475 br i1 %476, label %477, label %502 477: ; preds = %473 %478 = load ptr, ptr %9, align 8 %479 = load i32, ptr %10, align 4 %480 = load double, ptr %21, align 8 %481 = load double, ptr %20, align 8 %482 = fdiv double %481, 2.000000e+00 %483 = fadd double %480, %482 %484 = load ptr, ptr %23, align 8 %485 = load ptr, ptr %24, align 8 %486 = load ptr, ptr %16, align 8 %487 = call i32 %478(i32 noundef %479, double noundef %483, ptr noundef %484, ptr noundef %485, ptr noundef %486) %488 = load double, ptr %20, align 8 %489 = load ptr, ptr %24, align 8 %490 = load i32, ptr %17, align 4 %491 = sext i32 %490 to i64 %492 = getelementptr inbounds double, ptr %489, i64 %491 %493 = load double, ptr %492, align 8 %494 = fmul double %488, %493 %495 = load ptr, ptr %30, align 8 %496 = load i32, ptr %17, align 4 %497 = sext i32 %496 to i64 %498 = getelementptr inbounds double, ptr %495, i64 %497 store double %494, ptr %498, align 8 br label %499 499: ; preds = %477 %500 = load i32, ptr %17, align 4 %501 = add nsw i32 %500, 1 store i32 %501, ptr %17, align 4 br label %473, !llvm.loop !13 502: ; preds = %473 store double 0.000000e+00, ptr %32, align 8 store i32 0, ptr %17, align 4 br label %503 503: ; preds = %567, %502 %504 = load i32, ptr %17, align 4 %505 = load i32, ptr %10, align 4 %506 = icmp slt i32 %504, %505 br i1 %506, label %507, label %570 507: ; preds = %503 %508 = load ptr, ptr %25, align 8 %509 = load i32, ptr %17, align 4 %510 = sext i32 %509 to i64 %511 = getelementptr inbounds double, ptr %508, i64 %510 %512 = load double, ptr %511, align 8 %513 = fdiv double %512, 3.600000e+02 %514 = load ptr, ptr %27, align 8 %515 = load i32, ptr %17, align 4 %516 = sext i32 %515 to i64 %517 = getelementptr inbounds double, ptr %514, i64 %516 %518 = load double, ptr %517, align 8 %519 = fmul double 1.280000e+02, %518 %520 = fdiv double %519, 4.275000e+03 %521 = fsub double %513, %520 %522 = load ptr, ptr %28, align 8 %523 = load i32, ptr %17, align 4 %524 = sext i32 %523 to i64 %525 = getelementptr inbounds double, ptr %522, i64 %524 %526 = load double, ptr %525, align 8 %527 = fmul double 2.197000e+03, %526 %528 = fdiv double %527, 7.524000e+04 %529 = fsub double %521, %528 %530 = load ptr, ptr %29, align 8 %531 = load i32, ptr %17, align 4 %532 = sext i32 %531 to i64 %533 = getelementptr inbounds double, ptr %530, i64 %532 %534 = load double, ptr %533, align 8 %535 = fdiv double %534, 5.000000e+01 %536 = fadd double %529, %535 %537 = load ptr, ptr %30, align 8 %538 = load i32, ptr %17, align 4 %539 = sext i32 %538 to i64 %540 = getelementptr inbounds double, ptr %537, i64 %539 %541 = load double, ptr %540, align 8 %542 = fmul double 2.000000e+00, %541 %543 = fdiv double %542, 5.500000e+01 %544 = fadd double %536, %543 %545 = call double @llvm.fabs.f64(double %544) %546 = load ptr, ptr %31, align 8 %547 = load i32, ptr %17, align 4 %548 = sext i32 %547 to i64 %549 = getelementptr inbounds double, ptr %546, i64 %548 store double %545, ptr %549, align 8 %550 = load ptr, ptr %31, align 8 %551 = load i32, ptr %17, align 4 %552 = sext i32 %551 to i64 %553 = getelementptr inbounds double, ptr %550, i64 %552 %554 = load double, ptr %553, align 8 %555 = load double, ptr %32, align 8 %556 = fcmp ogt double %554, %555 br i1 %556, label %557, label %563 557: ; preds = %507 %558 = load ptr, ptr %31, align 8 %559 = load i32, ptr %17, align 4 %560 = sext i32 %559 to i64 %561 = getelementptr inbounds double, ptr %558, i64 %560 %562 = load double, ptr %561, align 8 br label %565 563: ; preds = %507 %564 = load double, ptr %32, align 8 br label %565 565: ; preds = %563, %557 %566 = phi double [ %562, %557 ], [ %564, %563 ] store double %566, ptr %32, align 8 br label %567 567: ; preds = %565 %568 = load i32, ptr %17, align 4 %569 = add nsw i32 %568, 1 store i32 %569, ptr %17, align 4 br label %503, !llvm.loop !14 570: ; preds = %503 %571 = load double, ptr %32, align 8 %572 = load double, ptr %15, align 8 %573 = fcmp olt double %571, %572 br i1 %573, label %579, label %574 574: ; preds = %570 %575 = load double, ptr %20, align 8 %576 = load double, ptr %11, align 8 %577 = fdiv double %576, 1.000000e+03 %578 = fcmp ole double %575, %577 br i1 %578, label %579, label %652 579: ; preds = %574, %570 %580 = load double, ptr %20, align 8 %581 = load double, ptr %21, align 8 %582 = fadd double %581, %580 store double %582, ptr %21, align 8 store i32 0, ptr %17, align 4 br label %583 583: ; preds = %636, %579 %584 = load i32, ptr %17, align 4 %585 = load i32, ptr %10, align 4 %586 = icmp slt i32 %584, %585 br i1 %586, label %587, label %639 587: ; preds = %583 %588 = load ptr, ptr %22, align 8 %589 = load i32, ptr %17, align 4 %590 = load i32, ptr %19, align 4 %591 = load i32, ptr %18, align 4 %592 = mul nsw i32 %590, %591 %593 = add nsw i32 %589, %592 %594 = sext i32 %593 to i64 %595 = getelementptr inbounds double, ptr %588, i64 %594 %596 = load double, ptr %595, align 8 %597 = load ptr, ptr %25, align 8 %598 = load i32, ptr %17, align 4 %599 = sext i32 %598 to i64 %600 = getelementptr inbounds double, ptr %597, i64 %599 %601 = load double, ptr %600, align 8 %602 = fmul double 2.500000e+01, %601 %603 = fdiv double %602, 2.160000e+02 %604 = fadd double %596, %603 %605 = load ptr, ptr %27, align 8 %606 = load i32, ptr %17, align 4 %607 = sext i32 %606 to i64 %608 = getelementptr inbounds double, ptr %605, i64 %607 %609 = load double, ptr %608, align 8 %610 = fmul double 1.408000e+03, %609 %611 = fdiv double %610, 2.565000e+03 %612 = fadd double %604, %611 %613 = load ptr, ptr %28, align 8 %614 = load i32, ptr %17, align 4 %615 = sext i32 %614 to i64 %616 = getelementptr inbounds double, ptr %613, i64 %615 %617 = load double, ptr %616, align 8 %618 = fmul double 2.197000e+03, %617 %619 = fdiv double %618, 4.104000e+03 %620 = fadd double %612, %619 %621 = load ptr, ptr %29, align 8 %622 = load i32, ptr %17, align 4 %623 = sext i32 %622 to i64 %624 = getelementptr inbounds double, ptr %621, i64 %623 %625 = load double, ptr %624, align 8 %626 = call double @llvm.fmuladd.f64(double -2.000000e-01, double %625, double %620) %627 = load ptr, ptr %22, align 8 %628 = load i32, ptr %17, align 4 %629 = load i32, ptr %19, align 4 %630 = load i32, ptr %18, align 4 %631 = add nsw i32 %630, 1 %632 = mul nsw i32 %629, %631 %633 = add nsw i32 %628, %632 %634 = sext i32 %633 to i64 %635 = getelementptr inbounds double, ptr %627, i64 %634 store double %626, ptr %635, align 8 br label %636 636: ; preds = %587 %637 = load i32, ptr %17, align 4 %638 = add nsw i32 %637, 1 store i32 %638, ptr %17, align 4 br label %583, !llvm.loop !15 639: ; preds = %583 %640 = load double, ptr %21, align 8 %641 = load ptr, ptr %22, align 8 %642 = load i32, ptr %10, align 4 %643 = load i32, ptr %19, align 4 %644 = load i32, ptr %18, align 4 %645 = add nsw i32 %644, 1 %646 = mul nsw i32 %643, %645 %647 = add nsw i32 %642, %646 %648 = sext i32 %647 to i64 %649 = getelementptr inbounds double, ptr %641, i64 %648 store double %640, ptr %649, align 8 %650 = load i32, ptr %18, align 4 %651 = add nsw i32 %650, 1 store i32 %651, ptr %18, align 4 br label %652 652: ; preds = %639, %574 %653 = load double, ptr %15, align 8 %654 = load double, ptr %32, align 8 %655 = fmul double 2.000000e+00, %654 %656 = fdiv double %653, %655 %657 = call double @pow(double noundef %656, double noundef 2.500000e-01) #4 store double %657, ptr %33, align 8 %658 = load double, ptr %33, align 8 %659 = fcmp olt double %658, 1.000000e-01 br i1 %659, label %660, label %663 660: ; preds = %652 %661 = load double, ptr %20, align 8 %662 = fmul double 1.000000e-01, %661 store double %662, ptr %20, align 8 br label %674 663: ; preds = %652 %664 = load double, ptr %33, align 8 %665 = fcmp ogt double %664, 4.000000e+00 br i1 %665, label %666, label %669 666: ; preds = %663 %667 = load double, ptr %20, align 8 %668 = fmul double 4.000000e+00, %667 store double %668, ptr %20, align 8 br label %673 669: ; preds = %663 %670 = load double, ptr %33, align 8 %671 = load double, ptr %20, align 8 %672 = fmul double %670, %671 store double %672, ptr %20, align 8 br label %673 673: ; preds = %669, %666 br label %674 674: ; preds = %673, %660 %675 = load double, ptr %20, align 8 %676 = load double, ptr %11, align 8 %677 = fdiv double %676, 1.000000e+03 %678 = fcmp olt double %675, %677 br i1 %678, label %679, label %682 679: ; preds = %674 %680 = load double, ptr %11, align 8 %681 = fdiv double %680, 1.000000e+03 store double %681, ptr %20, align 8 br label %682 682: ; preds = %679, %674 %683 = load double, ptr %20, align 8 %684 = load double, ptr %12, align 8 %685 = fdiv double %684, 1.600000e+01 %686 = fcmp ogt double %683, %685 br i1 %686, label %687, label %690 687: ; preds = %682 %688 = load double, ptr %12, align 8 %689 = fdiv double %688, 1.600000e+01 store double %689, ptr %20, align 8 br label %690 690: ; preds = %687, %682 %691 = load double, ptr %21, align 8 %692 = load double, ptr %20, align 8 %693 = fadd double %691, %692 %694 = load double, ptr %12, align 8 %695 = fcmp ogt double %693, %694 br i1 %695, label %696, label %700 696: ; preds = %690 %697 = load double, ptr %12, align 8 %698 = load double, ptr %21, align 8 %699 = fsub double %697, %698 store double %699, ptr %20, align 8 br label %700 700: ; preds = %696, %690 br label %127, !llvm.loop !16 701: ; preds = %127 %702 = load i32, ptr %18, align 4 %703 = add nsw i32 %702, 1 ret i32 %703 } declare i64 @malloc(i32 noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpezltu1d3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NUM_rkf(ptr noundef %0, i32 noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, double noundef %6, ptr noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca double, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca double, align 8 %21 = alloca double, align 8 %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 ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store double %2, ptr %11, align 8 store double %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store double %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 store double 0.000000e+00, ptr %21, align 8 %34 = load i32, ptr %10, align 4 %35 = sext i32 %34 to i64 %36 = mul i64 8, %35 %37 = trunc i64 %36 to i32 %38 = call i64 @malloc(i32 noundef %37) %39 = inttoptr i64 %38 to ptr store ptr %39, ptr %23, align 8 %40 = load i32, ptr %10, align 4 %41 = sext i32 %40 to i64 %42 = mul i64 8, %41 %43 = trunc i64 %42 to i32 %44 = call i64 @malloc(i32 noundef %43) %45 = inttoptr i64 %44 to ptr store ptr %45, ptr %24, align 8 %46 = load i32, ptr %10, align 4 %47 = sext i32 %46 to i64 %48 = mul i64 8, %47 %49 = trunc i64 %48 to i32 %50 = call i64 @malloc(i32 noundef %49) %51 = inttoptr i64 %50 to ptr store ptr %51, ptr %31, align 8 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = mul i64 8, %53 %55 = trunc i64 %54 to i32 %56 = call i64 @malloc(i32 noundef %55) %57 = inttoptr i64 %56 to ptr store ptr %57, ptr %25, align 8 %58 = load i32, ptr %10, align 4 %59 = sext i32 %58 to i64 %60 = mul i64 8, %59 %61 = trunc i64 %60 to i32 %62 = call i64 @malloc(i32 noundef %61) %63 = inttoptr i64 %62 to ptr store ptr %63, ptr %26, align 8 %64 = load i32, ptr %10, align 4 %65 = sext i32 %64 to i64 %66 = mul i64 8, %65 %67 = trunc i64 %66 to i32 %68 = call i64 @malloc(i32 noundef %67) %69 = inttoptr i64 %68 to ptr store ptr %69, ptr %27, align 8 %70 = load i32, ptr %10, align 4 %71 = sext i32 %70 to i64 %72 = mul i64 8, %71 %73 = trunc i64 %72 to i32 %74 = call i64 @malloc(i32 noundef %73) %75 = inttoptr i64 %74 to ptr store ptr %75, ptr %28, align 8 %76 = load i32, ptr %10, align 4 %77 = sext i32 %76 to i64 %78 = mul i64 8, %77 %79 = trunc i64 %78 to i32 %80 = call i64 @malloc(i32 noundef %79) %81 = inttoptr i64 %80 to ptr store ptr %81, ptr %29, align 8 %82 = load i32, ptr %10, align 4 %83 = sext i32 %82 to i64 %84 = mul i64 8, %83 %85 = trunc i64 %84 to i32 %86 = call i64 @malloc(i32 noundef %85) %87 = inttoptr i64 %86 to ptr store ptr %87, ptr %30, align 8 %88 = load double, ptr %11, align 8 store double %88, ptr %20, align 8 store i32 0, ptr %18, align 4 %89 = load i32, ptr %10, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %19, align 4 %91 = load i32, ptr %19, align 4 %92 = sext i32 %91 to i64 %93 = mul i64 8, %92 %94 = load i32, ptr %18, align 4 %95 = add nsw i32 %94, 1 %96 = sext i32 %95 to i64 %97 = mul i64 %93, %96 %98 = trunc i64 %97 to i32 %99 = call i64 @malloc(i32 noundef %98) %100 = inttoptr i64 %99 to ptr %101 = load ptr, ptr %14, align 8 store ptr %100, ptr %101, align 8 store ptr %100, ptr %22, align 8 store i32 0, ptr %17, align 4 %102 = load i32, ptr %17, align 4 %103 = load i32, ptr %10, align 4 %104 = icmp slt i32 %102, %103 br i1 %104, label %.lr.ph, label %128 .lr.ph: ; preds = %8 br label %105 105: ; preds = %.lr.ph, %122 %106 = load ptr, ptr %13, align 8 %107 = load i32, ptr %17, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds double, ptr %106, i64 %108 %110 = load double, ptr %109, align 8 %111 = load ptr, ptr %22, align 8 %112 = load i32, ptr %17, align 4 %113 = load i32, ptr %19, align 4 %114 = mul nsw i32 %113, 0 %115 = add nsw i32 %112, %114 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds double, ptr %111, i64 %116 store double %110, ptr %117, align 8 %118 = load ptr, ptr %23, align 8 %119 = load i32, ptr %17, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds double, ptr %118, i64 %120 store double %110, ptr %121, align 8 br label %122 122: ; preds = %105 %123 = load i32, ptr %17, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %17, align 4 %125 = load i32, ptr %17, align 4 %126 = load i32, ptr %10, align 4 %127 = icmp slt i32 %125, %126 br i1 %127, label %105, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %122 br label %128 128: ; preds = %._crit_edge, %8 %129 = load double, ptr %21, align 8 %130 = load double, ptr %12, align 8 %131 = fcmp olt double %129, %130 br i1 %131, label %.lr.ph26, label %721 .lr.ph26: ; preds = %128 br label %132 132: ; preds = %.lr.ph26, %717 %133 = load ptr, ptr %14, align 8 %134 = load ptr, ptr %133, align 8 %135 = load i32, ptr %19, align 4 %136 = sext i32 %135 to i64 %137 = mul i64 8, %136 %138 = load i32, ptr %18, align 4 %139 = add nsw i32 %138, 2 %140 = sext i32 %139 to i64 %141 = mul i64 %137, %140 %142 = trunc i64 %141 to i32 %143 = call i64 @realloc(ptr noundef %134, i32 noundef %142) %144 = inttoptr i64 %143 to ptr %145 = load ptr, ptr %14, align 8 store ptr %144, ptr %145, align 8 store ptr %144, ptr %22, align 8 store i32 0, ptr %17, align 4 %146 = load i32, ptr %17, align 4 %147 = load i32, ptr %10, align 4 %148 = icmp slt i32 %146, %147 br i1 %148, label %.lr.ph2, label %194 .lr.ph2: ; preds = %132 br label %149 149: ; preds = %.lr.ph2, %188 %150 = load ptr, ptr %9, align 8 %151 = load i32, ptr %10, align 4 %152 = load double, ptr %21, align 8 %153 = load ptr, ptr %23, align 8 %154 = load ptr, ptr %24, align 8 %155 = load ptr, ptr %16, align 8 %156 = call i32 %150(i32 noundef %151, double noundef %152, ptr noundef %153, ptr noundef %154, ptr noundef %155) %157 = load double, ptr %20, align 8 %158 = load ptr, ptr %24, align 8 %159 = load i32, ptr %17, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds double, ptr %158, i64 %160 %162 = load double, ptr %161, align 8 %163 = fmul double %157, %162 %164 = load ptr, ptr %25, align 8 %165 = load i32, ptr %17, align 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds double, ptr %164, i64 %166 store double %163, ptr %167, align 8 %168 = load ptr, ptr %22, align 8 %169 = load i32, ptr %17, align 4 %170 = load i32, ptr %19, align 4 %171 = load i32, ptr %18, align 4 %172 = mul nsw i32 %170, %171 %173 = add nsw i32 %169, %172 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds double, ptr %168, i64 %174 %176 = load double, ptr %175, align 8 %177 = load ptr, ptr %25, align 8 %178 = load i32, ptr %17, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds double, ptr %177, i64 %179 %181 = load double, ptr %180, align 8 %182 = fdiv double %181, 4.000000e+00 %183 = fadd double %176, %182 %184 = load ptr, ptr %23, align 8 %185 = load i32, ptr %17, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds double, ptr %184, i64 %186 store double %183, ptr %187, align 8 br label %188 188: ; preds = %149 %189 = load i32, ptr %17, align 4 %190 = add nsw i32 %189, 1 store i32 %190, ptr %17, align 4 %191 = load i32, ptr %17, align 4 %192 = load i32, ptr %10, align 4 %193 = icmp slt i32 %191, %192 br i1 %193, label %149, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %188 br label %194 194: ; preds = %._crit_edge3, %132 store i32 0, ptr %17, align 4 %195 = load i32, ptr %17, align 4 %196 = load i32, ptr %10, align 4 %197 = icmp slt i32 %195, %196 br i1 %197, label %.lr.ph5, label %255 .lr.ph5: ; preds = %194 br label %198 198: ; preds = %.lr.ph5, %249 %199 = load ptr, ptr %9, align 8 %200 = load i32, ptr %10, align 4 %201 = load double, ptr %21, align 8 %202 = load double, ptr %20, align 8 %203 = fdiv double %202, 4.000000e+00 %204 = fadd double %201, %203 %205 = load ptr, ptr %23, align 8 %206 = load ptr, ptr %24, align 8 %207 = load ptr, ptr %16, align 8 %208 = call i32 %199(i32 noundef %200, double noundef %204, ptr noundef %205, ptr noundef %206, ptr noundef %207) %209 = load double, ptr %20, align 8 %210 = load ptr, ptr %24, align 8 %211 = load i32, ptr %17, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds double, ptr %210, i64 %212 %214 = load double, ptr %213, align 8 %215 = fmul double %209, %214 %216 = load ptr, ptr %26, align 8 %217 = load i32, ptr %17, align 4 %218 = sext i32 %217 to i64 %219 = getelementptr inbounds double, ptr %216, i64 %218 store double %215, ptr %219, align 8 %220 = load ptr, ptr %22, align 8 %221 = load i32, ptr %17, align 4 %222 = load i32, ptr %19, align 4 %223 = load i32, ptr %18, align 4 %224 = mul nsw i32 %222, %223 %225 = add nsw i32 %221, %224 %226 = sext i32 %225 to i64 %227 = getelementptr inbounds double, ptr %220, i64 %226 %228 = load double, ptr %227, align 8 %229 = load ptr, ptr %25, align 8 %230 = load i32, ptr %17, align 4 %231 = sext i32 %230 to i64 %232 = getelementptr inbounds double, ptr %229, i64 %231 %233 = load double, ptr %232, align 8 %234 = fmul double 3.000000e+00, %233 %235 = fdiv double %234, 3.200000e+01 %236 = fadd double %228, %235 %237 = load ptr, ptr %26, align 8 %238 = load i32, ptr %17, align 4 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds double, ptr %237, i64 %239 %241 = load double, ptr %240, align 8 %242 = fmul double 9.000000e+00, %241 %243 = fdiv double %242, 3.200000e+01 %244 = fadd double %236, %243 %245 = load ptr, ptr %23, align 8 %246 = load i32, ptr %17, align 4 %247 = sext i32 %246 to i64 %248 = getelementptr inbounds double, ptr %245, i64 %247 store double %244, ptr %248, align 8 br label %249 249: ; preds = %198 %250 = load i32, ptr %17, align 4 %251 = add nsw i32 %250, 1 store i32 %251, ptr %17, align 4 %252 = load i32, ptr %17, align 4 %253 = load i32, ptr %10, align 4 %254 = icmp slt i32 %252, %253 br i1 %254, label %198, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %249 br label %255 255: ; preds = %._crit_edge6, %194 store i32 0, ptr %17, align 4 %256 = load i32, ptr %17, align 4 %257 = load i32, ptr %10, align 4 %258 = icmp slt i32 %256, %257 br i1 %258, label %.lr.ph8, label %325 .lr.ph8: ; preds = %255 br label %259 259: ; preds = %.lr.ph8, %319 %260 = load ptr, ptr %9, align 8 %261 = load i32, ptr %10, align 4 %262 = load double, ptr %21, align 8 %263 = load double, ptr %20, align 8 %264 = fmul double 3.000000e+00, %263 %265 = fdiv double %264, 8.000000e+00 %266 = fadd double %262, %265 %267 = load ptr, ptr %23, align 8 %268 = load ptr, ptr %24, align 8 %269 = load ptr, ptr %16, align 8 %270 = call i32 %260(i32 noundef %261, double noundef %266, ptr noundef %267, ptr noundef %268, ptr noundef %269) %271 = load double, ptr %20, align 8 %272 = load ptr, ptr %24, align 8 %273 = load i32, ptr %17, align 4 %274 = sext i32 %273 to i64 %275 = getelementptr inbounds double, ptr %272, i64 %274 %276 = load double, ptr %275, align 8 %277 = fmul double %271, %276 %278 = load ptr, ptr %27, align 8 %279 = load i32, ptr %17, align 4 %280 = sext i32 %279 to i64 %281 = getelementptr inbounds double, ptr %278, i64 %280 store double %277, ptr %281, align 8 %282 = load ptr, ptr %22, align 8 %283 = load i32, ptr %17, align 4 %284 = load i32, ptr %19, align 4 %285 = load i32, ptr %18, align 4 %286 = mul nsw i32 %284, %285 %287 = add nsw i32 %283, %286 %288 = sext i32 %287 to i64 %289 = getelementptr inbounds double, ptr %282, i64 %288 %290 = load double, ptr %289, align 8 %291 = load ptr, ptr %25, align 8 %292 = load i32, ptr %17, align 4 %293 = sext i32 %292 to i64 %294 = getelementptr inbounds double, ptr %291, i64 %293 %295 = load double, ptr %294, align 8 %296 = fmul double 1.932000e+03, %295 %297 = fdiv double %296, 2.197000e+03 %298 = fadd double %290, %297 %299 = load ptr, ptr %26, align 8 %300 = load i32, ptr %17, align 4 %301 = sext i32 %300 to i64 %302 = getelementptr inbounds double, ptr %299, i64 %301 %303 = load double, ptr %302, align 8 %304 = fmul double 7.200000e+03, %303 %305 = fdiv double %304, 2.197000e+03 %306 = fsub double %298, %305 %307 = load ptr, ptr %27, align 8 %308 = load i32, ptr %17, align 4 %309 = sext i32 %308 to i64 %310 = getelementptr inbounds double, ptr %307, i64 %309 %311 = load double, ptr %310, align 8 %312 = fmul double 7.296000e+03, %311 %313 = fdiv double %312, 2.197000e+03 %314 = fadd double %306, %313 %315 = load ptr, ptr %23, align 8 %316 = load i32, ptr %17, align 4 %317 = sext i32 %316 to i64 %318 = getelementptr inbounds double, ptr %315, i64 %317 store double %314, ptr %318, align 8 br label %319 319: ; preds = %259 %320 = load i32, ptr %17, align 4 %321 = add nsw i32 %320, 1 store i32 %321, ptr %17, align 4 %322 = load i32, ptr %17, align 4 %323 = load i32, ptr %10, align 4 %324 = icmp slt i32 %322, %323 br i1 %324, label %259, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %319 br label %325 325: ; preds = %._crit_edge9, %255 store i32 0, ptr %17, align 4 %326 = load i32, ptr %17, align 4 %327 = load i32, ptr %10, align 4 %328 = icmp slt i32 %326, %327 br i1 %328, label %.lr.ph11, label %401 .lr.ph11: ; preds = %325 br label %329 329: ; preds = %.lr.ph11, %395 %330 = load ptr, ptr %9, align 8 %331 = load i32, ptr %10, align 4 %332 = load double, ptr %21, align 8 %333 = load double, ptr %20, align 8 %334 = fmul double 1.200000e+01, %333 %335 = fdiv double %334, 1.300000e+01 %336 = fadd double %332, %335 %337 = load ptr, ptr %23, align 8 %338 = load ptr, ptr %24, align 8 %339 = load ptr, ptr %16, align 8 %340 = call i32 %330(i32 noundef %331, double noundef %336, ptr noundef %337, ptr noundef %338, ptr noundef %339) %341 = load double, ptr %20, align 8 %342 = load ptr, ptr %24, align 8 %343 = load i32, ptr %17, align 4 %344 = sext i32 %343 to i64 %345 = getelementptr inbounds double, ptr %342, i64 %344 %346 = load double, ptr %345, align 8 %347 = fmul double %341, %346 %348 = load ptr, ptr %28, align 8 %349 = load i32, ptr %17, align 4 %350 = sext i32 %349 to i64 %351 = getelementptr inbounds double, ptr %348, i64 %350 store double %347, ptr %351, align 8 %352 = load ptr, ptr %22, align 8 %353 = load i32, ptr %17, align 4 %354 = load i32, ptr %19, align 4 %355 = load i32, ptr %18, align 4 %356 = mul nsw i32 %354, %355 %357 = add nsw i32 %353, %356 %358 = sext i32 %357 to i64 %359 = getelementptr inbounds double, ptr %352, i64 %358 %360 = load double, ptr %359, align 8 %361 = load ptr, ptr %25, align 8 %362 = load i32, ptr %17, align 4 %363 = sext i32 %362 to i64 %364 = getelementptr inbounds double, ptr %361, i64 %363 %365 = load double, ptr %364, align 8 %366 = fmul double 4.390000e+02, %365 %367 = fdiv double %366, 2.160000e+02 %368 = fadd double %360, %367 %369 = load ptr, ptr %26, align 8 %370 = load i32, ptr %17, align 4 %371 = sext i32 %370 to i64 %372 = getelementptr inbounds double, ptr %369, i64 %371 %373 = load double, ptr %372, align 8 %374 = call double @llvm.fmuladd.f64(double -8.000000e+00, double %373, double %368) %375 = load ptr, ptr %27, align 8 %376 = load i32, ptr %17, align 4 %377 = sext i32 %376 to i64 %378 = getelementptr inbounds double, ptr %375, i64 %377 %379 = load double, ptr %378, align 8 %380 = fmul double 3.680000e+03, %379 %381 = fdiv double %380, 5.130000e+02 %382 = fadd double %374, %381 %383 = load ptr, ptr %28, align 8 %384 = load i32, ptr %17, align 4 %385 = sext i32 %384 to i64 %386 = getelementptr inbounds double, ptr %383, i64 %385 %387 = load double, ptr %386, align 8 %388 = fmul double 8.450000e+02, %387 %389 = fdiv double %388, 4.104000e+03 %390 = fsub double %382, %389 %391 = load ptr, ptr %23, align 8 %392 = load i32, ptr %17, align 4 %393 = sext i32 %392 to i64 %394 = getelementptr inbounds double, ptr %391, i64 %393 store double %390, ptr %394, align 8 br label %395 395: ; preds = %329 %396 = load i32, ptr %17, align 4 %397 = add nsw i32 %396, 1 store i32 %397, ptr %17, align 4 %398 = load i32, ptr %17, align 4 %399 = load i32, ptr %10, align 4 %400 = icmp slt i32 %398, %399 br i1 %400, label %329, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %395 br label %401 401: ; preds = %._crit_edge12, %325 store i32 0, ptr %17, align 4 %402 = load i32, ptr %17, align 4 %403 = load i32, ptr %10, align 4 %404 = icmp slt i32 %402, %403 br i1 %404, label %.lr.ph14, label %483 .lr.ph14: ; preds = %401 br label %405 405: ; preds = %.lr.ph14, %477 %406 = load ptr, ptr %9, align 8 %407 = load i32, ptr %10, align 4 %408 = load double, ptr %21, align 8 %409 = load double, ptr %20, align 8 %410 = fadd double %408, %409 %411 = load ptr, ptr %23, align 8 %412 = load ptr, ptr %24, align 8 %413 = load ptr, ptr %16, align 8 %414 = call i32 %406(i32 noundef %407, double noundef %410, ptr noundef %411, ptr noundef %412, ptr noundef %413) %415 = load double, ptr %20, align 8 %416 = load ptr, ptr %24, align 8 %417 = load i32, ptr %17, align 4 %418 = sext i32 %417 to i64 %419 = getelementptr inbounds double, ptr %416, i64 %418 %420 = load double, ptr %419, align 8 %421 = fmul double %415, %420 %422 = load ptr, ptr %29, align 8 %423 = load i32, ptr %17, align 4 %424 = sext i32 %423 to i64 %425 = getelementptr inbounds double, ptr %422, i64 %424 store double %421, ptr %425, align 8 %426 = load ptr, ptr %22, align 8 %427 = load i32, ptr %17, align 4 %428 = load i32, ptr %19, align 4 %429 = load i32, ptr %18, align 4 %430 = mul nsw i32 %428, %429 %431 = add nsw i32 %427, %430 %432 = sext i32 %431 to i64 %433 = getelementptr inbounds double, ptr %426, i64 %432 %434 = load double, ptr %433, align 8 %435 = load ptr, ptr %25, align 8 %436 = load i32, ptr %17, align 4 %437 = sext i32 %436 to i64 %438 = getelementptr inbounds double, ptr %435, i64 %437 %439 = load double, ptr %438, align 8 %440 = fmul double 8.000000e+00, %439 %441 = fdiv double %440, 2.700000e+01 %442 = fsub double %434, %441 %443 = load ptr, ptr %26, align 8 %444 = load i32, ptr %17, align 4 %445 = sext i32 %444 to i64 %446 = getelementptr inbounds double, ptr %443, i64 %445 %447 = load double, ptr %446, align 8 %448 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %447, double %442) %449 = load ptr, ptr %27, align 8 %450 = load i32, ptr %17, align 4 %451 = sext i32 %450 to i64 %452 = getelementptr inbounds double, ptr %449, i64 %451 %453 = load double, ptr %452, align 8 %454 = fmul double 3.544000e+03, %453 %455 = fdiv double %454, 2.565000e+03 %456 = fsub double %448, %455 %457 = load ptr, ptr %28, align 8 %458 = load i32, ptr %17, align 4 %459 = sext i32 %458 to i64 %460 = getelementptr inbounds double, ptr %457, i64 %459 %461 = load double, ptr %460, align 8 %462 = fmul double 1.859000e+03, %461 %463 = fdiv double %462, 4.104000e+03 %464 = fadd double %456, %463 %465 = load ptr, ptr %29, align 8 %466 = load i32, ptr %17, align 4 %467 = sext i32 %466 to i64 %468 = getelementptr inbounds double, ptr %465, i64 %467 %469 = load double, ptr %468, align 8 %470 = fmul double 1.100000e+01, %469 %471 = fdiv double %470, 4.000000e+01 %472 = fsub double %464, %471 %473 = load ptr, ptr %23, align 8 %474 = load i32, ptr %17, align 4 %475 = sext i32 %474 to i64 %476 = getelementptr inbounds double, ptr %473, i64 %475 store double %472, ptr %476, align 8 br label %477 477: ; preds = %405 %478 = load i32, ptr %17, align 4 %479 = add nsw i32 %478, 1 store i32 %479, ptr %17, align 4 %480 = load i32, ptr %17, align 4 %481 = load i32, ptr %10, align 4 %482 = icmp slt i32 %480, %481 br i1 %482, label %405, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %477 br label %483 483: ; preds = %._crit_edge15, %401 store i32 0, ptr %17, align 4 %484 = load i32, ptr %17, align 4 %485 = load i32, ptr %10, align 4 %486 = icmp slt i32 %484, %485 br i1 %486, label %.lr.ph17, label %515 .lr.ph17: ; preds = %483 br label %487 487: ; preds = %.lr.ph17, %509 %488 = load ptr, ptr %9, align 8 %489 = load i32, ptr %10, align 4 %490 = load double, ptr %21, align 8 %491 = load double, ptr %20, align 8 %492 = fdiv double %491, 2.000000e+00 %493 = fadd double %490, %492 %494 = load ptr, ptr %23, align 8 %495 = load ptr, ptr %24, align 8 %496 = load ptr, ptr %16, align 8 %497 = call i32 %488(i32 noundef %489, double noundef %493, ptr noundef %494, ptr noundef %495, ptr noundef %496) %498 = load double, ptr %20, align 8 %499 = load ptr, ptr %24, align 8 %500 = load i32, ptr %17, align 4 %501 = sext i32 %500 to i64 %502 = getelementptr inbounds double, ptr %499, i64 %501 %503 = load double, ptr %502, align 8 %504 = fmul double %498, %503 %505 = load ptr, ptr %30, align 8 %506 = load i32, ptr %17, align 4 %507 = sext i32 %506 to i64 %508 = getelementptr inbounds double, ptr %505, i64 %507 store double %504, ptr %508, align 8 br label %509 509: ; preds = %487 %510 = load i32, ptr %17, align 4 %511 = add nsw i32 %510, 1 store i32 %511, ptr %17, align 4 %512 = load i32, ptr %17, align 4 %513 = load i32, ptr %10, align 4 %514 = icmp slt i32 %512, %513 br i1 %514, label %487, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %509 br label %515 515: ; preds = %._crit_edge18, %483 store double 0.000000e+00, ptr %32, align 8 store i32 0, ptr %17, align 4 %516 = load i32, ptr %17, align 4 %517 = load i32, ptr %10, align 4 %518 = icmp slt i32 %516, %517 br i1 %518, label %.lr.ph20, label %585 .lr.ph20: ; preds = %515 br label %519 519: ; preds = %.lr.ph20, %579 %520 = load ptr, ptr %25, align 8 %521 = load i32, ptr %17, align 4 %522 = sext i32 %521 to i64 %523 = getelementptr inbounds double, ptr %520, i64 %522 %524 = load double, ptr %523, align 8 %525 = fdiv double %524, 3.600000e+02 %526 = load ptr, ptr %27, align 8 %527 = load i32, ptr %17, align 4 %528 = sext i32 %527 to i64 %529 = getelementptr inbounds double, ptr %526, i64 %528 %530 = load double, ptr %529, align 8 %531 = fmul double 1.280000e+02, %530 %532 = fdiv double %531, 4.275000e+03 %533 = fsub double %525, %532 %534 = load ptr, ptr %28, align 8 %535 = load i32, ptr %17, align 4 %536 = sext i32 %535 to i64 %537 = getelementptr inbounds double, ptr %534, i64 %536 %538 = load double, ptr %537, align 8 %539 = fmul double 2.197000e+03, %538 %540 = fdiv double %539, 7.524000e+04 %541 = fsub double %533, %540 %542 = load ptr, ptr %29, align 8 %543 = load i32, ptr %17, align 4 %544 = sext i32 %543 to i64 %545 = getelementptr inbounds double, ptr %542, i64 %544 %546 = load double, ptr %545, align 8 %547 = fdiv double %546, 5.000000e+01 %548 = fadd double %541, %547 %549 = load ptr, ptr %30, align 8 %550 = load i32, ptr %17, align 4 %551 = sext i32 %550 to i64 %552 = getelementptr inbounds double, ptr %549, i64 %551 %553 = load double, ptr %552, align 8 %554 = fmul double 2.000000e+00, %553 %555 = fdiv double %554, 5.500000e+01 %556 = fadd double %548, %555 %557 = call double @llvm.fabs.f64(double %556) %558 = load ptr, ptr %31, align 8 %559 = load i32, ptr %17, align 4 %560 = sext i32 %559 to i64 %561 = getelementptr inbounds double, ptr %558, i64 %560 store double %557, ptr %561, align 8 %562 = load ptr, ptr %31, align 8 %563 = load i32, ptr %17, align 4 %564 = sext i32 %563 to i64 %565 = getelementptr inbounds double, ptr %562, i64 %564 %566 = load double, ptr %565, align 8 %567 = load double, ptr %32, align 8 %568 = fcmp ogt double %566, %567 br i1 %568, label %569, label %575 569: ; preds = %519 %570 = load ptr, ptr %31, align 8 %571 = load i32, ptr %17, align 4 %572 = sext i32 %571 to i64 %573 = getelementptr inbounds double, ptr %570, i64 %572 %574 = load double, ptr %573, align 8 br label %577 575: ; preds = %519 %576 = load double, ptr %32, align 8 br label %577 577: ; preds = %575, %569 %578 = phi double [ %574, %569 ], [ %576, %575 ] store double %578, ptr %32, align 8 br label %579 579: ; preds = %577 %580 = load i32, ptr %17, align 4 %581 = add nsw i32 %580, 1 store i32 %581, ptr %17, align 4 %582 = load i32, ptr %17, align 4 %583 = load i32, ptr %10, align 4 %584 = icmp slt i32 %582, %583 br i1 %584, label %519, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %579 br label %585 585: ; preds = %._crit_edge21, %515 %586 = load double, ptr %32, align 8 %587 = load double, ptr %15, align 8 %588 = fcmp olt double %586, %587 br i1 %588, label %594, label %589 589: ; preds = %585 %590 = load double, ptr %20, align 8 %591 = load double, ptr %11, align 8 %592 = fdiv double %591, 1.000000e+03 %593 = fcmp ole double %590, %592 br i1 %593, label %594, label %669 594: ; preds = %589, %585 %595 = load double, ptr %20, align 8 %596 = load double, ptr %21, align 8 %597 = fadd double %596, %595 store double %597, ptr %21, align 8 store i32 0, ptr %17, align 4 %598 = load i32, ptr %17, align 4 %599 = load i32, ptr %10, align 4 %600 = icmp slt i32 %598, %599 br i1 %600, label %.lr.ph23, label %656 .lr.ph23: ; preds = %594 br label %601 601: ; preds = %.lr.ph23, %650 %602 = load ptr, ptr %22, align 8 %603 = load i32, ptr %17, align 4 %604 = load i32, ptr %19, align 4 %605 = load i32, ptr %18, align 4 %606 = mul nsw i32 %604, %605 %607 = add nsw i32 %603, %606 %608 = sext i32 %607 to i64 %609 = getelementptr inbounds double, ptr %602, i64 %608 %610 = load double, ptr %609, align 8 %611 = load ptr, ptr %25, align 8 %612 = load i32, ptr %17, align 4 %613 = sext i32 %612 to i64 %614 = getelementptr inbounds double, ptr %611, i64 %613 %615 = load double, ptr %614, align 8 %616 = fmul double 2.500000e+01, %615 %617 = fdiv double %616, 2.160000e+02 %618 = fadd double %610, %617 %619 = load ptr, ptr %27, align 8 %620 = load i32, ptr %17, align 4 %621 = sext i32 %620 to i64 %622 = getelementptr inbounds double, ptr %619, i64 %621 %623 = load double, ptr %622, align 8 %624 = fmul double 1.408000e+03, %623 %625 = fdiv double %624, 2.565000e+03 %626 = fadd double %618, %625 %627 = load ptr, ptr %28, align 8 %628 = load i32, ptr %17, align 4 %629 = sext i32 %628 to i64 %630 = getelementptr inbounds double, ptr %627, i64 %629 %631 = load double, ptr %630, align 8 %632 = fmul double 2.197000e+03, %631 %633 = fdiv double %632, 4.104000e+03 %634 = fadd double %626, %633 %635 = load ptr, ptr %29, align 8 %636 = load i32, ptr %17, align 4 %637 = sext i32 %636 to i64 %638 = getelementptr inbounds double, ptr %635, i64 %637 %639 = load double, ptr %638, align 8 %640 = call double @llvm.fmuladd.f64(double -2.000000e-01, double %639, double %634) %641 = load ptr, ptr %22, align 8 %642 = load i32, ptr %17, align 4 %643 = load i32, ptr %19, align 4 %644 = load i32, ptr %18, align 4 %645 = add nsw i32 %644, 1 %646 = mul nsw i32 %643, %645 %647 = add nsw i32 %642, %646 %648 = sext i32 %647 to i64 %649 = getelementptr inbounds double, ptr %641, i64 %648 store double %640, ptr %649, align 8 br label %650 650: ; preds = %601 %651 = load i32, ptr %17, align 4 %652 = add nsw i32 %651, 1 store i32 %652, ptr %17, align 4 %653 = load i32, ptr %17, align 4 %654 = load i32, ptr %10, align 4 %655 = icmp slt i32 %653, %654 br i1 %655, label %601, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %650 br label %656 656: ; preds = %._crit_edge24, %594 %657 = load double, ptr %21, align 8 %658 = load ptr, ptr %22, align 8 %659 = load i32, ptr %10, align 4 %660 = load i32, ptr %19, align 4 %661 = load i32, ptr %18, align 4 %662 = add nsw i32 %661, 1 %663 = mul nsw i32 %660, %662 %664 = add nsw i32 %659, %663 %665 = sext i32 %664 to i64 %666 = getelementptr inbounds double, ptr %658, i64 %665 store double %657, ptr %666, align 8 %667 = load i32, ptr %18, align 4 %668 = add nsw i32 %667, 1 store i32 %668, ptr %18, align 4 br label %669 669: ; preds = %656, %589 %670 = load double, ptr %15, align 8 %671 = load double, ptr %32, align 8 %672 = fmul double 2.000000e+00, %671 %673 = fdiv double %670, %672 %674 = call double @pow(double noundef %673, double noundef 2.500000e-01) #4 store double %674, ptr %33, align 8 %675 = load double, ptr %33, align 8 %676 = fcmp olt double %675, 1.000000e-01 br i1 %676, label %677, label %680 677: ; preds = %669 %678 = load double, ptr %20, align 8 %679 = fmul double 1.000000e-01, %678 store double %679, ptr %20, align 8 br label %691 680: ; preds = %669 %681 = load double, ptr %33, align 8 %682 = fcmp ogt double %681, 4.000000e+00 br i1 %682, label %683, label %686 683: ; preds = %680 %684 = load double, ptr %20, align 8 %685 = fmul double 4.000000e+00, %684 store double %685, ptr %20, align 8 br label %690 686: ; preds = %680 %687 = load double, ptr %33, align 8 %688 = load double, ptr %20, align 8 %689 = fmul double %687, %688 store double %689, ptr %20, align 8 br label %690 690: ; preds = %686, %683 br label %691 691: ; preds = %690, %677 %692 = load double, ptr %20, align 8 %693 = load double, ptr %11, align 8 %694 = fdiv double %693, 1.000000e+03 %695 = fcmp olt double %692, %694 br i1 %695, label %696, label %699 696: ; preds = %691 %697 = load double, ptr %11, align 8 %698 = fdiv double %697, 1.000000e+03 store double %698, ptr %20, align 8 br label %699 699: ; preds = %696, %691 %700 = load double, ptr %20, align 8 %701 = load double, ptr %12, align 8 %702 = fdiv double %701, 1.600000e+01 %703 = fcmp ogt double %700, %702 br i1 %703, label %704, label %707 704: ; preds = %699 %705 = load double, ptr %12, align 8 %706 = fdiv double %705, 1.600000e+01 store double %706, ptr %20, align 8 br label %707 707: ; preds = %704, %699 %708 = load double, ptr %21, align 8 %709 = load double, ptr %20, align 8 %710 = fadd double %708, %709 %711 = load double, ptr %12, align 8 %712 = fcmp ogt double %710, %711 br i1 %712, label %713, label %717 713: ; preds = %707 %714 = load double, ptr %12, align 8 %715 = load double, ptr %21, align 8 %716 = fsub double %714, %715 store double %716, ptr %20, align 8 br label %717 717: ; preds = %713, %707 %718 = load double, ptr %21, align 8 %719 = load double, ptr %12, align 8 %720 = fcmp olt double %718, %719 br i1 %720, label %132, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %717 br label %721 721: ; preds = %._crit_edge27, %128 %722 = load i32, ptr %18, align 4 %723 = add nsw i32 %722, 1 ret i32 %723 } declare i64 @malloc(i32 noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !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}
; ModuleID = '/tmp/tmpntjffxvb.c' source_filename = "/tmp/tmpntjffxvb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_builtins() #0 { %1 = call i32 (...) @init_builtin_alias() ret void } declare i32 @init_builtin_alias(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpntjffxvb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_builtins() #0 { %1 = call i32 (...) @init_builtin_alias() ret void } declare i32 @init_builtin_alias(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv1k4t9ar.c' source_filename = "/tmp/tmpv1k4t9ar.c" target datalayout = "e-m:e-p270: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.marbles = private unnamed_addr constant [10 x i32] [i32 20, i32 10, i32 5, i32 39, i32 4, i32 16, i32 19, i32 26, i32 31, i32 20], align 16 @.str = private unnamed_addr constant [37 x i8] c"The total number of marbles is %ld.\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 i64, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.marbles, i64 40, i1 false) %4 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %5 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %6 = getelementptr inbounds i32, ptr %5, i64 10 %7 = call i64 @sump(ptr noundef %4, ptr noundef %6) store i64 %7, ptr %3, align 8 %8 = load i64, ptr %3, align 8 %9 = call i32 @printf(ptr noundef @.str, i64 noundef %8) 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 i64 @sump(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, i64 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/tmpv1k4t9ar.c" target datalayout = "e-m:e-p270: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.marbles = private unnamed_addr constant [10 x i32] [i32 20, i32 10, i32 5, i32 39, i32 4, i32 16, i32 19, i32 26, i32 31, i32 20], align 16 @.str = private unnamed_addr constant [37 x i8] c"The total number of marbles is %ld.\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 i64, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.marbles, i64 40, i1 false) %4 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %5 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %6 = getelementptr inbounds i32, ptr %5, i64 10 %7 = call i64 @sump(ptr noundef %4, ptr noundef %6) store i64 %7, ptr %3, align 8 %8 = load i64, ptr %3, align 8 %9 = call i32 @printf(ptr noundef @.str, i64 noundef %8) 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 i64 @sump(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, i64 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/tmpx34qkj6t.c' source_filename = "/tmp/tmpx34qkj6t.c" target datalayout = "e-m:e-p270: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/tmpx34qkj6t.c" target datalayout = "e-m:e-p270: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/tmpw1h6w5c9.c' source_filename = "/tmp/tmpw1h6w5c9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"skipped\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw1h6w5c9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"skipped\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpldsdd7e6.c' source_filename = "/tmp/tmpldsdd7e6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Case #%d: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [300 x [300 x i32]], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i32 1, ptr %3, align 4 br label %10 10: ; preds = %47, %0 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp sle i32 %11, %12 br i1 %13, label %14, label %50 14: ; preds = %10 %15 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5) call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 360000, i1 false) store i32 0, ptr %7, align 4 br label %16 16: ; preds = %37, %14 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %40 20: ; preds = %16 store i32 0, ptr %8, align 4 br label %21 21: ; preds = %33, %20 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %36 25: ; preds = %21 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [300 x [300 x i32]], ptr %6, i64 0, i64 %27 %29 = load i32, ptr %8, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [300 x i32], ptr %28, i64 0, i64 %30 %32 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %31) br label %33 33: ; preds = %25 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 br label %21, !llvm.loop !6 36: ; preds = %21 br label %37 37: ; preds = %36 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %16, !llvm.loop !8 40: ; preds = %16 %41 = load i32, ptr %3, align 4 %42 = load i32, ptr %4, align 4 %43 = load i32, ptr %5, align 4 %44 = getelementptr inbounds [300 x [300 x i32]], ptr %6, i64 0, i64 0 %45 = call i32 @min_cost(i32 noundef %42, i32 noundef %43, ptr noundef %44) %46 = call i32 @printf(ptr noundef @.str.2, i32 noundef %41, i32 noundef %45) br label %47 47: ; preds = %40 %48 = load i32, ptr %3, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %3, align 4 br label %10, !llvm.loop !9 50: ; preds = %10 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @min_cost(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpldsdd7e6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Case #%d: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [300 x [300 x i32]], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i32 1, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %.lr.ph5, label %56 .lr.ph5: ; preds = %0 br label %13 13: ; preds = %.lr.ph5, %50 %14 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5) call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 360000, i1 false) store i32 0, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph2, label %43 .lr.ph2: ; preds = %13 br label %18 18: ; preds = %.lr.ph2, %37 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph, label %36 .lr.ph: ; preds = %18 br label %22 22: ; preds = %.lr.ph, %30 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [300 x [300 x i32]], ptr %6, i64 0, i64 %24 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [300 x i32], ptr %25, i64 0, i64 %27 %29 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %28) br label %30 30: ; preds = %22 %31 = load i32, ptr %8, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %8, align 4 %33 = load i32, ptr %8, align 4 %34 = load i32, ptr %5, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %36 36: ; preds = %._crit_edge, %18 br label %37 37: ; preds = %36 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %4, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %18, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %37 br label %43 43: ; preds = %._crit_edge3, %13 %44 = load i32, ptr %3, align 4 %45 = load i32, ptr %4, align 4 %46 = load i32, ptr %5, align 4 %47 = getelementptr inbounds [300 x [300 x i32]], ptr %6, i64 0, i64 0 %48 = call i32 @min_cost(i32 noundef %45, i32 noundef %46, ptr noundef %47) %49 = call i32 @printf(ptr noundef @.str.2, i32 noundef %44, i32 noundef %48) br label %50 50: ; preds = %43 %51 = load i32, ptr %3, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %3, align 4 %53 = load i32, ptr %3, align 4 %54 = load i32, ptr %2, align 4 %55 = icmp sle i32 %53, %54 br i1 %55, label %13, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %50 br label %56 56: ; preds = %._crit_edge6, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @min_cost(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpasrp8ou4.c' source_filename = "/tmp/tmpasrp8ou4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @apparent_sidereal_time(ptr noundef %0, ptr noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store double %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %5, align 8 %11 = load double, ptr %6, align 8 %12 = call double @mean_sidereal_time(ptr noundef %9, ptr noundef %10, double noundef %11) store double %12, ptr %7, align 8 %13 = load double, ptr %7, align 8 %14 = load ptr, ptr %5, align 8 %15 = call i64 @equation_of_the_equinoxes(ptr noundef %14) %16 = sitofp i64 %15 to double %17 = fadd double %13, %16 %18 = fptosi double %17 to i64 %19 = call double @reduce_angle(i64 noundef %18, double noundef 0x401921FB54442D18) store double %19, ptr %8, align 8 %20 = load double, ptr %8, align 8 ret double %20 } declare double @mean_sidereal_time(ptr noundef, ptr noundef, double noundef) #1 declare double @reduce_angle(i64 noundef, double noundef) #1 declare i64 @equation_of_the_equinoxes(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpasrp8ou4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @apparent_sidereal_time(ptr noundef %0, ptr noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store double %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %5, align 8 %11 = load double, ptr %6, align 8 %12 = call double @mean_sidereal_time(ptr noundef %9, ptr noundef %10, double noundef %11) store double %12, ptr %7, align 8 %13 = load double, ptr %7, align 8 %14 = load ptr, ptr %5, align 8 %15 = call i64 @equation_of_the_equinoxes(ptr noundef %14) %16 = sitofp i64 %15 to double %17 = fadd double %13, %16 %18 = fptosi double %17 to i64 %19 = call double @reduce_angle(i64 noundef %18, double noundef 0x401921FB54442D18) store double %19, ptr %8, align 8 %20 = load double, ptr %8, align 8 ret double %20 } declare double @mean_sidereal_time(ptr noundef, ptr noundef, double noundef) #1 declare double @reduce_angle(i64 noundef, double noundef) #1 declare i64 @equation_of_the_equinoxes(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph1gev2ep.c' source_filename = "/tmp/tmph1gev2ep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EAGAIN = dso_local global i32 0, align 4 @EINTR = dso_local global i32 0, align 4 @EPIPE = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph1gev2ep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EAGAIN = dso_local global i32 0, align 4 @EINTR = dso_local global i32 0, align 4 @EPIPE = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7_duydbb.c' source_filename = "/tmp/tmp7_duydbb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [76 x i8] c"Noise (C) 2004 Panayotis Katsaloulis http://www.panayotis.com under GNU GPL\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getInfo() #0 { %1 = alloca ptr, align 8 %2 = alloca i64, align 8 %3 = call i64 @strlen(ptr noundef @.str) store i64 %3, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = add i64 %4, 1 %6 = call ptr @malloc(i64 noundef %5) store ptr %6, ptr %1, align 8 %7 = load ptr, ptr %1, align 8 %8 = load i64, ptr %2, align 8 %9 = add i64 %8, 1 %10 = call i32 @strncpy(ptr noundef %7, ptr noundef @.str, i64 noundef %9) %11 = load ptr, ptr %1, align 8 ret ptr %11 } declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @strncpy(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/tmp7_duydbb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [76 x i8] c"Noise (C) 2004 Panayotis Katsaloulis http://www.panayotis.com under GNU GPL\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getInfo() #0 { %1 = alloca ptr, align 8 %2 = alloca i64, align 8 %3 = call i64 @strlen(ptr noundef @.str) store i64 %3, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = add i64 %4, 1 %6 = call ptr @malloc(i64 noundef %5) store ptr %6, ptr %1, align 8 %7 = load ptr, ptr %1, align 8 %8 = load i64, ptr %2, align 8 %9 = add i64 %8, 1 %10 = call i32 @strncpy(ptr noundef %7, ptr noundef @.str, i64 noundef %9) %11 = load ptr, ptr %1, align 8 ret ptr %11 } declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @strncpy(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/tmpvwolym83.c' source_filename = "/tmp/tmpvwolym83.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read16be(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 = getelementptr inbounds i32, ptr %5, i64 1 %7 = load i32, ptr %6, align 4 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i32, ptr %8, i64 0 %10 = load i32, ptr %9, align 4 %11 = shl i32 %10, 8 %12 = or i32 %7, %11 ret i32 %12 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvwolym83.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read16be(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 = getelementptr inbounds i32, ptr %5, i64 1 %7 = load i32, ptr %6, align 4 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i32, ptr %8, i64 0 %10 = load i32, ptr %9, align 4 %11 = shl i32 %10, 8 %12 = or i32 %7, %11 ret i32 %12 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe75ybg4d.c' source_filename = "/tmp/tmpe75ybg4d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xmalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #3 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 %10 8: ; preds = %1 %9 = call i32 (...) @abort() #4 unreachable 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { allocsize(0) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe75ybg4d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xmalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #3 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 %10 8: ; preds = %1 %9 = call i32 (...) @abort() #4 unreachable 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { allocsize(0) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpva9ix4ny.c' source_filename = "/tmp/tmpva9ix4ny.c" target datalayout = "e-m:e-p270: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/tmpva9ix4ny.c" target datalayout = "e-m:e-p270: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/tmpc5gl5_25.c' source_filename = "/tmp/tmpc5gl5_25.c" target datalayout = "e-m:e-p270: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/tmpc5gl5_25.c" target datalayout = "e-m:e-p270: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/tmpyyrtqgkg.c' source_filename = "/tmp/tmpyyrtqgkg.c" target datalayout = "e-m:e-p270: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 void @transform(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %12 = load double, ptr %5, align 8 %13 = load double, ptr %6, align 8 %14 = fmul double %12, %13 store double %14, ptr %9, align 8 %15 = load double, ptr %5, align 8 %16 = call i32 @fabs(double noundef %15) %17 = call double @sqrt(i32 noundef %16) store double %17, ptr %10, align 8 %18 = load double, ptr %5, align 8 %19 = fmul double 6.000000e+00, %18 %20 = load double, ptr @M_PI, align 8 %21 = fmul double %19, %20 %22 = call double @sin(double noundef %21) #4 %23 = load double, ptr %5, align 8 %24 = fmul double 2.000000e+00, %23 %25 = load double, ptr @M_PI, align 8 %26 = fmul double %24, %25 %27 = call double @sin(double noundef %26) #4 %28 = fmul double 2.000000e+01, %27 %29 = call double @llvm.fmuladd.f64(double 2.000000e+01, double %22, double %28) %30 = fmul double %29, 2.000000e+00 %31 = fdiv double %30, 3.000000e+00 store double %31, ptr %11, align 8 %32 = load double, ptr %5, align 8 %33 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %32, double -1.000000e+02) %34 = load double, ptr %6, align 8 %35 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %34, double %33) %36 = load double, ptr %6, align 8 %37 = fmul double 2.000000e-01, %36 %38 = load double, ptr %6, align 8 %39 = call double @llvm.fmuladd.f64(double %37, double %38, double %35) %40 = load double, ptr %9, align 8 %41 = call double @llvm.fmuladd.f64(double 1.000000e-01, double %40, double %39) %42 = load double, ptr %10, align 8 %43 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %42, double %41) %44 = load ptr, ptr %7, align 8 store double %43, ptr %44, align 8 %45 = load double, ptr %5, align 8 %46 = fadd double 3.000000e+02, %45 %47 = load double, ptr %6, align 8 %48 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %47, double %46) %49 = load double, ptr %5, align 8 %50 = fmul double 1.000000e-01, %49 %51 = load double, ptr %5, align 8 %52 = call double @llvm.fmuladd.f64(double %50, double %51, double %48) %53 = load double, ptr %9, align 8 %54 = call double @llvm.fmuladd.f64(double 1.000000e-01, double %53, double %52) %55 = load double, ptr %10, align 8 %56 = call double @llvm.fmuladd.f64(double 1.000000e-01, double %55, double %54) %57 = load ptr, ptr %8, align 8 store double %56, ptr %57, align 8 %58 = load double, ptr %11, align 8 %59 = load ptr, ptr %7, align 8 %60 = load double, ptr %59, align 8 %61 = fadd double %60, %58 store double %61, ptr %59, align 8 %62 = load double, ptr %11, align 8 %63 = load ptr, ptr %8, align 8 %64 = load double, ptr %63, align 8 %65 = fadd double %64, %62 store double %65, ptr %63, align 8 %66 = load double, ptr %6, align 8 %67 = load double, ptr @M_PI, align 8 %68 = fmul double %66, %67 %69 = call double @sin(double noundef %68) #4 %70 = load double, ptr %6, align 8 %71 = fdiv double %70, 3.000000e+00 %72 = load double, ptr @M_PI, align 8 %73 = fmul double %71, %72 %74 = call double @sin(double noundef %73) #4 %75 = fmul double 4.000000e+01, %74 %76 = call double @llvm.fmuladd.f64(double 2.000000e+01, double %69, double %75) %77 = fmul double %76, 2.000000e+00 %78 = fdiv double %77, 3.000000e+00 %79 = load ptr, ptr %7, align 8 %80 = load double, ptr %79, align 8 %81 = fadd double %80, %78 store double %81, ptr %79, align 8 %82 = load double, ptr %5, align 8 %83 = load double, ptr @M_PI, align 8 %84 = fmul double %82, %83 %85 = call double @sin(double noundef %84) #4 %86 = load double, ptr %5, align 8 %87 = fdiv double %86, 3.000000e+00 %88 = load double, ptr @M_PI, align 8 %89 = fmul double %87, %88 %90 = call double @sin(double noundef %89) #4 %91 = fmul double 4.000000e+01, %90 %92 = call double @llvm.fmuladd.f64(double 2.000000e+01, double %85, double %91) %93 = fmul double %92, 2.000000e+00 %94 = fdiv double %93, 3.000000e+00 %95 = load ptr, ptr %8, align 8 %96 = load double, ptr %95, align 8 %97 = fadd double %96, %94 store double %97, ptr %95, align 8 %98 = load double, ptr %6, align 8 %99 = fdiv double %98, 1.200000e+01 %100 = load double, ptr @M_PI, align 8 %101 = fmul double %99, %100 %102 = call double @sin(double noundef %101) #4 %103 = load double, ptr %6, align 8 %104 = fdiv double %103, 3.000000e+01 %105 = load double, ptr @M_PI, align 8 %106 = fmul double %104, %105 %107 = call double @sin(double noundef %106) #4 %108 = fmul double 3.200000e+02, %107 %109 = call double @llvm.fmuladd.f64(double 1.600000e+02, double %102, double %108) %110 = fmul double %109, 2.000000e+00 %111 = fdiv double %110, 3.000000e+00 %112 = load ptr, ptr %7, align 8 %113 = load double, ptr %112, align 8 %114 = fadd double %113, %111 store double %114, ptr %112, align 8 %115 = load double, ptr %5, align 8 %116 = fdiv double %115, 1.200000e+01 %117 = load double, ptr @M_PI, align 8 %118 = fmul double %116, %117 %119 = call double @sin(double noundef %118) #4 %120 = load double, ptr %5, align 8 %121 = fdiv double %120, 3.000000e+01 %122 = load double, ptr @M_PI, align 8 %123 = fmul double %121, %122 %124 = call double @sin(double noundef %123) #4 %125 = fmul double 3.000000e+02, %124 %126 = call double @llvm.fmuladd.f64(double 1.500000e+02, double %119, double %125) %127 = fmul double %126, 2.000000e+00 %128 = fdiv double %127, 3.000000e+00 %129 = load ptr, ptr %8, align 8 %130 = load double, ptr %129, align 8 %131 = fadd double %130, %128 store double %131, ptr %129, align 8 ret void } declare double @sqrt(i32 noundef) #1 declare i32 @fabs(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyyrtqgkg.c" target datalayout = "e-m:e-p270: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 void @transform(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %12 = load double, ptr %5, align 8 %13 = load double, ptr %6, align 8 %14 = fmul double %12, %13 store double %14, ptr %9, align 8 %15 = load double, ptr %5, align 8 %16 = call i32 @fabs(double noundef %15) %17 = call double @sqrt(i32 noundef %16) store double %17, ptr %10, align 8 %18 = load double, ptr %5, align 8 %19 = fmul double 6.000000e+00, %18 %20 = load double, ptr @M_PI, align 8 %21 = fmul double %19, %20 %22 = call double @sin(double noundef %21) #4 %23 = load double, ptr %5, align 8 %24 = fmul double 2.000000e+00, %23 %25 = load double, ptr @M_PI, align 8 %26 = fmul double %24, %25 %27 = call double @sin(double noundef %26) #4 %28 = fmul double 2.000000e+01, %27 %29 = call double @llvm.fmuladd.f64(double 2.000000e+01, double %22, double %28) %30 = fmul double %29, 2.000000e+00 %31 = fdiv double %30, 3.000000e+00 store double %31, ptr %11, align 8 %32 = load double, ptr %5, align 8 %33 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %32, double -1.000000e+02) %34 = load double, ptr %6, align 8 %35 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %34, double %33) %36 = load double, ptr %6, align 8 %37 = fmul double 2.000000e-01, %36 %38 = load double, ptr %6, align 8 %39 = call double @llvm.fmuladd.f64(double %37, double %38, double %35) %40 = load double, ptr %9, align 8 %41 = call double @llvm.fmuladd.f64(double 1.000000e-01, double %40, double %39) %42 = load double, ptr %10, align 8 %43 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %42, double %41) %44 = load ptr, ptr %7, align 8 store double %43, ptr %44, align 8 %45 = load double, ptr %5, align 8 %46 = fadd double 3.000000e+02, %45 %47 = load double, ptr %6, align 8 %48 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %47, double %46) %49 = load double, ptr %5, align 8 %50 = fmul double 1.000000e-01, %49 %51 = load double, ptr %5, align 8 %52 = call double @llvm.fmuladd.f64(double %50, double %51, double %48) %53 = load double, ptr %9, align 8 %54 = call double @llvm.fmuladd.f64(double 1.000000e-01, double %53, double %52) %55 = load double, ptr %10, align 8 %56 = call double @llvm.fmuladd.f64(double 1.000000e-01, double %55, double %54) %57 = load ptr, ptr %8, align 8 store double %56, ptr %57, align 8 %58 = load double, ptr %11, align 8 %59 = load ptr, ptr %7, align 8 %60 = load double, ptr %59, align 8 %61 = fadd double %60, %58 store double %61, ptr %59, align 8 %62 = load double, ptr %11, align 8 %63 = load ptr, ptr %8, align 8 %64 = load double, ptr %63, align 8 %65 = fadd double %64, %62 store double %65, ptr %63, align 8 %66 = load double, ptr %6, align 8 %67 = load double, ptr @M_PI, align 8 %68 = fmul double %66, %67 %69 = call double @sin(double noundef %68) #4 %70 = load double, ptr %6, align 8 %71 = fdiv double %70, 3.000000e+00 %72 = load double, ptr @M_PI, align 8 %73 = fmul double %71, %72 %74 = call double @sin(double noundef %73) #4 %75 = fmul double 4.000000e+01, %74 %76 = call double @llvm.fmuladd.f64(double 2.000000e+01, double %69, double %75) %77 = fmul double %76, 2.000000e+00 %78 = fdiv double %77, 3.000000e+00 %79 = load ptr, ptr %7, align 8 %80 = load double, ptr %79, align 8 %81 = fadd double %80, %78 store double %81, ptr %79, align 8 %82 = load double, ptr %5, align 8 %83 = load double, ptr @M_PI, align 8 %84 = fmul double %82, %83 %85 = call double @sin(double noundef %84) #4 %86 = load double, ptr %5, align 8 %87 = fdiv double %86, 3.000000e+00 %88 = load double, ptr @M_PI, align 8 %89 = fmul double %87, %88 %90 = call double @sin(double noundef %89) #4 %91 = fmul double 4.000000e+01, %90 %92 = call double @llvm.fmuladd.f64(double 2.000000e+01, double %85, double %91) %93 = fmul double %92, 2.000000e+00 %94 = fdiv double %93, 3.000000e+00 %95 = load ptr, ptr %8, align 8 %96 = load double, ptr %95, align 8 %97 = fadd double %96, %94 store double %97, ptr %95, align 8 %98 = load double, ptr %6, align 8 %99 = fdiv double %98, 1.200000e+01 %100 = load double, ptr @M_PI, align 8 %101 = fmul double %99, %100 %102 = call double @sin(double noundef %101) #4 %103 = load double, ptr %6, align 8 %104 = fdiv double %103, 3.000000e+01 %105 = load double, ptr @M_PI, align 8 %106 = fmul double %104, %105 %107 = call double @sin(double noundef %106) #4 %108 = fmul double 3.200000e+02, %107 %109 = call double @llvm.fmuladd.f64(double 1.600000e+02, double %102, double %108) %110 = fmul double %109, 2.000000e+00 %111 = fdiv double %110, 3.000000e+00 %112 = load ptr, ptr %7, align 8 %113 = load double, ptr %112, align 8 %114 = fadd double %113, %111 store double %114, ptr %112, align 8 %115 = load double, ptr %5, align 8 %116 = fdiv double %115, 1.200000e+01 %117 = load double, ptr @M_PI, align 8 %118 = fmul double %116, %117 %119 = call double @sin(double noundef %118) #4 %120 = load double, ptr %5, align 8 %121 = fdiv double %120, 3.000000e+01 %122 = load double, ptr @M_PI, align 8 %123 = fmul double %121, %122 %124 = call double @sin(double noundef %123) #4 %125 = fmul double 3.000000e+02, %124 %126 = call double @llvm.fmuladd.f64(double 1.500000e+02, double %119, double %125) %127 = fmul double %126, 2.000000e+00 %128 = fdiv double %127, 3.000000e+00 %129 = load ptr, ptr %8, align 8 %130 = load double, ptr %129, align 8 %131 = fadd double %130, %128 store double %131, ptr %129, align 8 ret void } declare double @sqrt(i32 noundef) #1 declare i32 @fabs(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqp4vp0es.c' source_filename = "/tmp/tmpqp4vp0es.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %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 store i32 0, ptr %1, align 4 store i32 123, ptr %2, align 4 br label %10 10: ; preds = %59, %0 %11 = load i32, ptr %2, align 4 %12 = icmp sle i32 %11, 329 br i1 %12, label %13, label %62 13: ; preds = %10 %14 = load i32, ptr %2, align 4 %15 = mul nsw i32 %14, 2 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = mul nsw i32 %16, 3 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %2, align 4 %19 = mul nsw i32 %18, 1000000 %20 = load i32, ptr %3, align 4 %21 = mul nsw i32 %20, 1000 %22 = add nsw i32 %19, %21 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %22, %23 store i32 %24, ptr %5, align 4 store i32 1, ptr %6, align 4 store i32 1, ptr %7, align 4 br label %25 25: ; preds = %47, %13 %26 = load i32, ptr %7, align 4 %27 = icmp sle i32 %26, 9 br i1 %27, label %28, label %50 28: ; preds = %25 %29 = load i32, ptr %5, align 4 store i32 %29, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %30 30: ; preds = %39, %28 %31 = load i32, ptr %8, align 4 %32 = icmp sgt i32 %31, 0 br i1 %32, label %33, label %42 33: ; preds = %30 %34 = load i32, ptr %8, align 4 %35 = srem i32 %34, 10 %36 = load i32, ptr %7, align 4 %37 = icmp eq i32 %35, %36 br i1 %37, label %38, label %39 38: ; preds = %33 store i32 1, ptr %9, align 4 br label %39 39: ; preds = %38, %33 %40 = load i32, ptr %8, align 4 %41 = sdiv i32 %40, 10 store i32 %41, ptr %8, align 4 br label %30, !llvm.loop !6 42: ; preds = %30 %43 = load i32, ptr %9, align 4 %44 = icmp ne i32 %43, 0 br i1 %44, label %46, label %45 45: ; preds = %42 store i32 0, ptr %6, align 4 br label %50 46: ; preds = %42 br label %47 47: ; preds = %46 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %7, align 4 br label %25, !llvm.loop !8 50: ; preds = %45, %25 %51 = load i32, ptr %6, align 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %58 53: ; preds = %50 %54 = load i32, ptr %2, align 4 %55 = load i32, ptr %3, align 4 %56 = load i32, ptr %4, align 4 %57 = call i32 @printf(ptr noundef @.str, i32 noundef %54, i32 noundef %55, i32 noundef %56) br label %58 58: ; preds = %53, %50 br label %59 59: ; preds = %58 %60 = load i32, ptr %2, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %2, align 4 br label %10, !llvm.loop !9 62: ; preds = %10 ret i32 0 } 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpqp4vp0es.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %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 store i32 0, ptr %1, align 4 store i32 123, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp sle i32 %10, 329 br i1 %11, label %.lr.ph4, label %65 .lr.ph4: ; preds = %0 br label %12 12: ; preds = %.lr.ph4, %60 %13 = load i32, ptr %2, align 4 %14 = mul nsw i32 %13, 2 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = mul nsw i32 %15, 3 store i32 %16, ptr %4, align 4 %17 = load i32, ptr %2, align 4 %18 = mul nsw i32 %17, 1000000 %19 = load i32, ptr %3, align 4 %20 = mul nsw i32 %19, 1000 %21 = add nsw i32 %18, %20 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %21, %22 store i32 %23, ptr %5, align 4 store i32 1, ptr %6, align 4 store i32 1, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp sle i32 %24, 9 br i1 %25, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %12 br label %26 26: ; preds = %.lr.ph2, %46 %27 = load i32, ptr %5, align 4 store i32 %27, ptr %8, align 4 store i32 0, ptr %9, align 4 %28 = load i32, ptr %8, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %.lr.ph, label %41 .lr.ph: ; preds = %26 br label %30 30: ; preds = %.lr.ph, %36 %31 = load i32, ptr %8, align 4 %32 = srem i32 %31, 10 %33 = load i32, ptr %7, align 4 %34 = icmp eq i32 %32, %33 br i1 %34, label %35, label %36 35: ; preds = %30 store i32 1, ptr %9, align 4 br label %36 36: ; preds = %35, %30 %37 = load i32, ptr %8, align 4 %38 = sdiv i32 %37, 10 store i32 %38, ptr %8, align 4 %39 = load i32, ptr %8, align 4 %40 = icmp sgt i32 %39, 0 br i1 %40, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %41 41: ; preds = %._crit_edge, %26 %42 = load i32, ptr %9, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %45, label %44 44: ; preds = %41 store i32 0, ptr %6, align 4 br label %51 45: ; preds = %41 br label %46 46: ; preds = %45 %47 = load i32, ptr %7, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %7, align 4 %49 = load i32, ptr %7, align 4 %50 = icmp sle i32 %49, 9 br i1 %50, label %26, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %46 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %12 br label %51 51: ; preds = %.loopexit, %44 %52 = load i32, ptr %6, align 4 %53 = icmp ne i32 %52, 0 br i1 %53, label %54, label %59 54: ; preds = %51 %55 = load i32, ptr %2, align 4 %56 = load i32, ptr %3, align 4 %57 = load i32, ptr %4, align 4 %58 = call i32 @printf(ptr noundef @.str, i32 noundef %55, i32 noundef %56, i32 noundef %57) br label %59 59: ; preds = %54, %51 br label %60 60: ; preds = %59 %61 = load i32, ptr %2, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %2, align 4 %63 = load i32, ptr %2, align 4 %64 = icmp sle i32 %63, 329 br i1 %64, label %12, label %._crit_edge5, !llvm.loop !9 ._crit_edge5: ; preds = %60 br label %65 65: ; preds = %._crit_edge5, %0 ret i32 0 } 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmphbd1e40_.c' source_filename = "/tmp/tmphbd1e40_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"Failed to allocate %zu bytes\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @emalloc(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = mul i64 %6, %7 %9 = call ptr @malloc(i64 noundef %8) #4 store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %20, label %12 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load i64, ptr %3, align 8 %15 = load i64, ptr %4, align 8 %16 = mul i64 %14, %15 %17 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str, i64 noundef %16) %18 = load i32, ptr @EXIT_FAILURE, align 4 %19 = call i32 @exit(i32 noundef %18) #5 unreachable 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 ret ptr %21 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-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 = { allocsize(0) } attributes #5 = { 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/tmphbd1e40_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"Failed to allocate %zu bytes\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @emalloc(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = mul i64 %6, %7 %9 = call ptr @malloc(i64 noundef %8) #4 store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %20, label %12 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load i64, ptr %3, align 8 %15 = load i64, ptr %4, align 8 %16 = mul i64 %14, %15 %17 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str, i64 noundef %16) %18 = load i32, ptr @EXIT_FAILURE, align 4 %19 = call i32 @exit(i32 noundef %18) #5 unreachable 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 ret ptr %21 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-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 = { allocsize(0) } attributes #5 = { 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/tmpq1hf4qie.c' source_filename = "/tmp/tmpq1hf4qie.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PROT_EXEC = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @MAP_ANONYMOUS = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [43 x i8] c"Failed to get space. Please talk to admin\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Give me %d bytes:\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [31 x i8] c"You didn't give me anything :(\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vuln() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = load i32, ptr @PROT_EXEC, align 4 %5 = load i32, ptr @PROT_READ, align 4 %6 = or i32 %4, %5 %7 = load i32, ptr @PROT_WRITE, align 4 %8 = or i32 %6, %7 %9 = load i32, ptr @MAP_PRIVATE, align 4 %10 = load i32, ptr @MAP_ANONYMOUS, align 4 %11 = or i32 %9, %10 %12 = call i64 @mmap(ptr noundef null, i32 noundef 40, i32 noundef %8, i32 noundef %11, i32 noundef 0, i32 noundef 0) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %1, align 8 %14 = load ptr, ptr %1, align 8 %15 = load ptr, ptr @MAP_FAILED, align 8 %16 = icmp eq ptr %14, %15 br i1 %16, label %17, label %20 17: ; preds = %0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str) %19 = call i32 @exit(i32 noundef 0) #3 unreachable 20: ; preds = %0 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 40) %22 = load i32, ptr @stdout, align 4 %23 = call i32 @fflush(i32 noundef %22) %24 = load i32, ptr @STDIN_FILENO, align 4 %25 = load ptr, ptr %1, align 8 %26 = call i32 @read(i32 noundef %24, ptr noundef %25, i32 noundef 40) store i32 %26, ptr %2, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %20 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %31 = call i32 @exit(i32 noundef 0) #3 unreachable 32: ; preds = %20 %33 = load ptr, ptr %1, align 8 store ptr %33, ptr %3, align 8 %34 = load ptr, ptr %3, align 8 call void (...) %34() ret void } declare i64 @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fflush(i32 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" } 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/tmpq1hf4qie.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PROT_EXEC = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @MAP_ANONYMOUS = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [43 x i8] c"Failed to get space. Please talk to admin\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Give me %d bytes:\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [31 x i8] c"You didn't give me anything :(\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vuln() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = load i32, ptr @PROT_EXEC, align 4 %5 = load i32, ptr @PROT_READ, align 4 %6 = or i32 %4, %5 %7 = load i32, ptr @PROT_WRITE, align 4 %8 = or i32 %6, %7 %9 = load i32, ptr @MAP_PRIVATE, align 4 %10 = load i32, ptr @MAP_ANONYMOUS, align 4 %11 = or i32 %9, %10 %12 = call i64 @mmap(ptr noundef null, i32 noundef 40, i32 noundef %8, i32 noundef %11, i32 noundef 0, i32 noundef 0) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %1, align 8 %14 = load ptr, ptr %1, align 8 %15 = load ptr, ptr @MAP_FAILED, align 8 %16 = icmp eq ptr %14, %15 br i1 %16, label %17, label %20 17: ; preds = %0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str) %19 = call i32 @exit(i32 noundef 0) #3 unreachable 20: ; preds = %0 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 40) %22 = load i32, ptr @stdout, align 4 %23 = call i32 @fflush(i32 noundef %22) %24 = load i32, ptr @STDIN_FILENO, align 4 %25 = load ptr, ptr %1, align 8 %26 = call i32 @read(i32 noundef %24, ptr noundef %25, i32 noundef 40) store i32 %26, ptr %2, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %20 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %31 = call i32 @exit(i32 noundef 0) #3 unreachable 32: ; preds = %20 %33 = load ptr, ptr %1, align 8 store ptr %33, ptr %3, align 8 %34 = load ptr, ptr %3, align 8 call void (...) %34() ret void } declare i64 @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fflush(i32 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" } 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/tmpt2bl_y9d.c' source_filename = "/tmp/tmpt2bl_y9d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Error at %d, h = %lf, d = %lf\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"Failed\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"Succeeded\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [992 x double], align 16 %3 = alloca [992 x double], align 16 %4 = alloca [992 x double], align 16 %5 = alloca [992 x double], align 16 %6 = alloca [992 x double], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca 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 i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 %31 = alloca i32, align 4 %32 = alloca i32, align 4 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 store i32 0, ptr %1, align 4 %36 = call i32 (...) @check_offloading() store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %37 37: ; preds = %55, %0 %38 = load i32, ptr %8, align 4 %39 = icmp slt i32 %38, 992 br i1 %39, label %40, label %58 40: ; preds = %37 %41 = load i32, ptr %8, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %42 store double 1.000000e+00, ptr %43, align 8 %44 = load i32, ptr %8, align 4 %45 = sitofp i32 %44 to double %46 = load i32, ptr %8, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [992 x double], ptr %5, i64 0, i64 %47 store double %45, ptr %48, align 8 %49 = load i32, ptr %8, align 4 %50 = sub nsw i32 0, %49 %51 = sitofp i32 %50 to double %52 = load i32, ptr %8, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [992 x double], ptr %6, i64 0, i64 %53 store double %51, ptr %54, align 8 br label %55 55: ; preds = %40 %56 = load i32, ptr %8, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %8, align 4 br label %37, !llvm.loop !6 58: ; preds = %37 store i32 0, ptr %9, align 4 br label %59 59: ; preds = %66, %58 %60 = load i32, ptr %9, align 4 %61 = icmp slt i32 %60, 992 br i1 %61, label %62, label %69 62: ; preds = %59 %63 = load i32, ptr %9, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %64 store double 0.000000e+00, ptr %65, align 8 br label %66 66: ; preds = %62 %67 = load i32, ptr %9, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %9, align 4 br label %59, !llvm.loop !8 69: ; preds = %59 %70 = call i64 (...) @omp_is_initial_device() %71 = icmp ne i64 %70, 0 %72 = zext i1 %71 to i64 %73 = select i1 %71, i32 128, i32 512 store i32 %73, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %74 74: ; preds = %84, %69 %75 = load i32, ptr %11, align 4 %76 = icmp slt i32 %75, 1 br i1 %76, label %77, label %87 77: ; preds = %74 %78 = call i64 (...) @omp_get_team_num() %79 = uitofp i64 %78 to double %80 = call i64 (...) @omp_get_team_num() %81 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %80 %82 = load double, ptr %81, align 8 %83 = fadd double %82, %79 store double %83, ptr %81, align 8 br label %84 84: ; preds = %77 %85 = load i32, ptr %11, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %11, align 4 br label %74, !llvm.loop !9 87: ; preds = %74 store i32 0, ptr %12, align 4 br label %88 88: ; preds = %112, %87 %89 = load i32, ptr %12, align 4 %90 = load i32, ptr %10, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %92, label %115 92: ; preds = %88 %93 = load i32, ptr %12, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %94 %96 = load double, ptr %95, align 8 %97 = load i32, ptr %12, align 4 %98 = mul nsw i32 %97, 1 %99 = sitofp i32 %98 to double %100 = fcmp une double %96, %99 br i1 %100, label %101, label %111 101: ; preds = %92 %102 = load i32, ptr %12, align 4 %103 = load i32, ptr %12, align 4 %104 = sitofp i32 %103 to double %105 = fmul double %104, 1.000000e+00 %106 = load i32, ptr %12, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %107 %109 = load double, ptr %108, align 8 %110 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %102, double noundef %105, double noundef %109) store i32 1, ptr %7, align 4 br label %111 111: ; preds = %101, %92 br label %112 112: ; preds = %111 %113 = load i32, ptr %12, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %12, align 4 br label %88, !llvm.loop !10 115: ; preds = %88 %116 = load i32, ptr %7, align 4 %117 = icmp ne i32 %116, 0 br i1 %117, label %118, label %120 118: ; preds = %115 %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %122 120: ; preds = %115 %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %122 122: ; preds = %120, %118 store i32 0, ptr %13, align 4 br label %123 123: ; preds = %130, %122 %124 = load i32, ptr %13, align 4 %125 = icmp slt i32 %124, 992 br i1 %125, label %126, label %133 126: ; preds = %123 %127 = load i32, ptr %13, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %128 store double 0.000000e+00, ptr %129, align 8 br label %130 130: ; preds = %126 %131 = load i32, ptr %13, align 4 %132 = add nsw i32 %131, 1 store i32 %132, ptr %13, align 4 br label %123, !llvm.loop !11 133: ; preds = %123 store i32 0, ptr %7, align 4 %134 = call i64 (...) @omp_is_initial_device() %135 = icmp ne i64 %134, 0 %136 = zext i1 %135 to i64 %137 = select i1 %135, i32 128, i32 256 store i32 %137, ptr %14, align 4 store i32 0, ptr %15, align 4 br label %138 138: ; preds = %150, %133 %139 = load i32, ptr %15, align 4 %140 = icmp slt i32 %139, 1 br i1 %140, label %141, label %153 141: ; preds = %138 %142 = call i32 (...) @omp_get_thread_num() store i32 %142, ptr %16, align 4 %143 = load i32, ptr %16, align 4 %144 = sitofp i32 %143 to double %145 = load i32, ptr %16, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %146 %148 = load double, ptr %147, align 8 %149 = fadd double %148, %144 store double %149, ptr %147, align 8 br label %150 150: ; preds = %141 %151 = load i32, ptr %15, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %15, align 4 br label %138, !llvm.loop !12 153: ; preds = %138 store i32 0, ptr %17, align 4 br label %154 154: ; preds = %178, %153 %155 = load i32, ptr %17, align 4 %156 = load i32, ptr %14, align 4 %157 = icmp slt i32 %155, %156 br i1 %157, label %158, label %181 158: ; preds = %154 %159 = load i32, ptr %17, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %160 %162 = load double, ptr %161, align 8 %163 = load i32, ptr %17, align 4 %164 = mul nsw i32 %163, 1 %165 = sitofp i32 %164 to double %166 = fcmp une double %162, %165 br i1 %166, label %167, label %177 167: ; preds = %158 %168 = load i32, ptr %17, align 4 %169 = load i32, ptr %17, align 4 %170 = sitofp i32 %169 to double %171 = fmul double %170, 1.000000e+00 %172 = load i32, ptr %17, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %173 %175 = load double, ptr %174, align 8 %176 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %168, double noundef %171, double noundef %175) store i32 1, ptr %7, align 4 br label %177 177: ; preds = %167, %158 br label %178 178: ; preds = %177 %179 = load i32, ptr %17, align 4 %180 = add nsw i32 %179, 1 store i32 %180, ptr %17, align 4 br label %154, !llvm.loop !13 181: ; preds = %154 %182 = load i32, ptr %7, align 4 %183 = icmp ne i32 %182, 0 br i1 %183, label %184, label %186 184: ; preds = %181 %185 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %188 186: ; preds = %181 %187 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %188 188: ; preds = %186, %184 store i32 0, ptr %18, align 4 br label %189 189: ; preds = %196, %188 %190 = load i32, ptr %18, align 4 %191 = icmp slt i32 %190, 992 br i1 %191, label %192, label %199 192: ; preds = %189 %193 = load i32, ptr %18, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %194 store double 0.000000e+00, ptr %195, align 8 br label %196 196: ; preds = %192 %197 = load i32, ptr %18, align 4 %198 = add nsw i32 %197, 1 store i32 %198, ptr %18, align 4 br label %189, !llvm.loop !14 199: ; preds = %189 store i32 0, ptr %7, align 4 %200 = call i64 (...) @omp_is_initial_device() %201 = icmp ne i64 %200, 0 %202 = zext i1 %201 to i64 %203 = select i1 %201, i32 128, i32 512 store i32 %203, ptr %10, align 4 store i32 0, ptr %19, align 4 br label %204 204: ; preds = %228, %199 %205 = load i32, ptr %19, align 4 %206 = icmp slt i32 %205, 1 br i1 %206, label %207, label %231 207: ; preds = %204 %208 = call i64 (...) @omp_get_team_num() %209 = urem i64 %208, 2 %210 = icmp eq i64 %209, 0 br i1 %210, label %211, label %219 211: ; preds = %207 %212 = call i64 (...) @omp_get_team_num() %213 = trunc i64 %212 to i32 store i32 %213, ptr %20, align 4 %214 = load i32, ptr %20, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %215 %217 = load double, ptr %216, align 8 %218 = fadd double %217, 1.000000e+00 store double %218, ptr %216, align 8 br label %227 219: ; preds = %207 %220 = call i64 (...) @omp_get_team_num() %221 = trunc i64 %220 to i32 store i32 %221, ptr %21, align 4 %222 = load i32, ptr %21, align 4 %223 = sext i32 %222 to i64 %224 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %223 %225 = load double, ptr %224, align 8 %226 = fadd double %225, 2.000000e+00 store double %226, ptr %224, align 8 br label %227 227: ; preds = %219, %211 br label %228 228: ; preds = %227 %229 = load i32, ptr %19, align 4 %230 = add nsw i32 %229, 1 store i32 %230, ptr %19, align 4 br label %204, !llvm.loop !15 231: ; preds = %204 store i32 0, ptr %22, align 4 br label %232 232: ; preds = %269, %231 %233 = load i32, ptr %22, align 4 %234 = load i32, ptr %10, align 4 %235 = icmp slt i32 %233, %234 br i1 %235, label %236, label %272 236: ; preds = %232 %237 = load i32, ptr %22, align 4 %238 = srem i32 %237, 2 %239 = icmp eq i32 %238, 0 br i1 %239, label %240, label %254 240: ; preds = %236 %241 = load i32, ptr %22, align 4 %242 = sext i32 %241 to i64 %243 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %242 %244 = load double, ptr %243, align 8 %245 = fcmp une double %244, 1.000000e+00 br i1 %245, label %246, label %253 246: ; preds = %240 %247 = load i32, ptr %22, align 4 %248 = load i32, ptr %22, align 4 %249 = sext i32 %248 to i64 %250 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %249 %251 = load double, ptr %250, align 8 %252 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %247, double noundef 1.000000e+00, double noundef %251) store i32 1, ptr %7, align 4 br label %253 253: ; preds = %246, %240 br label %268 254: ; preds = %236 %255 = load i32, ptr %22, align 4 %256 = sext i32 %255 to i64 %257 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %256 %258 = load double, ptr %257, align 8 %259 = fcmp une double %258, 2.000000e+00 br i1 %259, label %260, label %267 260: ; preds = %254 %261 = load i32, ptr %22, align 4 %262 = load i32, ptr %22, align 4 %263 = sext i32 %262 to i64 %264 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %263 %265 = load double, ptr %264, align 8 %266 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %261, double noundef 2.000000e+00, double noundef %265) store i32 1, ptr %7, align 4 br label %267 267: ; preds = %260, %254 br label %268 268: ; preds = %267, %253 br label %269 269: ; preds = %268 %270 = load i32, ptr %22, align 4 %271 = add nsw i32 %270, 1 store i32 %271, ptr %22, align 4 br label %232, !llvm.loop !16 272: ; preds = %232 %273 = load i32, ptr %7, align 4 %274 = icmp ne i32 %273, 0 br i1 %274, label %275, label %277 275: ; preds = %272 %276 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %279 277: ; preds = %272 %278 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %279 279: ; preds = %277, %275 store i32 0, ptr %23, align 4 br label %280 280: ; preds = %287, %279 %281 = load i32, ptr %23, align 4 %282 = icmp slt i32 %281, 992 br i1 %282, label %283, label %290 283: ; preds = %280 %284 = load i32, ptr %23, align 4 %285 = sext i32 %284 to i64 %286 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %285 store double 0.000000e+00, ptr %286, align 8 br label %287 287: ; preds = %283 %288 = load i32, ptr %23, align 4 %289 = add nsw i32 %288, 1 store i32 %289, ptr %23, align 4 br label %280, !llvm.loop !17 290: ; preds = %280 store i32 0, ptr %7, align 4 store i32 10, ptr %24, align 4 %291 = call i64 (...) @omp_is_initial_device() %292 = icmp ne i64 %291, 0 %293 = zext i1 %292 to i64 %294 = select i1 %292, i32 128, i32 256 store i32 %294, ptr %10, align 4 store i32 0, ptr %25, align 4 br label %295 295: ; preds = %307, %290 %296 = load i32, ptr %25, align 4 %297 = icmp slt i32 %296, 1 br i1 %297, label %298, label %310 298: ; preds = %295 %299 = call i64 (...) @omp_get_team_num() %300 = trunc i64 %299 to i32 store i32 %300, ptr %24, align 4 %301 = load i32, ptr %24, align 4 %302 = sitofp i32 %301 to double %303 = call i64 (...) @omp_get_team_num() %304 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %303 %305 = load double, ptr %304, align 8 %306 = fadd double %305, %302 store double %306, ptr %304, align 8 br label %307 307: ; preds = %298 %308 = load i32, ptr %25, align 4 %309 = add nsw i32 %308, 1 store i32 %309, ptr %25, align 4 br label %295, !llvm.loop !18 310: ; preds = %295 store i32 0, ptr %26, align 4 br label %311 311: ; preds = %335, %310 %312 = load i32, ptr %26, align 4 %313 = load i32, ptr %10, align 4 %314 = icmp slt i32 %312, %313 br i1 %314, label %315, label %338 315: ; preds = %311 %316 = load i32, ptr %26, align 4 %317 = sext i32 %316 to i64 %318 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %317 %319 = load double, ptr %318, align 8 %320 = load i32, ptr %26, align 4 %321 = mul nsw i32 %320, 1 %322 = sitofp i32 %321 to double %323 = fcmp une double %319, %322 br i1 %323, label %324, label %334 324: ; preds = %315 %325 = load i32, ptr %26, align 4 %326 = load i32, ptr %26, align 4 %327 = sitofp i32 %326 to double %328 = fmul double %327, 1.000000e+00 %329 = load i32, ptr %26, align 4 %330 = sext i32 %329 to i64 %331 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %330 %332 = load double, ptr %331, align 8 %333 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %325, double noundef %328, double noundef %332) store i32 1, ptr %7, align 4 br label %334 334: ; preds = %324, %315 br label %335 335: ; preds = %334 %336 = load i32, ptr %26, align 4 %337 = add nsw i32 %336, 1 store i32 %337, ptr %26, align 4 br label %311, !llvm.loop !19 338: ; preds = %311 %339 = load i32, ptr %7, align 4 %340 = icmp ne i32 %339, 0 br i1 %340, label %341, label %343 341: ; preds = %338 %342 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %345 343: ; preds = %338 %344 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %345 345: ; preds = %343, %341 store i32 0, ptr %27, align 4 br label %346 346: ; preds = %353, %345 %347 = load i32, ptr %27, align 4 %348 = icmp slt i32 %347, 992 br i1 %348, label %349, label %356 349: ; preds = %346 %350 = load i32, ptr %27, align 4 %351 = sext i32 %350 to i64 %352 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %351 store double 0.000000e+00, ptr %352, align 8 br label %353 353: ; preds = %349 %354 = load i32, ptr %27, align 4 %355 = add nsw i32 %354, 1 store i32 %355, ptr %27, align 4 br label %346, !llvm.loop !20 356: ; preds = %346 store i32 0, ptr %7, align 4 store i32 10, ptr %24, align 4 %357 = call i64 (...) @omp_is_initial_device() %358 = icmp ne i64 %357, 0 %359 = zext i1 %358 to i64 %360 = select i1 %358, i32 128, i32 256 store i32 %360, ptr %10, align 4 store i32 0, ptr %28, align 4 br label %361 361: ; preds = %376, %356 %362 = load i32, ptr %28, align 4 %363 = icmp slt i32 %362, 1 br i1 %363, label %364, label %379 364: ; preds = %361 %365 = call i64 (...) @omp_get_team_num() %366 = load i32, ptr %24, align 4 %367 = sext i32 %366 to i64 %368 = add i64 %367, %365 %369 = trunc i64 %368 to i32 store i32 %369, ptr %24, align 4 %370 = load i32, ptr %24, align 4 %371 = sitofp i32 %370 to double %372 = call i64 (...) @omp_get_team_num() %373 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %372 %374 = load double, ptr %373, align 8 %375 = fadd double %374, %371 store double %375, ptr %373, align 8 br label %376 376: ; preds = %364 %377 = load i32, ptr %28, align 4 %378 = add nsw i32 %377, 1 store i32 %378, ptr %28, align 4 br label %361, !llvm.loop !21 379: ; preds = %361 store i32 0, ptr %29, align 4 br label %380 380: ; preds = %406, %379 %381 = load i32, ptr %29, align 4 %382 = load i32, ptr %10, align 4 %383 = icmp slt i32 %381, %382 br i1 %383, label %384, label %409 384: ; preds = %380 %385 = load i32, ptr %29, align 4 %386 = sext i32 %385 to i64 %387 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %386 %388 = load double, ptr %387, align 8 %389 = load i32, ptr %29, align 4 %390 = mul nsw i32 %389, 1 %391 = add nsw i32 10, %390 %392 = sitofp i32 %391 to double %393 = fcmp une double %388, %392 br i1 %393, label %394, label %405 394: ; preds = %384 %395 = load i32, ptr %29, align 4 %396 = load i32, ptr %29, align 4 %397 = mul nsw i32 %396, 1 %398 = add nsw i32 10, %397 %399 = sitofp i32 %398 to double %400 = load i32, ptr %29, align 4 %401 = sext i32 %400 to i64 %402 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %401 %403 = load double, ptr %402, align 8 %404 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %395, double noundef %399, double noundef %403) store i32 1, ptr %7, align 4 br label %405 405: ; preds = %394, %384 br label %406 406: ; preds = %405 %407 = load i32, ptr %29, align 4 %408 = add nsw i32 %407, 1 store i32 %408, ptr %29, align 4 br label %380, !llvm.loop !22 409: ; preds = %380 %410 = load i32, ptr %7, align 4 %411 = icmp ne i32 %410, 0 br i1 %411, label %412, label %414 412: ; preds = %409 %413 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %416 414: ; preds = %409 %415 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %416 416: ; preds = %414, %412 store i32 0, ptr %30, align 4 br label %417 417: ; preds = %424, %416 %418 = load i32, ptr %30, align 4 %419 = icmp slt i32 %418, 992 br i1 %419, label %420, label %427 420: ; preds = %417 %421 = load i32, ptr %30, align 4 %422 = sext i32 %421 to i64 %423 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %422 store double 0.000000e+00, ptr %423, align 8 br label %424 424: ; preds = %420 %425 = load i32, ptr %30, align 4 %426 = add nsw i32 %425, 1 store i32 %426, ptr %30, align 4 br label %417, !llvm.loop !23 427: ; preds = %417 store i32 0, ptr %7, align 4 store i32 10, ptr %24, align 4 %428 = call i64 (...) @omp_is_initial_device() %429 = icmp ne i64 %428, 0 %430 = zext i1 %429 to i64 %431 = select i1 %429, i32 128, i32 256 store i32 %431, ptr %10, align 4 store i32 0, ptr %31, align 4 br label %432 432: ; preds = %447, %427 %433 = load i32, ptr %31, align 4 %434 = icmp slt i32 %433, 1 br i1 %434, label %435, label %450 435: ; preds = %432 %436 = call i64 (...) @omp_get_team_num() %437 = load i32, ptr %24, align 4 %438 = sext i32 %437 to i64 %439 = add i64 %438, %436 %440 = trunc i64 %439 to i32 store i32 %440, ptr %24, align 4 %441 = load i32, ptr %24, align 4 %442 = sitofp i32 %441 to double %443 = call i64 (...) @omp_get_team_num() %444 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %443 %445 = load double, ptr %444, align 8 %446 = fadd double %445, %442 store double %446, ptr %444, align 8 br label %447 447: ; preds = %435 %448 = load i32, ptr %31, align 4 %449 = add nsw i32 %448, 1 store i32 %449, ptr %31, align 4 br label %432, !llvm.loop !24 450: ; preds = %432 store i32 0, ptr %32, align 4 br label %451 451: ; preds = %477, %450 %452 = load i32, ptr %32, align 4 %453 = load i32, ptr %10, align 4 %454 = icmp slt i32 %452, %453 br i1 %454, label %455, label %480 455: ; preds = %451 %456 = load i32, ptr %32, align 4 %457 = sext i32 %456 to i64 %458 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %457 %459 = load double, ptr %458, align 8 %460 = load i32, ptr %32, align 4 %461 = mul nsw i32 %460, 1 %462 = add nsw i32 10, %461 %463 = sitofp i32 %462 to double %464 = fcmp une double %459, %463 br i1 %464, label %465, label %476 465: ; preds = %455 %466 = load i32, ptr %32, align 4 %467 = load i32, ptr %32, align 4 %468 = mul nsw i32 %467, 1 %469 = add nsw i32 10, %468 %470 = sitofp i32 %469 to double %471 = load i32, ptr %32, align 4 %472 = sext i32 %471 to i64 %473 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %472 %474 = load double, ptr %473, align 8 %475 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %466, double noundef %470, double noundef %474) store i32 1, ptr %7, align 4 br label %476 476: ; preds = %465, %455 br label %477 477: ; preds = %476 %478 = load i32, ptr %32, align 4 %479 = add nsw i32 %478, 1 store i32 %479, ptr %32, align 4 br label %451, !llvm.loop !25 480: ; preds = %451 %481 = load i32, ptr %7, align 4 %482 = icmp ne i32 %481, 0 br i1 %482, label %483, label %485 483: ; preds = %480 %484 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %487 485: ; preds = %480 %486 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %487 487: ; preds = %485, %483 store i32 0, ptr %33, align 4 br label %488 488: ; preds = %495, %487 %489 = load i32, ptr %33, align 4 %490 = icmp slt i32 %489, 992 br i1 %490, label %491, label %498 491: ; preds = %488 %492 = load i32, ptr %33, align 4 %493 = sext i32 %492 to i64 %494 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %493 store double 0.000000e+00, ptr %494, align 8 br label %495 495: ; preds = %491 %496 = load i32, ptr %33, align 4 %497 = add nsw i32 %496, 1 store i32 %497, ptr %33, align 4 br label %488, !llvm.loop !26 498: ; preds = %488 store i32 0, ptr %7, align 4 store i32 10, ptr %24, align 4 %499 = call i64 (...) @omp_is_initial_device() %500 = icmp ne i64 %499, 0 %501 = zext i1 %500 to i64 %502 = select i1 %500, i32 128, i32 256 store i32 %502, ptr %10, align 4 store i32 0, ptr %34, align 4 br label %503 503: ; preds = %515, %498 %504 = load i32, ptr %34, align 4 %505 = icmp slt i32 %504, 1 br i1 %505, label %506, label %518 506: ; preds = %503 %507 = call i64 (...) @omp_get_team_num() %508 = trunc i64 %507 to i32 store i32 %508, ptr %24, align 4 %509 = load i32, ptr %24, align 4 %510 = sitofp i32 %509 to double %511 = call i64 (...) @omp_get_team_num() %512 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %511 %513 = load double, ptr %512, align 8 %514 = fadd double %513, %510 store double %514, ptr %512, align 8 br label %515 515: ; preds = %506 %516 = load i32, ptr %34, align 4 %517 = add nsw i32 %516, 1 store i32 %517, ptr %34, align 4 br label %503, !llvm.loop !27 518: ; preds = %503 store i32 0, ptr %35, align 4 br label %519 519: ; preds = %543, %518 %520 = load i32, ptr %35, align 4 %521 = load i32, ptr %10, align 4 %522 = icmp slt i32 %520, %521 br i1 %522, label %523, label %546 523: ; preds = %519 %524 = load i32, ptr %35, align 4 %525 = sext i32 %524 to i64 %526 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %525 %527 = load double, ptr %526, align 8 %528 = load i32, ptr %35, align 4 %529 = mul nsw i32 %528, 1 %530 = sitofp i32 %529 to double %531 = fcmp une double %527, %530 br i1 %531, label %532, label %542 532: ; preds = %523 %533 = load i32, ptr %35, align 4 %534 = load i32, ptr %35, align 4 %535 = mul nsw i32 %534, 1 %536 = sitofp i32 %535 to double %537 = load i32, ptr %35, align 4 %538 = sext i32 %537 to i64 %539 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %538 %540 = load double, ptr %539, align 8 %541 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %533, double noundef %536, double noundef %540) store i32 1, ptr %7, align 4 br label %542 542: ; preds = %532, %523 br label %543 543: ; preds = %542 %544 = load i32, ptr %35, align 4 %545 = add nsw i32 %544, 1 store i32 %545, ptr %35, align 4 br label %519, !llvm.loop !28 546: ; preds = %519 %547 = load i32, ptr %7, align 4 %548 = icmp ne i32 %547, 0 br i1 %548, label %549, label %551 549: ; preds = %546 %550 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %553 551: ; preds = %546 %552 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %553 553: ; preds = %551, %549 ret i32 0 } declare i32 @check_offloading(...) #1 declare i64 @omp_is_initial_device(...) #1 declare i64 @omp_get_team_num(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @omp_get_thread_num(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7} !21 = distinct !{!21, !7} !22 = distinct !{!22, !7} !23 = distinct !{!23, !7} !24 = distinct !{!24, !7} !25 = distinct !{!25, !7} !26 = distinct !{!26, !7} !27 = distinct !{!27, !7} !28 = distinct !{!28, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt2bl_y9d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Error at %d, h = %lf, d = %lf\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"Failed\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"Succeeded\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [992 x double], align 16 %3 = alloca [992 x double], align 16 %4 = alloca [992 x double], align 16 %5 = alloca [992 x double], align 16 %6 = alloca [992 x double], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca 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 i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 %31 = alloca i32, align 4 %32 = alloca i32, align 4 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 store i32 0, ptr %1, align 4 %36 = call i32 (...) @check_offloading() store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %37 = load i32, ptr %8, align 4 %38 = icmp slt i32 %37, 992 br i1 %38, label %.lr.ph, label %59 .lr.ph: ; preds = %0 br label %39 39: ; preds = %.lr.ph, %54 %40 = load i32, ptr %8, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [992 x double], ptr %4, i64 0, i64 %41 store double 1.000000e+00, ptr %42, align 8 %43 = load i32, ptr %8, align 4 %44 = sitofp i32 %43 to double %45 = load i32, ptr %8, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [992 x double], ptr %5, i64 0, i64 %46 store double %44, ptr %47, align 8 %48 = load i32, ptr %8, align 4 %49 = sub nsw i32 0, %48 %50 = sitofp i32 %49 to double %51 = load i32, ptr %8, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [992 x double], ptr %6, i64 0, i64 %52 store double %50, ptr %53, align 8 br label %54 54: ; preds = %39 %55 = load i32, ptr %8, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %8, align 4 %57 = load i32, ptr %8, align 4 %58 = icmp slt i32 %57, 992 br i1 %58, label %39, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %54 br label %59 59: ; preds = %._crit_edge, %0 store i32 0, ptr %9, align 4 %60 = load i32, ptr %9, align 4 %61 = icmp slt i32 %60, 992 br i1 %61, label %.lr.ph2, label %71 .lr.ph2: ; preds = %59 br label %62 62: ; preds = %.lr.ph2, %66 %63 = load i32, ptr %9, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %64 store double 0.000000e+00, ptr %65, align 8 br label %66 66: ; preds = %62 %67 = load i32, ptr %9, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %9, align 4 %69 = load i32, ptr %9, align 4 %70 = icmp slt i32 %69, 992 br i1 %70, label %62, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %66 br label %71 71: ; preds = %._crit_edge3, %59 %72 = call i64 (...) @omp_is_initial_device() %73 = icmp ne i64 %72, 0 %74 = zext i1 %73 to i64 %75 = select i1 %73, i32 128, i32 512 store i32 %75, ptr %10, align 4 store i32 0, ptr %11, align 4 %76 = load i32, ptr %11, align 4 %77 = icmp slt i32 %76, 1 br i1 %77, label %.lr.ph5, label %90 .lr.ph5: ; preds = %71 br label %78 78: ; preds = %.lr.ph5, %85 %79 = call i64 (...) @omp_get_team_num() %80 = uitofp i64 %79 to double %81 = call i64 (...) @omp_get_team_num() %82 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %81 %83 = load double, ptr %82, align 8 %84 = fadd double %83, %80 store double %84, ptr %82, align 8 br label %85 85: ; preds = %78 %86 = load i32, ptr %11, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %11, align 4 %88 = load i32, ptr %11, align 4 %89 = icmp slt i32 %88, 1 br i1 %89, label %78, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %85 br label %90 90: ; preds = %._crit_edge6, %71 store i32 0, ptr %12, align 4 %91 = load i32, ptr %12, align 4 %92 = load i32, ptr %10, align 4 %93 = icmp slt i32 %91, %92 br i1 %93, label %.lr.ph8, label %120 .lr.ph8: ; preds = %90 br label %94 94: ; preds = %.lr.ph8, %114 %95 = load i32, ptr %12, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %96 %98 = load double, ptr %97, align 8 %99 = load i32, ptr %12, align 4 %100 = mul nsw i32 %99, 1 %101 = sitofp i32 %100 to double %102 = fcmp une double %98, %101 br i1 %102, label %103, label %113 103: ; preds = %94 %104 = load i32, ptr %12, align 4 %105 = load i32, ptr %12, align 4 %106 = sitofp i32 %105 to double %107 = fmul double %106, 1.000000e+00 %108 = load i32, ptr %12, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %109 %111 = load double, ptr %110, align 8 %112 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %104, double noundef %107, double noundef %111) store i32 1, ptr %7, align 4 br label %113 113: ; preds = %103, %94 br label %114 114: ; preds = %113 %115 = load i32, ptr %12, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %12, align 4 %117 = load i32, ptr %12, align 4 %118 = load i32, ptr %10, align 4 %119 = icmp slt i32 %117, %118 br i1 %119, label %94, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %114 br label %120 120: ; preds = %._crit_edge9, %90 %121 = load i32, ptr %7, align 4 %122 = icmp ne i32 %121, 0 br i1 %122, label %123, label %125 123: ; preds = %120 %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %127 125: ; preds = %120 %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %127 127: ; preds = %125, %123 store i32 0, ptr %13, align 4 %128 = load i32, ptr %13, align 4 %129 = icmp slt i32 %128, 992 br i1 %129, label %.lr.ph11, label %139 .lr.ph11: ; preds = %127 br label %130 130: ; preds = %.lr.ph11, %134 %131 = load i32, ptr %13, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %132 store double 0.000000e+00, ptr %133, align 8 br label %134 134: ; preds = %130 %135 = load i32, ptr %13, align 4 %136 = add nsw i32 %135, 1 store i32 %136, ptr %13, align 4 %137 = load i32, ptr %13, align 4 %138 = icmp slt i32 %137, 992 br i1 %138, label %130, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %134 br label %139 139: ; preds = %._crit_edge12, %127 store i32 0, ptr %7, align 4 %140 = call i64 (...) @omp_is_initial_device() %141 = icmp ne i64 %140, 0 %142 = zext i1 %141 to i64 %143 = select i1 %141, i32 128, i32 256 store i32 %143, ptr %14, align 4 store i32 0, ptr %15, align 4 %144 = load i32, ptr %15, align 4 %145 = icmp slt i32 %144, 1 br i1 %145, label %.lr.ph14, label %160 .lr.ph14: ; preds = %139 br label %146 146: ; preds = %.lr.ph14, %155 %147 = call i32 (...) @omp_get_thread_num() store i32 %147, ptr %16, align 4 %148 = load i32, ptr %16, align 4 %149 = sitofp i32 %148 to double %150 = load i32, ptr %16, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %151 %153 = load double, ptr %152, align 8 %154 = fadd double %153, %149 store double %154, ptr %152, align 8 br label %155 155: ; preds = %146 %156 = load i32, ptr %15, align 4 %157 = add nsw i32 %156, 1 store i32 %157, ptr %15, align 4 %158 = load i32, ptr %15, align 4 %159 = icmp slt i32 %158, 1 br i1 %159, label %146, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %155 br label %160 160: ; preds = %._crit_edge15, %139 store i32 0, ptr %17, align 4 %161 = load i32, ptr %17, align 4 %162 = load i32, ptr %14, align 4 %163 = icmp slt i32 %161, %162 br i1 %163, label %.lr.ph17, label %190 .lr.ph17: ; preds = %160 br label %164 164: ; preds = %.lr.ph17, %184 %165 = load i32, ptr %17, align 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %166 %168 = load double, ptr %167, align 8 %169 = load i32, ptr %17, align 4 %170 = mul nsw i32 %169, 1 %171 = sitofp i32 %170 to double %172 = fcmp une double %168, %171 br i1 %172, label %173, label %183 173: ; preds = %164 %174 = load i32, ptr %17, align 4 %175 = load i32, ptr %17, align 4 %176 = sitofp i32 %175 to double %177 = fmul double %176, 1.000000e+00 %178 = load i32, ptr %17, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %179 %181 = load double, ptr %180, align 8 %182 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %174, double noundef %177, double noundef %181) store i32 1, ptr %7, align 4 br label %183 183: ; preds = %173, %164 br label %184 184: ; preds = %183 %185 = load i32, ptr %17, align 4 %186 = add nsw i32 %185, 1 store i32 %186, ptr %17, align 4 %187 = load i32, ptr %17, align 4 %188 = load i32, ptr %14, align 4 %189 = icmp slt i32 %187, %188 br i1 %189, label %164, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %184 br label %190 190: ; preds = %._crit_edge18, %160 %191 = load i32, ptr %7, align 4 %192 = icmp ne i32 %191, 0 br i1 %192, label %193, label %195 193: ; preds = %190 %194 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %197 195: ; preds = %190 %196 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %197 197: ; preds = %195, %193 store i32 0, ptr %18, align 4 %198 = load i32, ptr %18, align 4 %199 = icmp slt i32 %198, 992 br i1 %199, label %.lr.ph20, label %209 .lr.ph20: ; preds = %197 br label %200 200: ; preds = %.lr.ph20, %204 %201 = load i32, ptr %18, align 4 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %202 store double 0.000000e+00, ptr %203, align 8 br label %204 204: ; preds = %200 %205 = load i32, ptr %18, align 4 %206 = add nsw i32 %205, 1 store i32 %206, ptr %18, align 4 %207 = load i32, ptr %18, align 4 %208 = icmp slt i32 %207, 992 br i1 %208, label %200, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %204 br label %209 209: ; preds = %._crit_edge21, %197 store i32 0, ptr %7, align 4 %210 = call i64 (...) @omp_is_initial_device() %211 = icmp ne i64 %210, 0 %212 = zext i1 %211 to i64 %213 = select i1 %211, i32 128, i32 512 store i32 %213, ptr %10, align 4 store i32 0, ptr %19, align 4 %214 = load i32, ptr %19, align 4 %215 = icmp slt i32 %214, 1 br i1 %215, label %.lr.ph23, label %242 .lr.ph23: ; preds = %209 br label %216 216: ; preds = %.lr.ph23, %237 %217 = call i64 (...) @omp_get_team_num() %218 = urem i64 %217, 2 %219 = icmp eq i64 %218, 0 br i1 %219, label %220, label %228 220: ; preds = %216 %221 = call i64 (...) @omp_get_team_num() %222 = trunc i64 %221 to i32 store i32 %222, ptr %20, align 4 %223 = load i32, ptr %20, align 4 %224 = sext i32 %223 to i64 %225 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %224 %226 = load double, ptr %225, align 8 %227 = fadd double %226, 1.000000e+00 store double %227, ptr %225, align 8 br label %236 228: ; preds = %216 %229 = call i64 (...) @omp_get_team_num() %230 = trunc i64 %229 to i32 store i32 %230, ptr %21, align 4 %231 = load i32, ptr %21, align 4 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %232 %234 = load double, ptr %233, align 8 %235 = fadd double %234, 2.000000e+00 store double %235, ptr %233, align 8 br label %236 236: ; preds = %228, %220 br label %237 237: ; preds = %236 %238 = load i32, ptr %19, align 4 %239 = add nsw i32 %238, 1 store i32 %239, ptr %19, align 4 %240 = load i32, ptr %19, align 4 %241 = icmp slt i32 %240, 1 br i1 %241, label %216, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %237 br label %242 242: ; preds = %._crit_edge24, %209 store i32 0, ptr %22, align 4 %243 = load i32, ptr %22, align 4 %244 = load i32, ptr %10, align 4 %245 = icmp slt i32 %243, %244 br i1 %245, label %.lr.ph26, label %285 .lr.ph26: ; preds = %242 br label %246 246: ; preds = %.lr.ph26, %279 %247 = load i32, ptr %22, align 4 %248 = srem i32 %247, 2 %249 = icmp eq i32 %248, 0 br i1 %249, label %250, label %264 250: ; preds = %246 %251 = load i32, ptr %22, align 4 %252 = sext i32 %251 to i64 %253 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %252 %254 = load double, ptr %253, align 8 %255 = fcmp une double %254, 1.000000e+00 br i1 %255, label %256, label %263 256: ; preds = %250 %257 = load i32, ptr %22, align 4 %258 = load i32, ptr %22, align 4 %259 = sext i32 %258 to i64 %260 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %259 %261 = load double, ptr %260, align 8 %262 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %257, double noundef 1.000000e+00, double noundef %261) store i32 1, ptr %7, align 4 br label %263 263: ; preds = %256, %250 br label %278 264: ; preds = %246 %265 = load i32, ptr %22, align 4 %266 = sext i32 %265 to i64 %267 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %266 %268 = load double, ptr %267, align 8 %269 = fcmp une double %268, 2.000000e+00 br i1 %269, label %270, label %277 270: ; preds = %264 %271 = load i32, ptr %22, align 4 %272 = load i32, ptr %22, align 4 %273 = sext i32 %272 to i64 %274 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %273 %275 = load double, ptr %274, align 8 %276 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %271, double noundef 2.000000e+00, double noundef %275) store i32 1, ptr %7, align 4 br label %277 277: ; preds = %270, %264 br label %278 278: ; preds = %277, %263 br label %279 279: ; preds = %278 %280 = load i32, ptr %22, align 4 %281 = add nsw i32 %280, 1 store i32 %281, ptr %22, align 4 %282 = load i32, ptr %22, align 4 %283 = load i32, ptr %10, align 4 %284 = icmp slt i32 %282, %283 br i1 %284, label %246, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %279 br label %285 285: ; preds = %._crit_edge27, %242 %286 = load i32, ptr %7, align 4 %287 = icmp ne i32 %286, 0 br i1 %287, label %288, label %290 288: ; preds = %285 %289 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %292 290: ; preds = %285 %291 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %292 292: ; preds = %290, %288 store i32 0, ptr %23, align 4 %293 = load i32, ptr %23, align 4 %294 = icmp slt i32 %293, 992 br i1 %294, label %.lr.ph29, label %304 .lr.ph29: ; preds = %292 br label %295 295: ; preds = %.lr.ph29, %299 %296 = load i32, ptr %23, align 4 %297 = sext i32 %296 to i64 %298 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %297 store double 0.000000e+00, ptr %298, align 8 br label %299 299: ; preds = %295 %300 = load i32, ptr %23, align 4 %301 = add nsw i32 %300, 1 store i32 %301, ptr %23, align 4 %302 = load i32, ptr %23, align 4 %303 = icmp slt i32 %302, 992 br i1 %303, label %295, label %._crit_edge30, !llvm.loop !17 ._crit_edge30: ; preds = %299 br label %304 304: ; preds = %._crit_edge30, %292 store i32 0, ptr %7, align 4 store i32 10, ptr %24, align 4 %305 = call i64 (...) @omp_is_initial_device() %306 = icmp ne i64 %305, 0 %307 = zext i1 %306 to i64 %308 = select i1 %306, i32 128, i32 256 store i32 %308, ptr %10, align 4 store i32 0, ptr %25, align 4 %309 = load i32, ptr %25, align 4 %310 = icmp slt i32 %309, 1 br i1 %310, label %.lr.ph32, label %325 .lr.ph32: ; preds = %304 br label %311 311: ; preds = %.lr.ph32, %320 %312 = call i64 (...) @omp_get_team_num() %313 = trunc i64 %312 to i32 store i32 %313, ptr %24, align 4 %314 = load i32, ptr %24, align 4 %315 = sitofp i32 %314 to double %316 = call i64 (...) @omp_get_team_num() %317 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %316 %318 = load double, ptr %317, align 8 %319 = fadd double %318, %315 store double %319, ptr %317, align 8 br label %320 320: ; preds = %311 %321 = load i32, ptr %25, align 4 %322 = add nsw i32 %321, 1 store i32 %322, ptr %25, align 4 %323 = load i32, ptr %25, align 4 %324 = icmp slt i32 %323, 1 br i1 %324, label %311, label %._crit_edge33, !llvm.loop !18 ._crit_edge33: ; preds = %320 br label %325 325: ; preds = %._crit_edge33, %304 store i32 0, ptr %26, align 4 %326 = load i32, ptr %26, align 4 %327 = load i32, ptr %10, align 4 %328 = icmp slt i32 %326, %327 br i1 %328, label %.lr.ph35, label %355 .lr.ph35: ; preds = %325 br label %329 329: ; preds = %.lr.ph35, %349 %330 = load i32, ptr %26, align 4 %331 = sext i32 %330 to i64 %332 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %331 %333 = load double, ptr %332, align 8 %334 = load i32, ptr %26, align 4 %335 = mul nsw i32 %334, 1 %336 = sitofp i32 %335 to double %337 = fcmp une double %333, %336 br i1 %337, label %338, label %348 338: ; preds = %329 %339 = load i32, ptr %26, align 4 %340 = load i32, ptr %26, align 4 %341 = sitofp i32 %340 to double %342 = fmul double %341, 1.000000e+00 %343 = load i32, ptr %26, align 4 %344 = sext i32 %343 to i64 %345 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %344 %346 = load double, ptr %345, align 8 %347 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %339, double noundef %342, double noundef %346) store i32 1, ptr %7, align 4 br label %348 348: ; preds = %338, %329 br label %349 349: ; preds = %348 %350 = load i32, ptr %26, align 4 %351 = add nsw i32 %350, 1 store i32 %351, ptr %26, align 4 %352 = load i32, ptr %26, align 4 %353 = load i32, ptr %10, align 4 %354 = icmp slt i32 %352, %353 br i1 %354, label %329, label %._crit_edge36, !llvm.loop !19 ._crit_edge36: ; preds = %349 br label %355 355: ; preds = %._crit_edge36, %325 %356 = load i32, ptr %7, align 4 %357 = icmp ne i32 %356, 0 br i1 %357, label %358, label %360 358: ; preds = %355 %359 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %362 360: ; preds = %355 %361 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %362 362: ; preds = %360, %358 store i32 0, ptr %27, align 4 %363 = load i32, ptr %27, align 4 %364 = icmp slt i32 %363, 992 br i1 %364, label %.lr.ph38, label %374 .lr.ph38: ; preds = %362 br label %365 365: ; preds = %.lr.ph38, %369 %366 = load i32, ptr %27, align 4 %367 = sext i32 %366 to i64 %368 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %367 store double 0.000000e+00, ptr %368, align 8 br label %369 369: ; preds = %365 %370 = load i32, ptr %27, align 4 %371 = add nsw i32 %370, 1 store i32 %371, ptr %27, align 4 %372 = load i32, ptr %27, align 4 %373 = icmp slt i32 %372, 992 br i1 %373, label %365, label %._crit_edge39, !llvm.loop !20 ._crit_edge39: ; preds = %369 br label %374 374: ; preds = %._crit_edge39, %362 store i32 0, ptr %7, align 4 store i32 10, ptr %24, align 4 %375 = call i64 (...) @omp_is_initial_device() %376 = icmp ne i64 %375, 0 %377 = zext i1 %376 to i64 %378 = select i1 %376, i32 128, i32 256 store i32 %378, ptr %10, align 4 store i32 0, ptr %28, align 4 %379 = load i32, ptr %28, align 4 %380 = icmp slt i32 %379, 1 br i1 %380, label %.lr.ph41, label %398 .lr.ph41: ; preds = %374 br label %381 381: ; preds = %.lr.ph41, %393 %382 = call i64 (...) @omp_get_team_num() %383 = load i32, ptr %24, align 4 %384 = sext i32 %383 to i64 %385 = add i64 %384, %382 %386 = trunc i64 %385 to i32 store i32 %386, ptr %24, align 4 %387 = load i32, ptr %24, align 4 %388 = sitofp i32 %387 to double %389 = call i64 (...) @omp_get_team_num() %390 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %389 %391 = load double, ptr %390, align 8 %392 = fadd double %391, %388 store double %392, ptr %390, align 8 br label %393 393: ; preds = %381 %394 = load i32, ptr %28, align 4 %395 = add nsw i32 %394, 1 store i32 %395, ptr %28, align 4 %396 = load i32, ptr %28, align 4 %397 = icmp slt i32 %396, 1 br i1 %397, label %381, label %._crit_edge42, !llvm.loop !21 ._crit_edge42: ; preds = %393 br label %398 398: ; preds = %._crit_edge42, %374 store i32 0, ptr %29, align 4 %399 = load i32, ptr %29, align 4 %400 = load i32, ptr %10, align 4 %401 = icmp slt i32 %399, %400 br i1 %401, label %.lr.ph44, label %430 .lr.ph44: ; preds = %398 br label %402 402: ; preds = %.lr.ph44, %424 %403 = load i32, ptr %29, align 4 %404 = sext i32 %403 to i64 %405 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %404 %406 = load double, ptr %405, align 8 %407 = load i32, ptr %29, align 4 %408 = mul nsw i32 %407, 1 %409 = add nsw i32 10, %408 %410 = sitofp i32 %409 to double %411 = fcmp une double %406, %410 br i1 %411, label %412, label %423 412: ; preds = %402 %413 = load i32, ptr %29, align 4 %414 = load i32, ptr %29, align 4 %415 = mul nsw i32 %414, 1 %416 = add nsw i32 10, %415 %417 = sitofp i32 %416 to double %418 = load i32, ptr %29, align 4 %419 = sext i32 %418 to i64 %420 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %419 %421 = load double, ptr %420, align 8 %422 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %413, double noundef %417, double noundef %421) store i32 1, ptr %7, align 4 br label %423 423: ; preds = %412, %402 br label %424 424: ; preds = %423 %425 = load i32, ptr %29, align 4 %426 = add nsw i32 %425, 1 store i32 %426, ptr %29, align 4 %427 = load i32, ptr %29, align 4 %428 = load i32, ptr %10, align 4 %429 = icmp slt i32 %427, %428 br i1 %429, label %402, label %._crit_edge45, !llvm.loop !22 ._crit_edge45: ; preds = %424 br label %430 430: ; preds = %._crit_edge45, %398 %431 = load i32, ptr %7, align 4 %432 = icmp ne i32 %431, 0 br i1 %432, label %433, label %435 433: ; preds = %430 %434 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %437 435: ; preds = %430 %436 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %437 437: ; preds = %435, %433 store i32 0, ptr %30, align 4 %438 = load i32, ptr %30, align 4 %439 = icmp slt i32 %438, 992 br i1 %439, label %.lr.ph47, label %449 .lr.ph47: ; preds = %437 br label %440 440: ; preds = %.lr.ph47, %444 %441 = load i32, ptr %30, align 4 %442 = sext i32 %441 to i64 %443 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %442 store double 0.000000e+00, ptr %443, align 8 br label %444 444: ; preds = %440 %445 = load i32, ptr %30, align 4 %446 = add nsw i32 %445, 1 store i32 %446, ptr %30, align 4 %447 = load i32, ptr %30, align 4 %448 = icmp slt i32 %447, 992 br i1 %448, label %440, label %._crit_edge48, !llvm.loop !23 ._crit_edge48: ; preds = %444 br label %449 449: ; preds = %._crit_edge48, %437 store i32 0, ptr %7, align 4 store i32 10, ptr %24, align 4 %450 = call i64 (...) @omp_is_initial_device() %451 = icmp ne i64 %450, 0 %452 = zext i1 %451 to i64 %453 = select i1 %451, i32 128, i32 256 store i32 %453, ptr %10, align 4 store i32 0, ptr %31, align 4 %454 = load i32, ptr %31, align 4 %455 = icmp slt i32 %454, 1 br i1 %455, label %.lr.ph50, label %473 .lr.ph50: ; preds = %449 br label %456 456: ; preds = %.lr.ph50, %468 %457 = call i64 (...) @omp_get_team_num() %458 = load i32, ptr %24, align 4 %459 = sext i32 %458 to i64 %460 = add i64 %459, %457 %461 = trunc i64 %460 to i32 store i32 %461, ptr %24, align 4 %462 = load i32, ptr %24, align 4 %463 = sitofp i32 %462 to double %464 = call i64 (...) @omp_get_team_num() %465 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %464 %466 = load double, ptr %465, align 8 %467 = fadd double %466, %463 store double %467, ptr %465, align 8 br label %468 468: ; preds = %456 %469 = load i32, ptr %31, align 4 %470 = add nsw i32 %469, 1 store i32 %470, ptr %31, align 4 %471 = load i32, ptr %31, align 4 %472 = icmp slt i32 %471, 1 br i1 %472, label %456, label %._crit_edge51, !llvm.loop !24 ._crit_edge51: ; preds = %468 br label %473 473: ; preds = %._crit_edge51, %449 store i32 0, ptr %32, align 4 %474 = load i32, ptr %32, align 4 %475 = load i32, ptr %10, align 4 %476 = icmp slt i32 %474, %475 br i1 %476, label %.lr.ph53, label %505 .lr.ph53: ; preds = %473 br label %477 477: ; preds = %.lr.ph53, %499 %478 = load i32, ptr %32, align 4 %479 = sext i32 %478 to i64 %480 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %479 %481 = load double, ptr %480, align 8 %482 = load i32, ptr %32, align 4 %483 = mul nsw i32 %482, 1 %484 = add nsw i32 10, %483 %485 = sitofp i32 %484 to double %486 = fcmp une double %481, %485 br i1 %486, label %487, label %498 487: ; preds = %477 %488 = load i32, ptr %32, align 4 %489 = load i32, ptr %32, align 4 %490 = mul nsw i32 %489, 1 %491 = add nsw i32 10, %490 %492 = sitofp i32 %491 to double %493 = load i32, ptr %32, align 4 %494 = sext i32 %493 to i64 %495 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %494 %496 = load double, ptr %495, align 8 %497 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %488, double noundef %492, double noundef %496) store i32 1, ptr %7, align 4 br label %498 498: ; preds = %487, %477 br label %499 499: ; preds = %498 %500 = load i32, ptr %32, align 4 %501 = add nsw i32 %500, 1 store i32 %501, ptr %32, align 4 %502 = load i32, ptr %32, align 4 %503 = load i32, ptr %10, align 4 %504 = icmp slt i32 %502, %503 br i1 %504, label %477, label %._crit_edge54, !llvm.loop !25 ._crit_edge54: ; preds = %499 br label %505 505: ; preds = %._crit_edge54, %473 %506 = load i32, ptr %7, align 4 %507 = icmp ne i32 %506, 0 br i1 %507, label %508, label %510 508: ; preds = %505 %509 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %512 510: ; preds = %505 %511 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %512 512: ; preds = %510, %508 store i32 0, ptr %33, align 4 %513 = load i32, ptr %33, align 4 %514 = icmp slt i32 %513, 992 br i1 %514, label %.lr.ph56, label %524 .lr.ph56: ; preds = %512 br label %515 515: ; preds = %.lr.ph56, %519 %516 = load i32, ptr %33, align 4 %517 = sext i32 %516 to i64 %518 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %517 store double 0.000000e+00, ptr %518, align 8 br label %519 519: ; preds = %515 %520 = load i32, ptr %33, align 4 %521 = add nsw i32 %520, 1 store i32 %521, ptr %33, align 4 %522 = load i32, ptr %33, align 4 %523 = icmp slt i32 %522, 992 br i1 %523, label %515, label %._crit_edge57, !llvm.loop !26 ._crit_edge57: ; preds = %519 br label %524 524: ; preds = %._crit_edge57, %512 store i32 0, ptr %7, align 4 store i32 10, ptr %24, align 4 %525 = call i64 (...) @omp_is_initial_device() %526 = icmp ne i64 %525, 0 %527 = zext i1 %526 to i64 %528 = select i1 %526, i32 128, i32 256 store i32 %528, ptr %10, align 4 store i32 0, ptr %34, align 4 %529 = load i32, ptr %34, align 4 %530 = icmp slt i32 %529, 1 br i1 %530, label %.lr.ph59, label %545 .lr.ph59: ; preds = %524 br label %531 531: ; preds = %.lr.ph59, %540 %532 = call i64 (...) @omp_get_team_num() %533 = trunc i64 %532 to i32 store i32 %533, ptr %24, align 4 %534 = load i32, ptr %24, align 4 %535 = sitofp i32 %534 to double %536 = call i64 (...) @omp_get_team_num() %537 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %536 %538 = load double, ptr %537, align 8 %539 = fadd double %538, %535 store double %539, ptr %537, align 8 br label %540 540: ; preds = %531 %541 = load i32, ptr %34, align 4 %542 = add nsw i32 %541, 1 store i32 %542, ptr %34, align 4 %543 = load i32, ptr %34, align 4 %544 = icmp slt i32 %543, 1 br i1 %544, label %531, label %._crit_edge60, !llvm.loop !27 ._crit_edge60: ; preds = %540 br label %545 545: ; preds = %._crit_edge60, %524 store i32 0, ptr %35, align 4 %546 = load i32, ptr %35, align 4 %547 = load i32, ptr %10, align 4 %548 = icmp slt i32 %546, %547 br i1 %548, label %.lr.ph62, label %575 .lr.ph62: ; preds = %545 br label %549 549: ; preds = %.lr.ph62, %569 %550 = load i32, ptr %35, align 4 %551 = sext i32 %550 to i64 %552 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %551 %553 = load double, ptr %552, align 8 %554 = load i32, ptr %35, align 4 %555 = mul nsw i32 %554, 1 %556 = sitofp i32 %555 to double %557 = fcmp une double %553, %556 br i1 %557, label %558, label %568 558: ; preds = %549 %559 = load i32, ptr %35, align 4 %560 = load i32, ptr %35, align 4 %561 = mul nsw i32 %560, 1 %562 = sitofp i32 %561 to double %563 = load i32, ptr %35, align 4 %564 = sext i32 %563 to i64 %565 = getelementptr inbounds [992 x double], ptr %2, i64 0, i64 %564 %566 = load double, ptr %565, align 8 %567 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %559, double noundef %562, double noundef %566) store i32 1, ptr %7, align 4 br label %568 568: ; preds = %558, %549 br label %569 569: ; preds = %568 %570 = load i32, ptr %35, align 4 %571 = add nsw i32 %570, 1 store i32 %571, ptr %35, align 4 %572 = load i32, ptr %35, align 4 %573 = load i32, ptr %10, align 4 %574 = icmp slt i32 %572, %573 br i1 %574, label %549, label %._crit_edge63, !llvm.loop !28 ._crit_edge63: ; preds = %569 br label %575 575: ; preds = %._crit_edge63, %545 %576 = load i32, ptr %7, align 4 %577 = icmp ne i32 %576, 0 br i1 %577, label %578, label %580 578: ; preds = %575 %579 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %582 580: ; preds = %575 %581 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %582 582: ; preds = %580, %578 ret i32 0 } declare i32 @check_offloading(...) #1 declare i64 @omp_is_initial_device(...) #1 declare i64 @omp_get_team_num(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @omp_get_thread_num(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7} !21 = distinct !{!21, !7} !22 = distinct !{!22, !7} !23 = distinct !{!23, !7} !24 = distinct !{!24, !7} !25 = distinct !{!25, !7} !26 = distinct !{!26, !7} !27 = distinct !{!27, !7} !28 = distinct !{!28, !7}
; ModuleID = '/tmp/tmptij0i72b.c' source_filename = "/tmp/tmptij0i72b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"Orlando\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"hello\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 [50 x i8], align 16 store i32 0, ptr %1, align 4 store i32 19, ptr %2, align 4 %4 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %5 = call i32 @strcpy(ptr noundef %4, ptr noundef @.str) %6 = load i32, ptr %2, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6) %8 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %8) store i32 15, ptr %2, align 4 %10 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @strcpy(ptr noundef %10, ptr noundef @.str.3) %12 = load i32, ptr %2, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12) %14 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %14) ret i32 0 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptij0i72b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"Orlando\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"hello\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 [50 x i8], align 16 store i32 0, ptr %1, align 4 store i32 19, ptr %2, align 4 %4 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %5 = call i32 @strcpy(ptr noundef %4, ptr noundef @.str) %6 = load i32, ptr %2, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6) %8 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %8) store i32 15, ptr %2, align 4 %10 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @strcpy(ptr noundef %10, ptr noundef @.str.3) %12 = load i32, ptr %2, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12) %14 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %14) ret i32 0 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbv4qq2__.c' source_filename = "/tmp/tmpbv4qq2__.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"Error: invalid line segment list in write_svg.\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"Error: invalid image size in write_svg.\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @stdout = dso_local global ptr null, align 8 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [39 x i8] c"Error: unable to open SVG output file.\00", align 1 @.str.5 = private unnamed_addr constant [39 x i8] c"<?xml version=\221.0\22 standalone=\22no\22?>\0A\00", align 1 @.str.6 = private unnamed_addr constant [48 x i8] c"<!DOCTYPE svg PUBLIC \22-//W3C//DTD SVG 1.1//EN\22\0A\00", align 1 @.str.7 = private unnamed_addr constant [54 x i8] c" \22http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\22>\0A\00", align 1 @.str.8 = private unnamed_addr constant [33 x i8] c"<svg width=\22%dpx\22 height=\22%dpx\22 \00", align 1 @.str.9 = private unnamed_addr constant [51 x i8] c"version=\221.1\22\0A xmlns=\22http://www.w3.org/2000/svg\22 \00", align 1 @.str.10 = private unnamed_addr constant [45 x i8] c"xmlns:xlink=\22http://www.w3.org/1999/xlink\22>\0A\00", align 1 @.str.11 = private unnamed_addr constant [39 x i8] c"<line x1=\22%f\22 y1=\22%f\22 x2=\22%f\22 y2=\22%f\22 \00", align 1 @.str.12 = private unnamed_addr constant [37 x i8] c"stroke-width=\22%f\22 stroke=\22black\22 />\0A\00", align 1 @.str.13 = private unnamed_addr constant [8 x i8] c"</svg>\0A\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.14 = private unnamed_addr constant [52 x i8] c"Error: unable to close file while writing SVG file.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_svg(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, double noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca double, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store i32 %2, ptr %10, align 4 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 store double %6, ptr %14, align 8 %17 = load ptr, ptr %8, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %25, label %19 19: ; preds = %7 %20 = load i32, ptr %9, align 4 %21 = icmp slt i32 %20, 0 br i1 %21, label %25, label %22 22: ; preds = %19 %23 = load i32, ptr %10, align 4 %24 = icmp sle i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %22, %19, %7 %26 = call i32 @error(ptr noundef @.str) br label %27 27: ; preds = %25, %22 %28 = load i32, ptr %12, align 4 %29 = icmp sle i32 %28, 0 br i1 %29, label %33, label %30 30: ; preds = %27 %31 = load i32, ptr %13, align 4 %32 = icmp sle i32 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %30, %27 %34 = call i32 @error(ptr noundef @.str.1) br label %35 35: ; preds = %33, %30 %36 = load ptr, ptr %11, align 8 %37 = call i64 @strcmp(ptr noundef %36, ptr noundef @.str.2) %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %35 %40 = load ptr, ptr @stdout, align 8 store ptr %40, ptr %15, align 8 br label %44 41: ; preds = %35 %42 = load ptr, ptr %11, align 8 %43 = call ptr @fopen(ptr noundef %42, ptr noundef @.str.3) store ptr %43, ptr %15, align 8 br label %44 44: ; preds = %41, %39 %45 = load ptr, ptr %15, align 8 %46 = icmp eq ptr %45, null br i1 %46, label %47, label %49 47: ; preds = %44 %48 = call i32 @error(ptr noundef @.str.4) br label %49 49: ; preds = %47, %44 %50 = load ptr, ptr %15, align 8 %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.5) %52 = load ptr, ptr %15, align 8 %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.6) %54 = load ptr, ptr %15, align 8 %55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef @.str.7) %56 = load ptr, ptr %15, align 8 %57 = load i32, ptr %12, align 4 %58 = load i32, ptr %13, align 4 %59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef @.str.8, i32 noundef %57, i32 noundef %58) %60 = load ptr, ptr %15, align 8 %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef @.str.9) %62 = load ptr, ptr %15, align 8 %63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.10) store i32 0, ptr %16, align 4 br label %64 64: ; preds = %120, %49 %65 = load i32, ptr %16, align 4 %66 = load i32, ptr %9, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %68, label %123 68: ; preds = %64 %69 = load ptr, ptr %15, align 8 %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %16, align 4 %72 = load i32, ptr %10, align 4 %73 = mul nsw i32 %71, %72 %74 = add nsw i32 %73, 0 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds double, ptr %70, i64 %75 %77 = load double, ptr %76, align 8 %78 = load ptr, ptr %8, align 8 %79 = load i32, ptr %16, align 4 %80 = load i32, ptr %10, align 4 %81 = mul nsw i32 %79, %80 %82 = add nsw i32 %81, 1 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds double, ptr %78, i64 %83 %85 = load double, ptr %84, align 8 %86 = load ptr, ptr %8, align 8 %87 = load i32, ptr %16, align 4 %88 = load i32, ptr %10, align 4 %89 = mul nsw i32 %87, %88 %90 = add nsw i32 %89, 2 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds double, ptr %86, i64 %91 %93 = load double, ptr %92, align 8 %94 = load ptr, ptr %8, align 8 %95 = load i32, ptr %16, align 4 %96 = load i32, ptr %10, align 4 %97 = mul nsw i32 %95, %96 %98 = add nsw i32 %97, 3 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds double, ptr %94, i64 %99 %101 = load double, ptr %100, align 8 %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str.11, double noundef %77, double noundef %85, double noundef %93, double noundef %101) %103 = load ptr, ptr %15, align 8 %104 = load double, ptr %14, align 8 %105 = fcmp ole double %104, 0.000000e+00 br i1 %105, label %106, label %115 106: ; preds = %68 %107 = load ptr, ptr %8, align 8 %108 = load i32, ptr %16, align 4 %109 = load i32, ptr %10, align 4 %110 = mul nsw i32 %108, %109 %111 = add nsw i32 %110, 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds double, ptr %107, i64 %112 %114 = load double, ptr %113, align 8 br label %117 115: ; preds = %68 %116 = load double, ptr %14, align 8 br label %117 117: ; preds = %115, %106 %118 = phi double [ %114, %106 ], [ %116, %115 ] %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef @.str.12, double noundef %118) br label %120 120: ; preds = %117 %121 = load i32, ptr %16, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %16, align 4 br label %64, !llvm.loop !6 123: ; preds = %64 %124 = load ptr, ptr %15, align 8 %125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %124, ptr noundef @.str.13) %126 = load ptr, ptr %15, align 8 %127 = load ptr, ptr @stdout, align 8 %128 = icmp ne ptr %126, %127 br i1 %128, label %129, label %136 129: ; preds = %123 %130 = load ptr, ptr %15, align 8 %131 = call i64 @fclose(ptr noundef %130) %132 = load i64, ptr @EOF, align 8 %133 = icmp eq i64 %131, %132 br i1 %133, label %134, label %136 134: ; preds = %129 %135 = call i32 @error(ptr noundef @.str.14) br label %136 136: ; preds = %134, %129, %123 ret void } declare i32 @error(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i64 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbv4qq2__.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"Error: invalid line segment list in write_svg.\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"Error: invalid image size in write_svg.\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @stdout = dso_local global ptr null, align 8 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [39 x i8] c"Error: unable to open SVG output file.\00", align 1 @.str.5 = private unnamed_addr constant [39 x i8] c"<?xml version=\221.0\22 standalone=\22no\22?>\0A\00", align 1 @.str.6 = private unnamed_addr constant [48 x i8] c"<!DOCTYPE svg PUBLIC \22-//W3C//DTD SVG 1.1//EN\22\0A\00", align 1 @.str.7 = private unnamed_addr constant [54 x i8] c" \22http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\22>\0A\00", align 1 @.str.8 = private unnamed_addr constant [33 x i8] c"<svg width=\22%dpx\22 height=\22%dpx\22 \00", align 1 @.str.9 = private unnamed_addr constant [51 x i8] c"version=\221.1\22\0A xmlns=\22http://www.w3.org/2000/svg\22 \00", align 1 @.str.10 = private unnamed_addr constant [45 x i8] c"xmlns:xlink=\22http://www.w3.org/1999/xlink\22>\0A\00", align 1 @.str.11 = private unnamed_addr constant [39 x i8] c"<line x1=\22%f\22 y1=\22%f\22 x2=\22%f\22 y2=\22%f\22 \00", align 1 @.str.12 = private unnamed_addr constant [37 x i8] c"stroke-width=\22%f\22 stroke=\22black\22 />\0A\00", align 1 @.str.13 = private unnamed_addr constant [8 x i8] c"</svg>\0A\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.14 = private unnamed_addr constant [52 x i8] c"Error: unable to close file while writing SVG file.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_svg(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, double noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca double, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store i32 %2, ptr %10, align 4 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 store double %6, ptr %14, align 8 %17 = load ptr, ptr %8, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %25, label %19 19: ; preds = %7 %20 = load i32, ptr %9, align 4 %21 = icmp slt i32 %20, 0 br i1 %21, label %25, label %22 22: ; preds = %19 %23 = load i32, ptr %10, align 4 %24 = icmp sle i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %22, %19, %7 %26 = call i32 @error(ptr noundef @.str) br label %27 27: ; preds = %25, %22 %28 = load i32, ptr %12, align 4 %29 = icmp sle i32 %28, 0 br i1 %29, label %33, label %30 30: ; preds = %27 %31 = load i32, ptr %13, align 4 %32 = icmp sle i32 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %30, %27 %34 = call i32 @error(ptr noundef @.str.1) br label %35 35: ; preds = %33, %30 %36 = load ptr, ptr %11, align 8 %37 = call i64 @strcmp(ptr noundef %36, ptr noundef @.str.2) %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %35 %40 = load ptr, ptr @stdout, align 8 store ptr %40, ptr %15, align 8 br label %44 41: ; preds = %35 %42 = load ptr, ptr %11, align 8 %43 = call ptr @fopen(ptr noundef %42, ptr noundef @.str.3) store ptr %43, ptr %15, align 8 br label %44 44: ; preds = %41, %39 %45 = load ptr, ptr %15, align 8 %46 = icmp eq ptr %45, null br i1 %46, label %47, label %49 47: ; preds = %44 %48 = call i32 @error(ptr noundef @.str.4) br label %49 49: ; preds = %47, %44 %50 = load ptr, ptr %15, align 8 %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.5) %52 = load ptr, ptr %15, align 8 %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.6) %54 = load ptr, ptr %15, align 8 %55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef @.str.7) %56 = load ptr, ptr %15, align 8 %57 = load i32, ptr %12, align 4 %58 = load i32, ptr %13, align 4 %59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef @.str.8, i32 noundef %57, i32 noundef %58) %60 = load ptr, ptr %15, align 8 %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef @.str.9) %62 = load ptr, ptr %15, align 8 %63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.10) store i32 0, ptr %16, align 4 %64 = load i32, ptr %16, align 4 %65 = load i32, ptr %9, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %.lr.ph, label %125 .lr.ph: ; preds = %49 br label %67 67: ; preds = %.lr.ph, %119 %68 = load ptr, ptr %15, align 8 %69 = load ptr, ptr %8, align 8 %70 = load i32, ptr %16, align 4 %71 = load i32, ptr %10, align 4 %72 = mul nsw i32 %70, %71 %73 = add nsw i32 %72, 0 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds double, ptr %69, i64 %74 %76 = load double, ptr %75, align 8 %77 = load ptr, ptr %8, align 8 %78 = load i32, ptr %16, align 4 %79 = load i32, ptr %10, align 4 %80 = mul nsw i32 %78, %79 %81 = add nsw i32 %80, 1 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds double, ptr %77, i64 %82 %84 = load double, ptr %83, align 8 %85 = load ptr, ptr %8, align 8 %86 = load i32, ptr %16, align 4 %87 = load i32, ptr %10, align 4 %88 = mul nsw i32 %86, %87 %89 = add nsw i32 %88, 2 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds double, ptr %85, i64 %90 %92 = load double, ptr %91, align 8 %93 = load ptr, ptr %8, align 8 %94 = load i32, ptr %16, align 4 %95 = load i32, ptr %10, align 4 %96 = mul nsw i32 %94, %95 %97 = add nsw i32 %96, 3 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds double, ptr %93, i64 %98 %100 = load double, ptr %99, align 8 %101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef @.str.11, double noundef %76, double noundef %84, double noundef %92, double noundef %100) %102 = load ptr, ptr %15, align 8 %103 = load double, ptr %14, align 8 %104 = fcmp ole double %103, 0.000000e+00 br i1 %104, label %105, label %114 105: ; preds = %67 %106 = load ptr, ptr %8, align 8 %107 = load i32, ptr %16, align 4 %108 = load i32, ptr %10, align 4 %109 = mul nsw i32 %107, %108 %110 = add nsw i32 %109, 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds double, ptr %106, i64 %111 %113 = load double, ptr %112, align 8 br label %116 114: ; preds = %67 %115 = load double, ptr %14, align 8 br label %116 116: ; preds = %114, %105 %117 = phi double [ %113, %105 ], [ %115, %114 ] %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef @.str.12, double noundef %117) br label %119 119: ; preds = %116 %120 = load i32, ptr %16, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %16, align 4 %122 = load i32, ptr %16, align 4 %123 = load i32, ptr %9, align 4 %124 = icmp slt i32 %122, %123 br i1 %124, label %67, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %119 br label %125 125: ; preds = %._crit_edge, %49 %126 = load ptr, ptr %15, align 8 %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %126, ptr noundef @.str.13) %128 = load ptr, ptr %15, align 8 %129 = load ptr, ptr @stdout, align 8 %130 = icmp ne ptr %128, %129 br i1 %130, label %131, label %138 131: ; preds = %125 %132 = load ptr, ptr %15, align 8 %133 = call i64 @fclose(ptr noundef %132) %134 = load i64, ptr @EOF, align 8 %135 = icmp eq i64 %133, %134 br i1 %135, label %136, label %138 136: ; preds = %131 %137 = call i32 @error(ptr noundef @.str.14) br label %138 138: ; preds = %136, %131, %125 ret void } declare i32 @error(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i64 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpxr6i6350.c' source_filename = "/tmp/tmpxr6i6350.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"dungeon:\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 3, ptr %2, align 4 store i32 3, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 8 %10 = trunc i64 %9 to i32 %11 = call ptr @malloc(i32 noundef %10) store ptr %11, ptr %6, align 8 store i32 0, ptr %4, align 4 br label %12 12: ; preds = %26, %0 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %29 16: ; preds = %12 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = mul i64 %18, 4 %20 = trunc i64 %19 to i32 %21 = call ptr @malloc(i32 noundef %20) %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %4, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %22, i64 %24 store ptr %21, ptr %25, align 8 br label %26 26: ; preds = %16 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %4, align 4 br label %12, !llvm.loop !6 29: ; preds = %12 %30 = load ptr, ptr %6, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 0 %32 = load ptr, ptr %31, align 8 %33 = getelementptr inbounds i32, ptr %32, i64 0 store i32 1, ptr %33, align 4 %34 = load ptr, ptr %6, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 0 %36 = load ptr, ptr %35, align 8 %37 = getelementptr inbounds i32, ptr %36, i64 1 store i32 -3, ptr %37, align 4 %38 = load ptr, ptr %6, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 0 %40 = load ptr, ptr %39, align 8 %41 = getelementptr inbounds i32, ptr %40, i64 2 store i32 3, ptr %41, align 4 %42 = load ptr, ptr %6, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 1 %44 = load ptr, ptr %43, align 8 %45 = getelementptr inbounds i32, ptr %44, i64 0 store i32 0, ptr %45, align 4 %46 = load ptr, ptr %6, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 1 %48 = load ptr, ptr %47, align 8 %49 = getelementptr inbounds i32, ptr %48, i64 1 store i32 -2, ptr %49, align 4 %50 = load ptr, ptr %6, align 8 %51 = getelementptr inbounds ptr, ptr %50, i64 1 %52 = load ptr, ptr %51, align 8 %53 = getelementptr inbounds i32, ptr %52, i64 2 store i32 0, ptr %53, align 4 %54 = load ptr, ptr %6, align 8 %55 = getelementptr inbounds ptr, ptr %54, i64 2 %56 = load ptr, ptr %55, align 8 %57 = getelementptr inbounds i32, ptr %56, i64 0 store i32 -3, ptr %57, align 4 %58 = load ptr, ptr %6, align 8 %59 = getelementptr inbounds ptr, ptr %58, i64 2 %60 = load ptr, ptr %59, align 8 %61 = getelementptr inbounds i32, ptr %60, i64 1 store i32 -3, ptr %61, align 4 %62 = load ptr, ptr %6, align 8 %63 = getelementptr inbounds ptr, ptr %62, i64 2 %64 = load ptr, ptr %63, align 8 %65 = getelementptr inbounds i32, ptr %64, i64 2 store i32 -3, ptr %65, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %4, align 4 br label %67 67: ; preds = %92, %29 %68 = load i32, ptr %4, align 4 %69 = load i32, ptr %2, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %71, label %95 71: ; preds = %67 store i32 0, ptr %5, align 4 br label %72 72: ; preds = %87, %71 %73 = load i32, ptr %5, align 4 %74 = load i32, ptr %3, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %76, label %90 76: ; preds = %72 %77 = load ptr, ptr %6, align 8 %78 = load i32, ptr %4, 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 %5, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %81, i64 %83 %85 = load i32, ptr %84, align 4 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %85) br label %87 87: ; preds = %76 %88 = load i32, ptr %5, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %5, align 4 br label %72, !llvm.loop !8 90: ; preds = %72 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %92 92: ; preds = %90 %93 = load i32, ptr %4, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %4, align 4 br label %67, !llvm.loop !9 95: ; preds = %67 %96 = load ptr, ptr %6, align 8 %97 = load i32, ptr %2, align 4 %98 = load i32, ptr %3, align 4 %99 = call i32 @calculateMinimumHP(ptr noundef %96, i32 noundef %97, i32 noundef %98) %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %99) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @calculateMinimumHP(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxr6i6350.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"dungeon:\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 3, ptr %2, align 4 store i32 3, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 8 %10 = trunc i64 %9 to i32 %11 = call ptr @malloc(i32 noundef %10) store ptr %11, ptr %6, align 8 store i32 0, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %31 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %25 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = mul i64 %17, 4 %19 = trunc i64 %18 to i32 %20 = call ptr @malloc(i32 noundef %19) %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 store ptr %20, ptr %24, align 8 br label %25 25: ; preds = %15 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %4, align 4 %28 = load i32, ptr %4, align 4 %29 = load i32, ptr %2, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %0 %32 = load ptr, ptr %6, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 0 %34 = load ptr, ptr %33, align 8 %35 = getelementptr inbounds i32, ptr %34, i64 0 store i32 1, ptr %35, align 4 %36 = load ptr, ptr %6, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 0 %38 = load ptr, ptr %37, align 8 %39 = getelementptr inbounds i32, ptr %38, i64 1 store i32 -3, ptr %39, align 4 %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 0 %42 = load ptr, ptr %41, align 8 %43 = getelementptr inbounds i32, ptr %42, i64 2 store i32 3, ptr %43, align 4 %44 = load ptr, ptr %6, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 1 %46 = load ptr, ptr %45, align 8 %47 = getelementptr inbounds i32, ptr %46, i64 0 store i32 0, ptr %47, align 4 %48 = load ptr, ptr %6, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 1 %50 = load ptr, ptr %49, align 8 %51 = getelementptr inbounds i32, ptr %50, i64 1 store i32 -2, ptr %51, align 4 %52 = load ptr, ptr %6, align 8 %53 = getelementptr inbounds ptr, ptr %52, i64 1 %54 = load ptr, ptr %53, align 8 %55 = getelementptr inbounds i32, ptr %54, i64 2 store i32 0, ptr %55, align 4 %56 = load ptr, ptr %6, align 8 %57 = getelementptr inbounds ptr, ptr %56, i64 2 %58 = load ptr, ptr %57, align 8 %59 = getelementptr inbounds i32, ptr %58, i64 0 store i32 -3, ptr %59, align 4 %60 = load ptr, ptr %6, align 8 %61 = getelementptr inbounds ptr, ptr %60, i64 2 %62 = load ptr, ptr %61, align 8 %63 = getelementptr inbounds i32, ptr %62, i64 1 store i32 -3, ptr %63, align 4 %64 = load ptr, ptr %6, align 8 %65 = getelementptr inbounds ptr, ptr %64, i64 2 %66 = load ptr, ptr %65, align 8 %67 = getelementptr inbounds i32, ptr %66, i64 2 store i32 -3, ptr %67, align 4 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %4, align 4 %69 = load i32, ptr %4, align 4 %70 = load i32, ptr %2, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %.lr.ph5, label %101 .lr.ph5: ; preds = %31 br label %72 72: ; preds = %.lr.ph5, %95 store i32 0, ptr %5, align 4 %73 = load i32, ptr %5, align 4 %74 = load i32, ptr %3, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %.lr.ph2, label %93 .lr.ph2: ; preds = %72 br label %76 76: ; preds = %.lr.ph2, %87 %77 = load ptr, ptr %6, align 8 %78 = load i32, ptr %4, 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 %5, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %81, i64 %83 %85 = load i32, ptr %84, align 4 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %85) br label %87 87: ; preds = %76 %88 = load i32, ptr %5, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %5, align 4 %90 = load i32, ptr %5, align 4 %91 = load i32, ptr %3, align 4 %92 = icmp slt i32 %90, %91 br i1 %92, label %76, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %87 br label %93 93: ; preds = %._crit_edge3, %72 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %95 95: ; preds = %93 %96 = load i32, ptr %4, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %4, align 4 %98 = load i32, ptr %4, align 4 %99 = load i32, ptr %2, align 4 %100 = icmp slt i32 %98, %99 br i1 %100, label %72, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %95 br label %101 101: ; preds = %._crit_edge6, %31 %102 = load ptr, ptr %6, align 8 %103 = load i32, ptr %2, align 4 %104 = load i32, ptr %3, align 4 %105 = call i32 @calculateMinimumHP(ptr noundef %102, i32 noundef %103, i32 noundef %104) %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %105) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @calculateMinimumHP(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpsb946wzh.c' source_filename = "/tmp/tmpsb946wzh.c" target datalayout = "e-m:e-p270: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 [18 x i8] c"MYMEMCPY IN USE!\0A\00", align 1 @llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @__init_mymemcpy, ptr null }] ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__init_mymemcpy() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsb946wzh.c" target datalayout = "e-m:e-p270: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 [18 x i8] c"MYMEMCPY IN USE!\0A\00", align 1 @llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @__init_mymemcpy, ptr null }] ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__init_mymemcpy() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi7ahw881.c' source_filename = "/tmp/tmpi7ahw881.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 15, ptr %6, align 8 store i32 0, ptr %7, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 0, %9 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr %7, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %7, align 4 br label %14 14: ; preds = %11, %2 %15 = load i32, ptr %4, align 4 %16 = icmp ne i32 0, %15 br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %18, -1 store i32 %19, ptr %7, align 4 br label %20 20: ; preds = %17, %14 %21 = load i64, ptr %6, align 8 %22 = load i32, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = add i64 %21, %23 %25 = call ptr @malloc(i64 noundef %24) #2 store ptr %25, ptr %8, align 8 %26 = load ptr, ptr %8, align 8 %27 = load i64, ptr %6, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 store i8 0, ptr %28, align 1 %29 = load i32, ptr %3, align 4 ret i32 %29 } ; Function Attrs: allocsize(0) declare ptr @malloc(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 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi7ahw881.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 15, ptr %6, align 8 store i32 0, ptr %7, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 0, %9 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr %7, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %7, align 4 br label %14 14: ; preds = %11, %2 %15 = load i32, ptr %4, align 4 %16 = icmp ne i32 0, %15 br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %18, -1 store i32 %19, ptr %7, align 4 br label %20 20: ; preds = %17, %14 %21 = load i64, ptr %6, align 8 %22 = load i32, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = add i64 %21, %23 %25 = call ptr @malloc(i64 noundef %24) #2 store ptr %25, ptr %8, align 8 %26 = load ptr, ptr %8, align 8 %27 = load i64, ptr %6, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 store i8 0, ptr %28, align 1 %29 = load i32, ptr %3, align 4 ret i32 %29 } ; Function Attrs: allocsize(0) declare ptr @malloc(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 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp65h2cyyu.c' source_filename = "/tmp/tmp65h2cyyu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPC_CREAT = dso_local global i32 0, align 4 @IPC_EXCL = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @IPC_RMID = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i64 65536, ptr %5, align 8 %7 = call i64 (...) @getpid() store i64 %7, ptr %4, align 8 %8 = load i64, ptr %4, align 8 %9 = load i64, ptr %5, align 8 %10 = load i32, ptr @IPC_CREAT, align 4 %11 = load i32, ptr @IPC_EXCL, align 4 %12 = or i32 %10, %11 %13 = load i32, ptr @S_IRUSR, align 4 %14 = or i32 %12, %13 %15 = load i32, ptr @S_IWUSR, align 4 %16 = or i32 %14, %15 %17 = call i32 @shmget(i64 noundef %8, i64 noundef %9, i32 noundef %16) store i32 %17, ptr %2, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %0 store i32 -1, ptr %1, align 4 br label %35 21: ; preds = %0 %22 = load i32, ptr %2, align 4 %23 = call ptr @shmat(i32 noundef %22, ptr noundef null, i32 noundef 0) store ptr %23, ptr %6, align 8 %24 = load ptr, ptr %6, align 8 %25 = icmp eq ptr %24, inttoptr (i64 -1 to ptr) br i1 %25, label %26, label %27 26: ; preds = %21 br label %30 27: ; preds = %21 %28 = load ptr, ptr %6, align 8 %29 = call i32 @shmdt(ptr noundef %28) br label %30 30: ; preds = %27, %26 %31 = load i32, ptr %2, align 4 %32 = load i32, ptr @IPC_RMID, align 4 %33 = call i32 @shmctl(i32 noundef %31, i32 noundef %32, ptr noundef null) store i32 %33, ptr %3, align 4 %34 = load i32, ptr %3, align 4 store i32 0, ptr %1, align 4 br label %35 35: ; preds = %30, %20 %36 = load i32, ptr %1, align 4 ret i32 %36 } declare i64 @getpid(...) #1 declare i32 @shmget(i64 noundef, i64 noundef, i32 noundef) #1 declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @shmdt(ptr noundef) #1 declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp65h2cyyu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPC_CREAT = dso_local global i32 0, align 4 @IPC_EXCL = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @IPC_RMID = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i64 65536, ptr %5, align 8 %7 = call i64 (...) @getpid() store i64 %7, ptr %4, align 8 %8 = load i64, ptr %4, align 8 %9 = load i64, ptr %5, align 8 %10 = load i32, ptr @IPC_CREAT, align 4 %11 = load i32, ptr @IPC_EXCL, align 4 %12 = or i32 %10, %11 %13 = load i32, ptr @S_IRUSR, align 4 %14 = or i32 %12, %13 %15 = load i32, ptr @S_IWUSR, align 4 %16 = or i32 %14, %15 %17 = call i32 @shmget(i64 noundef %8, i64 noundef %9, i32 noundef %16) store i32 %17, ptr %2, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %0 store i32 -1, ptr %1, align 4 br label %35 21: ; preds = %0 %22 = load i32, ptr %2, align 4 %23 = call ptr @shmat(i32 noundef %22, ptr noundef null, i32 noundef 0) store ptr %23, ptr %6, align 8 %24 = load ptr, ptr %6, align 8 %25 = icmp eq ptr %24, inttoptr (i64 -1 to ptr) br i1 %25, label %26, label %27 26: ; preds = %21 br label %30 27: ; preds = %21 %28 = load ptr, ptr %6, align 8 %29 = call i32 @shmdt(ptr noundef %28) br label %30 30: ; preds = %27, %26 %31 = load i32, ptr %2, align 4 %32 = load i32, ptr @IPC_RMID, align 4 %33 = call i32 @shmctl(i32 noundef %31, i32 noundef %32, ptr noundef null) store i32 %33, ptr %3, align 4 %34 = load i32, ptr %3, align 4 store i32 0, ptr %1, align 4 br label %35 35: ; preds = %30, %20 %36 = load i32, ptr %1, align 4 ret i32 %36 } declare i64 @getpid(...) #1 declare i32 @shmget(i64 noundef, i64 noundef, i32 noundef) #1 declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @shmdt(ptr noundef) #1 declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzwhq0xq0.c' source_filename = "/tmp/tmpzwhq0xq0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"*** assertion failed ***\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"%s:%d: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Assert_fatal_error(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr @stderr, align 4 %8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str) %9 = load i32, ptr @stderr, align 4 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %6, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.1, ptr noundef %10, i32 noundef %11, ptr noundef %12) %14 = 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/tmpzwhq0xq0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"*** assertion failed ***\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"%s:%d: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Assert_fatal_error(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr @stderr, align 4 %8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str) %9 = load i32, ptr @stderr, align 4 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %6, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.1, ptr noundef %10, i32 noundef %11, ptr noundef %12) %14 = 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/tmp9lduwh4m.c' source_filename = "/tmp/tmp9lduwh4m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ok %d - %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"strings\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"failed %d - %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"benchmark\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 %7 = call i64 (...) @test_binheap_strings() %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %2 %10 = load i32, ptr %6, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %6, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %10, ptr noundef @.str.1) br label %17 13: ; preds = %2 %14 = load i32, ptr %6, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %6, align 4 %16 = call i32 @printf(ptr noundef @.str.2, i32 noundef %14, ptr noundef @.str.1) br label %17 17: ; preds = %13, %9 %18 = call i64 (...) @test_binheap_uint64_benchmark() %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %17 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %21, ptr noundef @.str.3) br label %28 24: ; preds = %17 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %6, align 4 %27 = call i32 @printf(ptr noundef @.str.2, i32 noundef %25, ptr noundef @.str.3) br label %28 28: ; preds = %24, %20 ret i32 0 } declare i64 @test_binheap_strings(...) #1 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @test_binheap_uint64_benchmark(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9lduwh4m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ok %d - %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"strings\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"failed %d - %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"benchmark\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 %7 = call i64 (...) @test_binheap_strings() %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %2 %10 = load i32, ptr %6, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %6, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %10, ptr noundef @.str.1) br label %17 13: ; preds = %2 %14 = load i32, ptr %6, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %6, align 4 %16 = call i32 @printf(ptr noundef @.str.2, i32 noundef %14, ptr noundef @.str.1) br label %17 17: ; preds = %13, %9 %18 = call i64 (...) @test_binheap_uint64_benchmark() %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %17 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %21, ptr noundef @.str.3) br label %28 24: ; preds = %17 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %6, align 4 %27 = call i32 @printf(ptr noundef @.str.2, i32 noundef %25, ptr noundef @.str.3) br label %28 28: ; preds = %24, %20 ret i32 0 } declare i64 @test_binheap_strings(...) #1 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @test_binheap_uint64_benchmark(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0gb0n0a2.c' source_filename = "/tmp/tmp0gb0n0a2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @already_sent.old_messages = internal global [20 x [256 x i8]] zeroinitializer, align 16 @already_sent.index = internal global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @already_sent(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 = %18, %1 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 20 br i1 %7, label %8, label %21 8: ; preds = %5 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [20 x [256 x i8]], ptr @already_sent.old_messages, i64 0, i64 %11 %13 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0 %14 = call i32 @strcmp(ptr noundef %9, ptr noundef %13) %15 = icmp ne i32 %14, 0 br i1 %15, label %17, label %16 16: ; preds = %8 store i32 1, ptr %2, align 4 br label %35 17: ; preds = %8 br label %18 18: ; preds = %17 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 br label %5, !llvm.loop !6 21: ; preds = %5 %22 = load i32, ptr @already_sent.index, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [20 x [256 x i8]], ptr @already_sent.old_messages, i64 0, i64 %23 %25 = getelementptr inbounds [256 x i8], ptr %24, i64 0, i64 0 %26 = load ptr, ptr %3, align 8 %27 = call i32 @strncpy(ptr noundef %25, ptr noundef %26, i32 noundef 256) %28 = load i32, ptr @already_sent.index, align 4 %29 = icmp eq i32 %28, 19 br i1 %29, label %30, label %31 30: ; preds = %21 store i32 0, ptr @already_sent.index, align 4 br label %34 31: ; preds = %21 %32 = load i32, ptr @already_sent.index, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr @already_sent.index, align 4 br label %34 34: ; preds = %31, %30 store i32 0, ptr %2, align 4 br label %35 35: ; preds = %34, %16 %36 = load i32, ptr %2, align 4 ret i32 %36 } declare i32 @strcmp(ptr noundef, ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0gb0n0a2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @already_sent.old_messages = internal global [20 x [256 x i8]] zeroinitializer, align 16 @already_sent.index = internal global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @already_sent(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 i32, ptr %4, align 4 %6 = icmp slt i32 %5, 20 br i1 %6, label %.lr.ph, label %22 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %17 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [20 x [256 x i8]], ptr @already_sent.old_messages, i64 0, i64 %10 %12 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %13 = call i32 @strcmp(ptr noundef %8, ptr noundef %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %16, label %15 15: ; preds = %7 store i32 1, ptr %2, align 4 br label %36 16: ; preds = %7 br label %17 17: ; preds = %16 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %20, 20 br i1 %21, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %1 %23 = load i32, ptr @already_sent.index, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [20 x [256 x i8]], ptr @already_sent.old_messages, i64 0, i64 %24 %26 = getelementptr inbounds [256 x i8], ptr %25, i64 0, i64 0 %27 = load ptr, ptr %3, align 8 %28 = call i32 @strncpy(ptr noundef %26, ptr noundef %27, i32 noundef 256) %29 = load i32, ptr @already_sent.index, align 4 %30 = icmp eq i32 %29, 19 br i1 %30, label %31, label %32 31: ; preds = %22 store i32 0, ptr @already_sent.index, align 4 br label %35 32: ; preds = %22 %33 = load i32, ptr @already_sent.index, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr @already_sent.index, align 4 br label %35 35: ; preds = %32, %31 store i32 0, ptr %2, align 4 br label %36 36: ; preds = %35, %15 %37 = load i32, ptr %2, align 4 ret i32 %37 } declare i32 @strcmp(ptr noundef, ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1ap975vr.c' source_filename = "/tmp/tmp1ap975vr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am in thread function\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Alarm beeping\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\07\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @th_alarm(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str) %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %5, align 4 %7 = call i32 @sleep(i32 noundef %6) %8 = call i32 @printf(ptr noundef @.str.1) %9 = call i32 @printf(ptr noundef @.str.2) ret ptr null } declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1ap975vr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am in thread function\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Alarm beeping\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\07\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @th_alarm(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str) %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %5, align 4 %7 = call i32 @sleep(i32 noundef %6) %8 = call i32 @printf(ptr noundef @.str.1) %9 = call i32 @printf(ptr noundef @.str.2) ret ptr null } declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4qz7il36.c' source_filename = "/tmp/tmp4qz7il36.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wait_input() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %0, %6 %3 = call i32 (...) @getchar() store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 switch i32 %4, label %6 [ i32 104, label %5 ] 5: ; preds = %2 ret void 6: ; preds = %2 br label %2 } declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4qz7il36.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wait_input() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %6, %0 %3 = call i32 (...) @getchar() store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 switch i32 %4, label %6 [ i32 104, label %5 ] 5: ; preds = %2 ret void 6: ; preds = %2 br label %2 } declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2sb8dsq4.c' source_filename = "/tmp/tmp2sb8dsq4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @sys_nerr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"Error #%3d: %s\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 = %12, %0 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @sys_nerr, align 4 %6 = icmp slt i32 %4, %5 br i1 %6, label %7, label %15 7: ; preds = %3 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = call ptr @strerror(i32 noundef %9) %11 = call i32 @printf(ptr noundef @.str, i32 noundef %8, ptr noundef %10) br label %12 12: ; preds = %7 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 br label %3, !llvm.loop !6 15: ; preds = %3 %16 = load i32, ptr %1, align 4 ret i32 %16 } declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strerror(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/tmp2sb8dsq4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @sys_nerr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"Error #%3d: %s\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 = load i32, ptr @sys_nerr, align 4 %5 = icmp slt i32 %3, %4 br i1 %5, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %11 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = call ptr @strerror(i32 noundef %8) %10 = call i32 @printf(ptr noundef @.str, i32 noundef %7, ptr noundef %9) br label %11 11: ; preds = %6 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr @sys_nerr, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %17 17: ; preds = %._crit_edge, %0 %18 = load i32, ptr %1, align 4 ret i32 %18 } declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strerror(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/tmp_jazrn8z.c' source_filename = "/tmp/tmp_jazrn8z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_jazrn8z.c" target datalayout = "e-m:e-p270: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/tmpdzd7yx9y.c' source_filename = "/tmp/tmpdzd7yx9y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @make_pair_table_pk(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @vrna_pt_pk_get(ptr noundef %3) ret ptr %4 } declare ptr @vrna_pt_pk_get(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdzd7yx9y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @make_pair_table_pk(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @vrna_pt_pk_get(ptr noundef %3) ret ptr %4 } declare ptr @vrna_pt_pk_get(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp41qgsuui.c' source_filename = "/tmp/tmp41qgsuui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"short = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"int = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"long = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"long long = %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"pointer = %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"float = %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"double = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i16, align 2 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i16 2, ptr %2, align 2 store i32 4, ptr %3, align 4 store i32 8, ptr %4, align 4 store i32 8, ptr %5, align 4 store i32 8, ptr %6, align 4 store i32 4, ptr %7, align 4 store i32 8, ptr %8, align 4 %9 = load i16, ptr %2, align 2 %10 = sext i16 %9 to i32 %11 = mul nsw i32 %10, 8 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) %13 = load i32, ptr %3, align 4 %14 = mul nsw i32 %13, 8 %15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14) %16 = load i32, ptr %4, align 4 %17 = mul nsw i32 %16, 8 %18 = call i32 @printf(ptr noundef @.str.2, i32 noundef %17) %19 = load i32, ptr %5, align 4 %20 = mul nsw i32 %19, 8 %21 = call i32 @printf(ptr noundef @.str.3, i32 noundef %20) %22 = load i32, ptr %6, align 4 %23 = mul nsw i32 %22, 8 %24 = call i32 @printf(ptr noundef @.str.4, i32 noundef %23) %25 = load i32, ptr %7, align 4 %26 = mul nsw i32 %25, 8 %27 = call i32 @printf(ptr noundef @.str.5, i32 noundef %26) %28 = load i32, ptr %8, align 4 %29 = mul nsw i32 %28, 8 %30 = call i32 @printf(ptr noundef @.str.6, i32 noundef %29) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp41qgsuui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"short = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"int = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"long = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"long long = %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"pointer = %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"float = %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"double = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i16, align 2 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i16 2, ptr %2, align 2 store i32 4, ptr %3, align 4 store i32 8, ptr %4, align 4 store i32 8, ptr %5, align 4 store i32 8, ptr %6, align 4 store i32 4, ptr %7, align 4 store i32 8, ptr %8, align 4 %9 = load i16, ptr %2, align 2 %10 = sext i16 %9 to i32 %11 = mul nsw i32 %10, 8 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) %13 = load i32, ptr %3, align 4 %14 = mul nsw i32 %13, 8 %15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14) %16 = load i32, ptr %4, align 4 %17 = mul nsw i32 %16, 8 %18 = call i32 @printf(ptr noundef @.str.2, i32 noundef %17) %19 = load i32, ptr %5, align 4 %20 = mul nsw i32 %19, 8 %21 = call i32 @printf(ptr noundef @.str.3, i32 noundef %20) %22 = load i32, ptr %6, align 4 %23 = mul nsw i32 %22, 8 %24 = call i32 @printf(ptr noundef @.str.4, i32 noundef %23) %25 = load i32, ptr %7, align 4 %26 = mul nsw i32 %25, 8 %27 = call i32 @printf(ptr noundef @.str.5, i32 noundef %26) %28 = load i32, ptr %8, align 4 %29 = mul nsw i32 %28, 8 %30 = call i32 @printf(ptr noundef @.str.6, i32 noundef %29) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp__5yppgl.c' source_filename = "/tmp/tmp__5yppgl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"log\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @jsonZcbLog(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @jsonZcbString(ptr noundef @.str, ptr noundef %3) ret ptr %4 } declare ptr @jsonZcbString(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/tmp__5yppgl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"log\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @jsonZcbLog(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @jsonZcbString(ptr noundef @.str, ptr noundef %3) ret ptr %4 } declare ptr @jsonZcbString(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/tmp37u20ikd.c' source_filename = "/tmp/tmp37u20ikd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UP3D_GetProgramState() #0 { %1 = alloca i32, align 4 %2 = call i32 @UP3D_GetParameter(i32 noundef 1) store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp slt i32 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %0 %6 = load i32, ptr %1, align 4 %7 = icmp sgt i32 %6, 3 br i1 %7, label %8, label %9 8: ; preds = %5, %0 store i32 4, ptr %1, align 4 br label %9 9: ; preds = %8, %5 %10 = load i32, ptr %1, align 4 ret i32 %10 } declare i32 @UP3D_GetParameter(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/tmp37u20ikd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UP3D_GetProgramState() #0 { %1 = alloca i32, align 4 %2 = call i32 @UP3D_GetParameter(i32 noundef 1) store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp slt i32 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %0 %6 = load i32, ptr %1, align 4 %7 = icmp sgt i32 %6, 3 br i1 %7, label %8, label %9 8: ; preds = %5, %0 store i32 4, ptr %1, align 4 br label %9 9: ; preds = %8, %5 %10 = load i32, ptr %1, align 4 ret i32 %10 } declare i32 @UP3D_GetParameter(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/tmpfq58ncar.c' source_filename = "/tmp/tmpfq58ncar.c" target datalayout = "e-m:e-p270: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.flock = type { i32, i32, ptr, i32 } @.str = private unnamed_addr constant [9 x i8] c"test.txt\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"Uso: %s 'filename'\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @F_WRLCK = dso_local global i32 0, align 4 @SEEK_SET = dso_local global ptr null, align 8 @F_SETLK = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [12 x i8] c"Bloccato...\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @F_UNLCK = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.flock, align 8 %8 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %8, align 8 %9 = load ptr, ptr %8, align 8 %10 = load i32, ptr @O_RDWR, align 4 %11 = load i32, ptr @O_CREAT, align 4 %12 = or i32 %10, %11 %13 = call i32 @open(ptr noundef %9, i32 noundef %12) store i32 %13, ptr %6, align 4 %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %23 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1, ptr noundef %19) %21 = load i32, ptr @EXIT_FAILURE, align 4 %22 = call i32 @exit(i32 noundef %21) #3 unreachable 23: ; preds = %2 %24 = load i32, ptr @F_WRLCK, align 4 %25 = getelementptr inbounds %struct.flock, ptr %7, i32 0, i32 3 store i32 %24, ptr %25, align 8 %26 = load ptr, ptr @SEEK_SET, align 8 %27 = getelementptr inbounds %struct.flock, ptr %7, i32 0, i32 2 store ptr %26, ptr %27, align 8 %28 = getelementptr inbounds %struct.flock, ptr %7, i32 0, i32 0 store i32 4, ptr %28, align 8 %29 = getelementptr inbounds %struct.flock, ptr %7, i32 0, i32 1 store i32 2, ptr %29, align 4 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr @F_SETLK, align 4 %32 = call i32 @fcntl(i32 noundef %30, i32 noundef %31, ptr noundef %7) %33 = icmp eq i32 %32, -1 br i1 %33, label %34, label %36 34: ; preds = %23 %35 = call i32 @printf(ptr noundef @.str.2) br label %49 36: ; preds = %23 %37 = call i32 (...) @getchar() %38 = load i32, ptr %6, align 4 %39 = load ptr, ptr @SEEK_SET, align 8 %40 = call i32 @lseek(i32 noundef %38, i64 noundef 2, ptr noundef %39) %41 = load i32, ptr %6, align 4 %42 = call i32 @write(i32 noundef %41, ptr noundef @.str.3, i32 noundef 2) %43 = load i32, ptr @F_UNLCK, align 4 %44 = getelementptr inbounds %struct.flock, ptr %7, i32 0, i32 3 store i32 %43, ptr %44, align 8 %45 = load ptr, ptr @SEEK_SET, align 8 %46 = getelementptr inbounds %struct.flock, ptr %7, i32 0, i32 2 store ptr %45, ptr %46, align 8 %47 = getelementptr inbounds %struct.flock, ptr %7, i32 0, i32 0 store i32 4, ptr %47, align 8 %48 = getelementptr inbounds %struct.flock, ptr %7, i32 0, i32 1 store i32 2, ptr %48, align 4 br label %49 49: ; preds = %36, %34 %50 = load i32, ptr %6, align 4 %51 = call i32 @close(i32 noundef %50) %52 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %52 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fcntl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @getchar(...) #1 declare i32 @lseek(i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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/tmpfq58ncar.c" target datalayout = "e-m:e-p270: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.flock = type { i32, i32, ptr, i32 } @.str = private unnamed_addr constant [9 x i8] c"test.txt\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"Uso: %s 'filename'\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @F_WRLCK = dso_local global i32 0, align 4 @SEEK_SET = dso_local global ptr null, align 8 @F_SETLK = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [12 x i8] c"Bloccato...\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @F_UNLCK = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.flock, align 8 %8 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %8, align 8 %9 = load ptr, ptr %8, align 8 %10 = load i32, ptr @O_RDWR, align 4 %11 = load i32, ptr @O_CREAT, align 4 %12 = or i32 %10, %11 %13 = call i32 @open(ptr noundef %9, i32 noundef %12) store i32 %13, ptr %6, align 4 %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %23 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1, ptr noundef %19) %21 = load i32, ptr @EXIT_FAILURE, align 4 %22 = call i32 @exit(i32 noundef %21) #3 unreachable 23: ; preds = %2 %24 = load i32, ptr @F_WRLCK, align 4 %25 = getelementptr inbounds %struct.flock, ptr %7, i32 0, i32 3 store i32 %24, ptr %25, align 8 %26 = load ptr, ptr @SEEK_SET, align 8 %27 = getelementptr inbounds %struct.flock, ptr %7, i32 0, i32 2 store ptr %26, ptr %27, align 8 %28 = getelementptr inbounds %struct.flock, ptr %7, i32 0, i32 0 store i32 4, ptr %28, align 8 %29 = getelementptr inbounds %struct.flock, ptr %7, i32 0, i32 1 store i32 2, ptr %29, align 4 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr @F_SETLK, align 4 %32 = call i32 @fcntl(i32 noundef %30, i32 noundef %31, ptr noundef %7) %33 = icmp eq i32 %32, -1 br i1 %33, label %34, label %36 34: ; preds = %23 %35 = call i32 @printf(ptr noundef @.str.2) br label %49 36: ; preds = %23 %37 = call i32 (...) @getchar() %38 = load i32, ptr %6, align 4 %39 = load ptr, ptr @SEEK_SET, align 8 %40 = call i32 @lseek(i32 noundef %38, i64 noundef 2, ptr noundef %39) %41 = load i32, ptr %6, align 4 %42 = call i32 @write(i32 noundef %41, ptr noundef @.str.3, i32 noundef 2) %43 = load i32, ptr @F_UNLCK, align 4 %44 = getelementptr inbounds %struct.flock, ptr %7, i32 0, i32 3 store i32 %43, ptr %44, align 8 %45 = load ptr, ptr @SEEK_SET, align 8 %46 = getelementptr inbounds %struct.flock, ptr %7, i32 0, i32 2 store ptr %45, ptr %46, align 8 %47 = getelementptr inbounds %struct.flock, ptr %7, i32 0, i32 0 store i32 4, ptr %47, align 8 %48 = getelementptr inbounds %struct.flock, ptr %7, i32 0, i32 1 store i32 2, ptr %48, align 4 br label %49 49: ; preds = %36, %34 %50 = load i32, ptr %6, align 4 %51 = call i32 @close(i32 noundef %50) %52 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %52 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fcntl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @getchar(...) #1 declare i32 @lseek(i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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/tmpaby_jj1z.c' source_filename = "/tmp/tmpaby_jj1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%fe%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__etoa(ptr noundef %0, double noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 store ptr %0, ptr %4, align 8 store double %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load double, ptr %5, align 8 %9 = call i32 @log10(double noundef %8) %10 = call double @floor(i32 noundef %9) store double %10, ptr %7, align 8 %11 = load double, ptr %7, align 8 %12 = call double @pow(double noundef 1.000000e+01, double noundef %11) #3 %13 = load double, ptr %5, align 8 %14 = fdiv double %13, %12 store double %14, ptr %5, align 8 %15 = load ptr, ptr %4, align 8 %16 = load double, ptr %5, align 8 %17 = load double, ptr %7, align 8 %18 = fptosi double %17 to i32 %19 = call i32 @sprintf(ptr noundef %15, ptr noundef @.str, double noundef %16, i32 noundef %18) ret i32 0 } declare double @floor(i32 noundef) #1 declare i32 @log10(double noundef) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, double 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 = { 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/tmpaby_jj1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%fe%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__etoa(ptr noundef %0, double noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 store ptr %0, ptr %4, align 8 store double %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load double, ptr %5, align 8 %9 = call i32 @log10(double noundef %8) %10 = call double @floor(i32 noundef %9) store double %10, ptr %7, align 8 %11 = load double, ptr %7, align 8 %12 = call double @pow(double noundef 1.000000e+01, double noundef %11) #3 %13 = load double, ptr %5, align 8 %14 = fdiv double %13, %12 store double %14, ptr %5, align 8 %15 = load ptr, ptr %4, align 8 %16 = load double, ptr %5, align 8 %17 = load double, ptr %7, align 8 %18 = fptosi double %17 to i32 %19 = call i32 @sprintf(ptr noundef %15, ptr noundef @.str, double noundef %16, i32 noundef %18) ret i32 0 } declare double @floor(i32 noundef) #1 declare i32 @log10(double noundef) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, double 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 = { 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/tmp_099hyoa.c' source_filename = "/tmp/tmp_099hyoa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mov_reg64_imm64(i32 noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store i64 %1, ptr %4, align 8 %5 = call i32 @put8(i32 noundef 72) %6 = load i32, ptr %3, align 4 %7 = add nsw i32 184, %6 %8 = call i32 @put8(i32 noundef %7) %9 = load i64, ptr %4, align 8 %10 = call i32 @put64(i64 noundef %9) ret void } declare i32 @put8(i32 noundef) #1 declare i32 @put64(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/tmp_099hyoa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mov_reg64_imm64(i32 noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store i64 %1, ptr %4, align 8 %5 = call i32 @put8(i32 noundef 72) %6 = load i32, ptr %3, align 4 %7 = add nsw i32 184, %6 %8 = call i32 @put8(i32 noundef %7) %9 = load i64, ptr %4, align 8 %10 = call i32 @put64(i64 noundef %9) ret void } declare i32 @put8(i32 noundef) #1 declare i32 @put64(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/tmp_yx72lyp.c' source_filename = "/tmp/tmp_yx72lyp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"S\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c" ` `\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c" `` \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c" }+\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @createNexaString(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %18 = load ptr, ptr %9, align 8 store i8 0, ptr %18, align 1 store i32 0, ptr %14, align 4 store i32 6, ptr %15, align 4 store i32 1, ptr %17, align 4 %19 = load ptr, ptr %6, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = sub nsw i32 %21, 65 store i32 %22, ptr %11, align 4 %23 = load ptr, ptr %7, align 8 %24 = call i32 @atoi(ptr noundef %23) %25 = sub nsw i32 %24, 1 store i32 %25, ptr %12, align 4 %26 = load ptr, ptr %8, align 8 %27 = call i32 @atoi(ptr noundef %26) store i32 %27, ptr %13, align 4 %28 = load i32, ptr %11, align 4 %29 = icmp slt i32 %28, 0 br i1 %29, label %45, label %30 30: ; preds = %5 %31 = load i32, ptr %11, align 4 %32 = icmp sgt i32 %31, 15 br i1 %32, label %45, label %33 33: ; preds = %30 %34 = load i32, ptr %12, align 4 %35 = icmp slt i32 %34, 0 br i1 %35, label %45, label %36 36: ; preds = %33 %37 = load i32, ptr %12, align 4 %38 = icmp sgt i32 %37, 15 br i1 %38, label %45, label %39 39: ; preds = %36 %40 = load i32, ptr %13, align 4 %41 = icmp slt i32 %40, 0 br i1 %41, label %45, label %42 42: ; preds = %39 %43 = load i32, ptr %13, align 4 %44 = icmp sgt i32 %43, 1 br i1 %44, label %45, label %46 45: ; preds = %42, %39, %36, %33, %30, %5 br label %91 46: ; preds = %42 %47 = load i32, ptr %11, align 4 store i32 %47, ptr %14, align 4 %48 = load i32, ptr %12, align 4 %49 = shl i32 %48, 4 %50 = load i32, ptr %14, align 4 %51 = or i32 %50, %49 store i32 %51, ptr %14, align 4 %52 = load i32, ptr %10, align 4 %53 = icmp ne i32 %52, 0 br i1 %53, label %54, label %58 54: ; preds = %46 %55 = load i32, ptr %13, align 4 %56 = icmp eq i32 %55, 0 br i1 %56, label %57, label %58 57: ; preds = %54 br label %65 58: ; preds = %54, %46 %59 = load i32, ptr %14, align 4 %60 = or i32 %59, 1536 store i32 %60, ptr %14, align 4 %61 = load i32, ptr %13, align 4 %62 = shl i32 %61, 11 %63 = load i32, ptr %14, align 4 %64 = or i32 %63, %62 store i32 %64, ptr %14, align 4 br label %65 65: ; preds = %58, %57 %66 = load ptr, ptr %9, align 8 %67 = call i32 @strcat(ptr noundef %66, ptr noundef @.str) store i32 0, ptr %16, align 4 br label %68 68: ; preds = %85, %65 %69 = load i32, ptr %16, align 4 %70 = icmp slt i32 %69, 12 br i1 %70, label %71, label %88 71: ; preds = %68 %72 = load i32, ptr %17, align 4 %73 = load i32, ptr %14, align 4 %74 = and i32 %72, %73 %75 = icmp eq i32 %74, 0 br i1 %75, label %76, label %79 76: ; preds = %71 %77 = load ptr, ptr %9, align 8 %78 = call i32 @strcat(ptr noundef %77, ptr noundef @.str.1) br label %82 79: ; preds = %71 %80 = load ptr, ptr %9, align 8 %81 = call i32 @strcat(ptr noundef %80, ptr noundef @.str.2) br label %82 82: ; preds = %79, %76 %83 = load i32, ptr %17, align 4 %84 = shl i32 %83, 1 store i32 %84, ptr %17, align 4 br label %85 85: ; preds = %82 %86 = load i32, ptr %16, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %16, align 4 br label %68, !llvm.loop !6 88: ; preds = %68 %89 = load ptr, ptr %9, align 8 %90 = call i32 @strcat(ptr noundef %89, ptr noundef @.str.3) br label %91 91: ; preds = %88, %45 %92 = load ptr, ptr %9, align 8 %93 = call i32 @strlen(ptr noundef %92) ret i32 %93 } declare i32 @atoi(ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr 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/tmp_yx72lyp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"S\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c" ` `\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c" `` \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c" }+\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @createNexaString(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %18 = load ptr, ptr %9, align 8 store i8 0, ptr %18, align 1 store i32 0, ptr %14, align 4 store i32 6, ptr %15, align 4 store i32 1, ptr %17, align 4 %19 = load ptr, ptr %6, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = sub nsw i32 %21, 65 store i32 %22, ptr %11, align 4 %23 = load ptr, ptr %7, align 8 %24 = call i32 @atoi(ptr noundef %23) %25 = sub nsw i32 %24, 1 store i32 %25, ptr %12, align 4 %26 = load ptr, ptr %8, align 8 %27 = call i32 @atoi(ptr noundef %26) store i32 %27, ptr %13, align 4 %28 = load i32, ptr %11, align 4 %29 = icmp slt i32 %28, 0 br i1 %29, label %45, label %30 30: ; preds = %5 %31 = load i32, ptr %11, align 4 %32 = icmp sgt i32 %31, 15 br i1 %32, label %45, label %33 33: ; preds = %30 %34 = load i32, ptr %12, align 4 %35 = icmp slt i32 %34, 0 br i1 %35, label %45, label %36 36: ; preds = %33 %37 = load i32, ptr %12, align 4 %38 = icmp sgt i32 %37, 15 br i1 %38, label %45, label %39 39: ; preds = %36 %40 = load i32, ptr %13, align 4 %41 = icmp slt i32 %40, 0 br i1 %41, label %45, label %42 42: ; preds = %39 %43 = load i32, ptr %13, align 4 %44 = icmp sgt i32 %43, 1 br i1 %44, label %45, label %46 45: ; preds = %42, %39, %36, %33, %30, %5 br label %92 46: ; preds = %42 %47 = load i32, ptr %11, align 4 store i32 %47, ptr %14, align 4 %48 = load i32, ptr %12, align 4 %49 = shl i32 %48, 4 %50 = load i32, ptr %14, align 4 %51 = or i32 %50, %49 store i32 %51, ptr %14, align 4 %52 = load i32, ptr %10, align 4 %53 = icmp ne i32 %52, 0 br i1 %53, label %54, label %58 54: ; preds = %46 %55 = load i32, ptr %13, align 4 %56 = icmp eq i32 %55, 0 br i1 %56, label %57, label %58 57: ; preds = %54 br label %65 58: ; preds = %54, %46 %59 = load i32, ptr %14, align 4 %60 = or i32 %59, 1536 store i32 %60, ptr %14, align 4 %61 = load i32, ptr %13, align 4 %62 = shl i32 %61, 11 %63 = load i32, ptr %14, align 4 %64 = or i32 %63, %62 store i32 %64, ptr %14, align 4 br label %65 65: ; preds = %58, %57 %66 = load ptr, ptr %9, align 8 %67 = call i32 @strcat(ptr noundef %66, ptr noundef @.str) store i32 0, ptr %16, align 4 %68 = load i32, ptr %16, align 4 %69 = icmp slt i32 %68, 12 br i1 %69, label %.lr.ph, label %89 .lr.ph: ; preds = %65 br label %70 70: ; preds = %.lr.ph, %84 %71 = load i32, ptr %17, align 4 %72 = load i32, ptr %14, align 4 %73 = and i32 %71, %72 %74 = icmp eq i32 %73, 0 br i1 %74, label %75, label %78 75: ; preds = %70 %76 = load ptr, ptr %9, align 8 %77 = call i32 @strcat(ptr noundef %76, ptr noundef @.str.1) br label %81 78: ; preds = %70 %79 = load ptr, ptr %9, align 8 %80 = call i32 @strcat(ptr noundef %79, ptr noundef @.str.2) br label %81 81: ; preds = %78, %75 %82 = load i32, ptr %17, align 4 %83 = shl i32 %82, 1 store i32 %83, ptr %17, align 4 br label %84 84: ; preds = %81 %85 = load i32, ptr %16, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %16, align 4 %87 = load i32, ptr %16, align 4 %88 = icmp slt i32 %87, 12 br i1 %88, label %70, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %84 br label %89 89: ; preds = %._crit_edge, %65 %90 = load ptr, ptr %9, align 8 %91 = call i32 @strcat(ptr noundef %90, ptr noundef @.str.3) br label %92 92: ; preds = %89, %45 %93 = load ptr, ptr %9, align 8 %94 = call i32 @strlen(ptr noundef %93) ret i32 %94 } declare i32 @atoi(ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr 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/tmpipr8c950.c' source_filename = "/tmp/tmpipr8c950.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOVERFLOW = 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/tmpipr8c950.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOVERFLOW = 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/tmpkgqd4jwa.c' source_filename = "/tmp/tmpkgqd4jwa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [77 x i8] c"Digite o valor do salario (somente numeros, use ponto ao inves de virgula): \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Valor invalido\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"Imposto a ser recolhido: R$%.2lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca double, align 8 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) %3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %4 = load double, ptr %1, align 8 %5 = fcmp ole double %4, 0.000000e+00 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %20 8: ; preds = %0 %9 = load double, ptr %1, align 8 %10 = fcmp ogt double %9, 1.000000e+03 br i1 %10, label %11, label %15 11: ; preds = %8 %12 = load double, ptr %1, align 8 %13 = fmul double %12, 1.000000e-01 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %13) br label %19 15: ; preds = %8 %16 = load double, ptr %1, align 8 %17 = fmul double %16, 5.000000e-02 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %17) br label %19 19: ; preds = %15, %11 br label %20 20: ; preds = %19, %6 ret void } 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/tmpkgqd4jwa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [77 x i8] c"Digite o valor do salario (somente numeros, use ponto ao inves de virgula): \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Valor invalido\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"Imposto a ser recolhido: R$%.2lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca double, align 8 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) %3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %4 = load double, ptr %1, align 8 %5 = fcmp ole double %4, 0.000000e+00 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %20 8: ; preds = %0 %9 = load double, ptr %1, align 8 %10 = fcmp ogt double %9, 1.000000e+03 br i1 %10, label %11, label %15 11: ; preds = %8 %12 = load double, ptr %1, align 8 %13 = fmul double %12, 1.000000e-01 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %13) br label %19 15: ; preds = %8 %16 = load double, ptr %1, align 8 %17 = fmul double %16, 5.000000e-02 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %17) br label %19 19: ; preds = %15, %11 br label %20 20: ; preds = %19, %6 ret void } 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/tmpit3qufmn.c' source_filename = "/tmp/tmpit3qufmn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"locale\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Pryt4897810065911_br_find_locale_dir(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 %3, align 8 %6 = call ptr @Pryt4897810065911_br_find_data_dir(ptr noundef null) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %16 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load ptr, ptr %3, align 8 %14 = call ptr @strdup(ptr noundef %13) store ptr %14, ptr %2, align 8 br label %22 15: ; preds = %9 store ptr null, ptr %2, align 8 br label %22 16: ; preds = %1 %17 = load ptr, ptr %4, align 8 %18 = call ptr @Pryt4897810065911_br_build_path(ptr noundef %17, ptr noundef @.str) store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %4, align 8 %20 = call i32 @free(ptr noundef %19) %21 = load ptr, ptr %5, align 8 store ptr %21, ptr %2, align 8 br label %22 22: ; preds = %16, %15, %12 %23 = load ptr, ptr %2, align 8 ret ptr %23 } declare ptr @Pryt4897810065911_br_find_data_dir(ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare ptr @Pryt4897810065911_br_build_path(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpit3qufmn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"locale\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Pryt4897810065911_br_find_locale_dir(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 %3, align 8 %6 = call ptr @Pryt4897810065911_br_find_data_dir(ptr noundef null) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %16 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load ptr, ptr %3, align 8 %14 = call ptr @strdup(ptr noundef %13) store ptr %14, ptr %2, align 8 br label %22 15: ; preds = %9 store ptr null, ptr %2, align 8 br label %22 16: ; preds = %1 %17 = load ptr, ptr %4, align 8 %18 = call ptr @Pryt4897810065911_br_build_path(ptr noundef %17, ptr noundef @.str) store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %4, align 8 %20 = call i32 @free(ptr noundef %19) %21 = load ptr, ptr %5, align 8 store ptr %21, ptr %2, align 8 br label %22 22: ; preds = %16, %15, %12 %23 = load ptr, ptr %2, align 8 ret ptr %23 } declare ptr @Pryt4897810065911_br_find_data_dir(ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare ptr @Pryt4897810065911_br_build_path(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjdvj2v1c.c' source_filename = "/tmp/tmpjdvj2v1c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %9 = load i32, ptr %2, align 4 store i32 %9, ptr %5, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp sgt i32 %10, %11 br i1 %12, label %13, label %15 13: ; preds = %0 %14 = load i32, ptr %3, align 4 store i32 %14, ptr %5, align 4 br label %15 15: ; preds = %13, %0 %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp sgt i32 %16, %17 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = load i32, ptr %4, align 4 store i32 %20, ptr %5, align 4 br label %21 21: ; preds = %19, %15 %22 = load i32, ptr %5, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %22) %24 = load i32, ptr %1, align 4 ret i32 %24 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjdvj2v1c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %9 = load i32, ptr %2, align 4 store i32 %9, ptr %5, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp sgt i32 %10, %11 br i1 %12, label %13, label %15 13: ; preds = %0 %14 = load i32, ptr %3, align 4 store i32 %14, ptr %5, align 4 br label %15 15: ; preds = %13, %0 %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp sgt i32 %16, %17 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = load i32, ptr %4, align 4 store i32 %20, ptr %5, align 4 br label %21 21: ; preds = %19, %15 %22 = load i32, ptr %5, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %22) %24 = load i32, ptr %1, align 4 ret i32 %24 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkjfcr6_6.c' source_filename = "/tmp/tmpkjfcr6_6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fc8300_ppi_byteread(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca ptr, align 8 %9 = alloca i16, align 2 %10 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store i16 %1, ptr %6, align 2 store i16 %2, ptr %7, align 2 store ptr %3, ptr %8, align 8 store i16 1, ptr %9, align 2 store i8 64, ptr %10, align 1 %11 = call i32 (...) @OAL_OBTAIN_SEMAPHORE() %12 = load i16, ptr %7, align 2 %13 = zext i16 %12 to i32 %14 = and i32 %13, 65280 %15 = ashr i32 %14, 8 %16 = trunc i32 %15 to i8 store volatile i8 %16, ptr null, align 1 %17 = load i16, ptr %7, align 2 %18 = zext i16 %17 to i32 %19 = and i32 %18, 255 %20 = trunc i32 %19 to i8 store volatile i8 %20, ptr null, align 1 %21 = load i8, ptr %10, align 1 store volatile i8 %21, ptr null, align 1 %22 = load i16, ptr %9, align 2 %23 = zext i16 %22 to i32 %24 = and i32 %23, 255 %25 = trunc i32 %24 to i8 store volatile i8 %25, ptr null, align 1 %26 = load volatile i8, ptr null, align 1 %27 = load ptr, ptr %8, align 8 store i8 %26, ptr %27, align 1 %28 = call i32 (...) @OAL_RELEASE_SEMAPHORE() ret i32 0 } declare i32 @OAL_OBTAIN_SEMAPHORE(...) #1 declare i32 @OAL_RELEASE_SEMAPHORE(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkjfcr6_6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fc8300_ppi_byteread(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca ptr, align 8 %9 = alloca i16, align 2 %10 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store i16 %1, ptr %6, align 2 store i16 %2, ptr %7, align 2 store ptr %3, ptr %8, align 8 store i16 1, ptr %9, align 2 store i8 64, ptr %10, align 1 %11 = call i32 (...) @OAL_OBTAIN_SEMAPHORE() %12 = load i16, ptr %7, align 2 %13 = zext i16 %12 to i32 %14 = and i32 %13, 65280 %15 = ashr i32 %14, 8 %16 = trunc i32 %15 to i8 store volatile i8 %16, ptr null, align 1 %17 = load i16, ptr %7, align 2 %18 = zext i16 %17 to i32 %19 = and i32 %18, 255 %20 = trunc i32 %19 to i8 store volatile i8 %20, ptr null, align 1 %21 = load i8, ptr %10, align 1 store volatile i8 %21, ptr null, align 1 %22 = load i16, ptr %9, align 2 %23 = zext i16 %22 to i32 %24 = and i32 %23, 255 %25 = trunc i32 %24 to i8 store volatile i8 %25, ptr null, align 1 %26 = load volatile i8, ptr null, align 1 %27 = load ptr, ptr %8, align 8 store i8 %26, ptr %27, align 1 %28 = call i32 (...) @OAL_RELEASE_SEMAPHORE() ret i32 0 } declare i32 @OAL_OBTAIN_SEMAPHORE(...) #1 declare i32 @OAL_RELEASE_SEMAPHORE(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7isu024s.c' source_filename = "/tmp/tmp7isu024s.c" target datalayout = "e-m:e-p270: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/tmp7isu024s.c" target datalayout = "e-m:e-p270: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/tmpzjmz5211.c' source_filename = "/tmp/tmpzjmz5211.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"<$\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @GetParsedBuf(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %12 = load ptr, ptr %3, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %2 br label %151 15: ; preds = %2 %16 = load ptr, ptr %3, align 8 store ptr %16, ptr %5, align 8 %17 = call i64 @malloc(i32 noundef 1) %18 = inttoptr i64 %17 to ptr %19 = load ptr, ptr %4, align 8 store ptr %18, ptr %19, align 8 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr %20, align 8 store ptr %21, ptr %7, align 8 %22 = load ptr, ptr %7, align 8 store i8 0, ptr %22, align 1 %23 = load ptr, ptr %3, align 8 %24 = call i32 @strlen(ptr noundef %23) %25 = add nsw i32 %24, 1 %26 = call i64 @malloc(i32 noundef %25) %27 = inttoptr i64 %26 to ptr store ptr %27, ptr %10, align 8 %28 = load ptr, ptr %10, align 8 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %31 30: ; preds = %15 br label %151 31: ; preds = %15 br label %32 32: ; preds = %147, %31 %33 = load ptr, ptr %5, align 8 %34 = load i8, ptr %33, align 1 %35 = icmp ne i8 %34, 0 br i1 %35, label %36, label %148 36: ; preds = %32 %37 = load ptr, ptr %5, align 8 %38 = call ptr @strstr(ptr noundef %37, ptr noundef @.str) store ptr %38, ptr %6, align 8 %39 = load ptr, ptr %6, align 8 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %58 41: ; preds = %36 %42 = load ptr, ptr %7, align 8 %43 = call i32 @strlen(ptr noundef %42) store i32 %43, ptr %9, align 4 %44 = load ptr, ptr %7, align 8 %45 = load i32, ptr %9, align 4 %46 = load ptr, ptr %5, align 8 %47 = call i32 @strlen(ptr noundef %46) %48 = add nsw i32 %45, %47 %49 = add nsw i32 %48, 1 %50 = call i64 @realloc(ptr noundef %44, i32 noundef %49) %51 = inttoptr i64 %50 to ptr %52 = load ptr, ptr %4, align 8 store ptr %51, ptr %52, align 8 %53 = load ptr, ptr %4, align 8 %54 = load ptr, ptr %53, align 8 store ptr %54, ptr %7, align 8 %55 = load ptr, ptr %7, align 8 %56 = load ptr, ptr %5, align 8 %57 = call i32 @strcat(ptr noundef %55, ptr noundef %56) br label %148 58: ; preds = %36 %59 = load ptr, ptr %6, align 8 %60 = load ptr, ptr %5, align 8 %61 = ptrtoint ptr %59 to i64 %62 = ptrtoint ptr %60 to i64 %63 = sub i64 %61, %62 %64 = trunc i64 %63 to i32 store i32 %64, ptr %8, align 4 %65 = load i32, ptr %8, align 4 %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %92 67: ; preds = %58 %68 = load ptr, ptr %10, align 8 %69 = load ptr, ptr %5, align 8 %70 = load i32, ptr %8, align 4 %71 = call i32 @strncpy(ptr noundef %68, ptr noundef %69, i32 noundef %70) %72 = load ptr, ptr %10, align 8 %73 = load i32, ptr %8, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 store i8 0, ptr %75, align 1 %76 = load ptr, ptr %7, align 8 %77 = call i32 @strlen(ptr noundef %76) store i32 %77, ptr %9, align 4 %78 = load ptr, ptr %7, align 8 %79 = load i32, ptr %9, align 4 %80 = load ptr, ptr %10, align 8 %81 = call i32 @strlen(ptr noundef %80) %82 = add nsw i32 %79, %81 %83 = add nsw i32 %82, 1 %84 = call i64 @realloc(ptr noundef %78, i32 noundef %83) %85 = inttoptr i64 %84 to ptr %86 = load ptr, ptr %4, align 8 store ptr %85, ptr %86, align 8 %87 = load ptr, ptr %4, align 8 %88 = load ptr, ptr %87, align 8 store ptr %88, ptr %7, align 8 %89 = load ptr, ptr %7, align 8 %90 = load ptr, ptr %10, align 8 %91 = call i32 @strcat(ptr noundef %89, ptr noundef %90) br label %92 92: ; preds = %67, %58 %93 = load ptr, ptr %6, align 8 %94 = call ptr @strchr(ptr noundef %93, i8 noundef signext 62) store ptr %94, ptr %5, align 8 %95 = load ptr, ptr %5, align 8 %96 = icmp eq ptr %95, null br i1 %96, label %97, label %101 97: ; preds = %92 %98 = call i32 @printf(ptr noundef @.str) %99 = load ptr, ptr %5, align 8 %100 = getelementptr inbounds i8, ptr %99, i64 2 store ptr %100, ptr %5, align 8 br label %146 101: ; preds = %92 %102 = load ptr, ptr %5, align 8 %103 = load ptr, ptr %6, align 8 %104 = ptrtoint ptr %102 to i64 %105 = ptrtoint ptr %103 to i64 %106 = sub i64 %104, %105 %107 = sub nsw i64 %106, 2 %108 = trunc i64 %107 to i32 store i32 %108, ptr %8, align 4 %109 = load i32, ptr %8, align 4 %110 = icmp ne i32 %109, 0 br i1 %110, label %111, label %143 111: ; preds = %101 %112 = load ptr, ptr %10, align 8 %113 = load ptr, ptr %6, align 8 %114 = getelementptr inbounds i8, ptr %113, i64 2 %115 = load i32, ptr %8, align 4 %116 = call i32 @strncpy(ptr noundef %112, ptr noundef %114, i32 noundef %115) %117 = load ptr, ptr %10, align 8 %118 = load i32, ptr %8, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds i8, ptr %117, i64 %119 store i8 0, ptr %120, align 1 %121 = load ptr, ptr %10, align 8 %122 = call i32 @GetEnvData(ptr noundef %121, ptr noundef %11) %123 = load ptr, ptr %11, align 8 %124 = icmp ne ptr %123, null br i1 %124, label %125, label %142 125: ; preds = %111 %126 = load ptr, ptr %7, align 8 %127 = call i32 @strlen(ptr noundef %126) store i32 %127, ptr %9, align 4 %128 = load ptr, ptr %7, align 8 %129 = load i32, ptr %9, align 4 %130 = load ptr, ptr %11, align 8 %131 = call i32 @strlen(ptr noundef %130) %132 = add nsw i32 %129, %131 %133 = add nsw i32 %132, 1 %134 = call i64 @realloc(ptr noundef %128, i32 noundef %133) %135 = inttoptr i64 %134 to ptr %136 = load ptr, ptr %4, align 8 store ptr %135, ptr %136, align 8 %137 = load ptr, ptr %4, align 8 %138 = load ptr, ptr %137, align 8 store ptr %138, ptr %7, align 8 %139 = load ptr, ptr %7, align 8 %140 = load ptr, ptr %11, align 8 %141 = call i32 @strcat(ptr noundef %139, ptr noundef %140) br label %142 142: ; preds = %125, %111 br label %143 143: ; preds = %142, %101 %144 = load ptr, ptr %5, align 8 %145 = getelementptr inbounds i8, ptr %144, i64 1 store ptr %145, ptr %5, align 8 br label %146 146: ; preds = %143, %97 br label %147 147: ; preds = %146 br label %32, !llvm.loop !6 148: ; preds = %41, %32 %149 = load ptr, ptr %10, align 8 %150 = call i32 @free(ptr noundef %149) br label %151 151: ; preds = %148, %30, %14 ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @printf(ptr noundef) #1 declare i32 @GetEnvData(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzjmz5211.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"<$\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @GetParsedBuf(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %12 = load ptr, ptr %3, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %2 br label %153 15: ; preds = %2 %16 = load ptr, ptr %3, align 8 store ptr %16, ptr %5, align 8 %17 = call i64 @malloc(i32 noundef 1) %18 = inttoptr i64 %17 to ptr %19 = load ptr, ptr %4, align 8 store ptr %18, ptr %19, align 8 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr %20, align 8 store ptr %21, ptr %7, align 8 %22 = load ptr, ptr %7, align 8 store i8 0, ptr %22, align 1 %23 = load ptr, ptr %3, align 8 %24 = call i32 @strlen(ptr noundef %23) %25 = add nsw i32 %24, 1 %26 = call i64 @malloc(i32 noundef %25) %27 = inttoptr i64 %26 to ptr store ptr %27, ptr %10, align 8 %28 = load ptr, ptr %10, align 8 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %31 30: ; preds = %15 br label %153 31: ; preds = %15 %32 = load ptr, ptr %5, align 8 %33 = load i8, ptr %32, align 1 %34 = icmp ne i8 %33, 0 br i1 %34, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %31 br label %35 35: ; preds = %.lr.ph, %146 %36 = load ptr, ptr %5, align 8 %37 = call ptr @strstr(ptr noundef %36, ptr noundef @.str) store ptr %37, ptr %6, align 8 %38 = load ptr, ptr %6, align 8 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %57 40: ; preds = %35 %41 = load ptr, ptr %7, align 8 %42 = call i32 @strlen(ptr noundef %41) store i32 %42, ptr %9, align 4 %43 = load ptr, ptr %7, align 8 %44 = load i32, ptr %9, align 4 %45 = load ptr, ptr %5, align 8 %46 = call i32 @strlen(ptr noundef %45) %47 = add nsw i32 %44, %46 %48 = add nsw i32 %47, 1 %49 = call i64 @realloc(ptr noundef %43, i32 noundef %48) %50 = inttoptr i64 %49 to ptr %51 = load ptr, ptr %4, align 8 store ptr %50, ptr %51, align 8 %52 = load ptr, ptr %4, align 8 %53 = load ptr, ptr %52, align 8 store ptr %53, ptr %7, align 8 %54 = load ptr, ptr %7, align 8 %55 = load ptr, ptr %5, align 8 %56 = call i32 @strcat(ptr noundef %54, ptr noundef %55) br label %150 57: ; preds = %35 %58 = load ptr, ptr %6, align 8 %59 = load ptr, ptr %5, align 8 %60 = ptrtoint ptr %58 to i64 %61 = ptrtoint ptr %59 to i64 %62 = sub i64 %60, %61 %63 = trunc i64 %62 to i32 store i32 %63, ptr %8, align 4 %64 = load i32, ptr %8, align 4 %65 = icmp ne i32 %64, 0 br i1 %65, label %66, label %91 66: ; preds = %57 %67 = load ptr, ptr %10, align 8 %68 = load ptr, ptr %5, align 8 %69 = load i32, ptr %8, align 4 %70 = call i32 @strncpy(ptr noundef %67, ptr noundef %68, i32 noundef %69) %71 = load ptr, ptr %10, align 8 %72 = load i32, ptr %8, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 store i8 0, ptr %74, align 1 %75 = load ptr, ptr %7, align 8 %76 = call i32 @strlen(ptr noundef %75) store i32 %76, ptr %9, align 4 %77 = load ptr, ptr %7, align 8 %78 = load i32, ptr %9, align 4 %79 = load ptr, ptr %10, align 8 %80 = call i32 @strlen(ptr noundef %79) %81 = add nsw i32 %78, %80 %82 = add nsw i32 %81, 1 %83 = call i64 @realloc(ptr noundef %77, i32 noundef %82) %84 = inttoptr i64 %83 to ptr %85 = load ptr, ptr %4, align 8 store ptr %84, ptr %85, align 8 %86 = load ptr, ptr %4, align 8 %87 = load ptr, ptr %86, align 8 store ptr %87, ptr %7, align 8 %88 = load ptr, ptr %7, align 8 %89 = load ptr, ptr %10, align 8 %90 = call i32 @strcat(ptr noundef %88, ptr noundef %89) br label %91 91: ; preds = %66, %57 %92 = load ptr, ptr %6, align 8 %93 = call ptr @strchr(ptr noundef %92, i8 noundef signext 62) store ptr %93, ptr %5, align 8 %94 = load ptr, ptr %5, align 8 %95 = icmp eq ptr %94, null br i1 %95, label %96, label %100 96: ; preds = %91 %97 = call i32 @printf(ptr noundef @.str) %98 = load ptr, ptr %5, align 8 %99 = getelementptr inbounds i8, ptr %98, i64 2 store ptr %99, ptr %5, align 8 br label %145 100: ; preds = %91 %101 = load ptr, ptr %5, align 8 %102 = load ptr, ptr %6, align 8 %103 = ptrtoint ptr %101 to i64 %104 = ptrtoint ptr %102 to i64 %105 = sub i64 %103, %104 %106 = sub nsw i64 %105, 2 %107 = trunc i64 %106 to i32 store i32 %107, ptr %8, align 4 %108 = load i32, ptr %8, align 4 %109 = icmp ne i32 %108, 0 br i1 %109, label %110, label %142 110: ; preds = %100 %111 = load ptr, ptr %10, align 8 %112 = load ptr, ptr %6, align 8 %113 = getelementptr inbounds i8, ptr %112, i64 2 %114 = load i32, ptr %8, align 4 %115 = call i32 @strncpy(ptr noundef %111, ptr noundef %113, i32 noundef %114) %116 = load ptr, ptr %10, align 8 %117 = load i32, ptr %8, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i8, ptr %116, i64 %118 store i8 0, ptr %119, align 1 %120 = load ptr, ptr %10, align 8 %121 = call i32 @GetEnvData(ptr noundef %120, ptr noundef %11) %122 = load ptr, ptr %11, align 8 %123 = icmp ne ptr %122, null br i1 %123, label %124, label %141 124: ; preds = %110 %125 = load ptr, ptr %7, align 8 %126 = call i32 @strlen(ptr noundef %125) store i32 %126, ptr %9, align 4 %127 = load ptr, ptr %7, align 8 %128 = load i32, ptr %9, align 4 %129 = load ptr, ptr %11, align 8 %130 = call i32 @strlen(ptr noundef %129) %131 = add nsw i32 %128, %130 %132 = add nsw i32 %131, 1 %133 = call i64 @realloc(ptr noundef %127, i32 noundef %132) %134 = inttoptr i64 %133 to ptr %135 = load ptr, ptr %4, align 8 store ptr %134, ptr %135, align 8 %136 = load ptr, ptr %4, align 8 %137 = load ptr, ptr %136, align 8 store ptr %137, ptr %7, align 8 %138 = load ptr, ptr %7, align 8 %139 = load ptr, ptr %11, align 8 %140 = call i32 @strcat(ptr noundef %138, ptr noundef %139) br label %141 141: ; preds = %124, %110 br label %142 142: ; preds = %141, %100 %143 = load ptr, ptr %5, align 8 %144 = getelementptr inbounds i8, ptr %143, i64 1 store ptr %144, ptr %5, align 8 br label %145 145: ; preds = %142, %96 br label %146 146: ; preds = %145 %147 = load ptr, ptr %5, align 8 %148 = load i8, ptr %147, align 1 %149 = icmp ne i8 %148, 0 br i1 %149, label %35, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %146 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %31 br label %150 150: ; preds = %.loopexit, %40 %151 = load ptr, ptr %10, align 8 %152 = call i32 @free(ptr noundef %151) br label %153 153: ; preds = %150, %30, %14 ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @printf(ptr noundef) #1 declare i32 @GetEnvData(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqsz7b1_2.c' source_filename = "/tmp/tmpqsz7b1_2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr @allocate_ints(i32 noundef 10) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @exit(i32 noundef 1) #3 unreachable 8: ; preds = %0 %9 = load ptr, ptr %2, align 8 %10 = call i32 @set_ints(ptr noundef %9, i32 noundef 10) %11 = load ptr, ptr %2, align 8 %12 = call i32 @free(ptr noundef %11) ret i32 0 } declare ptr @allocate_ints(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @set_ints(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqsz7b1_2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr @allocate_ints(i32 noundef 10) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @exit(i32 noundef 1) #3 unreachable 8: ; preds = %0 %9 = load ptr, ptr %2, align 8 %10 = call i32 @set_ints(ptr noundef %9, i32 noundef 10) %11 = load ptr, ptr %2, align 8 %12 = call i32 @free(ptr noundef %11) ret i32 0 } declare ptr @allocate_ints(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @set_ints(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpimojqdr3.c' source_filename = "/tmp/tmpimojqdr3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"entering range_print\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"exiting range_print\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @range_print(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %6 6: ; preds = %10, %2 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp sle i32 %7, %8 br i1 %9, label %10, label %15 10: ; preds = %6 %11 = load i32, ptr %3, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11) %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %3, align 4 br label %6, !llvm.loop !6 15: ; preds = %6 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpimojqdr3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"entering range_print\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"exiting range_print\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @range_print(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp sle i32 %6, %7 br i1 %8, label %.lr.ph, label %17 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %9 %10 = load i32, ptr %3, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10) %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp sle i32 %14, %15 br i1 %16, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %17 17: ; preds = %._crit_edge, %2 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpydpqx7qu.c' source_filename = "/tmp/tmpydpqx7qu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/buttons\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"can't open!\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 i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr @O_RDWR, align 4 %9 = call i32 @open(ptr noundef @.str, i32 noundef %8) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @printf(ptr noundef @.str.1) br label %14 14: ; preds = %12, %2 br label %15 15: ; preds = %14, %15 %16 = call i32 @sleep(i32 noundef 5) br label %15 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpydpqx7qu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/buttons\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"can't open!\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 i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr @O_RDWR, align 4 %9 = call i32 @open(ptr noundef @.str, i32 noundef %8) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @printf(ptr noundef @.str.1) br label %14 14: ; preds = %12, %2 br label %15 15: ; preds = %15, %14 %16 = call i32 @sleep(i32 noundef 5) br label %15 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0xbwclo3.c' source_filename = "/tmp/tmp0xbwclo3.c" target datalayout = "e-m:e-p270: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/tmp0xbwclo3.c" target datalayout = "e-m:e-p270: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/tmps5cnohyp.c' source_filename = "/tmp/tmps5cnohyp.c" target datalayout = "e-m:e-p270: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/tmps5cnohyp.c" target datalayout = "e-m:e-p270: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/tmpp9j_6imb.c' source_filename = "/tmp/tmpp9j_6imb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kw_search(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %14 = load i32, ptr %5, align 4 %15 = sub nsw i32 %14, 1 store i32 %15, ptr %10, align 4 store i32 -1, ptr %12, align 4 %16 = load ptr, ptr %6, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %58 18: ; preds = %4 %19 = load i32, ptr %5, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %58 21: ; preds = %18 %22 = load ptr, ptr %7, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %58 24: ; preds = %21 br label %25 25: ; preds = %56, %24 %26 = load i32, ptr %9, align 4 %27 = load i32, ptr %10, align 4 %28 = icmp sle i32 %26, %27 br i1 %28, label %29, label %57 29: ; preds = %25 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %10, align 4 %32 = add nsw i32 %30, %31 %33 = sdiv i32 %32, 2 store i32 %33, ptr %11, align 4 %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %11, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = load ptr, ptr %7, align 8 %40 = call i32 @strcasecmp(ptr noundef %38, ptr noundef %39) store i32 %40, ptr %13, align 4 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %46 42: ; preds = %29 %43 = load i32, ptr %11, align 4 store i32 %43, ptr %12, align 4 %44 = load i32, ptr %10, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %9, align 4 br label %56 46: ; preds = %29 %47 = load i32, ptr %13, align 4 %48 = icmp slt i32 %47, 0 br i1 %48, label %49, label %52 49: ; preds = %46 %50 = load i32, ptr %11, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %9, align 4 br label %55 52: ; preds = %46 %53 = load i32, ptr %11, align 4 %54 = sub nsw i32 %53, 1 store i32 %54, ptr %10, align 4 br label %55 55: ; preds = %52, %49 br label %56 56: ; preds = %55, %42 br label %25, !llvm.loop !6 57: ; preds = %25 br label %58 58: ; preds = %57, %21, %18, %4 %59 = load i32, ptr %12, align 4 ret i32 %59 } declare i32 @strcasecmp(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/tmpp9j_6imb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kw_search(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %14 = load i32, ptr %5, align 4 %15 = sub nsw i32 %14, 1 store i32 %15, ptr %10, align 4 store i32 -1, ptr %12, align 4 %16 = load ptr, ptr %6, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %60 18: ; preds = %4 %19 = load i32, ptr %5, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %60 21: ; preds = %18 %22 = load ptr, ptr %7, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %60 24: ; preds = %21 %25 = load i32, ptr %9, align 4 %26 = load i32, ptr %10, align 4 %27 = icmp sle i32 %25, %26 br i1 %27, label %.lr.ph, label %59 .lr.ph: ; preds = %24 br label %28 28: ; preds = %.lr.ph, %55 %29 = load i32, ptr %9, align 4 %30 = load i32, ptr %10, align 4 %31 = add nsw i32 %29, %30 %32 = sdiv i32 %31, 2 store i32 %32, ptr %11, align 4 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr %11, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = load ptr, ptr %7, align 8 %39 = call i32 @strcasecmp(ptr noundef %37, ptr noundef %38) store i32 %39, ptr %13, align 4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %45 41: ; preds = %28 %42 = load i32, ptr %11, align 4 store i32 %42, ptr %12, align 4 %43 = load i32, ptr %10, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %9, align 4 br label %55 45: ; preds = %28 %46 = load i32, ptr %13, align 4 %47 = icmp slt i32 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %45 %49 = load i32, ptr %11, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %9, align 4 br label %54 51: ; preds = %45 %52 = load i32, ptr %11, align 4 %53 = sub nsw i32 %52, 1 store i32 %53, ptr %10, align 4 br label %54 54: ; preds = %51, %48 br label %55 55: ; preds = %54, %41 %56 = load i32, ptr %9, align 4 %57 = load i32, ptr %10, align 4 %58 = icmp sle i32 %56, %57 br i1 %58, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %55 br label %59 59: ; preds = %._crit_edge, %24 br label %60 60: ; preds = %59, %21, %18, %4 %61 = load i32, ptr %12, align 4 ret i32 %61 } declare i32 @strcasecmp(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/tmp076j8hwx.c' source_filename = "/tmp/tmp076j8hwx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @program_main() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %0, %7 %3 = call i32 @naive_scanf(ptr noundef @.str, ptr noundef %1) %4 = load i32, ptr %1, align 4 %5 = icmp slt i32 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %2 br label %11 7: ; preds = %2 %8 = load i32, ptr %1, align 4 %9 = call i32 @fib(i32 noundef %8) %10 = call i32 @naive_printf(ptr noundef @.str.1, i32 noundef %9) br label %2 11: ; preds = %6 ret i32 0 } declare i32 @naive_scanf(ptr noundef, ptr noundef) #1 declare i32 @naive_printf(ptr noundef, i32 noundef) #1 declare i32 @fib(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/tmp076j8hwx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @program_main() #0 { %1 = alloca i32, align 4 %2 = call i32 @naive_scanf(ptr noundef @.str, ptr noundef %1) %3 = load i32, ptr %1, align 4 %4 = icmp slt i32 %3, 0 br i1 %4, label %5, label %.lr.ph .lr.ph: ; preds = %0 br label %6 ._crit_edge: ; preds = %6 br label %5 5: ; preds = %._crit_edge, %0 br label %13 6: ; preds = %.lr.ph, %6 %7 = load i32, ptr %1, align 4 %8 = call i32 @fib(i32 noundef %7) %9 = call i32 @naive_printf(ptr noundef @.str.1, i32 noundef %8) %10 = call i32 @naive_scanf(ptr noundef @.str, ptr noundef %1) %11 = load i32, ptr %1, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %._crit_edge, label %6 13: ; preds = %5 ret i32 0 } declare i32 @naive_scanf(ptr noundef, ptr noundef) #1 declare i32 @naive_printf(ptr noundef, i32 noundef) #1 declare i32 @fib(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/tmpt39me8yc.c' source_filename = "/tmp/tmpt39me8yc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hdr_count_at_index(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @counts_get_normalised(ptr noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @counts_get_normalised(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/tmpt39me8yc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hdr_count_at_index(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @counts_get_normalised(ptr noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @counts_get_normalised(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/tmphgzf23tu.c' source_filename = "/tmp/tmphgzf23tu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %13, %1 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %3, 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 %12, label %16 12: ; preds = %4 br label %13 13: ; preds = %12 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 br label %4, !llvm.loop !6 16: ; preds = %4 %17 = load i32, ptr %3, align 4 ret i32 %17 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmphgzf23tu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds i8, ptr %4, i64 %6 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %.lr.ph, label %22 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %12 br label %12 12: ; preds = %11 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %3, align 4 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br i1 %21, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %22 22: ; preds = %._crit_edge, %1 %23 = load i32, ptr %3, align 4 ret i32 %23 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpiy09km66.c' source_filename = "/tmp/tmpiy09km66.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ReadString(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 -1, ptr %4, align 4 br label %5 5: ; preds = %14, %1 %6 = load i32, ptr %4, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %4, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %9 = load i8, ptr %3, align 1 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 store i8 %9, ptr %13, align 1 br label %14 14: ; preds = %5 %15 = load i8, ptr %3, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 10 br i1 %17, label %5, label %18, !llvm.loop !6 18: ; preds = %14 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %4, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 store i8 0, ptr %22, align 1 ret void } declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiy09km66.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ReadString(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 -1, ptr %4, align 4 br label %5 5: ; preds = %14, %1 %6 = load i32, ptr %4, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %4, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %9 = load i8, ptr %3, align 1 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 store i8 %9, ptr %13, align 1 br label %14 14: ; preds = %5 %15 = load i8, ptr %3, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 10 br i1 %17, label %5, label %18, !llvm.loop !6 18: ; preds = %14 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %4, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 store i8 0, ptr %22, align 1 ret void } declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpk7g581r4.c' source_filename = "/tmp/tmpk7g581r4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [158 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/hypermail-project/hypermail/refs/heads/master/src/trio/regression.c\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"5.000000e-01\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%e\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"6.000000e-01\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"7654321.0\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"%#.8g\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @VerifyFormattingRegression() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i64 @Verify(ptr noundef @.str, i32 noundef 732, ptr noundef @.str.1, ptr noundef @.str.2, double noundef 5.000000e-01) %3 = load i32, ptr %1, align 4 %4 = sext i32 %3 to i64 %5 = add nsw i64 %4, %2 %6 = trunc i64 %5 to i32 store i32 %6, ptr %1, align 4 %7 = call i64 @Verify(ptr noundef @.str, i32 noundef 734, ptr noundef @.str.3, ptr noundef @.str.2, double noundef 6.000000e-01) %8 = load i32, ptr %1, align 4 %9 = sext i32 %8 to i64 %10 = add nsw i64 %9, %7 %11 = trunc i64 %10 to i32 store i32 %11, ptr %1, align 4 %12 = call i64 @Verify(ptr noundef @.str, i32 noundef 738, ptr noundef @.str.4, ptr noundef @.str.5, double noundef 0x415D32EC3F5C28F6) %13 = load i32, ptr %1, align 4 %14 = sext i32 %13 to i64 %15 = add nsw i64 %14, %12 %16 = trunc i64 %15 to i32 store i32 %16, ptr %1, align 4 %17 = load i32, ptr %1, align 4 ret i32 %17 } declare i64 @Verify(ptr noundef, i32 noundef, ptr noundef, ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk7g581r4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [158 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/hypermail-project/hypermail/refs/heads/master/src/trio/regression.c\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"5.000000e-01\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%e\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"6.000000e-01\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"7654321.0\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"%#.8g\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @VerifyFormattingRegression() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i64 @Verify(ptr noundef @.str, i32 noundef 732, ptr noundef @.str.1, ptr noundef @.str.2, double noundef 5.000000e-01) %3 = load i32, ptr %1, align 4 %4 = sext i32 %3 to i64 %5 = add nsw i64 %4, %2 %6 = trunc i64 %5 to i32 store i32 %6, ptr %1, align 4 %7 = call i64 @Verify(ptr noundef @.str, i32 noundef 734, ptr noundef @.str.3, ptr noundef @.str.2, double noundef 6.000000e-01) %8 = load i32, ptr %1, align 4 %9 = sext i32 %8 to i64 %10 = add nsw i64 %9, %7 %11 = trunc i64 %10 to i32 store i32 %11, ptr %1, align 4 %12 = call i64 @Verify(ptr noundef @.str, i32 noundef 738, ptr noundef @.str.4, ptr noundef @.str.5, double noundef 0x415D32EC3F5C28F6) %13 = load i32, ptr %1, align 4 %14 = sext i32 %13 to i64 %15 = add nsw i64 %14, %12 %16 = trunc i64 %15 to i32 store i32 %16, ptr %1, align 4 %17 = load i32, ptr %1, align 4 ret i32 %17 } declare i64 @Verify(ptr noundef, i32 noundef, ptr noundef, ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyikbq3k5.c' source_filename = "/tmp/tmpyikbq3k5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AT_FDCWD = dso_local global i32 0, align 4 @__NR_unlinkat = 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/tmpyikbq3k5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AT_FDCWD = dso_local global i32 0, align 4 @__NR_unlinkat = 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/tmpbx193zof.c' source_filename = "/tmp/tmpbx193zof.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xalloc_zero(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @xalloc(i64 noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %2, align 8 %8 = call i32 @memset(ptr noundef %6, i32 noundef 0, i64 noundef %7) %9 = load ptr, ptr %3, align 8 ret ptr %9 } declare ptr @xalloc(i64 noundef) #1 declare i32 @memset(ptr noundef, i32 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/tmpbx193zof.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xalloc_zero(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @xalloc(i64 noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %2, align 8 %8 = call i32 @memset(ptr noundef %6, i32 noundef 0, i64 noundef %7) %9 = load ptr, ptr %3, align 8 ret ptr %9 } declare ptr @xalloc(i64 noundef) #1 declare i32 @memset(ptr noundef, i32 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/tmpcqvhj8_m.c' source_filename = "/tmp/tmpcqvhj8_m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @target(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [10 x i8], align 1 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %8 = call i32 @read(i32 noundef %6, ptr noundef %7, i32 noundef 5) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %1 %12 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %13 = call i32 @reportError(ptr noundef %12) %14 = load i32, ptr %3, align 4 %15 = call i32 @clean(i32 noundef %14) store i32 -30, ptr %2, align 4 br label %19 16: ; preds = %1 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 6 store i32 %18, ptr %2, align 4 br label %19 19: ; preds = %16, %11 %20 = load i32, ptr %2, align 4 ret i32 %20 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @reportError(ptr noundef) #1 declare i32 @clean(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/tmpcqvhj8_m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @target(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [10 x i8], align 1 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %8 = call i32 @read(i32 noundef %6, ptr noundef %7, i32 noundef 5) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %1 %12 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %13 = call i32 @reportError(ptr noundef %12) %14 = load i32, ptr %3, align 4 %15 = call i32 @clean(i32 noundef %14) store i32 -30, ptr %2, align 4 br label %19 16: ; preds = %1 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 6 store i32 %18, ptr %2, align 4 br label %19 19: ; preds = %16, %11 %20 = load i32, ptr %2, align 4 ret i32 %20 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @reportError(ptr noundef) #1 declare i32 @clean(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/tmpsgttn0dr.c' source_filename = "/tmp/tmpsgttn0dr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Insira o Raio do circulo: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"A \C3\A1rea \C3\A9: %.2f\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 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load float, ptr %2, align 4 %7 = load float, ptr %2, align 4 %8 = fmul float %6, %7 %9 = fpext float %8 to double %10 = fmul double 3.140000e+00, %9 %11 = fptrunc double %10 to float store float %11, ptr %3, align 4 %12 = load float, ptr %3, align 4 %13 = fpext float %12 to double %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %13) ret i32 0 } 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/tmpsgttn0dr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Insira o Raio do circulo: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"A \C3\A1rea \C3\A9: %.2f\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 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load float, ptr %2, align 4 %7 = load float, ptr %2, align 4 %8 = fmul float %6, %7 %9 = fpext float %8 to double %10 = fmul double 3.140000e+00, %9 %11 = fptrunc double %10 to float store float %11, ptr %3, align 4 %12 = load float, ptr %3, align 4 %13 = fpext float %12 to double %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %13) ret i32 0 } 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/tmpicby6mqd.c' source_filename = "/tmp/tmpicby6mqd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_word_vec(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i64 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 i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store i64 %4, ptr %12, align 8 store i64 %5, ptr %13, align 8 %16 = load ptr, ptr %10, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %19, label %18 18: ; preds = %6 store i32 -1, ptr %7, align 4 br label %49 19: ; preds = %6 store i64 0, ptr %14, align 8 store i64 0, ptr %15, align 8 %20 = load ptr, ptr %8, align 8 %21 = load ptr, ptr %9, align 8 %22 = load ptr, ptr %11, align 8 %23 = load i64, ptr %12, align 8 %24 = call i64 @get_word_vocab_index(ptr noundef %20, ptr noundef %21, ptr noundef %22, i64 noundef %23) store i64 %24, ptr %15, align 8 %25 = load i64, ptr %15, align 8 %26 = icmp slt i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %19 store i32 -1, ptr %7, align 4 br label %49 28: ; preds = %19 store i64 0, ptr %14, align 8 br label %29 29: ; preds = %45, %28 %30 = load i64, ptr %14, align 8 %31 = load i64, ptr %13, align 8 %32 = icmp slt i64 %30, %31 br i1 %32, label %33, label %48 33: ; preds = %29 %34 = load ptr, ptr %8, align 8 %35 = load i64, ptr %14, align 8 %36 = load i64, ptr %15, align 8 %37 = load i64, ptr %13, align 8 %38 = mul nsw i64 %36, %37 %39 = add nsw i64 %35, %38 %40 = getelementptr inbounds float, ptr %34, i64 %39 %41 = load float, ptr %40, align 4 %42 = load ptr, ptr %10, align 8 %43 = load i64, ptr %14, align 8 %44 = getelementptr inbounds float, ptr %42, i64 %43 store float %41, ptr %44, align 4 br label %45 45: ; preds = %33 %46 = load i64, ptr %14, align 8 %47 = add nsw i64 %46, 1 store i64 %47, ptr %14, align 8 br label %29, !llvm.loop !6 48: ; preds = %29 store i32 0, ptr %7, align 4 br label %49 49: ; preds = %48, %27, %18 %50 = load i32, ptr %7, align 4 ret i32 %50 } declare i64 @get_word_vocab_index(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpicby6mqd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_word_vec(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i64 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 i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store i64 %4, ptr %12, align 8 store i64 %5, ptr %13, align 8 %16 = load ptr, ptr %10, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %19, label %18 18: ; preds = %6 store i32 -1, ptr %7, align 4 br label %51 19: ; preds = %6 store i64 0, ptr %14, align 8 store i64 0, ptr %15, align 8 %20 = load ptr, ptr %8, align 8 %21 = load ptr, ptr %9, align 8 %22 = load ptr, ptr %11, align 8 %23 = load i64, ptr %12, align 8 %24 = call i64 @get_word_vocab_index(ptr noundef %20, ptr noundef %21, ptr noundef %22, i64 noundef %23) store i64 %24, ptr %15, align 8 %25 = load i64, ptr %15, align 8 %26 = icmp slt i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %19 store i32 -1, ptr %7, align 4 br label %51 28: ; preds = %19 store i64 0, ptr %14, align 8 %29 = load i64, ptr %14, align 8 %30 = load i64, ptr %13, align 8 %31 = icmp slt i64 %29, %30 br i1 %31, label %.lr.ph, label %50 .lr.ph: ; preds = %28 br label %32 32: ; preds = %.lr.ph, %44 %33 = load ptr, ptr %8, align 8 %34 = load i64, ptr %14, align 8 %35 = load i64, ptr %15, align 8 %36 = load i64, ptr %13, align 8 %37 = mul nsw i64 %35, %36 %38 = add nsw i64 %34, %37 %39 = getelementptr inbounds float, ptr %33, i64 %38 %40 = load float, ptr %39, align 4 %41 = load ptr, ptr %10, align 8 %42 = load i64, ptr %14, align 8 %43 = getelementptr inbounds float, ptr %41, i64 %42 store float %40, ptr %43, align 4 br label %44 44: ; preds = %32 %45 = load i64, ptr %14, align 8 %46 = add nsw i64 %45, 1 store i64 %46, ptr %14, align 8 %47 = load i64, ptr %14, align 8 %48 = load i64, ptr %13, align 8 %49 = icmp slt i64 %47, %48 br i1 %49, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %50 50: ; preds = %._crit_edge, %28 store i32 0, ptr %7, align 4 br label %51 51: ; preds = %50, %27, %18 %52 = load i32, ptr %7, align 4 ret i32 %52 } declare i64 @get_word_vocab_index(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp5nd8wihj.c' source_filename = "/tmp/tmp5nd8wihj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello world\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 42 } 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/tmp5nd8wihj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello world\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 42 } 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/tmp571g5f_f.c' source_filename = "/tmp/tmp571g5f_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [203 x i8] c"Test file : /scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/alkafir/qcollect/refs/heads/master/test/qunit.h\0AQUnit version: 2.0.0\0ACompiled on : Mar 17 2022\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @__qunit_print_header(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 @sprintf(ptr noundef %3, ptr noundef @.str) %5 = load ptr, ptr %2, align 8 ret ptr %5 } declare i32 @sprintf(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/tmp571g5f_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [203 x i8] c"Test file : /scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/alkafir/qcollect/refs/heads/master/test/qunit.h\0AQUnit version: 2.0.0\0ACompiled on : Mar 17 2022\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @__qunit_print_header(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 @sprintf(ptr noundef %3, ptr noundef @.str) %5 = load ptr, ptr %2, align 8 ret ptr %5 } declare i32 @sprintf(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/tmp8isvj0ap.c' source_filename = "/tmp/tmp8isvj0ap.c" target datalayout = "e-m:e-p270: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/tmp8isvj0ap.c" target datalayout = "e-m:e-p270: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/tmpy35u4tmg.c' source_filename = "/tmp/tmpy35u4tmg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"w\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [35 x i8] c"[ERROR] Could not create file: %s\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [41 x i8] c"[INFO] %d bytes received - %d remaining\0A\00", align 1 @.str.3 = private unnamed_addr constant [129 x i8] c"[WARNING] Maybe something happened while transfering: %s\0A Apparently the transfer was not completed: %i bytes missing.\0A\00", align 1 @.str.4 = private unnamed_addr constant [69 x i8] c"[ERROR] An error occurred while trying to close the file: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @recv_file_from(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [512 x i8], align 16 %10 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i32 @atoi(ptr noundef %11) store i32 %12, ptr %8, align 4 %13 = load ptr, ptr %6, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %10, align 8 %15 = load ptr, ptr %10, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %22 17: ; preds = %3 %18 = load i32, ptr @stderr, align 4 %19 = load ptr, ptr %6, align 8 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.1, ptr noundef %19) %21 = call i32 @exit(i32 noundef -1) #3 unreachable 22: ; preds = %3 %23 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %24 = call i32 @memset(ptr noundef %23, i8 noundef signext 0, i32 noundef 512) br label %25 25: ; preds = %35, %22 %26 = load i32, ptr %8, align 4 %27 = icmp sgt i32 %26, 0 br i1 %27, label %28, label %33 28: ; preds = %25 %29 = load i32, ptr %4, align 4 %30 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %31 = call i32 @recv(i32 noundef %29, ptr noundef %30, i32 noundef 512, i32 noundef 0) store i32 %31, ptr %7, align 4 %32 = icmp sgt i32 %31, 0 br label %33 33: ; preds = %28, %25 %34 = phi i1 [ false, %25 ], [ %32, %28 ] br i1 %34, label %35, label %49 35: ; preds = %33 %36 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %37 = load i32, ptr %7, align 4 %38 = load ptr, ptr %10, align 8 %39 = call i32 @fwrite(ptr noundef %36, i32 noundef 1, i32 noundef %37, ptr noundef %38) %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %8, align 4 %42 = sub nsw i32 %41, %40 store i32 %42, ptr %8, align 4 %43 = load i32, ptr @stdout, align 4 %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %8, align 4 %46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.2, i32 noundef %44, i32 noundef %45) %47 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %48 = call i32 @memset(ptr noundef %47, i8 noundef signext 0, i32 noundef 512) br label %25, !llvm.loop !6 49: ; preds = %33 %50 = load i32, ptr %8, align 4 %51 = icmp sgt i32 %50, 0 br i1 %51, label %52, label %57 52: ; preds = %49 %53 = load i32, ptr @stderr, align 4 %54 = load ptr, ptr %6, align 8 %55 = load i32, ptr %8, align 4 %56 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %53, ptr noundef @.str.3, ptr noundef %54, i32 noundef %55) br label %57 57: ; preds = %52, %49 %58 = load ptr, ptr %10, align 8 %59 = call i64 @fclose(ptr noundef %58) %60 = icmp ne i64 %59, 0 br i1 %60, label %61, label %66 61: ; preds = %57 %62 = load i32, ptr @stderr, align 4 %63 = load ptr, ptr %6, align 8 %64 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %62, ptr noundef @.str.4, ptr noundef %63) %65 = call i32 @exit(i32 noundef -1) #3 unreachable 66: ; preds = %57 ret void } declare i32 @atoi(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy35u4tmg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"w\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [35 x i8] c"[ERROR] Could not create file: %s\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [41 x i8] c"[INFO] %d bytes received - %d remaining\0A\00", align 1 @.str.3 = private unnamed_addr constant [129 x i8] c"[WARNING] Maybe something happened while transfering: %s\0A Apparently the transfer was not completed: %i bytes missing.\0A\00", align 1 @.str.4 = private unnamed_addr constant [69 x i8] c"[ERROR] An error occurred while trying to close the file: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @recv_file_from(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [512 x i8], align 16 %10 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i32 @atoi(ptr noundef %11) store i32 %12, ptr %8, align 4 %13 = load ptr, ptr %6, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %10, align 8 %15 = load ptr, ptr %10, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %22 17: ; preds = %3 %18 = load i32, ptr @stderr, align 4 %19 = load ptr, ptr %6, align 8 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.1, ptr noundef %19) %21 = call i32 @exit(i32 noundef -1) #3 unreachable 22: ; preds = %3 %23 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %24 = call i32 @memset(ptr noundef %23, i8 noundef signext 0, i32 noundef 512) br label %25 25: ; preds = %35, %22 %26 = load i32, ptr %8, align 4 %27 = icmp sgt i32 %26, 0 br i1 %27, label %28, label %33 28: ; preds = %25 %29 = load i32, ptr %4, align 4 %30 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %31 = call i32 @recv(i32 noundef %29, ptr noundef %30, i32 noundef 512, i32 noundef 0) store i32 %31, ptr %7, align 4 %32 = icmp sgt i32 %31, 0 br label %33 33: ; preds = %28, %25 %34 = phi i1 [ false, %25 ], [ %32, %28 ] br i1 %34, label %35, label %49 35: ; preds = %33 %36 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %37 = load i32, ptr %7, align 4 %38 = load ptr, ptr %10, align 8 %39 = call i32 @fwrite(ptr noundef %36, i32 noundef 1, i32 noundef %37, ptr noundef %38) %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %8, align 4 %42 = sub nsw i32 %41, %40 store i32 %42, ptr %8, align 4 %43 = load i32, ptr @stdout, align 4 %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %8, align 4 %46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.2, i32 noundef %44, i32 noundef %45) %47 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %48 = call i32 @memset(ptr noundef %47, i8 noundef signext 0, i32 noundef 512) br label %25, !llvm.loop !6 49: ; preds = %33 %50 = load i32, ptr %8, align 4 %51 = icmp sgt i32 %50, 0 br i1 %51, label %52, label %57 52: ; preds = %49 %53 = load i32, ptr @stderr, align 4 %54 = load ptr, ptr %6, align 8 %55 = load i32, ptr %8, align 4 %56 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %53, ptr noundef @.str.3, ptr noundef %54, i32 noundef %55) br label %57 57: ; preds = %52, %49 %58 = load ptr, ptr %10, align 8 %59 = call i64 @fclose(ptr noundef %58) %60 = icmp ne i64 %59, 0 br i1 %60, label %61, label %66 61: ; preds = %57 %62 = load i32, ptr @stderr, align 4 %63 = load ptr, ptr %6, align 8 %64 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %62, ptr noundef @.str.4, ptr noundef %63) %65 = call i32 @exit(i32 noundef -1) #3 unreachable 66: ; preds = %57 ret void } declare i32 @atoi(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpy6zt4k0w.c' source_filename = "/tmp/tmpy6zt4k0w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getmaxbeta(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca x86_fp80, align 16 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds i32, ptr %7, i64 6 %9 = load i32, ptr %8, align 4 %10 = sitofp i32 %9 to double store double %10, ptr %4, align 8 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i32, ptr %11, i64 5 %13 = load i32, ptr %12, align 4 %14 = sitofp i32 %13 to double %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 2 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %2, align 8 %19 = getelementptr inbounds i32, ptr %18, i64 3 %20 = load i32, ptr %19, align 4 %21 = add nsw i32 %17, %20 %22 = sitofp i32 %21 to double %23 = fdiv double %22, 2.000000e+00 %24 = fadd double %14, %23 store double %24, ptr %5, align 8 %25 = load double, ptr %5, align 8 %26 = load double, ptr %4, align 8 %27 = fcmp ogt double %25, %26 br i1 %27, label %28, label %30 28: ; preds = %1 %29 = load double, ptr %5, align 8 store double %29, ptr %4, align 8 br label %30 30: ; preds = %28, %1 %31 = load ptr, ptr %2, align 8 %32 = getelementptr inbounds i32, ptr %31, i64 4 %33 = load i32, ptr %32, align 4 %34 = load ptr, ptr %2, align 8 %35 = getelementptr inbounds i32, ptr %34, i64 3 %36 = load i32, ptr %35, align 4 %37 = add nsw i32 %33, %36 %38 = sitofp i32 %37 to double store double %38, ptr %5, align 8 %39 = load double, ptr %5, align 8 %40 = load double, ptr %4, align 8 %41 = fcmp ogt double %39, %40 br i1 %41, label %42, label %44 42: ; preds = %30 %43 = load double, ptr %5, align 8 store double %43, ptr %4, align 8 br label %44 44: ; preds = %42, %30 store i32 0, ptr %3, align 4 store x86_fp80 0xK3FFF8000000000000000, ptr %6, align 16 br label %45 45: ; preds = %50, %44 %46 = load x86_fp80, ptr %6, align 16 %47 = call i64 @isfinite(x86_fp80 noundef %46) %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %55 49: ; preds = %45 br label %50 50: ; preds = %49 %51 = load i32, ptr %3, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %3, align 4 %53 = load x86_fp80, ptr %6, align 16 %54 = fmul x86_fp80 %53, 0xK40008000000000000000 store x86_fp80 %54, ptr %6, align 16 br label %45, !llvm.loop !6 55: ; preds = %45 %56 = load i32, ptr %3, align 4 %57 = sub nsw i32 %56, 64 %58 = call i32 @log(i32 noundef 2) %59 = mul nsw i32 %57, %58 %60 = sitofp i32 %59 to double %61 = load double, ptr %4, align 8 %62 = fdiv double %60, %61 ret double %62 } declare i64 @isfinite(x86_fp80 noundef) #1 declare i32 @log(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/tmpy6zt4k0w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getmaxbeta(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca x86_fp80, align 16 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds i32, ptr %7, i64 6 %9 = load i32, ptr %8, align 4 %10 = sitofp i32 %9 to double store double %10, ptr %4, align 8 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i32, ptr %11, i64 5 %13 = load i32, ptr %12, align 4 %14 = sitofp i32 %13 to double %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 2 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %2, align 8 %19 = getelementptr inbounds i32, ptr %18, i64 3 %20 = load i32, ptr %19, align 4 %21 = add nsw i32 %17, %20 %22 = sitofp i32 %21 to double %23 = fdiv double %22, 2.000000e+00 %24 = fadd double %14, %23 store double %24, ptr %5, align 8 %25 = load double, ptr %5, align 8 %26 = load double, ptr %4, align 8 %27 = fcmp ogt double %25, %26 br i1 %27, label %28, label %30 28: ; preds = %1 %29 = load double, ptr %5, align 8 store double %29, ptr %4, align 8 br label %30 30: ; preds = %28, %1 %31 = load ptr, ptr %2, align 8 %32 = getelementptr inbounds i32, ptr %31, i64 4 %33 = load i32, ptr %32, align 4 %34 = load ptr, ptr %2, align 8 %35 = getelementptr inbounds i32, ptr %34, i64 3 %36 = load i32, ptr %35, align 4 %37 = add nsw i32 %33, %36 %38 = sitofp i32 %37 to double store double %38, ptr %5, align 8 %39 = load double, ptr %5, align 8 %40 = load double, ptr %4, align 8 %41 = fcmp ogt double %39, %40 br i1 %41, label %42, label %44 42: ; preds = %30 %43 = load double, ptr %5, align 8 store double %43, ptr %4, align 8 br label %44 44: ; preds = %42, %30 store i32 0, ptr %3, align 4 store x86_fp80 0xK3FFF8000000000000000, ptr %6, align 16 %45 = load x86_fp80, ptr %6, align 16 %46 = call i64 @isfinite(x86_fp80 noundef %45) %47 = icmp ne i64 %46, 0 br i1 %47, label %.lr.ph, label %57 .lr.ph: ; preds = %44 br label %48 48: ; preds = %.lr.ph, %49 br label %49 49: ; preds = %48 %50 = load i32, ptr %3, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %3, align 4 %52 = load x86_fp80, ptr %6, align 16 %53 = fmul x86_fp80 %52, 0xK40008000000000000000 store x86_fp80 %53, ptr %6, align 16 %54 = load x86_fp80, ptr %6, align 16 %55 = call i64 @isfinite(x86_fp80 noundef %54) %56 = icmp ne i64 %55, 0 br i1 %56, label %48, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %57 57: ; preds = %._crit_edge, %44 %58 = load i32, ptr %3, align 4 %59 = sub nsw i32 %58, 64 %60 = call i32 @log(i32 noundef 2) %61 = mul nsw i32 %59, %60 %62 = sitofp i32 %61 to double %63 = load double, ptr %4, align 8 %64 = fdiv double %62, %63 ret double %64 } declare i64 @isfinite(x86_fp80 noundef) #1 declare i32 @log(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/tmpr76ykq7a.c' source_filename = "/tmp/tmpr76ykq7a.c" target datalayout = "e-m:e-p270: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/tmpr76ykq7a.c" target datalayout = "e-m:e-p270: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/tmpwcjehz4w.c' source_filename = "/tmp/tmpwcjehz4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BinStringToRawData(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 [8096 x i32], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %10, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %9, align 4 store i32 0, ptr %8, align 4 br label %14 14: ; preds = %74, %3 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %9, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %77 18: ; preds = %14 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %5, align 8 %21 = load i8, ptr %19, align 1 store i8 %21, ptr %11, align 1 %22 = load i8, ptr %11, align 1 %23 = sext i8 %22 to i32 %24 = icmp sge i32 %23, 48 br i1 %24, label %25, label %37 25: ; preds = %18 %26 = load i8, ptr %11, align 1 %27 = sext i8 %26 to i32 %28 = icmp sle i32 %27, 57 br i1 %28, label %29, label %37 29: ; preds = %25 %30 = load i8, ptr %11, align 1 %31 = sext i8 %30 to i32 %32 = sub nsw i32 %31, 48 %33 = load i32, ptr %10, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %10, align 4 %35 = sext i32 %33 to i64 %36 = getelementptr inbounds [8096 x i32], ptr %7, i64 0, i64 %35 store i32 %32, ptr %36, align 4 br label %73 37: ; preds = %25, %18 %38 = load i8, ptr %11, align 1 %39 = sext i8 %38 to i32 %40 = icmp sge i32 %39, 97 br i1 %40, label %41, label %54 41: ; preds = %37 %42 = load i8, ptr %11, align 1 %43 = sext i8 %42 to i32 %44 = icmp sle i32 %43, 102 br i1 %44, label %45, label %54 45: ; preds = %41 %46 = load i8, ptr %11, align 1 %47 = sext i8 %46 to i32 %48 = sub nsw i32 %47, 97 %49 = add nsw i32 %48, 10 %50 = load i32, ptr %10, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %10, align 4 %52 = sext i32 %50 to i64 %53 = getelementptr inbounds [8096 x i32], ptr %7, i64 0, i64 %52 store i32 %49, ptr %53, align 4 br label %72 54: ; preds = %41, %37 %55 = load i8, ptr %11, align 1 %56 = sext i8 %55 to i32 %57 = icmp sge i32 %56, 65 br i1 %57, label %58, label %71 58: ; preds = %54 %59 = load i8, ptr %11, align 1 %60 = sext i8 %59 to i32 %61 = icmp sle i32 %60, 70 br i1 %61, label %62, label %71 62: ; preds = %58 %63 = load i8, ptr %11, align 1 %64 = sext i8 %63 to i32 %65 = sub nsw i32 %64, 65 %66 = add nsw i32 %65, 10 %67 = load i32, ptr %10, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %10, align 4 %69 = sext i32 %67 to i64 %70 = getelementptr inbounds [8096 x i32], ptr %7, i64 0, i64 %69 store i32 %66, ptr %70, align 4 br label %71 71: ; preds = %62, %58, %54 br label %72 72: ; preds = %71, %45 br label %73 73: ; preds = %72, %29 br label %74 74: ; preds = %73 %75 = load i32, ptr %8, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %8, align 4 br label %14, !llvm.loop !6 77: ; preds = %14 store i32 0, ptr %8, align 4 br label %78 78: ; preds = %99, %77 %79 = load i32, ptr %8, align 4 %80 = load i32, ptr %10, align 4 %81 = sdiv i32 %80, 2 %82 = icmp slt i32 %79, %81 br i1 %82, label %83, label %102 83: ; preds = %78 %84 = load i32, ptr %8, align 4 %85 = mul nsw i32 2, %84 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [8096 x i32], ptr %7, i64 0, i64 %86 %88 = load i32, ptr %87, align 4 %89 = shl i32 %88, 4 %90 = load i32, ptr %8, align 4 %91 = mul nsw i32 2, %90 %92 = add nsw i32 %91, 1 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [8096 x i32], ptr %7, i64 0, i64 %93 %95 = load i32, ptr %94, align 4 %96 = add nsw i32 %89, %95 %97 = load ptr, ptr %4, align 8 %98 = getelementptr inbounds i32, ptr %97, i32 1 store ptr %98, ptr %4, align 8 store i32 %96, ptr %97, align 4 br label %99 99: ; preds = %83 %100 = load i32, ptr %8, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %8, align 4 br label %78, !llvm.loop !8 102: ; preds = %78 %103 = load i32, ptr %10, align 4 %104 = sdiv i32 %103, 2 %105 = load ptr, ptr %6, align 8 store i32 %104, ptr %105, align 4 ret i32 0 } 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwcjehz4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BinStringToRawData(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 [8096 x i32], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %10, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %9, align 4 store i32 0, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = load i32, ptr %9, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %79 .lr.ph: ; preds = %3 br label %17 17: ; preds = %.lr.ph, %73 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %5, align 8 %20 = load i8, ptr %18, align 1 store i8 %20, ptr %11, align 1 %21 = load i8, ptr %11, align 1 %22 = sext i8 %21 to i32 %23 = icmp sge i32 %22, 48 br i1 %23, label %24, label %36 24: ; preds = %17 %25 = load i8, ptr %11, align 1 %26 = sext i8 %25 to i32 %27 = icmp sle i32 %26, 57 br i1 %27, label %28, label %36 28: ; preds = %24 %29 = load i8, ptr %11, align 1 %30 = sext i8 %29 to i32 %31 = sub nsw i32 %30, 48 %32 = load i32, ptr %10, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %10, align 4 %34 = sext i32 %32 to i64 %35 = getelementptr inbounds [8096 x i32], ptr %7, i64 0, i64 %34 store i32 %31, ptr %35, align 4 br label %72 36: ; preds = %24, %17 %37 = load i8, ptr %11, align 1 %38 = sext i8 %37 to i32 %39 = icmp sge i32 %38, 97 br i1 %39, label %40, label %53 40: ; preds = %36 %41 = load i8, ptr %11, align 1 %42 = sext i8 %41 to i32 %43 = icmp sle i32 %42, 102 br i1 %43, label %44, label %53 44: ; preds = %40 %45 = load i8, ptr %11, align 1 %46 = sext i8 %45 to i32 %47 = sub nsw i32 %46, 97 %48 = add nsw i32 %47, 10 %49 = load i32, ptr %10, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %10, align 4 %51 = sext i32 %49 to i64 %52 = getelementptr inbounds [8096 x i32], ptr %7, i64 0, i64 %51 store i32 %48, ptr %52, align 4 br label %71 53: ; preds = %40, %36 %54 = load i8, ptr %11, align 1 %55 = sext i8 %54 to i32 %56 = icmp sge i32 %55, 65 br i1 %56, label %57, label %70 57: ; preds = %53 %58 = load i8, ptr %11, align 1 %59 = sext i8 %58 to i32 %60 = icmp sle i32 %59, 70 br i1 %60, label %61, label %70 61: ; preds = %57 %62 = load i8, ptr %11, align 1 %63 = sext i8 %62 to i32 %64 = sub nsw i32 %63, 65 %65 = add nsw i32 %64, 10 %66 = load i32, ptr %10, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %10, align 4 %68 = sext i32 %66 to i64 %69 = getelementptr inbounds [8096 x i32], ptr %7, i64 0, i64 %68 store i32 %65, ptr %69, align 4 br label %70 70: ; preds = %61, %57, %53 br label %71 71: ; preds = %70, %44 br label %72 72: ; preds = %71, %28 br label %73 73: ; preds = %72 %74 = load i32, ptr %8, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %8, align 4 %76 = load i32, ptr %8, align 4 %77 = load i32, ptr %9, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %73 br label %79 79: ; preds = %._crit_edge, %3 store i32 0, ptr %8, align 4 %80 = load i32, ptr %8, align 4 %81 = load i32, ptr %10, align 4 %82 = sdiv i32 %81, 2 %83 = icmp slt i32 %80, %82 br i1 %83, label %.lr.ph2, label %107 .lr.ph2: ; preds = %79 br label %84 84: ; preds = %.lr.ph2, %100 %85 = load i32, ptr %8, align 4 %86 = mul nsw i32 2, %85 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [8096 x i32], ptr %7, i64 0, i64 %87 %89 = load i32, ptr %88, align 4 %90 = shl i32 %89, 4 %91 = load i32, ptr %8, align 4 %92 = mul nsw i32 2, %91 %93 = add nsw i32 %92, 1 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds [8096 x i32], ptr %7, i64 0, i64 %94 %96 = load i32, ptr %95, align 4 %97 = add nsw i32 %90, %96 %98 = load ptr, ptr %4, align 8 %99 = getelementptr inbounds i32, ptr %98, i32 1 store ptr %99, ptr %4, align 8 store i32 %97, ptr %98, align 4 br label %100 100: ; preds = %84 %101 = load i32, ptr %8, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %8, align 4 %103 = load i32, ptr %8, align 4 %104 = load i32, ptr %10, align 4 %105 = sdiv i32 %104, 2 %106 = icmp slt i32 %103, %105 br i1 %106, label %84, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %100 br label %107 107: ; preds = %._crit_edge3, %79 %108 = load i32, ptr %10, align 4 %109 = sdiv i32 %108, 2 %110 = load ptr, ptr %6, align 8 store i32 %109, ptr %110, align 4 ret i32 0 } 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpk_2d77bl.c' source_filename = "/tmp/tmpk_2d77bl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swedish_UTF_8_close_env(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 @SN_close_env(ptr noundef %3) ret void } declare i32 @SN_close_env(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk_2d77bl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swedish_UTF_8_close_env(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 @SN_close_env(ptr noundef %3) ret void } declare i32 @SN_close_env(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptmk8ebem.c' source_filename = "/tmp/tmptmk8ebem.c" target datalayout = "e-m:e-p270: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/tmptmk8ebem.c" target datalayout = "e-m:e-p270: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/tmpvmmrqpg2.c' source_filename = "/tmp/tmpvmmrqpg2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Cannot open file %s \0A\00", align 1 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @line_count(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = call i32 @printf(ptr noundef @.str.1, ptr noundef %10) %12 = call i32 @exit(i32 noundef 0) #3 unreachable 13: ; preds = %1 store i32 0, ptr %5, align 4 br label %14 14: ; preds = %25, %13 %15 = load ptr, ptr %3, align 8 %16 = call i32 @fgetc(ptr noundef %15) store i32 %16, ptr %4, align 4 %17 = load i32, ptr @EOF, align 4 %18 = icmp ne i32 %16, %17 br i1 %18, label %19, label %26 19: ; preds = %14 %20 = load i32, ptr %4, align 4 %21 = icmp eq i32 %20, 10 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 br label %25 25: ; preds = %22, %19 br label %14, !llvm.loop !6 26: ; preds = %14 %27 = load ptr, ptr %3, align 8 %28 = call i32 @fclose(ptr noundef %27) %29 = load i32, ptr %5, align 4 ret i32 %29 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvmmrqpg2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Cannot open file %s \0A\00", align 1 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @line_count(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = call i32 @printf(ptr noundef @.str.1, ptr noundef %10) %12 = call i32 @exit(i32 noundef 0) #3 unreachable 13: ; preds = %1 store i32 0, ptr %5, align 4 %14 = load ptr, ptr %3, align 8 %15 = call i32 @fgetc(ptr noundef %14) store i32 %15, ptr %4, align 4 %16 = load i32, ptr @EOF, align 4 %17 = icmp ne i32 %15, %16 br i1 %17, label %.lr.ph, label %29 .lr.ph: ; preds = %13 br label %18 18: ; preds = %.lr.ph, %24 %19 = load i32, ptr %4, align 4 %20 = icmp eq i32 %19, 10 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %24 24: ; preds = %21, %18 %25 = load ptr, ptr %3, align 8 %26 = call i32 @fgetc(ptr noundef %25) store i32 %26, ptr %4, align 4 %27 = load i32, ptr @EOF, align 4 %28 = icmp ne i32 %26, %27 br i1 %28, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %13 %30 = load ptr, ptr %3, align 8 %31 = call i32 @fclose(ptr noundef %30) %32 = load i32, ptr %5, align 4 ret i32 %32 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwxn6snk6.c' source_filename = "/tmp/tmpwxn6snk6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"rmdir\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_rmdir(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds ptr, ptr %5, i64 1 %7 = load ptr, ptr %6, align 8 %8 = call i32 @rmdir(ptr noundef %7) %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @perror(ptr noundef @.str) br label %12 12: ; preds = %10, %2 ret void } declare i32 @rmdir(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwxn6snk6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"rmdir\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_rmdir(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds ptr, ptr %5, i64 1 %7 = load ptr, ptr %6, align 8 %8 = call i32 @rmdir(ptr noundef %7) %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @perror(ptr noundef @.str) br label %12 12: ; preds = %10, %2 ret void } declare i32 @rmdir(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq_trjl3l.c' source_filename = "/tmp/tmpq_trjl3l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"iter=%d\09error=%lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Gauss_siedel(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store double 0x3EB0C6F7A0B5ED8D, ptr %20, align 8 store i32 0, ptr %21, align 4 br label %22 22: ; preds = %281, %4 %23 = call i32 (...) @boundary_pressure() store i64 1, ptr %9, align 8 br label %24 24: ; preds = %141, %22 %25 = load i64, ptr %9, align 8 %26 = icmp slt i64 %25, 128 br i1 %26, label %27, label %144 27: ; preds = %24 store i64 1, ptr %10, align 8 br label %28 28: ; preds = %137, %27 %29 = load i64, ptr %10, align 8 %30 = icmp slt i64 %29, 128 br i1 %30, label %31, label %140 31: ; preds = %28 %32 = load i64, ptr %9, align 8 %33 = mul nsw i64 %32, 129 %34 = load i64, ptr %10, align 8 %35 = add nsw i64 %33, %34 store i64 %35, ptr %11, align 8 %36 = load i64, ptr %11, align 8 %37 = add nsw i64 %36, 1 store i64 %37, ptr %12, align 8 %38 = load i64, ptr %11, align 8 %39 = add nsw i64 %38, 129 store i64 %39, ptr %13, align 8 %40 = load i64, ptr %11, align 8 %41 = sub nsw i64 %40, 1 store i64 %41, ptr %14, align 8 %42 = load i64, ptr %11, align 8 %43 = sub nsw i64 %42, 129 store i64 %43, ptr %15, align 8 %44 = load i64, ptr %9, align 8 %45 = sub nsw i64 %44, 1 %46 = mul nsw i64 %45, 128 %47 = load i64, ptr %10, align 8 %48 = sub nsw i64 %47, 1 %49 = add nsw i64 %46, %48 store i64 %49, ptr %16, align 8 %50 = load i64, ptr %9, align 8 %51 = sub nsw i64 %50, 1 %52 = mul nsw i64 %51, 127 %53 = load i64, ptr %10, align 8 %54 = sub nsw i64 %53, 1 %55 = add nsw i64 %52, %54 store i64 %55, ptr %17, align 8 %56 = load i64, ptr %9, align 8 %57 = load i64, ptr %10, align 8 %58 = add nsw i64 %56, %57 %59 = srem i64 %58, 2 %60 = icmp eq i64 %59, 0 br i1 %60, label %61, label %136 61: ; preds = %31 %62 = load ptr, ptr %7, align 8 %63 = load i64, ptr %16, align 8 %64 = getelementptr inbounds double, ptr %62, i64 %63 %65 = load double, ptr %64, align 8 %66 = load ptr, ptr %5, align 8 %67 = load i64, ptr %14, align 8 %68 = getelementptr inbounds double, ptr %66, i64 %67 %69 = load double, ptr %68, align 8 %70 = load ptr, ptr %7, align 8 %71 = load i64, ptr %16, align 8 %72 = add nsw i64 %71, 1 %73 = getelementptr inbounds double, ptr %70, i64 %72 %74 = load double, ptr %73, align 8 %75 = load ptr, ptr %5, align 8 %76 = load i64, ptr %12, align 8 %77 = getelementptr inbounds double, ptr %75, i64 %76 %78 = load double, ptr %77, align 8 %79 = fmul double %74, %78 %80 = call double @llvm.fmuladd.f64(double %65, double %69, double %79) %81 = load ptr, ptr %8, align 8 %82 = load i64, ptr %17, align 8 %83 = getelementptr inbounds double, ptr %81, i64 %82 %84 = load double, ptr %83, align 8 %85 = load ptr, ptr %5, align 8 %86 = load i64, ptr %15, align 8 %87 = getelementptr inbounds double, ptr %85, i64 %86 %88 = load double, ptr %87, align 8 %89 = call double @llvm.fmuladd.f64(double %84, double %88, double %80) %90 = load ptr, ptr %8, align 8 %91 = load i64, ptr %17, align 8 %92 = add nsw i64 %91, 127 %93 = getelementptr inbounds double, ptr %90, i64 %92 %94 = load double, ptr %93, align 8 %95 = load ptr, ptr %5, align 8 %96 = load i64, ptr %13, align 8 %97 = getelementptr inbounds double, ptr %95, i64 %96 %98 = load double, ptr %97, align 8 %99 = call double @llvm.fmuladd.f64(double %94, double %98, double %89) %100 = load ptr, ptr %6, align 8 %101 = load i64, ptr %11, align 8 %102 = getelementptr inbounds double, ptr %100, i64 %101 %103 = load double, ptr %102, align 8 %104 = fmul double 1.000000e+00, %103 %105 = call double @llvm.fmuladd.f64(double -1.000000e+00, double %99, double %104) %106 = load ptr, ptr %5, align 8 %107 = load i64, ptr %11, align 8 %108 = getelementptr inbounds double, ptr %106, i64 %107 store double %105, ptr %108, align 8 %109 = load ptr, ptr %7, align 8 %110 = load i64, ptr %16, align 8 %111 = add nsw i64 %110, 1 %112 = getelementptr inbounds double, ptr %109, i64 %111 %113 = load double, ptr %112, align 8 %114 = load ptr, ptr %7, align 8 %115 = load i64, ptr %16, align 8 %116 = getelementptr inbounds double, ptr %114, i64 %115 %117 = load double, ptr %116, align 8 %118 = fadd double %113, %117 %119 = load ptr, ptr %8, align 8 %120 = load i64, ptr %17, align 8 %121 = add nsw i64 %120, 127 %122 = getelementptr inbounds double, ptr %119, i64 %121 %123 = load double, ptr %122, align 8 %124 = fadd double %118, %123 %125 = load ptr, ptr %8, align 8 %126 = load i64, ptr %17, align 8 %127 = getelementptr inbounds double, ptr %125, i64 %126 %128 = load double, ptr %127, align 8 %129 = fadd double %124, %128 %130 = fmul double -1.000000e+00, %129 %131 = load ptr, ptr %5, align 8 %132 = load i64, ptr %11, align 8 %133 = getelementptr inbounds double, ptr %131, i64 %132 %134 = load double, ptr %133, align 8 %135 = fdiv double %134, %130 store double %135, ptr %133, align 8 br label %136 136: ; preds = %61, %31 br label %137 137: ; preds = %136 %138 = load i64, ptr %10, align 8 %139 = add nsw i64 %138, 1 store i64 %139, ptr %10, align 8 br label %28, !llvm.loop !6 140: ; preds = %28 br label %141 141: ; preds = %140 %142 = load i64, ptr %9, align 8 %143 = add nsw i64 %142, 1 store i64 %143, ptr %9, align 8 br label %24, !llvm.loop !8 144: ; preds = %24 store i64 1, ptr %9, align 8 br label %145 145: ; preds = %262, %144 %146 = load i64, ptr %9, align 8 %147 = icmp slt i64 %146, 128 br i1 %147, label %148, label %265 148: ; preds = %145 store i64 1, ptr %10, align 8 br label %149 149: ; preds = %258, %148 %150 = load i64, ptr %10, align 8 %151 = icmp slt i64 %150, 128 br i1 %151, label %152, label %261 152: ; preds = %149 %153 = load i64, ptr %9, align 8 %154 = mul nsw i64 %153, 129 %155 = load i64, ptr %10, align 8 %156 = add nsw i64 %154, %155 store i64 %156, ptr %11, align 8 %157 = load i64, ptr %11, align 8 %158 = add nsw i64 %157, 1 store i64 %158, ptr %12, align 8 %159 = load i64, ptr %11, align 8 %160 = add nsw i64 %159, 129 store i64 %160, ptr %13, align 8 %161 = load i64, ptr %11, align 8 %162 = sub nsw i64 %161, 1 store i64 %162, ptr %14, align 8 %163 = load i64, ptr %11, align 8 %164 = sub nsw i64 %163, 129 store i64 %164, ptr %15, align 8 %165 = load i64, ptr %9, align 8 %166 = sub nsw i64 %165, 1 %167 = mul nsw i64 %166, 128 %168 = load i64, ptr %10, align 8 %169 = sub nsw i64 %168, 1 %170 = add nsw i64 %167, %169 store i64 %170, ptr %16, align 8 %171 = load i64, ptr %9, align 8 %172 = sub nsw i64 %171, 1 %173 = mul nsw i64 %172, 127 %174 = load i64, ptr %10, align 8 %175 = sub nsw i64 %174, 1 %176 = add nsw i64 %173, %175 store i64 %176, ptr %17, align 8 %177 = load i64, ptr %9, align 8 %178 = load i64, ptr %10, align 8 %179 = add nsw i64 %177, %178 %180 = srem i64 %179, 2 %181 = icmp ne i64 %180, 0 br i1 %181, label %182, label %257 182: ; preds = %152 %183 = load ptr, ptr %7, align 8 %184 = load i64, ptr %16, align 8 %185 = getelementptr inbounds double, ptr %183, i64 %184 %186 = load double, ptr %185, align 8 %187 = load ptr, ptr %5, align 8 %188 = load i64, ptr %14, align 8 %189 = getelementptr inbounds double, ptr %187, i64 %188 %190 = load double, ptr %189, align 8 %191 = load ptr, ptr %7, align 8 %192 = load i64, ptr %16, align 8 %193 = add nsw i64 %192, 1 %194 = getelementptr inbounds double, ptr %191, i64 %193 %195 = load double, ptr %194, align 8 %196 = load ptr, ptr %5, align 8 %197 = load i64, ptr %12, align 8 %198 = getelementptr inbounds double, ptr %196, i64 %197 %199 = load double, ptr %198, align 8 %200 = fmul double %195, %199 %201 = call double @llvm.fmuladd.f64(double %186, double %190, double %200) %202 = load ptr, ptr %8, align 8 %203 = load i64, ptr %17, align 8 %204 = getelementptr inbounds double, ptr %202, i64 %203 %205 = load double, ptr %204, align 8 %206 = load ptr, ptr %5, align 8 %207 = load i64, ptr %15, align 8 %208 = getelementptr inbounds double, ptr %206, i64 %207 %209 = load double, ptr %208, align 8 %210 = call double @llvm.fmuladd.f64(double %205, double %209, double %201) %211 = load ptr, ptr %8, align 8 %212 = load i64, ptr %17, align 8 %213 = add nsw i64 %212, 127 %214 = getelementptr inbounds double, ptr %211, i64 %213 %215 = load double, ptr %214, align 8 %216 = load ptr, ptr %5, align 8 %217 = load i64, ptr %13, align 8 %218 = getelementptr inbounds double, ptr %216, i64 %217 %219 = load double, ptr %218, align 8 %220 = call double @llvm.fmuladd.f64(double %215, double %219, double %210) %221 = load ptr, ptr %6, align 8 %222 = load i64, ptr %11, align 8 %223 = getelementptr inbounds double, ptr %221, i64 %222 %224 = load double, ptr %223, align 8 %225 = fmul double 1.000000e+00, %224 %226 = call double @llvm.fmuladd.f64(double -1.000000e+00, double %220, double %225) %227 = load ptr, ptr %5, align 8 %228 = load i64, ptr %11, align 8 %229 = getelementptr inbounds double, ptr %227, i64 %228 store double %226, ptr %229, align 8 %230 = load ptr, ptr %7, align 8 %231 = load i64, ptr %16, align 8 %232 = getelementptr inbounds double, ptr %230, i64 %231 %233 = load double, ptr %232, align 8 %234 = load ptr, ptr %7, align 8 %235 = load i64, ptr %16, align 8 %236 = add nsw i64 %235, 1 %237 = getelementptr inbounds double, ptr %234, i64 %236 %238 = load double, ptr %237, align 8 %239 = fadd double %233, %238 %240 = load ptr, ptr %8, align 8 %241 = load i64, ptr %17, align 8 %242 = getelementptr inbounds double, ptr %240, i64 %241 %243 = load double, ptr %242, align 8 %244 = fadd double %239, %243 %245 = load ptr, ptr %8, align 8 %246 = load i64, ptr %17, align 8 %247 = add nsw i64 %246, 127 %248 = getelementptr inbounds double, ptr %245, i64 %247 %249 = load double, ptr %248, align 8 %250 = fadd double %244, %249 %251 = fmul double -1.000000e+00, %250 %252 = load ptr, ptr %5, align 8 %253 = load i64, ptr %11, align 8 %254 = getelementptr inbounds double, ptr %252, i64 %253 %255 = load double, ptr %254, align 8 %256 = fdiv double %255, %251 store double %256, ptr %254, align 8 br label %257 257: ; preds = %182, %152 br label %258 258: ; preds = %257 %259 = load i64, ptr %10, align 8 %260 = add nsw i64 %259, 1 store i64 %260, ptr %10, align 8 br label %149, !llvm.loop !9 261: ; preds = %149 br label %262 262: ; preds = %261 %263 = load i64, ptr %9, align 8 %264 = add nsw i64 %263, 1 store i64 %264, ptr %9, align 8 br label %145, !llvm.loop !10 265: ; preds = %145 %266 = load i32, ptr %21, align 4 %267 = add nsw i32 %266, 1 store i32 %267, ptr %21, align 4 %268 = load ptr, ptr %7, align 8 %269 = load ptr, ptr %8, align 8 %270 = load ptr, ptr %5, align 8 %271 = load ptr, ptr %6, align 8 %272 = call double @compute_error(ptr noundef %268, ptr noundef %269, ptr noundef %270, ptr noundef %271) store double %272, ptr %19, align 8 %273 = load i32, ptr %21, align 4 %274 = load double, ptr %19, align 8 %275 = call i32 @printf(ptr noundef @.str, i32 noundef %273, double noundef %274) %276 = load double, ptr %19, align 8 %277 = call double @llvm.fabs.f64(double %276) %278 = load double, ptr %20, align 8 %279 = fcmp olt double %277, %278 br i1 %279, label %280, label %281 280: ; preds = %265 br label %282 281: ; preds = %265 br label %22 282: ; preds = %280 ret void } declare i32 @boundary_pressure(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @compute_error(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpq_trjl3l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"iter=%d\09error=%lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Gauss_siedel(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store double 0x3EB0C6F7A0B5ED8D, ptr %20, align 8 store i32 0, ptr %21, align 4 br label %22 22: ; preds = %269, %4 %23 = call i32 (...) @boundary_pressure() store i64 1, ptr %9, align 8 %24 = load i64, ptr %9, align 8 %25 = icmp slt i64 %24, 128 br i1 %25, label %.lr.ph2, label %146 .lr.ph2: ; preds = %22 br label %26 26: ; preds = %.lr.ph2, %141 store i64 1, ptr %10, align 8 %27 = load i64, ptr %10, align 8 %28 = icmp slt i64 %27, 128 br i1 %28, label %.lr.ph, label %140 .lr.ph: ; preds = %26 br label %29 29: ; preds = %.lr.ph, %135 %30 = load i64, ptr %9, align 8 %31 = mul nsw i64 %30, 129 %32 = load i64, ptr %10, align 8 %33 = add nsw i64 %31, %32 store i64 %33, ptr %11, align 8 %34 = load i64, ptr %11, align 8 %35 = add nsw i64 %34, 1 store i64 %35, ptr %12, align 8 %36 = load i64, ptr %11, align 8 %37 = add nsw i64 %36, 129 store i64 %37, ptr %13, align 8 %38 = load i64, ptr %11, align 8 %39 = sub nsw i64 %38, 1 store i64 %39, ptr %14, align 8 %40 = load i64, ptr %11, align 8 %41 = sub nsw i64 %40, 129 store i64 %41, ptr %15, align 8 %42 = load i64, ptr %9, align 8 %43 = sub nsw i64 %42, 1 %44 = mul nsw i64 %43, 128 %45 = load i64, ptr %10, align 8 %46 = sub nsw i64 %45, 1 %47 = add nsw i64 %44, %46 store i64 %47, ptr %16, align 8 %48 = load i64, ptr %9, align 8 %49 = sub nsw i64 %48, 1 %50 = mul nsw i64 %49, 127 %51 = load i64, ptr %10, align 8 %52 = sub nsw i64 %51, 1 %53 = add nsw i64 %50, %52 store i64 %53, ptr %17, align 8 %54 = load i64, ptr %9, align 8 %55 = load i64, ptr %10, align 8 %56 = add nsw i64 %54, %55 %57 = srem i64 %56, 2 %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %134 59: ; preds = %29 %60 = load ptr, ptr %7, align 8 %61 = load i64, ptr %16, align 8 %62 = getelementptr inbounds double, ptr %60, i64 %61 %63 = load double, ptr %62, align 8 %64 = load ptr, ptr %5, align 8 %65 = load i64, ptr %14, align 8 %66 = getelementptr inbounds double, ptr %64, i64 %65 %67 = load double, ptr %66, align 8 %68 = load ptr, ptr %7, align 8 %69 = load i64, ptr %16, align 8 %70 = add nsw i64 %69, 1 %71 = getelementptr inbounds double, ptr %68, i64 %70 %72 = load double, ptr %71, align 8 %73 = load ptr, ptr %5, align 8 %74 = load i64, ptr %12, align 8 %75 = getelementptr inbounds double, ptr %73, i64 %74 %76 = load double, ptr %75, align 8 %77 = fmul double %72, %76 %78 = call double @llvm.fmuladd.f64(double %63, double %67, double %77) %79 = load ptr, ptr %8, align 8 %80 = load i64, ptr %17, align 8 %81 = getelementptr inbounds double, ptr %79, i64 %80 %82 = load double, ptr %81, align 8 %83 = load ptr, ptr %5, align 8 %84 = load i64, ptr %15, align 8 %85 = getelementptr inbounds double, ptr %83, i64 %84 %86 = load double, ptr %85, align 8 %87 = call double @llvm.fmuladd.f64(double %82, double %86, double %78) %88 = load ptr, ptr %8, align 8 %89 = load i64, ptr %17, align 8 %90 = add nsw i64 %89, 127 %91 = getelementptr inbounds double, ptr %88, i64 %90 %92 = load double, ptr %91, align 8 %93 = load ptr, ptr %5, align 8 %94 = load i64, ptr %13, align 8 %95 = getelementptr inbounds double, ptr %93, i64 %94 %96 = load double, ptr %95, align 8 %97 = call double @llvm.fmuladd.f64(double %92, double %96, double %87) %98 = load ptr, ptr %6, align 8 %99 = load i64, ptr %11, align 8 %100 = getelementptr inbounds double, ptr %98, i64 %99 %101 = load double, ptr %100, align 8 %102 = fmul double 1.000000e+00, %101 %103 = call double @llvm.fmuladd.f64(double -1.000000e+00, double %97, double %102) %104 = load ptr, ptr %5, align 8 %105 = load i64, ptr %11, align 8 %106 = getelementptr inbounds double, ptr %104, i64 %105 store double %103, ptr %106, align 8 %107 = load ptr, ptr %7, align 8 %108 = load i64, ptr %16, align 8 %109 = add nsw i64 %108, 1 %110 = getelementptr inbounds double, ptr %107, i64 %109 %111 = load double, ptr %110, align 8 %112 = load ptr, ptr %7, align 8 %113 = load i64, ptr %16, align 8 %114 = getelementptr inbounds double, ptr %112, i64 %113 %115 = load double, ptr %114, align 8 %116 = fadd double %111, %115 %117 = load ptr, ptr %8, align 8 %118 = load i64, ptr %17, align 8 %119 = add nsw i64 %118, 127 %120 = getelementptr inbounds double, ptr %117, i64 %119 %121 = load double, ptr %120, align 8 %122 = fadd double %116, %121 %123 = load ptr, ptr %8, align 8 %124 = load i64, ptr %17, align 8 %125 = getelementptr inbounds double, ptr %123, i64 %124 %126 = load double, ptr %125, align 8 %127 = fadd double %122, %126 %128 = fmul double -1.000000e+00, %127 %129 = load ptr, ptr %5, align 8 %130 = load i64, ptr %11, align 8 %131 = getelementptr inbounds double, ptr %129, i64 %130 %132 = load double, ptr %131, align 8 %133 = fdiv double %132, %128 store double %133, ptr %131, align 8 br label %134 134: ; preds = %59, %29 br label %135 135: ; preds = %134 %136 = load i64, ptr %10, align 8 %137 = add nsw i64 %136, 1 store i64 %137, ptr %10, align 8 %138 = load i64, ptr %10, align 8 %139 = icmp slt i64 %138, 128 br i1 %139, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %135 br label %140 140: ; preds = %._crit_edge, %26 br label %141 141: ; preds = %140 %142 = load i64, ptr %9, align 8 %143 = add nsw i64 %142, 1 store i64 %143, ptr %9, align 8 %144 = load i64, ptr %9, align 8 %145 = icmp slt i64 %144, 128 br i1 %145, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %141 br label %146 146: ; preds = %._crit_edge3, %22 store i64 1, ptr %9, align 8 %147 = load i64, ptr %9, align 8 %148 = icmp slt i64 %147, 128 br i1 %148, label %.lr.ph8, label %269 .lr.ph8: ; preds = %146 br label %149 149: ; preds = %.lr.ph8, %264 store i64 1, ptr %10, align 8 %150 = load i64, ptr %10, align 8 %151 = icmp slt i64 %150, 128 br i1 %151, label %.lr.ph5, label %263 .lr.ph5: ; preds = %149 br label %152 152: ; preds = %.lr.ph5, %258 %153 = load i64, ptr %9, align 8 %154 = mul nsw i64 %153, 129 %155 = load i64, ptr %10, align 8 %156 = add nsw i64 %154, %155 store i64 %156, ptr %11, align 8 %157 = load i64, ptr %11, align 8 %158 = add nsw i64 %157, 1 store i64 %158, ptr %12, align 8 %159 = load i64, ptr %11, align 8 %160 = add nsw i64 %159, 129 store i64 %160, ptr %13, align 8 %161 = load i64, ptr %11, align 8 %162 = sub nsw i64 %161, 1 store i64 %162, ptr %14, align 8 %163 = load i64, ptr %11, align 8 %164 = sub nsw i64 %163, 129 store i64 %164, ptr %15, align 8 %165 = load i64, ptr %9, align 8 %166 = sub nsw i64 %165, 1 %167 = mul nsw i64 %166, 128 %168 = load i64, ptr %10, align 8 %169 = sub nsw i64 %168, 1 %170 = add nsw i64 %167, %169 store i64 %170, ptr %16, align 8 %171 = load i64, ptr %9, align 8 %172 = sub nsw i64 %171, 1 %173 = mul nsw i64 %172, 127 %174 = load i64, ptr %10, align 8 %175 = sub nsw i64 %174, 1 %176 = add nsw i64 %173, %175 store i64 %176, ptr %17, align 8 %177 = load i64, ptr %9, align 8 %178 = load i64, ptr %10, align 8 %179 = add nsw i64 %177, %178 %180 = srem i64 %179, 2 %181 = icmp ne i64 %180, 0 br i1 %181, label %182, label %257 182: ; preds = %152 %183 = load ptr, ptr %7, align 8 %184 = load i64, ptr %16, align 8 %185 = getelementptr inbounds double, ptr %183, i64 %184 %186 = load double, ptr %185, align 8 %187 = load ptr, ptr %5, align 8 %188 = load i64, ptr %14, align 8 %189 = getelementptr inbounds double, ptr %187, i64 %188 %190 = load double, ptr %189, align 8 %191 = load ptr, ptr %7, align 8 %192 = load i64, ptr %16, align 8 %193 = add nsw i64 %192, 1 %194 = getelementptr inbounds double, ptr %191, i64 %193 %195 = load double, ptr %194, align 8 %196 = load ptr, ptr %5, align 8 %197 = load i64, ptr %12, align 8 %198 = getelementptr inbounds double, ptr %196, i64 %197 %199 = load double, ptr %198, align 8 %200 = fmul double %195, %199 %201 = call double @llvm.fmuladd.f64(double %186, double %190, double %200) %202 = load ptr, ptr %8, align 8 %203 = load i64, ptr %17, align 8 %204 = getelementptr inbounds double, ptr %202, i64 %203 %205 = load double, ptr %204, align 8 %206 = load ptr, ptr %5, align 8 %207 = load i64, ptr %15, align 8 %208 = getelementptr inbounds double, ptr %206, i64 %207 %209 = load double, ptr %208, align 8 %210 = call double @llvm.fmuladd.f64(double %205, double %209, double %201) %211 = load ptr, ptr %8, align 8 %212 = load i64, ptr %17, align 8 %213 = add nsw i64 %212, 127 %214 = getelementptr inbounds double, ptr %211, i64 %213 %215 = load double, ptr %214, align 8 %216 = load ptr, ptr %5, align 8 %217 = load i64, ptr %13, align 8 %218 = getelementptr inbounds double, ptr %216, i64 %217 %219 = load double, ptr %218, align 8 %220 = call double @llvm.fmuladd.f64(double %215, double %219, double %210) %221 = load ptr, ptr %6, align 8 %222 = load i64, ptr %11, align 8 %223 = getelementptr inbounds double, ptr %221, i64 %222 %224 = load double, ptr %223, align 8 %225 = fmul double 1.000000e+00, %224 %226 = call double @llvm.fmuladd.f64(double -1.000000e+00, double %220, double %225) %227 = load ptr, ptr %5, align 8 %228 = load i64, ptr %11, align 8 %229 = getelementptr inbounds double, ptr %227, i64 %228 store double %226, ptr %229, align 8 %230 = load ptr, ptr %7, align 8 %231 = load i64, ptr %16, align 8 %232 = getelementptr inbounds double, ptr %230, i64 %231 %233 = load double, ptr %232, align 8 %234 = load ptr, ptr %7, align 8 %235 = load i64, ptr %16, align 8 %236 = add nsw i64 %235, 1 %237 = getelementptr inbounds double, ptr %234, i64 %236 %238 = load double, ptr %237, align 8 %239 = fadd double %233, %238 %240 = load ptr, ptr %8, align 8 %241 = load i64, ptr %17, align 8 %242 = getelementptr inbounds double, ptr %240, i64 %241 %243 = load double, ptr %242, align 8 %244 = fadd double %239, %243 %245 = load ptr, ptr %8, align 8 %246 = load i64, ptr %17, align 8 %247 = add nsw i64 %246, 127 %248 = getelementptr inbounds double, ptr %245, i64 %247 %249 = load double, ptr %248, align 8 %250 = fadd double %244, %249 %251 = fmul double -1.000000e+00, %250 %252 = load ptr, ptr %5, align 8 %253 = load i64, ptr %11, align 8 %254 = getelementptr inbounds double, ptr %252, i64 %253 %255 = load double, ptr %254, align 8 %256 = fdiv double %255, %251 store double %256, ptr %254, align 8 br label %257 257: ; preds = %182, %152 br label %258 258: ; preds = %257 %259 = load i64, ptr %10, align 8 %260 = add nsw i64 %259, 1 store i64 %260, ptr %10, align 8 %261 = load i64, ptr %10, align 8 %262 = icmp slt i64 %261, 128 br i1 %262, label %152, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %258 br label %263 263: ; preds = %._crit_edge6, %149 br label %264 264: ; preds = %263 %265 = load i64, ptr %9, align 8 %266 = add nsw i64 %265, 1 store i64 %266, ptr %9, align 8 %267 = load i64, ptr %9, align 8 %268 = icmp slt i64 %267, 128 br i1 %268, label %149, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %264 br label %269 269: ; preds = %._crit_edge9, %146 %270 = load i32, ptr %21, align 4 %271 = add nsw i32 %270, 1 store i32 %271, ptr %21, align 4 %272 = load ptr, ptr %7, align 8 %273 = load ptr, ptr %8, align 8 %274 = load ptr, ptr %5, align 8 %275 = load ptr, ptr %6, align 8 %276 = call double @compute_error(ptr noundef %272, ptr noundef %273, ptr noundef %274, ptr noundef %275) store double %276, ptr %19, align 8 %277 = load i32, ptr %21, align 4 %278 = load double, ptr %19, align 8 %279 = call i32 @printf(ptr noundef @.str, i32 noundef %277, double noundef %278) %280 = load double, ptr %19, align 8 %281 = call double @llvm.fabs.f64(double %280) %282 = load double, ptr %20, align 8 %283 = fcmp olt double %281, %282 br i1 %283, label %284, label %22 284: ; preds = %269 br label %285 285: ; preds = %284 ret void } declare i32 @boundary_pressure(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @compute_error(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpj6c_oec9.c' source_filename = "/tmp/tmpj6c_oec9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec_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 = getelementptr inbounds i8, ptr %3, i64 -24 %5 = call i32 @free(ptr noundef %4) 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/tmpj6c_oec9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vec_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 = getelementptr inbounds i8, ptr %3, i64 -24 %5 = call i32 @free(ptr noundef %4) 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/tmpb0sston6.c' source_filename = "/tmp/tmpb0sston6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"malloc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @util_ncopy(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %12, label %9 9: ; preds = %2 %10 = load i64, ptr %5, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %9, %2 store ptr null, ptr %3, align 8 br label %30 13: ; preds = %9 %14 = load i64, ptr %5, align 8 %15 = call ptr @malloc(i64 noundef %14) store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %20 18: ; preds = %13 %19 = call i32 @perror(ptr noundef @.str) store ptr null, ptr %3, align 8 br label %30 20: ; preds = %13 %21 = load ptr, ptr %6, align 8 %22 = load ptr, ptr %4, align 8 %23 = load i64, ptr %5, align 8 %24 = call i32 @memcpy(ptr noundef %21, ptr noundef %22, i64 noundef %23) %25 = load ptr, ptr %6, align 8 %26 = load i64, ptr %5, align 8 %27 = sub i64 %26, 1 %28 = getelementptr inbounds i8, ptr %25, i64 %27 store i8 0, ptr %28, align 1 %29 = load ptr, ptr %6, align 8 store ptr %29, ptr %3, align 8 br label %30 30: ; preds = %20, %18, %12 %31 = load ptr, ptr %3, align 8 ret ptr %31 } declare ptr @malloc(i64 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memcpy(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/tmpb0sston6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"malloc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @util_ncopy(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %12, label %9 9: ; preds = %2 %10 = load i64, ptr %5, align 8 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %9, %2 store ptr null, ptr %3, align 8 br label %30 13: ; preds = %9 %14 = load i64, ptr %5, align 8 %15 = call ptr @malloc(i64 noundef %14) store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %20 18: ; preds = %13 %19 = call i32 @perror(ptr noundef @.str) store ptr null, ptr %3, align 8 br label %30 20: ; preds = %13 %21 = load ptr, ptr %6, align 8 %22 = load ptr, ptr %4, align 8 %23 = load i64, ptr %5, align 8 %24 = call i32 @memcpy(ptr noundef %21, ptr noundef %22, i64 noundef %23) %25 = load ptr, ptr %6, align 8 %26 = load i64, ptr %5, align 8 %27 = sub i64 %26, 1 %28 = getelementptr inbounds i8, ptr %25, i64 %27 store i8 0, ptr %28, align 1 %29 = load ptr, ptr %6, align 8 store ptr %29, ptr %3, align 8 br label %30 30: ; preds = %20, %18, %12 %31 = load ptr, ptr %3, align 8 ret ptr %31 } declare ptr @malloc(i64 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memcpy(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/tmpfk_651vu.c' source_filename = "/tmp/tmpfk_651vu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cdflib_cumbin(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 double, align 8 %14 = alloca double, 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 %15 = load ptr, ptr %7, align 8 %16 = load double, ptr %15, align 8 %17 = load ptr, ptr %8, align 8 %18 = load double, ptr %17, align 8 %19 = fcmp olt double %16, %18 br i1 %19, label %20, label %34 20: ; preds = %6 %21 = load ptr, ptr %7, align 8 %22 = load double, ptr %21, align 8 %23 = fadd double %22, 1.000000e+00 store double %23, ptr %13, align 8 %24 = load ptr, ptr %8, align 8 %25 = load double, ptr %24, align 8 %26 = load ptr, ptr %7, align 8 %27 = load double, ptr %26, align 8 %28 = fsub double %25, %27 store double %28, ptr %14, align 8 %29 = load ptr, ptr %9, align 8 %30 = load ptr, ptr %10, align 8 %31 = load ptr, ptr %12, align 8 %32 = load ptr, ptr %11, align 8 %33 = call i32 @cdflib_cumbet(ptr noundef %29, ptr noundef %30, ptr noundef %13, ptr noundef %14, ptr noundef %31, ptr noundef %32) br label %37 34: ; preds = %6 %35 = load ptr, ptr %11, align 8 store double 1.000000e+00, ptr %35, align 8 %36 = load ptr, ptr %12, align 8 store double 0.000000e+00, ptr %36, align 8 br label %37 37: ; preds = %34, %20 ret void } declare i32 @cdflib_cumbet(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfk_651vu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cdflib_cumbin(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 double, align 8 %14 = alloca double, 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 %15 = load ptr, ptr %7, align 8 %16 = load double, ptr %15, align 8 %17 = load ptr, ptr %8, align 8 %18 = load double, ptr %17, align 8 %19 = fcmp olt double %16, %18 br i1 %19, label %20, label %34 20: ; preds = %6 %21 = load ptr, ptr %7, align 8 %22 = load double, ptr %21, align 8 %23 = fadd double %22, 1.000000e+00 store double %23, ptr %13, align 8 %24 = load ptr, ptr %8, align 8 %25 = load double, ptr %24, align 8 %26 = load ptr, ptr %7, align 8 %27 = load double, ptr %26, align 8 %28 = fsub double %25, %27 store double %28, ptr %14, align 8 %29 = load ptr, ptr %9, align 8 %30 = load ptr, ptr %10, align 8 %31 = load ptr, ptr %12, align 8 %32 = load ptr, ptr %11, align 8 %33 = call i32 @cdflib_cumbet(ptr noundef %29, ptr noundef %30, ptr noundef %13, ptr noundef %14, ptr noundef %31, ptr noundef %32) br label %37 34: ; preds = %6 %35 = load ptr, ptr %11, align 8 store double 1.000000e+00, ptr %35, align 8 %36 = load ptr, ptr %12, align 8 store double 0.000000e+00, ptr %36, align 8 br label %37 37: ; preds = %34, %20 ret void } declare i32 @cdflib_cumbet(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo0fw9m3z.c' source_filename = "/tmp/tmpo0fw9m3z.c" target datalayout = "e-m:e-p270: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/tmpo0fw9m3z.c" target datalayout = "e-m:e-p270: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/tmp803157lm.c' source_filename = "/tmp/tmp803157lm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [52 x i8] c"Error: filename is too long to create tempory file\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"x\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"\0ACould not create temporary file name:\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 @fp_tmpnam(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 30, ptr %7, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = load ptr, ptr %5, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = add nsw i32 %10, %12 %14 = icmp sgt i32 %13, 508 br i1 %14, label %15, label %18 15: ; preds = %3 %16 = call i32 @fp_msg(ptr noundef @.str) %17 = call i32 @exit(i32 noundef -1) #3 unreachable 18: ; preds = %3 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %5, align 8 %21 = call i32 @strcpy(ptr noundef %19, ptr noundef %20) %22 = load ptr, ptr %6, align 8 %23 = load ptr, ptr %4, align 8 %24 = call i32 @strcat(ptr noundef %22, ptr noundef %23) %25 = load ptr, ptr %6, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = sub nsw i32 513, %26 %28 = sub nsw i32 %27, 1 store i32 %28, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %29 29: ; preds = %41, %18 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %44 33: ; preds = %29 %34 = load ptr, ptr %6, align 8 %35 = call i64 @fp_access(ptr noundef %34) %36 = icmp ne i64 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %33 br label %44 38: ; preds = %33 %39 = load ptr, ptr %6, align 8 %40 = call i32 @strcat(ptr noundef %39, ptr noundef @.str.1) br label %41 41: ; preds = %38 %42 = load i32, ptr %8, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %8, align 4 br label %29, !llvm.loop !6 44: ; preds = %37, %29 %45 = load i32, ptr %8, align 4 %46 = load i32, ptr %7, align 4 %47 = icmp eq i32 %45, %46 br i1 %47, label %48, label %54 48: ; preds = %44 %49 = call i32 @fp_msg(ptr noundef @.str.2) %50 = load ptr, ptr %6, align 8 %51 = call i32 @fp_msg(ptr noundef %50) %52 = call i32 @fp_msg(ptr noundef @.str.3) %53 = call i32 @exit(i32 noundef -1) #3 unreachable 54: ; preds = %44 ret i32 0 } declare i32 @strlen(ptr noundef) #1 declare i32 @fp_msg(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @fp_access(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp803157lm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [52 x i8] c"Error: filename is too long to create tempory file\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"x\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"\0ACould not create temporary file name:\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 @fp_tmpnam(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 30, ptr %7, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = load ptr, ptr %5, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = add nsw i32 %10, %12 %14 = icmp sgt i32 %13, 508 br i1 %14, label %15, label %18 15: ; preds = %3 %16 = call i32 @fp_msg(ptr noundef @.str) %17 = call i32 @exit(i32 noundef -1) #3 unreachable 18: ; preds = %3 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %5, align 8 %21 = call i32 @strcpy(ptr noundef %19, ptr noundef %20) %22 = load ptr, ptr %6, align 8 %23 = load ptr, ptr %4, align 8 %24 = call i32 @strcat(ptr noundef %22, ptr noundef %23) %25 = load ptr, ptr %6, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = sub nsw i32 513, %26 %28 = sub nsw i32 %27, 1 store i32 %28, ptr %7, align 4 store i32 0, ptr %8, align 4 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %7, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %18 br label %32 32: ; preds = %.lr.ph, %40 %33 = load ptr, ptr %6, align 8 %34 = call i64 @fp_access(ptr noundef %33) %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %32 br label %46 37: ; preds = %32 %38 = load ptr, ptr %6, align 8 %39 = call i32 @strcat(ptr noundef %38, ptr noundef @.str.1) br label %40 40: ; preds = %37 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %8, align 4 %43 = load i32, ptr %8, align 4 %44 = load i32, ptr %7, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %32, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %40 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %18 br label %46 46: ; preds = %.loopexit, %36 %47 = load i32, ptr %8, align 4 %48 = load i32, ptr %7, align 4 %49 = icmp eq i32 %47, %48 br i1 %49, label %50, label %56 50: ; preds = %46 %51 = call i32 @fp_msg(ptr noundef @.str.2) %52 = load ptr, ptr %6, align 8 %53 = call i32 @fp_msg(ptr noundef %52) %54 = call i32 @fp_msg(ptr noundef @.str.3) %55 = call i32 @exit(i32 noundef -1) #3 unreachable 56: ; preds = %46 ret i32 0 } declare i32 @strlen(ptr noundef) #1 declare i32 @fp_msg(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @fp_access(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgpg_kcc1.c' source_filename = "/tmp/tmpgpg_kcc1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"//\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"sr\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"/./\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"/../\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"/.\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"/..\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @qfile_correct_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 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %1 store ptr null, ptr %2, align 8 br label %134 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call i32 @qstrtrim(ptr noundef %12) br label %14 14: ; preds = %11, %18, %25, %56, %70, %86, %102, %118 %15 = load ptr, ptr %3, align 8 %16 = call ptr @strstr(ptr noundef %15, ptr noundef @.str) %17 = icmp ne ptr %16, null br i1 %17, label %18, label %21 18: ; preds = %14 %19 = load ptr, ptr %3, align 8 %20 = call i32 @qstrreplace(ptr noundef @.str.1, ptr noundef %19, ptr noundef @.str, ptr noundef @.str.2) br label %14 21: ; preds = %14 %22 = load ptr, ptr %3, align 8 %23 = call ptr @strstr(ptr noundef %22, ptr noundef @.str.3) %24 = icmp ne ptr %23, null br i1 %24, label %25, label %28 25: ; preds = %21 %26 = load ptr, ptr %3, align 8 %27 = call i32 @qstrreplace(ptr noundef @.str.1, ptr noundef %26, ptr noundef @.str.3, ptr noundef @.str.2) br label %14 28: ; preds = %21 %29 = load ptr, ptr %3, align 8 %30 = call ptr @strstr(ptr noundef %29, ptr noundef @.str.4) %31 = icmp ne ptr %30, null br i1 %31, label %32, label %57 32: ; preds = %28 %33 = load ptr, ptr %3, align 8 %34 = call ptr @strstr(ptr noundef %33, ptr noundef @.str.4) store ptr %34, ptr %4, align 8 %35 = load ptr, ptr %4, align 8 %36 = load ptr, ptr %3, align 8 %37 = icmp eq ptr %35, %36 br i1 %37, label %38, label %43 38: ; preds = %32 %39 = load ptr, ptr %3, align 8 %40 = load ptr, ptr %4, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 3 %42 = call i32 @strcpy(ptr noundef %39, ptr noundef %41) br label %56 43: ; preds = %32 %44 = load ptr, ptr %4, align 8 store i8 0, ptr %44, align 1 %45 = load ptr, ptr %3, align 8 %46 = call ptr @qfile_get_dir(ptr noundef %45) store ptr %46, ptr %5, align 8 %47 = load ptr, ptr %3, align 8 %48 = load ptr, ptr %5, align 8 %49 = call i32 @strcpy(ptr noundef %47, ptr noundef %48) %50 = load ptr, ptr %3, align 8 %51 = load ptr, ptr %4, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 3 %53 = call i32 @strcat(ptr noundef %50, ptr noundef %52) %54 = load ptr, ptr %5, align 8 %55 = call i32 @free(ptr noundef %54) br label %56 56: ; preds = %43, %38 br label %14 57: ; preds = %28 %58 = load ptr, ptr %3, align 8 %59 = call i64 @strlen(ptr noundef %58) store i64 %59, ptr %6, align 8 %60 = load i64, ptr %6, align 8 %61 = icmp ugt i64 %60, 1 br i1 %61, label %62, label %76 62: ; preds = %57 %63 = load ptr, ptr %3, align 8 %64 = load i64, ptr %6, align 8 %65 = sub i64 %64, 1 %66 = getelementptr inbounds i8, ptr %63, i64 %65 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 47 br i1 %69, label %70, label %75 70: ; preds = %62 %71 = load ptr, ptr %3, align 8 %72 = load i64, ptr %6, align 8 %73 = sub i64 %72, 1 %74 = getelementptr inbounds i8, ptr %71, i64 %73 store i8 0, ptr %74, align 1 br label %14 75: ; preds = %62 br label %76 76: ; preds = %75, %57 %77 = load i64, ptr %6, align 8 %78 = icmp ugt i64 %77, 2 br i1 %78, label %79, label %92 79: ; preds = %76 %80 = load ptr, ptr %3, align 8 %81 = load i64, ptr %6, align 8 %82 = sub i64 %81, 2 %83 = getelementptr inbounds i8, ptr %80, i64 %82 %84 = call i32 @strcmp(ptr noundef %83, ptr noundef @.str.5) %85 = icmp ne i32 %84, 0 br i1 %85, label %91, label %86 86: ; preds = %79 %87 = load ptr, ptr %3, align 8 %88 = load i64, ptr %6, align 8 %89 = sub i64 %88, 2 %90 = getelementptr inbounds i8, ptr %87, i64 %89 store i8 0, ptr %90, align 1 br label %14 91: ; preds = %79 br label %92 92: ; preds = %91, %76 %93 = load i64, ptr %6, align 8 %94 = icmp ugt i64 %93, 2 br i1 %94, label %95, label %108 95: ; preds = %92 %96 = load ptr, ptr %3, align 8 %97 = load i64, ptr %6, align 8 %98 = sub i64 %97, 2 %99 = getelementptr inbounds i8, ptr %96, i64 %98 %100 = call i32 @strcmp(ptr noundef %99, ptr noundef @.str.5) %101 = icmp ne i32 %100, 0 br i1 %101, label %107, label %102 102: ; preds = %95 %103 = load ptr, ptr %3, align 8 %104 = load i64, ptr %6, align 8 %105 = sub i64 %104, 2 %106 = getelementptr inbounds i8, ptr %103, i64 %105 store i8 0, ptr %106, align 1 br label %14 107: ; preds = %95 br label %108 108: ; preds = %107, %92 %109 = load i64, ptr %6, align 8 %110 = icmp ugt i64 %109, 3 br i1 %110, label %111, label %131 111: ; preds = %108 %112 = load ptr, ptr %3, align 8 %113 = load i64, ptr %6, align 8 %114 = sub i64 %113, 3 %115 = getelementptr inbounds i8, ptr %112, i64 %114 %116 = call i32 @strcmp(ptr noundef %115, ptr noundef @.str.6) %117 = icmp ne i32 %116, 0 br i1 %117, label %130, label %118 118: ; preds = %111 %119 = load ptr, ptr %3, align 8 %120 = load i64, ptr %6, align 8 %121 = sub i64 %120, 3 %122 = getelementptr inbounds i8, ptr %119, i64 %121 store i8 0, ptr %122, align 1 %123 = load ptr, ptr %3, align 8 %124 = call ptr @qfile_get_dir(ptr noundef %123) store ptr %124, ptr %7, align 8 %125 = load ptr, ptr %3, align 8 %126 = load ptr, ptr %7, align 8 %127 = call i32 @strcpy(ptr noundef %125, ptr noundef %126) %128 = load ptr, ptr %7, align 8 %129 = call i32 @free(ptr noundef %128) br label %14 130: ; preds = %111 br label %131 131: ; preds = %130, %108 br label %132 132: ; preds = %131 %133 = load ptr, ptr %3, align 8 store ptr %133, ptr %2, align 8 br label %134 134: ; preds = %132, %10 %135 = load ptr, ptr %2, align 8 ret ptr %135 } declare i32 @qstrtrim(ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @qstrreplace(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @qfile_get_dir(ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 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/tmpgpg_kcc1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"//\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"sr\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"/./\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"/../\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"/.\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"/..\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @qfile_correct_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 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %1 store ptr null, ptr %2, align 8 br label %134 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call i32 @qstrtrim(ptr noundef %12) br label %14 14: ; preds = %.backedge, %11 %15 = load ptr, ptr %3, align 8 %16 = call ptr @strstr(ptr noundef %15, ptr noundef @.str) %17 = icmp ne ptr %16, null br i1 %17, label %18, label %21 18: ; preds = %14 %19 = load ptr, ptr %3, align 8 %20 = call i32 @qstrreplace(ptr noundef @.str.1, ptr noundef %19, ptr noundef @.str, ptr noundef @.str.2) br label %.backedge .backedge: ; preds = %18, %25, %56, %70, %86, %102, %118 br label %14 21: ; preds = %14 %22 = load ptr, ptr %3, align 8 %23 = call ptr @strstr(ptr noundef %22, ptr noundef @.str.3) %24 = icmp ne ptr %23, null br i1 %24, label %25, label %28 25: ; preds = %21 %26 = load ptr, ptr %3, align 8 %27 = call i32 @qstrreplace(ptr noundef @.str.1, ptr noundef %26, ptr noundef @.str.3, ptr noundef @.str.2) br label %.backedge 28: ; preds = %21 %29 = load ptr, ptr %3, align 8 %30 = call ptr @strstr(ptr noundef %29, ptr noundef @.str.4) %31 = icmp ne ptr %30, null br i1 %31, label %32, label %57 32: ; preds = %28 %33 = load ptr, ptr %3, align 8 %34 = call ptr @strstr(ptr noundef %33, ptr noundef @.str.4) store ptr %34, ptr %4, align 8 %35 = load ptr, ptr %4, align 8 %36 = load ptr, ptr %3, align 8 %37 = icmp eq ptr %35, %36 br i1 %37, label %38, label %43 38: ; preds = %32 %39 = load ptr, ptr %3, align 8 %40 = load ptr, ptr %4, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 3 %42 = call i32 @strcpy(ptr noundef %39, ptr noundef %41) br label %56 43: ; preds = %32 %44 = load ptr, ptr %4, align 8 store i8 0, ptr %44, align 1 %45 = load ptr, ptr %3, align 8 %46 = call ptr @qfile_get_dir(ptr noundef %45) store ptr %46, ptr %5, align 8 %47 = load ptr, ptr %3, align 8 %48 = load ptr, ptr %5, align 8 %49 = call i32 @strcpy(ptr noundef %47, ptr noundef %48) %50 = load ptr, ptr %3, align 8 %51 = load ptr, ptr %4, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 3 %53 = call i32 @strcat(ptr noundef %50, ptr noundef %52) %54 = load ptr, ptr %5, align 8 %55 = call i32 @free(ptr noundef %54) br label %56 56: ; preds = %43, %38 br label %.backedge 57: ; preds = %28 %58 = load ptr, ptr %3, align 8 %59 = call i64 @strlen(ptr noundef %58) store i64 %59, ptr %6, align 8 %60 = load i64, ptr %6, align 8 %61 = icmp ugt i64 %60, 1 br i1 %61, label %62, label %76 62: ; preds = %57 %63 = load ptr, ptr %3, align 8 %64 = load i64, ptr %6, align 8 %65 = sub i64 %64, 1 %66 = getelementptr inbounds i8, ptr %63, i64 %65 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 47 br i1 %69, label %70, label %75 70: ; preds = %62 %71 = load ptr, ptr %3, align 8 %72 = load i64, ptr %6, align 8 %73 = sub i64 %72, 1 %74 = getelementptr inbounds i8, ptr %71, i64 %73 store i8 0, ptr %74, align 1 br label %.backedge 75: ; preds = %62 br label %76 76: ; preds = %75, %57 %77 = load i64, ptr %6, align 8 %78 = icmp ugt i64 %77, 2 br i1 %78, label %79, label %92 79: ; preds = %76 %80 = load ptr, ptr %3, align 8 %81 = load i64, ptr %6, align 8 %82 = sub i64 %81, 2 %83 = getelementptr inbounds i8, ptr %80, i64 %82 %84 = call i32 @strcmp(ptr noundef %83, ptr noundef @.str.5) %85 = icmp ne i32 %84, 0 br i1 %85, label %91, label %86 86: ; preds = %79 %87 = load ptr, ptr %3, align 8 %88 = load i64, ptr %6, align 8 %89 = sub i64 %88, 2 %90 = getelementptr inbounds i8, ptr %87, i64 %89 store i8 0, ptr %90, align 1 br label %.backedge 91: ; preds = %79 br label %92 92: ; preds = %91, %76 %93 = load i64, ptr %6, align 8 %94 = icmp ugt i64 %93, 2 br i1 %94, label %95, label %108 95: ; preds = %92 %96 = load ptr, ptr %3, align 8 %97 = load i64, ptr %6, align 8 %98 = sub i64 %97, 2 %99 = getelementptr inbounds i8, ptr %96, i64 %98 %100 = call i32 @strcmp(ptr noundef %99, ptr noundef @.str.5) %101 = icmp ne i32 %100, 0 br i1 %101, label %107, label %102 102: ; preds = %95 %103 = load ptr, ptr %3, align 8 %104 = load i64, ptr %6, align 8 %105 = sub i64 %104, 2 %106 = getelementptr inbounds i8, ptr %103, i64 %105 store i8 0, ptr %106, align 1 br label %.backedge 107: ; preds = %95 br label %108 108: ; preds = %107, %92 %109 = load i64, ptr %6, align 8 %110 = icmp ugt i64 %109, 3 br i1 %110, label %111, label %.loopexit 111: ; preds = %108 %112 = load ptr, ptr %3, align 8 %113 = load i64, ptr %6, align 8 %114 = sub i64 %113, 3 %115 = getelementptr inbounds i8, ptr %112, i64 %114 %116 = call i32 @strcmp(ptr noundef %115, ptr noundef @.str.6) %117 = icmp ne i32 %116, 0 br i1 %117, label %130, label %118 118: ; preds = %111 %119 = load ptr, ptr %3, align 8 %120 = load i64, ptr %6, align 8 %121 = sub i64 %120, 3 %122 = getelementptr inbounds i8, ptr %119, i64 %121 store i8 0, ptr %122, align 1 %123 = load ptr, ptr %3, align 8 %124 = call ptr @qfile_get_dir(ptr noundef %123) store ptr %124, ptr %7, align 8 %125 = load ptr, ptr %3, align 8 %126 = load ptr, ptr %7, align 8 %127 = call i32 @strcpy(ptr noundef %125, ptr noundef %126) %128 = load ptr, ptr %7, align 8 %129 = call i32 @free(ptr noundef %128) br label %.backedge 130: ; preds = %111 br label %131 .loopexit: ; preds = %108 br label %131 131: ; preds = %.loopexit, %130 br label %132 132: ; preds = %131 %133 = load ptr, ptr %3, align 8 store ptr %133, ptr %2, align 8 br label %134 134: ; preds = %132, %10 %135 = load ptr, ptr %2, align 8 ret ptr %135 } declare i32 @qstrtrim(ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @qstrreplace(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @qfile_get_dir(ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 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/tmps9vfu812.c' source_filename = "/tmp/tmps9vfu812.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"%d %d %d %d %d %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @get() %7 = call i32 (...) @get() %8 = call i32 (...) @get() %9 = call i32 (...) @get() %10 = call i32 (...) @get() %11 = add nsw i32 %10, 10 %12 = call i32 (...) @get() %13 = call i32 @printf(ptr noundef @.str, i32 noundef 1, i32 noundef 2, i32 noundef %9, i32 noundef 3, i32 noundef %11, i32 noundef %12) ret i32 0 } declare i32 @get(...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps9vfu812.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"%d %d %d %d %d %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @get() %7 = call i32 (...) @get() %8 = call i32 (...) @get() %9 = call i32 (...) @get() %10 = call i32 (...) @get() %11 = add nsw i32 %10, 10 %12 = call i32 (...) @get() %13 = call i32 @printf(ptr noundef @.str, i32 noundef 1, i32 noundef 2, i32 noundef %9, i32 noundef 3, i32 noundef %11, i32 noundef %12) ret i32 0 } declare i32 @get(...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbw7sw7a2.c' source_filename = "/tmp/tmpbw7sw7a2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp sge i32 %7, 1 br i1 %8, label %9, label %36 9: ; preds = %2 store i32 1, ptr %5, align 4 br label %10 10: ; preds = %32, %9 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp sle i32 %11, %12 br i1 %13, label %14, label %35 14: ; preds = %10 %15 = call i32 @hash(i32 noundef 1) %16 = load i32, ptr %5, align 4 %17 = call i32 @hash(i32 noundef %16) store i32 1, ptr %6, align 4 br label %18 18: ; preds = %28, %14 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp sle i32 %19, %20 br i1 %21, label %22, label %31 22: ; preds = %18 %23 = call i32 @hash(i32 noundef 2) %24 = load i32, ptr %5, align 4 %25 = call i32 @hash(i32 noundef %24) %26 = load i32, ptr %6, align 4 %27 = call i32 @hash(i32 noundef %26) br label %28 28: ; preds = %22 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 br label %18, !llvm.loop !6 31: ; preds = %18 br label %32 32: ; preds = %31 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 br label %10, !llvm.loop !8 35: ; preds = %10 br label %36 36: ; preds = %35, %2 %37 = load i32, ptr %3, align 4 %38 = icmp sle i32 %37, 0 br i1 %38, label %39, label %52 39: ; preds = %36 store i32 1, ptr %5, align 4 br label %40 40: ; preds = %48, %39 %41 = load i32, ptr %5, align 4 %42 = load i32, ptr %4, align 4 %43 = icmp sle i32 %41, %42 br i1 %43, label %44, label %51 44: ; preds = %40 %45 = call i32 @hash(i32 noundef 1) %46 = load i32, ptr %5, align 4 %47 = call i32 @hash(i32 noundef %46) br label %48 48: ; preds = %44 %49 = load i32, ptr %5, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %5, align 4 br label %40, !llvm.loop !9 51: ; preds = %40 br label %52 52: ; preds = %51, %36 ret void } declare i32 @hash(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbw7sw7a2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp sge i32 %7, 1 br i1 %8, label %9, label %40 9: ; preds = %2 store i32 1, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %.lr.ph2, label %39 .lr.ph2: ; preds = %9 br label %13 13: ; preds = %.lr.ph2, %33 %14 = call i32 @hash(i32 noundef 1) %15 = load i32, ptr %5, align 4 %16 = call i32 @hash(i32 noundef %15) store i32 1, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp sle i32 %17, %18 br i1 %19, label %.lr.ph, label %32 .lr.ph: ; preds = %13 br label %20 20: ; preds = %.lr.ph, %26 %21 = call i32 @hash(i32 noundef 2) %22 = load i32, ptr %5, align 4 %23 = call i32 @hash(i32 noundef %22) %24 = load i32, ptr %6, align 4 %25 = call i32 @hash(i32 noundef %24) br label %26 26: ; preds = %20 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp sle i32 %29, %30 br i1 %31, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %13 br label %33 33: ; preds = %32 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %4, align 4 %38 = icmp sle i32 %36, %37 br i1 %38, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %33 br label %39 39: ; preds = %._crit_edge3, %9 br label %40 40: ; preds = %39, %2 %41 = load i32, ptr %3, align 4 %42 = icmp sle i32 %41, 0 br i1 %42, label %43, label %58 43: ; preds = %40 store i32 1, ptr %5, align 4 %44 = load i32, ptr %5, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp sle i32 %44, %45 br i1 %46, label %.lr.ph5, label %57 .lr.ph5: ; preds = %43 br label %47 47: ; preds = %.lr.ph5, %51 %48 = call i32 @hash(i32 noundef 1) %49 = load i32, ptr %5, align 4 %50 = call i32 @hash(i32 noundef %49) br label %51 51: ; preds = %47 %52 = load i32, ptr %5, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %5, align 4 %54 = load i32, ptr %5, align 4 %55 = load i32, ptr %4, align 4 %56 = icmp sle i32 %54, %55 br i1 %56, label %47, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %51 br label %57 57: ; preds = %._crit_edge6, %43 br label %58 58: ; preds = %57, %40 ret void } declare i32 @hash(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp5yuakfnx.c' source_filename = "/tmp/tmp5yuakfnx.c" target datalayout = "e-m:e-p270: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/tmp5yuakfnx.c" target datalayout = "e-m:e-p270: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_wki6_sf.c' source_filename = "/tmp/tmp_wki6_sf.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [45 x i8] c"FAIL: %s:%d: epoll_create (errno = %d (%s))\0A\00", align 1 @.str.1 = private unnamed_addr constant [166 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/AuthenticEshkinKot/criu/refs/heads/master/test/zdtm/live/static/eventfs00.c\00", align 1 @errno = dso_local global i32 0, align 4 @EFD_NONBLOCK = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [40 x i8] c"FAIL: %s:%d: eventfd (errno = %d (%s))\0A\00", align 1 @EPOLLIN = dso_local global i32 0, align 4 @EPOLLOUT = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [37 x i8] c"FAIL: %s:%d: pipe (errno = %d (%s))\0A\00", align 1 @EPOLL_CTL_ADD = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [42 x i8] c"FAIL: %s:%d: epoll_ctl (errno = %d (%s))\0A\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"created eventfd with %lx\0A\00", align 1 @.str.6 = private unnamed_addr constant [38 x i8] c"FAIL: %s:%d: write (errno = %d (%s))\0A\00", align 1 @.str.7 = private unnamed_addr constant [56 x i8] c"FAIL: %s:%d: EVENTFD_FINAL mismatch\0A (errno = %d (%s))\0A\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"PASS\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 [2 x i32], align 4 %10 = alloca i32, align 4 %11 = alloca %struct.epoll_event, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 30, ptr %10, align 4 %12 = load i32, ptr %4, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i32 @test_init(i32 noundef %12, ptr noundef %13) %15 = call i32 @epoll_create(i32 noundef 1) store i32 %15, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %24 18: ; preds = %2 %19 = load i32, ptr @errno, align 4 %20 = load i32, ptr @errno, align 4 %21 = call i32 @strerror(i32 noundef %20) %22 = call i32 (ptr, ...) @test_msg(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 45, i32 noundef %19, i32 noundef %21) %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %2 %25 = load i32, ptr %10, align 4 %26 = load i32, ptr @EFD_NONBLOCK, align 4 %27 = call i32 @eventfd(i32 noundef %25, i32 noundef %26) store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %28, 0 br i1 %29, label %30, label %36 30: ; preds = %24 %31 = load i32, ptr @errno, align 4 %32 = load i32, ptr @errno, align 4 %33 = call i32 @strerror(i32 noundef %32) %34 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 51, i32 noundef %31, i32 noundef %33) %35 = call i32 @exit(i32 noundef 1) #3 unreachable 36: ; preds = %24 %37 = call i32 @memset(ptr noundef %11, i32 noundef 255, i32 noundef 4) %38 = load i32, ptr @EPOLLIN, align 4 %39 = load i32, ptr @EPOLLOUT, align 4 %40 = or i32 %38, %39 %41 = getelementptr inbounds %struct.epoll_event, ptr %11, i32 0, i32 0 store i32 %40, ptr %41, align 4 %42 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %43 = call i64 @pipe(ptr noundef %42) %44 = icmp ne i64 %43, 0 br i1 %44, label %45, label %51 45: ; preds = %36 %46 = load i32, ptr @errno, align 4 %47 = load i32, ptr @errno, align 4 %48 = call i32 @strerror(i32 noundef %47) %49 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 59, i32 noundef %46, i32 noundef %48) %50 = call i32 @exit(i32 noundef 1) #3 unreachable 51: ; preds = %36 %52 = load i32, ptr %8, align 4 %53 = load i32, ptr @EPOLL_CTL_ADD, align 4 %54 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %55 = load i32, ptr %54, align 4 %56 = call i64 @epoll_ctl(i32 noundef %52, i32 noundef %53, i32 noundef %55, ptr noundef %11) %57 = icmp ne i64 %56, 0 br i1 %57, label %58, label %64 58: ; preds = %51 %59 = load i32, ptr @errno, align 4 %60 = load i32, ptr @errno, align 4 %61 = call i32 @strerror(i32 noundef %60) %62 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 64, i32 noundef %59, i32 noundef %61) %63 = call i32 @exit(i32 noundef 1) #3 unreachable 64: ; preds = %51 %65 = load i32, ptr %10, align 4 %66 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.5, i32 noundef %65) %67 = load i32, ptr %6, align 4 %68 = call i32 @write(i32 noundef %67, ptr noundef %10, i32 noundef 4) store i32 %68, ptr %7, align 4 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = icmp ne i64 %70, 4 br i1 %71, label %72, label %78 72: ; preds = %64 %73 = load i32, ptr @errno, align 4 %74 = load i32, ptr @errno, align 4 %75 = call i32 @strerror(i32 noundef %74) %76 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 72, i32 noundef %73, i32 noundef %75) %77 = call i32 @exit(i32 noundef 1) #3 unreachable 78: ; preds = %64 %79 = load i32, ptr %6, align 4 %80 = call i32 @write(i32 noundef %79, ptr noundef %10, i32 noundef 4) store i32 %80, ptr %7, align 4 %81 = load i32, ptr %7, align 4 %82 = sext i32 %81 to i64 %83 = icmp ne i64 %82, 4 br i1 %83, label %84, label %90 84: ; preds = %78 %85 = load i32, ptr @errno, align 4 %86 = load i32, ptr @errno, align 4 %87 = call i32 @strerror(i32 noundef %86) %88 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 78, i32 noundef %85, i32 noundef %87) %89 = call i32 @exit(i32 noundef 1) #3 unreachable 90: ; preds = %78 %91 = call i32 (...) @test_daemon() %92 = call i32 (...) @test_waitsig() %93 = load i32, ptr %6, align 4 %94 = call i32 @read(i32 noundef %93, ptr noundef %10, i32 noundef 4) store i32 %94, ptr %7, align 4 %95 = load i32, ptr %7, align 4 %96 = sext i32 %95 to i64 %97 = icmp ne i64 %96, 4 br i1 %97, label %98, label %104 98: ; preds = %90 %99 = load i32, ptr @errno, align 4 %100 = load i32, ptr @errno, align 4 %101 = call i32 @strerror(i32 noundef %100) %102 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 87, i32 noundef %99, i32 noundef %101) %103 = call i32 @exit(i32 noundef 1) #3 unreachable 104: ; preds = %90 %105 = load i32, ptr %10, align 4 %106 = icmp ne i32 %105, 90 br i1 %106, label %107, label %113 107: ; preds = %104 %108 = load i32, ptr @errno, align 4 %109 = load i32, ptr @errno, align 4 %110 = call i32 @strerror(i32 noundef %109) %111 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 92, i32 noundef %108, i32 noundef %110) %112 = call i32 @exit(i32 noundef 1) #3 unreachable 113: ; preds = %104 %114 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.8) ret i32 0 } declare i32 @test_init(i32 noundef, ptr noundef) #1 declare i32 @epoll_create(i32 noundef) #1 declare i32 @test_msg(ptr noundef, ...) #1 declare i32 @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @eventfd(i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @pipe(ptr noundef) #1 declare i64 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @test_daemon(...) #1 declare i32 @test_waitsig(...) #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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_wki6_sf.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [45 x i8] c"FAIL: %s:%d: epoll_create (errno = %d (%s))\0A\00", align 1 @.str.1 = private unnamed_addr constant [166 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/AuthenticEshkinKot/criu/refs/heads/master/test/zdtm/live/static/eventfs00.c\00", align 1 @errno = dso_local global i32 0, align 4 @EFD_NONBLOCK = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [40 x i8] c"FAIL: %s:%d: eventfd (errno = %d (%s))\0A\00", align 1 @EPOLLIN = dso_local global i32 0, align 4 @EPOLLOUT = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [37 x i8] c"FAIL: %s:%d: pipe (errno = %d (%s))\0A\00", align 1 @EPOLL_CTL_ADD = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [42 x i8] c"FAIL: %s:%d: epoll_ctl (errno = %d (%s))\0A\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"created eventfd with %lx\0A\00", align 1 @.str.6 = private unnamed_addr constant [38 x i8] c"FAIL: %s:%d: write (errno = %d (%s))\0A\00", align 1 @.str.7 = private unnamed_addr constant [56 x i8] c"FAIL: %s:%d: EVENTFD_FINAL mismatch\0A (errno = %d (%s))\0A\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"PASS\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 [2 x i32], align 4 %10 = alloca i32, align 4 %11 = alloca %struct.epoll_event, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 30, ptr %10, align 4 %12 = load i32, ptr %4, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i32 @test_init(i32 noundef %12, ptr noundef %13) %15 = call i32 @epoll_create(i32 noundef 1) store i32 %15, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %24 18: ; preds = %2 %19 = load i32, ptr @errno, align 4 %20 = load i32, ptr @errno, align 4 %21 = call i32 @strerror(i32 noundef %20) %22 = call i32 (ptr, ...) @test_msg(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 45, i32 noundef %19, i32 noundef %21) %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %2 %25 = load i32, ptr %10, align 4 %26 = load i32, ptr @EFD_NONBLOCK, align 4 %27 = call i32 @eventfd(i32 noundef %25, i32 noundef %26) store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %28, 0 br i1 %29, label %30, label %36 30: ; preds = %24 %31 = load i32, ptr @errno, align 4 %32 = load i32, ptr @errno, align 4 %33 = call i32 @strerror(i32 noundef %32) %34 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 51, i32 noundef %31, i32 noundef %33) %35 = call i32 @exit(i32 noundef 1) #3 unreachable 36: ; preds = %24 %37 = call i32 @memset(ptr noundef %11, i32 noundef 255, i32 noundef 4) %38 = load i32, ptr @EPOLLIN, align 4 %39 = load i32, ptr @EPOLLOUT, align 4 %40 = or i32 %38, %39 %41 = getelementptr inbounds %struct.epoll_event, ptr %11, i32 0, i32 0 store i32 %40, ptr %41, align 4 %42 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %43 = call i64 @pipe(ptr noundef %42) %44 = icmp ne i64 %43, 0 br i1 %44, label %45, label %51 45: ; preds = %36 %46 = load i32, ptr @errno, align 4 %47 = load i32, ptr @errno, align 4 %48 = call i32 @strerror(i32 noundef %47) %49 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 59, i32 noundef %46, i32 noundef %48) %50 = call i32 @exit(i32 noundef 1) #3 unreachable 51: ; preds = %36 %52 = load i32, ptr %8, align 4 %53 = load i32, ptr @EPOLL_CTL_ADD, align 4 %54 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %55 = load i32, ptr %54, align 4 %56 = call i64 @epoll_ctl(i32 noundef %52, i32 noundef %53, i32 noundef %55, ptr noundef %11) %57 = icmp ne i64 %56, 0 br i1 %57, label %58, label %64 58: ; preds = %51 %59 = load i32, ptr @errno, align 4 %60 = load i32, ptr @errno, align 4 %61 = call i32 @strerror(i32 noundef %60) %62 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 64, i32 noundef %59, i32 noundef %61) %63 = call i32 @exit(i32 noundef 1) #3 unreachable 64: ; preds = %51 %65 = load i32, ptr %10, align 4 %66 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.5, i32 noundef %65) %67 = load i32, ptr %6, align 4 %68 = call i32 @write(i32 noundef %67, ptr noundef %10, i32 noundef 4) store i32 %68, ptr %7, align 4 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = icmp ne i64 %70, 4 br i1 %71, label %72, label %78 72: ; preds = %64 %73 = load i32, ptr @errno, align 4 %74 = load i32, ptr @errno, align 4 %75 = call i32 @strerror(i32 noundef %74) %76 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 72, i32 noundef %73, i32 noundef %75) %77 = call i32 @exit(i32 noundef 1) #3 unreachable 78: ; preds = %64 %79 = load i32, ptr %6, align 4 %80 = call i32 @write(i32 noundef %79, ptr noundef %10, i32 noundef 4) store i32 %80, ptr %7, align 4 %81 = load i32, ptr %7, align 4 %82 = sext i32 %81 to i64 %83 = icmp ne i64 %82, 4 br i1 %83, label %84, label %90 84: ; preds = %78 %85 = load i32, ptr @errno, align 4 %86 = load i32, ptr @errno, align 4 %87 = call i32 @strerror(i32 noundef %86) %88 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 78, i32 noundef %85, i32 noundef %87) %89 = call i32 @exit(i32 noundef 1) #3 unreachable 90: ; preds = %78 %91 = call i32 (...) @test_daemon() %92 = call i32 (...) @test_waitsig() %93 = load i32, ptr %6, align 4 %94 = call i32 @read(i32 noundef %93, ptr noundef %10, i32 noundef 4) store i32 %94, ptr %7, align 4 %95 = load i32, ptr %7, align 4 %96 = sext i32 %95 to i64 %97 = icmp ne i64 %96, 4 br i1 %97, label %98, label %104 98: ; preds = %90 %99 = load i32, ptr @errno, align 4 %100 = load i32, ptr @errno, align 4 %101 = call i32 @strerror(i32 noundef %100) %102 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 87, i32 noundef %99, i32 noundef %101) %103 = call i32 @exit(i32 noundef 1) #3 unreachable 104: ; preds = %90 %105 = load i32, ptr %10, align 4 %106 = icmp ne i32 %105, 90 br i1 %106, label %107, label %113 107: ; preds = %104 %108 = load i32, ptr @errno, align 4 %109 = load i32, ptr @errno, align 4 %110 = call i32 @strerror(i32 noundef %109) %111 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 92, i32 noundef %108, i32 noundef %110) %112 = call i32 @exit(i32 noundef 1) #3 unreachable 113: ; preds = %104 %114 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.8) ret i32 0 } declare i32 @test_init(i32 noundef, ptr noundef) #1 declare i32 @epoll_create(i32 noundef) #1 declare i32 @test_msg(ptr noundef, ...) #1 declare i32 @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @eventfd(i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @pipe(ptr noundef) #1 declare i64 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @test_daemon(...) #1 declare i32 @test_waitsig(...) #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" } 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/tmpy264aq5n.c' source_filename = "/tmp/tmpy264aq5n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"test_como_io.c\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"ERROR READING\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"THIS_DOES_NOT_EXIST\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"success\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr @como_read_file(ptr noundef @.str) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %8 8: ; preds = %6, %0 %9 = load ptr, ptr %2, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %9) %11 = load ptr, ptr %2, align 8 %12 = call i32 @free(ptr noundef %11) %13 = call ptr @como_read_file(ptr noundef @.str.3) store ptr %13, ptr %2, align 8 %14 = load ptr, ptr %2, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %18 16: ; preds = %8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %18 18: ; preds = %16, %8 ret i32 0 } declare ptr @como_read_file(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy264aq5n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"test_como_io.c\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"ERROR READING\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"THIS_DOES_NOT_EXIST\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"success\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr @como_read_file(ptr noundef @.str) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %8 8: ; preds = %6, %0 %9 = load ptr, ptr %2, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %9) %11 = load ptr, ptr %2, align 8 %12 = call i32 @free(ptr noundef %11) %13 = call ptr @como_read_file(ptr noundef @.str.3) store ptr %13, ptr %2, align 8 %14 = load ptr, ptr %2, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %18 16: ; preds = %8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %18 18: ; preds = %16, %8 ret i32 0 } declare ptr @como_read_file(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm1_z6kli.c' source_filename = "/tmp/tmpm1_z6kli.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @display() #0 { %1 = call i32 (...) @render() %2 = call i32 (...) @glutSwapBuffers() %3 = call i32 (...) @glutPostRedisplay() ret void } declare i32 @render(...) #1 declare i32 @glutSwapBuffers(...) #1 declare i32 @glutPostRedisplay(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm1_z6kli.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @display() #0 { %1 = call i32 (...) @render() %2 = call i32 (...) @glutSwapBuffers() %3 = call i32 (...) @glutPostRedisplay() ret void } declare i32 @render(...) #1 declare i32 @glutSwapBuffers(...) #1 declare i32 @glutPostRedisplay(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1drcqv91.c' source_filename = "/tmp/tmp1drcqv91.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i64, i32, i32, i32, i32 } %struct.sockaddr_in = type { i16 } @.str = private unnamed_addr constant [10 x i8] c"SSGL_PORT\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%hu\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [4 x i8] c"tcp\00", align 1 @IPPROTO_TCP = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [4 x i8] c"udp\00", align 1 @IPPROTO_UDP = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [10 x i8] c"gamelobby\00", align 1 @AI_NUMERICSERV = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [5 x i8] c"2914\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @ssgl_get_gamelobby_port(ptr noundef %0) #0 { %2 = alloca i16, align 2 %3 = alloca ptr, align 8 %4 = alloca %struct.addrinfo, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i16, align 2 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i16 -1, ptr %7, align 2 %11 = call ptr @getenv(ptr noundef @.str) store ptr %11, ptr %8, align 8 %12 = load ptr, ptr %8, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %25 14: ; preds = %1 %15 = load ptr, ptr %8, align 8 %16 = call i32 @sscanf(ptr noundef %15, ptr noundef @.str.1, ptr noundef %7) store i32 %16, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp eq i32 %17, 1 br i1 %18, label %19, label %24 19: ; preds = %14 %20 = load i16, ptr %7, align 2 %21 = zext i16 %20 to i32 %22 = call zeroext i16 @htons(i32 noundef %21) store i16 %22, ptr %7, align 2 %23 = load i16, ptr %7, align 2 store i16 %23, ptr %2, align 2 br label %83 24: ; preds = %14 br label %25 25: ; preds = %24, %1 %26 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 24) %27 = load i32, ptr @AF_INET, align 4 %28 = getelementptr inbounds %struct.addrinfo, ptr %4, i32 0, i32 4 store i32 %27, ptr %28, align 4 %29 = load i32, ptr @SOCK_STREAM, align 4 %30 = getelementptr inbounds %struct.addrinfo, ptr %4, i32 0, i32 3 store i32 %29, ptr %30, align 8 %31 = getelementptr inbounds %struct.addrinfo, ptr %4, i32 0, i32 1 store i32 0, ptr %31, align 8 %32 = load ptr, ptr %3, align 8 %33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.2) %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %25 %36 = load i32, ptr @IPPROTO_TCP, align 4 %37 = getelementptr inbounds %struct.addrinfo, ptr %4, i32 0, i32 2 store i32 %36, ptr %37, align 4 br label %46 38: ; preds = %25 %39 = load ptr, ptr %3, align 8 %40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.3) %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %45 42: ; preds = %38 %43 = load i32, ptr @IPPROTO_UDP, align 4 %44 = getelementptr inbounds %struct.addrinfo, ptr %4, i32 0, i32 2 store i32 %43, ptr %44, align 4 br label %45 45: ; preds = %42, %38 br label %46 46: ; preds = %45, %35 %47 = call i32 @getaddrinfo(ptr noundef null, ptr noundef @.str.4, ptr noundef %4, ptr noundef %5) store i32 %47, ptr %6, align 4 %48 = load i32, ptr %6, align 4 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %60 50: ; preds = %46 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds %struct.addrinfo, ptr %51, i32 0, i32 0 %53 = load i64, ptr %52, align 8 %54 = inttoptr i64 %53 to ptr store ptr %54, ptr %9, align 8 %55 = load ptr, ptr %9, align 8 %56 = getelementptr inbounds %struct.sockaddr_in, ptr %55, i32 0, i32 0 %57 = load i16, ptr %56, align 2 store i16 %57, ptr %7, align 2 %58 = load ptr, ptr %5, align 8 %59 = call i32 @freeaddrinfo(ptr noundef %58) br label %81 60: ; preds = %46 %61 = load i32, ptr @AI_NUMERICSERV, align 4 %62 = getelementptr inbounds %struct.addrinfo, ptr %4, i32 0, i32 1 %63 = load i32, ptr %62, align 8 %64 = or i32 %63, %61 store i32 %64, ptr %62, align 8 %65 = call i32 @getaddrinfo(ptr noundef null, ptr noundef @.str.5, ptr noundef %4, ptr noundef %5) store i32 %65, ptr %6, align 4 %66 = load i32, ptr %6, align 4 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %78 68: ; preds = %60 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds %struct.addrinfo, ptr %69, i32 0, i32 0 %71 = load i64, ptr %70, align 8 %72 = inttoptr i64 %71 to ptr store ptr %72, ptr %10, align 8 %73 = load ptr, ptr %10, align 8 %74 = getelementptr inbounds %struct.sockaddr_in, ptr %73, i32 0, i32 0 %75 = load i16, ptr %74, align 2 store i16 %75, ptr %7, align 2 %76 = load ptr, ptr %5, align 8 %77 = call i32 @freeaddrinfo(ptr noundef %76) br label %80 78: ; preds = %60 %79 = call zeroext i16 @htons(i32 noundef 2914) store i16 %79, ptr %7, align 2 br label %80 80: ; preds = %78, %68 br label %81 81: ; preds = %80, %50 %82 = load i16, ptr %7, align 2 store i16 %82, ptr %2, align 2 br label %83 83: ; preds = %81, %19 %84 = load i16, ptr %2, align 2 ret i16 %84 } declare ptr @getenv(ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare zeroext i16 @htons(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @freeaddrinfo(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1drcqv91.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i64, i32, i32, i32, i32 } %struct.sockaddr_in = type { i16 } @.str = private unnamed_addr constant [10 x i8] c"SSGL_PORT\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%hu\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [4 x i8] c"tcp\00", align 1 @IPPROTO_TCP = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [4 x i8] c"udp\00", align 1 @IPPROTO_UDP = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [10 x i8] c"gamelobby\00", align 1 @AI_NUMERICSERV = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [5 x i8] c"2914\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @ssgl_get_gamelobby_port(ptr noundef %0) #0 { %2 = alloca i16, align 2 %3 = alloca ptr, align 8 %4 = alloca %struct.addrinfo, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i16, align 2 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i16 -1, ptr %7, align 2 %11 = call ptr @getenv(ptr noundef @.str) store ptr %11, ptr %8, align 8 %12 = load ptr, ptr %8, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %25 14: ; preds = %1 %15 = load ptr, ptr %8, align 8 %16 = call i32 @sscanf(ptr noundef %15, ptr noundef @.str.1, ptr noundef %7) store i32 %16, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp eq i32 %17, 1 br i1 %18, label %19, label %24 19: ; preds = %14 %20 = load i16, ptr %7, align 2 %21 = zext i16 %20 to i32 %22 = call zeroext i16 @htons(i32 noundef %21) store i16 %22, ptr %7, align 2 %23 = load i16, ptr %7, align 2 store i16 %23, ptr %2, align 2 br label %83 24: ; preds = %14 br label %25 25: ; preds = %24, %1 %26 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 24) %27 = load i32, ptr @AF_INET, align 4 %28 = getelementptr inbounds %struct.addrinfo, ptr %4, i32 0, i32 4 store i32 %27, ptr %28, align 4 %29 = load i32, ptr @SOCK_STREAM, align 4 %30 = getelementptr inbounds %struct.addrinfo, ptr %4, i32 0, i32 3 store i32 %29, ptr %30, align 8 %31 = getelementptr inbounds %struct.addrinfo, ptr %4, i32 0, i32 1 store i32 0, ptr %31, align 8 %32 = load ptr, ptr %3, align 8 %33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.2) %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %25 %36 = load i32, ptr @IPPROTO_TCP, align 4 %37 = getelementptr inbounds %struct.addrinfo, ptr %4, i32 0, i32 2 store i32 %36, ptr %37, align 4 br label %46 38: ; preds = %25 %39 = load ptr, ptr %3, align 8 %40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.3) %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %45 42: ; preds = %38 %43 = load i32, ptr @IPPROTO_UDP, align 4 %44 = getelementptr inbounds %struct.addrinfo, ptr %4, i32 0, i32 2 store i32 %43, ptr %44, align 4 br label %45 45: ; preds = %42, %38 br label %46 46: ; preds = %45, %35 %47 = call i32 @getaddrinfo(ptr noundef null, ptr noundef @.str.4, ptr noundef %4, ptr noundef %5) store i32 %47, ptr %6, align 4 %48 = load i32, ptr %6, align 4 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %60 50: ; preds = %46 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds %struct.addrinfo, ptr %51, i32 0, i32 0 %53 = load i64, ptr %52, align 8 %54 = inttoptr i64 %53 to ptr store ptr %54, ptr %9, align 8 %55 = load ptr, ptr %9, align 8 %56 = getelementptr inbounds %struct.sockaddr_in, ptr %55, i32 0, i32 0 %57 = load i16, ptr %56, align 2 store i16 %57, ptr %7, align 2 %58 = load ptr, ptr %5, align 8 %59 = call i32 @freeaddrinfo(ptr noundef %58) br label %81 60: ; preds = %46 %61 = load i32, ptr @AI_NUMERICSERV, align 4 %62 = getelementptr inbounds %struct.addrinfo, ptr %4, i32 0, i32 1 %63 = load i32, ptr %62, align 8 %64 = or i32 %63, %61 store i32 %64, ptr %62, align 8 %65 = call i32 @getaddrinfo(ptr noundef null, ptr noundef @.str.5, ptr noundef %4, ptr noundef %5) store i32 %65, ptr %6, align 4 %66 = load i32, ptr %6, align 4 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %78 68: ; preds = %60 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds %struct.addrinfo, ptr %69, i32 0, i32 0 %71 = load i64, ptr %70, align 8 %72 = inttoptr i64 %71 to ptr store ptr %72, ptr %10, align 8 %73 = load ptr, ptr %10, align 8 %74 = getelementptr inbounds %struct.sockaddr_in, ptr %73, i32 0, i32 0 %75 = load i16, ptr %74, align 2 store i16 %75, ptr %7, align 2 %76 = load ptr, ptr %5, align 8 %77 = call i32 @freeaddrinfo(ptr noundef %76) br label %80 78: ; preds = %60 %79 = call zeroext i16 @htons(i32 noundef 2914) store i16 %79, ptr %7, align 2 br label %80 80: ; preds = %78, %68 br label %81 81: ; preds = %80, %50 %82 = load i16, ptr %7, align 2 store i16 %82, ptr %2, align 2 br label %83 83: ; preds = %81, %19 %84 = load i16, ptr %2, align 2 ret i16 %84 } declare ptr @getenv(ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare zeroext i16 @htons(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @freeaddrinfo(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9kh08qlx.c' source_filename = "/tmp/tmp9kh08qlx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [33 x i8] c"Subindo o Servidor na porta: %d\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [23 x i8] c"Erro ao criar o socket\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"192.168.133.26\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"Erro ao executar o bind\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"Erro ao executar o linten\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @do_connect(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [30 x i8], align 16 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %7 = load i32, ptr %2, align 4 %8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7) %9 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @logger(ptr noundef %9) %11 = load i32, ptr @AF_INET, align 4 %12 = load i32, ptr @SOCK_STREAM, align 4 %13 = call i32 @socket(i32 noundef %11, i32 noundef %12, i32 noundef 0) store i32 %13, ptr %5, align 4 %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %17 15: ; preds = %1 %16 = call i32 @errx(i32 noundef 1, ptr noundef @.str.1) br label %17 17: ; preds = %15, %1 %18 = load i32, ptr @AF_INET, align 4 %19 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 3 store i32 %18, ptr %19, align 4 %20 = call i32 @htons(i32 noundef 3001) %21 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2 store i32 %20, ptr %21, align 4 %22 = call i32 @inet_addr(ptr noundef @.str.2) %23 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1 %24 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i32 0, i32 0 store i32 %22, ptr %24, align 4 %25 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 %26 = call i32 @bzero(ptr noundef %25, i32 noundef 8) %27 = load i32, ptr %5, align 4 %28 = call i32 @bind(i32 noundef %27, ptr noundef %4, i32 noundef 4) %29 = icmp eq i32 %28, -1 br i1 %29, label %30, label %34 30: ; preds = %17 %31 = load i32, ptr %5, align 4 %32 = call i32 @close(i32 noundef %31) %33 = call i32 @errx(i32 noundef 1, ptr noundef @.str.3) br label %34 34: ; preds = %30, %17 %35 = load i32, ptr %5, align 4 %36 = call i64 @listen(i32 noundef %35, i32 noundef 20) %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %42 38: ; preds = %34 %39 = load i32, ptr %5, align 4 %40 = call i32 @close(i32 noundef %39) %41 = call i32 @errx(i32 noundef 1, ptr noundef @.str.4) br label %42 42: ; preds = %38, %34 %43 = load i32, ptr %5, align 4 ret i32 %43 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @logger(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @errx(i32 noundef, ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @inet_addr(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @listen(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/tmp9kh08qlx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [33 x i8] c"Subindo o Servidor na porta: %d\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [23 x i8] c"Erro ao criar o socket\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"192.168.133.26\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"Erro ao executar o bind\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"Erro ao executar o linten\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @do_connect(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [30 x i8], align 16 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %7 = load i32, ptr %2, align 4 %8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7) %9 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @logger(ptr noundef %9) %11 = load i32, ptr @AF_INET, align 4 %12 = load i32, ptr @SOCK_STREAM, align 4 %13 = call i32 @socket(i32 noundef %11, i32 noundef %12, i32 noundef 0) store i32 %13, ptr %5, align 4 %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %17 15: ; preds = %1 %16 = call i32 @errx(i32 noundef 1, ptr noundef @.str.1) br label %17 17: ; preds = %15, %1 %18 = load i32, ptr @AF_INET, align 4 %19 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 3 store i32 %18, ptr %19, align 4 %20 = call i32 @htons(i32 noundef 3001) %21 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2 store i32 %20, ptr %21, align 4 %22 = call i32 @inet_addr(ptr noundef @.str.2) %23 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1 %24 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i32 0, i32 0 store i32 %22, ptr %24, align 4 %25 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 %26 = call i32 @bzero(ptr noundef %25, i32 noundef 8) %27 = load i32, ptr %5, align 4 %28 = call i32 @bind(i32 noundef %27, ptr noundef %4, i32 noundef 4) %29 = icmp eq i32 %28, -1 br i1 %29, label %30, label %34 30: ; preds = %17 %31 = load i32, ptr %5, align 4 %32 = call i32 @close(i32 noundef %31) %33 = call i32 @errx(i32 noundef 1, ptr noundef @.str.3) br label %34 34: ; preds = %30, %17 %35 = load i32, ptr %5, align 4 %36 = call i64 @listen(i32 noundef %35, i32 noundef 20) %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %42 38: ; preds = %34 %39 = load i32, ptr %5, align 4 %40 = call i32 @close(i32 noundef %39) %41 = call i32 @errx(i32 noundef 1, ptr noundef @.str.4) br label %42 42: ; preds = %38, %34 %43 = load i32, ptr %5, align 4 ret i32 %43 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @logger(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @errx(i32 noundef, ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @inet_addr(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @listen(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/tmpe6gra5ok.c' source_filename = "/tmp/tmpe6gra5ok.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 br label %4 4: ; preds = %26, %0 %5 = load i64, ptr @EOF, align 8 %6 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %7 = icmp ne i64 %5, %6 br i1 %7, label %8, label %29 8: ; preds = %4 store i64 0, ptr %3, align 8 br label %9 9: ; preds = %23, %8 %10 = load i64, ptr %2, align 8 %11 = icmp ne i64 %10, 1 br i1 %11, label %12, label %26 12: ; preds = %9 %13 = load i64, ptr %2, align 8 %14 = urem i64 %13, 2 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i64, ptr %2, align 8 %18 = udiv i64 %17, 2 store i64 %18, ptr %2, align 8 br label %23 19: ; preds = %12 %20 = load i64, ptr %2, align 8 %21 = mul i64 3, %20 %22 = add i64 %21, 1 store i64 %22, ptr %2, align 8 br label %23 23: ; preds = %19, %16 %24 = load i64, ptr %3, align 8 %25 = add i64 %24, 1 store i64 %25, ptr %3, align 8 br label %9, !llvm.loop !6 26: ; preds = %9 %27 = load i64, ptr %3, align 8 %28 = call i32 @printf(ptr noundef @.str.1, i64 noundef %27) br label %4, !llvm.loop !8 29: ; preds = %4 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe6gra5ok.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 %4 = load i64, ptr @EOF, align 8 %5 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %6 = icmp ne i64 %4, %5 br i1 %6, label %.lr.ph2, label %32 .lr.ph2: ; preds = %0 br label %7 7: ; preds = %.lr.ph2, %26 store i64 0, ptr %3, align 8 %8 = load i64, ptr %2, align 8 %9 = icmp ne i64 %8, 1 br i1 %9, label %.lr.ph, label %26 .lr.ph: ; preds = %7 br label %10 10: ; preds = %.lr.ph, %21 %11 = load i64, ptr %2, align 8 %12 = urem i64 %11, 2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = load i64, ptr %2, align 8 %16 = udiv i64 %15, 2 store i64 %16, ptr %2, align 8 br label %21 17: ; preds = %10 %18 = load i64, ptr %2, align 8 %19 = mul i64 3, %18 %20 = add i64 %19, 1 store i64 %20, ptr %2, align 8 br label %21 21: ; preds = %17, %14 %22 = load i64, ptr %3, align 8 %23 = add i64 %22, 1 store i64 %23, ptr %3, align 8 %24 = load i64, ptr %2, align 8 %25 = icmp ne i64 %24, 1 br i1 %25, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %7 %27 = load i64, ptr %3, align 8 %28 = call i32 @printf(ptr noundef @.str.1, i64 noundef %27) %29 = load i64, ptr @EOF, align 8 %30 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %31 = icmp ne i64 %29, %30 br i1 %31, label %7, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %26 br label %32 32: ; preds = %._crit_edge3, %0 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmptahu1k0i.c' source_filename = "/tmp/tmptahu1k0i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @populate_vector.index = internal global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @populate_vector(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr @populate_vector.index, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr @populate_vector.index, align 4 %9 = sext i32 %7 to i64 %10 = getelementptr inbounds ptr, ptr %6, i64 %9 store ptr %5, ptr %10, align 8 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr @populate_vector.index, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds ptr, ptr %11, i64 %13 store ptr null, ptr %14, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptahu1k0i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @populate_vector.index = internal global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @populate_vector(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr @populate_vector.index, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr @populate_vector.index, align 4 %9 = sext i32 %7 to i64 %10 = getelementptr inbounds ptr, ptr %6, i64 %9 store ptr %5, ptr %10, align 8 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr @populate_vector.index, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds ptr, ptr %11, i64 %13 store ptr null, ptr %14, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvougxmht.c' source_filename = "/tmp/tmpvougxmht.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%luULL\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 i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 1, ptr %6, align 8 br label %7 7: ; preds = %13, %2 %8 = load i64, ptr %6, align 8 %9 = icmp ult i64 %8, 18014398509481984 br i1 %9, label %10, label %16 10: ; preds = %7 %11 = load i64, ptr %6, align 8 %12 = call i32 @printf(ptr noundef @.str, i64 noundef %11) br label %13 13: ; preds = %10 %14 = load i64, ptr %6, align 8 %15 = shl i64 %14, 1 store i64 %15, ptr %6, align 8 br label %7, !llvm.loop !6 16: ; preds = %7 ret i32 0 } declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvougxmht.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%luULL\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 i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 1, ptr %6, align 8 %7 = load i64, ptr %6, align 8 %8 = icmp ult i64 %7, 18014398509481984 br i1 %8, label %.lr.ph, label %17 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %12 %10 = load i64, ptr %6, align 8 %11 = call i32 @printf(ptr noundef @.str, i64 noundef %10) br label %12 12: ; preds = %9 %13 = load i64, ptr %6, align 8 %14 = shl i64 %13, 1 store i64 %14, ptr %6, align 8 %15 = load i64, ptr %6, align 8 %16 = icmp ult i64 %15, 18014398509481984 br i1 %16, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpeqwsp5kh.c' source_filename = "/tmp/tmpeqwsp5kh.c" target datalayout = "e-m:e-p270: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/tmpeqwsp5kh.c" target datalayout = "e-m:e-p270: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/tmpv7ddit55.c' source_filename = "/tmp/tmpv7ddit55.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"please enter 10 integer number:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%5d\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 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %5 5: ; preds = %13, %0 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 10 br i1 %7, label %8, label %16 8: ; preds = %5 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %10 %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %11) br label %13 13: ; preds = %8 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 br label %5, !llvm.loop !6 16: ; preds = %5 store i32 0, ptr %3, align 4 br label %17 17: ; preds = %27, %16 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %18, 10 br i1 %19, label %20, label %30 20: ; preds = %17 %21 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %21, i64 %23 %25 = load i32, ptr %24, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25) br label %27 27: ; preds = %20 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 br label %17, !llvm.loop !8 30: ; preds = %17 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv7ddit55.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"please enter 10 integer number:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%5d\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 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 10 br i1 %6, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %12 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %9 %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %10) br label %12 12: ; preds = %7 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %15, 10 br i1 %16, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 store i32 0, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %18, 10 br i1 %19, label %.lr.ph2, label %32 .lr.ph2: ; preds = %17 br label %20 20: ; preds = %.lr.ph2, %27 %21 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %21, i64 %23 %25 = load i32, ptr %24, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25) br label %27 27: ; preds = %20 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp slt i32 %30, 10 br i1 %31, label %20, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %27 br label %32 32: ; preds = %._crit_edge3, %17 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp86bzvqbd.c' source_filename = "/tmp/tmp86bzvqbd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @generateLimitedRandomNumber(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr @RAND_MAX, align 4 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, 1 %8 = sdiv i32 %5, %7 store i32 %8, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %13, %1 %10 = call i32 (...) @rand() %11 = load i32, ptr %3, align 4 %12 = sdiv i32 %10, %11 store i32 %12, ptr %4, align 4 br label %13 13: ; preds = %9 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp sgt i32 %14, %15 br i1 %16, label %9, label %17, !llvm.loop !6 17: ; preds = %13 %18 = load i32, ptr %4, align 4 ret i32 %18 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp86bzvqbd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @generateLimitedRandomNumber(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr @RAND_MAX, align 4 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, 1 %8 = sdiv i32 %5, %7 store i32 %8, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %13, %1 %10 = call i32 (...) @rand() %11 = load i32, ptr %3, align 4 %12 = sdiv i32 %10, %11 store i32 %12, ptr %4, align 4 br label %13 13: ; preds = %9 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp sgt i32 %14, %15 br i1 %16, label %9, label %17, !llvm.loop !6 17: ; preds = %13 %18 = load i32, ptr %4, align 4 ret i32 %18 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppp6hxu0l.c' source_filename = "/tmp/tmppp6hxu0l.c" target datalayout = "e-m:e-p270: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/tmppp6hxu0l.c" target datalayout = "e-m:e-p270: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"}