llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp6_0eo8d5.c' source_filename = "/tmp/tmp6_0eo8d5.c" target datalayout = "e-m:e-p270: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/tmp6_0eo8d5.c" target datalayout = "e-m:e-p270: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/tmpg2l13ou7.c' source_filename = "/tmp/tmpg2l13ou7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"nothing to be done\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"u\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"/sys/bus/usb/drivers/usb/unbind\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"b\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"/sys/bus/usb/drivers/usb/bind\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"unknown command %s\0D\0A\00", align 1 @.str.7 = private unnamed_addr constant [12 x i8] c"i/o error\0D\0A\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"%i-%i\00", align 1 @.str.9 = private unnamed_addr constant [8 x i8] c"%i-%i\0D\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 ptr, align 8 %7 = alloca i32, align 4 %8 = 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 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 3 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %57 13: ; preds = %2 store ptr null, ptr %6, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str.1) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %13 %20 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %20, ptr %6, align 8 br label %35 21: ; preds = %13 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.4) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %21 %28 = call ptr @fopen(ptr noundef @.str.5, ptr noundef @.str.3) store ptr %28, ptr %6, align 8 br label %34 29: ; preds = %21 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = load ptr, ptr %31, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %32) store i32 -1, ptr %3, align 4 br label %57 34: ; preds = %27 br label %35 35: ; preds = %34, %19 %36 = load ptr, ptr %6, align 8 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %40 38: ; preds = %35 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 -1, ptr %3, align 4 br label %57 40: ; preds = %35 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 2 %43 = load ptr, ptr %42, align 8 %44 = call i32 @sscanf(ptr noundef %43, ptr noundef @.str.8, ptr noundef %7, ptr noundef %8) %45 = icmp eq i32 %44, 2 br i1 %45, label %46, label %54 46: ; preds = %40 %47 = load ptr, ptr %6, align 8 %48 = load i32, ptr %7, align 4 %49 = load i32, ptr %8, align 4 %50 = call i32 @fprintf(ptr noundef %47, ptr noundef @.str.8, i32 noundef %48, i32 noundef %49) %51 = load i32, ptr %7, align 4 %52 = load i32, ptr %8, align 4 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %51, i32 noundef %52) br label %54 54: ; preds = %46, %40 %55 = load ptr, ptr %6, align 8 %56 = call i32 @fclose(ptr noundef %55) store i32 0, ptr %3, align 4 br label %57 57: ; preds = %54, %38, %29, %11 %58 = load i32, ptr %3, align 4 ret i32 %58 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg2l13ou7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"nothing to be done\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"u\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"/sys/bus/usb/drivers/usb/unbind\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"b\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"/sys/bus/usb/drivers/usb/bind\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"unknown command %s\0D\0A\00", align 1 @.str.7 = private unnamed_addr constant [12 x i8] c"i/o error\0D\0A\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"%i-%i\00", align 1 @.str.9 = private unnamed_addr constant [8 x i8] c"%i-%i\0D\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 ptr, align 8 %7 = alloca i32, align 4 %8 = 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 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 3 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %57 13: ; preds = %2 store ptr null, ptr %6, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str.1) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %13 %20 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %20, ptr %6, align 8 br label %35 21: ; preds = %13 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.4) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %21 %28 = call ptr @fopen(ptr noundef @.str.5, ptr noundef @.str.3) store ptr %28, ptr %6, align 8 br label %34 29: ; preds = %21 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = load ptr, ptr %31, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %32) store i32 -1, ptr %3, align 4 br label %57 34: ; preds = %27 br label %35 35: ; preds = %34, %19 %36 = load ptr, ptr %6, align 8 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %40 38: ; preds = %35 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 -1, ptr %3, align 4 br label %57 40: ; preds = %35 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 2 %43 = load ptr, ptr %42, align 8 %44 = call i32 @sscanf(ptr noundef %43, ptr noundef @.str.8, ptr noundef %7, ptr noundef %8) %45 = icmp eq i32 %44, 2 br i1 %45, label %46, label %54 46: ; preds = %40 %47 = load ptr, ptr %6, align 8 %48 = load i32, ptr %7, align 4 %49 = load i32, ptr %8, align 4 %50 = call i32 @fprintf(ptr noundef %47, ptr noundef @.str.8, i32 noundef %48, i32 noundef %49) %51 = load i32, ptr %7, align 4 %52 = load i32, ptr %8, align 4 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %51, i32 noundef %52) br label %54 54: ; preds = %46, %40 %55 = load ptr, ptr %6, align 8 %56 = call i32 @fclose(ptr noundef %55) store i32 0, ptr %3, align 4 br label %57 57: ; preds = %54, %38, %29, %11 %58 = load i32, ptr %3, align 4 ret i32 %58 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppbudmk51.c' source_filename = "/tmp/tmppbudmk51.c" target datalayout = "e-m:e-p270: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.sigaction = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @client_once(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.sigaction, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 @setup_client_signals(ptr noundef %3) %5 = load i32, ptr %2, align 4 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = call i32 @wait_for_signal(ptr noundef %3) br label %11 9: ; preds = %1 %10 = call i32 (...) @notify_server() br label %11 11: ; preds = %9, %7 ret void } declare i32 @setup_client_signals(ptr noundef) #1 declare i32 @wait_for_signal(ptr noundef) #1 declare i32 @notify_server(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppbudmk51.c" target datalayout = "e-m:e-p270: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.sigaction = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @client_once(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.sigaction, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 @setup_client_signals(ptr noundef %3) %5 = load i32, ptr %2, align 4 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = call i32 @wait_for_signal(ptr noundef %3) br label %11 9: ; preds = %1 %10 = call i32 (...) @notify_server() br label %11 11: ; preds = %9, %7 ret void } declare i32 @setup_client_signals(ptr noundef) #1 declare i32 @wait_for_signal(ptr noundef) #1 declare i32 @notify_server(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph8zx6tv_.c' source_filename = "/tmp/tmph8zx6tv_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%g %g\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%g = %g\0A\00", align 1 @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x double], align 16 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 40, i1 false) %6 = getelementptr inbounds [5 x double], ptr %2, i32 0, i32 0 store double 1.000000e+00, ptr %6, align 16 %7 = getelementptr inbounds [5 x double], ptr %2, i32 0, i32 1 store double 3.000000e+00, ptr %7, align 8 %8 = getelementptr inbounds [5 x double], ptr %2, i32 0, i32 2 store double 5.000000e+00, ptr %8, align 16 %9 = getelementptr inbounds [5 x double], ptr %2, i32 0, i32 3 store double 6.000000e+00, ptr %9, align 8 %10 = getelementptr inbounds [5 x double], ptr %2, i32 0, i32 4 store double 2.000000e+00, ptr %10, align 16 %11 = getelementptr inbounds [5 x double], ptr %2, i64 0, i64 0 %12 = call double @cosine_sum(double noundef 0.000000e+00, i32 noundef 0, ptr noundef %11) %13 = getelementptr inbounds [5 x double], ptr %2, i64 0, i64 0 %14 = call double @cosine_sum(double noundef 0.000000e+00, i32 noundef 1, ptr noundef %13) %15 = call i32 @printf(ptr noundef @.str, double noundef %12, double noundef %14) %16 = load double, ptr @M_PI, align 8 %17 = fmul double %16, 2.000000e-01 %18 = fptosi double %17 to i32 %19 = call double @cos(i32 noundef %18) %20 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %19, double 1.000000e+00) %21 = getelementptr inbounds [5 x double], ptr %2, i64 0, i64 0 %22 = call double @cosine_sum(double noundef 1.000000e-01, i32 noundef 2, ptr noundef %21) %23 = call i32 @printf(ptr noundef @.str.1, double noundef %20, double noundef %22) store double 0.000000e+00, ptr %3, align 8 br label %24 24: ; preds = %56, %0 %25 = load double, ptr %3, align 8 %26 = fcmp olt double %25, 1.000000e+00 br i1 %26, label %27, label %59 27: ; preds = %24 store double 0.000000e+00, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %28 28: ; preds = %47, %27 %29 = load i32, ptr %5, align 4 %30 = icmp slt i32 %29, 5 br i1 %30, label %31, label %50 31: ; preds = %28 %32 = load double, ptr @M_PI, align 8 %33 = fmul double 2.000000e+00, %32 %34 = load double, ptr %3, align 8 %35 = fmul double %33, %34 %36 = load i32, ptr %5, align 4 %37 = sitofp i32 %36 to double %38 = fmul double %35, %37 %39 = fptosi double %38 to i32 %40 = call double @cos(i32 noundef %39) %41 = load i32, ptr %5, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [5 x double], ptr %2, i64 0, i64 %42 %44 = load double, ptr %43, align 8 %45 = load double, ptr %4, align 8 %46 = call double @llvm.fmuladd.f64(double %40, double %44, double %45) store double %46, ptr %4, align 8 br label %47 47: ; preds = %31 %48 = load i32, ptr %5, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %5, align 4 br label %28, !llvm.loop !6 50: ; preds = %28 %51 = load double, ptr %4, align 8 %52 = load double, ptr %3, align 8 %53 = getelementptr inbounds [5 x double], ptr %2, i64 0, i64 0 %54 = call double @cosine_sum(double noundef %52, i32 noundef 5, ptr noundef %53) %55 = call i32 @printf(ptr noundef @.str.1, double noundef %51, double noundef %54) br label %56 56: ; preds = %50 %57 = load double, ptr %3, align 8 %58 = fadd double %57, 1.000000e-01 store double %58, ptr %3, align 8 br label %24, !llvm.loop !8 59: ; preds = %24 %60 = load i32, ptr %1, align 4 ret i32 %60 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, double noundef, double noundef) #2 declare double @cosine_sum(double noundef, i32 noundef, ptr noundef) #2 declare double @cos(i32 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 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph8zx6tv_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%g %g\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%g = %g\0A\00", align 1 @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x double], align 16 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 40, i1 false) %6 = getelementptr inbounds [5 x double], ptr %2, i32 0, i32 0 store double 1.000000e+00, ptr %6, align 16 %7 = getelementptr inbounds [5 x double], ptr %2, i32 0, i32 1 store double 3.000000e+00, ptr %7, align 8 %8 = getelementptr inbounds [5 x double], ptr %2, i32 0, i32 2 store double 5.000000e+00, ptr %8, align 16 %9 = getelementptr inbounds [5 x double], ptr %2, i32 0, i32 3 store double 6.000000e+00, ptr %9, align 8 %10 = getelementptr inbounds [5 x double], ptr %2, i32 0, i32 4 store double 2.000000e+00, ptr %10, align 16 %11 = getelementptr inbounds [5 x double], ptr %2, i64 0, i64 0 %12 = call double @cosine_sum(double noundef 0.000000e+00, i32 noundef 0, ptr noundef %11) %13 = getelementptr inbounds [5 x double], ptr %2, i64 0, i64 0 %14 = call double @cosine_sum(double noundef 0.000000e+00, i32 noundef 1, ptr noundef %13) %15 = call i32 @printf(ptr noundef @.str, double noundef %12, double noundef %14) %16 = load double, ptr @M_PI, align 8 %17 = fmul double %16, 2.000000e-01 %18 = fptosi double %17 to i32 %19 = call double @cos(i32 noundef %18) %20 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %19, double 1.000000e+00) %21 = getelementptr inbounds [5 x double], ptr %2, i64 0, i64 0 %22 = call double @cosine_sum(double noundef 1.000000e-01, i32 noundef 2, ptr noundef %21) %23 = call i32 @printf(ptr noundef @.str.1, double noundef %20, double noundef %22) store double 0.000000e+00, ptr %3, align 8 %24 = load double, ptr %3, align 8 %25 = fcmp olt double %24, 1.000000e+00 br i1 %25, label %.lr.ph2, label %61 .lr.ph2: ; preds = %0 br label %26 26: ; preds = %.lr.ph2, %56 store double 0.000000e+00, ptr %4, align 8 store i32 0, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp slt i32 %27, 5 br i1 %28, label %.lr.ph, label %50 .lr.ph: ; preds = %26 br label %29 29: ; preds = %.lr.ph, %45 %30 = load double, ptr @M_PI, align 8 %31 = fmul double 2.000000e+00, %30 %32 = load double, ptr %3, align 8 %33 = fmul double %31, %32 %34 = load i32, ptr %5, align 4 %35 = sitofp i32 %34 to double %36 = fmul double %33, %35 %37 = fptosi double %36 to i32 %38 = call double @cos(i32 noundef %37) %39 = load i32, ptr %5, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [5 x double], ptr %2, i64 0, i64 %40 %42 = load double, ptr %41, align 8 %43 = load double, ptr %4, align 8 %44 = call double @llvm.fmuladd.f64(double %38, double %42, double %43) store double %44, ptr %4, align 8 br label %45 45: ; preds = %29 %46 = load i32, ptr %5, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %5, align 4 %48 = load i32, ptr %5, align 4 %49 = icmp slt i32 %48, 5 br i1 %49, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %50 50: ; preds = %._crit_edge, %26 %51 = load double, ptr %4, align 8 %52 = load double, ptr %3, align 8 %53 = getelementptr inbounds [5 x double], ptr %2, i64 0, i64 0 %54 = call double @cosine_sum(double noundef %52, i32 noundef 5, ptr noundef %53) %55 = call i32 @printf(ptr noundef @.str.1, double noundef %51, double noundef %54) br label %56 56: ; preds = %50 %57 = load double, ptr %3, align 8 %58 = fadd double %57, 1.000000e-01 store double %58, ptr %3, align 8 %59 = load double, ptr %3, align 8 %60 = fcmp olt double %59, 1.000000e+00 br i1 %60, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %56 br label %61 61: ; preds = %._crit_edge3, %0 %62 = load i32, ptr %1, align 4 ret i32 %62 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, double noundef, double noundef) #2 declare double @cosine_sum(double noundef, i32 noundef, ptr noundef) #2 declare double @cos(i32 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 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpa0tkakhm.c' source_filename = "/tmp/tmpa0tkakhm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [134 x i8] c"POLARSSL_ENTROPY_C and/or POLARSSL_SSL_TLS_C and/or POLARSSL_SSL_CLI_C and/or POLARSSL_NET_C and/or POLARSSL_CTR_DRBG_C not defined.\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 = load i32, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = 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/tmpa0tkakhm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [134 x i8] c"POLARSSL_ENTROPY_C and/or POLARSSL_SSL_TLS_C and/or POLARSSL_SSL_CLI_C and/or POLARSSL_NET_C and/or POLARSSL_CTR_DRBG_C not defined.\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 = load i32, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = 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/tmp4g3yg75t.c' source_filename = "/tmp/tmp4g3yg75t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test4u(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i64, ptr @INT_MIN, align 8 %5 = trunc i64 %4 to i32 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = xor i32 %6, %7 %9 = xor i32 %8, -1 ret i32 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4g3yg75t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test4u(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i64, ptr @INT_MIN, align 8 %5 = trunc i64 %4 to i32 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = xor i32 %6, %7 %9 = xor i32 %8, -1 ret i32 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvd2jwtx0.c' source_filename = "/tmp/tmpvd2jwtx0.c" target datalayout = "e-m:e-p270: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/tmpvd2jwtx0.c" target datalayout = "e-m:e-p270: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/tmpp6o7dblg.c' source_filename = "/tmp/tmpp6o7dblg.c" target datalayout = "e-m:e-p270: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/tmpp6o7dblg.c" target datalayout = "e-m:e-p270: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/tmpnvn6kffq.c' source_filename = "/tmp/tmpnvn6kffq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readVBM(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 %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = call i32 @read(i32 noundef %6, ptr noundef %7, i32 noundef 2) %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 0, ptr %3, align 4 br label %12 11: ; preds = %2 store i32 1, ptr %3, align 4 br label %12 12: ; preds = %11, %10 %13 = load i32, ptr %3, align 4 ret i32 %13 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnvn6kffq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readVBM(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 %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = call i32 @read(i32 noundef %6, ptr noundef %7, i32 noundef 2) %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 0, ptr %3, align 4 br label %12 11: ; preds = %2 store i32 1, ptr %3, align 4 br label %12 12: ; preds = %11, %10 %13 = load i32, ptr %3, align 4 ret i32 %13 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5v58bmzb.c' source_filename = "/tmp/tmp5v58bmzb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%.f\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 = call double @fac(i32 noundef %4) %6 = call i32 @printf(ptr noundef @.str.1, double noundef %5) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 declare double @fac(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/tmp5v58bmzb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%.f\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 = call double @fac(i32 noundef %4) %6 = call i32 @printf(ptr noundef @.str.1, double noundef %5) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 declare double @fac(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/tmp7yi1bi70.c' source_filename = "/tmp/tmp7yi1bi70.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @__const.main.blah = private unnamed_addr constant [5 x i8] c"BLAH\00", align 1 @.str = private unnamed_addr constant [7 x i8] c"test-1\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"file: \00", align 1 @EOF = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [38 x i8] c"\0Acharacter %td: '%c' instead of '%c'\0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"fp: error\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"fp: EOF\0A\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"not EOF\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @errno = dso_local global i64 0, align 8 @ENOSYS = dso_local global i64 0, align 8 @.str.7 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"mem: \00", align 1 @.str.9 = private unnamed_addr constant [37 x i8] c"%td character: '%c' instead of '%c'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i8], align 1 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.stat, align 4 %8 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.blah, i64 5, i1 false) %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %3, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %0 %12 = call i32 @exit(i32 noundef 1) #4 unreachable 13: ; preds = %0 %14 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %15 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %16 = call i64 @strlen(ptr noundef %15) %17 = load ptr, ptr %3, align 8 %18 = call i64 @fwrite(ptr noundef %14, i32 noundef 1, i64 noundef %16, ptr noundef %17) %19 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %20 = call i64 @strlen(ptr noundef %19) %21 = icmp ne i64 %18, %20 br i1 %21, label %22, label %24 22: ; preds = %13 %23 = call i32 @exit(i32 noundef 2) #4 unreachable 24: ; preds = %13 %25 = load ptr, ptr %3, align 8 %26 = call i32 @rewind(ptr noundef %25) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %28 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 store ptr %28, ptr %8, align 8 br label %29 29: ; preds = %56, %24 %30 = load ptr, ptr %3, align 8 %31 = call i32 @getc(ptr noundef %30) store i32 %31, ptr %5, align 4 %32 = load i32, ptr @EOF, align 4 %33 = icmp ne i32 %31, %32 br i1 %33, label %34, label %59 34: ; preds = %29 %35 = load i32, ptr %5, align 4 %36 = trunc i32 %35 to i8 %37 = load i32, ptr @stdout, align 4 %38 = call i32 @fputc(i8 noundef signext %36, i32 noundef %37) %39 = load i32, ptr %5, align 4 %40 = load ptr, ptr %8, align 8 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp ne i32 %39, %42 br i1 %43, label %44, label %56 44: ; preds = %34 %45 = load ptr, ptr %8, align 8 %46 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %47 = ptrtoint ptr %45 to i64 %48 = ptrtoint ptr %46 to i64 %49 = sub i64 %47, %48 %50 = load i32, ptr %5, align 4 %51 = load ptr, ptr %8, align 8 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %49, i32 noundef %50, i32 noundef %53) %55 = call i32 @exit(i32 noundef 1) #4 unreachable 56: ; preds = %34 %57 = load ptr, ptr %8, align 8 %58 = getelementptr inbounds i8, ptr %57, i32 1 store ptr %58, ptr %8, align 8 br label %29, !llvm.loop !6 59: ; preds = %29 %60 = load i32, ptr @stdout, align 4 %61 = call i32 @fputc(i8 noundef signext 10, i32 noundef %60) %62 = load ptr, ptr %3, align 8 %63 = call i64 @ferror(ptr noundef %62) %64 = icmp ne i64 %63, 0 br i1 %64, label %65, label %68 65: ; preds = %59 %66 = call i32 @puts(ptr noundef @.str.4) %67 = call i32 @exit(i32 noundef 1) #4 unreachable 68: ; preds = %59 %69 = load ptr, ptr %3, align 8 %70 = call i64 @feof(ptr noundef %69) %71 = icmp ne i64 %70, 0 br i1 %71, label %72, label %74 72: ; preds = %68 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %77 74: ; preds = %68 %75 = call i32 @puts(ptr noundef @.str.6) %76 = call i32 @exit(i32 noundef 1) #4 unreachable 77: ; preds = %72 %78 = load ptr, ptr %3, align 8 %79 = call i32 @fclose(ptr noundef %78) %80 = load i32, ptr @O_RDONLY, align 4 %81 = call i32 @open(ptr noundef @.str, i32 noundef %80) store i32 %81, ptr %6, align 4 %82 = icmp eq i32 %81, -1 br i1 %82, label %83, label %85 83: ; preds = %77 %84 = call i32 @exit(i32 noundef 3) #4 unreachable 85: ; preds = %77 %86 = load i32, ptr %6, align 4 %87 = call i32 @fstat(i32 noundef %86, ptr noundef %7) %88 = icmp eq i32 %87, -1 br i1 %88, label %89, label %91 89: ; preds = %85 %90 = call i32 @exit(i32 noundef 4) #4 unreachable 91: ; preds = %85 %92 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0 %93 = load i32, ptr %92, align 4 %94 = load i32, ptr @PROT_READ, align 4 %95 = load i32, ptr @MAP_SHARED, align 4 %96 = load i32, ptr %6, align 4 %97 = call i64 @mmap(ptr noundef null, i32 noundef %93, i32 noundef %94, i32 noundef %95, i32 noundef %96, i32 noundef 0) %98 = inttoptr i64 %97 to ptr store ptr %98, ptr %4, align 8 %99 = load ptr, ptr @MAP_FAILED, align 8 %100 = icmp eq ptr %98, %99 br i1 %100, label %101, label %109 101: ; preds = %91 %102 = load i64, ptr @errno, align 8 %103 = load i64, ptr @ENOSYS, align 8 %104 = icmp eq i64 %102, %103 br i1 %104, label %105, label %107 105: ; preds = %101 %106 = call i32 @exit(i32 noundef 0) #4 unreachable 107: ; preds = %101 %108 = call i32 @exit(i32 noundef 5) #4 unreachable 109: ; preds = %91 %110 = load ptr, ptr %4, align 8 %111 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0 %112 = load i32, ptr %111, align 4 %113 = call ptr @fmemopen(ptr noundef %110, i32 noundef %112, ptr noundef @.str.7) store ptr %113, ptr %3, align 8 %114 = icmp eq ptr %113, null br i1 %114, label %115, label %117 115: ; preds = %109 %116 = call i32 @exit(i32 noundef 1) #4 unreachable 117: ; preds = %109 %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %119 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 store ptr %119, ptr %8, align 8 br label %120 120: ; preds = %147, %117 %121 = load ptr, ptr %3, align 8 %122 = call i32 @getc(ptr noundef %121) store i32 %122, ptr %5, align 4 %123 = load i32, ptr @EOF, align 4 %124 = icmp ne i32 %122, %123 br i1 %124, label %125, label %150 125: ; preds = %120 %126 = load i32, ptr %5, align 4 %127 = trunc i32 %126 to i8 %128 = load i32, ptr @stdout, align 4 %129 = call i32 @fputc(i8 noundef signext %127, i32 noundef %128) %130 = load i32, ptr %5, align 4 %131 = load ptr, ptr %8, align 8 %132 = load i8, ptr %131, align 1 %133 = sext i8 %132 to i32 %134 = icmp ne i32 %130, %133 br i1 %134, label %135, label %147 135: ; preds = %125 %136 = load ptr, ptr %8, align 8 %137 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %138 = ptrtoint ptr %136 to i64 %139 = ptrtoint ptr %137 to i64 %140 = sub i64 %138, %139 %141 = load i32, ptr %5, align 4 %142 = load ptr, ptr %8, align 8 %143 = load i8, ptr %142, align 1 %144 = sext i8 %143 to i32 %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %140, i32 noundef %141, i32 noundef %144) %146 = call i32 @exit(i32 noundef 1) #4 unreachable 147: ; preds = %125 %148 = load ptr, ptr %8, align 8 %149 = getelementptr inbounds i8, ptr %148, i32 1 store ptr %149, ptr %8, align 8 br label %120, !llvm.loop !8 150: ; preds = %120 %151 = load i32, ptr @stdout, align 4 %152 = call i32 @fputc(i8 noundef signext 10, i32 noundef %151) %153 = load ptr, ptr %3, align 8 %154 = call i64 @ferror(ptr noundef %153) %155 = icmp ne i64 %154, 0 br i1 %155, label %156, label %159 156: ; preds = %150 %157 = call i32 @puts(ptr noundef @.str.4) %158 = call i32 @exit(i32 noundef 1) #4 unreachable 159: ; preds = %150 %160 = load ptr, ptr %3, align 8 %161 = call i64 @feof(ptr noundef %160) %162 = icmp ne i64 %161, 0 br i1 %162, label %163, label %165 163: ; preds = %159 %164 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %168 165: ; preds = %159 %166 = call i32 @puts(ptr noundef @.str.6) %167 = call i32 @exit(i32 noundef 1) #4 unreachable 168: ; preds = %163 %169 = load ptr, ptr %3, align 8 %170 = call i32 @fclose(ptr noundef %169) %171 = load ptr, ptr %4, align 8 %172 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0 %173 = load i32, ptr %172, align 4 %174 = call i32 @munmap(ptr noundef %171, i32 noundef %173) %175 = call i32 @unlink(ptr noundef @.str) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @rewind(ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @getc(ptr noundef) #2 declare i32 @fputc(i8 noundef signext, i32 noundef) #2 declare i64 @ferror(ptr noundef) #2 declare i32 @puts(ptr noundef) #2 declare i64 @feof(ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @open(ptr noundef, i32 noundef) #2 declare i32 @fstat(i32 noundef, ptr noundef) #2 declare i64 @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2 declare ptr @fmemopen(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @munmap(ptr noundef, i32 noundef) #2 declare i32 @unlink(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7yi1bi70.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @__const.main.blah = private unnamed_addr constant [5 x i8] c"BLAH\00", align 1 @.str = private unnamed_addr constant [7 x i8] c"test-1\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"file: \00", align 1 @EOF = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [38 x i8] c"\0Acharacter %td: '%c' instead of '%c'\0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"fp: error\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"fp: EOF\0A\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"not EOF\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @errno = dso_local global i64 0, align 8 @ENOSYS = dso_local global i64 0, align 8 @.str.7 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"mem: \00", align 1 @.str.9 = private unnamed_addr constant [37 x i8] c"%td character: '%c' instead of '%c'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i8], align 1 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.stat, align 4 %8 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.blah, i64 5, i1 false) %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %3, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %0 %12 = call i32 @exit(i32 noundef 1) #4 unreachable 13: ; preds = %0 %14 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %15 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %16 = call i64 @strlen(ptr noundef %15) %17 = load ptr, ptr %3, align 8 %18 = call i64 @fwrite(ptr noundef %14, i32 noundef 1, i64 noundef %16, ptr noundef %17) %19 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %20 = call i64 @strlen(ptr noundef %19) %21 = icmp ne i64 %18, %20 br i1 %21, label %22, label %24 22: ; preds = %13 %23 = call i32 @exit(i32 noundef 2) #4 unreachable 24: ; preds = %13 %25 = load ptr, ptr %3, align 8 %26 = call i32 @rewind(ptr noundef %25) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %28 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 store ptr %28, ptr %8, align 8 %29 = load ptr, ptr %3, align 8 %30 = call i32 @getc(ptr noundef %29) store i32 %30, ptr %5, align 4 %31 = load i32, ptr @EOF, align 4 %32 = icmp ne i32 %30, %31 br i1 %32, label %.lr.ph, label %62 .lr.ph: ; preds = %24 br label %33 33: ; preds = %.lr.ph, %55 %34 = load i32, ptr %5, align 4 %35 = trunc i32 %34 to i8 %36 = load i32, ptr @stdout, align 4 %37 = call i32 @fputc(i8 noundef signext %35, i32 noundef %36) %38 = load i32, ptr %5, align 4 %39 = load ptr, ptr %8, align 8 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp ne i32 %38, %41 br i1 %42, label %43, label %55 43: ; preds = %33 %44 = load ptr, ptr %8, align 8 %45 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %46 = ptrtoint ptr %44 to i64 %47 = ptrtoint ptr %45 to i64 %48 = sub i64 %46, %47 %49 = load i32, ptr %5, align 4 %50 = load ptr, ptr %8, align 8 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %48, i32 noundef %49, i32 noundef %52) %54 = call i32 @exit(i32 noundef 1) #4 unreachable 55: ; preds = %33 %56 = load ptr, ptr %8, align 8 %57 = getelementptr inbounds i8, ptr %56, i32 1 store ptr %57, ptr %8, align 8 %58 = load ptr, ptr %3, align 8 %59 = call i32 @getc(ptr noundef %58) store i32 %59, ptr %5, align 4 %60 = load i32, ptr @EOF, align 4 %61 = icmp ne i32 %59, %60 br i1 %61, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %55 br label %62 62: ; preds = %._crit_edge, %24 %63 = load i32, ptr @stdout, align 4 %64 = call i32 @fputc(i8 noundef signext 10, i32 noundef %63) %65 = load ptr, ptr %3, align 8 %66 = call i64 @ferror(ptr noundef %65) %67 = icmp ne i64 %66, 0 br i1 %67, label %68, label %71 68: ; preds = %62 %69 = call i32 @puts(ptr noundef @.str.4) %70 = call i32 @exit(i32 noundef 1) #4 unreachable 71: ; preds = %62 %72 = load ptr, ptr %3, align 8 %73 = call i64 @feof(ptr noundef %72) %74 = icmp ne i64 %73, 0 br i1 %74, label %75, label %77 75: ; preds = %71 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %80 77: ; preds = %71 %78 = call i32 @puts(ptr noundef @.str.6) %79 = call i32 @exit(i32 noundef 1) #4 unreachable 80: ; preds = %75 %81 = load ptr, ptr %3, align 8 %82 = call i32 @fclose(ptr noundef %81) %83 = load i32, ptr @O_RDONLY, align 4 %84 = call i32 @open(ptr noundef @.str, i32 noundef %83) store i32 %84, ptr %6, align 4 %85 = icmp eq i32 %84, -1 br i1 %85, label %86, label %88 86: ; preds = %80 %87 = call i32 @exit(i32 noundef 3) #4 unreachable 88: ; preds = %80 %89 = load i32, ptr %6, align 4 %90 = call i32 @fstat(i32 noundef %89, ptr noundef %7) %91 = icmp eq i32 %90, -1 br i1 %91, label %92, label %94 92: ; preds = %88 %93 = call i32 @exit(i32 noundef 4) #4 unreachable 94: ; preds = %88 %95 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0 %96 = load i32, ptr %95, align 4 %97 = load i32, ptr @PROT_READ, align 4 %98 = load i32, ptr @MAP_SHARED, align 4 %99 = load i32, ptr %6, align 4 %100 = call i64 @mmap(ptr noundef null, i32 noundef %96, i32 noundef %97, i32 noundef %98, i32 noundef %99, i32 noundef 0) %101 = inttoptr i64 %100 to ptr store ptr %101, ptr %4, align 8 %102 = load ptr, ptr @MAP_FAILED, align 8 %103 = icmp eq ptr %101, %102 br i1 %103, label %104, label %112 104: ; preds = %94 %105 = load i64, ptr @errno, align 8 %106 = load i64, ptr @ENOSYS, align 8 %107 = icmp eq i64 %105, %106 br i1 %107, label %108, label %110 108: ; preds = %104 %109 = call i32 @exit(i32 noundef 0) #4 unreachable 110: ; preds = %104 %111 = call i32 @exit(i32 noundef 5) #4 unreachable 112: ; preds = %94 %113 = load ptr, ptr %4, align 8 %114 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0 %115 = load i32, ptr %114, align 4 %116 = call ptr @fmemopen(ptr noundef %113, i32 noundef %115, ptr noundef @.str.7) store ptr %116, ptr %3, align 8 %117 = icmp eq ptr %116, null br i1 %117, label %118, label %120 118: ; preds = %112 %119 = call i32 @exit(i32 noundef 1) #4 unreachable 120: ; preds = %112 %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %122 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 store ptr %122, ptr %8, align 8 %123 = load ptr, ptr %3, align 8 %124 = call i32 @getc(ptr noundef %123) store i32 %124, ptr %5, align 4 %125 = load i32, ptr @EOF, align 4 %126 = icmp ne i32 %124, %125 br i1 %126, label %.lr.ph2, label %156 .lr.ph2: ; preds = %120 br label %127 127: ; preds = %.lr.ph2, %149 %128 = load i32, ptr %5, align 4 %129 = trunc i32 %128 to i8 %130 = load i32, ptr @stdout, align 4 %131 = call i32 @fputc(i8 noundef signext %129, i32 noundef %130) %132 = load i32, ptr %5, align 4 %133 = load ptr, ptr %8, align 8 %134 = load i8, ptr %133, align 1 %135 = sext i8 %134 to i32 %136 = icmp ne i32 %132, %135 br i1 %136, label %137, label %149 137: ; preds = %127 %138 = load ptr, ptr %8, align 8 %139 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %140 = ptrtoint ptr %138 to i64 %141 = ptrtoint ptr %139 to i64 %142 = sub i64 %140, %141 %143 = load i32, ptr %5, align 4 %144 = load ptr, ptr %8, align 8 %145 = load i8, ptr %144, align 1 %146 = sext i8 %145 to i32 %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %142, i32 noundef %143, i32 noundef %146) %148 = call i32 @exit(i32 noundef 1) #4 unreachable 149: ; preds = %127 %150 = load ptr, ptr %8, align 8 %151 = getelementptr inbounds i8, ptr %150, i32 1 store ptr %151, ptr %8, align 8 %152 = load ptr, ptr %3, align 8 %153 = call i32 @getc(ptr noundef %152) store i32 %153, ptr %5, align 4 %154 = load i32, ptr @EOF, align 4 %155 = icmp ne i32 %153, %154 br i1 %155, label %127, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %149 br label %156 156: ; preds = %._crit_edge3, %120 %157 = load i32, ptr @stdout, align 4 %158 = call i32 @fputc(i8 noundef signext 10, i32 noundef %157) %159 = load ptr, ptr %3, align 8 %160 = call i64 @ferror(ptr noundef %159) %161 = icmp ne i64 %160, 0 br i1 %161, label %162, label %165 162: ; preds = %156 %163 = call i32 @puts(ptr noundef @.str.4) %164 = call i32 @exit(i32 noundef 1) #4 unreachable 165: ; preds = %156 %166 = load ptr, ptr %3, align 8 %167 = call i64 @feof(ptr noundef %166) %168 = icmp ne i64 %167, 0 br i1 %168, label %169, label %171 169: ; preds = %165 %170 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %174 171: ; preds = %165 %172 = call i32 @puts(ptr noundef @.str.6) %173 = call i32 @exit(i32 noundef 1) #4 unreachable 174: ; preds = %169 %175 = load ptr, ptr %3, align 8 %176 = call i32 @fclose(ptr noundef %175) %177 = load ptr, ptr %4, align 8 %178 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0 %179 = load i32, ptr %178, align 4 %180 = call i32 @munmap(ptr noundef %177, i32 noundef %179) %181 = call i32 @unlink(ptr noundef @.str) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @rewind(ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @getc(ptr noundef) #2 declare i32 @fputc(i8 noundef signext, i32 noundef) #2 declare i64 @ferror(ptr noundef) #2 declare i32 @puts(ptr noundef) #2 declare i64 @feof(ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @open(ptr noundef, i32 noundef) #2 declare i32 @fstat(i32 noundef, ptr noundef) #2 declare i64 @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2 declare ptr @fmemopen(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @munmap(ptr noundef, i32 noundef) #2 declare i32 @unlink(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp_o0rmmzh.c' source_filename = "/tmp/tmp_o0rmmzh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"This is func3\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @func3() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @func4() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @func4(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_o0rmmzh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"This is func3\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @func3() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @func4() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @func4(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpugd_664v.c' source_filename = "/tmp/tmpugd_664v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_array_int(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %20, %3 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %23 12: ; preds = %8 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %7, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = load i32, ptr %17, align 4 %19 = call i32 @printf(ptr noundef %13, i32 noundef %18) br label %20 20: ; preds = %12 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %7, align 4 br label %8, !llvm.loop !6 23: ; preds = %8 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpugd_664v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_array_int(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %25 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %19 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 %17 = load i32, ptr %16, align 4 %18 = call i32 @printf(ptr noundef %12, i32 noundef %17) br label %19 19: ; preds = %11 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %7, align 4 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %3 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpl4l9jfgh.c' source_filename = "/tmp/tmpl4l9jfgh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pink(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 i32, align 4 %10 = alloca [3 x i32], align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = 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 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds i32, ptr %14, i64 0 %16 = load i32, ptr %15, align 4 store i32 %16, ptr %11, align 4 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 1 %19 = load i32, ptr %18, align 4 store i32 %19, ptr %12, align 4 %20 = load ptr, ptr %6, align 8 %21 = getelementptr inbounds i32, ptr %20, i64 2 %22 = load i32, ptr %21, align 4 store i32 %22, ptr %13, align 4 %23 = load ptr, ptr %6, align 8 %24 = getelementptr inbounds i32, ptr %23, i64 0 %25 = load i32, ptr %24, align 4 %26 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0 store i32 %25, ptr %26, align 4 %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds i32, ptr %27, i64 1 %29 = load i32, ptr %28, align 4 %30 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 1 store i32 %29, ptr %30, align 4 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i32, ptr %31, i64 2 %33 = load i32, ptr %32, align 4 %34 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 2 store i32 %33, ptr %34, align 4 %35 = load i32, ptr %13, align 4 %36 = icmp eq i32 %35, 1 br i1 %36, label %37, label %55 37: ; preds = %4 %38 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0 %39 = load i32, ptr %38, align 4 %40 = sub nsw i32 %39, 4 store i32 %40, ptr %38, align 4 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0 %43 = call i32 @validate_position(ptr noundef %41, ptr noundef %42) store i32 %43, ptr %9, align 4 %44 = load i32, ptr %9, align 4 %45 = icmp eq i32 %44, 1 br i1 %45, label %46, label %54 46: ; preds = %37 %47 = load i32, ptr %11, align 4 %48 = sub nsw i32 %47, 4 %49 = load ptr, ptr %8, align 8 %50 = getelementptr inbounds i32, ptr %49, i64 0 store i32 %48, ptr %50, align 4 %51 = load i32, ptr %12, align 4 %52 = load ptr, ptr %8, align 8 %53 = getelementptr inbounds i32, ptr %52, i64 1 store i32 %51, ptr %53, align 4 br label %54 54: ; preds = %46, %37 br label %121 55: ; preds = %4 %56 = load i32, ptr %13, align 4 %57 = icmp eq i32 %56, 2 br i1 %57, label %58, label %76 58: ; preds = %55 %59 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 1 %60 = load i32, ptr %59, align 4 %61 = add nsw i32 %60, 4 store i32 %61, ptr %59, align 4 %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0 %64 = call i32 @validate_position(ptr noundef %62, ptr noundef %63) store i32 %64, ptr %9, align 4 %65 = load i32, ptr %9, align 4 %66 = icmp eq i32 %65, 1 br i1 %66, label %67, label %75 67: ; preds = %58 %68 = load i32, ptr %11, align 4 %69 = load ptr, ptr %8, align 8 %70 = getelementptr inbounds i32, ptr %69, i64 0 store i32 %68, ptr %70, align 4 %71 = load i32, ptr %12, align 4 %72 = add nsw i32 %71, 4 %73 = load ptr, ptr %8, align 8 %74 = getelementptr inbounds i32, ptr %73, i64 1 store i32 %72, ptr %74, align 4 br label %75 75: ; preds = %67, %58 br label %120 76: ; preds = %55 %77 = load i32, ptr %13, align 4 %78 = icmp eq i32 %77, 3 br i1 %78, label %79, label %97 79: ; preds = %76 %80 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0 %81 = load i32, ptr %80, align 4 %82 = add nsw i32 %81, 4 store i32 %82, ptr %80, align 4 %83 = load ptr, ptr %5, align 8 %84 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0 %85 = call i32 @validate_position(ptr noundef %83, ptr noundef %84) store i32 %85, ptr %9, align 4 %86 = load i32, ptr %9, align 4 %87 = icmp eq i32 %86, 1 br i1 %87, label %88, label %96 88: ; preds = %79 %89 = load i32, ptr %11, align 4 %90 = add nsw i32 %89, 4 %91 = load ptr, ptr %8, align 8 %92 = getelementptr inbounds i32, ptr %91, i64 0 store i32 %90, ptr %92, align 4 %93 = load i32, ptr %12, align 4 %94 = load ptr, ptr %8, align 8 %95 = getelementptr inbounds i32, ptr %94, i64 1 store i32 %93, ptr %95, align 4 br label %96 96: ; preds = %88, %79 br label %119 97: ; preds = %76 %98 = load i32, ptr %13, align 4 %99 = icmp eq i32 %98, 4 br i1 %99, label %100, label %118 100: ; preds = %97 %101 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 1 %102 = load i32, ptr %101, align 4 %103 = sub nsw i32 %102, 4 store i32 %103, ptr %101, align 4 %104 = load ptr, ptr %5, align 8 %105 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0 %106 = call i32 @validate_position(ptr noundef %104, ptr noundef %105) store i32 %106, ptr %9, align 4 %107 = load i32, ptr %9, align 4 %108 = icmp eq i32 %107, 1 br i1 %108, label %109, label %117 109: ; preds = %100 %110 = load i32, ptr %11, align 4 %111 = load ptr, ptr %8, align 8 %112 = getelementptr inbounds i32, ptr %111, i64 0 store i32 %110, ptr %112, align 4 %113 = load i32, ptr %12, align 4 %114 = sub nsw i32 %113, 4 %115 = load ptr, ptr %8, align 8 %116 = getelementptr inbounds i32, ptr %115, i64 1 store i32 %114, ptr %116, align 4 br label %117 117: ; preds = %109, %100 br label %118 118: ; preds = %117, %97 br label %119 119: ; preds = %118, %96 br label %120 120: ; preds = %119, %75 br label %121 121: ; preds = %120, %54 ret void } declare i32 @validate_position(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/tmpl4l9jfgh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pink(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 i32, align 4 %10 = alloca [3 x i32], align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = 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 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds i32, ptr %14, i64 0 %16 = load i32, ptr %15, align 4 store i32 %16, ptr %11, align 4 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 1 %19 = load i32, ptr %18, align 4 store i32 %19, ptr %12, align 4 %20 = load ptr, ptr %6, align 8 %21 = getelementptr inbounds i32, ptr %20, i64 2 %22 = load i32, ptr %21, align 4 store i32 %22, ptr %13, align 4 %23 = load ptr, ptr %6, align 8 %24 = getelementptr inbounds i32, ptr %23, i64 0 %25 = load i32, ptr %24, align 4 %26 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0 store i32 %25, ptr %26, align 4 %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds i32, ptr %27, i64 1 %29 = load i32, ptr %28, align 4 %30 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 1 store i32 %29, ptr %30, align 4 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i32, ptr %31, i64 2 %33 = load i32, ptr %32, align 4 %34 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 2 store i32 %33, ptr %34, align 4 %35 = load i32, ptr %13, align 4 %36 = icmp eq i32 %35, 1 br i1 %36, label %37, label %55 37: ; preds = %4 %38 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0 %39 = load i32, ptr %38, align 4 %40 = sub nsw i32 %39, 4 store i32 %40, ptr %38, align 4 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0 %43 = call i32 @validate_position(ptr noundef %41, ptr noundef %42) store i32 %43, ptr %9, align 4 %44 = load i32, ptr %9, align 4 %45 = icmp eq i32 %44, 1 br i1 %45, label %46, label %54 46: ; preds = %37 %47 = load i32, ptr %11, align 4 %48 = sub nsw i32 %47, 4 %49 = load ptr, ptr %8, align 8 %50 = getelementptr inbounds i32, ptr %49, i64 0 store i32 %48, ptr %50, align 4 %51 = load i32, ptr %12, align 4 %52 = load ptr, ptr %8, align 8 %53 = getelementptr inbounds i32, ptr %52, i64 1 store i32 %51, ptr %53, align 4 br label %54 54: ; preds = %46, %37 br label %121 55: ; preds = %4 %56 = load i32, ptr %13, align 4 %57 = icmp eq i32 %56, 2 br i1 %57, label %58, label %76 58: ; preds = %55 %59 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 1 %60 = load i32, ptr %59, align 4 %61 = add nsw i32 %60, 4 store i32 %61, ptr %59, align 4 %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0 %64 = call i32 @validate_position(ptr noundef %62, ptr noundef %63) store i32 %64, ptr %9, align 4 %65 = load i32, ptr %9, align 4 %66 = icmp eq i32 %65, 1 br i1 %66, label %67, label %75 67: ; preds = %58 %68 = load i32, ptr %11, align 4 %69 = load ptr, ptr %8, align 8 %70 = getelementptr inbounds i32, ptr %69, i64 0 store i32 %68, ptr %70, align 4 %71 = load i32, ptr %12, align 4 %72 = add nsw i32 %71, 4 %73 = load ptr, ptr %8, align 8 %74 = getelementptr inbounds i32, ptr %73, i64 1 store i32 %72, ptr %74, align 4 br label %75 75: ; preds = %67, %58 br label %120 76: ; preds = %55 %77 = load i32, ptr %13, align 4 %78 = icmp eq i32 %77, 3 br i1 %78, label %79, label %97 79: ; preds = %76 %80 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0 %81 = load i32, ptr %80, align 4 %82 = add nsw i32 %81, 4 store i32 %82, ptr %80, align 4 %83 = load ptr, ptr %5, align 8 %84 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0 %85 = call i32 @validate_position(ptr noundef %83, ptr noundef %84) store i32 %85, ptr %9, align 4 %86 = load i32, ptr %9, align 4 %87 = icmp eq i32 %86, 1 br i1 %87, label %88, label %96 88: ; preds = %79 %89 = load i32, ptr %11, align 4 %90 = add nsw i32 %89, 4 %91 = load ptr, ptr %8, align 8 %92 = getelementptr inbounds i32, ptr %91, i64 0 store i32 %90, ptr %92, align 4 %93 = load i32, ptr %12, align 4 %94 = load ptr, ptr %8, align 8 %95 = getelementptr inbounds i32, ptr %94, i64 1 store i32 %93, ptr %95, align 4 br label %96 96: ; preds = %88, %79 br label %119 97: ; preds = %76 %98 = load i32, ptr %13, align 4 %99 = icmp eq i32 %98, 4 br i1 %99, label %100, label %118 100: ; preds = %97 %101 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 1 %102 = load i32, ptr %101, align 4 %103 = sub nsw i32 %102, 4 store i32 %103, ptr %101, align 4 %104 = load ptr, ptr %5, align 8 %105 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 0 %106 = call i32 @validate_position(ptr noundef %104, ptr noundef %105) store i32 %106, ptr %9, align 4 %107 = load i32, ptr %9, align 4 %108 = icmp eq i32 %107, 1 br i1 %108, label %109, label %117 109: ; preds = %100 %110 = load i32, ptr %11, align 4 %111 = load ptr, ptr %8, align 8 %112 = getelementptr inbounds i32, ptr %111, i64 0 store i32 %110, ptr %112, align 4 %113 = load i32, ptr %12, align 4 %114 = sub nsw i32 %113, 4 %115 = load ptr, ptr %8, align 8 %116 = getelementptr inbounds i32, ptr %115, i64 1 store i32 %114, ptr %116, align 4 br label %117 117: ; preds = %109, %100 br label %118 118: ; preds = %117, %97 br label %119 119: ; preds = %118, %96 br label %120 120: ; preds = %119, %75 br label %121 121: ; preds = %120, %54 ret void } declare i32 @validate_position(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/tmpky8i1srr.c' source_filename = "/tmp/tmpky8i1srr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compareData(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpky8i1srr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compareData(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5rayijww.c' source_filename = "/tmp/tmp5rayijww.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AproxEqualTol(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 %8 = load double, ptr %5, align 8 %9 = load double, ptr %6, align 8 %10 = fsub double %8, %9 %11 = call double @llvm.fabs.f64(double %10) %12 = load double, ptr %7, align 8 %13 = fcmp olt double %11, %12 br i1 %13, label %14, label %15 14: ; preds = %3 store i32 1, ptr %4, align 4 br label %16 15: ; preds = %3 store i32 0, ptr %4, align 4 br label %16 16: ; preds = %15, %14 %17 = load i32, ptr %4, align 4 ret i32 %17 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5rayijww.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AproxEqualTol(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 %8 = load double, ptr %5, align 8 %9 = load double, ptr %6, align 8 %10 = fsub double %8, %9 %11 = call double @llvm.fabs.f64(double %10) %12 = load double, ptr %7, align 8 %13 = fcmp olt double %11, %12 br i1 %13, label %14, label %15 14: ; preds = %3 store i32 1, ptr %4, align 4 br label %16 15: ; preds = %3 store i32 0, ptr %4, align 4 br label %16 16: ; preds = %15, %14 %17 = load i32, ptr %4, align 4 ret i32 %17 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6vl9uqeo.c' source_filename = "/tmp/tmp6vl9uqeo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Content-type: text/html\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"NONOON!\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) %3 = call i32 @printf(ptr noundef @.str.1) 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/tmp6vl9uqeo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Content-type: text/html\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"NONOON!\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) %3 = call i32 @printf(ptr noundef @.str.1) 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/tmpuwqei8bf.c' source_filename = "/tmp/tmpuwqei8bf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @close_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr %3, align 4 %5 = call i32 @close(i32 noundef %4) ret void } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuwqei8bf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @close_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr %3, align 4 %5 = call i32 @close(i32 noundef %4) ret void } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvm7remny.c' source_filename = "/tmp/tmpvm7remny.c" target datalayout = "e-m:e-p270: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/tmpvm7remny.c" target datalayout = "e-m:e-p270: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/tmpomfbp3u7.c' source_filename = "/tmp/tmpomfbp3u7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @part_1_7() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %2 2: ; preds = %12, %0 %3 = load i32, ptr %1, align 4 %4 = icmp slt i32 %3, 10 br i1 %4, label %5, label %15 5: ; preds = %2 %6 = load i32, ptr %1, align 4 %7 = load i32, ptr %1, align 4 %8 = call i32 @my_power(i32 noundef 2, i32 noundef %7) %9 = load i32, ptr %1, align 4 %10 = call i32 @my_power(i32 noundef -3, i32 noundef %9) %11 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %8, i32 noundef %10) br label %12 12: ; preds = %5 %13 = load i32, ptr %1, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %1, align 4 br label %2, !llvm.loop !6 15: ; preds = %2 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @my_power(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpomfbp3u7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @part_1_7() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr %1, align 4 %3 = icmp slt i32 %2, 10 br i1 %3, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %4 4: ; preds = %.lr.ph, %11 %5 = load i32, ptr %1, align 4 %6 = load i32, ptr %1, align 4 %7 = call i32 @my_power(i32 noundef 2, i32 noundef %6) %8 = load i32, ptr %1, align 4 %9 = call i32 @my_power(i32 noundef -3, i32 noundef %8) %10 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %7, i32 noundef %9) br label %11 11: ; preds = %4 %12 = load i32, ptr %1, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %1, align 4 %14 = load i32, ptr %1, align 4 %15 = icmp slt i32 %14, 10 br i1 %15, label %4, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %0 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @my_power(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpp8nypo07.c' source_filename = "/tmp/tmpp8nypo07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"mshell_ifc called\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"ifconfig eth1\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"\0A%s\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"ifconfig %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mshell_ifc(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca [64 x i8], align 16 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 1 %10 = load ptr, ptr %9, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %1 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = call i32 @system(ptr noundef @.str.1) br label %26 15: ; preds = %1 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %6, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %19) %21 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %22 = load ptr, ptr %6, align 8 %23 = call i32 @snprintf(ptr noundef %21, i32 noundef 64, ptr noundef @.str.3, ptr noundef %22) %24 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %25 = call i32 @system(ptr noundef %24) store i32 1, ptr %2, align 4 br label %27 26: ; preds = %12 store i32 1, ptr %2, align 4 br label %27 27: ; preds = %26, %15 %28 = load i32, ptr %2, align 4 ret i32 %28 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @system(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp8nypo07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"mshell_ifc called\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"ifconfig eth1\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"\0A%s\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"ifconfig %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mshell_ifc(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca [64 x i8], align 16 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 1 %10 = load ptr, ptr %9, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %1 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = call i32 @system(ptr noundef @.str.1) br label %26 15: ; preds = %1 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %6, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %19) %21 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %22 = load ptr, ptr %6, align 8 %23 = call i32 @snprintf(ptr noundef %21, i32 noundef 64, ptr noundef @.str.3, ptr noundef %22) %24 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %25 = call i32 @system(ptr noundef %24) store i32 1, ptr %2, align 4 br label %27 26: ; preds = %12 store i32 1, ptr %2, align 4 br label %27 27: ; preds = %26, %15 %28 = load i32, ptr %2, align 4 ret i32 %28 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @system(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpglxi9rh0.c' source_filename = "/tmp/tmpglxi9rh0.c" target datalayout = "e-m:e-p270: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/tmpglxi9rh0.c" target datalayout = "e-m:e-p270: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/tmpzox8jgz3.c' source_filename = "/tmp/tmpzox8jgz3.c" target datalayout = "e-m:e-p270: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/tmpzox8jgz3.c" target datalayout = "e-m:e-p270: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/tmpevr9hh8g.c' source_filename = "/tmp/tmpevr9hh8g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f11() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [3 x ptr], align 16 %4 = alloca ptr, align 8 store ptr %1, ptr %2, align 8 store ptr %3, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 0 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds [3 x ptr], ptr %7, i64 0, i64 0 %9 = load ptr, ptr %8, align 8 %10 = load ptr, ptr %9, align 8 store i32 100, ptr %10, align 4 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds [3 x ptr], ptr %11, i64 0, i64 0 %13 = load ptr, ptr %12, align 8 %14 = load ptr, ptr %13, align 8 %15 = load i32, ptr %14, align 4 %16 = call i32 @putchar(i32 noundef %15) ret void } declare i32 @putchar(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpevr9hh8g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f11() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [3 x ptr], align 16 %4 = alloca ptr, align 8 store ptr %1, ptr %2, align 8 store ptr %3, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 0 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds [3 x ptr], ptr %7, i64 0, i64 0 %9 = load ptr, ptr %8, align 8 %10 = load ptr, ptr %9, align 8 store i32 100, ptr %10, align 4 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds [3 x ptr], ptr %11, i64 0, i64 0 %13 = load ptr, ptr %12, align 8 %14 = load ptr, ptr %13, align 8 %15 = load i32, ptr %14, align 4 %16 = call i32 @putchar(i32 noundef %15) ret void } declare i32 @putchar(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw53pvkpb.c' source_filename = "/tmp/tmpw53pvkpb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Enter first number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Enter second number: \00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Enter third number: \00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"%d is the greatest.\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"%d is greatest.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp sge i32 %11, %12 br i1 %13, label %14, label %25 14: ; preds = %0 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp sge i32 %15, %16 br i1 %17, label %18, label %21 18: ; preds = %14 %19 = load i32, ptr %2, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %19) br label %24 21: ; preds = %14 %22 = load i32, ptr %4, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %22) br label %24 24: ; preds = %21, %18 br label %36 25: ; preds = %0 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp sge i32 %26, %27 br i1 %28, label %29, label %32 29: ; preds = %25 %30 = load i32, ptr %3, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %30) br label %35 32: ; preds = %25 %33 = load i32, ptr %4, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %33) br label %35 35: ; preds = %32, %29 br label %36 36: ; preds = %35, %24 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/tmpw53pvkpb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Enter first number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Enter second number: \00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Enter third number: \00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"%d is the greatest.\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"%d is greatest.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp sge i32 %11, %12 br i1 %13, label %14, label %25 14: ; preds = %0 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp sge i32 %15, %16 br i1 %17, label %18, label %21 18: ; preds = %14 %19 = load i32, ptr %2, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %19) br label %24 21: ; preds = %14 %22 = load i32, ptr %4, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %22) br label %24 24: ; preds = %21, %18 br label %36 25: ; preds = %0 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp sge i32 %26, %27 br i1 %28, label %29, label %32 29: ; preds = %25 %30 = load i32, ptr %3, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %30) br label %35 32: ; preds = %25 %33 = load i32, ptr %4, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %33) br label %35 35: ; preds = %32, %29 br label %36 36: ; preds = %35, %24 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/tmp3_vwqyw7.c' source_filename = "/tmp/tmp3_vwqyw7.c" target datalayout = "e-m:e-p270: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/tmp3_vwqyw7.c" target datalayout = "e-m:e-p270: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/tmp7bttozyv.c' source_filename = "/tmp/tmp7bttozyv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @getEnclosingDir(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 %10 = call i64 @rindex(ptr noundef %9, i8 noundef signext 47) store i64 %10, ptr %8, align 8 %11 = load i64, ptr %8, align 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %19 13: ; preds = %3 %14 = load i64, ptr %8, align 8 %15 = add i64 %14, 1 %16 = load ptr, ptr %7, align 8 %17 = ptrtoint ptr %16 to i64 %18 = sub i64 %15, %17 br label %20 19: ; preds = %3 br label %20 20: ; preds = %19, %13 %21 = phi i64 [ %18, %13 ], [ 0, %19 ] %22 = add i64 %21, 1 store i64 %22, ptr %8, align 8 %23 = load i64, ptr %8, align 8 %24 = load i64, ptr %6, align 8 %25 = icmp ugt i64 %23, %24 br i1 %25, label %26, label %27 26: ; preds = %20 store i64 0, ptr %4, align 8 br label %38 27: ; preds = %20 %28 = load ptr, ptr %5, align 8 %29 = load ptr, ptr %7, align 8 %30 = load i64, ptr %8, align 8 %31 = sub i64 %30, 1 %32 = call i32 @memcpy(ptr noundef %28, ptr noundef %29, i64 noundef %31) %33 = load ptr, ptr %5, align 8 %34 = load i64, ptr %8, align 8 %35 = sub i64 %34, 1 %36 = getelementptr inbounds i8, ptr %33, i64 %35 store i8 0, ptr %36, align 1 %37 = load i64, ptr %8, align 8 store i64 %37, ptr %4, align 8 br label %38 38: ; preds = %27, %26 %39 = load i64, ptr %4, align 8 ret i64 %39 } declare i64 @rindex(ptr noundef, i8 noundef signext) #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/tmp7bttozyv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @getEnclosingDir(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 %10 = call i64 @rindex(ptr noundef %9, i8 noundef signext 47) store i64 %10, ptr %8, align 8 %11 = load i64, ptr %8, align 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %19 13: ; preds = %3 %14 = load i64, ptr %8, align 8 %15 = add i64 %14, 1 %16 = load ptr, ptr %7, align 8 %17 = ptrtoint ptr %16 to i64 %18 = sub i64 %15, %17 br label %20 19: ; preds = %3 br label %20 20: ; preds = %19, %13 %21 = phi i64 [ %18, %13 ], [ 0, %19 ] %22 = add i64 %21, 1 store i64 %22, ptr %8, align 8 %23 = load i64, ptr %8, align 8 %24 = load i64, ptr %6, align 8 %25 = icmp ugt i64 %23, %24 br i1 %25, label %26, label %27 26: ; preds = %20 store i64 0, ptr %4, align 8 br label %38 27: ; preds = %20 %28 = load ptr, ptr %5, align 8 %29 = load ptr, ptr %7, align 8 %30 = load i64, ptr %8, align 8 %31 = sub i64 %30, 1 %32 = call i32 @memcpy(ptr noundef %28, ptr noundef %29, i64 noundef %31) %33 = load ptr, ptr %5, align 8 %34 = load i64, ptr %8, align 8 %35 = sub i64 %34, 1 %36 = getelementptr inbounds i8, ptr %33, i64 %35 store i8 0, ptr %36, align 1 %37 = load i64, ptr %8, align 8 store i64 %37, ptr %4, align 8 br label %38 38: ; preds = %27, %26 %39 = load i64, ptr %4, align 8 ret i64 %39 } declare i64 @rindex(ptr noundef, i8 noundef signext) #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/tmprcyk_7ny.c' source_filename = "/tmp/tmprcyk_7ny.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { %1 = call i32 (...) @test_random() %2 = call i32 (...) @test_once() ret void } declare i32 @test_random(...) #1 declare i32 @test_once(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprcyk_7ny.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { %1 = call i32 (...) @test_random() %2 = call i32 (...) @test_once() ret void } declare i32 @test_random(...) #1 declare i32 @test_once(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv8y9s0yn.c' source_filename = "/tmp/tmpv8y9s0yn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IsPalindromes(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 1, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %8 8: ; preds = %33, %1 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %5, align 4 %11 = sdiv i32 %10, 2 %12 = icmp slt i32 %9, %11 br i1 %12, label %13, label %36 13: ; preds = %8 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %4, align 4 %23 = sub nsw i32 %21, %22 %24 = sub nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %20, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %19, %28 br i1 %29, label %30, label %31 30: ; preds = %13 br label %32 31: ; preds = %13 store i32 0, ptr %3, align 4 br label %36 32: ; preds = %30 br label %33 33: ; preds = %32 %34 = load i32, ptr %4, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %4, align 4 br label %8, !llvm.loop !6 36: ; preds = %31, %8 %37 = load i32, ptr %3, align 4 ret i32 %37 } 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/tmpv8y9s0yn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IsPalindromes(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 1, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %5, align 4 %10 = sdiv i32 %9, 2 %11 = icmp slt i32 %8, %10 br i1 %11, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %32 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = sub nsw i32 %20, %21 %23 = sub nsw i32 %22, 1 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %19, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %18, %27 br i1 %28, label %29, label %30 29: ; preds = %12 br label %31 30: ; preds = %12 store i32 0, ptr %3, align 4 br label %39 31: ; preds = %29 br label %32 32: ; preds = %31 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %4, align 4 %35 = load i32, ptr %4, align 4 %36 = load i32, ptr %5, align 4 %37 = sdiv i32 %36, 2 %38 = icmp slt i32 %35, %37 br i1 %38, label %12, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %32 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %39 39: ; preds = %.loopexit, %30 %40 = load i32, ptr %3, align 4 ret i32 %40 } 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/tmpwszbem1m.c' source_filename = "/tmp/tmpwszbem1m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"POST\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @OCSP_sendreq_new(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr null, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %9, align 4 %13 = call ptr @OCSP_REQ_CTX_new(ptr noundef %11, i32 noundef %12) store ptr %13, ptr %10, align 8 %14 = load ptr, ptr %10, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %17 16: ; preds = %4 store ptr null, ptr %5, align 8 br label %37 17: ; preds = %4 %18 = load ptr, ptr %10, align 8 %19 = load ptr, ptr %7, align 8 %20 = call i32 @OCSP_REQ_CTX_http(ptr noundef %18, ptr noundef @.str, ptr noundef %19) %21 = icmp ne i32 %20, 0 br i1 %21, label %23, label %22 22: ; preds = %17 br label %34 23: ; preds = %17 %24 = load ptr, ptr %8, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %32 26: ; preds = %23 %27 = load ptr, ptr %10, align 8 %28 = load ptr, ptr %8, align 8 %29 = call i32 @OCSP_REQ_CTX_set1_req(ptr noundef %27, ptr noundef %28) %30 = icmp ne i32 %29, 0 br i1 %30, label %32, label %31 31: ; preds = %26 br label %34 32: ; preds = %26, %23 %33 = load ptr, ptr %10, align 8 store ptr %33, ptr %5, align 8 br label %37 34: ; preds = %31, %22 %35 = load ptr, ptr %10, align 8 %36 = call i32 @OCSP_REQ_CTX_free(ptr noundef %35) store ptr null, ptr %5, align 8 br label %37 37: ; preds = %34, %32, %16 %38 = load ptr, ptr %5, align 8 ret ptr %38 } declare ptr @OCSP_REQ_CTX_new(ptr noundef, i32 noundef) #1 declare i32 @OCSP_REQ_CTX_http(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @OCSP_REQ_CTX_set1_req(ptr noundef, ptr noundef) #1 declare i32 @OCSP_REQ_CTX_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwszbem1m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"POST\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @OCSP_sendreq_new(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr null, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %9, align 4 %13 = call ptr @OCSP_REQ_CTX_new(ptr noundef %11, i32 noundef %12) store ptr %13, ptr %10, align 8 %14 = load ptr, ptr %10, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %17 16: ; preds = %4 store ptr null, ptr %5, align 8 br label %37 17: ; preds = %4 %18 = load ptr, ptr %10, align 8 %19 = load ptr, ptr %7, align 8 %20 = call i32 @OCSP_REQ_CTX_http(ptr noundef %18, ptr noundef @.str, ptr noundef %19) %21 = icmp ne i32 %20, 0 br i1 %21, label %23, label %22 22: ; preds = %17 br label %34 23: ; preds = %17 %24 = load ptr, ptr %8, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %32 26: ; preds = %23 %27 = load ptr, ptr %10, align 8 %28 = load ptr, ptr %8, align 8 %29 = call i32 @OCSP_REQ_CTX_set1_req(ptr noundef %27, ptr noundef %28) %30 = icmp ne i32 %29, 0 br i1 %30, label %32, label %31 31: ; preds = %26 br label %34 32: ; preds = %26, %23 %33 = load ptr, ptr %10, align 8 store ptr %33, ptr %5, align 8 br label %37 34: ; preds = %31, %22 %35 = load ptr, ptr %10, align 8 %36 = call i32 @OCSP_REQ_CTX_free(ptr noundef %35) store ptr null, ptr %5, align 8 br label %37 37: ; preds = %34, %32, %16 %38 = load ptr, ptr %5, align 8 ret ptr %38 } declare ptr @OCSP_REQ_CTX_new(ptr noundef, i32 noundef) #1 declare i32 @OCSP_REQ_CTX_http(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @OCSP_REQ_CTX_set1_req(ptr noundef, ptr noundef) #1 declare i32 @OCSP_REQ_CTX_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_nhhrpxg.c' source_filename = "/tmp/tmp_nhhrpxg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 @STDERR_FILENO = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Xpms_popen(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [2 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %14 = load ptr, ptr %4, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %20, label %16 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = call i32 @strlen(ptr noundef %17) %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %16, %2 store ptr null, ptr %3, align 8 br label %241 21: ; preds = %16 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 0 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 114 br i1 %26, label %27, label %34 27: ; preds = %21 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 0 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp ne i32 %31, 119 br i1 %32, label %33, label %34 33: ; preds = %27 store ptr null, ptr %3, align 8 br label %241 34: ; preds = %27, %21 %35 = load ptr, ptr %4, align 8 %36 = call ptr @strdup(ptr noundef %35) store ptr %36, ptr %13, align 8 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %39 38: ; preds = %34 store ptr null, ptr %3, align 8 br label %241 39: ; preds = %34 store ptr null, ptr %11, align 8 %40 = load ptr, ptr %13, align 8 %41 = call ptr @strtok(ptr noundef %40, ptr noundef @.str) store ptr %41, ptr %12, align 8 %42 = icmp eq ptr %41, null br i1 %42, label %43, label %46 43: ; preds = %39 %44 = load ptr, ptr %13, align 8 %45 = call i32 @free(ptr noundef %44) store ptr null, ptr %3, align 8 br label %241 46: ; preds = %39 store i32 0, ptr %10, align 4 br label %47 47: ; preds = %107, %46 %48 = load ptr, ptr %11, align 8 %49 = load i32, ptr %10, align 4 %50 = add nsw i32 %49, 1 %51 = sext i32 %50 to i64 %52 = mul i64 %51, 8 %53 = trunc i64 %52 to i32 %54 = call i64 @realloc(ptr noundef %48, i32 noundef %53) %55 = inttoptr i64 %54 to ptr store ptr %55, ptr %11, align 8 %56 = icmp eq ptr %55, null br i1 %56, label %57, label %60 57: ; preds = %47 %58 = load ptr, ptr %13, align 8 %59 = call i32 @free(ptr noundef %58) store ptr null, ptr %3, align 8 br label %241 60: ; preds = %47 %61 = load ptr, ptr %12, align 8 %62 = call i32 @strlen(ptr noundef %61) %63 = add nsw i32 %62, 1 %64 = sext i32 %63 to i64 %65 = mul i64 %64, 1 %66 = trunc i64 %65 to i32 %67 = call i64 @malloc(i32 noundef %66) %68 = inttoptr i64 %67 to ptr %69 = load ptr, ptr %11, align 8 %70 = load i32, ptr %10, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds ptr, ptr %69, i64 %71 store ptr %68, ptr %72, align 8 %73 = icmp eq ptr %68, null br i1 %73, label %74, label %77 74: ; preds = %60 %75 = load ptr, ptr %13, align 8 %76 = call i32 @free(ptr noundef %75) store ptr null, ptr %3, align 8 br label %241 77: ; preds = %60 %78 = load ptr, ptr %11, align 8 %79 = load i32, ptr %10, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds ptr, ptr %78, i64 %80 %82 = load ptr, ptr %81, align 8 %83 = load ptr, ptr %12, align 8 %84 = call i32 @strcpy(ptr noundef %82, ptr noundef %83) %85 = call ptr @strtok(ptr noundef null, ptr noundef @.str) store ptr %85, ptr %12, align 8 %86 = icmp eq ptr %85, null br i1 %86, label %87, label %106 87: ; preds = %77 %88 = load ptr, ptr %11, align 8 %89 = load i32, ptr %10, align 4 %90 = add nsw i32 %89, 2 %91 = sext i32 %90 to i64 %92 = mul i64 %91, 8 %93 = trunc i64 %92 to i32 %94 = call i64 @realloc(ptr noundef %88, i32 noundef %93) %95 = inttoptr i64 %94 to ptr store ptr %95, ptr %11, align 8 %96 = icmp eq ptr %95, null br i1 %96, label %97, label %100 97: ; preds = %87 %98 = load ptr, ptr %13, align 8 %99 = call i32 @free(ptr noundef %98) store ptr null, ptr %3, align 8 br label %241 100: ; preds = %87 %101 = load ptr, ptr %11, align 8 %102 = load i32, ptr %10, align 4 %103 = add nsw i32 %102, 1 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds ptr, ptr %101, i64 %104 store ptr null, ptr %105, align 8 br label %110 106: ; preds = %77 br label %107 107: ; preds = %106 %108 = load i32, ptr %10, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %10, align 4 br label %47 110: ; preds = %100 %111 = load ptr, ptr %5, align 8 %112 = getelementptr inbounds i8, ptr %111, i64 0 %113 = load i8, ptr %112, align 1 %114 = sext i8 %113 to i32 %115 = icmp eq i32 %114, 114 br i1 %115, label %116, label %117 116: ; preds = %110 store i32 1, ptr %8, align 4 br label %118 117: ; preds = %110 store i32 1, ptr %9, align 4 br label %118 118: ; preds = %117, %116 %119 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %120 = call i64 @pipe(ptr noundef %119) %121 = icmp slt i64 %120, 0 br i1 %121, label %122, label %125 122: ; preds = %118 %123 = load ptr, ptr %13, align 8 %124 = call i32 @free(ptr noundef %123) store ptr null, ptr %3, align 8 br label %241 125: ; preds = %118 %126 = call i64 (...) @fork() store i64 %126, ptr %6, align 8 %127 = icmp slt i64 %126, 0 br i1 %127, label %128, label %137 128: ; preds = %125 %129 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %130 = load i32, ptr %129, align 4 %131 = call i32 @close(i32 noundef %130) %132 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %133 = load i32, ptr %132, align 4 %134 = call i32 @close(i32 noundef %133) %135 = load ptr, ptr %13, align 8 %136 = call i32 @free(ptr noundef %135) store ptr null, ptr %3, align 8 br label %241 137: ; preds = %125 %138 = load i64, ptr %6, align 8 %139 = icmp eq i64 %138, 0 br i1 %139, label %140, label %218 140: ; preds = %137 %141 = call i64 (...) @fork() store i64 %141, ptr %6, align 8 %142 = icmp slt i64 %141, 0 br i1 %142, label %143, label %152 143: ; preds = %140 %144 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %145 = load i32, ptr %144, align 4 %146 = call i32 @close(i32 noundef %145) %147 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %148 = load i32, ptr %147, align 4 %149 = call i32 @close(i32 noundef %148) %150 = load ptr, ptr %13, align 8 %151 = call i32 @free(ptr noundef %150) store ptr null, ptr %3, align 8 br label %241 152: ; preds = %140 %153 = load i64, ptr %6, align 8 %154 = icmp sgt i64 %153, 0 br i1 %154, label %155, label %157 155: ; preds = %152 %156 = call i32 @exit(i32 noundef 0) #3 unreachable 157: ; preds = %152 %158 = load i32, ptr %8, align 4 %159 = icmp ne i32 %158, 0 br i1 %159, label %160, label %177 160: ; preds = %157 %161 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %162 = load i32, ptr %161, align 4 %163 = call i32 @close(i32 noundef %162) %164 = load i32, ptr @STDOUT_FILENO, align 4 %165 = load i32, ptr @STDERR_FILENO, align 4 %166 = call i32 @dup2(i32 noundef %164, i32 noundef %165) %167 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %168 = load i32, ptr %167, align 4 %169 = load i32, ptr @STDOUT_FILENO, align 4 %170 = icmp ne i32 %168, %169 br i1 %170, label %171, label %176 171: ; preds = %160 %172 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %173 = load i32, ptr %172, align 4 %174 = load i32, ptr @STDOUT_FILENO, align 4 %175 = call i32 @dup2(i32 noundef %173, i32 noundef %174) br label %176 176: ; preds = %171, %160 br label %191 177: ; preds = %157 %178 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %179 = load i32, ptr %178, align 4 %180 = call i32 @close(i32 noundef %179) %181 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %182 = load i32, ptr %181, align 4 %183 = load i32, ptr @STDIN_FILENO, align 4 %184 = icmp ne i32 %182, %183 br i1 %184, label %185, label %190 185: ; preds = %177 %186 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %187 = load i32, ptr %186, align 4 %188 = load i32, ptr @STDIN_FILENO, align 4 %189 = call i32 @dup2(i32 noundef %187, i32 noundef %188) br label %190 190: ; preds = %185, %177 br label %191 191: ; preds = %190, %176 %192 = load ptr, ptr %11, align 8 %193 = getelementptr inbounds ptr, ptr %192, i64 0 %194 = load ptr, ptr %193, align 8 %195 = call ptr @strchr(ptr noundef %194, i8 noundef signext 47) %196 = icmp eq ptr %195, null br i1 %196, label %197, label %203 197: ; preds = %191 %198 = load ptr, ptr %11, align 8 %199 = getelementptr inbounds ptr, ptr %198, i64 0 %200 = load ptr, ptr %199, align 8 %201 = load ptr, ptr %11, align 8 %202 = call i32 @execvp(ptr noundef %200, ptr noundef %201) br label %209 203: ; preds = %191 %204 = load ptr, ptr %11, align 8 %205 = getelementptr inbounds ptr, ptr %204, i64 0 %206 = load ptr, ptr %205, align 8 %207 = load ptr, ptr %11, align 8 %208 = call i32 @execv(ptr noundef %206, ptr noundef %207) br label %209 209: ; preds = %203, %197 %210 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %211 = load i32, ptr %210, align 4 %212 = call i32 @close(i32 noundef %211) %213 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %214 = load i32, ptr %213, align 4 %215 = call i32 @close(i32 noundef %214) %216 = load ptr, ptr %13, align 8 %217 = call i32 @free(ptr noundef %216) store ptr null, ptr %3, align 8 br label %241 218: ; preds = %137 %219 = load i64, ptr %6, align 8 %220 = call i32 @waitpid(i64 noundef %219, ptr noundef null, i32 noundef 0) %221 = load i32, ptr %8, align 4 %222 = icmp ne i32 %221, 0 br i1 %222, label %223, label %232 223: ; preds = %218 %224 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %225 = load i32, ptr %224, align 4 %226 = call i32 @close(i32 noundef %225) %227 = load ptr, ptr %13, align 8 %228 = call i32 @free(ptr noundef %227) %229 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %230 = load i32, ptr %229, align 4 %231 = call ptr @fdopen(i32 noundef %230, ptr noundef @.str.1) store ptr %231, ptr %3, align 8 br label %241 232: ; preds = %218 %233 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %234 = load i32, ptr %233, align 4 %235 = call i32 @close(i32 noundef %234) %236 = load ptr, ptr %13, align 8 %237 = call i32 @free(ptr noundef %236) %238 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %239 = load i32, ptr %238, align 4 %240 = call ptr @fdopen(i32 noundef %239, ptr noundef @.str.2) store ptr %240, ptr %3, align 8 br label %241 241: ; preds = %232, %223, %209, %143, %128, %122, %97, %74, %57, %43, %38, %33, %20 %242 = load ptr, ptr %3, align 8 ret ptr %242 } declare i32 @strlen(ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @pipe(ptr noundef) #1 declare i64 @fork(...) #1 declare i32 @close(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 declare i32 @execv(ptr noundef, ptr noundef) #1 declare i32 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1 declare ptr @fdopen(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 = { 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_nhhrpxg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 @STDERR_FILENO = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Xpms_popen(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [2 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %14 = load ptr, ptr %4, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %20, label %16 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = call i32 @strlen(ptr noundef %17) %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %16, %2 store ptr null, ptr %3, align 8 br label %249 21: ; preds = %16 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 0 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 114 br i1 %26, label %27, label %34 27: ; preds = %21 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 0 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp ne i32 %31, 119 br i1 %32, label %33, label %34 33: ; preds = %27 store ptr null, ptr %3, align 8 br label %249 34: ; preds = %27, %21 %35 = load ptr, ptr %4, align 8 %36 = call ptr @strdup(ptr noundef %35) store ptr %36, ptr %13, align 8 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %39 38: ; preds = %34 store ptr null, ptr %3, align 8 br label %249 39: ; preds = %34 store ptr null, ptr %11, align 8 %40 = load ptr, ptr %13, align 8 %41 = call ptr @strtok(ptr noundef %40, ptr noundef @.str) store ptr %41, ptr %12, align 8 %42 = icmp eq ptr %41, null br i1 %42, label %43, label %46 43: ; preds = %39 %44 = load ptr, ptr %13, align 8 %45 = call i32 @free(ptr noundef %44) store ptr null, ptr %3, align 8 br label %249 46: ; preds = %39 store i32 0, ptr %10, align 4 %47 = load ptr, ptr %11, align 8 %48 = load i32, ptr %10, align 4 %49 = add nsw i32 %48, 1 %50 = sext i32 %49 to i64 %51 = mul i64 %50, 8 %52 = trunc i64 %51 to i32 %53 = call i64 @realloc(ptr noundef %47, i32 noundef %52) %54 = inttoptr i64 %53 to ptr store ptr %54, ptr %11, align 8 %55 = icmp eq ptr %54, null br i1 %55, label %56, label %.lr.ph .lr.ph: ; preds = %46 br label %59 ._crit_edge: ; preds = %106 br label %56 56: ; preds = %._crit_edge, %46 %57 = load ptr, ptr %13, align 8 %58 = call i32 @free(ptr noundef %57) store ptr null, ptr %3, align 8 br label %249 59: ; preds = %.lr.ph, %106 %60 = load ptr, ptr %12, align 8 %61 = call i32 @strlen(ptr noundef %60) %62 = add nsw i32 %61, 1 %63 = sext i32 %62 to i64 %64 = mul i64 %63, 1 %65 = trunc i64 %64 to i32 %66 = call i64 @malloc(i32 noundef %65) %67 = inttoptr i64 %66 to ptr %68 = load ptr, ptr %11, align 8 %69 = load i32, ptr %10, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds ptr, ptr %68, i64 %70 store ptr %67, ptr %71, align 8 %72 = icmp eq ptr %67, null br i1 %72, label %73, label %76 73: ; preds = %59 %74 = load ptr, ptr %13, align 8 %75 = call i32 @free(ptr noundef %74) store ptr null, ptr %3, align 8 br label %249 76: ; preds = %59 %77 = load ptr, ptr %11, align 8 %78 = load i32, ptr %10, 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 ptr, ptr %12, align 8 %83 = call i32 @strcpy(ptr noundef %81, ptr noundef %82) %84 = call ptr @strtok(ptr noundef null, ptr noundef @.str) store ptr %84, ptr %12, align 8 %85 = icmp eq ptr %84, null br i1 %85, label %86, label %105 86: ; preds = %76 %87 = load ptr, ptr %11, align 8 %88 = load i32, ptr %10, align 4 %89 = add nsw i32 %88, 2 %90 = sext i32 %89 to i64 %91 = mul i64 %90, 8 %92 = trunc i64 %91 to i32 %93 = call i64 @realloc(ptr noundef %87, i32 noundef %92) %94 = inttoptr i64 %93 to ptr store ptr %94, ptr %11, align 8 %95 = icmp eq ptr %94, null br i1 %95, label %96, label %99 96: ; preds = %86 %97 = load ptr, ptr %13, align 8 %98 = call i32 @free(ptr noundef %97) store ptr null, ptr %3, align 8 br label %249 99: ; preds = %86 %100 = load ptr, ptr %11, align 8 %101 = load i32, ptr %10, align 4 %102 = add nsw i32 %101, 1 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds ptr, ptr %100, i64 %103 store ptr null, ptr %104, align 8 br label %118 105: ; preds = %76 br label %106 106: ; preds = %105 %107 = load i32, ptr %10, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %10, align 4 %109 = load ptr, ptr %11, align 8 %110 = load i32, ptr %10, align 4 %111 = add nsw i32 %110, 1 %112 = sext i32 %111 to i64 %113 = mul i64 %112, 8 %114 = trunc i64 %113 to i32 %115 = call i64 @realloc(ptr noundef %109, i32 noundef %114) %116 = inttoptr i64 %115 to ptr store ptr %116, ptr %11, align 8 %117 = icmp eq ptr %116, null br i1 %117, label %._crit_edge, label %59 118: ; preds = %99 %119 = load ptr, ptr %5, align 8 %120 = getelementptr inbounds i8, ptr %119, i64 0 %121 = load i8, ptr %120, align 1 %122 = sext i8 %121 to i32 %123 = icmp eq i32 %122, 114 br i1 %123, label %124, label %125 124: ; preds = %118 store i32 1, ptr %8, align 4 br label %126 125: ; preds = %118 store i32 1, ptr %9, align 4 br label %126 126: ; preds = %125, %124 %127 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %128 = call i64 @pipe(ptr noundef %127) %129 = icmp slt i64 %128, 0 br i1 %129, label %130, label %133 130: ; preds = %126 %131 = load ptr, ptr %13, align 8 %132 = call i32 @free(ptr noundef %131) store ptr null, ptr %3, align 8 br label %249 133: ; preds = %126 %134 = call i64 (...) @fork() store i64 %134, ptr %6, align 8 %135 = icmp slt i64 %134, 0 br i1 %135, label %136, label %145 136: ; preds = %133 %137 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %138 = load i32, ptr %137, align 4 %139 = call i32 @close(i32 noundef %138) %140 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %141 = load i32, ptr %140, align 4 %142 = call i32 @close(i32 noundef %141) %143 = load ptr, ptr %13, align 8 %144 = call i32 @free(ptr noundef %143) store ptr null, ptr %3, align 8 br label %249 145: ; preds = %133 %146 = load i64, ptr %6, align 8 %147 = icmp eq i64 %146, 0 br i1 %147, label %148, label %226 148: ; preds = %145 %149 = call i64 (...) @fork() store i64 %149, ptr %6, align 8 %150 = icmp slt i64 %149, 0 br i1 %150, label %151, label %160 151: ; preds = %148 %152 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %153 = load i32, ptr %152, align 4 %154 = call i32 @close(i32 noundef %153) %155 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %156 = load i32, ptr %155, align 4 %157 = call i32 @close(i32 noundef %156) %158 = load ptr, ptr %13, align 8 %159 = call i32 @free(ptr noundef %158) store ptr null, ptr %3, align 8 br label %249 160: ; preds = %148 %161 = load i64, ptr %6, align 8 %162 = icmp sgt i64 %161, 0 br i1 %162, label %163, label %165 163: ; preds = %160 %164 = call i32 @exit(i32 noundef 0) #3 unreachable 165: ; preds = %160 %166 = load i32, ptr %8, align 4 %167 = icmp ne i32 %166, 0 br i1 %167, label %168, label %185 168: ; preds = %165 %169 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %170 = load i32, ptr %169, align 4 %171 = call i32 @close(i32 noundef %170) %172 = load i32, ptr @STDOUT_FILENO, align 4 %173 = load i32, ptr @STDERR_FILENO, align 4 %174 = call i32 @dup2(i32 noundef %172, i32 noundef %173) %175 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %176 = load i32, ptr %175, align 4 %177 = load i32, ptr @STDOUT_FILENO, align 4 %178 = icmp ne i32 %176, %177 br i1 %178, label %179, label %184 179: ; preds = %168 %180 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %181 = load i32, ptr %180, align 4 %182 = load i32, ptr @STDOUT_FILENO, align 4 %183 = call i32 @dup2(i32 noundef %181, i32 noundef %182) br label %184 184: ; preds = %179, %168 br label %199 185: ; preds = %165 %186 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %187 = load i32, ptr %186, align 4 %188 = call i32 @close(i32 noundef %187) %189 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %190 = load i32, ptr %189, align 4 %191 = load i32, ptr @STDIN_FILENO, align 4 %192 = icmp ne i32 %190, %191 br i1 %192, label %193, label %198 193: ; preds = %185 %194 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %195 = load i32, ptr %194, align 4 %196 = load i32, ptr @STDIN_FILENO, align 4 %197 = call i32 @dup2(i32 noundef %195, i32 noundef %196) br label %198 198: ; preds = %193, %185 br label %199 199: ; preds = %198, %184 %200 = load ptr, ptr %11, align 8 %201 = getelementptr inbounds ptr, ptr %200, i64 0 %202 = load ptr, ptr %201, align 8 %203 = call ptr @strchr(ptr noundef %202, i8 noundef signext 47) %204 = icmp eq ptr %203, null br i1 %204, label %205, label %211 205: ; preds = %199 %206 = load ptr, ptr %11, align 8 %207 = getelementptr inbounds ptr, ptr %206, i64 0 %208 = load ptr, ptr %207, align 8 %209 = load ptr, ptr %11, align 8 %210 = call i32 @execvp(ptr noundef %208, ptr noundef %209) br label %217 211: ; preds = %199 %212 = load ptr, ptr %11, align 8 %213 = getelementptr inbounds ptr, ptr %212, i64 0 %214 = load ptr, ptr %213, align 8 %215 = load ptr, ptr %11, align 8 %216 = call i32 @execv(ptr noundef %214, ptr noundef %215) br label %217 217: ; preds = %211, %205 %218 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %219 = load i32, ptr %218, align 4 %220 = call i32 @close(i32 noundef %219) %221 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %222 = load i32, ptr %221, align 4 %223 = call i32 @close(i32 noundef %222) %224 = load ptr, ptr %13, align 8 %225 = call i32 @free(ptr noundef %224) store ptr null, ptr %3, align 8 br label %249 226: ; preds = %145 %227 = load i64, ptr %6, align 8 %228 = call i32 @waitpid(i64 noundef %227, ptr noundef null, i32 noundef 0) %229 = load i32, ptr %8, align 4 %230 = icmp ne i32 %229, 0 br i1 %230, label %231, label %240 231: ; preds = %226 %232 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %233 = load i32, ptr %232, align 4 %234 = call i32 @close(i32 noundef %233) %235 = load ptr, ptr %13, align 8 %236 = call i32 @free(ptr noundef %235) %237 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %238 = load i32, ptr %237, align 4 %239 = call ptr @fdopen(i32 noundef %238, ptr noundef @.str.1) store ptr %239, ptr %3, align 8 br label %249 240: ; preds = %226 %241 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %242 = load i32, ptr %241, align 4 %243 = call i32 @close(i32 noundef %242) %244 = load ptr, ptr %13, align 8 %245 = call i32 @free(ptr noundef %244) %246 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %247 = load i32, ptr %246, align 4 %248 = call ptr @fdopen(i32 noundef %247, ptr noundef @.str.2) store ptr %248, ptr %3, align 8 br label %249 249: ; preds = %240, %231, %217, %151, %136, %130, %96, %73, %56, %43, %38, %33, %20 %250 = load ptr, ptr %3, align 8 ret ptr %250 } declare i32 @strlen(ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @pipe(ptr noundef) #1 declare i64 @fork(...) #1 declare i32 @close(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 declare i32 @execv(ptr noundef, ptr noundef) #1 declare i32 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1 declare ptr @fdopen(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 = { 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/tmpq8j1w7tf.c' source_filename = "/tmp/tmpq8j1w7tf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_tirer_carte() #0 { %1 = call i64 @tirer_carte(i32 noundef 0) %2 = icmp sgt i64 %1, 0 br i1 %2, label %3, label %6 3: ; preds = %0 %4 = call i64 @tirer_carte(i32 noundef 0) %5 = icmp ne i64 %4, 0 br label %6 6: ; preds = %3, %0 %7 = phi i1 [ false, %0 ], [ %5, %3 ] %8 = zext i1 %7 to i32 %9 = call i32 @CU_ASSERT(i32 noundef %8) ret void } declare i32 @CU_ASSERT(i32 noundef) #1 declare i64 @tirer_carte(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/tmpq8j1w7tf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_tirer_carte() #0 { %1 = call i64 @tirer_carte(i32 noundef 0) %2 = icmp sgt i64 %1, 0 br i1 %2, label %3, label %6 3: ; preds = %0 %4 = call i64 @tirer_carte(i32 noundef 0) %5 = icmp ne i64 %4, 0 br label %6 6: ; preds = %3, %0 %7 = phi i1 [ false, %0 ], [ %5, %3 ] %8 = zext i1 %7 to i32 %9 = call i32 @CU_ASSERT(i32 noundef %8) ret void } declare i32 @CU_ASSERT(i32 noundef) #1 declare i64 @tirer_carte(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/tmpmpi5n38l.c' source_filename = "/tmp/tmpmpi5n38l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @median(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 i32, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = sdiv i32 %6, 2 %8 = load ptr, ptr %4, align 8 %9 = call double @kth_element(i32 noundef %5, i32 noundef %7, ptr noundef %8) ret double %9 } declare double @kth_element(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/tmpmpi5n38l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @median(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 i32, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = sdiv i32 %6, 2 %8 = load ptr, ptr %4, align 8 %9 = call double @kth_element(i32 noundef %5, i32 noundef %7, ptr noundef %8) ret double %9 } declare double @kth_element(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/tmpqrquy9_t.c' source_filename = "/tmp/tmpqrquy9_t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @modone(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 store float %0, ptr %2, align 4 %4 = load float, ptr %2, align 4 %5 = call float @modff(float noundef %4, ptr noundef %3) #2 ret float %5 } ; Function Attrs: nounwind declare float @modff(float 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqrquy9_t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @modone(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 store float %0, ptr %2, align 4 %4 = load float, ptr %2, align 4 %5 = call float @modff(float noundef %4, ptr noundef %3) #2 ret float %5 } ; Function Attrs: nounwind declare float @modff(float 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptcty03s5.c' source_filename = "/tmp/tmptcty03s5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cmpd #0\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"lbne \00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"lbeq \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gen_test_jump(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 @output_line(ptr noundef @.str) %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 @output_with_tab(ptr noundef @.str.1) br label %12 10: ; preds = %2 %11 = call i32 @output_with_tab(ptr noundef @.str.2) br label %12 12: ; preds = %10, %8 %13 = load i32, ptr %3, align 4 %14 = call i32 @print_label(i32 noundef %13) %15 = call i32 (...) @newline() ret void } declare i32 @output_line(ptr noundef) #1 declare i32 @output_with_tab(ptr noundef) #1 declare i32 @print_label(i32 noundef) #1 declare i32 @newline(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptcty03s5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cmpd #0\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"lbne \00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"lbeq \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gen_test_jump(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 @output_line(ptr noundef @.str) %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 @output_with_tab(ptr noundef @.str.1) br label %12 10: ; preds = %2 %11 = call i32 @output_with_tab(ptr noundef @.str.2) br label %12 12: ; preds = %10, %8 %13 = load i32, ptr %3, align 4 %14 = call i32 @print_label(i32 noundef %13) %15 = call i32 (...) @newline() ret void } declare i32 @output_line(ptr noundef) #1 declare i32 @output_with_tab(ptr noundef) #1 declare i32 @print_label(i32 noundef) #1 declare i32 @newline(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6d8ijmja.c' source_filename = "/tmp/tmp6d8ijmja.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [56 x i8] c"failed to open the observation vector file for reading\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.3 = private unnamed_addr constant [55 x i8] c"failed to open the likelihood vector file for writing\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @do_finite_alphabet_likelihoods(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store i32 0, ptr %11, align 4 store ptr null, ptr %12, align 8 store ptr null, ptr %13, align 8 %14 = load ptr, ptr %9, align 8 %15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str) store ptr %15, ptr %12, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %20, label %17 17: ; preds = %5 %18 = load i32, ptr @stderr, align 4 %19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.1) store i32 -1, ptr %11, align 4 br label %37 20: ; preds = %5 %21 = load ptr, ptr %10, align 8 %22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.2) store ptr %22, ptr %13, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %27, label %24 24: ; preds = %20 %25 = load i32, ptr @stderr, align 4 %26 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str.3) store i32 -1, ptr %11, align 4 br label %37 27: ; preds = %20 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %7, align 4 %30 = load ptr, ptr %8, align 8 %31 = load ptr, ptr %12, align 8 %32 = load ptr, ptr %13, align 8 %33 = call i64 @finite_alphabet_likelihoods_alldisk(i32 noundef %28, i32 noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32) %34 = icmp ne i64 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %27 store i32 -1, ptr %11, align 4 br label %37 36: ; preds = %27 br label %37 37: ; preds = %36, %35, %24, %17 %38 = load ptr, ptr %12, align 8 %39 = call i32 @fsafeclose(ptr noundef %38) %40 = load ptr, ptr %13, align 8 %41 = call i32 @fsafeclose(ptr noundef %40) %42 = load i32, ptr %11, align 4 ret i32 %42 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i64 @finite_alphabet_likelihoods_alldisk(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fsafeclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6d8ijmja.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [56 x i8] c"failed to open the observation vector file for reading\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.3 = private unnamed_addr constant [55 x i8] c"failed to open the likelihood vector file for writing\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @do_finite_alphabet_likelihoods(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store i32 0, ptr %11, align 4 store ptr null, ptr %12, align 8 store ptr null, ptr %13, align 8 %14 = load ptr, ptr %9, align 8 %15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str) store ptr %15, ptr %12, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %20, label %17 17: ; preds = %5 %18 = load i32, ptr @stderr, align 4 %19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.1) store i32 -1, ptr %11, align 4 br label %37 20: ; preds = %5 %21 = load ptr, ptr %10, align 8 %22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.2) store ptr %22, ptr %13, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %27, label %24 24: ; preds = %20 %25 = load i32, ptr @stderr, align 4 %26 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str.3) store i32 -1, ptr %11, align 4 br label %37 27: ; preds = %20 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %7, align 4 %30 = load ptr, ptr %8, align 8 %31 = load ptr, ptr %12, align 8 %32 = load ptr, ptr %13, align 8 %33 = call i64 @finite_alphabet_likelihoods_alldisk(i32 noundef %28, i32 noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32) %34 = icmp ne i64 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %27 store i32 -1, ptr %11, align 4 br label %37 36: ; preds = %27 br label %37 37: ; preds = %36, %35, %24, %17 %38 = load ptr, ptr %12, align 8 %39 = call i32 @fsafeclose(ptr noundef %38) %40 = load ptr, ptr %13, align 8 %41 = call i32 @fsafeclose(ptr noundef %40) %42 = load i32, ptr %11, align 4 ret i32 %42 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i64 @finite_alphabet_likelihoods_alldisk(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fsafeclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgq9e3q20.c' source_filename = "/tmp/tmpgq9e3q20.c" target datalayout = "e-m:e-p270: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/tmpgq9e3q20.c" target datalayout = "e-m:e-p270: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/tmpr6k2hbm7.c' source_filename = "/tmp/tmpr6k2hbm7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @UINTMAX_MAX = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 @optarg = 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/tmpr6k2hbm7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @UINTMAX_MAX = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 @optarg = 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/tmpzovvv01d.c' source_filename = "/tmp/tmpzovvv01d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { %1 = alloca [101 x [101 x i8]], align 16 %2 = alloca i16, align 2 %3 = alloca [101 x i16], align 16 %4 = alloca i16, align 2 %5 = alloca i16, align 2 %6 = alloca i16, align 2 store i16 0, ptr %2, align 2 br label %7 7: ; preds = %14, %0 %8 = load i16, ptr %2, align 2 %9 = sext i16 %8 to i64 %10 = getelementptr inbounds [101 x [101 x i8]], ptr %1, i64 0, i64 %9 %11 = getelementptr inbounds [101 x i8], ptr %10, i64 0, i64 0 %12 = call i64 @gets(ptr noundef %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %24 14: ; preds = %7 %15 = load i16, ptr %2, align 2 %16 = sext i16 %15 to i64 %17 = getelementptr inbounds [101 x [101 x i8]], ptr %1, i64 0, i64 %16 %18 = getelementptr inbounds [101 x i8], ptr %17, i64 0, i64 0 %19 = call signext i16 @strlen(ptr noundef %18) %20 = load i16, ptr %2, align 2 %21 = add i16 %20, 1 store i16 %21, ptr %2, align 2 %22 = sext i16 %20 to i64 %23 = getelementptr inbounds [101 x i16], ptr %3, i64 0, i64 %22 store i16 %19, ptr %23, align 2 br label %7, !llvm.loop !6 24: ; preds = %7 store i16 1, ptr %4, align 2 %25 = getelementptr inbounds [101 x i16], ptr %3, i64 0, i64 0 %26 = load i16, ptr %25, align 16 store i16 %26, ptr %6, align 2 br label %27 27: ; preds = %48, %24 %28 = load i16, ptr %4, align 2 %29 = sext i16 %28 to i32 %30 = load i16, ptr %2, align 2 %31 = sext i16 %30 to i32 %32 = icmp slt i32 %29, %31 br i1 %32, label %33, label %51 33: ; preds = %27 %34 = load i16, ptr %4, align 2 %35 = sext i16 %34 to i64 %36 = getelementptr inbounds [101 x i16], ptr %3, i64 0, i64 %35 %37 = load i16, ptr %36, align 2 %38 = sext i16 %37 to i32 %39 = load i16, ptr %6, align 2 %40 = sext i16 %39 to i32 %41 = icmp sgt i32 %38, %40 br i1 %41, label %42, label %47 42: ; preds = %33 %43 = load i16, ptr %4, align 2 %44 = sext i16 %43 to i64 %45 = getelementptr inbounds [101 x i16], ptr %3, i64 0, i64 %44 %46 = load i16, ptr %45, align 2 store i16 %46, ptr %6, align 2 br label %47 47: ; preds = %42, %33 br label %48 48: ; preds = %47 %49 = load i16, ptr %4, align 2 %50 = add i16 %49, 1 store i16 %50, ptr %4, align 2 br label %27, !llvm.loop !8 51: ; preds = %27 store i16 0, ptr %4, align 2 br label %52 52: ; preds = %93, %51 %53 = load i16, ptr %4, align 2 %54 = sext i16 %53 to i32 %55 = load i16, ptr %6, align 2 %56 = sext i16 %55 to i32 %57 = icmp slt i32 %54, %56 br i1 %57, label %58, label %96 58: ; preds = %52 %59 = load i16, ptr %2, align 2 %60 = sext i16 %59 to i32 %61 = sub nsw i32 %60, 1 %62 = trunc i32 %61 to i16 store i16 %62, ptr %5, align 2 br label %63 63: ; preds = %88, %58 %64 = load i16, ptr %5, align 2 %65 = sext i16 %64 to i32 %66 = icmp sge i32 %65, 0 br i1 %66, label %67, label %91 67: ; preds = %63 %68 = load i16, ptr %4, align 2 %69 = sext i16 %68 to i32 %70 = load i16, ptr %5, align 2 %71 = sext i16 %70 to i64 %72 = getelementptr inbounds [101 x i16], ptr %3, i64 0, i64 %71 %73 = load i16, ptr %72, align 2 %74 = sext i16 %73 to i32 %75 = icmp slt i32 %69, %74 br i1 %75, label %76, label %85 76: ; preds = %67 %77 = load i16, ptr %5, align 2 %78 = sext i16 %77 to i64 %79 = getelementptr inbounds [101 x [101 x i8]], ptr %1, i64 0, i64 %78 %80 = load i16, ptr %4, align 2 %81 = sext i16 %80 to i64 %82 = getelementptr inbounds [101 x i8], ptr %79, i64 0, i64 %81 %83 = load i8, ptr %82, align 1 %84 = call i32 @putchar(i8 noundef signext %83) br label %87 85: ; preds = %67 %86 = call i32 @putchar(i8 noundef signext 32) br label %87 87: ; preds = %85, %76 br label %88 88: ; preds = %87 %89 = load i16, ptr %5, align 2 %90 = add i16 %89, -1 store i16 %90, ptr %5, align 2 br label %63, !llvm.loop !9 91: ; preds = %63 %92 = call i32 @putchar(i8 noundef signext 10) br label %93 93: ; preds = %91 %94 = load i16, ptr %4, align 2 %95 = add i16 %94, 1 store i16 %95, ptr %4, align 2 br label %52, !llvm.loop !10 96: ; preds = %52 ret void } declare i64 @gets(ptr noundef) #1 declare signext i16 @strlen(ptr noundef) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzovvv01d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { %1 = alloca [101 x [101 x i8]], align 16 %2 = alloca i16, align 2 %3 = alloca [101 x i16], align 16 %4 = alloca i16, align 2 %5 = alloca i16, align 2 %6 = alloca i16, align 2 store i16 0, ptr %2, align 2 %7 = load i16, ptr %2, align 2 %8 = sext i16 %7 to i64 %9 = getelementptr inbounds [101 x [101 x i8]], ptr %1, i64 0, i64 %8 %10 = call i64 @gets(ptr noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %12 %13 = load i16, ptr %2, align 2 %14 = sext i16 %13 to i64 %15 = getelementptr inbounds [101 x [101 x i8]], ptr %1, i64 0, i64 %14 %16 = getelementptr inbounds [101 x i8], ptr %15, i64 0, i64 0 %17 = call signext i16 @strlen(ptr noundef %16) %18 = load i16, ptr %2, align 2 %19 = add i16 %18, 1 store i16 %19, ptr %2, align 2 %20 = sext i16 %18 to i64 %21 = getelementptr inbounds [101 x i16], ptr %3, i64 0, i64 %20 store i16 %17, ptr %21, align 2 %22 = load i16, ptr %2, align 2 %23 = sext i16 %22 to i64 %24 = getelementptr inbounds [101 x [101 x i8]], ptr %1, i64 0, i64 %23 %25 = getelementptr inbounds [101 x i8], ptr %24, i64 0, i64 0 %26 = call i64 @gets(ptr noundef %25) %27 = icmp ne i64 %26, 0 br i1 %27, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %28 28: ; preds = %._crit_edge, %0 store i16 1, ptr %4, align 2 %29 = getelementptr inbounds [101 x i16], ptr %3, i64 0, i64 0 %30 = load i16, ptr %29, align 16 store i16 %30, ptr %6, align 2 %31 = load i16, ptr %4, align 2 %32 = sext i16 %31 to i32 %33 = load i16, ptr %2, align 2 %34 = sext i16 %33 to i32 %35 = icmp slt i32 %32, %34 br i1 %35, label %.lr.ph2, label %59 .lr.ph2: ; preds = %28 br label %36 36: ; preds = %.lr.ph2, %51 %37 = load i16, ptr %4, align 2 %38 = sext i16 %37 to i64 %39 = getelementptr inbounds [101 x i16], ptr %3, i64 0, i64 %38 %40 = load i16, ptr %39, align 2 %41 = sext i16 %40 to i32 %42 = load i16, ptr %6, align 2 %43 = sext i16 %42 to i32 %44 = icmp sgt i32 %41, %43 br i1 %44, label %45, label %50 45: ; preds = %36 %46 = load i16, ptr %4, align 2 %47 = sext i16 %46 to i64 %48 = getelementptr inbounds [101 x i16], ptr %3, i64 0, i64 %47 %49 = load i16, ptr %48, align 2 store i16 %49, ptr %6, align 2 br label %50 50: ; preds = %45, %36 br label %51 51: ; preds = %50 %52 = load i16, ptr %4, align 2 %53 = add i16 %52, 1 store i16 %53, ptr %4, align 2 %54 = load i16, ptr %4, align 2 %55 = sext i16 %54 to i32 %56 = load i16, ptr %2, align 2 %57 = sext i16 %56 to i32 %58 = icmp slt i32 %55, %57 br i1 %58, label %36, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %59 59: ; preds = %._crit_edge3, %28 store i16 0, ptr %4, align 2 %60 = load i16, ptr %4, align 2 %61 = sext i16 %60 to i32 %62 = load i16, ptr %6, align 2 %63 = sext i16 %62 to i32 %64 = icmp slt i32 %61, %63 br i1 %64, label %.lr.ph8, label %110 .lr.ph8: ; preds = %59 br label %65 65: ; preds = %.lr.ph8, %102 %66 = load i16, ptr %2, align 2 %67 = sext i16 %66 to i32 %68 = sub nsw i32 %67, 1 %69 = trunc i32 %68 to i16 store i16 %69, ptr %5, align 2 %70 = load i16, ptr %5, align 2 %71 = sext i16 %70 to i32 %72 = icmp sge i32 %71, 0 br i1 %72, label %.lr.ph5, label %100 .lr.ph5: ; preds = %65 br label %73 73: ; preds = %.lr.ph5, %94 %74 = load i16, ptr %4, align 2 %75 = sext i16 %74 to i32 %76 = load i16, ptr %5, align 2 %77 = sext i16 %76 to i64 %78 = getelementptr inbounds [101 x i16], ptr %3, i64 0, i64 %77 %79 = load i16, ptr %78, align 2 %80 = sext i16 %79 to i32 %81 = icmp slt i32 %75, %80 br i1 %81, label %82, label %91 82: ; preds = %73 %83 = load i16, ptr %5, align 2 %84 = sext i16 %83 to i64 %85 = getelementptr inbounds [101 x [101 x i8]], ptr %1, i64 0, i64 %84 %86 = load i16, ptr %4, align 2 %87 = sext i16 %86 to i64 %88 = getelementptr inbounds [101 x i8], ptr %85, i64 0, i64 %87 %89 = load i8, ptr %88, align 1 %90 = call i32 @putchar(i8 noundef signext %89) br label %93 91: ; preds = %73 %92 = call i32 @putchar(i8 noundef signext 32) br label %93 93: ; preds = %91, %82 br label %94 94: ; preds = %93 %95 = load i16, ptr %5, align 2 %96 = add i16 %95, -1 store i16 %96, ptr %5, align 2 %97 = load i16, ptr %5, align 2 %98 = sext i16 %97 to i32 %99 = icmp sge i32 %98, 0 br i1 %99, label %73, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %94 br label %100 100: ; preds = %._crit_edge6, %65 %101 = call i32 @putchar(i8 noundef signext 10) br label %102 102: ; preds = %100 %103 = load i16, ptr %4, align 2 %104 = add i16 %103, 1 store i16 %104, ptr %4, align 2 %105 = load i16, ptr %4, align 2 %106 = sext i16 %105 to i32 %107 = load i16, ptr %6, align 2 %108 = sext i16 %107 to i32 %109 = icmp slt i32 %106, %108 br i1 %109, label %65, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %102 br label %110 110: ; preds = %._crit_edge9, %59 ret void } declare i64 @gets(ptr noundef) #1 declare signext i16 @strlen(ptr noundef) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp_tscqiwq.c' source_filename = "/tmp/tmp_tscqiwq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INET6_ADDRSTRLEN = dso_local global i32 0, align 4 @INET_ADDRSTRLEN = dso_local global i32 0, align 4 @MAX_GATEWAY_SIZE = dso_local global i32 0, align 4 @MAX_IP_ADDR_SIZE = 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/tmp_tscqiwq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INET6_ADDRSTRLEN = dso_local global i32 0, align 4 @INET_ADDRSTRLEN = dso_local global i32 0, align 4 @MAX_GATEWAY_SIZE = dso_local global i32 0, align 4 @MAX_IP_ADDR_SIZE = 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/tmpa5ka1syl.c' source_filename = "/tmp/tmpa5ka1syl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09access\09\09file or directory contents were read\0A\00", align 1 @.str.1 = private unnamed_addr constant [50 x i8] c"\09modify\09\09file or directory contents were written\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"\09attrib\09\09file or directory attributes changed\0A\00", align 1 @.str.3 = private unnamed_addr constant [90 x i8] c"\09close_write\09file or directory closed, after being opened in\0A\09 \09writeable mode\0A\00", align 1 @.str.4 = private unnamed_addr constant [92 x i8] c"\09close_nowrite\09file or directory closed, after being opened in\0A\09 \09read-only mode\0A\00", align 1 @.str.5 = private unnamed_addr constant [65 x i8] c"\09close\09\09file or directory closed, regardless of read/write mode\0A\00", align 1 @.str.6 = private unnamed_addr constant [33 x i8] c"\09open\09\09file or directory opened\0A\00", align 1 @.str.7 = private unnamed_addr constant [56 x i8] c"\09moved_to\09file or directory moved to watched directory\0A\00", align 1 @.str.8 = private unnamed_addr constant [60 x i8] c"\09moved_from\09file or directory moved from watched directory\0A\00", align 1 @.str.9 = private unnamed_addr constant [61 x i8] c"\09move\09\09file or directory moved to or from watched directory\0A\00", align 1 @.str.10 = private unnamed_addr constant [61 x i8] c"\09create\09\09file or directory created within watched directory\0A\00", align 1 @.str.11 = private unnamed_addr constant [61 x i8] c"\09delete\09\09file or directory deleted within watched directory\0A\00", align 1 @.str.12 = private unnamed_addr constant [44 x i8] c"\09delete_self\09file or directory was deleted\0A\00", align 1 @.str.13 = private unnamed_addr constant [62 x i8] c"\09unmount\09\09file system containing file or directory unmounted\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_event_descriptions() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) %12 = call i32 @printf(ptr noundef @.str.11) %13 = call i32 @printf(ptr noundef @.str.12) %14 = call i32 @printf(ptr noundef @.str.13) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa5ka1syl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09access\09\09file or directory contents were read\0A\00", align 1 @.str.1 = private unnamed_addr constant [50 x i8] c"\09modify\09\09file or directory contents were written\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"\09attrib\09\09file or directory attributes changed\0A\00", align 1 @.str.3 = private unnamed_addr constant [90 x i8] c"\09close_write\09file or directory closed, after being opened in\0A\09 \09writeable mode\0A\00", align 1 @.str.4 = private unnamed_addr constant [92 x i8] c"\09close_nowrite\09file or directory closed, after being opened in\0A\09 \09read-only mode\0A\00", align 1 @.str.5 = private unnamed_addr constant [65 x i8] c"\09close\09\09file or directory closed, regardless of read/write mode\0A\00", align 1 @.str.6 = private unnamed_addr constant [33 x i8] c"\09open\09\09file or directory opened\0A\00", align 1 @.str.7 = private unnamed_addr constant [56 x i8] c"\09moved_to\09file or directory moved to watched directory\0A\00", align 1 @.str.8 = private unnamed_addr constant [60 x i8] c"\09moved_from\09file or directory moved from watched directory\0A\00", align 1 @.str.9 = private unnamed_addr constant [61 x i8] c"\09move\09\09file or directory moved to or from watched directory\0A\00", align 1 @.str.10 = private unnamed_addr constant [61 x i8] c"\09create\09\09file or directory created within watched directory\0A\00", align 1 @.str.11 = private unnamed_addr constant [61 x i8] c"\09delete\09\09file or directory deleted within watched directory\0A\00", align 1 @.str.12 = private unnamed_addr constant [44 x i8] c"\09delete_self\09file or directory was deleted\0A\00", align 1 @.str.13 = private unnamed_addr constant [62 x i8] c"\09unmount\09\09file system containing file or directory unmounted\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_event_descriptions() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) %12 = call i32 @printf(ptr noundef @.str.11) %13 = call i32 @printf(ptr noundef @.str.12) %14 = call i32 @printf(ptr noundef @.str.13) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfzw38tfi.c' source_filename = "/tmp/tmpfzw38tfi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mstrdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef %4) %6 = add nsw i64 %5, 1 %7 = call i64 @malloc(i64 noundef %6) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = load ptr, ptr %2, align 8 %14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13) br label %15 15: ; preds = %11, %1 %16 = load ptr, ptr %3, align 8 ret ptr %16 } declare i64 @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(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/tmpfzw38tfi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mstrdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef %4) %6 = add nsw i64 %5, 1 %7 = call i64 @malloc(i64 noundef %6) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = load ptr, ptr %2, align 8 %14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13) br label %15 15: ; preds = %11, %1 %16 = load ptr, ptr %3, align 8 ret ptr %16 } declare i64 @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(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/tmpoeilobj2.c' source_filename = "/tmp/tmpoeilobj2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Please enter your name: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [8 x i8] c"Chicken\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Thats my name too \0A\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"We don't have the same name\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Your name is %d letters long\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Enter your last name: \00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [50 x i8], align 16 %3 = alloca [50 x i8], align 16 %4 = alloca [100 x i8], align 16 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %7 = load i32, ptr @stdin, align 4 %8 = call i32 @fgets(ptr noundef %6, i32 noundef 50, i32 noundef %7) %9 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @strip_newline(ptr noundef %9, i32 noundef 50) %11 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str.1) %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %18 16: ; preds = %0 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %18 18: ; preds = %16, %14 %19 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %20 = call i32 @strlen(ptr noundef %19) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %20) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %23 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %24 = load i32, ptr @stdin, align 4 %25 = call i32 @fgets(ptr noundef %23, i32 noundef 50, i32 noundef %24) %26 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %27 = call i32 @strip_newline(ptr noundef %26, i32 noundef 50) %28 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 store i8 0, ptr %28, align 16 %29 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %30 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %31 = call i32 @strcat(ptr noundef %29, ptr noundef %30) %32 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %33 = call i32 @strcat(ptr noundef %32, ptr noundef @.str.6) %34 = load i32, ptr %1, align 4 ret i32 %34 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strip_newline(ptr noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcat(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/tmpoeilobj2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Please enter your name: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [8 x i8] c"Chicken\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Thats my name too \0A\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"We don't have the same name\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Your name is %d letters long\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Enter your last name: \00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [50 x i8], align 16 %3 = alloca [50 x i8], align 16 %4 = alloca [100 x i8], align 16 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %7 = load i32, ptr @stdin, align 4 %8 = call i32 @fgets(ptr noundef %6, i32 noundef 50, i32 noundef %7) %9 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @strip_newline(ptr noundef %9, i32 noundef 50) %11 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str.1) %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %18 16: ; preds = %0 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %18 18: ; preds = %16, %14 %19 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %20 = call i32 @strlen(ptr noundef %19) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %20) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %23 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %24 = load i32, ptr @stdin, align 4 %25 = call i32 @fgets(ptr noundef %23, i32 noundef 50, i32 noundef %24) %26 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %27 = call i32 @strip_newline(ptr noundef %26, i32 noundef 50) %28 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 store i8 0, ptr %28, align 16 %29 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %30 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %31 = call i32 @strcat(ptr noundef %29, ptr noundef %30) %32 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %33 = call i32 @strcat(ptr noundef %32, ptr noundef @.str.6) %34 = load i32, ptr %1, align 4 ret i32 %34 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strip_newline(ptr noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcat(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/tmp1mj0wh3c.c' source_filename = "/tmp/tmp1mj0wh3c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ring_center.RingAtom = internal global [9 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8], align 16 @.str = private unnamed_addr constant [5 x i8] c" C4 \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c" N3 \00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c" C2 \00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c" N1 \00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c" C6 \00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c" C5 \00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c" N7 \00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c" C8 \00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c" N9 \00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"in base ring atoms\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ring_center(i64 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, 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 i64, align 8 %19 = alloca i64, align 8 store i64 %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %20 = load ptr, ptr %9, align 8 %21 = load i64, ptr %7, align 8 %22 = getelementptr inbounds i8, ptr %20, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 65 br i1 %25, label %61, label %26 26: ; preds = %6 %27 = load ptr, ptr %9, align 8 %28 = load i64, ptr %7, align 8 %29 = getelementptr inbounds i8, ptr %27, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 71 br i1 %32, label %61, label %33 33: ; preds = %26 %34 = load ptr, ptr %9, align 8 %35 = load i64, ptr %7, align 8 %36 = getelementptr inbounds i8, ptr %34, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 97 br i1 %39, label %61, label %40 40: ; preds = %33 %41 = load ptr, ptr %9, align 8 %42 = load i64, ptr %7, align 8 %43 = getelementptr inbounds i8, ptr %41, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 103 br i1 %46, label %61, label %47 47: ; preds = %40 %48 = load ptr, ptr %9, align 8 %49 = load i64, ptr %7, align 8 %50 = getelementptr inbounds i8, ptr %48, i64 %49 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp eq i32 %52, 73 br i1 %53, label %61, label %54 54: ; preds = %47 %55 = load ptr, ptr %9, align 8 %56 = load i64, ptr %7, align 8 %57 = getelementptr inbounds i8, ptr %55, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %59, 105 br i1 %60, label %61, label %62 61: ; preds = %54, %47, %40, %33, %26, %6 store i64 9, ptr %19, align 8 br label %120 62: ; preds = %54 %63 = load ptr, ptr %9, align 8 %64 = load i64, ptr %7, align 8 %65 = getelementptr inbounds i8, ptr %63, i64 %64 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = icmp eq i32 %67, 85 br i1 %68, label %118, label %69 69: ; preds = %62 %70 = load ptr, ptr %9, align 8 %71 = load i64, ptr %7, align 8 %72 = getelementptr inbounds i8, ptr %70, i64 %71 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp eq i32 %74, 117 br i1 %75, label %118, label %76 76: ; preds = %69 %77 = load ptr, ptr %9, align 8 %78 = load i64, ptr %7, align 8 %79 = getelementptr inbounds i8, ptr %77, i64 %78 %80 = load i8, ptr %79, align 1 %81 = sext i8 %80 to i32 %82 = icmp eq i32 %81, 67 br i1 %82, label %118, label %83 83: ; preds = %76 %84 = load ptr, ptr %9, align 8 %85 = load i64, ptr %7, align 8 %86 = getelementptr inbounds i8, ptr %84, i64 %85 %87 = load i8, ptr %86, align 1 %88 = sext i8 %87 to i32 %89 = icmp eq i32 %88, 99 br i1 %89, label %118, label %90 90: ; preds = %83 %91 = load ptr, ptr %9, align 8 %92 = load i64, ptr %7, align 8 %93 = getelementptr inbounds i8, ptr %91, i64 %92 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = icmp eq i32 %95, 84 br i1 %96, label %118, label %97 97: ; preds = %90 %98 = load ptr, ptr %9, align 8 %99 = load i64, ptr %7, align 8 %100 = getelementptr inbounds i8, ptr %98, i64 %99 %101 = load i8, ptr %100, align 1 %102 = sext i8 %101 to i32 %103 = icmp eq i32 %102, 116 br i1 %103, label %118, label %104 104: ; preds = %97 %105 = load ptr, ptr %9, align 8 %106 = load i64, ptr %7, align 8 %107 = getelementptr inbounds i8, ptr %105, i64 %106 %108 = load i8, ptr %107, align 1 %109 = sext i8 %108 to i32 %110 = icmp eq i32 %109, 80 br i1 %110, label %118, label %111 111: ; preds = %104 %112 = load ptr, ptr %9, align 8 %113 = load i64, ptr %7, align 8 %114 = getelementptr inbounds i8, ptr %112, i64 %113 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = icmp eq i32 %116, 112 br i1 %117, label %118, label %119 118: ; preds = %111, %104, %97, %90, %83, %76, %69, %62 store i64 6, ptr %19, align 8 br label %119 119: ; preds = %118, %111 br label %120 120: ; preds = %119, %61 store i64 0, ptr %18, align 8 store i64 1, ptr %15, align 8 br label %121 121: ; preds = %128, %120 %122 = load i64, ptr %15, align 8 %123 = icmp sle i64 %122, 3 br i1 %123, label %124, label %131 124: ; preds = %121 %125 = load ptr, ptr %12, align 8 %126 = load i64, ptr %15, align 8 %127 = getelementptr inbounds double, ptr %125, i64 %126 store double 0.000000e+00, ptr %127, align 8 br label %128 128: ; preds = %124 %129 = load i64, ptr %15, align 8 %130 = add nsw i64 %129, 1 store i64 %130, ptr %15, align 8 br label %121, !llvm.loop !6 131: ; preds = %121 %132 = load ptr, ptr %8, align 8 %133 = load i64, ptr %7, align 8 %134 = getelementptr inbounds ptr, ptr %132, i64 %133 %135 = load ptr, ptr %134, align 8 %136 = getelementptr inbounds i64, ptr %135, i64 1 %137 = load i64, ptr %136, align 8 store i64 %137, ptr %13, align 8 %138 = load ptr, ptr %8, align 8 %139 = load i64, ptr %7, align 8 %140 = getelementptr inbounds ptr, ptr %138, i64 %139 %141 = load ptr, ptr %140, align 8 %142 = getelementptr inbounds i64, ptr %141, i64 2 %143 = load i64, ptr %142, align 8 store i64 %143, ptr %14, align 8 store i64 0, ptr %17, align 8 br label %144 144: ; preds = %185, %131 %145 = load i64, ptr %17, align 8 %146 = load i64, ptr %19, align 8 %147 = icmp slt i64 %145, %146 br i1 %147, label %148, label %188 148: ; preds = %144 %149 = load i64, ptr %17, align 8 %150 = getelementptr inbounds [9 x ptr], ptr @ring_center.RingAtom, i64 0, i64 %149 %151 = load ptr, ptr %150, align 8 %152 = load ptr, ptr %10, align 8 %153 = load i64, ptr %13, align 8 %154 = load i64, ptr %14, align 8 %155 = call i64 @find_1st_atom(ptr noundef %151, ptr noundef %152, i64 noundef %153, i64 noundef %154, ptr noundef @.str.9) store i64 %155, ptr %16, align 8 %156 = load i64, ptr %16, align 8 %157 = icmp ne i64 %156, 0 br i1 %157, label %158, label %184 158: ; preds = %148 %159 = load i64, ptr %18, align 8 %160 = add nsw i64 %159, 1 store i64 %160, ptr %18, align 8 store i64 1, ptr %15, align 8 br label %161 161: ; preds = %180, %158 %162 = load i64, ptr %15, align 8 %163 = icmp sle i64 %162, 3 br i1 %163, label %164, label %183 164: ; preds = %161 %165 = load ptr, ptr %12, align 8 %166 = load i64, ptr %15, align 8 %167 = getelementptr inbounds double, ptr %165, i64 %166 %168 = load double, ptr %167, align 8 %169 = load ptr, ptr %11, align 8 %170 = load i64, ptr %16, align 8 %171 = getelementptr inbounds ptr, ptr %169, i64 %170 %172 = load ptr, ptr %171, align 8 %173 = load i64, ptr %15, align 8 %174 = getelementptr inbounds double, ptr %172, i64 %173 %175 = load double, ptr %174, align 8 %176 = fadd double %168, %175 %177 = load ptr, ptr %12, align 8 %178 = load i64, ptr %15, align 8 %179 = getelementptr inbounds double, ptr %177, i64 %178 store double %176, ptr %179, align 8 br label %180 180: ; preds = %164 %181 = load i64, ptr %15, align 8 %182 = add nsw i64 %181, 1 store i64 %182, ptr %15, align 8 br label %161, !llvm.loop !8 183: ; preds = %161 br label %184 184: ; preds = %183, %148 br label %185 185: ; preds = %184 %186 = load i64, ptr %17, align 8 %187 = add nsw i64 %186, 1 store i64 %187, ptr %17, align 8 br label %144, !llvm.loop !9 188: ; preds = %144 store i64 1, ptr %15, align 8 br label %189 189: ; preds = %203, %188 %190 = load i64, ptr %15, align 8 %191 = icmp sle i64 %190, 3 br i1 %191, label %192, label %206 192: ; preds = %189 %193 = load ptr, ptr %12, align 8 %194 = load i64, ptr %15, align 8 %195 = getelementptr inbounds double, ptr %193, i64 %194 %196 = load double, ptr %195, align 8 %197 = load i64, ptr %18, align 8 %198 = sitofp i64 %197 to double %199 = fdiv double %196, %198 %200 = load ptr, ptr %12, align 8 %201 = load i64, ptr %15, align 8 %202 = getelementptr inbounds double, ptr %200, i64 %201 store double %199, ptr %202, align 8 br label %203 203: ; preds = %192 %204 = load i64, ptr %15, align 8 %205 = add nsw i64 %204, 1 store i64 %205, ptr %15, align 8 br label %189, !llvm.loop !10 206: ; preds = %189 ret void } declare i64 @find_1st_atom(ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1mj0wh3c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ring_center.RingAtom = internal global [9 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8], align 16 @.str = private unnamed_addr constant [5 x i8] c" C4 \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c" N3 \00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c" C2 \00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c" N1 \00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c" C6 \00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c" C5 \00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c" N7 \00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c" C8 \00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c" N9 \00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"in base ring atoms\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ring_center(i64 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, 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 i64, align 8 %19 = alloca i64, align 8 store i64 %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %20 = load ptr, ptr %9, align 8 %21 = load i64, ptr %7, align 8 %22 = getelementptr inbounds i8, ptr %20, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 65 br i1 %25, label %61, label %26 26: ; preds = %6 %27 = load ptr, ptr %9, align 8 %28 = load i64, ptr %7, align 8 %29 = getelementptr inbounds i8, ptr %27, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 71 br i1 %32, label %61, label %33 33: ; preds = %26 %34 = load ptr, ptr %9, align 8 %35 = load i64, ptr %7, align 8 %36 = getelementptr inbounds i8, ptr %34, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 97 br i1 %39, label %61, label %40 40: ; preds = %33 %41 = load ptr, ptr %9, align 8 %42 = load i64, ptr %7, align 8 %43 = getelementptr inbounds i8, ptr %41, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 103 br i1 %46, label %61, label %47 47: ; preds = %40 %48 = load ptr, ptr %9, align 8 %49 = load i64, ptr %7, align 8 %50 = getelementptr inbounds i8, ptr %48, i64 %49 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp eq i32 %52, 73 br i1 %53, label %61, label %54 54: ; preds = %47 %55 = load ptr, ptr %9, align 8 %56 = load i64, ptr %7, align 8 %57 = getelementptr inbounds i8, ptr %55, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %59, 105 br i1 %60, label %61, label %62 61: ; preds = %54, %47, %40, %33, %26, %6 store i64 9, ptr %19, align 8 br label %120 62: ; preds = %54 %63 = load ptr, ptr %9, align 8 %64 = load i64, ptr %7, align 8 %65 = getelementptr inbounds i8, ptr %63, i64 %64 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = icmp eq i32 %67, 85 br i1 %68, label %118, label %69 69: ; preds = %62 %70 = load ptr, ptr %9, align 8 %71 = load i64, ptr %7, align 8 %72 = getelementptr inbounds i8, ptr %70, i64 %71 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp eq i32 %74, 117 br i1 %75, label %118, label %76 76: ; preds = %69 %77 = load ptr, ptr %9, align 8 %78 = load i64, ptr %7, align 8 %79 = getelementptr inbounds i8, ptr %77, i64 %78 %80 = load i8, ptr %79, align 1 %81 = sext i8 %80 to i32 %82 = icmp eq i32 %81, 67 br i1 %82, label %118, label %83 83: ; preds = %76 %84 = load ptr, ptr %9, align 8 %85 = load i64, ptr %7, align 8 %86 = getelementptr inbounds i8, ptr %84, i64 %85 %87 = load i8, ptr %86, align 1 %88 = sext i8 %87 to i32 %89 = icmp eq i32 %88, 99 br i1 %89, label %118, label %90 90: ; preds = %83 %91 = load ptr, ptr %9, align 8 %92 = load i64, ptr %7, align 8 %93 = getelementptr inbounds i8, ptr %91, i64 %92 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = icmp eq i32 %95, 84 br i1 %96, label %118, label %97 97: ; preds = %90 %98 = load ptr, ptr %9, align 8 %99 = load i64, ptr %7, align 8 %100 = getelementptr inbounds i8, ptr %98, i64 %99 %101 = load i8, ptr %100, align 1 %102 = sext i8 %101 to i32 %103 = icmp eq i32 %102, 116 br i1 %103, label %118, label %104 104: ; preds = %97 %105 = load ptr, ptr %9, align 8 %106 = load i64, ptr %7, align 8 %107 = getelementptr inbounds i8, ptr %105, i64 %106 %108 = load i8, ptr %107, align 1 %109 = sext i8 %108 to i32 %110 = icmp eq i32 %109, 80 br i1 %110, label %118, label %111 111: ; preds = %104 %112 = load ptr, ptr %9, align 8 %113 = load i64, ptr %7, align 8 %114 = getelementptr inbounds i8, ptr %112, i64 %113 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = icmp eq i32 %116, 112 br i1 %117, label %118, label %119 118: ; preds = %111, %104, %97, %90, %83, %76, %69, %62 store i64 6, ptr %19, align 8 br label %119 119: ; preds = %118, %111 br label %120 120: ; preds = %119, %61 store i64 0, ptr %18, align 8 store i64 1, ptr %15, align 8 %121 = load i64, ptr %15, align 8 %122 = icmp sle i64 %121, 3 br i1 %122, label %.lr.ph, label %132 .lr.ph: ; preds = %120 br label %123 123: ; preds = %.lr.ph, %127 %124 = load ptr, ptr %12, align 8 %125 = load i64, ptr %15, align 8 %126 = getelementptr inbounds double, ptr %124, i64 %125 store double 0.000000e+00, ptr %126, align 8 br label %127 127: ; preds = %123 %128 = load i64, ptr %15, align 8 %129 = add nsw i64 %128, 1 store i64 %129, ptr %15, align 8 %130 = load i64, ptr %15, align 8 %131 = icmp sle i64 %130, 3 br i1 %131, label %123, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %127 br label %132 132: ; preds = %._crit_edge, %120 %133 = load ptr, ptr %8, align 8 %134 = load i64, ptr %7, align 8 %135 = getelementptr inbounds ptr, ptr %133, i64 %134 %136 = load ptr, ptr %135, align 8 %137 = getelementptr inbounds i64, ptr %136, i64 1 %138 = load i64, ptr %137, align 8 store i64 %138, ptr %13, align 8 %139 = load ptr, ptr %8, align 8 %140 = load i64, ptr %7, align 8 %141 = getelementptr inbounds ptr, ptr %139, i64 %140 %142 = load ptr, ptr %141, align 8 %143 = getelementptr inbounds i64, ptr %142, i64 2 %144 = load i64, ptr %143, align 8 store i64 %144, ptr %14, align 8 store i64 0, ptr %17, align 8 %145 = load i64, ptr %17, align 8 %146 = load i64, ptr %19, align 8 %147 = icmp slt i64 %145, %146 br i1 %147, label %.lr.ph5, label %192 .lr.ph5: ; preds = %132 br label %148 148: ; preds = %.lr.ph5, %186 %149 = load i64, ptr %17, align 8 %150 = getelementptr inbounds [9 x ptr], ptr @ring_center.RingAtom, i64 0, i64 %149 %151 = load ptr, ptr %150, align 8 %152 = load ptr, ptr %10, align 8 %153 = load i64, ptr %13, align 8 %154 = load i64, ptr %14, align 8 %155 = call i64 @find_1st_atom(ptr noundef %151, ptr noundef %152, i64 noundef %153, i64 noundef %154, ptr noundef @.str.9) store i64 %155, ptr %16, align 8 %156 = load i64, ptr %16, align 8 %157 = icmp ne i64 %156, 0 br i1 %157, label %158, label %185 158: ; preds = %148 %159 = load i64, ptr %18, align 8 %160 = add nsw i64 %159, 1 store i64 %160, ptr %18, align 8 store i64 1, ptr %15, align 8 %161 = load i64, ptr %15, align 8 %162 = icmp sle i64 %161, 3 br i1 %162, label %.lr.ph2, label %184 .lr.ph2: ; preds = %158 br label %163 163: ; preds = %.lr.ph2, %179 %164 = load ptr, ptr %12, align 8 %165 = load i64, ptr %15, align 8 %166 = getelementptr inbounds double, ptr %164, i64 %165 %167 = load double, ptr %166, align 8 %168 = load ptr, ptr %11, align 8 %169 = load i64, ptr %16, align 8 %170 = getelementptr inbounds ptr, ptr %168, i64 %169 %171 = load ptr, ptr %170, align 8 %172 = load i64, ptr %15, align 8 %173 = getelementptr inbounds double, ptr %171, i64 %172 %174 = load double, ptr %173, align 8 %175 = fadd double %167, %174 %176 = load ptr, ptr %12, align 8 %177 = load i64, ptr %15, align 8 %178 = getelementptr inbounds double, ptr %176, i64 %177 store double %175, ptr %178, align 8 br label %179 179: ; preds = %163 %180 = load i64, ptr %15, align 8 %181 = add nsw i64 %180, 1 store i64 %181, ptr %15, align 8 %182 = load i64, ptr %15, align 8 %183 = icmp sle i64 %182, 3 br i1 %183, label %163, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %179 br label %184 184: ; preds = %._crit_edge3, %158 br label %185 185: ; preds = %184, %148 br label %186 186: ; preds = %185 %187 = load i64, ptr %17, align 8 %188 = add nsw i64 %187, 1 store i64 %188, ptr %17, align 8 %189 = load i64, ptr %17, align 8 %190 = load i64, ptr %19, align 8 %191 = icmp slt i64 %189, %190 br i1 %191, label %148, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %186 br label %192 192: ; preds = %._crit_edge6, %132 store i64 1, ptr %15, align 8 %193 = load i64, ptr %15, align 8 %194 = icmp sle i64 %193, 3 br i1 %194, label %.lr.ph8, label %211 .lr.ph8: ; preds = %192 br label %195 195: ; preds = %.lr.ph8, %206 %196 = load ptr, ptr %12, align 8 %197 = load i64, ptr %15, align 8 %198 = getelementptr inbounds double, ptr %196, i64 %197 %199 = load double, ptr %198, align 8 %200 = load i64, ptr %18, align 8 %201 = sitofp i64 %200 to double %202 = fdiv double %199, %201 %203 = load ptr, ptr %12, align 8 %204 = load i64, ptr %15, align 8 %205 = getelementptr inbounds double, ptr %203, i64 %204 store double %202, ptr %205, align 8 br label %206 206: ; preds = %195 %207 = load i64, ptr %15, align 8 %208 = add nsw i64 %207, 1 store i64 %208, ptr %15, align 8 %209 = load i64, ptr %15, align 8 %210 = icmp sle i64 %209, 3 br i1 %210, label %195, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %206 br label %211 211: ; preds = %._crit_edge9, %192 ret void } declare i64 @find_1st_atom(ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmprbhi3k9f.c' source_filename = "/tmp/tmprbhi3k9f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @shutdown(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @__uportsys_shutdown(i32 noundef %5, i32 noundef %6, ptr noundef @errno) ret i32 %7 } declare i32 @__uportsys_shutdown(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/tmprbhi3k9f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @shutdown(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @__uportsys_shutdown(i32 noundef %5, i32 noundef %6, ptr noundef @errno) ret i32 %7 } declare i32 @__uportsys_shutdown(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/tmpxgqo6ecu.c' source_filename = "/tmp/tmpxgqo6ecu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @ENOSYS = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"%s: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error_message(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca [2048 x i8], align 16 %10 = alloca [4096 x i8], align 16 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %11 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 0 %12 = load ptr, ptr %7, align 8 %13 = load i32, ptr %8, align 4 %14 = call i32 @vsprintf(ptr noundef %11, ptr noundef %12, i32 noundef %13) %15 = load i64, ptr @errno, align 8 %16 = icmp eq i64 %15, 0 br i1 %16, label %21, label %17 17: ; preds = %4 %18 = load i64, ptr @errno, align 8 %19 = load i64, ptr @ENOSYS, align 8 %20 = icmp eq i64 %18, %19 br i1 %20, label %21, label %25 21: ; preds = %17, %4 %22 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0 %23 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 0 %24 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %22, i32 noundef 4096, ptr noundef @.str, ptr noundef %23) br label %31 25: ; preds = %17 %26 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0 %27 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 0 %28 = load i64, ptr @errno, align 8 %29 = call ptr @strerror(i64 noundef %28) %30 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %26, i32 noundef 4096, ptr noundef @.str.1, ptr noundef %27, ptr noundef %29) br label %31 31: ; preds = %25, %21 %32 = load i32, ptr @stdout, align 4 %33 = call i32 @fflush(i32 noundef %32) %34 = load i32, ptr @stderr, align 4 %35 = load ptr, ptr %6, align 8 %36 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0 %37 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str.2, ptr noundef %35, ptr noundef %36) %38 = load i32, ptr %5, align 4 %39 = icmp sge i32 %38, 0 br i1 %39, label %40, label %43 40: ; preds = %31 %41 = load i32, ptr %5, align 4 %42 = call i32 @exit(i32 noundef %41) #3 unreachable 43: ; preds = %31 ret void } declare i32 @vsprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @strerror(i64 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr 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/tmpxgqo6ecu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @ENOSYS = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"%s: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error_message(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca [2048 x i8], align 16 %10 = alloca [4096 x i8], align 16 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %11 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 0 %12 = load ptr, ptr %7, align 8 %13 = load i32, ptr %8, align 4 %14 = call i32 @vsprintf(ptr noundef %11, ptr noundef %12, i32 noundef %13) %15 = load i64, ptr @errno, align 8 %16 = icmp eq i64 %15, 0 br i1 %16, label %21, label %17 17: ; preds = %4 %18 = load i64, ptr @errno, align 8 %19 = load i64, ptr @ENOSYS, align 8 %20 = icmp eq i64 %18, %19 br i1 %20, label %21, label %25 21: ; preds = %17, %4 %22 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0 %23 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 0 %24 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %22, i32 noundef 4096, ptr noundef @.str, ptr noundef %23) br label %31 25: ; preds = %17 %26 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0 %27 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 0 %28 = load i64, ptr @errno, align 8 %29 = call ptr @strerror(i64 noundef %28) %30 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %26, i32 noundef 4096, ptr noundef @.str.1, ptr noundef %27, ptr noundef %29) br label %31 31: ; preds = %25, %21 %32 = load i32, ptr @stdout, align 4 %33 = call i32 @fflush(i32 noundef %32) %34 = load i32, ptr @stderr, align 4 %35 = load ptr, ptr %6, align 8 %36 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0 %37 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str.2, ptr noundef %35, ptr noundef %36) %38 = load i32, ptr %5, align 4 %39 = icmp sge i32 %38, 0 br i1 %39, label %40, label %43 40: ; preds = %31 %41 = load i32, ptr %5, align 4 %42 = call i32 @exit(i32 noundef %41) #3 unreachable 43: ; preds = %31 ret void } declare i32 @vsprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @strerror(i64 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr 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/tmphznksb_w.c' source_filename = "/tmp/tmphznksb_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @u8_charlen(i32 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 128 br i1 %5, label %6, label %7 6: ; preds = %1 store i64 1, ptr %2, align 8 br label %23 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 2048 br i1 %9, label %10, label %11 10: ; preds = %7 store i64 2, ptr %2, align 8 br label %23 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %12, 65536 br i1 %13, label %14, label %15 14: ; preds = %11 store i64 3, ptr %2, align 8 br label %23 15: ; preds = %11 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %16, 1114112 br i1 %17, label %18, label %19 18: ; preds = %15 store i64 4, ptr %2, align 8 br label %23 19: ; preds = %15 br label %20 20: ; preds = %19 br label %21 21: ; preds = %20 br label %22 22: ; preds = %21 store i64 0, ptr %2, align 8 br label %23 23: ; preds = %22, %18, %14, %10, %6 %24 = load i64, ptr %2, align 8 ret i64 %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphznksb_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @u8_charlen(i32 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 128 br i1 %5, label %6, label %7 6: ; preds = %1 store i64 1, ptr %2, align 8 br label %23 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 2048 br i1 %9, label %10, label %11 10: ; preds = %7 store i64 2, ptr %2, align 8 br label %23 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %12, 65536 br i1 %13, label %14, label %15 14: ; preds = %11 store i64 3, ptr %2, align 8 br label %23 15: ; preds = %11 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %16, 1114112 br i1 %17, label %18, label %19 18: ; preds = %15 store i64 4, ptr %2, align 8 br label %23 19: ; preds = %15 br label %20 20: ; preds = %19 br label %21 21: ; preds = %20 br label %22 22: ; preds = %21 store i64 0, ptr %2, align 8 br label %23 23: ; preds = %22, %18, %14, %10, %6 %24 = load i64, ptr %2, align 8 ret i64 %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptvi46ctn.c' source_filename = "/tmp/tmptvi46ctn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pt\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"cm\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"mm\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"m\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"inch\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hpgs_parse_length(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %4, align 8 %10 = call double @strtod(ptr noundef %9, ptr noundef %7) %11 = load ptr, ptr %5, align 8 store double %10, ptr %11, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %4, align 8 %14 = icmp eq ptr %12, %13 br i1 %14, label %15, label %16 15: ; preds = %2 store i32 -1, ptr %3, align 4 br label %64 16: ; preds = %2 %17 = load ptr, ptr %7, align 8 %18 = load i8, ptr %17, align 1 %19 = icmp ne i8 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = load ptr, ptr %7, align 8 store ptr %21, ptr %6, align 8 br label %22 22: ; preds = %20, %16 %23 = load ptr, ptr %6, align 8 %24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str.1) %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %30 26: ; preds = %22 %27 = load ptr, ptr %5, align 8 %28 = load double, ptr %27, align 8 %29 = fmul double %28, 0x403C58B162C58B16 store double %29, ptr %27, align 8 br label %63 30: ; preds = %22 %31 = load ptr, ptr %6, align 8 %32 = call i64 @strcmp(ptr noundef %31, ptr noundef @.str.2) %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %38 34: ; preds = %30 %35 = load ptr, ptr %5, align 8 %36 = load double, ptr %35, align 8 %37 = fmul double %36, 0x4006AD5AB56AD5AC store double %37, ptr %35, align 8 br label %62 38: ; preds = %30 %39 = load ptr, ptr %6, 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 %46 42: ; preds = %38 %43 = load ptr, ptr %5, align 8 %44 = load double, ptr %43, align 8 %45 = fmul double %44, 0x40A6254A952A54AA store double %45, ptr %43, align 8 br label %61 46: ; preds = %38 %47 = load ptr, ptr %6, align 8 %48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str.4) %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %54 50: ; preds = %46 %51 = load ptr, ptr %5, align 8 %52 = load double, ptr %51, align 8 %53 = fmul double %52, 7.200000e+01 store double %53, ptr %51, align 8 br label %60 54: ; preds = %46 %55 = load ptr, ptr %6, align 8 %56 = call i64 @strcmp(ptr noundef %55, ptr noundef @.str) %57 = icmp ne i64 %56, 0 br i1 %57, label %58, label %59 58: ; preds = %54 store i32 -1, ptr %3, align 4 br label %64 59: ; preds = %54 br label %60 60: ; preds = %59, %50 br label %61 61: ; preds = %60, %42 br label %62 62: ; preds = %61, %34 br label %63 63: ; preds = %62, %26 store i32 0, ptr %3, align 4 br label %64 64: ; preds = %63, %58, %15 %65 = load i32, ptr %3, align 4 ret i32 %65 } declare double @strtod(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptvi46ctn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pt\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"cm\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"mm\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"m\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"inch\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hpgs_parse_length(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %4, align 8 %10 = call double @strtod(ptr noundef %9, ptr noundef %7) %11 = load ptr, ptr %5, align 8 store double %10, ptr %11, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %4, align 8 %14 = icmp eq ptr %12, %13 br i1 %14, label %15, label %16 15: ; preds = %2 store i32 -1, ptr %3, align 4 br label %64 16: ; preds = %2 %17 = load ptr, ptr %7, align 8 %18 = load i8, ptr %17, align 1 %19 = icmp ne i8 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = load ptr, ptr %7, align 8 store ptr %21, ptr %6, align 8 br label %22 22: ; preds = %20, %16 %23 = load ptr, ptr %6, align 8 %24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str.1) %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %30 26: ; preds = %22 %27 = load ptr, ptr %5, align 8 %28 = load double, ptr %27, align 8 %29 = fmul double %28, 0x403C58B162C58B16 store double %29, ptr %27, align 8 br label %63 30: ; preds = %22 %31 = load ptr, ptr %6, align 8 %32 = call i64 @strcmp(ptr noundef %31, ptr noundef @.str.2) %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %38 34: ; preds = %30 %35 = load ptr, ptr %5, align 8 %36 = load double, ptr %35, align 8 %37 = fmul double %36, 0x4006AD5AB56AD5AC store double %37, ptr %35, align 8 br label %62 38: ; preds = %30 %39 = load ptr, ptr %6, 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 %46 42: ; preds = %38 %43 = load ptr, ptr %5, align 8 %44 = load double, ptr %43, align 8 %45 = fmul double %44, 0x40A6254A952A54AA store double %45, ptr %43, align 8 br label %61 46: ; preds = %38 %47 = load ptr, ptr %6, align 8 %48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str.4) %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %54 50: ; preds = %46 %51 = load ptr, ptr %5, align 8 %52 = load double, ptr %51, align 8 %53 = fmul double %52, 7.200000e+01 store double %53, ptr %51, align 8 br label %60 54: ; preds = %46 %55 = load ptr, ptr %6, align 8 %56 = call i64 @strcmp(ptr noundef %55, ptr noundef @.str) %57 = icmp ne i64 %56, 0 br i1 %57, label %58, label %59 58: ; preds = %54 store i32 -1, ptr %3, align 4 br label %64 59: ; preds = %54 br label %60 60: ; preds = %59, %50 br label %61 61: ; preds = %60, %42 br label %62 62: ; preds = %61, %34 br label %63 63: ; preds = %62, %26 store i32 0, ptr %3, align 4 br label %64 64: ; preds = %63, %58, %15 %65 = load i32, ptr %3, align 4 ret i32 %65 } declare double @strtod(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgp791oui.c' source_filename = "/tmp/tmpgp791oui.c" target datalayout = "e-m:e-p270: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/tmpgp791oui.c" target datalayout = "e-m:e-p270: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/tmp1m4jvq8r.c' source_filename = "/tmp/tmp1m4jvq8r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetGpioFunction(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp sgt i32 %8, 53 br i1 %9, label %10, label %11 10: ; preds = %2 br label %52 11: ; preds = %2 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %11 br label %52 15: ; preds = %11 %16 = load i32, ptr %4, align 4 %17 = icmp sgt i32 %16, 8 br i1 %17, label %18, label %19 18: ; preds = %15 br label %52 19: ; preds = %15 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %19 br label %52 23: ; preds = %19 %24 = call i64 (...) @GetGpioAddress() %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %5, align 8 %26 = load i32, ptr %3, align 4 %27 = sdiv i32 %26, 10 %28 = load ptr, ptr %5, align 8 %29 = sext i32 %27 to i64 %30 = getelementptr inbounds i32, ptr %28, i64 %29 store ptr %30, ptr %5, align 8 %31 = load i32, ptr %4, align 4 %32 = load i32, ptr %3, align 4 %33 = srem i32 %32, 10 %34 = mul nsw i32 %33, 3 %35 = shl i32 %31, %34 store i32 %35, ptr %4, align 4 %36 = load i32, ptr %3, align 4 %37 = srem i32 %36, 10 %38 = mul nsw i32 %37, 3 %39 = shl i32 7, %38 store i32 %39, ptr %6, align 4 %40 = load i32, ptr %6, align 4 %41 = xor i32 %40, -1 store i32 %41, ptr %6, align 4 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %42, align 4 store i32 %43, ptr %7, align 4 %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %6, align 4 %46 = and i32 %44, %45 store i32 %46, ptr %7, align 4 %47 = load i32, ptr %7, align 4 %48 = load i32, ptr %4, align 4 %49 = xor i32 %47, %48 store i32 %49, ptr %7, align 4 %50 = load i32, ptr %7, align 4 %51 = load ptr, ptr %5, align 8 store i32 %50, ptr %51, align 4 br label %52 52: ; preds = %23, %22, %18, %14, %10 ret void } declare i64 @GetGpioAddress(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1m4jvq8r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetGpioFunction(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp sgt i32 %8, 53 br i1 %9, label %10, label %11 10: ; preds = %2 br label %52 11: ; preds = %2 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %11 br label %52 15: ; preds = %11 %16 = load i32, ptr %4, align 4 %17 = icmp sgt i32 %16, 8 br i1 %17, label %18, label %19 18: ; preds = %15 br label %52 19: ; preds = %15 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %19 br label %52 23: ; preds = %19 %24 = call i64 (...) @GetGpioAddress() %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %5, align 8 %26 = load i32, ptr %3, align 4 %27 = sdiv i32 %26, 10 %28 = load ptr, ptr %5, align 8 %29 = sext i32 %27 to i64 %30 = getelementptr inbounds i32, ptr %28, i64 %29 store ptr %30, ptr %5, align 8 %31 = load i32, ptr %4, align 4 %32 = load i32, ptr %3, align 4 %33 = srem i32 %32, 10 %34 = mul nsw i32 %33, 3 %35 = shl i32 %31, %34 store i32 %35, ptr %4, align 4 %36 = load i32, ptr %3, align 4 %37 = srem i32 %36, 10 %38 = mul nsw i32 %37, 3 %39 = shl i32 7, %38 store i32 %39, ptr %6, align 4 %40 = load i32, ptr %6, align 4 %41 = xor i32 %40, -1 store i32 %41, ptr %6, align 4 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %42, align 4 store i32 %43, ptr %7, align 4 %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %6, align 4 %46 = and i32 %44, %45 store i32 %46, ptr %7, align 4 %47 = load i32, ptr %7, align 4 %48 = load i32, ptr %4, align 4 %49 = xor i32 %47, %48 store i32 %49, ptr %7, align 4 %50 = load i32, ptr %7, align 4 %51 = load ptr, ptr %5, align 8 store i32 %50, ptr %51, align 4 br label %52 52: ; preds = %23, %22, %18, %14, %10 ret void } declare i64 @GetGpioAddress(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmz6my1cd.c' source_filename = "/tmp/tmpmz6my1cd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putu32(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = and i32 %5, 255 %7 = sext i32 %6 to i64 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i64, ptr %8, i64 0 store i64 %7, ptr %9, align 8 %10 = load i32, ptr %4, align 4 %11 = ashr i32 %10, 8 %12 = and i32 %11, 255 %13 = sext i32 %12 to i64 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i64, ptr %14, i64 1 store i64 %13, ptr %15, align 8 %16 = load i32, ptr %4, align 4 %17 = ashr i32 %16, 16 %18 = and i32 %17, 255 %19 = sext i32 %18 to i64 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds i64, ptr %20, i64 2 store i64 %19, ptr %21, align 8 %22 = load i32, ptr %4, align 4 %23 = ashr i32 %22, 24 %24 = and i32 %23, 255 %25 = sext i32 %24 to i64 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds i64, ptr %26, i64 3 store i64 %25, ptr %27, 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/tmpmz6my1cd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putu32(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = and i32 %5, 255 %7 = sext i32 %6 to i64 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i64, ptr %8, i64 0 store i64 %7, ptr %9, align 8 %10 = load i32, ptr %4, align 4 %11 = ashr i32 %10, 8 %12 = and i32 %11, 255 %13 = sext i32 %12 to i64 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i64, ptr %14, i64 1 store i64 %13, ptr %15, align 8 %16 = load i32, ptr %4, align 4 %17 = ashr i32 %16, 16 %18 = and i32 %17, 255 %19 = sext i32 %18 to i64 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds i64, ptr %20, i64 2 store i64 %19, ptr %21, align 8 %22 = load i32, ptr %4, align 4 %23 = ashr i32 %22, 24 %24 = and i32 %23, 255 %25 = sext i32 %24 to i64 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds i64, ptr %26, i64 3 store i64 %25, ptr %27, 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/tmppe1hagsg.c' source_filename = "/tmp/tmppe1hagsg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SDLGui_Init() #0 { ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppe1hagsg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SDLGui_Init() #0 { ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptfvvlu7v.c' source_filename = "/tmp/tmptfvvlu7v.c" target datalayout = "e-m:e-p270: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/tmptfvvlu7v.c" target datalayout = "e-m:e-p270: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/tmphfpctiq1.c' source_filename = "/tmp/tmphfpctiq1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [142 x i8] c"subspace: Number of eigen-values must be less than the problem dimension.\0A Desired number of eigen-values=%d \0A Dimension of the problem= %d \0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c" subspace: M[%d][%d] = %e \0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [20 x i8] c" RMS matrix error:\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%9.2e\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [48 x i8] c" subspace: Zero frequency found! \0A w[%d] = %e \0A\00", align 1 @.str.6 = private unnamed_addr constant [35 x i8] c" iter = %d w[%d] = %f error = %e\0A\00", align 1 @.str.7 = private unnamed_addr constant [60 x i8] c" subspace: Iteration limit exceeded\0A rel. error = %e > %e\0A\00", align 1 @.str.8 = private unnamed_addr constant [43 x i8] c" %4d sub-space iterations, error: %.4e \0A\00", align 1 @.str.9 = private unnamed_addr constant [33 x i8] c" mode: %2d\09DoF: %5d\09 %9.4lf Hz\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @subspace(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, double noundef %6, double noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef %10) #0 { %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %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 double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca double, align 8 %35 = alloca i32, align 4 %36 = alloca i32, align 4 %37 = alloca i32, align 4 %38 = alloca i32, align 4 %39 = alloca i32, align 4 %40 = alloca ptr, align 8 %41 = alloca [512 x i8], align 16 store ptr %0, ptr %13, align 8 store ptr %1, ptr %14, align 8 store i32 %2, ptr %15, align 4 store i32 %3, ptr %16, align 4 store ptr %4, ptr %17, align 8 store ptr %5, ptr %18, align 8 store double %6, ptr %19, align 8 store double %7, ptr %20, align 8 store ptr %8, ptr %21, align 8 store ptr %9, ptr %22, align 8 store i32 %10, ptr %23, align 4 store double 1.000000e+00, ptr %33, align 8 store double 0.000000e+00, ptr %34, align 8 store i32 0, ptr %35, align 4 store i32 0, ptr %36, align 4 store i32 0, ptr %37, align 4 store i32 0, ptr %39, align 4 %42 = load i32, ptr %16, align 4 %43 = load i32, ptr %15, align 4 %44 = icmp sgt i32 %42, %43 br i1 %44, label %45, label %54 45: ; preds = %11 %46 = getelementptr inbounds [512 x i8], ptr %41, i64 0, i64 0 %47 = load i32, ptr %16, align 4 %48 = sitofp i32 %47 to double %49 = load i32, ptr %15, align 4 %50 = sitofp i32 %49 to double %51 = call i32 (ptr, ptr, double, double, ...) @sprintf(ptr noundef %46, ptr noundef @.str, double noundef %48, double noundef %50) %52 = getelementptr inbounds [512 x i8], ptr %41, i64 0, i64 0 %53 = call i32 @errorMsg(ptr noundef %52) store i32 32, ptr %12, align 4 br label %816 54: ; preds = %11 %55 = load i32, ptr %15, align 4 %56 = call ptr @dvector(i32 noundef 1, i32 noundef %55) store ptr %56, ptr %28, align 8 %57 = load i32, ptr %15, align 4 %58 = call ptr @dvector(i32 noundef 1, i32 noundef %57) store ptr %58, ptr %29, align 8 %59 = load i32, ptr %15, align 4 %60 = call ptr @dvector(i32 noundef 1, i32 noundef %59) store ptr %60, ptr %30, align 8 %61 = load i32, ptr %16, align 4 %62 = load i32, ptr %16, align 4 %63 = call ptr @dmatrix(i32 noundef 1, i32 noundef %61, i32 noundef 1, i32 noundef %62) store ptr %63, ptr %24, align 8 %64 = load i32, ptr %16, align 4 %65 = load i32, ptr %16, align 4 %66 = call ptr @dmatrix(i32 noundef 1, i32 noundef %64, i32 noundef 1, i32 noundef %65) store ptr %66, ptr %25, align 8 %67 = load i32, ptr %15, align 4 %68 = load i32, ptr %16, align 4 %69 = call ptr @dmatrix(i32 noundef 1, i32 noundef %67, i32 noundef 1, i32 noundef %68) store ptr %69, ptr %26, align 8 %70 = load i32, ptr %16, align 4 %71 = load i32, ptr %16, align 4 %72 = call ptr @dmatrix(i32 noundef 1, i32 noundef %70, i32 noundef 1, i32 noundef %71) store ptr %72, ptr %27, align 8 %73 = load i32, ptr %16, align 4 %74 = call ptr @ivector(i32 noundef 1, i32 noundef %73) store ptr %74, ptr %40, align 8 store i32 1, ptr %35, align 4 br label %75 75: ; preds = %142, %54 %76 = load i32, ptr %35, align 4 %77 = load i32, ptr %16, align 4 %78 = icmp sle i32 %76, %77 br i1 %78, label %79, label %145 79: ; preds = %75 %80 = load ptr, ptr %40, align 8 %81 = load i32, ptr %35, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %80, i64 %82 store i32 0, ptr %83, align 4 %84 = load i32, ptr %35, align 4 store i32 %84, ptr %36, align 4 br label %85 85: ; preds = %138, %79 %86 = load i32, ptr %36, align 4 %87 = load i32, ptr %16, align 4 %88 = icmp sle i32 %86, %87 br i1 %88, label %89, label %141 89: ; preds = %85 %90 = load ptr, ptr %27, align 8 %91 = load i32, ptr %36, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds ptr, ptr %90, i64 %92 %94 = load ptr, ptr %93, align 8 %95 = load i32, ptr %35, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds double, ptr %94, i64 %96 store double 0.000000e+00, ptr %97, align 8 %98 = load ptr, ptr %27, align 8 %99 = load i32, ptr %35, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds ptr, ptr %98, i64 %100 %102 = load ptr, ptr %101, align 8 %103 = load i32, ptr %36, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds double, ptr %102, i64 %104 store double 0.000000e+00, ptr %105, align 8 %106 = load ptr, ptr %25, align 8 %107 = load i32, ptr %36, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds ptr, ptr %106, i64 %108 %110 = load ptr, ptr %109, align 8 %111 = load i32, ptr %35, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds double, ptr %110, i64 %112 store double 0.000000e+00, ptr %113, align 8 %114 = load ptr, ptr %25, align 8 %115 = load i32, ptr %35, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds ptr, ptr %114, i64 %116 %118 = load ptr, ptr %117, align 8 %119 = load i32, ptr %36, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds double, ptr %118, i64 %120 store double 0.000000e+00, ptr %121, align 8 %122 = load ptr, ptr %24, align 8 %123 = load i32, ptr %36, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds ptr, ptr %122, i64 %124 %126 = load ptr, ptr %125, align 8 %127 = load i32, ptr %35, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds double, ptr %126, i64 %128 store double 0.000000e+00, ptr %129, align 8 %130 = load ptr, ptr %24, align 8 %131 = load i32, ptr %35, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds ptr, ptr %130, i64 %132 %134 = load ptr, ptr %133, align 8 %135 = load i32, ptr %36, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds double, ptr %134, i64 %136 store double 0.000000e+00, ptr %137, align 8 br label %138 138: ; preds = %89 %139 = load i32, ptr %36, align 4 %140 = add nsw i32 %139, 1 store i32 %140, ptr %36, align 4 br label %85, !llvm.loop !6 141: ; preds = %85 br label %142 142: ; preds = %141 %143 = load i32, ptr %35, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %35, align 4 br label %75, !llvm.loop !8 145: ; preds = %75 store i32 1, ptr %35, align 4 br label %146 146: ; preds = %176, %145 %147 = load i32, ptr %35, align 4 %148 = load i32, ptr %15, align 4 %149 = icmp sle i32 %147, %148 br i1 %149, label %150, label %179 150: ; preds = %146 store i32 1, ptr %36, align 4 br label %151 151: ; preds = %172, %150 %152 = load i32, ptr %36, align 4 %153 = load i32, ptr %16, align 4 %154 = icmp sle i32 %152, %153 br i1 %154, label %155, label %175 155: ; preds = %151 %156 = load ptr, ptr %18, align 8 %157 = load i32, ptr %35, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds ptr, ptr %156, i64 %158 %160 = load ptr, ptr %159, align 8 %161 = load i32, ptr %36, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds double, ptr %160, i64 %162 store double 0.000000e+00, ptr %163, align 8 %164 = load ptr, ptr %26, align 8 %165 = load i32, ptr %35, align 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds ptr, ptr %164, i64 %166 %168 = load ptr, ptr %167, align 8 %169 = load i32, ptr %36, align 4 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds double, ptr %168, i64 %170 store double 0.000000e+00, ptr %171, align 8 br label %172 172: ; preds = %155 %173 = load i32, ptr %36, align 4 %174 = add nsw i32 %173, 1 store i32 %174, ptr %36, align 4 br label %151, !llvm.loop !9 175: ; preds = %151 br label %176 176: ; preds = %175 %177 = load i32, ptr %35, align 4 %178 = add nsw i32 %177, 1 store i32 %178, ptr %35, align 4 br label %146, !llvm.loop !10 179: ; preds = %146 %180 = load i32, ptr %16, align 4 %181 = sitofp i32 %180 to double %182 = fmul double 5.000000e-01, %181 %183 = load i32, ptr %16, align 4 %184 = sitofp i32 %183 to double %185 = fsub double %184, 8.000000e+00 %186 = fcmp ogt double %182, %185 br i1 %186, label %187, label %192 187: ; preds = %179 %188 = load i32, ptr %16, align 4 %189 = sitofp i32 %188 to double %190 = fdiv double %189, 2.000000e+00 %191 = fptosi double %190 to i32 br label %195 192: ; preds = %179 %193 = load i32, ptr %16, align 4 %194 = sub nsw i32 %193, 8 br label %195 195: ; preds = %192, %187 %196 = phi i32 [ %191, %187 ], [ %194, %192 ] store i32 %196, ptr %38, align 4 store i32 1, ptr %35, align 4 br label %197 197: ; preds = %232, %195 %198 = load i32, ptr %35, align 4 %199 = load i32, ptr %15, align 4 %200 = icmp sle i32 %198, %199 br i1 %200, label %201, label %235 201: ; preds = %197 %202 = load i32, ptr %35, align 4 store i32 %202, ptr %36, align 4 br label %203 203: ; preds = %228, %201 %204 = load i32, ptr %36, align 4 %205 = load i32, ptr %15, align 4 %206 = icmp sle i32 %204, %205 br i1 %206, label %207, label %231 207: ; preds = %203 %208 = load double, ptr %20, align 8 %209 = load ptr, ptr %14, align 8 %210 = load i32, ptr %35, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds ptr, ptr %209, i64 %211 %213 = load ptr, ptr %212, align 8 %214 = load i32, ptr %36, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds double, ptr %213, i64 %215 %217 = load double, ptr %216, align 8 %218 = load ptr, ptr %13, align 8 %219 = load i32, ptr %35, align 4 %220 = sext i32 %219 to i64 %221 = getelementptr inbounds ptr, ptr %218, i64 %220 %222 = load ptr, ptr %221, align 8 %223 = load i32, ptr %36, align 4 %224 = sext i32 %223 to i64 %225 = getelementptr inbounds double, ptr %222, i64 %224 %226 = load double, ptr %225, align 8 %227 = call double @llvm.fmuladd.f64(double %208, double %217, double %226) store double %227, ptr %225, align 8 br label %228 228: ; preds = %207 %229 = load i32, ptr %36, align 4 %230 = add nsw i32 %229, 1 store i32 %230, ptr %36, align 4 br label %203, !llvm.loop !11 231: ; preds = %203 br label %232 232: ; preds = %231 %233 = load i32, ptr %35, align 4 %234 = add nsw i32 %233, 1 store i32 %234, ptr %35, align 4 br label %197, !llvm.loop !12 235: ; preds = %197 %236 = load ptr, ptr %13, align 8 %237 = load i32, ptr %15, align 4 %238 = load ptr, ptr %29, align 8 %239 = load ptr, ptr %30, align 8 %240 = load ptr, ptr %30, align 8 %241 = load ptr, ptr %22, align 8 %242 = call i32 @ldl_dcmp(ptr noundef %236, i32 noundef %237, ptr noundef %238, ptr noundef %239, ptr noundef %240, i32 noundef 1, i32 noundef 0, ptr noundef %241) store i32 1, ptr %35, align 4 br label %243 243: ; preds = %300, %235 %244 = load i32, ptr %35, align 4 %245 = load i32, ptr %15, align 4 %246 = icmp sle i32 %244, %245 br i1 %246, label %247, label %303 247: ; preds = %243 %248 = load ptr, ptr %14, align 8 %249 = load i32, ptr %35, align 4 %250 = sext i32 %249 to i64 %251 = getelementptr inbounds ptr, ptr %248, i64 %250 %252 = load ptr, ptr %251, align 8 %253 = load i32, ptr %35, align 4 %254 = sext i32 %253 to i64 %255 = getelementptr inbounds double, ptr %252, i64 %254 %256 = load double, ptr %255, align 8 %257 = fcmp ole double %256, 0.000000e+00 br i1 %257, label %258, label %276 258: ; preds = %247 %259 = getelementptr inbounds [512 x i8], ptr %41, i64 0, i64 0 %260 = load i32, ptr %35, align 4 %261 = sitofp i32 %260 to double %262 = load i32, ptr %35, align 4 %263 = sitofp i32 %262 to double %264 = load ptr, ptr %14, align 8 %265 = load i32, ptr %35, align 4 %266 = sext i32 %265 to i64 %267 = getelementptr inbounds ptr, ptr %264, i64 %266 %268 = load ptr, ptr %267, align 8 %269 = load i32, ptr %35, align 4 %270 = sext i32 %269 to i64 %271 = getelementptr inbounds double, ptr %268, i64 %270 %272 = load double, ptr %271, align 8 %273 = call i32 (ptr, ptr, double, double, ...) @sprintf(ptr noundef %259, ptr noundef @.str.1, double noundef %261, double noundef %263, double noundef %272) %274 = getelementptr inbounds [512 x i8], ptr %41, i64 0, i64 0 %275 = call i32 @errorMsg(ptr noundef %274) store i32 32, ptr %12, align 4 br label %816 276: ; preds = %247 %277 = load ptr, ptr %13, align 8 %278 = load i32, ptr %35, align 4 %279 = sext i32 %278 to i64 %280 = getelementptr inbounds ptr, ptr %277, i64 %279 %281 = load ptr, ptr %280, align 8 %282 = load i32, ptr %35, align 4 %283 = sext i32 %282 to i64 %284 = getelementptr inbounds double, ptr %281, i64 %283 %285 = load double, ptr %284, align 8 %286 = load ptr, ptr %14, align 8 %287 = load i32, ptr %35, align 4 %288 = sext i32 %287 to i64 %289 = getelementptr inbounds ptr, ptr %286, i64 %288 %290 = load ptr, ptr %289, align 8 %291 = load i32, ptr %35, align 4 %292 = sext i32 %291 to i64 %293 = getelementptr inbounds double, ptr %290, i64 %292 %294 = load double, ptr %293, align 8 %295 = fdiv double %285, %294 %296 = load ptr, ptr %28, align 8 %297 = load i32, ptr %35, align 4 %298 = sext i32 %297 to i64 %299 = getelementptr inbounds double, ptr %296, i64 %298 store double %295, ptr %299, align 8 br label %300 300: ; preds = %276 %301 = load i32, ptr %35, align 4 %302 = add nsw i32 %301, 1 store i32 %302, ptr %35, align 4 br label %243, !llvm.loop !13 303: ; preds = %243 store double 0.000000e+00, ptr %32, align 8 store i32 1, ptr %37, align 4 br label %304 304: ; preds = %421, %303 %305 = load i32, ptr %37, align 4 %306 = load i32, ptr %16, align 4 %307 = icmp sle i32 %305, %306 br i1 %307, label %308, label %424 308: ; preds = %304 %309 = load ptr, ptr %28, align 8 %310 = getelementptr inbounds double, ptr %309, i64 1 %311 = load double, ptr %310, align 8 store double %311, ptr %31, align 8 store i32 1, ptr %35, align 4 br label %312 312: ; preds = %370, %308 %313 = load i32, ptr %35, align 4 %314 = load i32, ptr %15, align 4 %315 = icmp sle i32 %313, %314 br i1 %315, label %316, label %373 316: ; preds = %312 %317 = load double, ptr %32, align 8 %318 = load ptr, ptr %28, align 8 %319 = load i32, ptr %35, align 4 %320 = sext i32 %319 to i64 %321 = getelementptr inbounds double, ptr %318, i64 %320 %322 = load double, ptr %321, align 8 %323 = fcmp ole double %317, %322 br i1 %323, label %324, label %369 324: ; preds = %316 %325 = load ptr, ptr %28, align 8 %326 = load i32, ptr %35, align 4 %327 = sext i32 %326 to i64 %328 = getelementptr inbounds double, ptr %325, i64 %327 %329 = load double, ptr %328, align 8 %330 = load double, ptr %31, align 8 %331 = fcmp ole double %329, %330 br i1 %331, label %332, label %369 332: ; preds = %324 %333 = load ptr, ptr %22, align 8 store i32 1, ptr %333, align 4 store i32 1, ptr %36, align 4 br label %334 334: ; preds = %350, %332 %335 = load i32, ptr %36, align 4 %336 = load i32, ptr %37, align 4 %337 = sub nsw i32 %336, 1 %338 = icmp sle i32 %335, %337 br i1 %338, label %339, label %353 339: ; preds = %334 %340 = load i32, ptr %35, align 4 %341 = load ptr, ptr %40, align 8 %342 = load i32, ptr %36, align 4 %343 = sext i32 %342 to i64 %344 = getelementptr inbounds i32, ptr %341, i64 %343 %345 = load i32, ptr %344, align 4 %346 = icmp eq i32 %340, %345 br i1 %346, label %347, label %349 347: ; preds = %339 %348 = load ptr, ptr %22, align 8 store i32 0, ptr %348, align 4 br label %349 349: ; preds = %347, %339 br label %350 350: ; preds = %349 %351 = load i32, ptr %36, align 4 %352 = add nsw i32 %351, 1 store i32 %352, ptr %36, align 4 br label %334, !llvm.loop !14 353: ; preds = %334 %354 = load ptr, ptr %22, align 8 %355 = load i32, ptr %354, align 4 %356 = icmp ne i32 %355, 0 br i1 %356, label %357, label %368 357: ; preds = %353 %358 = load ptr, ptr %28, align 8 %359 = load i32, ptr %35, align 4 %360 = sext i32 %359 to i64 %361 = getelementptr inbounds double, ptr %358, i64 %360 %362 = load double, ptr %361, align 8 store double %362, ptr %31, align 8 %363 = load i32, ptr %35, align 4 %364 = load ptr, ptr %40, align 8 %365 = load i32, ptr %37, align 4 %366 = sext i32 %365 to i64 %367 = getelementptr inbounds i32, ptr %364, i64 %366 store i32 %363, ptr %367, align 4 br label %368 368: ; preds = %357, %353 br label %369 369: ; preds = %368, %324, %316 br label %370 370: ; preds = %369 %371 = load i32, ptr %35, align 4 %372 = add nsw i32 %371, 1 store i32 %372, ptr %35, align 4 br label %312, !llvm.loop !15 373: ; preds = %312 %374 = load ptr, ptr %40, align 8 %375 = load i32, ptr %37, align 4 %376 = sext i32 %375 to i64 %377 = getelementptr inbounds i32, ptr %374, i64 %376 %378 = load i32, ptr %377, align 4 %379 = icmp eq i32 %378, 0 br i1 %379, label %380, label %419 380: ; preds = %373 %381 = load ptr, ptr %40, align 8 %382 = getelementptr inbounds i32, ptr %381, i64 1 %383 = load i32, ptr %382, align 4 store i32 %383, ptr %35, align 4 store i32 1, ptr %36, align 4 br label %384 384: ; preds = %403, %380 %385 = load i32, ptr %36, align 4 %386 = load i32, ptr %37, align 4 %387 = icmp slt i32 %385, %386 br i1 %387, label %388, label %406 388: ; preds = %384 %389 = load i32, ptr %35, align 4 %390 = load ptr, ptr %40, align 8 %391 = load i32, ptr %36, align 4 %392 = sext i32 %391 to i64 %393 = getelementptr inbounds i32, ptr %390, i64 %392 %394 = load i32, ptr %393, align 4 %395 = icmp slt i32 %389, %394 br i1 %395, label %396, label %402 396: ; preds = %388 %397 = load ptr, ptr %40, align 8 %398 = load i32, ptr %36, align 4 %399 = sext i32 %398 to i64 %400 = getelementptr inbounds i32, ptr %397, i64 %399 %401 = load i32, ptr %400, align 4 store i32 %401, ptr %35, align 4 br label %402 402: ; preds = %396, %388 br label %403 403: ; preds = %402 %404 = load i32, ptr %36, align 4 %405 = add nsw i32 %404, 1 store i32 %405, ptr %36, align 4 br label %384, !llvm.loop !16 406: ; preds = %384 %407 = load i32, ptr %35, align 4 %408 = add nsw i32 %407, 1 %409 = load ptr, ptr %40, align 8 %410 = load i32, ptr %37, align 4 %411 = sext i32 %410 to i64 %412 = getelementptr inbounds i32, ptr %409, i64 %411 store i32 %408, ptr %412, align 4 %413 = load ptr, ptr %28, align 8 %414 = load i32, ptr %35, align 4 %415 = add nsw i32 %414, 1 %416 = sext i32 %415 to i64 %417 = getelementptr inbounds double, ptr %413, i64 %416 %418 = load double, ptr %417, align 8 store double %418, ptr %31, align 8 br label %419 419: ; preds = %406, %373 %420 = load double, ptr %31, align 8 store double %420, ptr %32, align 8 br label %421 421: ; preds = %419 %422 = load i32, ptr %37, align 4 %423 = add nsw i32 %422, 1 store i32 %423, ptr %37, align 4 br label %304, !llvm.loop !17 424: ; preds = %304 store i32 1, ptr %37, align 4 br label %425 425: ; preds = %486, %424 %426 = load i32, ptr %37, align 4 %427 = load i32, ptr %16, align 4 %428 = icmp sle i32 %426, %427 br i1 %428, label %429, label %489 429: ; preds = %425 %430 = load ptr, ptr %18, align 8 %431 = load ptr, ptr %40, align 8 %432 = load i32, ptr %37, align 4 %433 = sext i32 %432 to i64 %434 = getelementptr inbounds i32, ptr %431, i64 %433 %435 = load i32, ptr %434, align 4 %436 = sext i32 %435 to i64 %437 = getelementptr inbounds ptr, ptr %430, i64 %436 %438 = load ptr, ptr %437, align 8 %439 = load i32, ptr %37, align 4 %440 = sext i32 %439 to i64 %441 = getelementptr inbounds double, ptr %438, i64 %440 store double 1.000000e+00, ptr %441, align 8 %442 = load ptr, ptr %40, align 8 %443 = load i32, ptr %37, align 4 %444 = sext i32 %443 to i64 %445 = getelementptr inbounds i32, ptr %442, i64 %444 %446 = load i32, ptr %445, align 4 %447 = srem i32 %446, 6 %448 = load ptr, ptr %22, align 8 store i32 %447, ptr %448, align 4 %449 = load ptr, ptr %22, align 8 %450 = load i32, ptr %449, align 4 switch i32 %450, label %457 [ i32 1, label %451 i32 2, label %452 i32 3, label %453 i32 4, label %454 i32 5, label %455 i32 0, label %456 ] 451: ; preds = %429 store i32 1, ptr %35, align 4 store i32 2, ptr %36, align 4 br label %457 452: ; preds = %429 store i32 -1, ptr %35, align 4 store i32 1, ptr %36, align 4 br label %457 453: ; preds = %429 store i32 -1, ptr %35, align 4 store i32 -2, ptr %36, align 4 br label %457 454: ; preds = %429 store i32 1, ptr %35, align 4 store i32 2, ptr %36, align 4 br label %457 455: ; preds = %429 store i32 -1, ptr %35, align 4 store i32 1, ptr %36, align 4 br label %457 456: ; preds = %429 store i32 -1, ptr %35, align 4 store i32 -2, ptr %36, align 4 br label %457 457: ; preds = %429, %456, %455, %454, %453, %452, %451 %458 = load ptr, ptr %18, align 8 %459 = load ptr, ptr %40, align 8 %460 = load i32, ptr %37, align 4 %461 = sext i32 %460 to i64 %462 = getelementptr inbounds i32, ptr %459, i64 %461 %463 = load i32, ptr %462, align 4 %464 = load i32, ptr %35, align 4 %465 = add nsw i32 %463, %464 %466 = sext i32 %465 to i64 %467 = getelementptr inbounds ptr, ptr %458, i64 %466 %468 = load ptr, ptr %467, align 8 %469 = load i32, ptr %37, align 4 %470 = sext i32 %469 to i64 %471 = getelementptr inbounds double, ptr %468, i64 %470 store double 2.000000e-01, ptr %471, align 8 %472 = load ptr, ptr %18, align 8 %473 = load ptr, ptr %40, align 8 %474 = load i32, ptr %37, align 4 %475 = sext i32 %474 to i64 %476 = getelementptr inbounds i32, ptr %473, i64 %475 %477 = load i32, ptr %476, align 4 %478 = load i32, ptr %36, align 4 %479 = add nsw i32 %477, %478 %480 = sext i32 %479 to i64 %481 = getelementptr inbounds ptr, ptr %472, i64 %480 %482 = load ptr, ptr %481, align 8 %483 = load i32, ptr %37, align 4 %484 = sext i32 %483 to i64 %485 = getelementptr inbounds double, ptr %482, i64 %484 store double 2.000000e-01, ptr %485, align 8 br label %486 486: ; preds = %457 %487 = load i32, ptr %37, align 4 %488 = add nsw i32 %487, 1 store i32 %488, ptr %37, align 4 br label %425, !llvm.loop !18 489: ; preds = %425 %490 = load ptr, ptr %21, align 8 store i32 0, ptr %490, align 4 br label %491 491: ; preds = %666, %489 store i32 1, ptr %37, align 4 br label %492 492: ; preds = %565, %491 %493 = load i32, ptr %37, align 4 %494 = load i32, ptr %16, align 4 %495 = icmp sle i32 %493, %494 br i1 %495, label %496, label %568 496: ; preds = %492 %497 = load ptr, ptr %14, align 8 %498 = load ptr, ptr %18, align 8 %499 = load ptr, ptr %30, align 8 %500 = load i32, ptr %15, align 4 %501 = load i32, ptr %37, align 4 %502 = call i32 @prodABj(ptr noundef %497, ptr noundef %498, ptr noundef %499, i32 noundef %500, i32 noundef %501) %503 = load ptr, ptr %13, align 8 %504 = load i32, ptr %15, align 4 %505 = load ptr, ptr %29, align 8 %506 = load ptr, ptr %30, align 8 %507 = load ptr, ptr %28, align 8 %508 = load ptr, ptr %22, align 8 %509 = call i32 @ldl_dcmp(ptr noundef %503, i32 noundef %504, ptr noundef %505, ptr noundef %506, ptr noundef %507, i32 noundef 0, i32 noundef 1, ptr noundef %508) %510 = load i32, ptr %39, align 4 %511 = icmp ne i32 %510, 0 br i1 %511, label %512, label %515 512: ; preds = %496 %513 = load i32, ptr @stdout, align 4 %514 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %513, ptr noundef @.str.2) br label %515 515: ; preds = %512, %496 %516 = load ptr, ptr %22, align 8 store i32 1, ptr %516, align 4 store double 1.000000e+00, ptr %33, align 8 br label %517 517: ; preds = %532, %515 %518 = load ptr, ptr %13, align 8 %519 = load i32, ptr %15, align 4 %520 = load ptr, ptr %29, align 8 %521 = load ptr, ptr %30, align 8 %522 = load ptr, ptr %28, align 8 %523 = load ptr, ptr %22, align 8 %524 = call i32 @ldl_mprove(ptr noundef %518, i32 noundef %519, ptr noundef %520, ptr noundef %521, ptr noundef %522, ptr noundef %33, ptr noundef %523) %525 = load i32, ptr %39, align 4 %526 = icmp ne i32 %525, 0 br i1 %526, label %527, label %531 527: ; preds = %517 %528 = load i32, ptr @stdout, align 4 %529 = load double, ptr %33, align 8 %530 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %528, ptr noundef @.str.3, double noundef %529) br label %531 531: ; preds = %527, %517 br label %532 532: ; preds = %531 %533 = load ptr, ptr %22, align 8 %534 = load i32, ptr %533, align 4 %535 = icmp ne i32 %534, 0 br i1 %535, label %517, label %536, !llvm.loop !19 536: ; preds = %532 %537 = load i32, ptr %39, align 4 %538 = icmp ne i32 %537, 0 br i1 %538, label %539, label %542 539: ; preds = %536 %540 = load i32, ptr @stdout, align 4 %541 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %540, ptr noundef @.str.4) br label %542 542: ; preds = %539, %536 store i32 1, ptr %35, align 4 br label %543 543: ; preds = %561, %542 %544 = load i32, ptr %35, align 4 %545 = load i32, ptr %15, align 4 %546 = icmp sle i32 %544, %545 br i1 %546, label %547, label %564 547: ; preds = %543 %548 = load ptr, ptr %28, align 8 %549 = load i32, ptr %35, align 4 %550 = sext i32 %549 to i64 %551 = getelementptr inbounds double, ptr %548, i64 %550 %552 = load double, ptr %551, align 8 %553 = load ptr, ptr %26, align 8 %554 = load i32, ptr %35, align 4 %555 = sext i32 %554 to i64 %556 = getelementptr inbounds ptr, ptr %553, i64 %555 %557 = load ptr, ptr %556, align 8 %558 = load i32, ptr %37, align 4 %559 = sext i32 %558 to i64 %560 = getelementptr inbounds double, ptr %557, i64 %559 store double %552, ptr %560, align 8 br label %561 561: ; preds = %547 %562 = load i32, ptr %35, align 4 %563 = add nsw i32 %562, 1 store i32 %563, ptr %35, align 4 br label %543, !llvm.loop !20 564: ; preds = %543 br label %565 565: ; preds = %564 %566 = load i32, ptr %37, align 4 %567 = add nsw i32 %566, 1 store i32 %567, ptr %37, align 4 br label %492, !llvm.loop !21 568: ; preds = %492 %569 = load ptr, ptr %13, align 8 %570 = load ptr, ptr %26, align 8 %571 = load ptr, ptr %24, align 8 %572 = load i32, ptr %15, align 4 %573 = load i32, ptr %16, align 4 %574 = call i32 @xtAx(ptr noundef %569, ptr noundef %570, ptr noundef %571, i32 noundef %572, i32 noundef %573) %575 = load ptr, ptr %14, align 8 %576 = load ptr, ptr %26, align 8 %577 = load ptr, ptr %25, align 8 %578 = load i32, ptr %15, align 4 %579 = load i32, ptr %16, align 4 %580 = call i32 @xtAx(ptr noundef %575, ptr noundef %576, ptr noundef %577, i32 noundef %578, i32 noundef %579) %581 = load ptr, ptr %24, align 8 %582 = load ptr, ptr %25, align 8 %583 = load ptr, ptr %17, align 8 %584 = load ptr, ptr %27, align 8 %585 = load i32, ptr %16, align 4 %586 = call i32 @jacobi(ptr noundef %581, ptr noundef %582, ptr noundef %583, ptr noundef %584, i32 noundef %585) %587 = load ptr, ptr %26, align 8 %588 = load ptr, ptr %27, align 8 %589 = load ptr, ptr %18, align 8 %590 = load i32, ptr %15, align 4 %591 = load i32, ptr %16, align 4 %592 = load i32, ptr %16, align 4 %593 = call i32 @prodAB(ptr noundef %587, ptr noundef %588, ptr noundef %589, i32 noundef %590, i32 noundef %591, i32 noundef %592) %594 = load ptr, ptr %17, align 8 %595 = load ptr, ptr %18, align 8 %596 = load i32, ptr %15, align 4 %597 = load i32, ptr %16, align 4 %598 = call i32 @eigsort(ptr noundef %594, ptr noundef %595, i32 noundef %596, i32 noundef %597) %599 = load ptr, ptr %17, align 8 %600 = load i32, ptr %38, align 4 %601 = sext i32 %600 to i64 %602 = getelementptr inbounds double, ptr %599, i64 %601 %603 = load double, ptr %602, align 8 %604 = fcmp oeq double %603, 0.000000e+00 br i1 %604, label %605, label %617 605: ; preds = %568 %606 = getelementptr inbounds [512 x i8], ptr %41, i64 0, i64 0 %607 = load i32, ptr %38, align 4 %608 = sitofp i32 %607 to double %609 = load ptr, ptr %17, align 8 %610 = load i32, ptr %38, align 4 %611 = sext i32 %610 to i64 %612 = getelementptr inbounds double, ptr %609, i64 %611 %613 = load double, ptr %612, align 8 %614 = call i32 (ptr, ptr, double, double, ...) @sprintf(ptr noundef %606, ptr noundef @.str.5, double noundef %608, double noundef %613) %615 = getelementptr inbounds [512 x i8], ptr %41, i64 0, i64 0 %616 = call i32 @errorMsg(ptr noundef %615) store i32 32, ptr %12, align 4 br label %816 617: ; preds = %568 %618 = load ptr, ptr %17, align 8 %619 = load i32, ptr %38, align 4 %620 = sext i32 %619 to i64 %621 = getelementptr inbounds double, ptr %618, i64 %620 %622 = load double, ptr %621, align 8 %623 = load double, ptr %34, align 8 %624 = fsub double %622, %623 %625 = call double @llvm.fabs.f64(double %624) %626 = load ptr, ptr %17, align 8 %627 = load i32, ptr %38, align 4 %628 = sext i32 %627 to i64 %629 = getelementptr inbounds double, ptr %626, i64 %628 %630 = load double, ptr %629, align 8 %631 = fdiv double %625, %630 store double %631, ptr %33, align 8 %632 = load ptr, ptr %21, align 8 %633 = load i32, ptr %632, align 4 %634 = add nsw i32 %633, 1 store i32 %634, ptr %632, align 4 %635 = load i32, ptr %39, align 4 %636 = icmp ne i32 %635, 0 br i1 %636, label %637, label %649 637: ; preds = %617 %638 = load i32, ptr @stdout, align 4 %639 = load ptr, ptr %21, align 8 %640 = load i32, ptr %639, align 4 %641 = load i32, ptr %38, align 4 %642 = load ptr, ptr %17, align 8 %643 = load i32, ptr %38, align 4 %644 = sext i32 %643 to i64 %645 = getelementptr inbounds double, ptr %642, i64 %644 %646 = load double, ptr %645, align 8 %647 = load double, ptr %33, align 8 %648 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %638, ptr noundef @.str.6, i32 noundef %640, i32 noundef %641, double noundef %646, double noundef %647) br label %649 649: ; preds = %637, %617 %650 = load ptr, ptr %17, align 8 %651 = load i32, ptr %38, align 4 %652 = sext i32 %651 to i64 %653 = getelementptr inbounds double, ptr %650, i64 %652 %654 = load double, ptr %653, align 8 store double %654, ptr %34, align 8 %655 = load ptr, ptr %21, align 8 %656 = load i32, ptr %655, align 4 %657 = icmp sgt i32 %656, 2000 br i1 %657, label %658, label %665 658: ; preds = %649 %659 = getelementptr inbounds [512 x i8], ptr %41, i64 0, i64 0 %660 = load double, ptr %33, align 8 %661 = load double, ptr %19, align 8 %662 = call i32 (ptr, ptr, double, double, ...) @sprintf(ptr noundef %659, ptr noundef @.str.7, double noundef %660, double noundef %661) %663 = getelementptr inbounds [512 x i8], ptr %41, i64 0, i64 0 %664 = call i32 @errorMsg(ptr noundef %663) store i32 32, ptr %12, align 4 br label %816 665: ; preds = %649 br label %666 666: ; preds = %665 %667 = load double, ptr %33, align 8 %668 = load double, ptr %19, align 8 %669 = fcmp ogt double %667, %668 br i1 %669, label %491, label %670, !llvm.loop !22 670: ; preds = %666 store i32 1, ptr %37, align 4 br label %671 671: ; preds = %708, %670 %672 = load i32, ptr %37, align 4 %673 = load i32, ptr %16, align 4 %674 = icmp sle i32 %672, %673 br i1 %674, label %675, label %711 675: ; preds = %671 %676 = load ptr, ptr %17, align 8 %677 = load i32, ptr %37, align 4 %678 = sext i32 %677 to i64 %679 = getelementptr inbounds double, ptr %676, i64 %678 %680 = load double, ptr %679, align 8 %681 = load double, ptr %20, align 8 %682 = fcmp ogt double %680, %681 br i1 %682, label %683, label %695 683: ; preds = %675 %684 = load ptr, ptr %17, align 8 %685 = load i32, ptr %37, align 4 %686 = sext i32 %685 to i64 %687 = getelementptr inbounds double, ptr %684, i64 %686 %688 = load double, ptr %687, align 8 %689 = load double, ptr %20, align 8 %690 = fsub double %688, %689 %691 = load ptr, ptr %17, align 8 %692 = load i32, ptr %37, align 4 %693 = sext i32 %692 to i64 %694 = getelementptr inbounds double, ptr %691, i64 %693 store double %690, ptr %694, align 8 br label %707 695: ; preds = %675 %696 = load double, ptr %20, align 8 %697 = load ptr, ptr %17, align 8 %698 = load i32, ptr %37, align 4 %699 = sext i32 %698 to i64 %700 = getelementptr inbounds double, ptr %697, i64 %699 %701 = load double, ptr %700, align 8 %702 = fsub double %696, %701 %703 = load ptr, ptr %17, align 8 %704 = load i32, ptr %37, align 4 %705 = sext i32 %704 to i64 %706 = getelementptr inbounds double, ptr %703, i64 %705 store double %702, ptr %706, align 8 br label %707 707: ; preds = %695, %683 br label %708 708: ; preds = %707 %709 = load i32, ptr %37, align 4 %710 = add nsw i32 %709, 1 store i32 %710, ptr %37, align 4 br label %671, !llvm.loop !23 711: ; preds = %671 %712 = load i32, ptr %23, align 4 %713 = icmp ne i32 %712, 0 br i1 %713, label %714, label %744 714: ; preds = %711 %715 = load i32, ptr @stdout, align 4 %716 = load ptr, ptr %21, align 8 %717 = load i32, ptr %716, align 4 %718 = load double, ptr %33, align 8 %719 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %715, ptr noundef @.str.8, i32 noundef %717, double noundef %718) store i32 1, ptr %37, align 4 br label %720 720: ; preds = %740, %714 %721 = load i32, ptr %37, align 4 %722 = load i32, ptr %16, align 4 %723 = icmp sle i32 %721, %722 br i1 %723, label %724, label %743 724: ; preds = %720 %725 = load i32, ptr @stdout, align 4 %726 = load i32, ptr %37, align 4 %727 = load ptr, ptr %40, align 8 %728 = load i32, ptr %37, align 4 %729 = sext i32 %728 to i64 %730 = getelementptr inbounds i32, ptr %727, i64 %729 %731 = load i32, ptr %730, align 4 %732 = load ptr, ptr %17, align 8 %733 = load i32, ptr %37, align 4 %734 = sext i32 %733 to i64 %735 = getelementptr inbounds double, ptr %732, i64 %734 %736 = load double, ptr %735, align 8 %737 = call double @sqrt(double noundef %736) #4 %738 = fdiv double %737, 0x401921FB54442D18 %739 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %725, ptr noundef @.str.9, i32 noundef %726, i32 noundef %731, double noundef %738) br label %740 740: ; preds = %724 %741 = load i32, ptr %37, align 4 %742 = add nsw i32 %741, 1 store i32 %742, ptr %37, align 4 br label %720, !llvm.loop !24 743: ; preds = %720 br label %744 744: ; preds = %743, %711 %745 = load ptr, ptr %13, align 8 %746 = load ptr, ptr %14, align 8 %747 = load i32, ptr %15, align 4 %748 = load i32, ptr %16, align 4 %749 = load double, ptr %20, align 8 %750 = load ptr, ptr %17, align 8 %751 = load i32, ptr %38, align 4 %752 = sext i32 %751 to i64 %753 = getelementptr inbounds double, ptr %750, i64 %752 %754 = load double, ptr %753, align 8 %755 = load double, ptr %19, align 8 %756 = fadd double %754, %755 %757 = load i32, ptr %23, align 4 %758 = call i32 @sturm(ptr noundef %745, ptr noundef %746, i32 noundef %747, i32 noundef %748, double noundef %749, double noundef %756, i32 noundef %757) %759 = load ptr, ptr %22, align 8 store i32 %758, ptr %759, align 4 store i32 1, ptr %35, align 4 br label %760 760: ; preds = %796, %744 %761 = load i32, ptr %35, align 4 %762 = load i32, ptr %15, align 4 %763 = icmp sle i32 %761, %762 br i1 %763, label %764, label %799 764: ; preds = %760 %765 = load i32, ptr %35, align 4 store i32 %765, ptr %36, align 4 br label %766 766: ; preds = %792, %764 %767 = load i32, ptr %36, align 4 %768 = load i32, ptr %15, align 4 %769 = icmp sle i32 %767, %768 br i1 %769, label %770, label %795 770: ; preds = %766 %771 = load double, ptr %20, align 8 %772 = load ptr, ptr %14, align 8 %773 = load i32, ptr %35, align 4 %774 = sext i32 %773 to i64 %775 = getelementptr inbounds ptr, ptr %772, i64 %774 %776 = load ptr, ptr %775, align 8 %777 = load i32, ptr %36, align 4 %778 = sext i32 %777 to i64 %779 = getelementptr inbounds double, ptr %776, i64 %778 %780 = load double, ptr %779, align 8 %781 = load ptr, ptr %13, align 8 %782 = load i32, ptr %35, align 4 %783 = sext i32 %782 to i64 %784 = getelementptr inbounds ptr, ptr %781, i64 %783 %785 = load ptr, ptr %784, align 8 %786 = load i32, ptr %36, align 4 %787 = sext i32 %786 to i64 %788 = getelementptr inbounds double, ptr %785, i64 %787 %789 = load double, ptr %788, align 8 %790 = fneg double %771 %791 = call double @llvm.fmuladd.f64(double %790, double %780, double %789) store double %791, ptr %788, align 8 br label %792 792: ; preds = %770 %793 = load i32, ptr %36, align 4 %794 = add nsw i32 %793, 1 store i32 %794, ptr %36, align 4 br label %766, !llvm.loop !25 795: ; preds = %766 br label %796 796: ; preds = %795 %797 = load i32, ptr %35, align 4 %798 = add nsw i32 %797, 1 store i32 %798, ptr %35, align 4 br label %760, !llvm.loop !26 799: ; preds = %760 %800 = load ptr, ptr %24, align 8 %801 = load i32, ptr %16, align 4 %802 = load i32, ptr %16, align 4 %803 = call i32 @free_dmatrix(ptr noundef %800, i32 noundef 1, i32 noundef %801, i32 noundef 1, i32 noundef %802) %804 = load ptr, ptr %25, align 8 %805 = load i32, ptr %16, align 4 %806 = load i32, ptr %16, align 4 %807 = call i32 @free_dmatrix(ptr noundef %804, i32 noundef 1, i32 noundef %805, i32 noundef 1, i32 noundef %806) %808 = load ptr, ptr %26, align 8 %809 = load i32, ptr %15, align 4 %810 = load i32, ptr %16, align 4 %811 = call i32 @free_dmatrix(ptr noundef %808, i32 noundef 1, i32 noundef %809, i32 noundef 1, i32 noundef %810) %812 = load ptr, ptr %27, align 8 %813 = load i32, ptr %16, align 4 %814 = load i32, ptr %16, align 4 %815 = call i32 @free_dmatrix(ptr noundef %812, i32 noundef 1, i32 noundef %813, i32 noundef 1, i32 noundef %814) store i32 0, ptr %12, align 4 br label %816 816: ; preds = %799, %658, %605, %258, %45 %817 = load i32, ptr %12, align 4 ret i32 %817 } declare i32 @sprintf(ptr noundef, ptr noundef, double noundef, double noundef, ...) #1 declare i32 @errorMsg(ptr noundef) #1 declare ptr @dvector(i32 noundef, i32 noundef) #1 declare ptr @dmatrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @ivector(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @ldl_dcmp(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @prodABj(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @ldl_mprove(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @xtAx(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @jacobi(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @prodAB(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @eigsort(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 declare i32 @sturm(ptr noundef, ptr noundef, i32 noundef, i32 noundef, double noundef, double noundef, i32 noundef) #1 declare i32 @free_dmatrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } 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} !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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphfpctiq1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [142 x i8] c"subspace: Number of eigen-values must be less than the problem dimension.\0A Desired number of eigen-values=%d \0A Dimension of the problem= %d \0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c" subspace: M[%d][%d] = %e \0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [20 x i8] c" RMS matrix error:\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%9.2e\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [48 x i8] c" subspace: Zero frequency found! \0A w[%d] = %e \0A\00", align 1 @.str.6 = private unnamed_addr constant [35 x i8] c" iter = %d w[%d] = %f error = %e\0A\00", align 1 @.str.7 = private unnamed_addr constant [60 x i8] c" subspace: Iteration limit exceeded\0A rel. error = %e > %e\0A\00", align 1 @.str.8 = private unnamed_addr constant [43 x i8] c" %4d sub-space iterations, error: %.4e \0A\00", align 1 @.str.9 = private unnamed_addr constant [33 x i8] c" mode: %2d\09DoF: %5d\09 %9.4lf Hz\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @subspace(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, double noundef %6, double noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef %10) #0 { %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %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 double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca double, align 8 %35 = alloca i32, align 4 %36 = alloca i32, align 4 %37 = alloca i32, align 4 %38 = alloca i32, align 4 %39 = alloca i32, align 4 %40 = alloca ptr, align 8 %41 = alloca [512 x i8], align 16 store ptr %0, ptr %13, align 8 store ptr %1, ptr %14, align 8 store i32 %2, ptr %15, align 4 store i32 %3, ptr %16, align 4 store ptr %4, ptr %17, align 8 store ptr %5, ptr %18, align 8 store double %6, ptr %19, align 8 store double %7, ptr %20, align 8 store ptr %8, ptr %21, align 8 store ptr %9, ptr %22, align 8 store i32 %10, ptr %23, align 4 store double 1.000000e+00, ptr %33, align 8 store double 0.000000e+00, ptr %34, align 8 store i32 0, ptr %35, align 4 store i32 0, ptr %36, align 4 store i32 0, ptr %37, align 4 store i32 0, ptr %39, align 4 %42 = load i32, ptr %16, align 4 %43 = load i32, ptr %15, align 4 %44 = icmp sgt i32 %42, %43 br i1 %44, label %45, label %54 45: ; preds = %11 %46 = getelementptr inbounds [512 x i8], ptr %41, i64 0, i64 0 %47 = load i32, ptr %16, align 4 %48 = sitofp i32 %47 to double %49 = load i32, ptr %15, align 4 %50 = sitofp i32 %49 to double %51 = call i32 (ptr, ptr, double, double, ...) @sprintf(ptr noundef %46, ptr noundef @.str, double noundef %48, double noundef %50) %52 = getelementptr inbounds [512 x i8], ptr %41, i64 0, i64 0 %53 = call i32 @errorMsg(ptr noundef %52) store i32 32, ptr %12, align 4 br label %853 54: ; preds = %11 %55 = load i32, ptr %15, align 4 %56 = call ptr @dvector(i32 noundef 1, i32 noundef %55) store ptr %56, ptr %28, align 8 %57 = load i32, ptr %15, align 4 %58 = call ptr @dvector(i32 noundef 1, i32 noundef %57) store ptr %58, ptr %29, align 8 %59 = load i32, ptr %15, align 4 %60 = call ptr @dvector(i32 noundef 1, i32 noundef %59) store ptr %60, ptr %30, align 8 %61 = load i32, ptr %16, align 4 %62 = load i32, ptr %16, align 4 %63 = call ptr @dmatrix(i32 noundef 1, i32 noundef %61, i32 noundef 1, i32 noundef %62) store ptr %63, ptr %24, align 8 %64 = load i32, ptr %16, align 4 %65 = load i32, ptr %16, align 4 %66 = call ptr @dmatrix(i32 noundef 1, i32 noundef %64, i32 noundef 1, i32 noundef %65) store ptr %66, ptr %25, align 8 %67 = load i32, ptr %15, align 4 %68 = load i32, ptr %16, align 4 %69 = call ptr @dmatrix(i32 noundef 1, i32 noundef %67, i32 noundef 1, i32 noundef %68) store ptr %69, ptr %26, align 8 %70 = load i32, ptr %16, align 4 %71 = load i32, ptr %16, align 4 %72 = call ptr @dmatrix(i32 noundef 1, i32 noundef %70, i32 noundef 1, i32 noundef %71) store ptr %72, ptr %27, align 8 %73 = load i32, ptr %16, align 4 %74 = call ptr @ivector(i32 noundef 1, i32 noundef %73) store ptr %74, ptr %40, align 8 store i32 1, ptr %35, align 4 %75 = load i32, ptr %35, align 4 %76 = load i32, ptr %16, align 4 %77 = icmp sle i32 %75, %76 br i1 %77, label %.lr.ph2, label %149 .lr.ph2: ; preds = %54 br label %78 78: ; preds = %.lr.ph2, %143 %79 = load ptr, ptr %40, align 8 %80 = load i32, ptr %35, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %79, i64 %81 store i32 0, ptr %82, align 4 %83 = load i32, ptr %35, align 4 store i32 %83, ptr %36, align 4 %84 = load i32, ptr %36, align 4 %85 = load i32, ptr %16, align 4 %86 = icmp sle i32 %84, %85 br i1 %86, label %.lr.ph, label %142 .lr.ph: ; preds = %78 br label %87 87: ; preds = %.lr.ph, %136 %88 = load ptr, ptr %27, align 8 %89 = load i32, ptr %36, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds ptr, ptr %88, i64 %90 %92 = load ptr, ptr %91, align 8 %93 = load i32, ptr %35, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds double, ptr %92, i64 %94 store double 0.000000e+00, ptr %95, align 8 %96 = load ptr, ptr %27, align 8 %97 = load i32, ptr %35, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds ptr, ptr %96, i64 %98 %100 = load ptr, ptr %99, align 8 %101 = load i32, ptr %36, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds double, ptr %100, i64 %102 store double 0.000000e+00, ptr %103, align 8 %104 = load ptr, ptr %25, align 8 %105 = load i32, ptr %36, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds ptr, ptr %104, i64 %106 %108 = load ptr, ptr %107, align 8 %109 = load i32, ptr %35, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds double, ptr %108, i64 %110 store double 0.000000e+00, ptr %111, align 8 %112 = load ptr, ptr %25, align 8 %113 = load i32, ptr %35, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds ptr, ptr %112, i64 %114 %116 = load ptr, ptr %115, align 8 %117 = load i32, ptr %36, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds double, ptr %116, i64 %118 store double 0.000000e+00, ptr %119, align 8 %120 = load ptr, ptr %24, align 8 %121 = load i32, ptr %36, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds ptr, ptr %120, i64 %122 %124 = load ptr, ptr %123, align 8 %125 = load i32, ptr %35, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds double, ptr %124, i64 %126 store double 0.000000e+00, ptr %127, align 8 %128 = load ptr, ptr %24, align 8 %129 = load i32, ptr %35, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds ptr, ptr %128, i64 %130 %132 = load ptr, ptr %131, align 8 %133 = load i32, ptr %36, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds double, ptr %132, i64 %134 store double 0.000000e+00, ptr %135, align 8 br label %136 136: ; preds = %87 %137 = load i32, ptr %36, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %36, align 4 %139 = load i32, ptr %36, align 4 %140 = load i32, ptr %16, align 4 %141 = icmp sle i32 %139, %140 br i1 %141, label %87, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %136 br label %142 142: ; preds = %._crit_edge, %78 br label %143 143: ; preds = %142 %144 = load i32, ptr %35, align 4 %145 = add nsw i32 %144, 1 store i32 %145, ptr %35, align 4 %146 = load i32, ptr %35, align 4 %147 = load i32, ptr %16, align 4 %148 = icmp sle i32 %146, %147 br i1 %148, label %78, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %143 br label %149 149: ; preds = %._crit_edge3, %54 store i32 1, ptr %35, align 4 %150 = load i32, ptr %35, align 4 %151 = load i32, ptr %15, align 4 %152 = icmp sle i32 %150, %151 br i1 %152, label %.lr.ph8, label %187 .lr.ph8: ; preds = %149 br label %153 153: ; preds = %.lr.ph8, %181 store i32 1, ptr %36, align 4 %154 = load i32, ptr %36, align 4 %155 = load i32, ptr %16, align 4 %156 = icmp sle i32 %154, %155 br i1 %156, label %.lr.ph5, label %180 .lr.ph5: ; preds = %153 br label %157 157: ; preds = %.lr.ph5, %174 %158 = load ptr, ptr %18, align 8 %159 = load i32, ptr %35, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds ptr, ptr %158, i64 %160 %162 = load ptr, ptr %161, align 8 %163 = load i32, ptr %36, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds double, ptr %162, i64 %164 store double 0.000000e+00, ptr %165, align 8 %166 = load ptr, ptr %26, align 8 %167 = load i32, ptr %35, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds ptr, ptr %166, i64 %168 %170 = load ptr, ptr %169, align 8 %171 = load i32, ptr %36, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds double, ptr %170, i64 %172 store double 0.000000e+00, ptr %173, align 8 br label %174 174: ; preds = %157 %175 = load i32, ptr %36, align 4 %176 = add nsw i32 %175, 1 store i32 %176, ptr %36, align 4 %177 = load i32, ptr %36, align 4 %178 = load i32, ptr %16, align 4 %179 = icmp sle i32 %177, %178 br i1 %179, label %157, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %174 br label %180 180: ; preds = %._crit_edge6, %153 br label %181 181: ; preds = %180 %182 = load i32, ptr %35, align 4 %183 = add nsw i32 %182, 1 store i32 %183, ptr %35, align 4 %184 = load i32, ptr %35, align 4 %185 = load i32, ptr %15, align 4 %186 = icmp sle i32 %184, %185 br i1 %186, label %153, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %181 br label %187 187: ; preds = %._crit_edge9, %149 %188 = load i32, ptr %16, align 4 %189 = sitofp i32 %188 to double %190 = fmul double 5.000000e-01, %189 %191 = load i32, ptr %16, align 4 %192 = sitofp i32 %191 to double %193 = fsub double %192, 8.000000e+00 %194 = fcmp ogt double %190, %193 br i1 %194, label %195, label %200 195: ; preds = %187 %196 = load i32, ptr %16, align 4 %197 = sitofp i32 %196 to double %198 = fdiv double %197, 2.000000e+00 %199 = fptosi double %198 to i32 br label %203 200: ; preds = %187 %201 = load i32, ptr %16, align 4 %202 = sub nsw i32 %201, 8 br label %203 203: ; preds = %200, %195 %204 = phi i32 [ %199, %195 ], [ %202, %200 ] store i32 %204, ptr %38, align 4 store i32 1, ptr %35, align 4 %205 = load i32, ptr %35, align 4 %206 = load i32, ptr %15, align 4 %207 = icmp sle i32 %205, %206 br i1 %207, label %.lr.ph14, label %247 .lr.ph14: ; preds = %203 br label %208 208: ; preds = %.lr.ph14, %241 %209 = load i32, ptr %35, align 4 store i32 %209, ptr %36, align 4 %210 = load i32, ptr %36, align 4 %211 = load i32, ptr %15, align 4 %212 = icmp sle i32 %210, %211 br i1 %212, label %.lr.ph11, label %240 .lr.ph11: ; preds = %208 br label %213 213: ; preds = %.lr.ph11, %234 %214 = load double, ptr %20, align 8 %215 = load ptr, ptr %14, align 8 %216 = load i32, ptr %35, align 4 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds ptr, ptr %215, i64 %217 %219 = load ptr, ptr %218, align 8 %220 = load i32, ptr %36, align 4 %221 = sext i32 %220 to i64 %222 = getelementptr inbounds double, ptr %219, i64 %221 %223 = load double, ptr %222, align 8 %224 = load ptr, ptr %13, align 8 %225 = load i32, ptr %35, align 4 %226 = sext i32 %225 to i64 %227 = getelementptr inbounds ptr, ptr %224, i64 %226 %228 = load ptr, ptr %227, align 8 %229 = load i32, ptr %36, align 4 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds double, ptr %228, i64 %230 %232 = load double, ptr %231, align 8 %233 = call double @llvm.fmuladd.f64(double %214, double %223, double %232) store double %233, ptr %231, align 8 br label %234 234: ; preds = %213 %235 = load i32, ptr %36, align 4 %236 = add nsw i32 %235, 1 store i32 %236, ptr %36, align 4 %237 = load i32, ptr %36, align 4 %238 = load i32, ptr %15, align 4 %239 = icmp sle i32 %237, %238 br i1 %239, label %213, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %234 br label %240 240: ; preds = %._crit_edge12, %208 br label %241 241: ; preds = %240 %242 = load i32, ptr %35, align 4 %243 = add nsw i32 %242, 1 store i32 %243, ptr %35, align 4 %244 = load i32, ptr %35, align 4 %245 = load i32, ptr %15, align 4 %246 = icmp sle i32 %244, %245 br i1 %246, label %208, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %241 br label %247 247: ; preds = %._crit_edge15, %203 %248 = load ptr, ptr %13, align 8 %249 = load i32, ptr %15, align 4 %250 = load ptr, ptr %29, align 8 %251 = load ptr, ptr %30, align 8 %252 = load ptr, ptr %30, align 8 %253 = load ptr, ptr %22, align 8 %254 = call i32 @ldl_dcmp(ptr noundef %248, i32 noundef %249, ptr noundef %250, ptr noundef %251, ptr noundef %252, i32 noundef 1, i32 noundef 0, ptr noundef %253) store i32 1, ptr %35, align 4 %255 = load i32, ptr %35, align 4 %256 = load i32, ptr %15, align 4 %257 = icmp sle i32 %255, %256 br i1 %257, label %.lr.ph17, label %317 .lr.ph17: ; preds = %247 br label %258 258: ; preds = %.lr.ph17, %311 %259 = load ptr, ptr %14, align 8 %260 = load i32, ptr %35, align 4 %261 = sext i32 %260 to i64 %262 = getelementptr inbounds ptr, ptr %259, i64 %261 %263 = load ptr, ptr %262, align 8 %264 = load i32, ptr %35, align 4 %265 = sext i32 %264 to i64 %266 = getelementptr inbounds double, ptr %263, i64 %265 %267 = load double, ptr %266, align 8 %268 = fcmp ole double %267, 0.000000e+00 br i1 %268, label %269, label %287 269: ; preds = %258 %270 = getelementptr inbounds [512 x i8], ptr %41, i64 0, i64 0 %271 = load i32, ptr %35, align 4 %272 = sitofp i32 %271 to double %273 = load i32, ptr %35, align 4 %274 = sitofp i32 %273 to double %275 = load ptr, ptr %14, align 8 %276 = load i32, ptr %35, align 4 %277 = sext i32 %276 to i64 %278 = getelementptr inbounds ptr, ptr %275, i64 %277 %279 = load ptr, ptr %278, align 8 %280 = load i32, ptr %35, align 4 %281 = sext i32 %280 to i64 %282 = getelementptr inbounds double, ptr %279, i64 %281 %283 = load double, ptr %282, align 8 %284 = call i32 (ptr, ptr, double, double, ...) @sprintf(ptr noundef %270, ptr noundef @.str.1, double noundef %272, double noundef %274, double noundef %283) %285 = getelementptr inbounds [512 x i8], ptr %41, i64 0, i64 0 %286 = call i32 @errorMsg(ptr noundef %285) store i32 32, ptr %12, align 4 br label %853 287: ; preds = %258 %288 = load ptr, ptr %13, align 8 %289 = load i32, ptr %35, align 4 %290 = sext i32 %289 to i64 %291 = getelementptr inbounds ptr, ptr %288, i64 %290 %292 = load ptr, ptr %291, align 8 %293 = load i32, ptr %35, align 4 %294 = sext i32 %293 to i64 %295 = getelementptr inbounds double, ptr %292, i64 %294 %296 = load double, ptr %295, align 8 %297 = load ptr, ptr %14, align 8 %298 = load i32, ptr %35, align 4 %299 = sext i32 %298 to i64 %300 = getelementptr inbounds ptr, ptr %297, i64 %299 %301 = load ptr, ptr %300, align 8 %302 = load i32, ptr %35, align 4 %303 = sext i32 %302 to i64 %304 = getelementptr inbounds double, ptr %301, i64 %303 %305 = load double, ptr %304, align 8 %306 = fdiv double %296, %305 %307 = load ptr, ptr %28, align 8 %308 = load i32, ptr %35, align 4 %309 = sext i32 %308 to i64 %310 = getelementptr inbounds double, ptr %307, i64 %309 store double %306, ptr %310, align 8 br label %311 311: ; preds = %287 %312 = load i32, ptr %35, align 4 %313 = add nsw i32 %312, 1 store i32 %313, ptr %35, align 4 %314 = load i32, ptr %35, align 4 %315 = load i32, ptr %15, align 4 %316 = icmp sle i32 %314, %315 br i1 %316, label %258, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %311 br label %317 317: ; preds = %._crit_edge18, %247 store double 0.000000e+00, ptr %32, align 8 store i32 1, ptr %37, align 4 %318 = load i32, ptr %37, align 4 %319 = load i32, ptr %16, align 4 %320 = icmp sle i32 %318, %319 br i1 %320, label %.lr.ph29, label %447 .lr.ph29: ; preds = %317 br label %321 321: ; preds = %.lr.ph29, %441 %322 = load ptr, ptr %28, align 8 %323 = getelementptr inbounds double, ptr %322, i64 1 %324 = load double, ptr %323, align 8 store double %324, ptr %31, align 8 store i32 1, ptr %35, align 4 %325 = load i32, ptr %35, align 4 %326 = load i32, ptr %15, align 4 %327 = icmp sle i32 %325, %326 br i1 %327, label %.lr.ph23, label %391 .lr.ph23: ; preds = %321 br label %328 328: ; preds = %.lr.ph23, %385 %329 = load double, ptr %32, align 8 %330 = load ptr, ptr %28, align 8 %331 = load i32, ptr %35, align 4 %332 = sext i32 %331 to i64 %333 = getelementptr inbounds double, ptr %330, i64 %332 %334 = load double, ptr %333, align 8 %335 = fcmp ole double %329, %334 br i1 %335, label %336, label %384 336: ; preds = %328 %337 = load ptr, ptr %28, align 8 %338 = load i32, ptr %35, align 4 %339 = sext i32 %338 to i64 %340 = getelementptr inbounds double, ptr %337, i64 %339 %341 = load double, ptr %340, align 8 %342 = load double, ptr %31, align 8 %343 = fcmp ole double %341, %342 br i1 %343, label %344, label %384 344: ; preds = %336 %345 = load ptr, ptr %22, align 8 store i32 1, ptr %345, align 4 store i32 1, ptr %36, align 4 %346 = load i32, ptr %36, align 4 %347 = load i32, ptr %37, align 4 %348 = sub nsw i32 %347, 1 %349 = icmp sle i32 %346, %348 br i1 %349, label %.lr.ph20, label %368 .lr.ph20: ; preds = %344 br label %350 350: ; preds = %.lr.ph20, %361 %351 = load i32, ptr %35, align 4 %352 = load ptr, ptr %40, align 8 %353 = load i32, ptr %36, align 4 %354 = sext i32 %353 to i64 %355 = getelementptr inbounds i32, ptr %352, i64 %354 %356 = load i32, ptr %355, align 4 %357 = icmp eq i32 %351, %356 br i1 %357, label %358, label %360 358: ; preds = %350 %359 = load ptr, ptr %22, align 8 store i32 0, ptr %359, align 4 br label %360 360: ; preds = %358, %350 br label %361 361: ; preds = %360 %362 = load i32, ptr %36, align 4 %363 = add nsw i32 %362, 1 store i32 %363, ptr %36, align 4 %364 = load i32, ptr %36, align 4 %365 = load i32, ptr %37, align 4 %366 = sub nsw i32 %365, 1 %367 = icmp sle i32 %364, %366 br i1 %367, label %350, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %361 br label %368 368: ; preds = %._crit_edge21, %344 %369 = load ptr, ptr %22, align 8 %370 = load i32, ptr %369, align 4 %371 = icmp ne i32 %370, 0 br i1 %371, label %372, label %383 372: ; preds = %368 %373 = load ptr, ptr %28, align 8 %374 = load i32, ptr %35, align 4 %375 = sext i32 %374 to i64 %376 = getelementptr inbounds double, ptr %373, i64 %375 %377 = load double, ptr %376, align 8 store double %377, ptr %31, align 8 %378 = load i32, ptr %35, align 4 %379 = load ptr, ptr %40, align 8 %380 = load i32, ptr %37, align 4 %381 = sext i32 %380 to i64 %382 = getelementptr inbounds i32, ptr %379, i64 %381 store i32 %378, ptr %382, align 4 br label %383 383: ; preds = %372, %368 br label %384 384: ; preds = %383, %336, %328 br label %385 385: ; preds = %384 %386 = load i32, ptr %35, align 4 %387 = add nsw i32 %386, 1 store i32 %387, ptr %35, align 4 %388 = load i32, ptr %35, align 4 %389 = load i32, ptr %15, align 4 %390 = icmp sle i32 %388, %389 br i1 %390, label %328, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %385 br label %391 391: ; preds = %._crit_edge24, %321 %392 = load ptr, ptr %40, align 8 %393 = load i32, ptr %37, align 4 %394 = sext i32 %393 to i64 %395 = getelementptr inbounds i32, ptr %392, i64 %394 %396 = load i32, ptr %395, align 4 %397 = icmp eq i32 %396, 0 br i1 %397, label %398, label %439 398: ; preds = %391 %399 = load ptr, ptr %40, align 8 %400 = getelementptr inbounds i32, ptr %399, i64 1 %401 = load i32, ptr %400, align 4 store i32 %401, ptr %35, align 4 store i32 1, ptr %36, align 4 %402 = load i32, ptr %36, align 4 %403 = load i32, ptr %37, align 4 %404 = icmp slt i32 %402, %403 br i1 %404, label %.lr.ph26, label %426 .lr.ph26: ; preds = %398 br label %405 405: ; preds = %.lr.ph26, %420 %406 = load i32, ptr %35, align 4 %407 = load ptr, ptr %40, align 8 %408 = load i32, ptr %36, align 4 %409 = sext i32 %408 to i64 %410 = getelementptr inbounds i32, ptr %407, i64 %409 %411 = load i32, ptr %410, align 4 %412 = icmp slt i32 %406, %411 br i1 %412, label %413, label %419 413: ; preds = %405 %414 = load ptr, ptr %40, align 8 %415 = load i32, ptr %36, align 4 %416 = sext i32 %415 to i64 %417 = getelementptr inbounds i32, ptr %414, i64 %416 %418 = load i32, ptr %417, align 4 store i32 %418, ptr %35, align 4 br label %419 419: ; preds = %413, %405 br label %420 420: ; preds = %419 %421 = load i32, ptr %36, align 4 %422 = add nsw i32 %421, 1 store i32 %422, ptr %36, align 4 %423 = load i32, ptr %36, align 4 %424 = load i32, ptr %37, align 4 %425 = icmp slt i32 %423, %424 br i1 %425, label %405, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %420 br label %426 426: ; preds = %._crit_edge27, %398 %427 = load i32, ptr %35, align 4 %428 = add nsw i32 %427, 1 %429 = load ptr, ptr %40, align 8 %430 = load i32, ptr %37, align 4 %431 = sext i32 %430 to i64 %432 = getelementptr inbounds i32, ptr %429, i64 %431 store i32 %428, ptr %432, align 4 %433 = load ptr, ptr %28, align 8 %434 = load i32, ptr %35, align 4 %435 = add nsw i32 %434, 1 %436 = sext i32 %435 to i64 %437 = getelementptr inbounds double, ptr %433, i64 %436 %438 = load double, ptr %437, align 8 store double %438, ptr %31, align 8 br label %439 439: ; preds = %426, %391 %440 = load double, ptr %31, align 8 store double %440, ptr %32, align 8 br label %441 441: ; preds = %439 %442 = load i32, ptr %37, align 4 %443 = add nsw i32 %442, 1 store i32 %443, ptr %37, align 4 %444 = load i32, ptr %37, align 4 %445 = load i32, ptr %16, align 4 %446 = icmp sle i32 %444, %445 br i1 %446, label %321, label %._crit_edge30, !llvm.loop !17 ._crit_edge30: ; preds = %441 br label %447 447: ; preds = %._crit_edge30, %317 store i32 1, ptr %37, align 4 %448 = load i32, ptr %37, align 4 %449 = load i32, ptr %16, align 4 %450 = icmp sle i32 %448, %449 br i1 %450, label %.lr.ph32, label %514 .lr.ph32: ; preds = %447 br label %451 451: ; preds = %.lr.ph32, %508 %452 = load ptr, ptr %18, align 8 %453 = load ptr, ptr %40, align 8 %454 = load i32, ptr %37, align 4 %455 = sext i32 %454 to i64 %456 = getelementptr inbounds i32, ptr %453, i64 %455 %457 = load i32, ptr %456, align 4 %458 = sext i32 %457 to i64 %459 = getelementptr inbounds ptr, ptr %452, i64 %458 %460 = load ptr, ptr %459, align 8 %461 = load i32, ptr %37, align 4 %462 = sext i32 %461 to i64 %463 = getelementptr inbounds double, ptr %460, i64 %462 store double 1.000000e+00, ptr %463, align 8 %464 = load ptr, ptr %40, align 8 %465 = load i32, ptr %37, align 4 %466 = sext i32 %465 to i64 %467 = getelementptr inbounds i32, ptr %464, i64 %466 %468 = load i32, ptr %467, align 4 %469 = srem i32 %468, 6 %470 = load ptr, ptr %22, align 8 store i32 %469, ptr %470, align 4 %471 = load ptr, ptr %22, align 8 %472 = load i32, ptr %471, align 4 switch i32 %472, label %479 [ i32 1, label %473 i32 2, label %474 i32 3, label %475 i32 4, label %476 i32 5, label %477 i32 0, label %478 ] 473: ; preds = %451 store i32 1, ptr %35, align 4 store i32 2, ptr %36, align 4 br label %479 474: ; preds = %451 store i32 -1, ptr %35, align 4 store i32 1, ptr %36, align 4 br label %479 475: ; preds = %451 store i32 -1, ptr %35, align 4 store i32 -2, ptr %36, align 4 br label %479 476: ; preds = %451 store i32 1, ptr %35, align 4 store i32 2, ptr %36, align 4 br label %479 477: ; preds = %451 store i32 -1, ptr %35, align 4 store i32 1, ptr %36, align 4 br label %479 478: ; preds = %451 store i32 -1, ptr %35, align 4 store i32 -2, ptr %36, align 4 br label %479 479: ; preds = %478, %477, %476, %475, %474, %473, %451 %480 = load ptr, ptr %18, align 8 %481 = load ptr, ptr %40, align 8 %482 = load i32, ptr %37, align 4 %483 = sext i32 %482 to i64 %484 = getelementptr inbounds i32, ptr %481, i64 %483 %485 = load i32, ptr %484, align 4 %486 = load i32, ptr %35, align 4 %487 = add nsw i32 %485, %486 %488 = sext i32 %487 to i64 %489 = getelementptr inbounds ptr, ptr %480, i64 %488 %490 = load ptr, ptr %489, align 8 %491 = load i32, ptr %37, align 4 %492 = sext i32 %491 to i64 %493 = getelementptr inbounds double, ptr %490, i64 %492 store double 2.000000e-01, ptr %493, align 8 %494 = load ptr, ptr %18, align 8 %495 = load ptr, ptr %40, align 8 %496 = load i32, ptr %37, align 4 %497 = sext i32 %496 to i64 %498 = getelementptr inbounds i32, ptr %495, i64 %497 %499 = load i32, ptr %498, align 4 %500 = load i32, ptr %36, align 4 %501 = add nsw i32 %499, %500 %502 = sext i32 %501 to i64 %503 = getelementptr inbounds ptr, ptr %494, i64 %502 %504 = load ptr, ptr %503, align 8 %505 = load i32, ptr %37, align 4 %506 = sext i32 %505 to i64 %507 = getelementptr inbounds double, ptr %504, i64 %506 store double 2.000000e-01, ptr %507, align 8 br label %508 508: ; preds = %479 %509 = load i32, ptr %37, align 4 %510 = add nsw i32 %509, 1 store i32 %510, ptr %37, align 4 %511 = load i32, ptr %37, align 4 %512 = load i32, ptr %16, align 4 %513 = icmp sle i32 %511, %512 br i1 %513, label %451, label %._crit_edge33, !llvm.loop !18 ._crit_edge33: ; preds = %508 br label %514 514: ; preds = %._crit_edge33, %447 %515 = load ptr, ptr %21, align 8 store i32 0, ptr %515, align 4 br label %516 516: ; preds = %695, %514 store i32 1, ptr %37, align 4 %517 = load i32, ptr %37, align 4 %518 = load i32, ptr %16, align 4 %519 = icmp sle i32 %517, %518 br i1 %519, label %.lr.ph38, label %597 .lr.ph38: ; preds = %516 br label %520 520: ; preds = %.lr.ph38, %591 %521 = load ptr, ptr %14, align 8 %522 = load ptr, ptr %18, align 8 %523 = load ptr, ptr %30, align 8 %524 = load i32, ptr %15, align 4 %525 = load i32, ptr %37, align 4 %526 = call i32 @prodABj(ptr noundef %521, ptr noundef %522, ptr noundef %523, i32 noundef %524, i32 noundef %525) %527 = load ptr, ptr %13, align 8 %528 = load i32, ptr %15, align 4 %529 = load ptr, ptr %29, align 8 %530 = load ptr, ptr %30, align 8 %531 = load ptr, ptr %28, align 8 %532 = load ptr, ptr %22, align 8 %533 = call i32 @ldl_dcmp(ptr noundef %527, i32 noundef %528, ptr noundef %529, ptr noundef %530, ptr noundef %531, i32 noundef 0, i32 noundef 1, ptr noundef %532) %534 = load i32, ptr %39, align 4 %535 = icmp ne i32 %534, 0 br i1 %535, label %536, label %539 536: ; preds = %520 %537 = load i32, ptr @stdout, align 4 %538 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %537, ptr noundef @.str.2) br label %539 539: ; preds = %536, %520 %540 = load ptr, ptr %22, align 8 store i32 1, ptr %540, align 4 store double 1.000000e+00, ptr %33, align 8 br label %541 541: ; preds = %556, %539 %542 = load ptr, ptr %13, align 8 %543 = load i32, ptr %15, align 4 %544 = load ptr, ptr %29, align 8 %545 = load ptr, ptr %30, align 8 %546 = load ptr, ptr %28, align 8 %547 = load ptr, ptr %22, align 8 %548 = call i32 @ldl_mprove(ptr noundef %542, i32 noundef %543, ptr noundef %544, ptr noundef %545, ptr noundef %546, ptr noundef %33, ptr noundef %547) %549 = load i32, ptr %39, align 4 %550 = icmp ne i32 %549, 0 br i1 %550, label %551, label %555 551: ; preds = %541 %552 = load i32, ptr @stdout, align 4 %553 = load double, ptr %33, align 8 %554 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %552, ptr noundef @.str.3, double noundef %553) br label %555 555: ; preds = %551, %541 br label %556 556: ; preds = %555 %557 = load ptr, ptr %22, align 8 %558 = load i32, ptr %557, align 4 %559 = icmp ne i32 %558, 0 br i1 %559, label %541, label %560, !llvm.loop !19 560: ; preds = %556 %561 = load i32, ptr %39, align 4 %562 = icmp ne i32 %561, 0 br i1 %562, label %563, label %566 563: ; preds = %560 %564 = load i32, ptr @stdout, align 4 %565 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %564, ptr noundef @.str.4) br label %566 566: ; preds = %563, %560 store i32 1, ptr %35, align 4 %567 = load i32, ptr %35, align 4 %568 = load i32, ptr %15, align 4 %569 = icmp sle i32 %567, %568 br i1 %569, label %.lr.ph35, label %590 .lr.ph35: ; preds = %566 br label %570 570: ; preds = %.lr.ph35, %584 %571 = load ptr, ptr %28, align 8 %572 = load i32, ptr %35, align 4 %573 = sext i32 %572 to i64 %574 = getelementptr inbounds double, ptr %571, i64 %573 %575 = load double, ptr %574, align 8 %576 = load ptr, ptr %26, align 8 %577 = load i32, ptr %35, align 4 %578 = sext i32 %577 to i64 %579 = getelementptr inbounds ptr, ptr %576, i64 %578 %580 = load ptr, ptr %579, align 8 %581 = load i32, ptr %37, align 4 %582 = sext i32 %581 to i64 %583 = getelementptr inbounds double, ptr %580, i64 %582 store double %575, ptr %583, align 8 br label %584 584: ; preds = %570 %585 = load i32, ptr %35, align 4 %586 = add nsw i32 %585, 1 store i32 %586, ptr %35, align 4 %587 = load i32, ptr %35, align 4 %588 = load i32, ptr %15, align 4 %589 = icmp sle i32 %587, %588 br i1 %589, label %570, label %._crit_edge36, !llvm.loop !20 ._crit_edge36: ; preds = %584 br label %590 590: ; preds = %._crit_edge36, %566 br label %591 591: ; preds = %590 %592 = load i32, ptr %37, align 4 %593 = add nsw i32 %592, 1 store i32 %593, ptr %37, align 4 %594 = load i32, ptr %37, align 4 %595 = load i32, ptr %16, align 4 %596 = icmp sle i32 %594, %595 br i1 %596, label %520, label %._crit_edge39, !llvm.loop !21 ._crit_edge39: ; preds = %591 br label %597 597: ; preds = %._crit_edge39, %516 %598 = load ptr, ptr %13, align 8 %599 = load ptr, ptr %26, align 8 %600 = load ptr, ptr %24, align 8 %601 = load i32, ptr %15, align 4 %602 = load i32, ptr %16, align 4 %603 = call i32 @xtAx(ptr noundef %598, ptr noundef %599, ptr noundef %600, i32 noundef %601, i32 noundef %602) %604 = load ptr, ptr %14, align 8 %605 = load ptr, ptr %26, align 8 %606 = load ptr, ptr %25, align 8 %607 = load i32, ptr %15, align 4 %608 = load i32, ptr %16, align 4 %609 = call i32 @xtAx(ptr noundef %604, ptr noundef %605, ptr noundef %606, i32 noundef %607, i32 noundef %608) %610 = load ptr, ptr %24, align 8 %611 = load ptr, ptr %25, align 8 %612 = load ptr, ptr %17, align 8 %613 = load ptr, ptr %27, align 8 %614 = load i32, ptr %16, align 4 %615 = call i32 @jacobi(ptr noundef %610, ptr noundef %611, ptr noundef %612, ptr noundef %613, i32 noundef %614) %616 = load ptr, ptr %26, align 8 %617 = load ptr, ptr %27, align 8 %618 = load ptr, ptr %18, align 8 %619 = load i32, ptr %15, align 4 %620 = load i32, ptr %16, align 4 %621 = load i32, ptr %16, align 4 %622 = call i32 @prodAB(ptr noundef %616, ptr noundef %617, ptr noundef %618, i32 noundef %619, i32 noundef %620, i32 noundef %621) %623 = load ptr, ptr %17, align 8 %624 = load ptr, ptr %18, align 8 %625 = load i32, ptr %15, align 4 %626 = load i32, ptr %16, align 4 %627 = call i32 @eigsort(ptr noundef %623, ptr noundef %624, i32 noundef %625, i32 noundef %626) %628 = load ptr, ptr %17, align 8 %629 = load i32, ptr %38, align 4 %630 = sext i32 %629 to i64 %631 = getelementptr inbounds double, ptr %628, i64 %630 %632 = load double, ptr %631, align 8 %633 = fcmp oeq double %632, 0.000000e+00 br i1 %633, label %634, label %646 634: ; preds = %597 %635 = getelementptr inbounds [512 x i8], ptr %41, i64 0, i64 0 %636 = load i32, ptr %38, align 4 %637 = sitofp i32 %636 to double %638 = load ptr, ptr %17, align 8 %639 = load i32, ptr %38, align 4 %640 = sext i32 %639 to i64 %641 = getelementptr inbounds double, ptr %638, i64 %640 %642 = load double, ptr %641, align 8 %643 = call i32 (ptr, ptr, double, double, ...) @sprintf(ptr noundef %635, ptr noundef @.str.5, double noundef %637, double noundef %642) %644 = getelementptr inbounds [512 x i8], ptr %41, i64 0, i64 0 %645 = call i32 @errorMsg(ptr noundef %644) store i32 32, ptr %12, align 4 br label %853 646: ; preds = %597 %647 = load ptr, ptr %17, align 8 %648 = load i32, ptr %38, align 4 %649 = sext i32 %648 to i64 %650 = getelementptr inbounds double, ptr %647, i64 %649 %651 = load double, ptr %650, align 8 %652 = load double, ptr %34, align 8 %653 = fsub double %651, %652 %654 = call double @llvm.fabs.f64(double %653) %655 = load ptr, ptr %17, align 8 %656 = load i32, ptr %38, align 4 %657 = sext i32 %656 to i64 %658 = getelementptr inbounds double, ptr %655, i64 %657 %659 = load double, ptr %658, align 8 %660 = fdiv double %654, %659 store double %660, ptr %33, align 8 %661 = load ptr, ptr %21, align 8 %662 = load i32, ptr %661, align 4 %663 = add nsw i32 %662, 1 store i32 %663, ptr %661, align 4 %664 = load i32, ptr %39, align 4 %665 = icmp ne i32 %664, 0 br i1 %665, label %666, label %678 666: ; preds = %646 %667 = load i32, ptr @stdout, align 4 %668 = load ptr, ptr %21, align 8 %669 = load i32, ptr %668, align 4 %670 = load i32, ptr %38, align 4 %671 = load ptr, ptr %17, align 8 %672 = load i32, ptr %38, align 4 %673 = sext i32 %672 to i64 %674 = getelementptr inbounds double, ptr %671, i64 %673 %675 = load double, ptr %674, align 8 %676 = load double, ptr %33, align 8 %677 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %667, ptr noundef @.str.6, i32 noundef %669, i32 noundef %670, double noundef %675, double noundef %676) br label %678 678: ; preds = %666, %646 %679 = load ptr, ptr %17, align 8 %680 = load i32, ptr %38, align 4 %681 = sext i32 %680 to i64 %682 = getelementptr inbounds double, ptr %679, i64 %681 %683 = load double, ptr %682, align 8 store double %683, ptr %34, align 8 %684 = load ptr, ptr %21, align 8 %685 = load i32, ptr %684, align 4 %686 = icmp sgt i32 %685, 2000 br i1 %686, label %687, label %694 687: ; preds = %678 %688 = getelementptr inbounds [512 x i8], ptr %41, i64 0, i64 0 %689 = load double, ptr %33, align 8 %690 = load double, ptr %19, align 8 %691 = call i32 (ptr, ptr, double, double, ...) @sprintf(ptr noundef %688, ptr noundef @.str.7, double noundef %689, double noundef %690) %692 = getelementptr inbounds [512 x i8], ptr %41, i64 0, i64 0 %693 = call i32 @errorMsg(ptr noundef %692) store i32 32, ptr %12, align 4 br label %853 694: ; preds = %678 br label %695 695: ; preds = %694 %696 = load double, ptr %33, align 8 %697 = load double, ptr %19, align 8 %698 = fcmp ogt double %696, %697 br i1 %698, label %516, label %699, !llvm.loop !22 699: ; preds = %695 store i32 1, ptr %37, align 4 %700 = load i32, ptr %37, align 4 %701 = load i32, ptr %16, align 4 %702 = icmp sle i32 %700, %701 br i1 %702, label %.lr.ph41, label %742 .lr.ph41: ; preds = %699 br label %703 703: ; preds = %.lr.ph41, %736 %704 = load ptr, ptr %17, align 8 %705 = load i32, ptr %37, align 4 %706 = sext i32 %705 to i64 %707 = getelementptr inbounds double, ptr %704, i64 %706 %708 = load double, ptr %707, align 8 %709 = load double, ptr %20, align 8 %710 = fcmp ogt double %708, %709 br i1 %710, label %711, label %723 711: ; preds = %703 %712 = load ptr, ptr %17, align 8 %713 = load i32, ptr %37, align 4 %714 = sext i32 %713 to i64 %715 = getelementptr inbounds double, ptr %712, i64 %714 %716 = load double, ptr %715, align 8 %717 = load double, ptr %20, align 8 %718 = fsub double %716, %717 %719 = load ptr, ptr %17, align 8 %720 = load i32, ptr %37, align 4 %721 = sext i32 %720 to i64 %722 = getelementptr inbounds double, ptr %719, i64 %721 store double %718, ptr %722, align 8 br label %735 723: ; preds = %703 %724 = load double, ptr %20, align 8 %725 = load ptr, ptr %17, align 8 %726 = load i32, ptr %37, align 4 %727 = sext i32 %726 to i64 %728 = getelementptr inbounds double, ptr %725, i64 %727 %729 = load double, ptr %728, align 8 %730 = fsub double %724, %729 %731 = load ptr, ptr %17, align 8 %732 = load i32, ptr %37, align 4 %733 = sext i32 %732 to i64 %734 = getelementptr inbounds double, ptr %731, i64 %733 store double %730, ptr %734, align 8 br label %735 735: ; preds = %723, %711 br label %736 736: ; preds = %735 %737 = load i32, ptr %37, align 4 %738 = add nsw i32 %737, 1 store i32 %738, ptr %37, align 4 %739 = load i32, ptr %37, align 4 %740 = load i32, ptr %16, align 4 %741 = icmp sle i32 %739, %740 br i1 %741, label %703, label %._crit_edge42, !llvm.loop !23 ._crit_edge42: ; preds = %736 br label %742 742: ; preds = %._crit_edge42, %699 %743 = load i32, ptr %23, align 4 %744 = icmp ne i32 %743, 0 br i1 %744, label %745, label %777 745: ; preds = %742 %746 = load i32, ptr @stdout, align 4 %747 = load ptr, ptr %21, align 8 %748 = load i32, ptr %747, align 4 %749 = load double, ptr %33, align 8 %750 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %746, ptr noundef @.str.8, i32 noundef %748, double noundef %749) store i32 1, ptr %37, align 4 %751 = load i32, ptr %37, align 4 %752 = load i32, ptr %16, align 4 %753 = icmp sle i32 %751, %752 br i1 %753, label %.lr.ph44, label %776 .lr.ph44: ; preds = %745 br label %754 754: ; preds = %.lr.ph44, %770 %755 = load i32, ptr @stdout, align 4 %756 = load i32, ptr %37, align 4 %757 = load ptr, ptr %40, align 8 %758 = load i32, ptr %37, align 4 %759 = sext i32 %758 to i64 %760 = getelementptr inbounds i32, ptr %757, i64 %759 %761 = load i32, ptr %760, align 4 %762 = load ptr, ptr %17, align 8 %763 = load i32, ptr %37, align 4 %764 = sext i32 %763 to i64 %765 = getelementptr inbounds double, ptr %762, i64 %764 %766 = load double, ptr %765, align 8 %767 = call double @sqrt(double noundef %766) #4 %768 = fdiv double %767, 0x401921FB54442D18 %769 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %755, ptr noundef @.str.9, i32 noundef %756, i32 noundef %761, double noundef %768) br label %770 770: ; preds = %754 %771 = load i32, ptr %37, align 4 %772 = add nsw i32 %771, 1 store i32 %772, ptr %37, align 4 %773 = load i32, ptr %37, align 4 %774 = load i32, ptr %16, align 4 %775 = icmp sle i32 %773, %774 br i1 %775, label %754, label %._crit_edge45, !llvm.loop !24 ._crit_edge45: ; preds = %770 br label %776 776: ; preds = %._crit_edge45, %745 br label %777 777: ; preds = %776, %742 %778 = load ptr, ptr %13, align 8 %779 = load ptr, ptr %14, align 8 %780 = load i32, ptr %15, align 4 %781 = load i32, ptr %16, align 4 %782 = load double, ptr %20, align 8 %783 = load ptr, ptr %17, align 8 %784 = load i32, ptr %38, align 4 %785 = sext i32 %784 to i64 %786 = getelementptr inbounds double, ptr %783, i64 %785 %787 = load double, ptr %786, align 8 %788 = load double, ptr %19, align 8 %789 = fadd double %787, %788 %790 = load i32, ptr %23, align 4 %791 = call i32 @sturm(ptr noundef %778, ptr noundef %779, i32 noundef %780, i32 noundef %781, double noundef %782, double noundef %789, i32 noundef %790) %792 = load ptr, ptr %22, align 8 store i32 %791, ptr %792, align 4 store i32 1, ptr %35, align 4 %793 = load i32, ptr %35, align 4 %794 = load i32, ptr %15, align 4 %795 = icmp sle i32 %793, %794 br i1 %795, label %.lr.ph50, label %836 .lr.ph50: ; preds = %777 br label %796 796: ; preds = %.lr.ph50, %830 %797 = load i32, ptr %35, align 4 store i32 %797, ptr %36, align 4 %798 = load i32, ptr %36, align 4 %799 = load i32, ptr %15, align 4 %800 = icmp sle i32 %798, %799 br i1 %800, label %.lr.ph47, label %829 .lr.ph47: ; preds = %796 br label %801 801: ; preds = %.lr.ph47, %823 %802 = load double, ptr %20, align 8 %803 = load ptr, ptr %14, align 8 %804 = load i32, ptr %35, align 4 %805 = sext i32 %804 to i64 %806 = getelementptr inbounds ptr, ptr %803, i64 %805 %807 = load ptr, ptr %806, align 8 %808 = load i32, ptr %36, align 4 %809 = sext i32 %808 to i64 %810 = getelementptr inbounds double, ptr %807, i64 %809 %811 = load double, ptr %810, align 8 %812 = load ptr, ptr %13, align 8 %813 = load i32, ptr %35, align 4 %814 = sext i32 %813 to i64 %815 = getelementptr inbounds ptr, ptr %812, i64 %814 %816 = load ptr, ptr %815, align 8 %817 = load i32, ptr %36, align 4 %818 = sext i32 %817 to i64 %819 = getelementptr inbounds double, ptr %816, i64 %818 %820 = load double, ptr %819, align 8 %821 = fneg double %802 %822 = call double @llvm.fmuladd.f64(double %821, double %811, double %820) store double %822, ptr %819, align 8 br label %823 823: ; preds = %801 %824 = load i32, ptr %36, align 4 %825 = add nsw i32 %824, 1 store i32 %825, ptr %36, align 4 %826 = load i32, ptr %36, align 4 %827 = load i32, ptr %15, align 4 %828 = icmp sle i32 %826, %827 br i1 %828, label %801, label %._crit_edge48, !llvm.loop !25 ._crit_edge48: ; preds = %823 br label %829 829: ; preds = %._crit_edge48, %796 br label %830 830: ; preds = %829 %831 = load i32, ptr %35, align 4 %832 = add nsw i32 %831, 1 store i32 %832, ptr %35, align 4 %833 = load i32, ptr %35, align 4 %834 = load i32, ptr %15, align 4 %835 = icmp sle i32 %833, %834 br i1 %835, label %796, label %._crit_edge51, !llvm.loop !26 ._crit_edge51: ; preds = %830 br label %836 836: ; preds = %._crit_edge51, %777 %837 = load ptr, ptr %24, align 8 %838 = load i32, ptr %16, align 4 %839 = load i32, ptr %16, align 4 %840 = call i32 @free_dmatrix(ptr noundef %837, i32 noundef 1, i32 noundef %838, i32 noundef 1, i32 noundef %839) %841 = load ptr, ptr %25, align 8 %842 = load i32, ptr %16, align 4 %843 = load i32, ptr %16, align 4 %844 = call i32 @free_dmatrix(ptr noundef %841, i32 noundef 1, i32 noundef %842, i32 noundef 1, i32 noundef %843) %845 = load ptr, ptr %26, align 8 %846 = load i32, ptr %15, align 4 %847 = load i32, ptr %16, align 4 %848 = call i32 @free_dmatrix(ptr noundef %845, i32 noundef 1, i32 noundef %846, i32 noundef 1, i32 noundef %847) %849 = load ptr, ptr %27, align 8 %850 = load i32, ptr %16, align 4 %851 = load i32, ptr %16, align 4 %852 = call i32 @free_dmatrix(ptr noundef %849, i32 noundef 1, i32 noundef %850, i32 noundef 1, i32 noundef %851) store i32 0, ptr %12, align 4 br label %853 853: ; preds = %836, %687, %634, %269, %45 %854 = load i32, ptr %12, align 4 ret i32 %854 } declare i32 @sprintf(ptr noundef, ptr noundef, double noundef, double noundef, ...) #1 declare i32 @errorMsg(ptr noundef) #1 declare ptr @dvector(i32 noundef, i32 noundef) #1 declare ptr @dmatrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @ivector(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @ldl_dcmp(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @prodABj(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @ldl_mprove(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @xtAx(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @jacobi(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @prodAB(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @eigsort(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 declare i32 @sturm(ptr noundef, ptr noundef, i32 noundef, i32 noundef, double noundef, double noundef, i32 noundef) #1 declare i32 @free_dmatrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } 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} !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}
; ModuleID = '/tmp/tmpywrpc8vo.c' source_filename = "/tmp/tmpywrpc8vo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_SETFL = dso_local global i32 0, align 4 @O_NONBLOCK = 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/tmpywrpc8vo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_SETFL = dso_local global i32 0, align 4 @O_NONBLOCK = 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/tmpetqm6bea.c' source_filename = "/tmp/tmpetqm6bea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @add_padding(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i8, align 1 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i8 0, ptr %7, align 1 br label %8 8: ; preds = %13, %3 %9 = load ptr, ptr %5, align 8 %10 = load i64, ptr %9, align 8 %11 = load i64, ptr %6, align 8 %12 = icmp slt i64 %10, %11 br i1 %12, label %13, label %17 13: ; preds = %8 %14 = load i32, ptr %4, align 4 %15 = load ptr, ptr %5, align 8 %16 = call i32 @write_to_file(i32 noundef %14, ptr noundef %7, i32 noundef 1, ptr noundef %15) br label %8, !llvm.loop !6 17: ; preds = %8 ret void } declare i32 @write_to_file(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpetqm6bea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @add_padding(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i8, align 1 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i8 0, ptr %7, align 1 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %8, align 8 %10 = load i64, ptr %6, align 8 %11 = icmp slt i64 %9, %10 br i1 %11, label %.lr.ph, label %20 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %12 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %5, align 8 %15 = call i32 @write_to_file(i32 noundef %13, ptr noundef %7, i32 noundef 1, ptr noundef %14) %16 = load ptr, ptr %5, align 8 %17 = load i64, ptr %16, align 8 %18 = load i64, ptr %6, align 8 %19 = icmp slt i64 %17, %18 br i1 %19, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %20 20: ; preds = %._crit_edge, %3 ret void } declare i32 @write_to_file(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpn4q53n_7.c' source_filename = "/tmp/tmpn4q53n_7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.10f %.10f %.10f %.10f %.10f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_float_array(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = sdiv i32 %10, %11 store i32 %12, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %13 13: ; preds = %47, %3 %14 = load i32, ptr %8, align 4 %15 = icmp slt i32 %14, 5 br i1 %15, label %16, label %50 16: ; preds = %13 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %8, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds float, ptr %17, i64 %19 %21 = load float, ptr %20, align 4 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds float, ptr %22, i64 %25 %27 = load float, ptr %26, align 4 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %8, align 4 %30 = add nsw i32 %29, 2 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds float, ptr %28, i64 %31 %33 = load float, ptr %32, align 4 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 3 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds float, ptr %34, i64 %37 %39 = load float, ptr %38, align 4 %40 = load ptr, ptr %4, align 8 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %41, 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds float, ptr %40, i64 %43 %45 = load float, ptr %44, align 4 %46 = call i32 @printf(ptr noundef @.str, float noundef %21, float noundef %27, float noundef %33, float noundef %39, float noundef %45) br label %47 47: ; preds = %16 %48 = load i32, ptr %8, align 4 %49 = add nsw i32 %48, 5 store i32 %49, ptr %8, align 4 br label %13, !llvm.loop !6 50: ; preds = %13 store i32 1, ptr %9, align 4 br label %51 51: ; preds = %114, %50 %52 = load i32, ptr %9, align 4 %53 = load i32, ptr %6, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %55, label %117 55: ; preds = %51 store i32 -5, ptr %8, align 4 br label %56 56: ; preds = %110, %55 %57 = load i32, ptr %8, align 4 %58 = icmp slt i32 %57, 5 br i1 %58, label %59, label %113 59: ; preds = %56 %60 = load ptr, ptr %4, align 8 %61 = load i32, ptr %7, align 4 %62 = load i32, ptr %9, align 4 %63 = mul nsw i32 %61, %62 %64 = load i32, ptr %8, align 4 %65 = add nsw i32 %63, %64 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds float, ptr %60, i64 %66 %68 = load float, ptr %67, align 4 %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %7, align 4 %71 = load i32, ptr %9, align 4 %72 = mul nsw i32 %70, %71 %73 = load i32, ptr %8, align 4 %74 = add nsw i32 %72, %73 %75 = add nsw i32 %74, 1 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds float, ptr %69, i64 %76 %78 = load float, ptr %77, align 4 %79 = load ptr, ptr %4, align 8 %80 = load i32, ptr %7, align 4 %81 = load i32, ptr %9, align 4 %82 = mul nsw i32 %80, %81 %83 = load i32, ptr %8, align 4 %84 = add nsw i32 %82, %83 %85 = add nsw i32 %84, 2 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds float, ptr %79, i64 %86 %88 = load float, ptr %87, align 4 %89 = load ptr, ptr %4, align 8 %90 = load i32, ptr %7, align 4 %91 = load i32, ptr %9, align 4 %92 = mul nsw i32 %90, %91 %93 = load i32, ptr %8, align 4 %94 = add nsw i32 %92, %93 %95 = add nsw i32 %94, 3 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds float, ptr %89, i64 %96 %98 = load float, ptr %97, align 4 %99 = load ptr, ptr %4, align 8 %100 = load i32, ptr %7, align 4 %101 = load i32, ptr %9, align 4 %102 = mul nsw i32 %100, %101 %103 = load i32, ptr %8, align 4 %104 = add nsw i32 %102, %103 %105 = add nsw i32 %104, 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds float, ptr %99, i64 %106 %108 = load float, ptr %107, align 4 %109 = call i32 @printf(ptr noundef @.str, float noundef %68, float noundef %78, float noundef %88, float noundef %98, float noundef %108) br label %110 110: ; preds = %59 %111 = load i32, ptr %8, align 4 %112 = add nsw i32 %111, 5 store i32 %112, ptr %8, align 4 br label %56, !llvm.loop !8 113: ; preds = %56 br label %114 114: ; preds = %113 %115 = load i32, ptr %9, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %9, align 4 br label %51, !llvm.loop !9 117: ; preds = %51 store i32 -5, ptr %8, align 4 br label %118 118: ; preds = %162, %117 %119 = load i32, ptr %8, align 4 %120 = icmp slt i32 %119, 0 br i1 %120, label %121, label %165 121: ; preds = %118 %122 = load ptr, ptr %4, align 8 %123 = load i32, ptr %5, align 4 %124 = load i32, ptr %8, align 4 %125 = add nsw i32 %123, %124 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds float, ptr %122, i64 %126 %128 = load float, ptr %127, align 4 %129 = load ptr, ptr %4, align 8 %130 = load i32, ptr %5, align 4 %131 = load i32, ptr %8, align 4 %132 = add nsw i32 %130, %131 %133 = add nsw i32 %132, 1 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds float, ptr %129, i64 %134 %136 = load float, ptr %135, align 4 %137 = load ptr, ptr %4, align 8 %138 = load i32, ptr %5, align 4 %139 = load i32, ptr %8, align 4 %140 = add nsw i32 %138, %139 %141 = add nsw i32 %140, 2 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds float, ptr %137, i64 %142 %144 = load float, ptr %143, align 4 %145 = load ptr, ptr %4, align 8 %146 = load i32, ptr %5, align 4 %147 = load i32, ptr %8, align 4 %148 = add nsw i32 %146, %147 %149 = add nsw i32 %148, 3 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds float, ptr %145, i64 %150 %152 = load float, ptr %151, align 4 %153 = load ptr, ptr %4, align 8 %154 = load i32, ptr %5, align 4 %155 = load i32, ptr %8, align 4 %156 = add nsw i32 %154, %155 %157 = add nsw i32 %156, 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds float, ptr %153, i64 %158 %160 = load float, ptr %159, align 4 %161 = call i32 @printf(ptr noundef @.str, float noundef %128, float noundef %136, float noundef %144, float noundef %152, float noundef %160) br label %162 162: ; preds = %121 %163 = load i32, ptr %8, align 4 %164 = add nsw i32 %163, 5 store i32 %164, ptr %8, align 4 br label %118, !llvm.loop !10 165: ; preds = %118 ret void } declare i32 @printf(ptr noundef, float noundef, float noundef, float noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn4q53n_7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.10f %.10f %.10f %.10f %.10f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_float_array(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = sdiv i32 %10, %11 store i32 %12, ptr %7, align 4 store i32 0, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp slt i32 %13, 5 br i1 %14, label %.lr.ph, label %51 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %46 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %8, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds float, ptr %16, i64 %18 %20 = load float, ptr %19, align 4 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %8, align 4 %23 = add nsw i32 %22, 1 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds float, ptr %21, i64 %24 %26 = load float, ptr %25, align 4 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %8, align 4 %29 = add nsw i32 %28, 2 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds float, ptr %27, i64 %30 %32 = load float, ptr %31, align 4 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 3 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds float, ptr %33, i64 %36 %38 = load float, ptr %37, align 4 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %8, align 4 %41 = add nsw i32 %40, 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds float, ptr %39, i64 %42 %44 = load float, ptr %43, align 4 %45 = call i32 @printf(ptr noundef @.str, float noundef %20, float noundef %26, float noundef %32, float noundef %38, float noundef %44) br label %46 46: ; preds = %15 %47 = load i32, ptr %8, align 4 %48 = add nsw i32 %47, 5 store i32 %48, ptr %8, align 4 %49 = load i32, ptr %8, align 4 %50 = icmp slt i32 %49, 5 br i1 %50, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %51 51: ; preds = %._crit_edge, %3 store i32 1, ptr %9, align 4 %52 = load i32, ptr %9, align 4 %53 = load i32, ptr %6, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %.lr.ph5, label %121 .lr.ph5: ; preds = %51 br label %55 55: ; preds = %.lr.ph5, %115 store i32 -5, ptr %8, align 4 %56 = load i32, ptr %8, align 4 %57 = icmp slt i32 %56, 5 br i1 %57, label %.lr.ph2, label %114 .lr.ph2: ; preds = %55 br label %58 58: ; preds = %.lr.ph2, %109 %59 = load ptr, ptr %4, align 8 %60 = load i32, ptr %7, align 4 %61 = load i32, ptr %9, align 4 %62 = mul nsw i32 %60, %61 %63 = load i32, ptr %8, align 4 %64 = add nsw i32 %62, %63 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds float, ptr %59, i64 %65 %67 = load float, ptr %66, align 4 %68 = load ptr, ptr %4, align 8 %69 = load i32, ptr %7, align 4 %70 = load i32, ptr %9, align 4 %71 = mul nsw i32 %69, %70 %72 = load i32, ptr %8, align 4 %73 = add nsw i32 %71, %72 %74 = add nsw i32 %73, 1 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds float, ptr %68, i64 %75 %77 = load float, ptr %76, align 4 %78 = load ptr, ptr %4, align 8 %79 = load i32, ptr %7, align 4 %80 = load i32, ptr %9, align 4 %81 = mul nsw i32 %79, %80 %82 = load i32, ptr %8, align 4 %83 = add nsw i32 %81, %82 %84 = add nsw i32 %83, 2 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds float, ptr %78, i64 %85 %87 = load float, ptr %86, align 4 %88 = load ptr, ptr %4, align 8 %89 = load i32, ptr %7, align 4 %90 = load i32, ptr %9, align 4 %91 = mul nsw i32 %89, %90 %92 = load i32, ptr %8, align 4 %93 = add nsw i32 %91, %92 %94 = add nsw i32 %93, 3 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds float, ptr %88, i64 %95 %97 = load float, ptr %96, align 4 %98 = load ptr, ptr %4, align 8 %99 = load i32, ptr %7, align 4 %100 = load i32, ptr %9, align 4 %101 = mul nsw i32 %99, %100 %102 = load i32, ptr %8, align 4 %103 = add nsw i32 %101, %102 %104 = add nsw i32 %103, 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds float, ptr %98, i64 %105 %107 = load float, ptr %106, align 4 %108 = call i32 @printf(ptr noundef @.str, float noundef %67, float noundef %77, float noundef %87, float noundef %97, float noundef %107) br label %109 109: ; preds = %58 %110 = load i32, ptr %8, align 4 %111 = add nsw i32 %110, 5 store i32 %111, ptr %8, align 4 %112 = load i32, ptr %8, align 4 %113 = icmp slt i32 %112, 5 br i1 %113, label %58, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %109 br label %114 114: ; preds = %._crit_edge3, %55 br label %115 115: ; preds = %114 %116 = load i32, ptr %9, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %9, align 4 %118 = load i32, ptr %9, align 4 %119 = load i32, ptr %6, align 4 %120 = icmp slt i32 %118, %119 br i1 %120, label %55, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %115 br label %121 121: ; preds = %._crit_edge6, %51 store i32 -5, ptr %8, align 4 %122 = load i32, ptr %8, align 4 %123 = icmp slt i32 %122, 0 br i1 %123, label %.lr.ph8, label %170 .lr.ph8: ; preds = %121 br label %124 124: ; preds = %.lr.ph8, %165 %125 = load ptr, ptr %4, align 8 %126 = load i32, ptr %5, align 4 %127 = load i32, ptr %8, align 4 %128 = add nsw i32 %126, %127 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds float, ptr %125, i64 %129 %131 = load float, ptr %130, align 4 %132 = load ptr, ptr %4, align 8 %133 = load i32, ptr %5, align 4 %134 = load i32, ptr %8, align 4 %135 = add nsw i32 %133, %134 %136 = add nsw i32 %135, 1 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds float, ptr %132, i64 %137 %139 = load float, ptr %138, align 4 %140 = load ptr, ptr %4, align 8 %141 = load i32, ptr %5, align 4 %142 = load i32, ptr %8, align 4 %143 = add nsw i32 %141, %142 %144 = add nsw i32 %143, 2 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds float, ptr %140, i64 %145 %147 = load float, ptr %146, align 4 %148 = load ptr, ptr %4, align 8 %149 = load i32, ptr %5, align 4 %150 = load i32, ptr %8, align 4 %151 = add nsw i32 %149, %150 %152 = add nsw i32 %151, 3 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds float, ptr %148, i64 %153 %155 = load float, ptr %154, align 4 %156 = load ptr, ptr %4, align 8 %157 = load i32, ptr %5, align 4 %158 = load i32, ptr %8, align 4 %159 = add nsw i32 %157, %158 %160 = add nsw i32 %159, 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds float, ptr %156, i64 %161 %163 = load float, ptr %162, align 4 %164 = call i32 @printf(ptr noundef @.str, float noundef %131, float noundef %139, float noundef %147, float noundef %155, float noundef %163) br label %165 165: ; preds = %124 %166 = load i32, ptr %8, align 4 %167 = add nsw i32 %166, 5 store i32 %167, ptr %8, align 4 %168 = load i32, ptr %8, align 4 %169 = icmp slt i32 %168, 0 br i1 %169, label %124, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %165 br label %170 170: ; preds = %._crit_edge9, %121 ret void } declare i32 @printf(ptr noundef, float noundef, float noundef, float noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmprp30omuf.c' source_filename = "/tmp/tmprp30omuf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Variable address: %p\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @CheckAlignment(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = ptrtoint ptr %5 to i64 %7 = urem i64 %6, 16 %8 = icmp eq i64 %7, 0 %9 = zext i1 %8 to i32 %10 = call i32 @assert(i32 noundef %9) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprp30omuf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Variable address: %p\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @CheckAlignment(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = ptrtoint ptr %5 to i64 %7 = urem i64 %6, 16 %8 = icmp eq i64 %7, 0 %9 = zext i1 %8 to i32 %10 = call i32 @assert(i32 noundef %9) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppnz0ftqb.c' source_filename = "/tmp/tmppnz0ftqb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Who are you?\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"Deci te cheama %s..\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"my process ID is %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"\0AI'm now gonna kill this terminal\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"pkill -n gnome-terminal\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %5 = load i32, ptr @stdin, align 4 %6 = call i32 @fgets(ptr noundef %4, i32 noundef 100, i32 noundef %5) %7 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %7) %9 = call i32 (...) @getpid() %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %12 = call i32 (...) @getchar() %13 = call i32 @system(ptr noundef @.str.4) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @getchar(...) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppnz0ftqb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Who are you?\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"Deci te cheama %s..\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"my process ID is %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"\0AI'm now gonna kill this terminal\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"pkill -n gnome-terminal\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %5 = load i32, ptr @stdin, align 4 %6 = call i32 @fgets(ptr noundef %4, i32 noundef 100, i32 noundef %5) %7 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %7) %9 = call i32 (...) @getpid() %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %12 = call i32 (...) @getchar() %13 = call i32 @system(ptr noundef @.str.4) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @getchar(...) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1v11wqsm.c' source_filename = "/tmp/tmp1v11wqsm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @PalindromeThreeDigitProduct() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca [100 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 999, ptr %1, align 4 store i64 0, ptr %2, align 8 %6 = load i32, ptr %1, align 4 store i32 %6, ptr %4, align 4 br label %7 7: ; preds = %42, %0 %8 = load i32, ptr %4, align 4 %9 = icmp sge i32 %8, 100 br i1 %9, label %10, label %45 10: ; preds = %7 %11 = load i32, ptr %1, align 4 store i32 %11, ptr %5, align 4 br label %12 12: ; preds = %38, %10 %13 = load i32, ptr %5, align 4 %14 = icmp sge i32 %13, 100 br i1 %14, label %15, label %41 15: ; preds = %12 %16 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = mul nsw i32 %17, %18 %20 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, i32 noundef %19) %21 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %22 = call i64 @isPalindrome(ptr noundef %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %37 24: ; preds = %15 %25 = load i64, ptr %2, align 8 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %5, align 4 %28 = mul nsw i32 %26, %27 %29 = sext i32 %28 to i64 %30 = icmp slt i64 %25, %29 br i1 %30, label %31, label %36 31: ; preds = %24 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %5, align 4 %34 = mul nsw i32 %32, %33 %35 = sext i32 %34 to i64 store i64 %35, ptr %2, align 8 br label %36 36: ; preds = %31, %24 br label %37 37: ; preds = %36, %15 br label %38 38: ; preds = %37 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, -1 store i32 %40, ptr %5, align 4 br label %12, !llvm.loop !6 41: ; preds = %12 br label %42 42: ; preds = %41 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, -1 store i32 %44, ptr %4, align 4 br label %7, !llvm.loop !8 45: ; preds = %7 %46 = load i64, ptr %2, align 8 %47 = trunc i64 %46 to i32 ret i32 %47 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @isPalindrome(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp1v11wqsm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @PalindromeThreeDigitProduct() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca [100 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 999, ptr %1, align 4 store i64 0, ptr %2, align 8 %6 = load i32, ptr %1, align 4 store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp sge i32 %7, 100 br i1 %8, label %.lr.ph2, label %47 .lr.ph2: ; preds = %0 br label %9 9: ; preds = %.lr.ph2, %42 %10 = load i32, ptr %1, align 4 store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp sge i32 %11, 100 br i1 %12, label %.lr.ph, label %41 .lr.ph: ; preds = %9 br label %13 13: ; preds = %.lr.ph, %36 %14 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %5, align 4 %17 = mul nsw i32 %15, %16 %18 = call i32 @sprintf(ptr noundef %14, ptr noundef @.str, i32 noundef %17) %19 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %20 = call i64 @isPalindrome(ptr noundef %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %35 22: ; preds = %13 %23 = load i64, ptr %2, align 8 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %5, align 4 %26 = mul nsw i32 %24, %25 %27 = sext i32 %26 to i64 %28 = icmp slt i64 %23, %27 br i1 %28, label %29, label %34 29: ; preds = %22 %30 = load i32, ptr %4, align 4 %31 = load i32, ptr %5, align 4 %32 = mul nsw i32 %30, %31 %33 = sext i32 %32 to i64 store i64 %33, ptr %2, align 8 br label %34 34: ; preds = %29, %22 br label %35 35: ; preds = %34, %13 br label %36 36: ; preds = %35 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, -1 store i32 %38, ptr %5, align 4 %39 = load i32, ptr %5, align 4 %40 = icmp sge i32 %39, 100 br i1 %40, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %41 41: ; preds = %._crit_edge, %9 br label %42 42: ; preds = %41 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, -1 store i32 %44, ptr %4, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp sge i32 %45, 100 br i1 %46, label %9, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %47 47: ; preds = %._crit_edge3, %0 %48 = load i64, ptr %2, align 8 %49 = trunc i64 %48 to i32 ret i32 %49 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @isPalindrome(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp7d3bayfe.c' source_filename = "/tmp/tmp7d3bayfe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PRCMHibernateWakeupSourceDisable(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %4 = call i64 @PRCMHIBRegRead(i32 noundef 1141045272) store i64 %4, ptr %3, align 8 %5 = load i64, ptr %2, align 8 %6 = and i64 %5, 1 %7 = xor i64 %6, -1 %8 = load i64, ptr %3, align 8 %9 = and i64 %8, %7 store i64 %9, ptr %3, align 8 %10 = load i64, ptr %3, align 8 %11 = call i32 @PRCMHIBRegWrite(i32 noundef 1141045272, i64 noundef %10) %12 = call i64 @PRCMHIBRegRead(i32 noundef 1141046276) store i64 %12, ptr %3, align 8 %13 = load i64, ptr %2, align 8 %14 = lshr i64 %13, 16 %15 = and i64 %14, 255 %16 = xor i64 %15, -1 %17 = load i64, ptr %3, align 8 %18 = and i64 %17, %16 store i64 %18, ptr %3, align 8 %19 = load i64, ptr %3, align 8 %20 = call i32 @PRCMHIBRegWrite(i32 noundef 1141046276, i64 noundef %19) ret void } declare i64 @PRCMHIBRegRead(i32 noundef) #1 declare i32 @PRCMHIBRegWrite(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/tmp7d3bayfe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PRCMHibernateWakeupSourceDisable(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %4 = call i64 @PRCMHIBRegRead(i32 noundef 1141045272) store i64 %4, ptr %3, align 8 %5 = load i64, ptr %2, align 8 %6 = and i64 %5, 1 %7 = xor i64 %6, -1 %8 = load i64, ptr %3, align 8 %9 = and i64 %8, %7 store i64 %9, ptr %3, align 8 %10 = load i64, ptr %3, align 8 %11 = call i32 @PRCMHIBRegWrite(i32 noundef 1141045272, i64 noundef %10) %12 = call i64 @PRCMHIBRegRead(i32 noundef 1141046276) store i64 %12, ptr %3, align 8 %13 = load i64, ptr %2, align 8 %14 = lshr i64 %13, 16 %15 = and i64 %14, 255 %16 = xor i64 %15, -1 %17 = load i64, ptr %3, align 8 %18 = and i64 %17, %16 store i64 %18, ptr %3, align 8 %19 = load i64, ptr %3, align 8 %20 = call i32 @PRCMHIBRegWrite(i32 noundef 1141046276, i64 noundef %19) ret void } declare i64 @PRCMHIBRegRead(i32 noundef) #1 declare i32 @PRCMHIBRegWrite(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/tmpcx1u_8z7.c' source_filename = "/tmp/tmpcx1u_8z7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @get() #0 { %1 = call zeroext i8 (...) @UART1_Read() ret i8 %1 } declare zeroext i8 @UART1_Read(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcx1u_8z7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @get() #0 { %1 = call zeroext i8 (...) @UART1_Read() ret i8 %1 } declare zeroext i8 @UART1_Read(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp3uxi6hy.c' source_filename = "/tmp/tmpp3uxi6hy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Test failed\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Test passed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 3, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp sgt i32 %8, 1 br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call i32 @atoi(ptr noundef %13) store i32 %14, ptr %6, align 4 br label %15 15: ; preds = %10, %2 %16 = load i32, ptr %6, align 4 %17 = call i32 @cuda_test_mmul_vmmap_hybrid(i32 noundef %16, ptr noundef @.str) store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %15 %21 = call i32 @printf(ptr noundef @.str.1) br label %24 22: ; preds = %15 %23 = call i32 @printf(ptr noundef @.str.2) br label %24 24: ; preds = %22, %20 %25 = load i32, ptr %7, align 4 ret i32 %25 } declare i32 @atoi(ptr noundef) #1 declare i32 @cuda_test_mmul_vmmap_hybrid(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp3uxi6hy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Test failed\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Test passed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 3, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp sgt i32 %8, 1 br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call i32 @atoi(ptr noundef %13) store i32 %14, ptr %6, align 4 br label %15 15: ; preds = %10, %2 %16 = load i32, ptr %6, align 4 %17 = call i32 @cuda_test_mmul_vmmap_hybrid(i32 noundef %16, ptr noundef @.str) store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %15 %21 = call i32 @printf(ptr noundef @.str.1) br label %24 22: ; preds = %15 %23 = call i32 @printf(ptr noundef @.str.2) br label %24 24: ; preds = %22, %20 %25 = load i32, ptr %7, align 4 ret i32 %25 } declare i32 @atoi(ptr noundef) #1 declare i32 @cuda_test_mmul_vmmap_hybrid(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmf2yn4bl.c' source_filename = "/tmp/tmpmf2yn4bl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"/tmp/pts_mmap_7_1_%d\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @O_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 @.str.1 = private unnamed_addr constant [21 x i8] c"Error at open(): %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [22 x i8] c"Error at write(): %s\0A\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str.3 = private unnamed_addr constant [21 x i8] c"Error at mmap(): %s\0A\00", align 1 @MS_SYNC = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [22 x i8] c"Error at msync(): %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"Error at 2nd mmap(): %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [74 x i8] c"Memory write with MAP_SHARED has changed the underlying file\0ATest PASSED\0A\00", align 1 @.str.7 = private unnamed_addr constant [78 x i8] c"Memory write with MAP_SHARED has not changed the underlying file\0ATest FAILED\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [256 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i64 1024, ptr %5, align 8 %7 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %8 = call i32 (...) @getpid() %9 = call i32 @snprintf(ptr noundef %7, i32 noundef 256, ptr noundef @.str, i32 noundef %8) %10 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @unlink(ptr noundef %10) %12 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %13 = load i32, ptr @O_CREAT, align 4 %14 = load i32, ptr @O_RDWR, align 4 %15 = or i32 %13, %14 %16 = load i32, ptr @O_EXCL, align 4 %17 = or i32 %15, %16 %18 = load i32, ptr @S_IRUSR, align 4 %19 = load i32, ptr @S_IWUSR, align 4 %20 = or i32 %18, %19 %21 = call i32 @open(ptr noundef %12, i32 noundef %17, i32 noundef %20) store i32 %21, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %28 24: ; preds = %0 %25 = load i32, ptr @errno, align 4 %26 = call ptr @strerror(i32 noundef %25) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %26) store i32 2, ptr %1, align 4 br label %111 28: ; preds = %0 %29 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %30 = call i32 @unlink(ptr noundef %29) %31 = load i64, ptr %5, align 8 %32 = call ptr @malloc(i64 noundef %31) store ptr %32, ptr %3, align 8 %33 = load ptr, ptr %3, align 8 %34 = load i64, ptr %5, align 8 %35 = call i32 @memset(ptr noundef %33, i8 noundef signext 97, i64 noundef %34) %36 = load i32, ptr %6, align 4 %37 = load ptr, ptr %3, align 8 %38 = load i64, ptr %5, align 8 %39 = call i64 @write(i32 noundef %36, ptr noundef %37, i64 noundef %38) %40 = load i64, ptr %5, align 8 %41 = icmp ne i64 %39, %40 br i1 %41, label %42, label %46 42: ; preds = %28 %43 = load i32, ptr @errno, align 4 %44 = call ptr @strerror(i32 noundef %43) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %44) store i32 2, ptr %1, align 4 br label %111 46: ; preds = %28 %47 = load ptr, ptr %3, align 8 %48 = call i32 @free(ptr noundef %47) %49 = load i64, ptr %5, align 8 %50 = load i32, ptr @PROT_READ, align 4 %51 = load i32, ptr @PROT_WRITE, align 4 %52 = or i32 %50, %51 %53 = load i32, ptr @MAP_SHARED, align 4 %54 = load i32, ptr %6, align 4 %55 = call ptr @mmap(ptr noundef null, i64 noundef %49, i32 noundef %52, i32 noundef %53, i32 noundef %54, i32 noundef 0) store ptr %55, ptr %4, align 8 %56 = load ptr, ptr %4, align 8 %57 = load ptr, ptr @MAP_FAILED, align 8 %58 = icmp eq ptr %56, %57 br i1 %58, label %59, label %63 59: ; preds = %46 %60 = load i32, ptr @errno, align 4 %61 = call ptr @strerror(i32 noundef %60) %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %61) store i32 1, ptr %1, align 4 br label %111 63: ; preds = %46 %64 = load ptr, ptr %4, align 8 store i8 98, ptr %64, align 1 %65 = load ptr, ptr %4, align 8 %66 = load i64, ptr %5, align 8 %67 = load i32, ptr @MS_SYNC, align 4 %68 = call i64 @msync(ptr noundef %65, i64 noundef %66, i32 noundef %67) %69 = icmp ne i64 %68, 0 br i1 %69, label %70, label %74 70: ; preds = %63 %71 = load i32, ptr @errno, align 4 %72 = call ptr @strerror(i32 noundef %71) %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %72) store i32 2, ptr %1, align 4 br label %111 74: ; preds = %63 %75 = load ptr, ptr %4, align 8 %76 = load i64, ptr %5, align 8 %77 = call i32 @munmap(ptr noundef %75, i64 noundef %76) %78 = load i64, ptr %5, align 8 %79 = load i32, ptr @PROT_READ, align 4 %80 = load i32, ptr @PROT_WRITE, align 4 %81 = or i32 %79, %80 %82 = load i32, ptr @MAP_SHARED, align 4 %83 = load i32, ptr %6, align 4 %84 = call ptr @mmap(ptr noundef null, i64 noundef %78, i32 noundef %81, i32 noundef %82, i32 noundef %83, i32 noundef 0) store ptr %84, ptr %4, align 8 %85 = load ptr, ptr %4, align 8 %86 = load ptr, ptr @MAP_FAILED, align 8 %87 = icmp eq ptr %85, %86 br i1 %87, label %88, label %92 88: ; preds = %74 %89 = load i32, ptr @errno, align 4 %90 = call ptr @strerror(i32 noundef %89) %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %90) store i32 1, ptr %1, align 4 br label %111 92: ; preds = %74 %93 = load ptr, ptr %4, align 8 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = icmp eq i32 %95, 98 br i1 %96, label %97, label %104 97: ; preds = %92 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %99 = load i32, ptr %6, align 4 %100 = call i32 @close(i32 noundef %99) %101 = load ptr, ptr %4, align 8 %102 = load i64, ptr %5, align 8 %103 = call i32 @munmap(ptr noundef %101, i64 noundef %102) store i32 0, ptr %1, align 4 br label %111 104: ; preds = %92 %105 = load i32, ptr %6, align 4 %106 = call i32 @close(i32 noundef %105) %107 = load ptr, ptr %4, align 8 %108 = load i64, ptr %5, align 8 %109 = call i32 @munmap(ptr noundef %107, i64 noundef %108) %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 1, ptr %1, align 4 br label %111 111: ; preds = %104, %97, %88, %70, %59, %42, %24 %112 = load i32, ptr %1, align 4 ret i32 %112 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i64 noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @msync(ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @munmap(ptr noundef, i64 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmf2yn4bl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"/tmp/pts_mmap_7_1_%d\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @O_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 @.str.1 = private unnamed_addr constant [21 x i8] c"Error at open(): %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [22 x i8] c"Error at write(): %s\0A\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str.3 = private unnamed_addr constant [21 x i8] c"Error at mmap(): %s\0A\00", align 1 @MS_SYNC = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [22 x i8] c"Error at msync(): %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"Error at 2nd mmap(): %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [74 x i8] c"Memory write with MAP_SHARED has changed the underlying file\0ATest PASSED\0A\00", align 1 @.str.7 = private unnamed_addr constant [78 x i8] c"Memory write with MAP_SHARED has not changed the underlying file\0ATest FAILED\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [256 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i64 1024, ptr %5, align 8 %7 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %8 = call i32 (...) @getpid() %9 = call i32 @snprintf(ptr noundef %7, i32 noundef 256, ptr noundef @.str, i32 noundef %8) %10 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @unlink(ptr noundef %10) %12 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %13 = load i32, ptr @O_CREAT, align 4 %14 = load i32, ptr @O_RDWR, align 4 %15 = or i32 %13, %14 %16 = load i32, ptr @O_EXCL, align 4 %17 = or i32 %15, %16 %18 = load i32, ptr @S_IRUSR, align 4 %19 = load i32, ptr @S_IWUSR, align 4 %20 = or i32 %18, %19 %21 = call i32 @open(ptr noundef %12, i32 noundef %17, i32 noundef %20) store i32 %21, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %28 24: ; preds = %0 %25 = load i32, ptr @errno, align 4 %26 = call ptr @strerror(i32 noundef %25) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %26) store i32 2, ptr %1, align 4 br label %111 28: ; preds = %0 %29 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %30 = call i32 @unlink(ptr noundef %29) %31 = load i64, ptr %5, align 8 %32 = call ptr @malloc(i64 noundef %31) store ptr %32, ptr %3, align 8 %33 = load ptr, ptr %3, align 8 %34 = load i64, ptr %5, align 8 %35 = call i32 @memset(ptr noundef %33, i8 noundef signext 97, i64 noundef %34) %36 = load i32, ptr %6, align 4 %37 = load ptr, ptr %3, align 8 %38 = load i64, ptr %5, align 8 %39 = call i64 @write(i32 noundef %36, ptr noundef %37, i64 noundef %38) %40 = load i64, ptr %5, align 8 %41 = icmp ne i64 %39, %40 br i1 %41, label %42, label %46 42: ; preds = %28 %43 = load i32, ptr @errno, align 4 %44 = call ptr @strerror(i32 noundef %43) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %44) store i32 2, ptr %1, align 4 br label %111 46: ; preds = %28 %47 = load ptr, ptr %3, align 8 %48 = call i32 @free(ptr noundef %47) %49 = load i64, ptr %5, align 8 %50 = load i32, ptr @PROT_READ, align 4 %51 = load i32, ptr @PROT_WRITE, align 4 %52 = or i32 %50, %51 %53 = load i32, ptr @MAP_SHARED, align 4 %54 = load i32, ptr %6, align 4 %55 = call ptr @mmap(ptr noundef null, i64 noundef %49, i32 noundef %52, i32 noundef %53, i32 noundef %54, i32 noundef 0) store ptr %55, ptr %4, align 8 %56 = load ptr, ptr %4, align 8 %57 = load ptr, ptr @MAP_FAILED, align 8 %58 = icmp eq ptr %56, %57 br i1 %58, label %59, label %63 59: ; preds = %46 %60 = load i32, ptr @errno, align 4 %61 = call ptr @strerror(i32 noundef %60) %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %61) store i32 1, ptr %1, align 4 br label %111 63: ; preds = %46 %64 = load ptr, ptr %4, align 8 store i8 98, ptr %64, align 1 %65 = load ptr, ptr %4, align 8 %66 = load i64, ptr %5, align 8 %67 = load i32, ptr @MS_SYNC, align 4 %68 = call i64 @msync(ptr noundef %65, i64 noundef %66, i32 noundef %67) %69 = icmp ne i64 %68, 0 br i1 %69, label %70, label %74 70: ; preds = %63 %71 = load i32, ptr @errno, align 4 %72 = call ptr @strerror(i32 noundef %71) %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %72) store i32 2, ptr %1, align 4 br label %111 74: ; preds = %63 %75 = load ptr, ptr %4, align 8 %76 = load i64, ptr %5, align 8 %77 = call i32 @munmap(ptr noundef %75, i64 noundef %76) %78 = load i64, ptr %5, align 8 %79 = load i32, ptr @PROT_READ, align 4 %80 = load i32, ptr @PROT_WRITE, align 4 %81 = or i32 %79, %80 %82 = load i32, ptr @MAP_SHARED, align 4 %83 = load i32, ptr %6, align 4 %84 = call ptr @mmap(ptr noundef null, i64 noundef %78, i32 noundef %81, i32 noundef %82, i32 noundef %83, i32 noundef 0) store ptr %84, ptr %4, align 8 %85 = load ptr, ptr %4, align 8 %86 = load ptr, ptr @MAP_FAILED, align 8 %87 = icmp eq ptr %85, %86 br i1 %87, label %88, label %92 88: ; preds = %74 %89 = load i32, ptr @errno, align 4 %90 = call ptr @strerror(i32 noundef %89) %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %90) store i32 1, ptr %1, align 4 br label %111 92: ; preds = %74 %93 = load ptr, ptr %4, align 8 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = icmp eq i32 %95, 98 br i1 %96, label %97, label %104 97: ; preds = %92 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %99 = load i32, ptr %6, align 4 %100 = call i32 @close(i32 noundef %99) %101 = load ptr, ptr %4, align 8 %102 = load i64, ptr %5, align 8 %103 = call i32 @munmap(ptr noundef %101, i64 noundef %102) store i32 0, ptr %1, align 4 br label %111 104: ; preds = %92 %105 = load i32, ptr %6, align 4 %106 = call i32 @close(i32 noundef %105) %107 = load ptr, ptr %4, align 8 %108 = load i64, ptr %5, align 8 %109 = call i32 @munmap(ptr noundef %107, i64 noundef %108) %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 1, ptr %1, align 4 br label %111 111: ; preds = %104, %97, %88, %70, %59, %42, %24 %112 = load i32, ptr %1, align 4 ret i32 %112 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i64 noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @msync(ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @munmap(ptr noundef, i64 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr2y_aeh4.c' source_filename = "/tmp/tmpr2y_aeh4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Usage: %squiznoBot%s [options]\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"\1B[35;40m\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"%sOptions:%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"\1B[31;40m\00", align 1 @.str.5 = private unnamed_addr constant [54 x i8] c"\09%ss %sserver%s - %sSets the server to connect to.%s\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"\1B[36;40m\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"\1B[32;40m\00", align 1 @.str.8 = private unnamed_addr constant [50 x i8] c"\09%sc %schannel%s - %sSets the channel to join.%s\0A\00", align 1 @.str.9 = private unnamed_addr constant [46 x i8] c"\09%sn %snick%s - %sSets the bot's nickname.%s\0A\00", align 1 @.str.10 = private unnamed_addr constant [70 x i8] c"\09%sd %sdirectory%s - %sSets the directory the bot scans for files.%s\0A\00", align 1 @.str.11 = private unnamed_addr constant [68 x i8] c"\09%sp %sport%s - %sSets the port to use to connect to the server.%s\0A\00", align 1 @.str.12 = private unnamed_addr constant [59 x i8] c"\09%sv%s - %sIncreases the verbosity level (can be used more\00", align 1 @.str.13 = private unnamed_addr constant [15 x i8] c" than once)%s\0A\00", align 1 @.str.14 = private unnamed_addr constant [54 x i8] c"\09%se %sip%s - %sSets the IP the bot will send for all\00", align 1 @.str.15 = private unnamed_addr constant [20 x i8] c"file transfers.%s\0A\0A\00", align 1 @.str.16 = private unnamed_addr constant [11 x i8] c"Examples:\0A\00", align 1 @.str.17 = private unnamed_addr constant [78 x i8] c"\09%squiznoBot%s -%ss %sirc.rizon.net%s -%sc %s#eclipse%s -%sn %sMyAwesomeBot%s\00", align 1 @.str.18 = private unnamed_addr constant [16 x i8] c" -%sp %s6667%s\0A\00", align 1 @.str.19 = private unnamed_addr constant [60 x i8] c"\09Connects to irc.rizon.net on port 6667 joins #eclipse and \00", align 1 @.str.20 = private unnamed_addr constant [33 x i8] c"sets\0A\09the nick to MyAwesomeBot\0A\0A\00", align 1 @.str.21 = private unnamed_addr constant [11 x i8] c"Defaults:\0A\00", align 1 @.str.22 = private unnamed_addr constant [59 x i8] c"\09By Default the server is run with the following options:\0A\00", align 1 @.str.23 = private unnamed_addr constant [50 x i8] c"\09quiznoBot -d ./ -s irc.zesty-irc.net -c #bottest\00", align 1 @.str.24 = private unnamed_addr constant [26 x i8] c" -n IRC_BOT_#### -p 6667\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printUsage() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.2) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.4, ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.7, ptr noundef @.str.2) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.4, ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.7, ptr noundef @.str.2) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef @.str.4, ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.7, ptr noundef @.str.2) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.4, ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.7, ptr noundef @.str.2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef @.str.4, ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.7, ptr noundef @.str.2) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef @.str.4, ptr noundef @.str.2, ptr noundef @.str.7) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef @.str.2) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef @.str.4, ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.7) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef @.str.2) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.4, ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.4, ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.4, ptr noundef @.str.6, ptr noundef @.str.2) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef @.str.4, ptr noundef @.str.6, ptr noundef @.str.2) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr2y_aeh4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Usage: %squiznoBot%s [options]\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"\1B[35;40m\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"%sOptions:%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"\1B[31;40m\00", align 1 @.str.5 = private unnamed_addr constant [54 x i8] c"\09%ss %sserver%s - %sSets the server to connect to.%s\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"\1B[36;40m\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"\1B[32;40m\00", align 1 @.str.8 = private unnamed_addr constant [50 x i8] c"\09%sc %schannel%s - %sSets the channel to join.%s\0A\00", align 1 @.str.9 = private unnamed_addr constant [46 x i8] c"\09%sn %snick%s - %sSets the bot's nickname.%s\0A\00", align 1 @.str.10 = private unnamed_addr constant [70 x i8] c"\09%sd %sdirectory%s - %sSets the directory the bot scans for files.%s\0A\00", align 1 @.str.11 = private unnamed_addr constant [68 x i8] c"\09%sp %sport%s - %sSets the port to use to connect to the server.%s\0A\00", align 1 @.str.12 = private unnamed_addr constant [59 x i8] c"\09%sv%s - %sIncreases the verbosity level (can be used more\00", align 1 @.str.13 = private unnamed_addr constant [15 x i8] c" than once)%s\0A\00", align 1 @.str.14 = private unnamed_addr constant [54 x i8] c"\09%se %sip%s - %sSets the IP the bot will send for all\00", align 1 @.str.15 = private unnamed_addr constant [20 x i8] c"file transfers.%s\0A\0A\00", align 1 @.str.16 = private unnamed_addr constant [11 x i8] c"Examples:\0A\00", align 1 @.str.17 = private unnamed_addr constant [78 x i8] c"\09%squiznoBot%s -%ss %sirc.rizon.net%s -%sc %s#eclipse%s -%sn %sMyAwesomeBot%s\00", align 1 @.str.18 = private unnamed_addr constant [16 x i8] c" -%sp %s6667%s\0A\00", align 1 @.str.19 = private unnamed_addr constant [60 x i8] c"\09Connects to irc.rizon.net on port 6667 joins #eclipse and \00", align 1 @.str.20 = private unnamed_addr constant [33 x i8] c"sets\0A\09the nick to MyAwesomeBot\0A\0A\00", align 1 @.str.21 = private unnamed_addr constant [11 x i8] c"Defaults:\0A\00", align 1 @.str.22 = private unnamed_addr constant [59 x i8] c"\09By Default the server is run with the following options:\0A\00", align 1 @.str.23 = private unnamed_addr constant [50 x i8] c"\09quiznoBot -d ./ -s irc.zesty-irc.net -c #bottest\00", align 1 @.str.24 = private unnamed_addr constant [26 x i8] c" -n IRC_BOT_#### -p 6667\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printUsage() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.2) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.4, ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.7, ptr noundef @.str.2) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.4, ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.7, ptr noundef @.str.2) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef @.str.4, ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.7, ptr noundef @.str.2) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.4, ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.7, ptr noundef @.str.2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef @.str.4, ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.7, ptr noundef @.str.2) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef @.str.4, ptr noundef @.str.2, ptr noundef @.str.7) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef @.str.2) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef @.str.4, ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.7) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef @.str.2) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.4, ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.4, ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.4, ptr noundef @.str.6, ptr noundef @.str.2) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef @.str.4, ptr noundef @.str.6, ptr noundef @.str.2) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0trcyf_f.c' source_filename = "/tmp/tmp0trcyf_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 [15 x i8] c"Hello, world!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test16() #0 { %1 = call i32 @printg(ptr noundef @.str) ret void } declare i32 @printg(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0trcyf_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 [15 x i8] c"Hello, world!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test16() #0 { %1 = call i32 @printg(ptr noundef @.str) ret void } declare i32 @printg(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp18xok64g.c' source_filename = "/tmp/tmp18xok64g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bar(ptr noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9, ptr noundef %10) #0 { %12 = alloca ptr, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca ptr, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca double, align 8 %35 = alloca double, align 8 %36 = alloca double, align 8 %37 = alloca double, align 8 %38 = alloca double, align 8 store ptr %0, ptr %12, align 8 store double %1, ptr %13, align 8 store double %2, ptr %14, align 8 store double %3, ptr %15, align 8 store double %4, ptr %16, align 8 store double %5, ptr %17, align 8 store double %6, ptr %18, align 8 store double %7, ptr %19, align 8 store double %8, ptr %20, align 8 store double %9, ptr %21, align 8 store ptr %10, ptr %22, align 8 %39 = load double, ptr %21, align 8 %40 = fmul double 5.000000e-01, %39 store double %40, ptr %37, align 8 %41 = load double, ptr %13, align 8 %42 = load double, ptr %15, align 8 %43 = call double @llvm.fmuladd.f64(double -3.000000e+00, double %42, double %41) store double %43, ptr %23, align 8 %44 = load double, ptr %17, align 8 %45 = fmul double 4.000000e+00, %44 store double %45, ptr %24, align 8 %46 = load double, ptr %17, align 8 %47 = load double, ptr %19, align 8 %48 = fsub double %46, %47 store double %48, ptr %25, align 8 %49 = load double, ptr %14, align 8 %50 = load double, ptr %18, align 8 %51 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %50, double %49) %52 = load double, ptr %20, align 8 %53 = fsub double %51, %52 store double %53, ptr %28, align 8 %54 = load double, ptr %16, align 8 %55 = load double, ptr %18, align 8 %56 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %55, double %54) %57 = load double, ptr %20, align 8 %58 = fadd double %56, %57 %59 = fmul double 2.000000e+00, %58 store double %59, ptr %29, align 8 %60 = load double, ptr %18, align 8 %61 = load double, ptr %20, align 8 %62 = fsub double %60, %61 store double %62, ptr %30, align 8 %63 = load double, ptr %23, align 8 %64 = fcmp une double %63, 0.000000e+00 br i1 %64, label %65, label %188 65: ; preds = %11 store double 0.000000e+00, ptr %38, align 8 %66 = load double, ptr %24, align 8 %67 = fneg double %66 %68 = load double, ptr %38, align 8 %69 = fadd double %67, %68 store double %69, ptr %26, align 8 %70 = load double, ptr %24, align 8 %71 = fneg double %70 %72 = load double, ptr %38, align 8 %73 = fsub double %71, %72 store double %73, ptr %27, align 8 %74 = load double, ptr %26, align 8 %75 = fcmp ogt double %74, 0.000000e+00 br i1 %75, label %76, label %120 76: ; preds = %65 %77 = load double, ptr %13, align 8 %78 = load double, ptr %19, align 8 %79 = fsub double %77, %78 %80 = load double, ptr %26, align 8 %81 = load double, ptr %15, align 8 %82 = load double, ptr %19, align 8 %83 = fadd double %81, %82 %84 = fmul double 3.000000e+00, %83 %85 = load double, ptr %26, align 8 %86 = fmul double %84, %85 %87 = call double @llvm.fmuladd.f64(double %79, double %80, double %86) %88 = load double, ptr %17, align 8 %89 = load double, ptr %19, align 8 %90 = fsub double %88, %89 %91 = fmul double 3.000000e+00, %90 %92 = load double, ptr %26, align 8 %93 = call double @llvm.fmuladd.f64(double %91, double %92, double %87) store double %93, ptr %33, align 8 %94 = load double, ptr %14, align 8 %95 = load double, ptr %20, align 8 %96 = fsub double %94, %95 %97 = load double, ptr %26, align 8 %98 = load double, ptr %16, align 8 %99 = load double, ptr %20, align 8 %100 = fadd double %98, %99 %101 = fmul double 3.000000e+00, %100 %102 = load double, ptr %26, align 8 %103 = fmul double %101, %102 %104 = call double @llvm.fmuladd.f64(double %96, double %97, double %103) %105 = load double, ptr %18, align 8 %106 = load double, ptr %20, align 8 %107 = fsub double %105, %106 %108 = fmul double 3.000000e+00, %107 %109 = load double, ptr %26, align 8 %110 = call double @llvm.fmuladd.f64(double %108, double %109, double %104) store double %110, ptr %34, align 8 %111 = load ptr, ptr %12, align 8 %112 = load double, ptr %37, align 8 %113 = load double, ptr %36, align 8 %114 = call i32 @foo(ptr noundef %111, double noundef %112, double noundef %113) %115 = load ptr, ptr %12, align 8 %116 = load double, ptr %37, align 8 %117 = fneg double %116 %118 = load double, ptr %36, align 8 %119 = call i32 @foo(ptr noundef %115, double noundef %117, double noundef %118) br label %120 120: ; preds = %76, %65 %121 = load double, ptr %27, align 8 %122 = fcmp ogt double %121, 0.000000e+00 br i1 %122, label %123, label %187 123: ; preds = %120 %124 = load double, ptr %13, align 8 %125 = load double, ptr %17, align 8 %126 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %125, double %124) %127 = load double, ptr %19, align 8 %128 = fsub double %126, %127 %129 = load double, ptr %27, align 8 %130 = load double, ptr %15, align 8 %131 = load double, ptr %17, align 8 %132 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %131, double %130) %133 = load double, ptr %19, align 8 %134 = fadd double %132, %133 %135 = fmul double 3.000000e+00, %134 %136 = load double, ptr %27, align 8 %137 = fmul double %135, %136 %138 = call double @llvm.fmuladd.f64(double %128, double %129, double %137) %139 = load double, ptr %27, align 8 %140 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %139, double %138) store double %140, ptr %33, align 8 %141 = load double, ptr %14, align 8 %142 = load double, ptr %18, align 8 %143 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %142, double %141) %144 = load double, ptr %20, align 8 %145 = fsub double %143, %144 %146 = load double, ptr %27, align 8 %147 = load double, ptr %16, align 8 %148 = load double, ptr %18, align 8 %149 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %148, double %147) %150 = load double, ptr %20, align 8 %151 = fadd double %149, %150 %152 = fmul double 3.000000e+00, %151 %153 = load double, ptr %27, align 8 %154 = fmul double %152, %153 %155 = call double @llvm.fmuladd.f64(double %145, double %146, double %154) %156 = load double, ptr %27, align 8 %157 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %156, double %155) store double %157, ptr %34, align 8 %158 = load double, ptr %33, align 8 %159 = load ptr, ptr %22, align 8 %160 = getelementptr inbounds double, ptr %159, i64 0 %161 = load double, ptr %160, align 8 %162 = load double, ptr %34, align 8 %163 = load ptr, ptr %22, align 8 %164 = getelementptr inbounds double, ptr %163, i64 2 %165 = load double, ptr %164, align 8 %166 = fmul double %162, %165 %167 = call double @llvm.fmuladd.f64(double %158, double %161, double %166) store double %167, ptr %35, align 8 %168 = load double, ptr %33, align 8 %169 = load ptr, ptr %22, align 8 %170 = getelementptr inbounds double, ptr %169, i64 1 %171 = load double, ptr %170, align 8 %172 = load double, ptr %34, align 8 %173 = load ptr, ptr %22, align 8 %174 = getelementptr inbounds double, ptr %173, i64 3 %175 = load double, ptr %174, align 8 %176 = fmul double %172, %175 %177 = call double @llvm.fmuladd.f64(double %168, double %171, double %176) store double %177, ptr %36, align 8 %178 = load ptr, ptr %12, align 8 %179 = load double, ptr %37, align 8 %180 = load double, ptr %36, align 8 %181 = call i32 @foo(ptr noundef %178, double noundef %179, double noundef %180) %182 = load ptr, ptr %12, align 8 %183 = load double, ptr %37, align 8 %184 = fneg double %183 %185 = load double, ptr %36, align 8 %186 = call i32 @foo(ptr noundef %182, double noundef %184, double noundef %185) br label %187 187: ; preds = %123, %120 br label %188 188: ; preds = %187, %11 %189 = load double, ptr %28, align 8 %190 = fcmp une double %189, 0.000000e+00 br i1 %190, label %191, label %206 191: ; preds = %188 store double 0.000000e+00, ptr %38, align 8 %192 = load double, ptr %29, align 8 %193 = fneg double %192 %194 = load double, ptr %38, align 8 %195 = fadd double %193, %194 %196 = load double, ptr %28, align 8 %197 = fmul double 2.000000e+00, %196 %198 = fdiv double %195, %197 store double %198, ptr %31, align 8 %199 = load double, ptr %29, align 8 %200 = fneg double %199 %201 = load double, ptr %38, align 8 %202 = fsub double %200, %201 %203 = load double, ptr %28, align 8 %204 = fmul double 2.000000e+00, %203 %205 = fdiv double %202, %204 store double %205, ptr %32, align 8 br label %206 206: ; preds = %191, %188 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @foo(ptr noundef, double noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp18xok64g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bar(ptr noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9, ptr noundef %10) #0 { %12 = alloca ptr, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca ptr, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca double, align 8 %35 = alloca double, align 8 %36 = alloca double, align 8 %37 = alloca double, align 8 %38 = alloca double, align 8 store ptr %0, ptr %12, align 8 store double %1, ptr %13, align 8 store double %2, ptr %14, align 8 store double %3, ptr %15, align 8 store double %4, ptr %16, align 8 store double %5, ptr %17, align 8 store double %6, ptr %18, align 8 store double %7, ptr %19, align 8 store double %8, ptr %20, align 8 store double %9, ptr %21, align 8 store ptr %10, ptr %22, align 8 %39 = load double, ptr %21, align 8 %40 = fmul double 5.000000e-01, %39 store double %40, ptr %37, align 8 %41 = load double, ptr %13, align 8 %42 = load double, ptr %15, align 8 %43 = call double @llvm.fmuladd.f64(double -3.000000e+00, double %42, double %41) store double %43, ptr %23, align 8 %44 = load double, ptr %17, align 8 %45 = fmul double 4.000000e+00, %44 store double %45, ptr %24, align 8 %46 = load double, ptr %17, align 8 %47 = load double, ptr %19, align 8 %48 = fsub double %46, %47 store double %48, ptr %25, align 8 %49 = load double, ptr %14, align 8 %50 = load double, ptr %18, align 8 %51 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %50, double %49) %52 = load double, ptr %20, align 8 %53 = fsub double %51, %52 store double %53, ptr %28, align 8 %54 = load double, ptr %16, align 8 %55 = load double, ptr %18, align 8 %56 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %55, double %54) %57 = load double, ptr %20, align 8 %58 = fadd double %56, %57 %59 = fmul double 2.000000e+00, %58 store double %59, ptr %29, align 8 %60 = load double, ptr %18, align 8 %61 = load double, ptr %20, align 8 %62 = fsub double %60, %61 store double %62, ptr %30, align 8 %63 = load double, ptr %23, align 8 %64 = fcmp une double %63, 0.000000e+00 br i1 %64, label %65, label %188 65: ; preds = %11 store double 0.000000e+00, ptr %38, align 8 %66 = load double, ptr %24, align 8 %67 = fneg double %66 %68 = load double, ptr %38, align 8 %69 = fadd double %67, %68 store double %69, ptr %26, align 8 %70 = load double, ptr %24, align 8 %71 = fneg double %70 %72 = load double, ptr %38, align 8 %73 = fsub double %71, %72 store double %73, ptr %27, align 8 %74 = load double, ptr %26, align 8 %75 = fcmp ogt double %74, 0.000000e+00 br i1 %75, label %76, label %120 76: ; preds = %65 %77 = load double, ptr %13, align 8 %78 = load double, ptr %19, align 8 %79 = fsub double %77, %78 %80 = load double, ptr %26, align 8 %81 = load double, ptr %15, align 8 %82 = load double, ptr %19, align 8 %83 = fadd double %81, %82 %84 = fmul double 3.000000e+00, %83 %85 = load double, ptr %26, align 8 %86 = fmul double %84, %85 %87 = call double @llvm.fmuladd.f64(double %79, double %80, double %86) %88 = load double, ptr %17, align 8 %89 = load double, ptr %19, align 8 %90 = fsub double %88, %89 %91 = fmul double 3.000000e+00, %90 %92 = load double, ptr %26, align 8 %93 = call double @llvm.fmuladd.f64(double %91, double %92, double %87) store double %93, ptr %33, align 8 %94 = load double, ptr %14, align 8 %95 = load double, ptr %20, align 8 %96 = fsub double %94, %95 %97 = load double, ptr %26, align 8 %98 = load double, ptr %16, align 8 %99 = load double, ptr %20, align 8 %100 = fadd double %98, %99 %101 = fmul double 3.000000e+00, %100 %102 = load double, ptr %26, align 8 %103 = fmul double %101, %102 %104 = call double @llvm.fmuladd.f64(double %96, double %97, double %103) %105 = load double, ptr %18, align 8 %106 = load double, ptr %20, align 8 %107 = fsub double %105, %106 %108 = fmul double 3.000000e+00, %107 %109 = load double, ptr %26, align 8 %110 = call double @llvm.fmuladd.f64(double %108, double %109, double %104) store double %110, ptr %34, align 8 %111 = load ptr, ptr %12, align 8 %112 = load double, ptr %37, align 8 %113 = load double, ptr %36, align 8 %114 = call i32 @foo(ptr noundef %111, double noundef %112, double noundef %113) %115 = load ptr, ptr %12, align 8 %116 = load double, ptr %37, align 8 %117 = fneg double %116 %118 = load double, ptr %36, align 8 %119 = call i32 @foo(ptr noundef %115, double noundef %117, double noundef %118) br label %120 120: ; preds = %76, %65 %121 = load double, ptr %27, align 8 %122 = fcmp ogt double %121, 0.000000e+00 br i1 %122, label %123, label %187 123: ; preds = %120 %124 = load double, ptr %13, align 8 %125 = load double, ptr %17, align 8 %126 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %125, double %124) %127 = load double, ptr %19, align 8 %128 = fsub double %126, %127 %129 = load double, ptr %27, align 8 %130 = load double, ptr %15, align 8 %131 = load double, ptr %17, align 8 %132 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %131, double %130) %133 = load double, ptr %19, align 8 %134 = fadd double %132, %133 %135 = fmul double 3.000000e+00, %134 %136 = load double, ptr %27, align 8 %137 = fmul double %135, %136 %138 = call double @llvm.fmuladd.f64(double %128, double %129, double %137) %139 = load double, ptr %27, align 8 %140 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %139, double %138) store double %140, ptr %33, align 8 %141 = load double, ptr %14, align 8 %142 = load double, ptr %18, align 8 %143 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %142, double %141) %144 = load double, ptr %20, align 8 %145 = fsub double %143, %144 %146 = load double, ptr %27, align 8 %147 = load double, ptr %16, align 8 %148 = load double, ptr %18, align 8 %149 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %148, double %147) %150 = load double, ptr %20, align 8 %151 = fadd double %149, %150 %152 = fmul double 3.000000e+00, %151 %153 = load double, ptr %27, align 8 %154 = fmul double %152, %153 %155 = call double @llvm.fmuladd.f64(double %145, double %146, double %154) %156 = load double, ptr %27, align 8 %157 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %156, double %155) store double %157, ptr %34, align 8 %158 = load double, ptr %33, align 8 %159 = load ptr, ptr %22, align 8 %160 = getelementptr inbounds double, ptr %159, i64 0 %161 = load double, ptr %160, align 8 %162 = load double, ptr %34, align 8 %163 = load ptr, ptr %22, align 8 %164 = getelementptr inbounds double, ptr %163, i64 2 %165 = load double, ptr %164, align 8 %166 = fmul double %162, %165 %167 = call double @llvm.fmuladd.f64(double %158, double %161, double %166) store double %167, ptr %35, align 8 %168 = load double, ptr %33, align 8 %169 = load ptr, ptr %22, align 8 %170 = getelementptr inbounds double, ptr %169, i64 1 %171 = load double, ptr %170, align 8 %172 = load double, ptr %34, align 8 %173 = load ptr, ptr %22, align 8 %174 = getelementptr inbounds double, ptr %173, i64 3 %175 = load double, ptr %174, align 8 %176 = fmul double %172, %175 %177 = call double @llvm.fmuladd.f64(double %168, double %171, double %176) store double %177, ptr %36, align 8 %178 = load ptr, ptr %12, align 8 %179 = load double, ptr %37, align 8 %180 = load double, ptr %36, align 8 %181 = call i32 @foo(ptr noundef %178, double noundef %179, double noundef %180) %182 = load ptr, ptr %12, align 8 %183 = load double, ptr %37, align 8 %184 = fneg double %183 %185 = load double, ptr %36, align 8 %186 = call i32 @foo(ptr noundef %182, double noundef %184, double noundef %185) br label %187 187: ; preds = %123, %120 br label %188 188: ; preds = %187, %11 %189 = load double, ptr %28, align 8 %190 = fcmp une double %189, 0.000000e+00 br i1 %190, label %191, label %206 191: ; preds = %188 store double 0.000000e+00, ptr %38, align 8 %192 = load double, ptr %29, align 8 %193 = fneg double %192 %194 = load double, ptr %38, align 8 %195 = fadd double %193, %194 %196 = load double, ptr %28, align 8 %197 = fmul double 2.000000e+00, %196 %198 = fdiv double %195, %197 store double %198, ptr %31, align 8 %199 = load double, ptr %29, align 8 %200 = fneg double %199 %201 = load double, ptr %38, align 8 %202 = fsub double %200, %201 %203 = load double, ptr %28, align 8 %204 = fmul double 2.000000e+00, %203 %205 = fdiv double %202, %204 store double %205, ptr %32, align 8 br label %206 206: ; preds = %191, %188 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @foo(ptr noundef, double noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjd_5r8ic.c' source_filename = "/tmp/tmpjd_5r8ic.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c%c%c\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"SENT DONT MCCP2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @send_dont_mccp2(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @socket_printf(ptr noundef %7, i32 noundef 3, ptr noundef @.str, i32 noundef 255, i32 noundef 254, i32 noundef 86) %9 = load ptr, ptr %4, align 8 %10 = call i32 @telopt_debug(ptr noundef %9, ptr noundef @.str.1) ret i32 3 } declare i32 @socket_printf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @telopt_debug(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/tmpjd_5r8ic.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c%c%c\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"SENT DONT MCCP2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @send_dont_mccp2(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @socket_printf(ptr noundef %7, i32 noundef 3, ptr noundef @.str, i32 noundef 255, i32 noundef 254, i32 noundef 86) %9 = load ptr, ptr %4, align 8 %10 = call i32 @telopt_debug(ptr noundef %9, ptr noundef @.str.1) ret i32 3 } declare i32 @socket_printf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @telopt_debug(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/tmppyq4kgd4.c' source_filename = "/tmp/tmppyq4kgd4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [80 x i8] c"usage: yasp FILE\0A\09available format: S98(S98V1/S98V3), VGM(YM2608+ADPCM/YM2151)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppyq4kgd4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [80 x i8] c"usage: yasp FILE\0A\09available format: S98(S98V1/S98V3), VGM(YM2608+ADPCM/YM2151)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3ei656ql.c' source_filename = "/tmp/tmp3ei656ql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPPROTO_TCP = dso_local global i32 0, align 4 @TCP_NODELAY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"setsockopt TCP_NODELAY: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @anetTcpNoDelay(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 1, ptr %6, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr @IPPROTO_TCP, align 4 %9 = load i32, ptr @TCP_NODELAY, align 4 %10 = call i32 @setsockopt(i32 noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %6, i32 noundef 4) %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %17 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr @errno, align 4 %15 = call i32 @strerror(i32 noundef %14) %16 = call i32 @anetSetError(ptr noundef %13, ptr noundef @.str, i32 noundef %15) store i32 -1, ptr %3, align 4 br label %18 17: ; preds = %2 store i32 0, ptr %3, align 4 br label %18 18: ; preds = %17, %12 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @anetSetError(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3ei656ql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPPROTO_TCP = dso_local global i32 0, align 4 @TCP_NODELAY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"setsockopt TCP_NODELAY: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @anetTcpNoDelay(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 1, ptr %6, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr @IPPROTO_TCP, align 4 %9 = load i32, ptr @TCP_NODELAY, align 4 %10 = call i32 @setsockopt(i32 noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %6, i32 noundef 4) %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %17 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr @errno, align 4 %15 = call i32 @strerror(i32 noundef %14) %16 = call i32 @anetSetError(ptr noundef %13, ptr noundef @.str, i32 noundef %15) store i32 -1, ptr %3, align 4 br label %18 17: ; preds = %2 store i32 0, ptr %3, align 4 br label %18 18: ; preds = %17, %12 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @anetSetError(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @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"}
; ModuleID = '/tmp/tmp4f00efw2.c' source_filename = "/tmp/tmp4f00efw2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @uint2int(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @INT_MAX, align 4 %6 = add i32 %5, 1 %7 = icmp ult i32 %4, %6 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = load i32, ptr %2, align 4 store i32 %9, ptr %3, align 4 br label %20 10: ; preds = %1 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr @INT_MAX, align 4 %13 = sub i32 %11, %12 %14 = sub i32 %13, 1 store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr @INT_MAX, align 4 %18 = sub i32 %16, %17 %19 = sub i32 %18, 1 store i32 %19, ptr %3, align 4 br label %20 20: ; preds = %10, %8 %21 = load i32, ptr %3, align 4 ret i32 %21 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4f00efw2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @uint2int(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @INT_MAX, align 4 %6 = add i32 %5, 1 %7 = icmp ult i32 %4, %6 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = load i32, ptr %2, align 4 store i32 %9, ptr %3, align 4 br label %20 10: ; preds = %1 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr @INT_MAX, align 4 %13 = sub i32 %11, %12 %14 = sub i32 %13, 1 store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr @INT_MAX, align 4 %18 = sub i32 %16, %17 %19 = sub i32 %18, 1 store i32 %19, ptr %3, align 4 br label %20 20: ; preds = %10, %8 %21 = load i32, ptr %3, align 4 ret i32 %21 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4_98wbts.c' source_filename = "/tmp/tmp4_98wbts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @minmax(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds i32, ptr %11, i64 0 %13 = load i32, ptr %12, align 4 %14 = load ptr, ptr %7, align 8 store i32 %13, ptr %14, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 0 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %8, align 8 store i32 %17, ptr %18, align 4 store i32 1, ptr %9, align 4 br label %19 19: ; preds = %56, %4 %20 = load i32, ptr %9, align 4 %21 = load i32, ptr %6, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %59 23: ; preds = %19 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %9, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %8, align 8 %30 = load i32, ptr %29, align 4 %31 = icmp sgt i32 %28, %30 br i1 %31, label %32, label %39 32: ; preds = %23 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %9, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = load ptr, ptr %8, align 8 store i32 %37, ptr %38, align 4 br label %39 39: ; preds = %32, %23 %40 = load ptr, ptr %5, align 8 %41 = load i32, ptr %9, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 %44 = load i32, ptr %43, align 4 %45 = load ptr, ptr %7, align 8 %46 = load i32, ptr %45, align 4 %47 = icmp slt i32 %44, %46 br i1 %47, label %48, label %55 48: ; preds = %39 %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %9, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %49, i64 %51 %53 = load i32, ptr %52, align 4 %54 = load ptr, ptr %7, align 8 store i32 %53, ptr %54, align 4 br label %55 55: ; preds = %48, %39 br label %56 56: ; preds = %55 %57 = load i32, ptr %9, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %9, align 4 br label %19, !llvm.loop !6 59: ; preds = %19 store i32 0, ptr %10, align 4 %60 = load ptr, ptr %8, align 8 %61 = load i32, ptr %60, align 4 %62 = load ptr, ptr %7, align 8 %63 = load i32, ptr %62, align 4 %64 = add nsw i32 %61, %63 store i32 %64, ptr %10, align 4 %65 = load i32, ptr %10, align 4 %66 = call i32 @printf(ptr noundef @.str, i32 noundef %65) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4_98wbts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @minmax(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds i32, ptr %11, i64 0 %13 = load i32, ptr %12, align 4 %14 = load ptr, ptr %7, align 8 store i32 %13, ptr %14, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 0 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %8, align 8 store i32 %17, ptr %18, align 4 store i32 1, ptr %9, align 4 %19 = load i32, ptr %9, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph, label %61 .lr.ph: ; preds = %4 br label %22 22: ; preds = %.lr.ph, %55 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %9, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 %28 = load ptr, ptr %8, align 8 %29 = load i32, ptr %28, align 4 %30 = icmp sgt i32 %27, %29 br i1 %30, label %31, label %38 31: ; preds = %22 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %9, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 %36 = load i32, ptr %35, align 4 %37 = load ptr, ptr %8, align 8 store i32 %36, ptr %37, align 4 br label %38 38: ; preds = %31, %22 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %9, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 %44 = load ptr, ptr %7, align 8 %45 = load i32, ptr %44, align 4 %46 = icmp slt i32 %43, %45 br i1 %46, label %47, label %54 47: ; preds = %38 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 %52 = load i32, ptr %51, align 4 %53 = load ptr, ptr %7, align 8 store i32 %52, ptr %53, align 4 br label %54 54: ; preds = %47, %38 br label %55 55: ; preds = %54 %56 = load i32, ptr %9, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %9, align 4 %58 = load i32, ptr %9, align 4 %59 = load i32, ptr %6, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %55 br label %61 61: ; preds = %._crit_edge, %4 store i32 0, ptr %10, align 4 %62 = load ptr, ptr %8, align 8 %63 = load i32, ptr %62, align 4 %64 = load ptr, ptr %7, align 8 %65 = load i32, ptr %64, align 4 %66 = add nsw i32 %63, %65 store i32 %66, ptr %10, align 4 %67 = load i32, ptr %10, align 4 %68 = call i32 @printf(ptr noundef @.str, i32 noundef %67) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpeojaf3hy.c' source_filename = "/tmp/tmpeojaf3hy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [38 x i8] c"%s: cannot open file for writing: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"client-test\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cmdline_parser_file_save(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %17, label %12 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %4, align 8 %15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %14) %16 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %16, ptr %3, align 4 br label %24 17: ; preds = %2 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %5, align 8 %20 = call i32 @cmdline_parser_dump(ptr noundef %18, ptr noundef %19) store i32 %20, ptr %7, align 4 %21 = load ptr, ptr %6, align 8 %22 = call i32 @fclose(ptr noundef %21) %23 = load i32, ptr %7, align 4 store i32 %23, ptr %3, align 4 br label %24 24: ; preds = %17, %12 %25 = load i32, ptr %3, align 4 ret i32 %25 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @cmdline_parser_dump(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeojaf3hy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [38 x i8] c"%s: cannot open file for writing: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"client-test\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cmdline_parser_file_save(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %17, label %12 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %4, align 8 %15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %14) %16 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %16, ptr %3, align 4 br label %24 17: ; preds = %2 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %5, align 8 %20 = call i32 @cmdline_parser_dump(ptr noundef %18, ptr noundef %19) store i32 %20, ptr %7, align 4 %21 = load ptr, ptr %6, align 8 %22 = call i32 @fclose(ptr noundef %21) %23 = load i32, ptr %7, align 4 store i32 %23, ptr %3, align 4 br label %24 24: ; preds = %17, %12 %25 = load i32, ptr %3, align 4 ret i32 %25 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @cmdline_parser_dump(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcgqc3j1g.c' source_filename = "/tmp/tmpcgqc3j1g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_motor_position(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %2, align 4 ret i32 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcgqc3j1g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_motor_position(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %2, align 4 ret i32 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkdvf0h0q.c' source_filename = "/tmp/tmpkdvf0h0q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @optimalSum(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %13 = load i32, ptr %8, align 4 %14 = add nsw i32 %13, 1 %15 = load i32, ptr %10, align 4 %16 = icmp eq i32 %14, %15 br i1 %16, label %17, label %58 17: ; preds = %5 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %8, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %10, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 %28 = icmp slt i32 %22, %27 br i1 %28, label %29, label %43 29: ; preds = %17 %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr %10, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %10, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 store i32 %34, ptr %38, align 4 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %8, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 store i32 1, ptr %42, align 4 br label %57 43: ; preds = %17 %44 = load ptr, ptr %7, align 8 %45 = load i32, ptr %10, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 store i32 1, ptr %47, align 4 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %8, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 %52 = load i32, ptr %51, align 4 %53 = load ptr, ptr %7, align 8 %54 = load i32, ptr %8, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 store i32 %52, ptr %56, align 4 br label %57 57: ; preds = %43, %29 br label %90 58: ; preds = %5 %59 = load ptr, ptr %6, align 8 %60 = load i32, ptr %9, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 %63 = load i32, ptr %62, align 4 store i32 %63, ptr %11, align 4 %64 = load ptr, ptr %6, align 8 %65 = load i32, ptr %9, align 4 %66 = add nsw i32 %65, 1 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %64, i64 %67 %69 = load i32, ptr %68, align 4 store i32 %69, ptr %12, align 4 %70 = load ptr, ptr %6, align 8 %71 = load ptr, ptr %7, align 8 %72 = load i32, ptr %8, align 4 %73 = load i32, ptr %9, align 4 %74 = load i32, ptr %10, align 4 %75 = call i64 @getSum(ptr noundef %70, ptr noundef %71, i32 noundef %72, i32 noundef %73, i32 noundef %74, i32 noundef 0) %76 = load ptr, ptr %6, align 8 %77 = load ptr, ptr %7, align 8 %78 = load i32, ptr %8, align 4 %79 = load i32, ptr %9, align 4 %80 = load i32, ptr %10, align 4 %81 = call i64 @getSum(ptr noundef %76, ptr noundef %77, i32 noundef %78, i32 noundef %79, i32 noundef %80, i32 noundef 1) %82 = icmp slt i64 %75, %81 br i1 %82, label %83, label %89 83: ; preds = %58 %84 = load ptr, ptr %6, align 8 %85 = load ptr, ptr %7, align 8 %86 = load i32, ptr %8, align 4 %87 = load i32, ptr %10, align 4 %88 = call i32 @flipArray(ptr noundef %84, ptr noundef %85, i32 noundef %86, i32 noundef %87) br label %89 89: ; preds = %83, %58 br label %90 90: ; preds = %89, %57 ret void } declare i64 @getSum(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @flipArray(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkdvf0h0q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @optimalSum(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %13 = load i32, ptr %8, align 4 %14 = add nsw i32 %13, 1 %15 = load i32, ptr %10, align 4 %16 = icmp eq i32 %14, %15 br i1 %16, label %17, label %58 17: ; preds = %5 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %8, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %10, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 %28 = icmp slt i32 %22, %27 br i1 %28, label %29, label %43 29: ; preds = %17 %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr %10, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %10, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 store i32 %34, ptr %38, align 4 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %8, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 store i32 1, ptr %42, align 4 br label %57 43: ; preds = %17 %44 = load ptr, ptr %7, align 8 %45 = load i32, ptr %10, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 store i32 1, ptr %47, align 4 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %8, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 %52 = load i32, ptr %51, align 4 %53 = load ptr, ptr %7, align 8 %54 = load i32, ptr %8, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 store i32 %52, ptr %56, align 4 br label %57 57: ; preds = %43, %29 br label %90 58: ; preds = %5 %59 = load ptr, ptr %6, align 8 %60 = load i32, ptr %9, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 %63 = load i32, ptr %62, align 4 store i32 %63, ptr %11, align 4 %64 = load ptr, ptr %6, align 8 %65 = load i32, ptr %9, align 4 %66 = add nsw i32 %65, 1 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %64, i64 %67 %69 = load i32, ptr %68, align 4 store i32 %69, ptr %12, align 4 %70 = load ptr, ptr %6, align 8 %71 = load ptr, ptr %7, align 8 %72 = load i32, ptr %8, align 4 %73 = load i32, ptr %9, align 4 %74 = load i32, ptr %10, align 4 %75 = call i64 @getSum(ptr noundef %70, ptr noundef %71, i32 noundef %72, i32 noundef %73, i32 noundef %74, i32 noundef 0) %76 = load ptr, ptr %6, align 8 %77 = load ptr, ptr %7, align 8 %78 = load i32, ptr %8, align 4 %79 = load i32, ptr %9, align 4 %80 = load i32, ptr %10, align 4 %81 = call i64 @getSum(ptr noundef %76, ptr noundef %77, i32 noundef %78, i32 noundef %79, i32 noundef %80, i32 noundef 1) %82 = icmp slt i64 %75, %81 br i1 %82, label %83, label %89 83: ; preds = %58 %84 = load ptr, ptr %6, align 8 %85 = load ptr, ptr %7, align 8 %86 = load i32, ptr %8, align 4 %87 = load i32, ptr %10, align 4 %88 = call i32 @flipArray(ptr noundef %84, ptr noundef %85, i32 noundef %86, i32 noundef %87) br label %89 89: ; preds = %83, %58 br label %90 90: ; preds = %89, %57 ret void } declare i64 @getSum(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @flipArray(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgu0wymc3.c' source_filename = "/tmp/tmpgu0wymc3.c" target datalayout = "e-m:e-p270: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/tmpgu0wymc3.c" target datalayout = "e-m:e-p270: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/tmp22suj46x.c' source_filename = "/tmp/tmp22suj46x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"memory allocation failure\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Smalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 store ptr null, ptr %3, 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 = icmp eq ptr %5, null br i1 %6, label %7, label %9 7: ; preds = %1 %8 = call i32 @Die(ptr noundef @.str) br label %9 9: ; preds = %7, %1 %10 = load ptr, ptr %3, align 8 ret ptr %10 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @Die(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = { 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/tmp22suj46x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"memory allocation failure\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Smalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 store ptr null, ptr %3, 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 = icmp eq ptr %5, null br i1 %6, label %7, label %9 7: ; preds = %1 %8 = call i32 @Die(ptr noundef @.str) br label %9 9: ; preds = %7, %1 %10 = load ptr, ptr %3, align 8 ret ptr %10 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @Die(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = { 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/tmp7x_rzyi0.c' source_filename = "/tmp/tmp7x_rzyi0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XKeyPressedEvent_send_event(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 %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = trunc i64 %5 to i32 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7x_rzyi0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XKeyPressedEvent_send_event(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 %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = trunc i64 %5 to i32 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptqh00nox.c' source_filename = "/tmp/tmptqh00nox.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getClock() #0 { %1 = call i32 (...) @clock() ret i32 %1 } declare i32 @clock(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptqh00nox.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getClock() #0 { %1 = call i32 (...) @clock() ret i32 %1 } declare i32 @clock(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqywp1em2.c' source_filename = "/tmp/tmpqywp1em2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"\\************* %s *************\\\0A\00", align 1 @.str.1 = private unnamed_addr constant [96 x i8] c"%s is a small tool to convert fits images\0Ato any video format using CUDA to create rgb images.\0A\00", align 1 @.str.2 = private unnamed_addr constant [64 x i8] c"Written by Antoine Genetelli\0AEmail: antoine.genetelli@mac.com\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"\0Alist of avaible options:\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"h --------- print this help\0A\00", align 1 @.str.5 = private unnamed_addr constant [56 x i8] c"d [min:max] set cut off limit for byte scaling images.\0A\00", align 1 @.str.6 = private unnamed_addr constant [60 x i8] c"s [nx:ny] set new width and height to rescale the movie.\0A\00", align 1 @.str.7 = private unnamed_addr constant [52 x i8] c"f [fps] set the desired frame per second rate.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printHelp(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %5) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = load ptr, ptr %2, align 8 %9 = call i32 @printUsage(ptr noundef %8) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @printUsage(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqywp1em2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"\\************* %s *************\\\0A\00", align 1 @.str.1 = private unnamed_addr constant [96 x i8] c"%s is a small tool to convert fits images\0Ato any video format using CUDA to create rgb images.\0A\00", align 1 @.str.2 = private unnamed_addr constant [64 x i8] c"Written by Antoine Genetelli\0AEmail: antoine.genetelli@mac.com\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"\0Alist of avaible options:\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"h --------- print this help\0A\00", align 1 @.str.5 = private unnamed_addr constant [56 x i8] c"d [min:max] set cut off limit for byte scaling images.\0A\00", align 1 @.str.6 = private unnamed_addr constant [60 x i8] c"s [nx:ny] set new width and height to rescale the movie.\0A\00", align 1 @.str.7 = private unnamed_addr constant [52 x i8] c"f [fps] set the desired frame per second rate.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printHelp(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %5) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = load ptr, ptr %2, align 8 %9 = call i32 @printUsage(ptr noundef %8) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @printUsage(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxwpkint5.c' source_filename = "/tmp/tmpxwpkint5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Senha Invalida\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Acesso Permitido\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) br label %4 4: ; preds = %7, %0 %5 = load i32, ptr %2, align 4 %6 = icmp ne i32 %5, 2002 br i1 %6, label %7, label %10 7: ; preds = %4 %8 = call i32 @printf(ptr noundef @.str.1) %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %4, !llvm.loop !6 10: ; preds = %4 %11 = call i32 @printf(ptr noundef @.str.2) ret i32 0 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxwpkint5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Senha Invalida\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Acesso Permitido\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 ne i32 %4, 2002 br i1 %5, label %.lr.ph, label %11 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %6 %7 = call i32 @printf(ptr noundef @.str.1) %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %9 = load i32, ptr %2, align 4 %10 = icmp ne i32 %9, 2002 br i1 %10, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %11 11: ; preds = %._crit_edge, %0 %12 = call i32 @printf(ptr noundef @.str.2) ret i32 0 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6jianlyw.c' source_filename = "/tmp/tmp6jianlyw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeInt(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = call i32 @htonl(i32 noundef %6) store i32 %7, ptr %5, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @memcpy(ptr noundef %8, ptr noundef %3, i32 noundef 4) ret void } declare i32 @htonl(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6jianlyw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeInt(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = call i32 @htonl(i32 noundef %6) store i32 %7, ptr %5, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @memcpy(ptr noundef %8, ptr noundef %3, i32 noundef 4) ret void } declare i32 @htonl(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0o3vus0b.c' source_filename = "/tmp/tmp0o3vus0b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f() #0 { %1 = call i32 (...) @function_definition() %2 = call i32 (...) @function_declaration_both_before() %3 = call i32 (...) @function_declaration_both_after() %4 = call i32 (...) @function_declaration_noinline_before() %5 = call i32 (...) @function_declaration_noinline_after() %6 = call i32 (...) @function_declaration_inline_before() %7 = call i32 (...) @function_declaration_inline_noinline_before() %8 = call i32 (...) @function_declaration_inline_noinline_after() %9 = call i32 (...) @function_declaration_noinline_inline_before() ret void } declare i32 @function_definition(...) #1 declare i32 @function_declaration_both_before(...) #1 declare i32 @function_declaration_both_after(...) #1 declare i32 @function_declaration_noinline_before(...) #1 declare i32 @function_declaration_noinline_after(...) #1 declare i32 @function_declaration_inline_before(...) #1 declare i32 @function_declaration_inline_noinline_before(...) #1 declare i32 @function_declaration_inline_noinline_after(...) #1 declare i32 @function_declaration_noinline_inline_before(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0o3vus0b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f() #0 { %1 = call i32 (...) @function_definition() %2 = call i32 (...) @function_declaration_both_before() %3 = call i32 (...) @function_declaration_both_after() %4 = call i32 (...) @function_declaration_noinline_before() %5 = call i32 (...) @function_declaration_noinline_after() %6 = call i32 (...) @function_declaration_inline_before() %7 = call i32 (...) @function_declaration_inline_noinline_before() %8 = call i32 (...) @function_declaration_inline_noinline_after() %9 = call i32 (...) @function_declaration_noinline_inline_before() ret void } declare i32 @function_definition(...) #1 declare i32 @function_declaration_both_before(...) #1 declare i32 @function_declaration_both_after(...) #1 declare i32 @function_declaration_noinline_before(...) #1 declare i32 @function_declaration_noinline_after(...) #1 declare i32 @function_declaration_inline_before(...) #1 declare i32 @function_declaration_inline_noinline_before(...) #1 declare i32 @function_declaration_inline_noinline_after(...) #1 declare i32 @function_declaration_noinline_inline_before(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8e3_fg97.c' source_filename = "/tmp/tmp8e3_fg97.c" target datalayout = "e-m:e-p270: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/tmp8e3_fg97.c" target datalayout = "e-m:e-p270: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/tmpnnd4x47u.c' source_filename = "/tmp/tmpnnd4x47u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCKS_PER_SEC = 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/tmpnnd4x47u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCKS_PER_SEC = 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/tmpekyy9tc_.c' source_filename = "/tmp/tmpekyy9tc_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable define dso_local float @ceilf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call i64 @ceil(float noundef %3) %5 = sitofp i64 %4 to float ret float %5 } declare i64 @ceil(float noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpekyy9tc_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable define dso_local float @ceilf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call i64 @ceil(float noundef %3) %5 = sitofp i64 %4 to float ret float %5 } declare i64 @ceil(float noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq46c2kn4.c' source_filename = "/tmp/tmpq46c2kn4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__wrap_fclose(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 @dll_fclose(ptr noundef %3) ret i32 %4 } declare i32 @dll_fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq46c2kn4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__wrap_fclose(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 @dll_fclose(ptr noundef %3) ret i32 %4 } declare i32 @dll_fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5j6ine1c.c' source_filename = "/tmp/tmp5j6ine1c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s, %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @str_cmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %6, ptr noundef %7) %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @printf(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/tmp5j6ine1c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s, %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @str_cmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @printf(ptr noundef @.str, ptr noundef %6, ptr noundef %7) %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @printf(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/tmp30ys7ad6.c' source_filename = "/tmp/tmp30ys7ad6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @assert(i32 noundef 1) %3 = call i32 @assert(i32 noundef 1) %4 = call i32 @assert(i32 noundef 1) %5 = call i32 @assert(i32 noundef 1) %6 = call i32 @assert(i32 noundef 1) %7 = call i32 @assert(i32 noundef 1) %8 = call i32 @assert(i32 noundef 1) %9 = call i32 @assert(i32 noundef 1) %10 = call i32 @assert(i32 noundef 1) %11 = call i32 @assert(i32 noundef 1) %12 = call i32 @assert(i32 noundef 1) ret i32 0 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp30ys7ad6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @assert(i32 noundef 1) %3 = call i32 @assert(i32 noundef 1) %4 = call i32 @assert(i32 noundef 1) %5 = call i32 @assert(i32 noundef 1) %6 = call i32 @assert(i32 noundef 1) %7 = call i32 @assert(i32 noundef 1) %8 = call i32 @assert(i32 noundef 1) %9 = call i32 @assert(i32 noundef 1) %10 = call i32 @assert(i32 noundef 1) %11 = call i32 @assert(i32 noundef 1) %12 = call i32 @assert(i32 noundef 1) ret i32 0 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjclwl2at.c' source_filename = "/tmp/tmpjclwl2at.c" target datalayout = "e-m:e-p270: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/tmpjclwl2at.c" target datalayout = "e-m:e-p270: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/tmpzgd8mspz.c' source_filename = "/tmp/tmpzgd8mspz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ieee_p_1242562249_sub_8645934262925994370_1035706684(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 [24 x i8], align 16 %12 = alloca [16 x i8], align 16 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i8, align 1 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca i8, align 1 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca ptr, align 8 %28 = alloca i32, align 4 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 %31 = 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 br label %32 32: ; preds = %5 %33 = getelementptr inbounds [24 x i8], ptr %11, i64 0, i64 0 %34 = getelementptr inbounds i8, ptr %33, i64 4 store ptr %34, ptr %14, align 8 %35 = load ptr, ptr %8, align 8 %36 = icmp ne ptr %35, null %37 = zext i1 %36 to i32 %38 = trunc i32 %37 to i8 store i8 %38, ptr %15, align 1 %39 = load i8, ptr %15, align 1 %40 = zext i8 %39 to i32 %41 = icmp eq i32 %40, 1 br i1 %41, label %42, label %43 42: ; preds = %32 br label %126 43: ; preds = %32 br label %44 44: ; preds = %126, %43 %45 = getelementptr inbounds [24 x i8], ptr %11, i64 0, i64 0 %46 = getelementptr inbounds i8, ptr %45, i64 12 store ptr %46, ptr %16, align 8 %47 = load ptr, ptr %9, align 8 %48 = load ptr, ptr %16, align 8 store ptr %47, ptr %48, align 8 %49 = getelementptr inbounds [24 x i8], ptr %11, i64 0, i64 0 %50 = getelementptr inbounds i8, ptr %49, i64 20 store ptr %50, ptr %17, align 8 %51 = load i32, ptr %10, align 4 %52 = load ptr, ptr %17, align 8 store i32 %51, ptr %52, align 4 %53 = load ptr, ptr %9, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 12 store ptr %54, ptr %18, align 8 %55 = load ptr, ptr %18, align 8 %56 = load i32, ptr %55, align 4 store i32 %56, ptr %19, align 4 %57 = load i32, ptr %19, align 4 %58 = icmp ult i32 %57, 1 %59 = zext i1 %58 to i32 %60 = trunc i32 %59 to i8 store i8 %60, ptr %20, align 1 %61 = load i8, ptr %20, align 1 %62 = zext i8 %61 to i32 %63 = icmp ne i32 %62, 0 br i1 %63, label %64, label %65 64: ; preds = %44 br label %129 65: ; preds = %44 br label %66 66: ; preds = %65 br label %67 67: ; preds = %157, %66 %68 = load ptr, ptr %6, align 8 %69 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0 %70 = load ptr, ptr %8, align 8 %71 = load ptr, ptr %9, align 8 %72 = load i32, ptr %10, align 4 %73 = call ptr @ieee_p_1242562249_sub_18075413680674919751_1035706684(ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, i32 noundef %72) store ptr %73, ptr %18, align 8 %74 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0 %75 = getelementptr inbounds i8, ptr %74, i64 12 store ptr %75, ptr %21, align 8 %76 = load ptr, ptr %21, align 8 %77 = load i32, ptr %76, align 4 store i32 %77, ptr %19, align 4 %78 = load i32, ptr %19, align 4 %79 = mul i32 %78, 1 store i32 %79, ptr %19, align 4 %80 = load i32, ptr %19, align 4 %81 = call ptr @xsi_get_transient_memory(i32 noundef %80) store ptr %81, ptr %13, align 8 %82 = load ptr, ptr %13, align 8 %83 = load ptr, ptr %18, align 8 %84 = load i32, ptr %19, align 4 %85 = call i32 @memcpy(ptr noundef %82, ptr noundef %83, i32 noundef %84) %86 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0 %87 = getelementptr inbounds i8, ptr %86, i64 0 store ptr %87, ptr %22, align 8 %88 = load ptr, ptr %22, align 8 %89 = load i32, ptr %88, align 4 store i32 %89, ptr %24, align 4 %90 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0 %91 = getelementptr inbounds i8, ptr %90, i64 4 store ptr %91, ptr %23, align 8 %92 = load ptr, ptr %23, align 8 %93 = load i32, ptr %92, align 4 store i32 %93, ptr %26, align 4 %94 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0 %95 = getelementptr inbounds i8, ptr %94, i64 8 store ptr %95, ptr %27, align 8 %96 = load ptr, ptr %27, align 8 %97 = load i32, ptr %96, align 4 store i32 %97, ptr %28, align 4 %98 = load ptr, ptr %7, align 8 %99 = getelementptr inbounds i8, ptr %98, i64 0 store ptr %99, ptr %29, align 8 %100 = load ptr, ptr %29, align 8 %101 = getelementptr inbounds i8, ptr %100, i64 0 store ptr %101, ptr %30, align 8 %102 = load i32, ptr %24, align 4 %103 = load ptr, ptr %30, align 8 store i32 %102, ptr %103, align 4 %104 = load ptr, ptr %29, align 8 %105 = getelementptr inbounds i8, ptr %104, i64 4 store ptr %105, ptr %30, align 8 %106 = load i32, ptr %26, align 4 %107 = load ptr, ptr %30, align 8 store i32 %106, ptr %107, align 4 %108 = load ptr, ptr %29, align 8 %109 = getelementptr inbounds i8, ptr %108, i64 8 store ptr %109, ptr %30, align 8 %110 = load i32, ptr %28, align 4 %111 = load ptr, ptr %30, align 8 store i32 %110, ptr %111, align 4 %112 = load i32, ptr %26, align 4 %113 = load i32, ptr %24, align 4 %114 = sub nsw i32 %112, %113 store i32 %114, ptr %31, align 4 %115 = load i32, ptr %31, align 4 %116 = load i32, ptr %28, align 4 %117 = mul nsw i32 %115, %116 store i32 %117, ptr %25, align 4 %118 = load i32, ptr %25, align 4 %119 = add i32 %118, 1 store i32 %119, ptr %25, align 4 %120 = load ptr, ptr %29, align 8 %121 = getelementptr inbounds i8, ptr %120, i64 12 store ptr %121, ptr %30, align 8 %122 = load i32, ptr %25, align 4 %123 = load ptr, ptr %30, align 8 store i32 %122, ptr %123, align 4 br label %124 124: ; preds = %129, %67 %125 = load ptr, ptr %13, align 8 br label %158 126: ; preds = %42 %127 = load ptr, ptr %8, align 8 %128 = load ptr, ptr %14, align 8 store ptr %127, ptr %128, align 8 br label %44 129: ; preds = %64 %130 = load ptr, ptr %6, align 8 %131 = getelementptr inbounds i8, ptr %130, i64 1168 store ptr %131, ptr %21, align 8 %132 = load ptr, ptr %21, align 8 %133 = load ptr, ptr %132, align 8 store ptr %133, ptr %22, align 8 %134 = call ptr @xsi_get_transient_memory(i32 noundef 0) store ptr %134, ptr %13, align 8 %135 = load ptr, ptr %13, align 8 %136 = load ptr, ptr %22, align 8 %137 = call i32 @memcpy(ptr noundef %135, ptr noundef %136, i32 noundef 0) %138 = load ptr, ptr %7, align 8 %139 = getelementptr inbounds i8, ptr %138, i64 0 store ptr %139, ptr %21, align 8 %140 = load ptr, ptr %21, align 8 %141 = getelementptr inbounds i8, ptr %140, i64 0 store ptr %141, ptr %23, align 8 %142 = load ptr, ptr %23, align 8 store i32 0, ptr %142, align 4 %143 = load ptr, ptr %21, align 8 %144 = getelementptr inbounds i8, ptr %143, i64 4 store ptr %144, ptr %23, align 8 %145 = load ptr, ptr %23, align 8 store i32 1, ptr %145, align 4 %146 = load ptr, ptr %21, align 8 %147 = getelementptr inbounds i8, ptr %146, i64 8 store ptr %147, ptr %23, align 8 %148 = load ptr, ptr %23, align 8 store i32 -1, ptr %148, align 4 store i32 1, ptr %24, align 4 %149 = load i32, ptr %24, align 4 %150 = mul nsw i32 %149, -1 store i32 %150, ptr %25, align 4 %151 = load i32, ptr %25, align 4 %152 = add i32 %151, 1 store i32 %152, ptr %25, align 4 %153 = load ptr, ptr %21, align 8 %154 = getelementptr inbounds i8, ptr %153, i64 12 store ptr %154, ptr %23, align 8 %155 = load i32, ptr %25, align 4 %156 = load ptr, ptr %23, align 8 store i32 %155, ptr %156, align 4 br label %124 157: ; No predecessors! br label %67 158: ; preds = %124 ret ptr %125 } declare ptr @ieee_p_1242562249_sub_18075413680674919751_1035706684(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @xsi_get_transient_memory(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzgd8mspz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ieee_p_1242562249_sub_8645934262925994370_1035706684(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 [24 x i8], align 16 %12 = alloca [16 x i8], align 16 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i8, align 1 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca i8, align 1 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca ptr, align 8 %28 = alloca i32, align 4 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 %31 = 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 br label %32 32: ; preds = %5 %33 = getelementptr inbounds [24 x i8], ptr %11, i64 0, i64 0 %34 = getelementptr inbounds i8, ptr %33, i64 4 store ptr %34, ptr %14, align 8 %35 = load ptr, ptr %8, align 8 %36 = icmp ne ptr %35, null %37 = zext i1 %36 to i32 %38 = trunc i32 %37 to i8 store i8 %38, ptr %15, align 1 %39 = load i8, ptr %15, align 1 %40 = zext i8 %39 to i32 %41 = icmp eq i32 %40, 1 br i1 %41, label %42, label %43 42: ; preds = %32 br label %126 43: ; preds = %32 br label %44 44: ; preds = %126, %43 %45 = getelementptr inbounds [24 x i8], ptr %11, i64 0, i64 0 %46 = getelementptr inbounds i8, ptr %45, i64 12 store ptr %46, ptr %16, align 8 %47 = load ptr, ptr %9, align 8 %48 = load ptr, ptr %16, align 8 store ptr %47, ptr %48, align 8 %49 = getelementptr inbounds [24 x i8], ptr %11, i64 0, i64 0 %50 = getelementptr inbounds i8, ptr %49, i64 20 store ptr %50, ptr %17, align 8 %51 = load i32, ptr %10, align 4 %52 = load ptr, ptr %17, align 8 store i32 %51, ptr %52, align 4 %53 = load ptr, ptr %9, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 12 store ptr %54, ptr %18, align 8 %55 = load ptr, ptr %18, align 8 %56 = load i32, ptr %55, align 4 store i32 %56, ptr %19, align 4 %57 = load i32, ptr %19, align 4 %58 = icmp ult i32 %57, 1 %59 = zext i1 %58 to i32 %60 = trunc i32 %59 to i8 store i8 %60, ptr %20, align 1 %61 = load i8, ptr %20, align 1 %62 = zext i8 %61 to i32 %63 = icmp ne i32 %62, 0 br i1 %63, label %64, label %65 64: ; preds = %44 br label %129 65: ; preds = %44 br label %66 66: ; preds = %65 br label %67 67: ; preds = %157, %66 %68 = load ptr, ptr %6, align 8 %69 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0 %70 = load ptr, ptr %8, align 8 %71 = load ptr, ptr %9, align 8 %72 = load i32, ptr %10, align 4 %73 = call ptr @ieee_p_1242562249_sub_18075413680674919751_1035706684(ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, i32 noundef %72) store ptr %73, ptr %18, align 8 %74 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0 %75 = getelementptr inbounds i8, ptr %74, i64 12 store ptr %75, ptr %21, align 8 %76 = load ptr, ptr %21, align 8 %77 = load i32, ptr %76, align 4 store i32 %77, ptr %19, align 4 %78 = load i32, ptr %19, align 4 %79 = mul i32 %78, 1 store i32 %79, ptr %19, align 4 %80 = load i32, ptr %19, align 4 %81 = call ptr @xsi_get_transient_memory(i32 noundef %80) store ptr %81, ptr %13, align 8 %82 = load ptr, ptr %13, align 8 %83 = load ptr, ptr %18, align 8 %84 = load i32, ptr %19, align 4 %85 = call i32 @memcpy(ptr noundef %82, ptr noundef %83, i32 noundef %84) %86 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0 %87 = getelementptr inbounds i8, ptr %86, i64 0 store ptr %87, ptr %22, align 8 %88 = load ptr, ptr %22, align 8 %89 = load i32, ptr %88, align 4 store i32 %89, ptr %24, align 4 %90 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0 %91 = getelementptr inbounds i8, ptr %90, i64 4 store ptr %91, ptr %23, align 8 %92 = load ptr, ptr %23, align 8 %93 = load i32, ptr %92, align 4 store i32 %93, ptr %26, align 4 %94 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0 %95 = getelementptr inbounds i8, ptr %94, i64 8 store ptr %95, ptr %27, align 8 %96 = load ptr, ptr %27, align 8 %97 = load i32, ptr %96, align 4 store i32 %97, ptr %28, align 4 %98 = load ptr, ptr %7, align 8 %99 = getelementptr inbounds i8, ptr %98, i64 0 store ptr %99, ptr %29, align 8 %100 = load ptr, ptr %29, align 8 %101 = getelementptr inbounds i8, ptr %100, i64 0 store ptr %101, ptr %30, align 8 %102 = load i32, ptr %24, align 4 %103 = load ptr, ptr %30, align 8 store i32 %102, ptr %103, align 4 %104 = load ptr, ptr %29, align 8 %105 = getelementptr inbounds i8, ptr %104, i64 4 store ptr %105, ptr %30, align 8 %106 = load i32, ptr %26, align 4 %107 = load ptr, ptr %30, align 8 store i32 %106, ptr %107, align 4 %108 = load ptr, ptr %29, align 8 %109 = getelementptr inbounds i8, ptr %108, i64 8 store ptr %109, ptr %30, align 8 %110 = load i32, ptr %28, align 4 %111 = load ptr, ptr %30, align 8 store i32 %110, ptr %111, align 4 %112 = load i32, ptr %26, align 4 %113 = load i32, ptr %24, align 4 %114 = sub nsw i32 %112, %113 store i32 %114, ptr %31, align 4 %115 = load i32, ptr %31, align 4 %116 = load i32, ptr %28, align 4 %117 = mul nsw i32 %115, %116 store i32 %117, ptr %25, align 4 %118 = load i32, ptr %25, align 4 %119 = add i32 %118, 1 store i32 %119, ptr %25, align 4 %120 = load ptr, ptr %29, align 8 %121 = getelementptr inbounds i8, ptr %120, i64 12 store ptr %121, ptr %30, align 8 %122 = load i32, ptr %25, align 4 %123 = load ptr, ptr %30, align 8 store i32 %122, ptr %123, align 4 br label %124 124: ; preds = %129, %67 %125 = load ptr, ptr %13, align 8 br label %158 126: ; preds = %42 %127 = load ptr, ptr %8, align 8 %128 = load ptr, ptr %14, align 8 store ptr %127, ptr %128, align 8 br label %44 129: ; preds = %64 %130 = load ptr, ptr %6, align 8 %131 = getelementptr inbounds i8, ptr %130, i64 1168 store ptr %131, ptr %21, align 8 %132 = load ptr, ptr %21, align 8 %133 = load ptr, ptr %132, align 8 store ptr %133, ptr %22, align 8 %134 = call ptr @xsi_get_transient_memory(i32 noundef 0) store ptr %134, ptr %13, align 8 %135 = load ptr, ptr %13, align 8 %136 = load ptr, ptr %22, align 8 %137 = call i32 @memcpy(ptr noundef %135, ptr noundef %136, i32 noundef 0) %138 = load ptr, ptr %7, align 8 %139 = getelementptr inbounds i8, ptr %138, i64 0 store ptr %139, ptr %21, align 8 %140 = load ptr, ptr %21, align 8 %141 = getelementptr inbounds i8, ptr %140, i64 0 store ptr %141, ptr %23, align 8 %142 = load ptr, ptr %23, align 8 store i32 0, ptr %142, align 4 %143 = load ptr, ptr %21, align 8 %144 = getelementptr inbounds i8, ptr %143, i64 4 store ptr %144, ptr %23, align 8 %145 = load ptr, ptr %23, align 8 store i32 1, ptr %145, align 4 %146 = load ptr, ptr %21, align 8 %147 = getelementptr inbounds i8, ptr %146, i64 8 store ptr %147, ptr %23, align 8 %148 = load ptr, ptr %23, align 8 store i32 -1, ptr %148, align 4 store i32 1, ptr %24, align 4 %149 = load i32, ptr %24, align 4 %150 = mul nsw i32 %149, -1 store i32 %150, ptr %25, align 4 %151 = load i32, ptr %25, align 4 %152 = add i32 %151, 1 store i32 %152, ptr %25, align 4 %153 = load ptr, ptr %21, align 8 %154 = getelementptr inbounds i8, ptr %153, i64 12 store ptr %154, ptr %23, align 8 %155 = load i32, ptr %25, align 4 %156 = load ptr, ptr %23, align 8 store i32 %155, ptr %156, align 4 br label %124 157: ; No predecessors! br label %67 158: ; preds = %124 ret ptr %125 } declare ptr @ieee_p_1242562249_sub_18075413680674919751_1035706684(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @xsi_get_transient_memory(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr2f_m_zo.c' source_filename = "/tmp/tmpr2f_m_zo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @CheckId_SIV100A() #0 { %1 = alloca i8, align 1 %2 = alloca i8, align 1 %3 = alloca i8, align 1 %4 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 1, ptr noundef %2) %5 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 2, ptr noundef %3) %6 = load i8, ptr %2, align 1 %7 = zext i8 %6 to i32 %8 = icmp eq i32 %7, 12 br i1 %8, label %9, label %14 9: ; preds = %0 %10 = load i8, ptr %3, align 1 %11 = zext i8 %10 to i32 %12 = icmp eq i32 %11, 16 br i1 %12, label %13, label %14 13: ; preds = %9 store i8 1, ptr %1, align 1 br label %15 14: ; preds = %9, %0 store i8 0, ptr %1, align 1 br label %15 15: ; preds = %14, %13 %16 = load i8, ptr %1, align 1 ret i8 %16 } declare i32 @VIM_SIF_I2cReadByte(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/tmpr2f_m_zo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @CheckId_SIV100A() #0 { %1 = alloca i8, align 1 %2 = alloca i8, align 1 %3 = alloca i8, align 1 %4 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 1, ptr noundef %2) %5 = call i32 @VIM_SIF_I2cReadByte(i32 noundef 2, ptr noundef %3) %6 = load i8, ptr %2, align 1 %7 = zext i8 %6 to i32 %8 = icmp eq i32 %7, 12 br i1 %8, label %9, label %14 9: ; preds = %0 %10 = load i8, ptr %3, align 1 %11 = zext i8 %10 to i32 %12 = icmp eq i32 %11, 16 br i1 %12, label %13, label %14 13: ; preds = %9 store i8 1, ptr %1, align 1 br label %15 14: ; preds = %9, %0 store i8 0, ptr %1, align 1 br label %15 15: ; preds = %14, %13 %16 = load i8, ptr %1, align 1 ret i8 %16 } declare i32 @VIM_SIF_I2cReadByte(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/tmp2fchs25y.c' source_filename = "/tmp/tmp2fchs25y.c" target datalayout = "e-m:e-p270: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/tmp2fchs25y.c" target datalayout = "e-m:e-p270: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/tmpvp_70ncd.c' source_filename = "/tmp/tmpvp_70ncd.c" target datalayout = "e-m:e-p270: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.data = private unnamed_addr constant [10 x i32] [i32 1, i32 -3, i32 5, i32 2, i32 4, i32 -6, i32 -8, i32 1, i32 -8, i32 2], align 16 @.str = private unnamed_addr constant [5 x i8] c"\0A%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.data, i64 40, i1 false) %6 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %7 = load i32, ptr %6, align 16 store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 store i32 %8, ptr %5, align 4 store i32 1, ptr %3, align 4 br label %9 9: ; preds = %29, %0 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 10 br i1 %11, label %12, label %32 12: ; preds = %9 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %15 %17 = load i32, ptr %16, align 4 %18 = add nsw i32 %13, %17 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %24 22: ; preds = %12 %23 = load i32, ptr %4, align 4 store i32 %23, ptr %5, align 4 br label %24 24: ; preds = %22, %12 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %24 store i32 0, ptr %4, align 4 br label %28 28: ; preds = %27, %24 br label %29 29: ; preds = %28 %30 = load i32, ptr %3, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %3, align 4 br label %9, !llvm.loop !6 32: ; preds = %9 %33 = load i32, ptr %5, align 4 %34 = call i32 @printf(ptr noundef @.str, i32 noundef %33) %35 = load i32, ptr %1, align 4 ret i32 %35 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvp_70ncd.c" target datalayout = "e-m:e-p270: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.data = private unnamed_addr constant [10 x i32] [i32 1, i32 -3, i32 5, i32 2, i32 4, i32 -6, i32 -8, i32 1, i32 -8, i32 2], align 16 @.str = private unnamed_addr constant [5 x i8] c"\0A%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.data, i64 40, i1 false) %6 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %7 = load i32, ptr %6, align 16 store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 store i32 %8, ptr %5, align 4 store i32 1, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 10 br i1 %10, label %.lr.ph, label %33 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %28 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %14 %16 = load i32, ptr %15, align 4 %17 = add nsw i32 %12, %16 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %23 21: ; preds = %11 %22 = load i32, ptr %4, align 4 store i32 %22, ptr %5, align 4 br label %23 23: ; preds = %21, %11 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %23 store i32 0, ptr %4, align 4 br label %27 27: ; preds = %26, %23 br label %28 28: ; preds = %27 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp slt i32 %31, 10 br i1 %32, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %33 33: ; preds = %._crit_edge, %0 %34 = load i32, ptr %5, align 4 %35 = call i32 @printf(ptr noundef @.str, i32 noundef %34) %36 = load i32, ptr %1, align 4 ret i32 %36 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpw5hwl0g1.c' source_filename = "/tmp/tmpw5hwl0g1.c" target datalayout = "e-m:e-p270: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/tmpw5hwl0g1.c" target datalayout = "e-m:e-p270: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/tmpqqau7fi1.c' source_filename = "/tmp/tmpqqau7fi1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [60 x i8] c"Checking lib calls that take NaN, etc, but return non-NaN.\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"ERROR %f != %f at %d\0A\00", align 1 @NAN = dso_local global double 0.000000e+00, align 8 @INFINITY = dso_local global double 0.000000e+00, align 8 @.str.2 = private unnamed_addr constant [23 x i8] c"ERROR %f != Inf at %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"ASSERT true failed! %d at %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_defined() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) %3 = call double @pow(double noundef 0.000000e+00, double noundef 0.000000e+00) #3 %4 = fcmp oeq double %3, 1.000000e+00 br i1 %4, label %5, label %6 5: ; preds = %0 br label %9 6: ; preds = %0 %7 = call double @pow(double noundef 0.000000e+00, double noundef 0.000000e+00) #3 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %7, double noundef 1.000000e+00, i32 noundef 92) br label %9 9: ; preds = %6, %5 %10 = phi i32 [ 0, %5 ], [ 1, %6 ] %11 = load i32, ptr %1, align 4 %12 = add nsw i32 %11, %10 store i32 %12, ptr %1, align 4 %13 = load double, ptr @NAN, align 8 %14 = call double @pow(double noundef %13, double noundef 0.000000e+00) #3 %15 = fcmp oeq double %14, 1.000000e+00 br i1 %15, label %16, label %17 16: ; preds = %9 br label %21 17: ; preds = %9 %18 = load double, ptr @NAN, align 8 %19 = call double @pow(double noundef %18, double noundef 0.000000e+00) #3 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %19, double noundef 1.000000e+00, i32 noundef 93) br label %21 21: ; preds = %17, %16 %22 = phi i32 [ 0, %16 ], [ 1, %17 ] %23 = load i32, ptr %1, align 4 %24 = add nsw i32 %23, %22 store i32 %24, ptr %1, align 4 %25 = load double, ptr @INFINITY, align 8 %26 = call double @pow(double noundef %25, double noundef 0.000000e+00) #3 %27 = fcmp oeq double %26, 1.000000e+00 br i1 %27, label %28, label %29 28: ; preds = %21 br label %33 29: ; preds = %21 %30 = load double, ptr @INFINITY, align 8 %31 = call double @pow(double noundef %30, double noundef 0.000000e+00) #3 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %31, double noundef 1.000000e+00, i32 noundef 94) br label %33 33: ; preds = %29, %28 %34 = phi i32 [ 0, %28 ], [ 1, %29 ] %35 = load i32, ptr %1, align 4 %36 = add nsw i32 %35, %34 store i32 %36, ptr %1, align 4 %37 = load double, ptr @INFINITY, align 8 %38 = call double @sqrt(double noundef %37) #3 %39 = call i64 @isinf(double noundef %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %33 br label %46 42: ; preds = %33 %43 = load double, ptr @INFINITY, align 8 %44 = call double @sqrt(double noundef %43) #3 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %44, i32 noundef 96) br label %46 46: ; preds = %42, %41 %47 = phi i32 [ 0, %41 ], [ 1, %42 ] %48 = load i32, ptr %1, align 4 %49 = add nsw i32 %48, %47 store i32 %49, ptr %1, align 4 %50 = call double @sqrt(double noundef -0.000000e+00) #3 %51 = fcmp oeq double %50, -0.000000e+00 br i1 %51, label %52, label %53 52: ; preds = %46 br label %56 53: ; preds = %46 %54 = call double @sqrt(double noundef -0.000000e+00) #3 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %54, double noundef -0.000000e+00, i32 noundef 97) br label %56 56: ; preds = %53, %52 %57 = phi i32 [ 0, %52 ], [ 1, %53 ] %58 = load i32, ptr %1, align 4 %59 = add nsw i32 %58, %57 store i32 %59, ptr %1, align 4 %60 = load double, ptr @INFINITY, align 8 %61 = call double @pow(double noundef %60, double noundef 2.000000e+00) #3 %62 = call i64 @isinf(double noundef %61) %63 = icmp ne i64 %62, 0 br i1 %63, label %64, label %65 64: ; preds = %56 br label %69 65: ; preds = %56 %66 = load double, ptr @INFINITY, align 8 %67 = call double @pow(double noundef %66, double noundef 2.000000e+00) #3 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %67, i32 noundef 98) br label %69 69: ; preds = %65, %64 %70 = phi i32 [ 0, %64 ], [ 1, %65 ] %71 = load i32, ptr %1, align 4 %72 = add nsw i32 %71, %70 store i32 %72, ptr %1, align 4 %73 = call double @log(i32 noundef 0) %74 = load double, ptr @INFINITY, align 8 %75 = fneg double %74 %76 = fcmp oeq double %73, %75 br i1 %76, label %77, label %78 77: ; preds = %69 br label %85 78: ; preds = %69 %79 = call double @log(i32 noundef 0) %80 = load double, ptr @INFINITY, align 8 %81 = fneg double %80 %82 = fcmp oeq double %79, %81 %83 = zext i1 %82 to i32 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %83, i32 noundef 99) br label %85 85: ; preds = %78, %77 %86 = phi i32 [ 0, %77 ], [ 1, %78 ] %87 = load i32, ptr %1, align 4 %88 = add nsw i32 %87, %86 store i32 %88, ptr %1, align 4 %89 = load i32, ptr %1, align 4 ret i32 %89 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #2 declare i64 @isinf(double noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 declare double @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" } 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/tmpqqau7fi1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [60 x i8] c"Checking lib calls that take NaN, etc, but return non-NaN.\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"ERROR %f != %f at %d\0A\00", align 1 @NAN = dso_local global double 0.000000e+00, align 8 @INFINITY = dso_local global double 0.000000e+00, align 8 @.str.2 = private unnamed_addr constant [23 x i8] c"ERROR %f != Inf at %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"ASSERT true failed! %d at %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_defined() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) %3 = call double @pow(double noundef 0.000000e+00, double noundef 0.000000e+00) #3 %4 = fcmp oeq double %3, 1.000000e+00 br i1 %4, label %5, label %6 5: ; preds = %0 br label %9 6: ; preds = %0 %7 = call double @pow(double noundef 0.000000e+00, double noundef 0.000000e+00) #3 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %7, double noundef 1.000000e+00, i32 noundef 92) br label %9 9: ; preds = %6, %5 %10 = phi i32 [ 0, %5 ], [ 1, %6 ] %11 = load i32, ptr %1, align 4 %12 = add nsw i32 %11, %10 store i32 %12, ptr %1, align 4 %13 = load double, ptr @NAN, align 8 %14 = call double @pow(double noundef %13, double noundef 0.000000e+00) #3 %15 = fcmp oeq double %14, 1.000000e+00 br i1 %15, label %16, label %17 16: ; preds = %9 br label %21 17: ; preds = %9 %18 = load double, ptr @NAN, align 8 %19 = call double @pow(double noundef %18, double noundef 0.000000e+00) #3 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %19, double noundef 1.000000e+00, i32 noundef 93) br label %21 21: ; preds = %17, %16 %22 = phi i32 [ 0, %16 ], [ 1, %17 ] %23 = load i32, ptr %1, align 4 %24 = add nsw i32 %23, %22 store i32 %24, ptr %1, align 4 %25 = load double, ptr @INFINITY, align 8 %26 = call double @pow(double noundef %25, double noundef 0.000000e+00) #3 %27 = fcmp oeq double %26, 1.000000e+00 br i1 %27, label %28, label %29 28: ; preds = %21 br label %33 29: ; preds = %21 %30 = load double, ptr @INFINITY, align 8 %31 = call double @pow(double noundef %30, double noundef 0.000000e+00) #3 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %31, double noundef 1.000000e+00, i32 noundef 94) br label %33 33: ; preds = %29, %28 %34 = phi i32 [ 0, %28 ], [ 1, %29 ] %35 = load i32, ptr %1, align 4 %36 = add nsw i32 %35, %34 store i32 %36, ptr %1, align 4 %37 = load double, ptr @INFINITY, align 8 %38 = call double @sqrt(double noundef %37) #3 %39 = call i64 @isinf(double noundef %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %33 br label %46 42: ; preds = %33 %43 = load double, ptr @INFINITY, align 8 %44 = call double @sqrt(double noundef %43) #3 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %44, i32 noundef 96) br label %46 46: ; preds = %42, %41 %47 = phi i32 [ 0, %41 ], [ 1, %42 ] %48 = load i32, ptr %1, align 4 %49 = add nsw i32 %48, %47 store i32 %49, ptr %1, align 4 %50 = call double @sqrt(double noundef -0.000000e+00) #3 %51 = fcmp oeq double %50, -0.000000e+00 br i1 %51, label %52, label %53 52: ; preds = %46 br label %56 53: ; preds = %46 %54 = call double @sqrt(double noundef -0.000000e+00) #3 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %54, double noundef -0.000000e+00, i32 noundef 97) br label %56 56: ; preds = %53, %52 %57 = phi i32 [ 0, %52 ], [ 1, %53 ] %58 = load i32, ptr %1, align 4 %59 = add nsw i32 %58, %57 store i32 %59, ptr %1, align 4 %60 = load double, ptr @INFINITY, align 8 %61 = call double @pow(double noundef %60, double noundef 2.000000e+00) #3 %62 = call i64 @isinf(double noundef %61) %63 = icmp ne i64 %62, 0 br i1 %63, label %64, label %65 64: ; preds = %56 br label %69 65: ; preds = %56 %66 = load double, ptr @INFINITY, align 8 %67 = call double @pow(double noundef %66, double noundef 2.000000e+00) #3 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %67, i32 noundef 98) br label %69 69: ; preds = %65, %64 %70 = phi i32 [ 0, %64 ], [ 1, %65 ] %71 = load i32, ptr %1, align 4 %72 = add nsw i32 %71, %70 store i32 %72, ptr %1, align 4 %73 = call double @log(i32 noundef 0) %74 = load double, ptr @INFINITY, align 8 %75 = fneg double %74 %76 = fcmp oeq double %73, %75 br i1 %76, label %77, label %78 77: ; preds = %69 br label %85 78: ; preds = %69 %79 = call double @log(i32 noundef 0) %80 = load double, ptr @INFINITY, align 8 %81 = fneg double %80 %82 = fcmp oeq double %79, %81 %83 = zext i1 %82 to i32 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %83, i32 noundef 99) br label %85 85: ; preds = %78, %77 %86 = phi i32 [ 0, %77 ], [ 1, %78 ] %87 = load i32, ptr %1, align 4 %88 = add nsw i32 %87, %86 store i32 %88, ptr %1, align 4 %89 = load i32, ptr %1, align 4 ret i32 %89 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #2 declare i64 @isinf(double noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 declare double @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" } 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/tmprseoyxno.c' source_filename = "/tmp/tmprseoyxno.c" target datalayout = "e-m:e-p270: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/tmprseoyxno.c" target datalayout = "e-m:e-p270: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/tmpxfrtso_b.c' source_filename = "/tmp/tmpxfrtso_b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%F %R\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c" ERRMSG [%s %s]:\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"\09%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c" \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @errmsg(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca [20 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = call i32 @time(ptr noundef null) store i32 %8, ptr %5, align 4 %9 = call ptr @localtime(ptr noundef %5) store ptr %9, ptr %6, align 8 %10 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %11 = load ptr, ptr %6, align 8 %12 = call i32 @strftime(ptr noundef %10, i32 noundef 19, ptr noundef @.str, ptr noundef %11) %13 = load i32, ptr @stderr, align 4 %14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.1) %15 = load i32, ptr @stderr, align 4 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.2, ptr noundef %16, ptr noundef %17) %19 = load i32, ptr @stderr, align 4 %20 = load ptr, ptr %4, align 8 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.3, ptr noundef %20) %22 = load i32, ptr @stderr, align 4 %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.4) ret void } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 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/tmpxfrtso_b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%F %R\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c" ERRMSG [%s %s]:\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"\09%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c" \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @errmsg(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca [20 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = call i32 @time(ptr noundef null) store i32 %8, ptr %5, align 4 %9 = call ptr @localtime(ptr noundef %5) store ptr %9, ptr %6, align 8 %10 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %11 = load ptr, ptr %6, align 8 %12 = call i32 @strftime(ptr noundef %10, i32 noundef 19, ptr noundef @.str, ptr noundef %11) %13 = load i32, ptr @stderr, align 4 %14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.1) %15 = load i32, ptr @stderr, align 4 %16 = load ptr, ptr %3, align 8 %17 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.2, ptr noundef %16, ptr noundef %17) %19 = load i32, ptr @stderr, align 4 %20 = load ptr, ptr %4, align 8 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.3, ptr noundef %20) %22 = load i32, ptr @stderr, align 4 %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.4) ret void } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 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/tmpz3_flvyl.c' source_filename = "/tmp/tmpz3_flvyl.c" target datalayout = "e-m:e-p270: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/tmpz3_flvyl.c" target datalayout = "e-m:e-p270: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/tmpjbd5clh_.c' source_filename = "/tmp/tmpjbd5clh_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mloop_signal_unref(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 @mloop__unref_any(ptr noundef %3) ret i32 %4 } declare i32 @mloop__unref_any(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjbd5clh_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mloop_signal_unref(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 @mloop__unref_any(ptr noundef %3) ret i32 %4 } declare i32 @mloop__unref_any(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}