llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpyq48_0mj.c' source_filename = "/tmp/tmpyq48_0mj.c" target datalayout = "e-m:e-p270: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/tmpyq48_0mj.c" target datalayout = "e-m:e-p270: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/tmp084tezug.c' source_filename = "/tmp/tmp084tezug.c" target datalayout = "e-m:e-p270: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/tmp084tezug.c" target datalayout = "e-m:e-p270: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/tmprdf3rgj_.c' source_filename = "/tmp/tmprdf3rgj_.c" target datalayout = "e-m:e-p270: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/tmprdf3rgj_.c" target datalayout = "e-m:e-p270: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/tmpqkpz6_yc.c' source_filename = "/tmp/tmpqkpz6_yc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @promedio3(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = call double @fAuxiliar(i32 noundef %7, i32 noundef %8, i32 noundef %9) %11 = fdiv double %10, 3.000000e+00 %12 = fptrunc double %11 to float ret float %12 } declare double @fAuxiliar(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqkpz6_yc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @promedio3(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = call double @fAuxiliar(i32 noundef %7, i32 noundef %8, i32 noundef %9) %11 = fdiv double %10, 3.000000e+00 %12 = fptrunc double %11 to float ret float %12 } declare double @fAuxiliar(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0mvmow82.c' source_filename = "/tmp/tmp0mvmow82.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ftg_get_filename_from_path(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i8, ptr %5, i64 %8 %10 = getelementptr inbounds i8, ptr %9, i64 -1 store ptr %10, ptr %4, align 8 br label %11 11: ; preds = %23, %1 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %3, align 8 %14 = icmp ne ptr %12, %13 br i1 %14, label %15, label %26 15: ; preds = %11 %16 = load ptr, ptr %4, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 47 br i1 %19, label %20, label %23 20: ; preds = %15 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 1 store ptr %22, ptr %2, align 8 br label %28 23: ; preds = %15 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 -1 store ptr %25, ptr %4, align 8 br label %11, !llvm.loop !6 26: ; preds = %11 %27 = load ptr, ptr %3, align 8 store ptr %27, ptr %2, align 8 br label %28 28: ; preds = %26, %20 %29 = load ptr, ptr %2, align 8 ret ptr %29 } 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/tmp0mvmow82.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ftg_get_filename_from_path(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i8, ptr %5, i64 %8 %10 = getelementptr inbounds i8, ptr %9, i64 -1 store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %3, align 8 %13 = icmp ne ptr %11, %12 br i1 %13, label %.lr.ph, label %28 .lr.ph: ; preds = %1 br label %14 14: ; preds = %.lr.ph, %22 %15 = load ptr, ptr %4, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 47 br i1 %18, label %19, label %22 19: ; preds = %14 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 1 store ptr %21, ptr %2, align 8 br label %30 22: ; preds = %14 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 -1 store ptr %24, ptr %4, align 8 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %3, align 8 %27 = icmp ne ptr %25, %26 br i1 %27, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %1 %29 = load ptr, ptr %3, align 8 store ptr %29, ptr %2, align 8 br label %30 30: ; preds = %28, %19 %31 = load ptr, ptr %2, align 8 ret ptr %31 } 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/tmp6r0movn5.c' source_filename = "/tmp/tmp6r0movn5.c" target datalayout = "e-m:e-p270: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/tmp6r0movn5.c" target datalayout = "e-m:e-p270: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/tmpq941ijl5.c' source_filename = "/tmp/tmpq941ijl5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Enter \22help\22 for a list of commands\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Please enter a command: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [32 x i8] c"\0AYou entered an invalid entry!\0A\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"You entered an invalid character.\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [82 x i8] c"\0A*******************************************************************************\0A\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"[range]\0A\00", align 1 @.str.6 = private unnamed_addr constant [72 x i8] c"This command proceeds to accept a valid range of the following format:\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"<n1>,<n2>\0A\00", align 1 @.str.8 = private unnamed_addr constant [76 x i8] c"Typing this command gives the utility a start and stop point for printing \0A\00", align 1 @.str.9 = private unnamed_addr constant [74 x i8] c"numbers. The utility will also accept the command ,<n2> in which case it\0A\00", align 1 @.str.10 = private unnamed_addr constant [74 x i8] c"will start at zero and print a table up to <n2> and the command <n1>, in\0A\00", align 1 @.str.11 = private unnamed_addr constant [74 x i8] c"which case it will start at <n1> and report up to the precision limit of\0A\00", align 1 @.str.12 = private unnamed_addr constant [34 x i8] c"the machine you are running on.\0A\0A\00", align 1 @.str.13 = private unnamed_addr constant [8 x i8] c"[quit]\0A\00", align 1 @.str.14 = private unnamed_addr constant [24 x i8] c"Terminates execution.\0A\0A\00", align 1 @.str.15 = private unnamed_addr constant [8 x i8] c"[help]\0A\00", align 1 @.str.16 = private unnamed_addr constant [42 x i8] c"Prints a short help doc to the terminal.\0A\00", align 1 @.str.17 = private unnamed_addr constant [82 x i8] c"*******************************************************************************\0A\0A\00", align 1 @.str.18 = private unnamed_addr constant [22 x i8] c"Enter a valid range: \00", align 1 @.str.19 = private unnamed_addr constant [52 x i8] c"The range of positive values must follow the form:\0A\00", align 1 @.str.20 = private unnamed_addr constant [12 x i8] c"\09start,end\0A\00", align 1 @.str.21 = private unnamed_addr constant [25 x i8] c"Spaces are not allowed.\0A\00", align 1 @.str.22 = private unnamed_addr constant [37 x i8] c"The comma was not correctly placed!\0A\00", align 1 @.str.23 = private unnamed_addr constant [31 x i8] c"You entered an invalid entry!\0A\00", align 1 @.str.24 = private unnamed_addr constant [47 x i8] c"The start value is larger than the end value.\0A\00", align 1 @.str.25 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.26 = private unnamed_addr constant [20 x i8] c"dec\09\09oct\09\09hex\09\09bin\0A\00", align 1 @.str.27 = private unnamed_addr constant [13 x i8] c"%d\09\09%o\09\09%x\09\09\00", align 1 @.str.28 = private unnamed_addr constant [35 x i8] c"\0AAn invalid command was entered!\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [10 x i8], align 1 %14 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %15 15: ; preds = %0, %377 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %80, %15 %17 = load i32, ptr %3, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %81 19: ; preds = %16 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %22 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %23 = load i32, ptr @stdin, align 4 %24 = call i32 @fgets(ptr noundef %22, i32 noundef 10, i32 noundef %23) store i32 0, ptr %4, align 4 br label %25 25: ; preds = %77, %19 %26 = load i32, ptr %4, align 4 %27 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %28 = call i32 @strlen(ptr noundef %27) %29 = sub nsw i32 %28, 1 %30 = icmp slt i32 %26, %29 br i1 %30, label %31, label %80 31: ; preds = %25 %32 = load i32, ptr %4, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp sge i32 %36, 97 br i1 %37, label %38, label %57 38: ; preds = %31 %39 = load i32, ptr %4, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp sle i32 %43, 122 br i1 %44, label %45, label %57 45: ; preds = %38 %46 = load i32, ptr %4, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %47 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = sub nsw i32 %50, 97 %52 = add nsw i32 %51, 65 %53 = trunc i32 %52 to i8 %54 = load i32, ptr %4, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %55 store i8 %53, ptr %56, align 1 store i32 1, ptr %3, align 4 br label %76 57: ; preds = %38, %31 %58 = load i32, ptr %4, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp sge i32 %62, 65 br i1 %63, label %64, label %72 64: ; preds = %57 %65 = load i32, ptr %4, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %66 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp sle i32 %69, 90 br i1 %70, label %71, label %72 71: ; preds = %64 store i32 1, ptr %3, align 4 br label %75 72: ; preds = %64, %57 store i32 0, ptr %3, align 4 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %80 75: ; preds = %71 br label %76 76: ; preds = %75, %45 br label %77 77: ; preds = %76 %78 = load i32, ptr %4, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %4, align 4 br label %25, !llvm.loop !6 80: ; preds = %72, %25 br label %16, !llvm.loop !8 81: ; preds = %16 %82 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %83 = load i8, ptr %82, align 1 %84 = sext i8 %83 to i32 %85 = icmp eq i32 %84, 81 br i1 %85, label %86, label %102 86: ; preds = %81 %87 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 1 %88 = load i8, ptr %87, align 1 %89 = sext i8 %88 to i32 %90 = icmp eq i32 %89, 85 br i1 %90, label %91, label %102 91: ; preds = %86 %92 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 2 %93 = load i8, ptr %92, align 1 %94 = sext i8 %93 to i32 %95 = icmp eq i32 %94, 73 br i1 %95, label %96, label %102 96: ; preds = %91 %97 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 3 %98 = load i8, ptr %97, align 1 %99 = sext i8 %98 to i32 %100 = icmp eq i32 %99, 84 br i1 %100, label %101, label %102 101: ; preds = %96 ret i32 0 102: ; preds = %96, %91, %86, %81 %103 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %104 = load i8, ptr %103, align 1 %105 = sext i8 %104 to i32 %106 = icmp eq i32 %105, 72 br i1 %106, label %107, label %137 107: ; preds = %102 %108 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 1 %109 = load i8, ptr %108, align 1 %110 = sext i8 %109 to i32 %111 = icmp eq i32 %110, 69 br i1 %111, label %112, label %137 112: ; preds = %107 %113 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 2 %114 = load i8, ptr %113, align 1 %115 = sext i8 %114 to i32 %116 = icmp eq i32 %115, 76 br i1 %116, label %117, label %137 117: ; preds = %112 %118 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 3 %119 = load i8, ptr %118, align 1 %120 = sext i8 %119 to i32 %121 = icmp eq i32 %120, 80 br i1 %121, label %122, label %137 122: ; preds = %117 %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %127 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %129 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %132 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %136 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) br label %376 137: ; preds = %117, %112, %107, %102 %138 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %139 = load i8, ptr %138, align 1 %140 = sext i8 %139 to i32 %141 = icmp eq i32 %140, 82 br i1 %141, label %142, label %373 142: ; preds = %137 %143 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 1 %144 = load i8, ptr %143, align 1 %145 = sext i8 %144 to i32 %146 = icmp eq i32 %145, 65 br i1 %146, label %147, label %373 147: ; preds = %142 %148 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 2 %149 = load i8, ptr %148, align 1 %150 = sext i8 %149 to i32 %151 = icmp eq i32 %150, 78 br i1 %151, label %152, label %373 152: ; preds = %147 %153 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 3 %154 = load i8, ptr %153, align 1 %155 = sext i8 %154 to i32 %156 = icmp eq i32 %155, 71 br i1 %156, label %157, label %373 157: ; preds = %152 %158 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 4 %159 = load i8, ptr %158, align 1 %160 = sext i8 %159 to i32 %161 = icmp eq i32 %160, 69 br i1 %161, label %162, label %373 162: ; preds = %157 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %163 163: ; preds = %351, %162 %164 = load i32, ptr %7, align 4 %165 = icmp eq i32 %164, 0 br i1 %165, label %172, label %166 166: ; preds = %163 %167 = load i32, ptr %8, align 4 %168 = icmp eq i32 %167, 0 br i1 %168, label %172, label %169 169: ; preds = %166 %170 = load i32, ptr %9, align 4 %171 = icmp eq i32 %170, 0 br label %172 172: ; preds = %169, %166, %163 %173 = phi i1 [ true, %166 ], [ true, %163 ], [ %171, %169 ] br i1 %173, label %174, label %353 174: ; preds = %172 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %175 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %176 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %177 = load i32, ptr @stdin, align 4 %178 = call i32 @fgets(ptr noundef %176, i32 noundef 10, i32 noundef %177) store i32 0, ptr %4, align 4 br label %179 179: ; preds = %269, %174 %180 = load i32, ptr %4, align 4 %181 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %182 = call i32 @strlen(ptr noundef %181) %183 = sub nsw i32 %182, 1 %184 = icmp slt i32 %180, %183 br i1 %184, label %185, label %272 185: ; preds = %179 %186 = load i32, ptr %4, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %187 %189 = load i8, ptr %188, align 1 %190 = sext i8 %189 to i32 %191 = icmp eq i32 %190, 48 br i1 %191, label %262, label %192 192: ; preds = %185 %193 = load i32, ptr %4, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %194 %196 = load i8, ptr %195, align 1 %197 = sext i8 %196 to i32 %198 = icmp eq i32 %197, 49 br i1 %198, label %262, label %199 199: ; preds = %192 %200 = load i32, ptr %4, align 4 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %201 %203 = load i8, ptr %202, align 1 %204 = sext i8 %203 to i32 %205 = icmp eq i32 %204, 50 br i1 %205, label %262, label %206 206: ; preds = %199 %207 = load i32, ptr %4, align 4 %208 = sext i32 %207 to i64 %209 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %208 %210 = load i8, ptr %209, align 1 %211 = sext i8 %210 to i32 %212 = icmp eq i32 %211, 51 br i1 %212, label %262, label %213 213: ; preds = %206 %214 = load i32, ptr %4, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %215 %217 = load i8, ptr %216, align 1 %218 = sext i8 %217 to i32 %219 = icmp eq i32 %218, 52 br i1 %219, label %262, label %220 220: ; preds = %213 %221 = load i32, ptr %4, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %222 %224 = load i8, ptr %223, align 1 %225 = sext i8 %224 to i32 %226 = icmp eq i32 %225, 53 br i1 %226, label %262, label %227 227: ; preds = %220 %228 = load i32, ptr %4, align 4 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %229 %231 = load i8, ptr %230, align 1 %232 = sext i8 %231 to i32 %233 = icmp eq i32 %232, 54 br i1 %233, label %262, label %234 234: ; preds = %227 %235 = load i32, ptr %4, align 4 %236 = sext i32 %235 to i64 %237 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %236 %238 = load i8, ptr %237, align 1 %239 = sext i8 %238 to i32 %240 = icmp eq i32 %239, 55 br i1 %240, label %262, label %241 241: ; preds = %234 %242 = load i32, ptr %4, align 4 %243 = sext i32 %242 to i64 %244 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %243 %245 = load i8, ptr %244, align 1 %246 = sext i8 %245 to i32 %247 = icmp eq i32 %246, 56 br i1 %247, label %262, label %248 248: ; preds = %241 %249 = load i32, ptr %4, align 4 %250 = sext i32 %249 to i64 %251 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %250 %252 = load i8, ptr %251, align 1 %253 = sext i8 %252 to i32 %254 = icmp eq i32 %253, 57 br i1 %254, label %262, label %255 255: ; preds = %248 %256 = load i32, ptr %4, align 4 %257 = sext i32 %256 to i64 %258 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %257 %259 = load i8, ptr %258, align 1 %260 = sext i8 %259 to i32 %261 = icmp eq i32 %260, 44 br i1 %261, label %262, label %263 262: ; preds = %255, %248, %241, %234, %227, %220, %213, %206, %199, %192, %185 store i32 1, ptr %7, align 4 br label %268 263: ; preds = %255 store i32 0, ptr %7, align 4 %264 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %265 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %266 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) %267 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) br label %272 268: ; preds = %262 br label %269 269: ; preds = %268 %270 = load i32, ptr %4, align 4 %271 = add nsw i32 %270, 1 store i32 %271, ptr %4, align 4 br label %179, !llvm.loop !9 272: ; preds = %263, %179 store i32 -1, ptr %12, align 4 store i32 0, ptr %10, align 4 br label %273 273: ; preds = %286, %272 %274 = load i32, ptr %10, align 4 %275 = icmp slt i32 %274, 10 br i1 %275, label %276, label %289 276: ; preds = %273 %277 = load i32, ptr %10, align 4 %278 = sext i32 %277 to i64 %279 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %278 %280 = load i8, ptr %279, align 1 %281 = sext i8 %280 to i32 %282 = icmp eq i32 %281, 44 br i1 %282, label %283, label %285 283: ; preds = %276 %284 = load i32, ptr %10, align 4 store i32 %284, ptr %12, align 4 store i32 1, ptr %8, align 4 br label %285 285: ; preds = %283, %276 br label %286 286: ; preds = %285 %287 = load i32, ptr %10, align 4 %288 = add nsw i32 %287, 1 store i32 %288, ptr %10, align 4 br label %273, !llvm.loop !10 289: ; preds = %273 %290 = load i32, ptr %12, align 4 %291 = icmp eq i32 %290, -1 br i1 %291, label %292, label %294 292: ; preds = %289 store i32 0, ptr %8, align 4 %293 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) br label %294 294: ; preds = %292, %289 store i32 0, ptr %10, align 4 br label %295 295: ; preds = %307, %294 %296 = load i32, ptr %10, align 4 %297 = load i32, ptr %12, align 4 %298 = icmp slt i32 %296, %297 br i1 %298, label %299, label %310 299: ; preds = %295 %300 = load i32, ptr %10, align 4 %301 = sext i32 %300 to i64 %302 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %301 %303 = load i8, ptr %302, align 1 %304 = load i32, ptr %10, align 4 %305 = sext i32 %304 to i64 %306 = getelementptr inbounds [10 x i8], ptr %13, i64 0, i64 %305 store i8 %303, ptr %306, align 1 br label %307 307: ; preds = %299 %308 = load i32, ptr %10, align 4 %309 = add nsw i32 %308, 1 store i32 %309, ptr %10, align 4 br label %295, !llvm.loop !11 310: ; preds = %295 %311 = getelementptr inbounds [10 x i8], ptr %13, i64 0, i64 0 %312 = call i32 @atoi(ptr noundef %311) store i32 %312, ptr %5, align 4 %313 = load i32, ptr %12, align 4 %314 = add nsw i32 %313, 2 %315 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %316 = call i32 @strlen(ptr noundef %315) %317 = icmp eq i32 %314, %316 br i1 %317, label %318, label %319 318: ; preds = %310 store i32 1000, ptr %6, align 4 br label %343 319: ; preds = %310 store i32 0, ptr %10, align 4 %320 = load i32, ptr %12, align 4 %321 = add nsw i32 %320, 1 store i32 %321, ptr %11, align 4 br label %322 322: ; preds = %337, %319 %323 = load i32, ptr %11, align 4 %324 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %325 = call i32 @strlen(ptr noundef %324) %326 = icmp slt i32 %323, %325 br i1 %326, label %327, label %340 327: ; preds = %322 %328 = load i32, ptr %11, align 4 %329 = sext i32 %328 to i64 %330 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %329 %331 = load i8, ptr %330, align 1 %332 = load i32, ptr %10, align 4 %333 = sext i32 %332 to i64 %334 = getelementptr inbounds [10 x i8], ptr %13, i64 0, i64 %333 store i8 %331, ptr %334, align 1 %335 = load i32, ptr %10, align 4 %336 = add nsw i32 %335, 1 store i32 %336, ptr %10, align 4 br label %337 337: ; preds = %327 %338 = load i32, ptr %11, align 4 %339 = add nsw i32 %338, 1 store i32 %339, ptr %11, align 4 br label %322, !llvm.loop !12 340: ; preds = %322 %341 = getelementptr inbounds [10 x i8], ptr %13, i64 0, i64 0 %342 = call i32 @atoi(ptr noundef %341) store i32 %342, ptr %6, align 4 br label %343 343: ; preds = %340, %318 %344 = load i32, ptr %5, align 4 %345 = load i32, ptr %6, align 4 %346 = icmp sgt i32 %344, %345 br i1 %346, label %347, label %350 347: ; preds = %343 store i32 0, ptr %9, align 4 %348 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %349 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) br label %351 350: ; preds = %343 store i32 1, ptr %9, align 4 br label %351 351: ; preds = %350, %347 %352 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) br label %163, !llvm.loop !13 353: ; preds = %172 %354 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) %355 = load i32, ptr %5, align 4 store i32 %355, ptr %14, align 4 br label %356 356: ; preds = %368, %353 %357 = load i32, ptr %14, align 4 %358 = load i32, ptr %6, align 4 %359 = icmp sle i32 %357, %358 br i1 %359, label %360, label %371 360: ; preds = %356 %361 = load i32, ptr %14, align 4 %362 = load i32, ptr %14, align 4 %363 = load i32, ptr %14, align 4 %364 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, i32 noundef %361, i32 noundef %362, i32 noundef %363) %365 = load i32, ptr %14, align 4 %366 = call i32 @print_binary(i32 noundef %365) %367 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) br label %368 368: ; preds = %360 %369 = load i32, ptr %14, align 4 %370 = add nsw i32 %369, 1 store i32 %370, ptr %14, align 4 br label %356, !llvm.loop !14 371: ; preds = %356 %372 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) br label %375 373: ; preds = %157, %152, %147, %142, %137 %374 = call i32 (ptr, ...) @printf(ptr noundef @.str.28) br label %375 375: ; preds = %373, %371 br label %376 376: ; preds = %375, %122 br label %377 377: ; preds = %376 br label %15 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @print_binary(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq941ijl5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Enter \22help\22 for a list of commands\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Please enter a command: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [32 x i8] c"\0AYou entered an invalid entry!\0A\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"You entered an invalid character.\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [82 x i8] c"\0A*******************************************************************************\0A\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"[range]\0A\00", align 1 @.str.6 = private unnamed_addr constant [72 x i8] c"This command proceeds to accept a valid range of the following format:\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"<n1>,<n2>\0A\00", align 1 @.str.8 = private unnamed_addr constant [76 x i8] c"Typing this command gives the utility a start and stop point for printing \0A\00", align 1 @.str.9 = private unnamed_addr constant [74 x i8] c"numbers. The utility will also accept the command ,<n2> in which case it\0A\00", align 1 @.str.10 = private unnamed_addr constant [74 x i8] c"will start at zero and print a table up to <n2> and the command <n1>, in\0A\00", align 1 @.str.11 = private unnamed_addr constant [74 x i8] c"which case it will start at <n1> and report up to the precision limit of\0A\00", align 1 @.str.12 = private unnamed_addr constant [34 x i8] c"the machine you are running on.\0A\0A\00", align 1 @.str.13 = private unnamed_addr constant [8 x i8] c"[quit]\0A\00", align 1 @.str.14 = private unnamed_addr constant [24 x i8] c"Terminates execution.\0A\0A\00", align 1 @.str.15 = private unnamed_addr constant [8 x i8] c"[help]\0A\00", align 1 @.str.16 = private unnamed_addr constant [42 x i8] c"Prints a short help doc to the terminal.\0A\00", align 1 @.str.17 = private unnamed_addr constant [82 x i8] c"*******************************************************************************\0A\0A\00", align 1 @.str.18 = private unnamed_addr constant [22 x i8] c"Enter a valid range: \00", align 1 @.str.19 = private unnamed_addr constant [52 x i8] c"The range of positive values must follow the form:\0A\00", align 1 @.str.20 = private unnamed_addr constant [12 x i8] c"\09start,end\0A\00", align 1 @.str.21 = private unnamed_addr constant [25 x i8] c"Spaces are not allowed.\0A\00", align 1 @.str.22 = private unnamed_addr constant [37 x i8] c"The comma was not correctly placed!\0A\00", align 1 @.str.23 = private unnamed_addr constant [31 x i8] c"You entered an invalid entry!\0A\00", align 1 @.str.24 = private unnamed_addr constant [47 x i8] c"The start value is larger than the end value.\0A\00", align 1 @.str.25 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.26 = private unnamed_addr constant [20 x i8] c"dec\09\09oct\09\09hex\09\09bin\0A\00", align 1 @.str.27 = private unnamed_addr constant [13 x i8] c"%d\09\09%o\09\09%x\09\09\00", align 1 @.str.28 = private unnamed_addr constant [35 x i8] c"\0AAn invalid command was entered!\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [10 x i8], align 1 %14 = alloca i32, align 4 store i32 0, ptr %1, align 4 %15 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 3 br label %16 16: ; preds = %391, %0 store i32 0, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %.lr.ph2, label %86 .lr.ph2: ; preds = %16 br label %19 19: ; preds = %.lr.ph2, %83 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %22 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %23 = load i32, ptr @stdin, align 4 %24 = call i32 @fgets(ptr noundef %22, i32 noundef 10, i32 noundef %23) store i32 0, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %27 = call i32 @strlen(ptr noundef %26) %28 = sub nsw i32 %27, 1 %29 = icmp slt i32 %25, %28 br i1 %29, label %.lr.ph, label %.loopexit1 .lr.ph: ; preds = %19 br label %30 30: ; preds = %.lr.ph, %76 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp sge i32 %35, 97 br i1 %36, label %37, label %56 37: ; preds = %30 %38 = load i32, ptr %4, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp sle i32 %42, 122 br i1 %43, label %44, label %56 44: ; preds = %37 %45 = load i32, ptr %4, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = sub nsw i32 %49, 97 %51 = add nsw i32 %50, 65 %52 = trunc i32 %51 to i8 %53 = load i32, ptr %4, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %54 store i8 %52, ptr %55, align 1 store i32 1, ptr %3, align 4 br label %75 56: ; preds = %37, %30 %57 = load i32, ptr %4, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp sge i32 %61, 65 br i1 %62, label %63, label %71 63: ; preds = %56 %64 = load i32, ptr %4, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %65 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp sle i32 %68, 90 br i1 %69, label %70, label %71 70: ; preds = %63 store i32 1, ptr %3, align 4 br label %74 71: ; preds = %63, %56 store i32 0, ptr %3, align 4 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %83 74: ; preds = %70 br label %75 75: ; preds = %74, %44 br label %76 76: ; preds = %75 %77 = load i32, ptr %4, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %4, align 4 %79 = load i32, ptr %4, align 4 %80 = call i32 @strlen(ptr noundef %26) %81 = sub nsw i32 %80, 1 %82 = icmp slt i32 %79, %81 br i1 %82, label %30, label %..loopexit1_crit_edge, !llvm.loop !6 ..loopexit1_crit_edge: ; preds = %76 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %19 br label %83 83: ; preds = %.loopexit1, %71 %84 = load i32, ptr %3, align 4 %85 = icmp eq i32 %84, 0 br i1 %85, label %19, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %83 br label %86 86: ; preds = %._crit_edge, %16 %87 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %88 = load i8, ptr %87, align 1 %89 = sext i8 %88 to i32 %90 = icmp eq i32 %89, 81 br i1 %90, label %91, label %106 91: ; preds = %86 %92 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 1 %93 = load i8, ptr %92, align 1 %94 = sext i8 %93 to i32 %95 = icmp eq i32 %94, 85 br i1 %95, label %96, label %106 96: ; preds = %91 %97 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 2 %98 = load i8, ptr %97, align 1 %99 = sext i8 %98 to i32 %100 = icmp eq i32 %99, 73 br i1 %100, label %101, label %106 101: ; preds = %96 %102 = load i8, ptr %15, align 1 %103 = sext i8 %102 to i32 %104 = icmp eq i32 %103, 84 br i1 %104, label %105, label %106 105: ; preds = %101 ret i32 0 106: ; preds = %101, %96, %91, %86 %107 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %108 = load i8, ptr %107, align 1 %109 = sext i8 %108 to i32 %110 = icmp eq i32 %109, 72 br i1 %110, label %111, label %141 111: ; preds = %106 %112 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 1 %113 = load i8, ptr %112, align 1 %114 = sext i8 %113 to i32 %115 = icmp eq i32 %114, 69 br i1 %115, label %116, label %141 116: ; preds = %111 %117 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 2 %118 = load i8, ptr %117, align 1 %119 = sext i8 %118 to i32 %120 = icmp eq i32 %119, 76 br i1 %120, label %121, label %141 121: ; preds = %116 %122 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 3 %123 = load i8, ptr %122, align 1 %124 = sext i8 %123 to i32 %125 = icmp eq i32 %124, 80 br i1 %125, label %126, label %141 126: ; preds = %121 %127 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %129 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %132 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %136 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) br label %390 141: ; preds = %121, %116, %111, %106 %142 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %143 = load i8, ptr %142, align 1 %144 = sext i8 %143 to i32 %145 = icmp eq i32 %144, 82 br i1 %145, label %146, label %387 146: ; preds = %141 %147 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 1 %148 = load i8, ptr %147, align 1 %149 = sext i8 %148 to i32 %150 = icmp eq i32 %149, 65 br i1 %150, label %151, label %387 151: ; preds = %146 %152 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 2 %153 = load i8, ptr %152, align 1 %154 = sext i8 %153 to i32 %155 = icmp eq i32 %154, 78 br i1 %155, label %156, label %387 156: ; preds = %151 %157 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 3 %158 = load i8, ptr %157, align 1 %159 = sext i8 %158 to i32 %160 = icmp eq i32 %159, 71 br i1 %160, label %161, label %387 161: ; preds = %156 %162 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 4 %163 = load i8, ptr %162, align 1 %164 = sext i8 %163 to i32 %165 = icmp eq i32 %164, 69 br i1 %165, label %166, label %387 166: ; preds = %161 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %167 167: ; preds = %363, %166 %168 = load i32, ptr %7, align 4 %169 = icmp eq i32 %168, 0 br i1 %169, label %176, label %170 170: ; preds = %167 %171 = load i32, ptr %8, align 4 %172 = icmp eq i32 %171, 0 br i1 %172, label %176, label %173 173: ; preds = %170 %174 = load i32, ptr %9, align 4 %175 = icmp eq i32 %174, 0 br label %176 176: ; preds = %173, %170, %167 %177 = phi i1 [ true, %170 ], [ true, %167 ], [ %175, %173 ] br i1 %177, label %178, label %365 178: ; preds = %176 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %180 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %181 = load i32, ptr @stdin, align 4 %182 = call i32 @fgets(ptr noundef %180, i32 noundef 10, i32 noundef %181) store i32 0, ptr %4, align 4 %183 = load i32, ptr %4, align 4 %184 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %185 = call i32 @strlen(ptr noundef %184) %186 = sub nsw i32 %185, 1 %187 = icmp slt i32 %183, %186 br i1 %187, label %.lr.ph4, label %.loopexit .lr.ph4: ; preds = %178 br label %188 188: ; preds = %.lr.ph4, %272 %189 = load i32, ptr %4, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %190 %192 = load i8, ptr %191, align 1 %193 = sext i8 %192 to i32 %194 = icmp eq i32 %193, 48 br i1 %194, label %265, label %195 195: ; preds = %188 %196 = load i32, ptr %4, align 4 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %197 %199 = load i8, ptr %198, align 1 %200 = sext i8 %199 to i32 %201 = icmp eq i32 %200, 49 br i1 %201, label %265, label %202 202: ; preds = %195 %203 = load i32, ptr %4, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %204 %206 = load i8, ptr %205, align 1 %207 = sext i8 %206 to i32 %208 = icmp eq i32 %207, 50 br i1 %208, label %265, label %209 209: ; preds = %202 %210 = load i32, ptr %4, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %211 %213 = load i8, ptr %212, align 1 %214 = sext i8 %213 to i32 %215 = icmp eq i32 %214, 51 br i1 %215, label %265, label %216 216: ; preds = %209 %217 = load i32, ptr %4, align 4 %218 = sext i32 %217 to i64 %219 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %218 %220 = load i8, ptr %219, align 1 %221 = sext i8 %220 to i32 %222 = icmp eq i32 %221, 52 br i1 %222, label %265, label %223 223: ; preds = %216 %224 = load i32, ptr %4, align 4 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %225 %227 = load i8, ptr %226, align 1 %228 = sext i8 %227 to i32 %229 = icmp eq i32 %228, 53 br i1 %229, label %265, label %230 230: ; preds = %223 %231 = load i32, ptr %4, align 4 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %232 %234 = load i8, ptr %233, align 1 %235 = sext i8 %234 to i32 %236 = icmp eq i32 %235, 54 br i1 %236, label %265, label %237 237: ; preds = %230 %238 = load i32, ptr %4, align 4 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %239 %241 = load i8, ptr %240, align 1 %242 = sext i8 %241 to i32 %243 = icmp eq i32 %242, 55 br i1 %243, label %265, label %244 244: ; preds = %237 %245 = load i32, ptr %4, align 4 %246 = sext i32 %245 to i64 %247 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %246 %248 = load i8, ptr %247, align 1 %249 = sext i8 %248 to i32 %250 = icmp eq i32 %249, 56 br i1 %250, label %265, label %251 251: ; preds = %244 %252 = load i32, ptr %4, align 4 %253 = sext i32 %252 to i64 %254 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %253 %255 = load i8, ptr %254, align 1 %256 = sext i8 %255 to i32 %257 = icmp eq i32 %256, 57 br i1 %257, label %265, label %258 258: ; preds = %251 %259 = load i32, ptr %4, align 4 %260 = sext i32 %259 to i64 %261 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %260 %262 = load i8, ptr %261, align 1 %263 = sext i8 %262 to i32 %264 = icmp eq i32 %263, 44 br i1 %264, label %265, label %266 265: ; preds = %258, %251, %244, %237, %230, %223, %216, %209, %202, %195, %188 store i32 1, ptr %7, align 4 br label %271 266: ; preds = %258 store i32 0, ptr %7, align 4 %267 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %268 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %269 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) %270 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) br label %279 271: ; preds = %265 br label %272 272: ; preds = %271 %273 = load i32, ptr %4, align 4 %274 = add nsw i32 %273, 1 store i32 %274, ptr %4, align 4 %275 = load i32, ptr %4, align 4 %276 = call i32 @strlen(ptr noundef %184) %277 = sub nsw i32 %276, 1 %278 = icmp slt i32 %275, %277 br i1 %278, label %188, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %272 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %178 br label %279 279: ; preds = %.loopexit, %266 store i32 -1, ptr %12, align 4 store i32 0, ptr %10, align 4 %280 = load i32, ptr %10, align 4 %281 = icmp slt i32 %280, 10 br i1 %281, label %.lr.ph6, label %297 .lr.ph6: ; preds = %279 br label %282 282: ; preds = %.lr.ph6, %292 %283 = load i32, ptr %10, align 4 %284 = sext i32 %283 to i64 %285 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %284 %286 = load i8, ptr %285, align 1 %287 = sext i8 %286 to i32 %288 = icmp eq i32 %287, 44 br i1 %288, label %289, label %291 289: ; preds = %282 %290 = load i32, ptr %10, align 4 store i32 %290, ptr %12, align 4 store i32 1, ptr %8, align 4 br label %291 291: ; preds = %289, %282 br label %292 292: ; preds = %291 %293 = load i32, ptr %10, align 4 %294 = add nsw i32 %293, 1 store i32 %294, ptr %10, align 4 %295 = load i32, ptr %10, align 4 %296 = icmp slt i32 %295, 10 br i1 %296, label %282, label %._crit_edge7, !llvm.loop !10 ._crit_edge7: ; preds = %292 br label %297 297: ; preds = %._crit_edge7, %279 %298 = load i32, ptr %12, align 4 %299 = icmp eq i32 %298, -1 br i1 %299, label %300, label %302 300: ; preds = %297 store i32 0, ptr %8, align 4 %301 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) br label %302 302: ; preds = %300, %297 store i32 0, ptr %10, align 4 %303 = load i32, ptr %10, align 4 %304 = load i32, ptr %12, align 4 %305 = icmp slt i32 %303, %304 br i1 %305, label %.lr.ph9, label %320 .lr.ph9: ; preds = %302 br label %306 306: ; preds = %.lr.ph9, %314 %307 = load i32, ptr %10, align 4 %308 = sext i32 %307 to i64 %309 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %308 %310 = load i8, ptr %309, align 1 %311 = load i32, ptr %10, align 4 %312 = sext i32 %311 to i64 %313 = getelementptr inbounds [10 x i8], ptr %13, i64 0, i64 %312 store i8 %310, ptr %313, align 1 br label %314 314: ; preds = %306 %315 = load i32, ptr %10, align 4 %316 = add nsw i32 %315, 1 store i32 %316, ptr %10, align 4 %317 = load i32, ptr %10, align 4 %318 = load i32, ptr %12, align 4 %319 = icmp slt i32 %317, %318 br i1 %319, label %306, label %._crit_edge10, !llvm.loop !11 ._crit_edge10: ; preds = %314 br label %320 320: ; preds = %._crit_edge10, %302 %321 = getelementptr inbounds [10 x i8], ptr %13, i64 0, i64 0 %322 = call i32 @atoi(ptr noundef %321) store i32 %322, ptr %5, align 4 %323 = load i32, ptr %12, align 4 %324 = add nsw i32 %323, 2 %325 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %326 = call i32 @strlen(ptr noundef %325) %327 = icmp eq i32 %324, %326 br i1 %327, label %328, label %329 328: ; preds = %320 store i32 1000, ptr %6, align 4 br label %355 329: ; preds = %320 store i32 0, ptr %10, align 4 %330 = load i32, ptr %12, align 4 %331 = add nsw i32 %330, 1 store i32 %331, ptr %11, align 4 %332 = load i32, ptr %11, align 4 %333 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %334 = call i32 @strlen(ptr noundef %333) %335 = icmp slt i32 %332, %334 br i1 %335, label %.lr.ph12, label %352 .lr.ph12: ; preds = %329 br label %336 336: ; preds = %.lr.ph12, %346 %337 = load i32, ptr %11, align 4 %338 = sext i32 %337 to i64 %339 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %338 %340 = load i8, ptr %339, align 1 %341 = load i32, ptr %10, align 4 %342 = sext i32 %341 to i64 %343 = getelementptr inbounds [10 x i8], ptr %13, i64 0, i64 %342 store i8 %340, ptr %343, align 1 %344 = load i32, ptr %10, align 4 %345 = add nsw i32 %344, 1 store i32 %345, ptr %10, align 4 br label %346 346: ; preds = %336 %347 = load i32, ptr %11, align 4 %348 = add nsw i32 %347, 1 store i32 %348, ptr %11, align 4 %349 = load i32, ptr %11, align 4 %350 = call i32 @strlen(ptr noundef %333) %351 = icmp slt i32 %349, %350 br i1 %351, label %336, label %._crit_edge13, !llvm.loop !12 ._crit_edge13: ; preds = %346 br label %352 352: ; preds = %._crit_edge13, %329 %353 = getelementptr inbounds [10 x i8], ptr %13, i64 0, i64 0 %354 = call i32 @atoi(ptr noundef %353) store i32 %354, ptr %6, align 4 br label %355 355: ; preds = %352, %328 %356 = load i32, ptr %5, align 4 %357 = load i32, ptr %6, align 4 %358 = icmp sgt i32 %356, %357 br i1 %358, label %359, label %362 359: ; preds = %355 store i32 0, ptr %9, align 4 %360 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %361 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) br label %363 362: ; preds = %355 store i32 1, ptr %9, align 4 br label %363 363: ; preds = %362, %359 %364 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) br label %167, !llvm.loop !13 365: ; preds = %176 %366 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) %367 = load i32, ptr %5, align 4 store i32 %367, ptr %14, align 4 %368 = load i32, ptr %14, align 4 %369 = load i32, ptr %6, align 4 %370 = icmp sle i32 %368, %369 br i1 %370, label %.lr.ph15, label %385 .lr.ph15: ; preds = %365 br label %371 371: ; preds = %.lr.ph15, %379 %372 = load i32, ptr %14, align 4 %373 = load i32, ptr %14, align 4 %374 = load i32, ptr %14, align 4 %375 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, i32 noundef %372, i32 noundef %373, i32 noundef %374) %376 = load i32, ptr %14, align 4 %377 = call i32 @print_binary(i32 noundef %376) %378 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) br label %379 379: ; preds = %371 %380 = load i32, ptr %14, align 4 %381 = add nsw i32 %380, 1 store i32 %381, ptr %14, align 4 %382 = load i32, ptr %14, align 4 %383 = load i32, ptr %6, align 4 %384 = icmp sle i32 %382, %383 br i1 %384, label %371, label %._crit_edge16, !llvm.loop !14 ._crit_edge16: ; preds = %379 br label %385 385: ; preds = %._crit_edge16, %365 %386 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) br label %389 387: ; preds = %161, %156, %151, %146, %141 %388 = call i32 (ptr, ...) @printf(ptr noundef @.str.28) br label %389 389: ; preds = %387, %385 br label %390 390: ; preds = %389, %126 br label %391 391: ; preds = %390 br label %16 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @print_binary(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '/tmp/tmp5t5du8t0.c' source_filename = "/tmp/tmp5t5du8t0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FFTSS_INIT_THREADS() #0 { %1 = call i32 (...) @fftss_init_threads() ret void } declare i32 @fftss_init_threads(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5t5du8t0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FFTSS_INIT_THREADS() #0 { %1 = call i32 (...) @fftss_init_threads() ret void } declare i32 @fftss_init_threads(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbyw4ubv6.c' source_filename = "/tmp/tmpbyw4ubv6.c" target datalayout = "e-m:e-p270: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.msg = private unnamed_addr constant [14 x i8] c"Votre message\00", align 1 @.str = private unnamed_addr constant [21 x i8] c"Initial value: \22%s\22\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Reversed : \22%s\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [14 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.msg, i64 14, i1 false) %2 = getelementptr inbounds [14 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @printf(ptr noundef @.str, ptr noundef %2) %4 = getelementptr inbounds [14 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @reverseString(ptr noundef %4) %6 = getelementptr inbounds [14 x i8], ptr %1, i64 0, i64 0 %7 = call i32 @printf(ptr noundef @.str.1, ptr noundef %6) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @reverseString(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbyw4ubv6.c" target datalayout = "e-m:e-p270: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.msg = private unnamed_addr constant [14 x i8] c"Votre message\00", align 1 @.str = private unnamed_addr constant [21 x i8] c"Initial value: \22%s\22\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Reversed : \22%s\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [14 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.msg, i64 14, i1 false) %2 = getelementptr inbounds [14 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @printf(ptr noundef @.str, ptr noundef %2) %4 = getelementptr inbounds [14 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @reverseString(ptr noundef %4) %6 = getelementptr inbounds [14 x i8], ptr %1, i64 0, i64 0 %7 = call i32 @printf(ptr noundef @.str.1, ptr noundef %6) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @reverseString(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp43w30a6f.c' source_filename = "/tmp/tmp43w30a6f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 @BUFSIZ = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"/run/crash/%s\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = 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 @S_IRGRP = dso_local global i32 0, align 4 @S_IROTH = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"coredump\00", align 1 @LOG_NDELAY = dso_local global i32 0, align 4 @LOG_PID = dso_local global i32 0, align 4 @LOG_USER = dso_local global i32 0, align 4 @LOG_INFO = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [14 x i8] c"dumping to %s\00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [16 x i8] c"Usage: %s NAME\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 i64, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr @PATH_MAX, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %6, align 8 %17 = alloca i8, i64 %15, align 16 store i64 %15, ptr %7, align 8 %18 = load i32, ptr @BUFSIZ, align 4 %19 = zext i32 %18 to i64 %20 = alloca i8, i64 %19, align 16 store i64 %19, ptr %8, align 8 %21 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %21, ptr %12, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp ne i32 2, %22 br i1 %23, label %24, label %25 24: ; preds = %2 br label %102 25: ; preds = %2 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = call ptr @strchr(ptr noundef %28, i8 noundef signext 47) %30 = icmp ne ptr null, %29 br i1 %30, label %31, label %32 31: ; preds = %25 br label %102 32: ; preds = %25 %33 = trunc i64 %15 to i32 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8 %37 = call i32 @snprintf(ptr noundef %17, i32 noundef %33, ptr noundef @.str, ptr noundef %36) store i32 %37, ptr %11, align 4 %38 = load i32, ptr %11, align 4 %39 = icmp sge i32 0, %38 br i1 %39, label %44, label %40 40: ; preds = %32 %41 = load i32, ptr %11, align 4 %42 = sext i32 %41 to i64 %43 = icmp ule i64 %15, %42 br i1 %43, label %44, label %45 44: ; preds = %40, %32 br label %100 45: ; preds = %40 %46 = call i32 @umask(i32 noundef 0) %47 = load i32, ptr @O_WRONLY, align 4 %48 = load i32, ptr @O_CREAT, align 4 %49 = or i32 %47, %48 %50 = load i32, ptr @O_EXCL, align 4 %51 = or i32 %49, %50 %52 = load i32, ptr @S_IRUSR, align 4 %53 = load i32, ptr @S_IWUSR, align 4 %54 = or i32 %52, %53 %55 = load i32, ptr @S_IRGRP, align 4 %56 = or i32 %54, %55 %57 = load i32, ptr @S_IROTH, align 4 %58 = or i32 %56, %57 %59 = call i32 @open(ptr noundef %17, i32 noundef %51, i32 noundef %58) store i32 %59, ptr %10, align 4 %60 = load i32, ptr %10, align 4 %61 = icmp eq i32 -1, %60 br i1 %61, label %62, label %63 62: ; preds = %45 br label %100 63: ; preds = %45 %64 = load i32, ptr @LOG_NDELAY, align 4 %65 = load i32, ptr @LOG_PID, align 4 %66 = or i32 %64, %65 %67 = load i32, ptr @LOG_USER, align 4 %68 = call i32 @openlog(ptr noundef @.str.1, i32 noundef %66, i32 noundef %67) %69 = load i32, ptr @LOG_INFO, align 4 %70 = call i32 @syslog(i32 noundef %69, ptr noundef @.str.2, ptr noundef %17) br label %71 71: ; preds = %88, %63 %72 = load i32, ptr @STDIN_FILENO, align 4 %73 = trunc i64 %19 to i32 %74 = call i32 @read(i32 noundef %72, ptr noundef %20, i32 noundef %73) store i32 %74, ptr %9, align 4 %75 = load i32, ptr %9, align 4 switch i32 %75, label %79 [ i32 0, label %76 i32 -1, label %78 ] 76: ; preds = %71 %77 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %77, ptr %12, align 4 br label %78 78: ; preds = %71, %76 br label %90 79: ; preds = %71 %80 = load i32, ptr %9, align 4 %81 = load i32, ptr %10, align 4 %82 = load i32, ptr %9, align 4 %83 = sext i32 %82 to i64 %84 = call i32 @write(i32 noundef %81, ptr noundef %20, i64 noundef %83) %85 = icmp ne i32 %80, %84 br i1 %85, label %86, label %87 86: ; preds = %79 br label %90 87: ; preds = %79 br label %88 88: ; preds = %87 br i1 true, label %71, label %89 89: ; preds = %88 br label %90 90: ; preds = %89, %86, %78 %91 = call i32 (...) @closelog() %92 = load i32, ptr %10, align 4 %93 = call i32 @close(i32 noundef %92) %94 = load i32, ptr @EXIT_FAILURE, align 4 %95 = load i32, ptr %12, align 4 %96 = icmp eq i32 %94, %95 br i1 %96, label %97, label %99 97: ; preds = %90 %98 = call i32 @unlink(ptr noundef %17) br label %99 99: ; preds = %97, %90 br label %100 100: ; preds = %99, %62, %44 %101 = load i32, ptr %12, align 4 store i32 %101, ptr %3, align 4 store i32 1, ptr %13, align 4 br label %109 102: ; preds = %31, %24 %103 = load i32, ptr @stderr, align 4 %104 = load ptr, ptr %5, align 8 %105 = getelementptr inbounds ptr, ptr %104, i64 0 %106 = load ptr, ptr %105, align 8 %107 = call i32 @fprintf(i32 noundef %103, ptr noundef @.str.3, ptr noundef %106) %108 = load i32, ptr %12, align 4 store i32 %108, ptr %3, align 4 store i32 1, ptr %13, align 4 br label %109 109: ; preds = %102, %100 %110 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %110) %111 = load i32, ptr %3, align 4 ret i32 %111 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @umask(i32 noundef) #2 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @openlog(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #2 declare i32 @closelog(...) #2 declare i32 @close(i32 noundef) #2 declare i32 @unlink(ptr noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp43w30a6f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 @BUFSIZ = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"/run/crash/%s\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = 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 @S_IRGRP = dso_local global i32 0, align 4 @S_IROTH = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"coredump\00", align 1 @LOG_NDELAY = dso_local global i32 0, align 4 @LOG_PID = dso_local global i32 0, align 4 @LOG_USER = dso_local global i32 0, align 4 @LOG_INFO = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [14 x i8] c"dumping to %s\00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [16 x i8] c"Usage: %s NAME\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 i64, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr @PATH_MAX, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %6, align 8 %17 = alloca i8, i64 %15, align 16 store i64 %15, ptr %7, align 8 %18 = load i32, ptr @BUFSIZ, align 4 %19 = zext i32 %18 to i64 %20 = alloca i8, i64 %19, align 16 store i64 %19, ptr %8, align 8 %21 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %21, ptr %12, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp ne i32 2, %22 br i1 %23, label %24, label %25 24: ; preds = %2 br label %102 25: ; preds = %2 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = call ptr @strchr(ptr noundef %28, i8 noundef signext 47) %30 = icmp ne ptr null, %29 br i1 %30, label %31, label %32 31: ; preds = %25 br label %102 32: ; preds = %25 %33 = trunc i64 %15 to i32 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8 %37 = call i32 @snprintf(ptr noundef %17, i32 noundef %33, ptr noundef @.str, ptr noundef %36) store i32 %37, ptr %11, align 4 %38 = load i32, ptr %11, align 4 %39 = icmp sge i32 0, %38 br i1 %39, label %44, label %40 40: ; preds = %32 %41 = load i32, ptr %11, align 4 %42 = sext i32 %41 to i64 %43 = icmp ule i64 %15, %42 br i1 %43, label %44, label %45 44: ; preds = %40, %32 br label %100 45: ; preds = %40 %46 = call i32 @umask(i32 noundef 0) %47 = load i32, ptr @O_WRONLY, align 4 %48 = load i32, ptr @O_CREAT, align 4 %49 = or i32 %47, %48 %50 = load i32, ptr @O_EXCL, align 4 %51 = or i32 %49, %50 %52 = load i32, ptr @S_IRUSR, align 4 %53 = load i32, ptr @S_IWUSR, align 4 %54 = or i32 %52, %53 %55 = load i32, ptr @S_IRGRP, align 4 %56 = or i32 %54, %55 %57 = load i32, ptr @S_IROTH, align 4 %58 = or i32 %56, %57 %59 = call i32 @open(ptr noundef %17, i32 noundef %51, i32 noundef %58) store i32 %59, ptr %10, align 4 %60 = load i32, ptr %10, align 4 %61 = icmp eq i32 -1, %60 br i1 %61, label %62, label %63 62: ; preds = %45 br label %100 63: ; preds = %45 %64 = load i32, ptr @LOG_NDELAY, align 4 %65 = load i32, ptr @LOG_PID, align 4 %66 = or i32 %64, %65 %67 = load i32, ptr @LOG_USER, align 4 %68 = call i32 @openlog(ptr noundef @.str.1, i32 noundef %66, i32 noundef %67) %69 = load i32, ptr @LOG_INFO, align 4 %70 = call i32 @syslog(i32 noundef %69, ptr noundef @.str.2, ptr noundef %17) br label %71 71: ; preds = %88, %63 %72 = load i32, ptr @STDIN_FILENO, align 4 %73 = trunc i64 %19 to i32 %74 = call i32 @read(i32 noundef %72, ptr noundef %20, i32 noundef %73) store i32 %74, ptr %9, align 4 %75 = load i32, ptr %9, align 4 switch i32 %75, label %79 [ i32 0, label %76 i32 -1, label %.loopexit ] 76: ; preds = %71 %77 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %77, ptr %12, align 4 br label %78 .loopexit: ; preds = %71 br label %78 78: ; preds = %.loopexit, %76 br label %90 79: ; preds = %71 %80 = load i32, ptr %9, align 4 %81 = load i32, ptr %10, align 4 %82 = load i32, ptr %9, align 4 %83 = sext i32 %82 to i64 %84 = call i32 @write(i32 noundef %81, ptr noundef %20, i64 noundef %83) %85 = icmp ne i32 %80, %84 br i1 %85, label %86, label %87 86: ; preds = %79 br label %90 87: ; preds = %79 br label %88 88: ; preds = %87 br i1 true, label %71, label %89 89: ; preds = %88 br label %90 90: ; preds = %89, %86, %78 %91 = call i32 (...) @closelog() %92 = load i32, ptr %10, align 4 %93 = call i32 @close(i32 noundef %92) %94 = load i32, ptr @EXIT_FAILURE, align 4 %95 = load i32, ptr %12, align 4 %96 = icmp eq i32 %94, %95 br i1 %96, label %97, label %99 97: ; preds = %90 %98 = call i32 @unlink(ptr noundef %17) br label %99 99: ; preds = %97, %90 br label %100 100: ; preds = %99, %62, %44 %101 = load i32, ptr %12, align 4 store i32 %101, ptr %3, align 4 store i32 1, ptr %13, align 4 br label %109 102: ; preds = %31, %24 %103 = load i32, ptr @stderr, align 4 %104 = load ptr, ptr %5, align 8 %105 = getelementptr inbounds ptr, ptr %104, i64 0 %106 = load ptr, ptr %105, align 8 %107 = call i32 @fprintf(i32 noundef %103, ptr noundef @.str.3, ptr noundef %106) %108 = load i32, ptr %12, align 4 store i32 %108, ptr %3, align 4 store i32 1, ptr %13, align 4 br label %109 109: ; preds = %102, %100 %110 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %110) %111 = load i32, ptr %3, align 4 ret i32 %111 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @umask(i32 noundef) #2 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @openlog(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #2 declare i32 @closelog(...) #2 declare i32 @close(i32 noundef) #2 declare i32 @unlink(ptr noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgxnn_bse.c' source_filename = "/tmp/tmpgxnn_bse.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ft_memdup(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %7 = load i64, ptr %5, align 8 %8 = call ptr @malloc(i64 noundef %7) #3 store ptr %8, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %11, label %10 10: ; preds = %2 store ptr null, ptr %3, align 8 br label %16 11: ; preds = %2 %12 = load ptr, ptr %6, align 8 %13 = load ptr, ptr %4, align 8 %14 = load i64, ptr %5, align 8 %15 = call ptr @ft_memcpy(ptr noundef %12, ptr noundef %13, i64 noundef %14) store ptr %15, ptr %3, align 8 br label %16 16: ; preds = %11, %10 %17 = load ptr, ptr %3, align 8 ret ptr %17 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare ptr @ft_memcpy(ptr noundef, ptr noundef, i64 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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/tmpgxnn_bse.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ft_memdup(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %7 = load i64, ptr %5, align 8 %8 = call ptr @malloc(i64 noundef %7) #3 store ptr %8, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %11, label %10 10: ; preds = %2 store ptr null, ptr %3, align 8 br label %16 11: ; preds = %2 %12 = load ptr, ptr %6, align 8 %13 = load ptr, ptr %4, align 8 %14 = load i64, ptr %5, align 8 %15 = call ptr @ft_memcpy(ptr noundef %12, ptr noundef %13, i64 noundef %14) store ptr %15, ptr %3, align 8 br label %16 16: ; preds = %11, %10 %17 = load ptr, ptr %3, align 8 ret ptr %17 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare ptr @ft_memcpy(ptr noundef, ptr noundef, i64 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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/tmpvfwe01t4.c' source_filename = "/tmp/tmpvfwe01t4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @blender_block_read_start(i64 noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i64, align 8 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %10 = load i64, ptr %6, align 8 %11 = icmp ugt i64 %10, 65536 br i1 %11, label %12, label %13 12: ; preds = %3 store i32 4096, ptr %4, align 4 br label %22 13: ; preds = %3 %14 = call i32 @OS_disable_interrupts(ptr noundef %9) %15 = load i64, ptr %5, align 8 %16 = load i64, ptr %6, align 8 %17 = load i32, ptr %7, align 4 %18 = call i32 @dma_start(i64 noundef %15, i64 noundef %16, i32 noundef 1, i32 noundef %17) store i32 %18, ptr %8, align 4 %19 = load i64, ptr %9, align 8 %20 = call i32 @OS_enable_interrupts(i64 noundef %19) %21 = load i32, ptr %8, align 4 store i32 %21, ptr %4, align 4 br label %22 22: ; preds = %13, %12 %23 = load i32, ptr %4, align 4 ret i32 %23 } declare i32 @OS_disable_interrupts(ptr noundef) #1 declare i32 @dma_start(i64 noundef, i64 noundef, i32 noundef, i32 noundef) #1 declare i32 @OS_enable_interrupts(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/tmpvfwe01t4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @blender_block_read_start(i64 noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i64, align 8 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %10 = load i64, ptr %6, align 8 %11 = icmp ugt i64 %10, 65536 br i1 %11, label %12, label %13 12: ; preds = %3 store i32 4096, ptr %4, align 4 br label %22 13: ; preds = %3 %14 = call i32 @OS_disable_interrupts(ptr noundef %9) %15 = load i64, ptr %5, align 8 %16 = load i64, ptr %6, align 8 %17 = load i32, ptr %7, align 4 %18 = call i32 @dma_start(i64 noundef %15, i64 noundef %16, i32 noundef 1, i32 noundef %17) store i32 %18, ptr %8, align 4 %19 = load i64, ptr %9, align 8 %20 = call i32 @OS_enable_interrupts(i64 noundef %19) %21 = load i32, ptr %8, align 4 store i32 %21, ptr %4, align 4 br label %22 22: ; preds = %13, %12 %23 = load i32, ptr %4, align 4 ret i32 %23 } declare i32 @OS_disable_interrupts(ptr noundef) #1 declare i32 @dma_start(i64 noundef, i64 noundef, i32 noundef, i32 noundef) #1 declare i32 @OS_enable_interrupts(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/tmpeu8x68a6.c' source_filename = "/tmp/tmpeu8x68a6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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(read) uwtable define dso_local i32 @isalpha(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @__isalpha_impl(i32 noundef %3) ret i32 %4 } declare i32 @__isalpha_impl(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeu8x68a6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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(read) uwtable define dso_local i32 @isalpha(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @__isalpha_impl(i32 noundef %3) ret i32 %4 } declare i32 @__isalpha_impl(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdmcf_30r.c' source_filename = "/tmp/tmpdmcf_30r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parseXML(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %6, align 8 %13 = alloca i8, i64 %11, align 16 store i64 %11, ptr %7, align 8 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %4, align 4 %16 = call i32 @memcpy(ptr noundef %13, ptr noundef %14, i32 noundef %15) %17 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %17) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdmcf_30r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parseXML(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %6, align 8 %13 = alloca i8, i64 %11, align 16 store i64 %11, ptr %7, align 8 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %4, align 4 %16 = call i32 @memcpy(ptr noundef %13, ptr noundef %14, i32 noundef %15) %17 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %17) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwefyq_2y.c' source_filename = "/tmp/tmpwefyq_2y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-fi\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"-vi\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Unknown option '%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 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 = icmp sgt i32 %6, 1 br i1 %7, label %8, label %31 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @strcmp(ptr noundef %11, ptr noundef @.str) %13 = icmp ne i32 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %8 %15 = call i32 (...) @dump_fb_fix_info() br label %30 16: ; preds = %8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @strcmp(ptr noundef %19, ptr noundef @.str.1) %21 = icmp ne i32 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %16 %23 = call i32 (...) @dump_fb_var_info() br label %29 24: ; preds = %16 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %26, align 8 %28 = call i32 @printf(ptr noundef @.str.2, ptr noundef %27) br label %29 29: ; preds = %24, %22 br label %30 30: ; preds = %29, %14 store i32 0, ptr %3, align 4 br label %40 31: ; preds = %2 %32 = call i32 (...) @fb_acquire() %33 = icmp ne i32 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %31 %35 = call i32 (...) @fb_release() store i32 1, ptr %3, align 4 br label %40 36: ; preds = %31 %37 = call i32 (...) @draw_something() %38 = call i32 (...) @getchar() %39 = call i32 (...) @fb_release() store i32 0, ptr %3, align 4 br label %40 40: ; preds = %36, %34, %30 %41 = load i32, ptr %3, align 4 ret i32 %41 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @dump_fb_fix_info(...) #1 declare i32 @dump_fb_var_info(...) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fb_acquire(...) #1 declare i32 @fb_release(...) #1 declare i32 @draw_something(...) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwefyq_2y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-fi\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"-vi\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Unknown option '%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 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 = icmp sgt i32 %6, 1 br i1 %7, label %8, label %31 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @strcmp(ptr noundef %11, ptr noundef @.str) %13 = icmp ne i32 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %8 %15 = call i32 (...) @dump_fb_fix_info() br label %30 16: ; preds = %8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @strcmp(ptr noundef %19, ptr noundef @.str.1) %21 = icmp ne i32 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %16 %23 = call i32 (...) @dump_fb_var_info() br label %29 24: ; preds = %16 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %26, align 8 %28 = call i32 @printf(ptr noundef @.str.2, ptr noundef %27) br label %29 29: ; preds = %24, %22 br label %30 30: ; preds = %29, %14 store i32 0, ptr %3, align 4 br label %40 31: ; preds = %2 %32 = call i32 (...) @fb_acquire() %33 = icmp ne i32 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %31 %35 = call i32 (...) @fb_release() store i32 1, ptr %3, align 4 br label %40 36: ; preds = %31 %37 = call i32 (...) @draw_something() %38 = call i32 (...) @getchar() %39 = call i32 (...) @fb_release() store i32 0, ptr %3, align 4 br label %40 40: ; preds = %36, %34, %30 %41 = load i32, ptr %3, align 4 ret i32 %41 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @dump_fb_fix_info(...) #1 declare i32 @dump_fb_var_info(...) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fb_acquire(...) #1 declare i32 @fb_release(...) #1 declare i32 @draw_something(...) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg61b_z6t.c' source_filename = "/tmp/tmpg61b_z6t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim_crlf(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef %4) store i64 %5, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 %7 = load i64, ptr %3, align 8 %8 = sub i64 %7, 2 %9 = getelementptr inbounds i8, ptr %6, i64 %8 store i8 0, ptr %9, align 1 %10 = load ptr, ptr %2, align 8 ret ptr %10 } declare i64 @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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg61b_z6t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim_crlf(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef %4) store i64 %5, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 %7 = load i64, ptr %3, align 8 %8 = sub i64 %7, 2 %9 = getelementptr inbounds i8, ptr %6, i64 %8 store i8 0, ptr %9, align 1 %10 = load ptr, ptr %2, align 8 ret ptr %10 } declare i64 @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"}
; ModuleID = '/tmp/tmpv4e5pvmw.c' source_filename = "/tmp/tmpv4e5pvmw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"\0AQueue is full!\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"\0A%d was Inserted.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @enqueue(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 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 i32 %3, ptr %8, align 4 %9 = load ptr, ptr %6, align 8 %10 = load i32, ptr %9, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %4 %13 = load ptr, ptr %7, align 8 %14 = load i32, ptr %13, align 4 %15 = icmp eq i32 %14, 4 br i1 %15, label %23, label %16 16: ; preds = %12, %4 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %17, align 4 %19 = load ptr, ptr %7, align 8 %20 = load i32, ptr %19, align 4 %21 = add nsw i32 %20, 1 %22 = icmp eq i32 %18, %21 br i1 %22, label %23, label %25 23: ; preds = %16, %12 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %52 25: ; preds = %16 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %26, align 4 %28 = icmp eq i32 %27, -1 br i1 %28, label %29, label %32 29: ; preds = %25 %30 = load ptr, ptr %7, align 8 store i32 0, ptr %30, align 4 %31 = load ptr, ptr %6, align 8 store i32 0, ptr %31, align 4 br label %43 32: ; preds = %25 %33 = load ptr, ptr %7, align 8 %34 = load i32, ptr %33, align 4 %35 = icmp eq i32 %34, 4 br i1 %35, label %36, label %38 36: ; preds = %32 %37 = load ptr, ptr %7, align 8 store i32 1, ptr %37, align 4 br label %42 38: ; preds = %32 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %39, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %39, align 4 br label %42 42: ; preds = %38, %36 br label %43 43: ; preds = %42, %29 %44 = load i32, ptr %8, align 4 %45 = load ptr, ptr %5, align 8 %46 = load ptr, ptr %7, align 8 %47 = load i32, ptr %46, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %45, i64 %48 store i32 %44, ptr %49, align 4 %50 = load i32, ptr %8, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %50) br label %52 52: ; preds = %43, %23 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/tmpv4e5pvmw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"\0AQueue is full!\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"\0A%d was Inserted.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @enqueue(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 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 i32 %3, ptr %8, align 4 %9 = load ptr, ptr %6, align 8 %10 = load i32, ptr %9, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %4 %13 = load ptr, ptr %7, align 8 %14 = load i32, ptr %13, align 4 %15 = icmp eq i32 %14, 4 br i1 %15, label %23, label %16 16: ; preds = %12, %4 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %17, align 4 %19 = load ptr, ptr %7, align 8 %20 = load i32, ptr %19, align 4 %21 = add nsw i32 %20, 1 %22 = icmp eq i32 %18, %21 br i1 %22, label %23, label %25 23: ; preds = %16, %12 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %52 25: ; preds = %16 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %26, align 4 %28 = icmp eq i32 %27, -1 br i1 %28, label %29, label %32 29: ; preds = %25 %30 = load ptr, ptr %7, align 8 store i32 0, ptr %30, align 4 %31 = load ptr, ptr %6, align 8 store i32 0, ptr %31, align 4 br label %43 32: ; preds = %25 %33 = load ptr, ptr %7, align 8 %34 = load i32, ptr %33, align 4 %35 = icmp eq i32 %34, 4 br i1 %35, label %36, label %38 36: ; preds = %32 %37 = load ptr, ptr %7, align 8 store i32 1, ptr %37, align 4 br label %42 38: ; preds = %32 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %39, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %39, align 4 br label %42 42: ; preds = %38, %36 br label %43 43: ; preds = %42, %29 %44 = load i32, ptr %8, align 4 %45 = load ptr, ptr %5, align 8 %46 = load ptr, ptr %7, align 8 %47 = load i32, ptr %46, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %45, i64 %48 store i32 %44, ptr %49, align 4 %50 = load i32, ptr %8, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %50) br label %52 52: ; preds = %43, %23 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/tmpeffctwba.c' source_filename = "/tmp/tmpeffctwba.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MAP_FAILED = dso_local global ptr null, align 8 @MAP_PRIVATE = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeffctwba.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MAP_FAILED = dso_local global ptr null, align 8 @MAP_PRIVATE = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7ulcg1yc.c' source_filename = "/tmp/tmp7ulcg1yc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"xn--\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ossl_a2ulabel(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca [512 x i32], align 16 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca [6 x i8], align 1 %18 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %19 = load ptr, ptr %6, align 8 store ptr %19, ptr %8, align 8 %20 = load ptr, ptr %5, align 8 store ptr %20, ptr %9, align 8 store i64 0, ptr %10, align 8 store i32 1, ptr %11, align 4 %21 = load ptr, ptr %6, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %24 23: ; preds = %3 store i32 0, ptr %11, align 4 br label %24 24: ; preds = %23, %3 br label %25 25: ; preds = %24, %139 %26 = load ptr, ptr %9, align 8 %27 = call ptr @strchr(ptr noundef %26, i8 noundef signext 46) store ptr %27, ptr %13, align 8 %28 = load ptr, ptr %13, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %36 30: ; preds = %25 %31 = load ptr, ptr %13, align 8 %32 = load ptr, ptr %9, align 8 %33 = ptrtoint ptr %31 to i64 %34 = ptrtoint ptr %32 to i64 %35 = sub i64 %33, %34 br label %39 36: ; preds = %25 %37 = load ptr, ptr %9, align 8 %38 = call i64 @strlen(ptr noundef %37) br label %39 39: ; preds = %36, %30 %40 = phi i64 [ %35, %30 ], [ %38, %36 ] store i64 %40, ptr %14, align 8 %41 = load ptr, ptr %9, align 8 %42 = call i64 @strncmp(ptr noundef %41, ptr noundef @.str, i32 noundef 4) %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %69 44: ; preds = %39 %45 = load i64, ptr %14, align 8 %46 = add i64 %45, 1 %47 = load i64, ptr %10, align 8 %48 = add i64 %47, %46 store i64 %48, ptr %10, align 8 %49 = load i64, ptr %10, align 8 %50 = load ptr, ptr %7, align 8 %51 = load i64, ptr %50, align 8 %52 = sub i64 %51, 1 %53 = icmp uge i64 %49, %52 br i1 %53, label %54, label %55 54: ; preds = %44 store i32 0, ptr %11, align 4 br label %55 55: ; preds = %54, %44 %56 = load i32, ptr %11, align 4 %57 = icmp sgt i32 %56, 0 br i1 %57, label %58, label %68 58: ; preds = %55 %59 = load ptr, ptr %8, align 8 %60 = load ptr, ptr %9, align 8 %61 = load i64, ptr %14, align 8 %62 = add i64 %61, 1 %63 = call i32 (ptr, ...) @memcpy(ptr noundef %59, ptr noundef %60, i64 noundef %62) %64 = load i64, ptr %14, align 8 %65 = add i64 %64, 1 %66 = load ptr, ptr %8, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 %65 store ptr %67, ptr %8, align 8 br label %68 68: ; preds = %58, %55 br label %135 69: ; preds = %39 store i32 512, ptr %15, align 4 %70 = load ptr, ptr %9, align 8 %71 = getelementptr inbounds i8, ptr %70, i64 4 %72 = load i64, ptr %14, align 8 %73 = sub i64 %72, 4 %74 = getelementptr inbounds [512 x i32], ptr %12, i64 0, i64 0 %75 = call i64 @ossl_punycode_decode(ptr noundef %71, i64 noundef %73, ptr noundef %74, ptr noundef %15) %76 = icmp sle i64 %75, 0 br i1 %76, label %77, label %78 77: ; preds = %69 store i32 -1, ptr %4, align 4 br label %144 78: ; preds = %69 store i32 0, ptr %16, align 4 br label %79 79: ; preds = %115, %78 %80 = load i32, ptr %16, align 4 %81 = load i32, ptr %15, align 4 %82 = icmp ult i32 %80, %81 br i1 %82, label %83, label %118 83: ; preds = %79 %84 = getelementptr inbounds [6 x i8], ptr %17, i64 0, i64 0 %85 = load i32, ptr %16, align 4 %86 = zext i32 %85 to i64 %87 = getelementptr inbounds [512 x i32], ptr %12, i64 0, i64 %86 %88 = load i32, ptr %87, align 4 %89 = call i64 @codepoint2utf8(ptr noundef %84, i32 noundef %88) store i64 %89, ptr %18, align 8 %90 = load i64, ptr %18, align 8 %91 = icmp eq i64 %90, 0 br i1 %91, label %92, label %93 92: ; preds = %83 store i32 -1, ptr %4, align 4 br label %144 93: ; preds = %83 %94 = load i64, ptr %18, align 8 %95 = load i64, ptr %10, align 8 %96 = add i64 %95, %94 store i64 %96, ptr %10, align 8 %97 = load i64, ptr %10, align 8 %98 = load ptr, ptr %7, align 8 %99 = load i64, ptr %98, align 8 %100 = sub i64 %99, 1 %101 = icmp uge i64 %97, %100 br i1 %101, label %102, label %103 102: ; preds = %93 store i32 0, ptr %11, align 4 br label %103 103: ; preds = %102, %93 %104 = load i32, ptr %11, align 4 %105 = icmp sgt i32 %104, 0 br i1 %105, label %106, label %114 106: ; preds = %103 %107 = load ptr, ptr %8, align 8 %108 = getelementptr inbounds [6 x i8], ptr %17, i64 0, i64 0 %109 = load i64, ptr %18, align 8 %110 = call i32 (ptr, ...) @memcpy(ptr noundef %107, ptr noundef %108, i64 noundef %109) %111 = load i64, ptr %18, align 8 %112 = load ptr, ptr %8, align 8 %113 = getelementptr inbounds i8, ptr %112, i64 %111 store ptr %113, ptr %8, align 8 br label %114 114: ; preds = %106, %103 br label %115 115: ; preds = %114 %116 = load i32, ptr %16, align 4 %117 = add i32 %116, 1 store i32 %117, ptr %16, align 4 br label %79, !llvm.loop !6 118: ; preds = %79 %119 = load ptr, ptr %13, align 8 %120 = icmp ne ptr %119, null br i1 %120, label %121, label %134 121: ; preds = %118 %122 = load ptr, ptr %8, align 8 store i8 46, ptr %122, align 1 %123 = load ptr, ptr %8, align 8 %124 = getelementptr inbounds i8, ptr %123, i32 1 store ptr %124, ptr %8, align 8 %125 = load i64, ptr %10, align 8 %126 = add i64 %125, 1 store i64 %126, ptr %10, align 8 %127 = load i64, ptr %10, align 8 %128 = load ptr, ptr %7, align 8 %129 = load i64, ptr %128, align 8 %130 = sub i64 %129, 1 %131 = icmp uge i64 %127, %130 br i1 %131, label %132, label %133 132: ; preds = %121 store i32 0, ptr %11, align 4 br label %133 133: ; preds = %132, %121 br label %134 134: ; preds = %133, %118 br label %135 135: ; preds = %134, %68 %136 = load ptr, ptr %13, align 8 %137 = icmp eq ptr %136, null br i1 %137, label %138, label %139 138: ; preds = %135 br label %142 139: ; preds = %135 %140 = load ptr, ptr %13, align 8 %141 = getelementptr inbounds i8, ptr %140, i64 1 store ptr %141, ptr %9, align 8 br label %25 142: ; preds = %138 %143 = load i32, ptr %11, align 4 store i32 %143, ptr %4, align 4 br label %144 144: ; preds = %142, %92, %77 %145 = load i32, ptr %4, align 4 ret i32 %145 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ...) #1 declare i64 @ossl_punycode_decode(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i64 @codepoint2utf8(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/tmp7ulcg1yc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"xn--\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ossl_a2ulabel(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca [512 x i32], align 16 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca [6 x i8], align 1 %18 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %19 = load ptr, ptr %6, align 8 store ptr %19, ptr %8, align 8 %20 = load ptr, ptr %5, align 8 store ptr %20, ptr %9, align 8 store i64 0, ptr %10, align 8 store i32 1, ptr %11, align 4 %21 = load ptr, ptr %6, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %24 23: ; preds = %3 store i32 0, ptr %11, align 4 br label %24 24: ; preds = %23, %3 br label %25 25: ; preds = %141, %24 %26 = load ptr, ptr %9, align 8 %27 = call ptr @strchr(ptr noundef %26, i8 noundef signext 46) store ptr %27, ptr %13, align 8 %28 = load ptr, ptr %13, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %36 30: ; preds = %25 %31 = load ptr, ptr %13, align 8 %32 = load ptr, ptr %9, align 8 %33 = ptrtoint ptr %31 to i64 %34 = ptrtoint ptr %32 to i64 %35 = sub i64 %33, %34 br label %39 36: ; preds = %25 %37 = load ptr, ptr %9, align 8 %38 = call i64 @strlen(ptr noundef %37) br label %39 39: ; preds = %36, %30 %40 = phi i64 [ %35, %30 ], [ %38, %36 ] store i64 %40, ptr %14, align 8 %41 = load ptr, ptr %9, align 8 %42 = call i64 @strncmp(ptr noundef %41, ptr noundef @.str, i32 noundef 4) %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %69 44: ; preds = %39 %45 = load i64, ptr %14, align 8 %46 = add i64 %45, 1 %47 = load i64, ptr %10, align 8 %48 = add i64 %47, %46 store i64 %48, ptr %10, align 8 %49 = load i64, ptr %10, align 8 %50 = load ptr, ptr %7, align 8 %51 = load i64, ptr %50, align 8 %52 = sub i64 %51, 1 %53 = icmp uge i64 %49, %52 br i1 %53, label %54, label %55 54: ; preds = %44 store i32 0, ptr %11, align 4 br label %55 55: ; preds = %54, %44 %56 = load i32, ptr %11, align 4 %57 = icmp sgt i32 %56, 0 br i1 %57, label %58, label %68 58: ; preds = %55 %59 = load ptr, ptr %8, align 8 %60 = load ptr, ptr %9, align 8 %61 = load i64, ptr %14, align 8 %62 = add i64 %61, 1 %63 = call i32 (ptr, ...) @memcpy(ptr noundef %59, ptr noundef %60, i64 noundef %62) %64 = load i64, ptr %14, align 8 %65 = add i64 %64, 1 %66 = load ptr, ptr %8, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 %65 store ptr %67, ptr %8, align 8 br label %68 68: ; preds = %58, %55 br label %137 69: ; preds = %39 store i32 512, ptr %15, align 4 %70 = load ptr, ptr %9, align 8 %71 = getelementptr inbounds i8, ptr %70, i64 4 %72 = load i64, ptr %14, align 8 %73 = sub i64 %72, 4 %74 = getelementptr inbounds [512 x i32], ptr %12, i64 0, i64 0 %75 = call i64 @ossl_punycode_decode(ptr noundef %71, i64 noundef %73, ptr noundef %74, ptr noundef %15) %76 = icmp sle i64 %75, 0 br i1 %76, label %77, label %78 77: ; preds = %69 store i32 -1, ptr %4, align 4 br label %146 78: ; preds = %69 store i32 0, ptr %16, align 4 %79 = load i32, ptr %16, align 4 %80 = load i32, ptr %15, align 4 %81 = icmp ult i32 %79, %80 br i1 %81, label %.lr.ph, label %120 .lr.ph: ; preds = %78 br label %82 82: ; preds = %.lr.ph, %114 %83 = getelementptr inbounds [6 x i8], ptr %17, i64 0, i64 0 %84 = load i32, ptr %16, align 4 %85 = zext i32 %84 to i64 %86 = getelementptr inbounds [512 x i32], ptr %12, i64 0, i64 %85 %87 = load i32, ptr %86, align 4 %88 = call i64 @codepoint2utf8(ptr noundef %83, i32 noundef %87) store i64 %88, ptr %18, align 8 %89 = load i64, ptr %18, align 8 %90 = icmp eq i64 %89, 0 br i1 %90, label %91, label %92 91: ; preds = %82 store i32 -1, ptr %4, align 4 br label %146 92: ; preds = %82 %93 = load i64, ptr %18, align 8 %94 = load i64, ptr %10, align 8 %95 = add i64 %94, %93 store i64 %95, ptr %10, align 8 %96 = load i64, ptr %10, align 8 %97 = load ptr, ptr %7, align 8 %98 = load i64, ptr %97, align 8 %99 = sub i64 %98, 1 %100 = icmp uge i64 %96, %99 br i1 %100, label %101, label %102 101: ; preds = %92 store i32 0, ptr %11, align 4 br label %102 102: ; preds = %101, %92 %103 = load i32, ptr %11, align 4 %104 = icmp sgt i32 %103, 0 br i1 %104, label %105, label %113 105: ; preds = %102 %106 = load ptr, ptr %8, align 8 %107 = getelementptr inbounds [6 x i8], ptr %17, i64 0, i64 0 %108 = load i64, ptr %18, align 8 %109 = call i32 (ptr, ...) @memcpy(ptr noundef %106, ptr noundef %107, i64 noundef %108) %110 = load i64, ptr %18, align 8 %111 = load ptr, ptr %8, align 8 %112 = getelementptr inbounds i8, ptr %111, i64 %110 store ptr %112, ptr %8, align 8 br label %113 113: ; preds = %105, %102 br label %114 114: ; preds = %113 %115 = load i32, ptr %16, align 4 %116 = add i32 %115, 1 store i32 %116, ptr %16, align 4 %117 = load i32, ptr %16, align 4 %118 = load i32, ptr %15, align 4 %119 = icmp ult i32 %117, %118 br i1 %119, label %82, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %114 br label %120 120: ; preds = %._crit_edge, %78 %121 = load ptr, ptr %13, align 8 %122 = icmp ne ptr %121, null br i1 %122, label %123, label %136 123: ; preds = %120 %124 = load ptr, ptr %8, align 8 store i8 46, ptr %124, align 1 %125 = load ptr, ptr %8, align 8 %126 = getelementptr inbounds i8, ptr %125, i32 1 store ptr %126, ptr %8, align 8 %127 = load i64, ptr %10, align 8 %128 = add i64 %127, 1 store i64 %128, ptr %10, align 8 %129 = load i64, ptr %10, align 8 %130 = load ptr, ptr %7, align 8 %131 = load i64, ptr %130, align 8 %132 = sub i64 %131, 1 %133 = icmp uge i64 %129, %132 br i1 %133, label %134, label %135 134: ; preds = %123 store i32 0, ptr %11, align 4 br label %135 135: ; preds = %134, %123 br label %136 136: ; preds = %135, %120 br label %137 137: ; preds = %136, %68 %138 = load ptr, ptr %13, align 8 %139 = icmp eq ptr %138, null br i1 %139, label %140, label %141 140: ; preds = %137 br label %144 141: ; preds = %137 %142 = load ptr, ptr %13, align 8 %143 = getelementptr inbounds i8, ptr %142, i64 1 store ptr %143, ptr %9, align 8 br label %25 144: ; preds = %140 %145 = load i32, ptr %11, align 4 store i32 %145, ptr %4, align 4 br label %146 146: ; preds = %144, %91, %77 %147 = load i32, ptr %4, align 4 ret i32 %147 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ...) #1 declare i64 @ossl_punycode_decode(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i64 @codepoint2utf8(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/tmp_4k0g78v.c' source_filename = "/tmp/tmp_4k0g78v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @heap_sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = sub nsw i32 %8, 1 %10 = sdiv i32 %9, 2 store i32 %10, ptr %5, align 4 br label %11 11: ; preds = %20, %2 %12 = load i32, ptr %5, align 4 %13 = icmp sge i32 %12, 0 br i1 %13, label %14, label %23 14: ; preds = %11 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = sub nsw i32 %17, 1 %19 = call i32 @heap_adjust(ptr noundef %15, i32 noundef %16, i32 noundef %18) br label %20 20: ; preds = %14 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, -1 store i32 %22, ptr %5, align 4 br label %11, !llvm.loop !6 23: ; preds = %11 %24 = load i32, ptr %4, align 4 %25 = sub nsw i32 %24, 1 store i32 %25, ptr %6, align 4 br label %26 26: ; preds = %49, %23 %27 = load i32, ptr %6, align 4 %28 = icmp sgt i32 %27, 0 br i1 %28, label %29, label %52 29: ; preds = %26 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i32, ptr %30, i64 0 %32 = load i32, ptr %31, align 4 store i32 %32, ptr %7, align 4 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %6, 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 %3, align 8 %39 = getelementptr inbounds i32, ptr %38, i64 0 store i32 %37, ptr %39, align 4 %40 = load i32, ptr %7, align 4 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %6, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 store i32 %40, ptr %44, align 4 %45 = load ptr, ptr %3, align 8 %46 = load i32, ptr %6, align 4 %47 = sub nsw i32 %46, 1 %48 = call i32 @heap_adjust(ptr noundef %45, i32 noundef 0, i32 noundef %47) br label %49 49: ; preds = %29 %50 = load i32, ptr %6, align 4 %51 = add nsw i32 %50, -1 store i32 %51, ptr %6, align 4 br label %26, !llvm.loop !8 52: ; preds = %26 ret void } declare i32 @heap_adjust(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_4k0g78v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @heap_sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = sub nsw i32 %8, 1 %10 = sdiv i32 %9, 2 store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp sge i32 %11, 0 br i1 %12, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %19 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %4, align 4 %17 = sub nsw i32 %16, 1 %18 = call i32 @heap_adjust(ptr noundef %14, i32 noundef %15, i32 noundef %17) br label %19 19: ; preds = %13 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, -1 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp sge i32 %22, 0 br i1 %23, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %2 %25 = load i32, ptr %4, align 4 %26 = sub nsw i32 %25, 1 store i32 %26, ptr %6, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp sgt i32 %27, 0 br i1 %28, label %.lr.ph2, label %54 .lr.ph2: ; preds = %24 br label %29 29: ; preds = %.lr.ph2, %49 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i32, ptr %30, i64 0 %32 = load i32, ptr %31, align 4 store i32 %32, ptr %7, align 4 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %6, 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 %3, align 8 %39 = getelementptr inbounds i32, ptr %38, i64 0 store i32 %37, ptr %39, align 4 %40 = load i32, ptr %7, align 4 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %6, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 store i32 %40, ptr %44, align 4 %45 = load ptr, ptr %3, align 8 %46 = load i32, ptr %6, align 4 %47 = sub nsw i32 %46, 1 %48 = call i32 @heap_adjust(ptr noundef %45, i32 noundef 0, i32 noundef %47) br label %49 49: ; preds = %29 %50 = load i32, ptr %6, align 4 %51 = add nsw i32 %50, -1 store i32 %51, ptr %6, align 4 %52 = load i32, ptr %6, align 4 %53 = icmp sgt i32 %52, 0 br i1 %53, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %49 br label %54 54: ; preds = %._crit_edge3, %24 ret void } declare i32 @heap_adjust(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp2vho2c0o.c' source_filename = "/tmp/tmp2vho2c0o.c" target datalayout = "e-m:e-p270: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/tmp2vho2c0o.c" target datalayout = "e-m:e-p270: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/tmpkvvbtqv2.c' source_filename = "/tmp/tmpkvvbtqv2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stor_lookup_next_req_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkvvbtqv2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stor_lookup_next_req_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpya9ahxk2.c' source_filename = "/tmp/tmpya9ahxk2.c" target datalayout = "e-m:e-p270: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/tmpya9ahxk2.c" target datalayout = "e-m:e-p270: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/tmpjsiv0omg.c' source_filename = "/tmp/tmpjsiv0omg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Eoln() #0 { %1 = call i64 (...) @Available() %2 = icmp eq i64 %1, 0 br i1 %2, label %7, label %3 3: ; preds = %0 %4 = call i32 (...) @NextCh() %5 = call i64 @IsEolnChar(i32 noundef %4) %6 = icmp ne i64 %5, 0 br label %7 7: ; preds = %3, %0 %8 = phi i1 [ true, %0 ], [ %6, %3 ] %9 = zext i1 %8 to i32 ret i32 %9 } declare i64 @Available(...) #1 declare i64 @IsEolnChar(i32 noundef) #1 declare i32 @NextCh(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjsiv0omg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Eoln() #0 { %1 = call i64 (...) @Available() %2 = icmp eq i64 %1, 0 br i1 %2, label %7, label %3 3: ; preds = %0 %4 = call i32 (...) @NextCh() %5 = call i64 @IsEolnChar(i32 noundef %4) %6 = icmp ne i64 %5, 0 br label %7 7: ; preds = %3, %0 %8 = phi i1 [ true, %0 ], [ %6, %3 ] %9 = zext i1 %8 to i32 ret i32 %9 } declare i64 @Available(...) #1 declare i64 @IsEolnChar(i32 noundef) #1 declare i32 @NextCh(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpet13rinv.c' source_filename = "/tmp/tmpet13rinv.c" target datalayout = "e-m:e-p270: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.dirent = type { i32 } @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"..\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @numdiritems(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = call ptr @opendir(ptr noundef %6) store ptr %7, ptr %3, align 8 br label %8 8: ; preds = %25, %24, %1 %9 = load ptr, ptr %3, align 8 %10 = call ptr @readdir(ptr noundef %9) store ptr %10, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %28 12: ; preds = %8 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds %struct.dirent, ptr %13, i32 0, i32 0 %15 = load i32, ptr %14, align 4 %16 = call i64 @strcmp(ptr noundef @.str, i32 noundef %15) %17 = icmp eq i64 %16, 0 br i1 %17, label %24, label %18 18: ; preds = %12 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds %struct.dirent, ptr %19, i32 0, i32 0 %21 = load i32, ptr %20, align 4 %22 = call i64 @strcmp(ptr noundef @.str.1, i32 noundef %21) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %18, %12 br label %8, !llvm.loop !6 25: ; preds = %18 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %4, align 4 br label %8, !llvm.loop !6 28: ; preds = %8 %29 = load ptr, ptr %3, align 8 %30 = call i32 @closedir(ptr noundef %29) %31 = load i32, ptr %4, align 4 ret i32 %31 } declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i64 @strcmp(ptr noundef, i32 noundef) #1 declare i32 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpet13rinv.c" target datalayout = "e-m:e-p270: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.dirent = type { i32 } @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"..\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @numdiritems(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = call ptr @opendir(ptr noundef %6) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call ptr @readdir(ptr noundef %8) store ptr %9, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %.lr.ph, label %30 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %.backedge %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds %struct.dirent, ptr %12, i32 0, i32 0 %14 = load i32, ptr %13, align 4 %15 = call i64 @strcmp(ptr noundef @.str, i32 noundef %14) %16 = icmp eq i64 %15, 0 br i1 %16, label %23, label %17 17: ; preds = %11 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds %struct.dirent, ptr %18, i32 0, i32 0 %20 = load i32, ptr %19, align 4 %21 = call i64 @strcmp(ptr noundef @.str.1, i32 noundef %20) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %27 23: ; preds = %17, %11 br label %.backedge .backedge: ; preds = %23, %27 %24 = load ptr, ptr %3, align 8 %25 = call ptr @readdir(ptr noundef %24) store ptr %25, ptr %5, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %11, label %._crit_edge, !llvm.loop !6 27: ; preds = %17 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 br label %.backedge ._crit_edge: ; preds = %.backedge br label %30 30: ; preds = %._crit_edge, %1 %31 = load ptr, ptr %3, align 8 %32 = call i32 @closedir(ptr noundef %31) %33 = load i32, ptr %4, align 4 ret i32 %33 } declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i64 @strcmp(ptr noundef, i32 noundef) #1 declare i32 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_1nn6e5v.c' source_filename = "/tmp/tmp_1nn6e5v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 -16, ptr %2, align 4 store i32 1, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %7, %8 %10 = sext i32 %9 to i64 store i64 %10, ptr %4, align 8 %11 = load i64, ptr %4, align 8 %12 = lshr i64 %11, 1 store i64 %12, ptr %5, align 8 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %13, %14 %16 = sext i32 %15 to i64 %17 = lshr i64 %16, 1 store i64 %17, ptr %6, align 8 %18 = load i64, ptr %5, align 8 %19 = load i64, ptr %6, align 8 %20 = icmp ne i64 %18, %19 br i1 %20, label %21, label %23 21: ; preds = %0 %22 = call i32 (...) @abort() #2 unreachable 23: ; preds = %0 ret i32 0 } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_1nn6e5v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 -16, ptr %2, align 4 store i32 1, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %7, %8 %10 = sext i32 %9 to i64 store i64 %10, ptr %4, align 8 %11 = load i64, ptr %4, align 8 %12 = lshr i64 %11, 1 store i64 %12, ptr %5, align 8 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %13, %14 %16 = sext i32 %15 to i64 %17 = lshr i64 %16, 1 store i64 %17, ptr %6, align 8 %18 = load i64, ptr %5, align 8 %19 = load i64, ptr %6, align 8 %20 = icmp ne i64 %18, %19 br i1 %20, label %21, label %23 21: ; preds = %0 %22 = call i32 (...) @abort() #2 unreachable 23: ; preds = %0 ret i32 0 } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbjmcdk18.c' source_filename = "/tmp/tmpbjmcdk18.c" target datalayout = "e-m:e-p270: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/tmpbjmcdk18.c" target datalayout = "e-m:e-p270: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/tmp3vo0o1bx.c' source_filename = "/tmp/tmp3vo0o1bx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"menu/art_blueish/back_0\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"menu/art_blueish/back_1\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"menu/art_blueish/play_0\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"menu/art_blueish/play_1\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"menu/art_blueish/frame2_l\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"menu/art_blueish/frame1_r\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"menu/art_blueish/arrows_vert_0\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c"menu/art_blueish/arrows_vert_top\00", align 1 @.str.8 = private unnamed_addr constant [33 x i8] c"menu/art_blueish/arrows_vert_bot\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Demos_Cache() #0 { %1 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str) %2 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.1) %3 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.2) %4 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.3) %5 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.4) %6 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.5) %7 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.6) %8 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.7) %9 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.8) ret void } declare i32 @trap_R_RegisterShaderNoMip(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3vo0o1bx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"menu/art_blueish/back_0\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"menu/art_blueish/back_1\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"menu/art_blueish/play_0\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"menu/art_blueish/play_1\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"menu/art_blueish/frame2_l\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"menu/art_blueish/frame1_r\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"menu/art_blueish/arrows_vert_0\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c"menu/art_blueish/arrows_vert_top\00", align 1 @.str.8 = private unnamed_addr constant [33 x i8] c"menu/art_blueish/arrows_vert_bot\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Demos_Cache() #0 { %1 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str) %2 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.1) %3 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.2) %4 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.3) %5 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.4) %6 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.5) %7 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.6) %8 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.7) %9 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str.8) ret void } declare i32 @trap_R_RegisterShaderNoMip(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq1ndh809.c' source_filename = "/tmp/tmpq1ndh809.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_fbuffncpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 -1, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %17, label %11 11: ; preds = %3 %12 = load ptr, ptr %6, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %17, label %14 14: ; preds = %11 %15 = load i32, ptr %7, align 4 %16 = icmp sle i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %14, %11, %3 store i32 -1, ptr %4, align 4 br label %46 18: ; preds = %14 br label %19 19: ; preds = %34, %18 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %8, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %20, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %32 28: ; preds = %19 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %7, align 4 %31 = icmp slt i32 %29, %30 br label %32 32: ; preds = %28, %19 %33 = phi i1 [ false, %19 ], [ %31, %28 ] br i1 %33, label %34, label %44 34: ; preds = %32 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %8, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 %39, ptr %43, align 1 br label %19, !llvm.loop !6 44: ; preds = %32 %45 = load i32, ptr %8, align 4 store i32 %45, ptr %4, align 4 br label %46 46: ; preds = %44, %17 %47 = load i32, ptr %4, align 4 ret i32 %47 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpq1ndh809.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_fbuffncpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 -1, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %17, label %11 11: ; preds = %3 %12 = load ptr, ptr %6, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %17, label %14 14: ; preds = %11 %15 = load i32, ptr %7, align 4 %16 = icmp sle i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %14, %11, %3 store i32 -1, ptr %4, align 4 br label %46 18: ; preds = %14 br label %19 19: ; preds = %34, %18 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %8, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %20, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %32 28: ; preds = %19 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %7, align 4 %31 = icmp slt i32 %29, %30 br label %32 32: ; preds = %28, %19 %33 = phi i1 [ false, %19 ], [ %31, %28 ] br i1 %33, label %34, label %44 34: ; preds = %32 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %8, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 %39, ptr %43, align 1 br label %19, !llvm.loop !6 44: ; preds = %32 %45 = load i32, ptr %8, align 4 store i32 %45, ptr %4, align 4 br label %46 46: ; preds = %44, %17 %47 = load i32, ptr %4, align 4 ret i32 %47 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpchenmf21.c' source_filename = "/tmp/tmpchenmf21.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @buttonDown.b = internal global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @buttonDown(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = load volatile i32, ptr %4, align 4 %6 = and i32 %5, 2 %7 = icmp eq i32 %6, 2 br i1 %7, label %8, label %13 8: ; preds = %1 %9 = load i32, ptr @buttonDown.b, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %8 store i32 1, ptr @buttonDown.b, align 4 store i32 1, ptr %2, align 4 br label %14 12: ; preds = %8 store i32 0, ptr %2, align 4 br label %14 13: ; preds = %1 store i32 0, ptr @buttonDown.b, align 4 store i32 0, ptr %2, align 4 br label %14 14: ; preds = %13, %12, %11 %15 = load i32, ptr %2, align 4 ret i32 %15 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpchenmf21.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @buttonDown.b = internal global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @buttonDown(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = load volatile i32, ptr %4, align 4 %6 = and i32 %5, 2 %7 = icmp eq i32 %6, 2 br i1 %7, label %8, label %13 8: ; preds = %1 %9 = load i32, ptr @buttonDown.b, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %8 store i32 1, ptr @buttonDown.b, align 4 store i32 1, ptr %2, align 4 br label %14 12: ; preds = %8 store i32 0, ptr %2, align 4 br label %14 13: ; preds = %1 store i32 0, ptr @buttonDown.b, align 4 store i32 0, ptr %2, align 4 br label %14 14: ; preds = %13, %12, %11 %15 = load i32, ptr %2, align 4 ret i32 %15 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjsszeoth.c' source_filename = "/tmp/tmpjsszeoth.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGALRM = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjsszeoth.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGALRM = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqzqfv6gx.c' source_filename = "/tmp/tmpqzqfv6gx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"DEVICE\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"d:z:\00", align 1 @optarg = dso_local global ptr null, align 8 @optind = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [13 x i8] c"status = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"sense:\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c" %.2x\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"inquiry data:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [6 x i8], align 1 %9 = alloca i32, align 4 %10 = alloca [18 x i8], align 16 %11 = alloca i32, align 4 %12 = alloca [255 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 0 %22 = load ptr, ptr %21, align 8 store ptr %22, ptr %6, align 8 %23 = call ptr @getenv(ptr noundef @.str) store ptr %23, ptr %7, align 8 store i32 6, ptr %9, align 4 store i32 18, ptr %11, align 4 store i32 0, ptr %13, align 4 store i32 255, ptr %15, align 4 store i32 -1, ptr %16, align 4 br label %24 24: ; preds = %41, %2 %25 = load i32, ptr %4, align 4 %26 = load ptr, ptr %5, align 8 %27 = call i32 @getopt(i32 noundef %25, ptr noundef %26, ptr noundef @.str.1) store i32 %27, ptr %17, align 4 %28 = icmp ne i32 %27, -1 br i1 %28, label %29, label %42 29: ; preds = %24 %30 = load i32, ptr %17, align 4 switch i32 %30, label %37 [ i32 100, label %31 i32 122, label %33 i32 63, label %36 ] 31: ; preds = %29 %32 = load ptr, ptr @optarg, align 8 store ptr %32, ptr %7, align 8 br label %41 33: ; preds = %29 %34 = load ptr, ptr @optarg, align 8 %35 = call i32 @strtol(ptr noundef %34, ptr noundef null, i32 noundef 0) store i32 %35, ptr %15, align 4 br label %41 36: ; preds = %29 br label %37 37: ; preds = %29, %36 %38 = load ptr, ptr %6, align 8 %39 = call i32 @usage(ptr noundef %38) %40 = call i32 @exit(i32 noundef -1) #3 unreachable 41: ; preds = %33, %31 br label %24, !llvm.loop !6 42: ; preds = %24 %43 = load i64, ptr @optind, align 8 %44 = load i32, ptr %4, align 4 %45 = sext i32 %44 to i64 %46 = sub nsw i64 %45, %43 %47 = trunc i64 %46 to i32 store i32 %47, ptr %4, align 4 %48 = load i64, ptr @optind, align 8 %49 = load ptr, ptr %5, align 8 %50 = getelementptr inbounds ptr, ptr %49, i64 %48 store ptr %50, ptr %5, align 8 %51 = load i32, ptr %4, align 4 %52 = icmp sgt i32 %51, 0 br i1 %52, label %53, label %62 53: ; preds = %42 %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds ptr, ptr %54, i64 0 %56 = load ptr, ptr %55, align 8 %57 = call i32 @strtol(ptr noundef %56, ptr noundef null, i32 noundef 0) store i32 %57, ptr %16, align 4 %58 = load i32, ptr %4, align 4 %59 = add nsw i32 %58, -1 store i32 %59, ptr %4, align 4 %60 = load ptr, ptr %5, align 8 %61 = getelementptr inbounds ptr, ptr %60, i32 1 store ptr %61, ptr %5, align 8 br label %62 62: ; preds = %53, %42 %63 = load i32, ptr %4, align 4 %64 = icmp sgt i32 %63, 0 br i1 %64, label %65, label %69 65: ; preds = %62 %66 = load ptr, ptr %6, align 8 %67 = call i32 @usage(ptr noundef %66) %68 = call i32 @exit(i32 noundef -1) #3 unreachable 69: ; preds = %62 %70 = getelementptr inbounds [6 x i8], ptr %8, i64 0, i64 0 store i8 18, ptr %70, align 1 %71 = load i32, ptr %16, align 4 %72 = icmp eq i32 %71, -1 %73 = zext i1 %72 to i64 %74 = select i1 %72, i32 0, i32 1 %75 = trunc i32 %74 to i8 %76 = getelementptr inbounds [6 x i8], ptr %8, i64 0, i64 1 store i8 %75, ptr %76, align 1 %77 = load i32, ptr %16, align 4 %78 = icmp eq i32 %77, -1 br i1 %78, label %79, label %80 79: ; preds = %69 br label %82 80: ; preds = %69 %81 = load i32, ptr %16, align 4 br label %82 82: ; preds = %80, %79 %83 = phi i32 [ 0, %79 ], [ %81, %80 ] %84 = trunc i32 %83 to i8 %85 = getelementptr inbounds [6 x i8], ptr %8, i64 0, i64 2 store i8 %84, ptr %85, align 1 %86 = getelementptr inbounds [6 x i8], ptr %8, i64 0, i64 3 store i8 0, ptr %86, align 1 %87 = load i32, ptr %15, align 4 %88 = trunc i32 %87 to i8 %89 = getelementptr inbounds [6 x i8], ptr %8, i64 0, i64 4 store i8 %88, ptr %89, align 1 %90 = getelementptr inbounds [6 x i8], ptr %8, i64 0, i64 5 store i8 0, ptr %90, align 1 %91 = load i32, ptr %15, align 4 store i32 %91, ptr %13, align 4 %92 = load ptr, ptr %7, align 8 %93 = getelementptr inbounds [6 x i8], ptr %8, i64 0, i64 0 %94 = load i32, ptr %9, align 4 %95 = getelementptr inbounds [255 x i8], ptr %12, i64 0, i64 0 %96 = getelementptr inbounds [18 x i8], ptr %10, i64 0, i64 0 %97 = call i32 @send_cdb(ptr noundef %92, i8 noundef signext 114, ptr noundef %93, i32 noundef %94, ptr noundef %95, ptr noundef %13, ptr noundef %96, ptr noundef %11, i32 noundef 5) store i32 %97, ptr %14, align 4 %98 = load i32, ptr %14, align 4 %99 = icmp ne i32 %98, 0 br i1 %99, label %100, label %103 100: ; preds = %82 %101 = load i32, ptr %14, align 4 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %101) br label %103 103: ; preds = %100, %82 %104 = load i32, ptr %14, align 4 %105 = icmp sgt i32 %104, 0 br i1 %105, label %106, label %127 106: ; preds = %103 %107 = load i32, ptr %11, align 4 %108 = icmp sgt i32 %107, 0 br i1 %108, label %109, label %127 109: ; preds = %106 %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %18, align 4 br label %111 111: ; preds = %122, %109 %112 = load i32, ptr %18, align 4 %113 = load i32, ptr %11, align 4 %114 = icmp slt i32 %112, %113 br i1 %114, label %115, label %125 115: ; preds = %111 %116 = load i32, ptr %18, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [18 x i8], ptr %10, i64 0, i64 %117 %119 = load i8, ptr %118, align 1 %120 = zext i8 %119 to i32 %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %120) br label %122 122: ; preds = %115 %123 = load i32, ptr %18, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %18, align 4 br label %111, !llvm.loop !8 125: ; preds = %111 %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %127 127: ; preds = %125, %106, %103 %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %19, align 4 br label %129 129: ; preds = %140, %127 %130 = load i32, ptr %19, align 4 %131 = load i32, ptr %13, align 4 %132 = icmp slt i32 %130, %131 br i1 %132, label %133, label %143 133: ; preds = %129 %134 = load i32, ptr %19, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds [255 x i8], ptr %12, i64 0, i64 %135 %137 = load i8, ptr %136, align 1 %138 = zext i8 %137 to i32 %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %138) br label %140 140: ; preds = %133 %141 = load i32, ptr %19, align 4 %142 = add nsw i32 %141, 1 store i32 %142, ptr %19, align 4 br label %129, !llvm.loop !9 143: ; preds = %129 %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %145 = load i32, ptr %3, align 4 ret i32 %145 } declare ptr @getenv(ptr noundef) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @usage(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @send_cdb(ptr noundef, i8 noundef signext, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqzqfv6gx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"DEVICE\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"d:z:\00", align 1 @optarg = dso_local global ptr null, align 8 @optind = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [13 x i8] c"status = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"sense:\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c" %.2x\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"inquiry data:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [6 x i8], align 1 %9 = alloca i32, align 4 %10 = alloca [18 x i8], align 16 %11 = alloca i32, align 4 %12 = alloca [255 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 0 %22 = load ptr, ptr %21, align 8 store ptr %22, ptr %6, align 8 %23 = call ptr @getenv(ptr noundef @.str) store ptr %23, ptr %7, align 8 store i32 6, ptr %9, align 4 store i32 18, ptr %11, align 4 store i32 0, ptr %13, align 4 store i32 255, ptr %15, align 4 store i32 -1, ptr %16, align 4 %24 = load i32, ptr %4, align 4 %25 = load ptr, ptr %5, align 8 %26 = call i32 @getopt(i32 noundef %24, ptr noundef %25, ptr noundef @.str.1) store i32 %26, ptr %17, align 4 %27 = icmp ne i32 %26, -1 br i1 %27, label %.lr.ph, label %45 .lr.ph: ; preds = %2 br label %28 28: ; preds = %.lr.ph, %40 %29 = load i32, ptr %17, align 4 switch i32 %29, label %.loopexit [ i32 100, label %30 i32 122, label %32 i32 63, label %35 ] 30: ; preds = %28 %31 = load ptr, ptr @optarg, align 8 store ptr %31, ptr %7, align 8 br label %40 32: ; preds = %28 %33 = load ptr, ptr @optarg, align 8 %34 = call i32 @strtol(ptr noundef %33, ptr noundef null, i32 noundef 0) store i32 %34, ptr %15, align 4 br label %40 35: ; preds = %28 br label %36 .loopexit: ; preds = %28 br label %36 36: ; preds = %.loopexit, %35 %37 = load ptr, ptr %6, align 8 %38 = call i32 @usage(ptr noundef %37) %39 = call i32 @exit(i32 noundef -1) #3 unreachable 40: ; preds = %32, %30 %41 = load i32, ptr %4, align 4 %42 = load ptr, ptr %5, align 8 %43 = call i32 @getopt(i32 noundef %41, ptr noundef %42, ptr noundef @.str.1) store i32 %43, ptr %17, align 4 %44 = icmp ne i32 %43, -1 br i1 %44, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %45 45: ; preds = %._crit_edge, %2 %46 = load i64, ptr @optind, align 8 %47 = load i32, ptr %4, align 4 %48 = sext i32 %47 to i64 %49 = sub nsw i64 %48, %46 %50 = trunc i64 %49 to i32 store i32 %50, ptr %4, align 4 %51 = load i64, ptr @optind, align 8 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds ptr, ptr %52, i64 %51 store ptr %53, ptr %5, align 8 %54 = load i32, ptr %4, align 4 %55 = icmp sgt i32 %54, 0 br i1 %55, label %56, label %65 56: ; preds = %45 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds ptr, ptr %57, i64 0 %59 = load ptr, ptr %58, align 8 %60 = call i32 @strtol(ptr noundef %59, ptr noundef null, i32 noundef 0) store i32 %60, ptr %16, align 4 %61 = load i32, ptr %4, align 4 %62 = add nsw i32 %61, -1 store i32 %62, ptr %4, align 4 %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds ptr, ptr %63, i32 1 store ptr %64, ptr %5, align 8 br label %65 65: ; preds = %56, %45 %66 = load i32, ptr %4, align 4 %67 = icmp sgt i32 %66, 0 br i1 %67, label %68, label %72 68: ; preds = %65 %69 = load ptr, ptr %6, align 8 %70 = call i32 @usage(ptr noundef %69) %71 = call i32 @exit(i32 noundef -1) #3 unreachable 72: ; preds = %65 %73 = getelementptr inbounds [6 x i8], ptr %8, i64 0, i64 0 store i8 18, ptr %73, align 1 %74 = load i32, ptr %16, align 4 %75 = icmp eq i32 %74, -1 %76 = zext i1 %75 to i64 %77 = select i1 %75, i32 0, i32 1 %78 = trunc i32 %77 to i8 %79 = getelementptr inbounds [6 x i8], ptr %8, i64 0, i64 1 store i8 %78, ptr %79, align 1 %80 = load i32, ptr %16, align 4 %81 = icmp eq i32 %80, -1 br i1 %81, label %82, label %83 82: ; preds = %72 br label %85 83: ; preds = %72 %84 = load i32, ptr %16, align 4 br label %85 85: ; preds = %83, %82 %86 = phi i32 [ 0, %82 ], [ %84, %83 ] %87 = trunc i32 %86 to i8 %88 = getelementptr inbounds [6 x i8], ptr %8, i64 0, i64 2 store i8 %87, ptr %88, align 1 %89 = getelementptr inbounds [6 x i8], ptr %8, i64 0, i64 3 store i8 0, ptr %89, align 1 %90 = load i32, ptr %15, align 4 %91 = trunc i32 %90 to i8 %92 = getelementptr inbounds [6 x i8], ptr %8, i64 0, i64 4 store i8 %91, ptr %92, align 1 %93 = getelementptr inbounds [6 x i8], ptr %8, i64 0, i64 5 store i8 0, ptr %93, align 1 %94 = load i32, ptr %15, align 4 store i32 %94, ptr %13, align 4 %95 = load ptr, ptr %7, align 8 %96 = getelementptr inbounds [6 x i8], ptr %8, i64 0, i64 0 %97 = load i32, ptr %9, align 4 %98 = getelementptr inbounds [255 x i8], ptr %12, i64 0, i64 0 %99 = getelementptr inbounds [18 x i8], ptr %10, i64 0, i64 0 %100 = call i32 @send_cdb(ptr noundef %95, i8 noundef signext 114, ptr noundef %96, i32 noundef %97, ptr noundef %98, ptr noundef %13, ptr noundef %99, ptr noundef %11, i32 noundef 5) store i32 %100, ptr %14, align 4 %101 = load i32, ptr %14, align 4 %102 = icmp ne i32 %101, 0 br i1 %102, label %103, label %106 103: ; preds = %85 %104 = load i32, ptr %14, align 4 %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %104) br label %106 106: ; preds = %103, %85 %107 = load i32, ptr %14, align 4 %108 = icmp sgt i32 %107, 0 br i1 %108, label %109, label %132 109: ; preds = %106 %110 = load i32, ptr %11, align 4 %111 = icmp sgt i32 %110, 0 br i1 %111, label %112, label %132 112: ; preds = %109 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %18, align 4 %114 = load i32, ptr %18, align 4 %115 = load i32, ptr %11, align 4 %116 = icmp slt i32 %114, %115 br i1 %116, label %.lr.ph2, label %130 .lr.ph2: ; preds = %112 br label %117 117: ; preds = %.lr.ph2, %124 %118 = load i32, ptr %18, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds [18 x i8], ptr %10, i64 0, i64 %119 %121 = load i8, ptr %120, align 1 %122 = zext i8 %121 to i32 %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %122) br label %124 124: ; preds = %117 %125 = load i32, ptr %18, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %18, align 4 %127 = load i32, ptr %18, align 4 %128 = load i32, ptr %11, align 4 %129 = icmp slt i32 %127, %128 br i1 %129, label %117, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %124 br label %130 130: ; preds = %._crit_edge3, %112 %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %132 132: ; preds = %130, %109, %106 %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %19, align 4 %134 = load i32, ptr %19, align 4 %135 = load i32, ptr %13, align 4 %136 = icmp slt i32 %134, %135 br i1 %136, label %.lr.ph5, label %150 .lr.ph5: ; preds = %132 br label %137 137: ; preds = %.lr.ph5, %144 %138 = load i32, ptr %19, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds [255 x i8], ptr %12, i64 0, i64 %139 %141 = load i8, ptr %140, align 1 %142 = zext i8 %141 to i32 %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %142) br label %144 144: ; preds = %137 %145 = load i32, ptr %19, align 4 %146 = add nsw i32 %145, 1 store i32 %146, ptr %19, align 4 %147 = load i32, ptr %19, align 4 %148 = load i32, ptr %13, align 4 %149 = icmp slt i32 %147, %148 br i1 %149, label %137, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %144 br label %150 150: ; preds = %._crit_edge6, %132 %151 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %152 = load i32, ptr %3, align 4 ret i32 %152 } declare ptr @getenv(ptr noundef) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @usage(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @send_cdb(ptr noundef, i8 noundef signext, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp8js5wi2q.c' source_filename = "/tmp/tmp8js5wi2q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @roll_dice() #0 { %1 = call i32 (...) @rand() %2 = srem i32 %1, 3 ret i32 %2 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8js5wi2q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @roll_dice() #0 { %1 = call i32 (...) @rand() %2 = srem i32 %1, 3 ret i32 %2 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk42_n7hx.c' source_filename = "/tmp/tmpk42_n7hx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hz_calc_crc5_15(ptr noundef %0, i32 noundef %1, i8 noundef zeroext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i8 %2, ptr %6, align 1 store i32 0, ptr %7, align 4 %9 = load i8, ptr %6, align 1 store i8 %9, ptr %8, align 1 store i32 0, ptr %7, align 4 br label %10 10: ; preds = %22, %3 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp ult i32 %11, %12 br i1 %13, label %14, label %25 14: ; preds = %10 %15 = load i8, ptr %8, align 1 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %7, align 4 %18 = zext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = call zeroext i8 @_hz_update_crc5_15(i8 noundef zeroext %15, i8 noundef zeroext %20) store i8 %21, ptr %8, align 1 br label %22 22: ; preds = %14 %23 = load i32, ptr %7, align 4 %24 = add i32 %23, 1 store i32 %24, ptr %7, align 4 br label %10, !llvm.loop !6 25: ; preds = %10 %26 = load i8, ptr %8, align 1 ret i8 %26 } declare zeroext i8 @_hz_update_crc5_15(i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk42_n7hx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hz_calc_crc5_15(ptr noundef %0, i32 noundef %1, i8 noundef zeroext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i8 %2, ptr %6, align 1 store i32 0, ptr %7, align 4 %9 = load i8, ptr %6, align 1 store i8 %9, ptr %8, align 1 store i32 0, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp ult i32 %10, %11 br i1 %12, label %.lr.ph, label %27 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %21 %14 = load i8, ptr %8, align 1 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %7, align 4 %17 = zext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = call zeroext i8 @_hz_update_crc5_15(i8 noundef zeroext %14, i8 noundef zeroext %19) store i8 %20, ptr %8, align 1 br label %21 21: ; preds = %13 %22 = load i32, ptr %7, align 4 %23 = add i32 %22, 1 store i32 %23, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp ult i32 %24, %25 br i1 %26, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %3 %28 = load i8, ptr %8, align 1 ret i8 %28 } declare zeroext i8 @_hz_update_crc5_15(i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmps4zz9p03.c' source_filename = "/tmp/tmps4zz9p03.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @amaret_local_Mcu_cycle__E() #0 { %1 = call i32 @usleep(i32 noundef 1) ret void } declare i32 @usleep(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/tmps4zz9p03.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @amaret_local_Mcu_cycle__E() #0 { %1 = call i32 @usleep(i32 noundef 1) ret void } declare i32 @usleep(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/tmp2mw5t5jz.c' source_filename = "/tmp/tmp2mw5t5jz.c" target datalayout = "e-m:e-p270: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/tmp2mw5t5jz.c" target datalayout = "e-m:e-p270: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/tmpuyhikgk1.c' source_filename = "/tmp/tmpuyhikgk1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @coefficient_of_variance(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call double @stdev(ptr noundef %5, i32 noundef %6) %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = call double @mean(ptr noundef %8, i32 noundef %9) %11 = fdiv double %7, %10 ret double %11 } declare double @stdev(ptr noundef, i32 noundef) #1 declare double @mean(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/tmpuyhikgk1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @coefficient_of_variance(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call double @stdev(ptr noundef %5, i32 noundef %6) %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = call double @mean(ptr noundef %8, i32 noundef %9) %11 = fdiv double %7, %10 ret double %11 } declare double @stdev(ptr noundef, i32 noundef) #1 declare double @mean(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/tmp7j40cemr.c' source_filename = "/tmp/tmp7j40cemr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ESRCH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_join(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 = call i32 @assert(i32 noundef %6) %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i64 @thd_join(i32 noundef %8, ptr noundef %9) %11 = icmp slt i64 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = load i32, ptr @ESRCH, align 4 store i32 %13, ptr %3, align 4 br label %15 14: ; preds = %2 store i32 0, ptr %3, align 4 br label %15 15: ; preds = %14, %12 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @assert(i32 noundef) #1 declare i64 @thd_join(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/tmp7j40cemr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ESRCH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_join(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 = call i32 @assert(i32 noundef %6) %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i64 @thd_join(i32 noundef %8, ptr noundef %9) %11 = icmp slt i64 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = load i32, ptr @ESRCH, align 4 store i32 %13, ptr %3, align 4 br label %15 14: ; preds = %2 store i32 0, ptr %3, align 4 br label %15 15: ; preds = %14, %12 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @assert(i32 noundef) #1 declare i64 @thd_join(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/tmp1dk2t05n.c' source_filename = "/tmp/tmp1dk2t05n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @say_usage() ret i32 0 } declare i32 @say_usage(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1dk2t05n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @say_usage() ret i32 0 } declare i32 @say_usage(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgfqmh7m5.c' source_filename = "/tmp/tmpgfqmh7m5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_found(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @mpz_init_set_str(i32 noundef %5, ptr noundef %6, i32 noundef 10) %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 0 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 48 br i1 %12, label %13, label %22 13: ; preds = %1 %14 = load i32, ptr %4, align 4 %15 = call i64 @mpz_divisible_ui_p(i32 noundef %14, i32 noundef 2011) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %22 17: ; preds = %13 %18 = load ptr, ptr %3, align 8 %19 = call i64 @is_flippable(ptr noundef %18) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %17 store i32 1, ptr %2, align 4 br label %23 22: ; preds = %17, %13, %1 store i32 0, ptr %2, align 4 br label %23 23: ; preds = %22, %21 %24 = load i32, ptr %2, align 4 ret i32 %24 } declare i32 @mpz_init_set_str(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @mpz_divisible_ui_p(i32 noundef, i32 noundef) #1 declare i64 @is_flippable(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgfqmh7m5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_found(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @mpz_init_set_str(i32 noundef %5, ptr noundef %6, i32 noundef 10) %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 0 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 48 br i1 %12, label %13, label %22 13: ; preds = %1 %14 = load i32, ptr %4, align 4 %15 = call i64 @mpz_divisible_ui_p(i32 noundef %14, i32 noundef 2011) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %22 17: ; preds = %13 %18 = load ptr, ptr %3, align 8 %19 = call i64 @is_flippable(ptr noundef %18) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %17 store i32 1, ptr %2, align 4 br label %23 22: ; preds = %17, %13, %1 store i32 0, ptr %2, align 4 br label %23 23: ; preds = %22, %21 %24 = load i32, ptr %2, align 4 ret i32 %24 } declare i32 @mpz_init_set_str(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @mpz_divisible_ui_p(i32 noundef, i32 noundef) #1 declare i64 @is_flippable(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4njwtq0r.c' source_filename = "/tmp/tmp4njwtq0r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xBN_generate_prime_ex(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %9, align 4 %12 = load i32, ptr %4, align 4 %13 = call i32 @BN_prime_checks_for_size(i32 noundef %12) store i32 %13, ptr %11, align 4 %14 = call ptr (...) @BN_CTX_new() store ptr %14, ptr %10, align 8 %15 = load ptr, ptr %10, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %18 17: ; preds = %2 br label %46 18: ; preds = %2 %19 = load ptr, ptr %10, align 8 %20 = call i32 @BN_CTX_start(ptr noundef %19) %21 = load ptr, ptr %10, align 8 %22 = call ptr @BN_CTX_get(ptr noundef %21) store ptr %22, ptr %5, align 8 %23 = load ptr, ptr %5, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %26, label %25 25: ; preds = %18 br label %46 26: ; preds = %18 br label %27 27: ; preds = %44, %26 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %4, align 4 %30 = call i32 @probable_prime(ptr noundef %28, i32 noundef %29) %31 = icmp ne i32 %30, 0 br i1 %31, label %33, label %32 32: ; preds = %27 br label %46 33: ; preds = %27 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %11, align 4 %36 = load ptr, ptr %10, align 8 %37 = call i32 @xBN_is_prime_fasttest_ex(ptr noundef %34, i32 noundef %35, ptr noundef %36, i32 noundef 0) store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %41 40: ; preds = %33 br label %46 41: ; preds = %33 %42 = load i32, ptr %7, align 4 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %45 44: ; preds = %41 br label %27 45: ; preds = %41 store i32 1, ptr %6, align 4 br label %46 46: ; preds = %45, %40, %32, %25, %17 %47 = load ptr, ptr %10, align 8 %48 = icmp ne ptr %47, null br i1 %48, label %49, label %54 49: ; preds = %46 %50 = load ptr, ptr %10, align 8 %51 = call i32 @BN_CTX_end(ptr noundef %50) %52 = load ptr, ptr %10, align 8 %53 = call i32 @BN_CTX_free(ptr noundef %52) br label %54 54: ; preds = %49, %46 %55 = load i32, ptr %6, align 4 ret i32 %55 } declare i32 @BN_prime_checks_for_size(i32 noundef) #1 declare ptr @BN_CTX_new(...) #1 declare i32 @BN_CTX_start(ptr noundef) #1 declare ptr @BN_CTX_get(ptr noundef) #1 declare i32 @probable_prime(ptr noundef, i32 noundef) #1 declare i32 @xBN_is_prime_fasttest_ex(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @BN_CTX_end(ptr noundef) #1 declare i32 @BN_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/tmp4njwtq0r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xBN_generate_prime_ex(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %9, align 4 %12 = load i32, ptr %4, align 4 %13 = call i32 @BN_prime_checks_for_size(i32 noundef %12) store i32 %13, ptr %11, align 4 %14 = call ptr (...) @BN_CTX_new() store ptr %14, ptr %10, align 8 %15 = load ptr, ptr %10, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %18 17: ; preds = %2 br label %49 18: ; preds = %2 %19 = load ptr, ptr %10, align 8 %20 = call i32 @BN_CTX_start(ptr noundef %19) %21 = load ptr, ptr %10, align 8 %22 = call ptr @BN_CTX_get(ptr noundef %21) store ptr %22, ptr %5, align 8 %23 = load ptr, ptr %5, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %26, label %25 25: ; preds = %18 br label %49 26: ; preds = %18 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %4, align 4 %29 = call i32 @probable_prime(ptr noundef %27, i32 noundef %28) %30 = icmp ne i32 %29, 0 br i1 %30, label %.lr.ph, label %36 .lr.ph: ; preds = %26 br label %37 31: ; preds = %45 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %4, align 4 %34 = call i32 @probable_prime(ptr noundef %32, i32 noundef %33) %35 = icmp ne i32 %34, 0 br i1 %35, label %37, label %._crit_edge ._crit_edge: ; preds = %31 br label %36 36: ; preds = %._crit_edge, %26 br label %49 37: ; preds = %.lr.ph, %31 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %11, align 4 %40 = load ptr, ptr %10, align 8 %41 = call i32 @xBN_is_prime_fasttest_ex(ptr noundef %38, i32 noundef %39, ptr noundef %40, i32 noundef 0) store i32 %41, ptr %7, align 4 %42 = load i32, ptr %7, align 4 %43 = icmp eq i32 %42, -1 br i1 %43, label %44, label %45 44: ; preds = %37 br label %49 45: ; preds = %37 %46 = load i32, ptr %7, align 4 %47 = icmp eq i32 %46, 0 br i1 %47, label %31, label %48 48: ; preds = %45 store i32 1, ptr %6, align 4 br label %49 49: ; preds = %48, %44, %36, %25, %17 %50 = load ptr, ptr %10, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %52, label %57 52: ; preds = %49 %53 = load ptr, ptr %10, align 8 %54 = call i32 @BN_CTX_end(ptr noundef %53) %55 = load ptr, ptr %10, align 8 %56 = call i32 @BN_CTX_free(ptr noundef %55) br label %57 57: ; preds = %52, %49 %58 = load i32, ptr %6, align 4 ret i32 %58 } declare i32 @BN_prime_checks_for_size(i32 noundef) #1 declare ptr @BN_CTX_new(...) #1 declare i32 @BN_CTX_start(ptr noundef) #1 declare ptr @BN_CTX_get(ptr noundef) #1 declare i32 @probable_prime(ptr noundef, i32 noundef) #1 declare i32 @xBN_is_prime_fasttest_ex(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @BN_CTX_end(ptr noundef) #1 declare i32 @BN_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/tmpiu78q7e1.c' source_filename = "/tmp/tmpiu78q7e1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"missing argument\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"option does not take an argument\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"unknown option\00", align 1 @.str.3 = private unnamed_addr constant [48 x i8] c"mutually exclusive logical operations requested\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"opt->arg should not be NULL\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"aliases nested too deeply\00", align 1 @.str.6 = private unnamed_addr constant [27 x i8] c"error in parameter quoting\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"invalid numeric value\00", align 1 @.str.8 = private unnamed_addr constant [30 x i8] c"number too large or too small\00", align 1 @.str.9 = private unnamed_addr constant [25 x i8] c"memory allocation failed\00", align 1 @.str.10 = private unnamed_addr constant [31 x i8] c"config file failed sanity test\00", align 1 @errno = dso_local global i32 0, align 4 @.str.11 = private unnamed_addr constant [14 x i8] c"unknown error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @poptStrerror(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %19 [ i32 -10, label %5 i32 -12, label %6 i32 -11, label %7 i32 -19, label %8 i32 -20, label %9 i32 -13, label %10 i32 -15, label %11 i32 -17, label %12 i32 -18, label %13 i32 -21, label %14 i32 -22, label %15 i32 -16, label %16 ] 5: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %20 6: ; preds = %1 store ptr @.str.1, ptr %2, align 8 br label %20 7: ; preds = %1 store ptr @.str.2, ptr %2, align 8 br label %20 8: ; preds = %1 store ptr @.str.3, ptr %2, align 8 br label %20 9: ; preds = %1 store ptr @.str.4, ptr %2, align 8 br label %20 10: ; preds = %1 store ptr @.str.5, ptr %2, align 8 br label %20 11: ; preds = %1 store ptr @.str.6, ptr %2, align 8 br label %20 12: ; preds = %1 store ptr @.str.7, ptr %2, align 8 br label %20 13: ; preds = %1 store ptr @.str.8, ptr %2, align 8 br label %20 14: ; preds = %1 store ptr @.str.9, ptr %2, align 8 br label %20 15: ; preds = %1 store ptr @.str.10, ptr %2, align 8 br label %20 16: ; preds = %1 %17 = load i32, ptr @errno, align 4 %18 = call ptr @strerror(i32 noundef %17) store ptr %18, ptr %2, align 8 br label %20 19: ; preds = %1 store ptr @.str.11, ptr %2, align 8 br label %20 20: ; preds = %19, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5 %21 = load ptr, ptr %2, align 8 ret ptr %21 } declare ptr @strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiu78q7e1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"missing argument\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"option does not take an argument\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"unknown option\00", align 1 @.str.3 = private unnamed_addr constant [48 x i8] c"mutually exclusive logical operations requested\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"opt->arg should not be NULL\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"aliases nested too deeply\00", align 1 @.str.6 = private unnamed_addr constant [27 x i8] c"error in parameter quoting\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"invalid numeric value\00", align 1 @.str.8 = private unnamed_addr constant [30 x i8] c"number too large or too small\00", align 1 @.str.9 = private unnamed_addr constant [25 x i8] c"memory allocation failed\00", align 1 @.str.10 = private unnamed_addr constant [31 x i8] c"config file failed sanity test\00", align 1 @errno = dso_local global i32 0, align 4 @.str.11 = private unnamed_addr constant [14 x i8] c"unknown error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @poptStrerror(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %19 [ i32 -10, label %5 i32 -12, label %6 i32 -11, label %7 i32 -19, label %8 i32 -20, label %9 i32 -13, label %10 i32 -15, label %11 i32 -17, label %12 i32 -18, label %13 i32 -21, label %14 i32 -22, label %15 i32 -16, label %16 ] 5: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %20 6: ; preds = %1 store ptr @.str.1, ptr %2, align 8 br label %20 7: ; preds = %1 store ptr @.str.2, ptr %2, align 8 br label %20 8: ; preds = %1 store ptr @.str.3, ptr %2, align 8 br label %20 9: ; preds = %1 store ptr @.str.4, ptr %2, align 8 br label %20 10: ; preds = %1 store ptr @.str.5, ptr %2, align 8 br label %20 11: ; preds = %1 store ptr @.str.6, ptr %2, align 8 br label %20 12: ; preds = %1 store ptr @.str.7, ptr %2, align 8 br label %20 13: ; preds = %1 store ptr @.str.8, ptr %2, align 8 br label %20 14: ; preds = %1 store ptr @.str.9, ptr %2, align 8 br label %20 15: ; preds = %1 store ptr @.str.10, ptr %2, align 8 br label %20 16: ; preds = %1 %17 = load i32, ptr @errno, align 4 %18 = call ptr @strerror(i32 noundef %17) store ptr %18, ptr %2, align 8 br label %20 19: ; preds = %1 store ptr @.str.11, ptr %2, align 8 br label %20 20: ; preds = %19, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5 %21 = load ptr, ptr %2, align 8 ret ptr %21 } declare ptr @strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprlfr90e2.c' source_filename = "/tmp/tmprlfr90e2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %3, align 8 store i64 1000000000, ptr %4, align 8 store i64 2, ptr %5, align 8 store i64 1, ptr %6, align 8 br label %7 7: ; preds = %17, %0 %8 = load i64, ptr %4, align 8 %9 = load i64, ptr %5, align 8 %10 = mul nsw i64 %9, 2 %11 = icmp sgt i64 %8, %10 br i1 %11, label %12, label %13 12: ; preds = %7 br label %17 13: ; preds = %7 br label %14 14: ; preds = %13 %15 = load i64, ptr %3, align 8 %16 = call i32 @printf(ptr noundef @.str, i64 noundef %15) ret i32 0 17: ; preds = %12 %18 = load i64, ptr %5, align 8 %19 = icmp sgt i64 %18, 2 %20 = zext i1 %19 to i64 %21 = select i1 %19, i32 1, i32 0 %22 = load i64, ptr %5, align 8 %23 = mul nsw i64 2, %22 %24 = srem i64 %23, 3 %25 = sub nsw i64 %24, 1 %26 = icmp ne i64 %25, 0 %27 = zext i1 %26 to i64 %28 = select i1 %26, i32 0, i32 1 %29 = mul nsw i32 %21, %28 %30 = sext i32 %29 to i64 %31 = load i64, ptr %5, align 8 %32 = sub nsw i64 %31, 2 %33 = load i64, ptr %6, align 8 %34 = mul nsw i64 %32, %33 %35 = srem i64 %34, 3 %36 = icmp ne i64 %35, 0 %37 = zext i1 %36 to i64 %38 = select i1 %36, i64 0, i64 1 %39 = mul nsw i64 %30, %38 %40 = load i64, ptr %5, align 8 %41 = mul nsw i64 %40, 2 %42 = sub nsw i64 %41, 2 %43 = mul nsw i64 %39, %42 %44 = load i64, ptr %3, align 8 %45 = add nsw i64 %43, %44 store i64 %45, ptr %3, align 8 %46 = load i64, ptr %5, align 8 %47 = mul nsw i64 %46, 2 %48 = srem i64 %47, 3 %49 = sub nsw i64 %48, 2 %50 = icmp ne i64 %49, 0 %51 = zext i1 %50 to i64 %52 = select i1 %50, i32 0, i32 1 %53 = sext i32 %52 to i64 %54 = load i64, ptr %5, align 8 %55 = add nsw i64 %54, 2 %56 = load i64, ptr %6, align 8 %57 = mul nsw i64 %55, %56 %58 = srem i64 %57, 3 %59 = icmp ne i64 %58, 0 %60 = zext i1 %59 to i64 %61 = select i1 %59, i64 0, i64 1 %62 = mul nsw i64 %53, %61 %63 = load i64, ptr %5, align 8 %64 = mul nsw i64 2, %63 %65 = add nsw i64 2, %64 %66 = mul nsw i64 %62, %65 %67 = load i64, ptr %3, align 8 %68 = add nsw i64 %66, %67 store i64 %68, ptr %3, align 8 %69 = load i64, ptr %5, align 8 %70 = load i64, ptr %6, align 8 %71 = mul nsw i64 %70, 2 %72 = add nsw i64 %69, %71 store i64 %72, ptr %2, align 8 %73 = load i64, ptr %5, align 8 %74 = mul nsw i64 %73, 2 %75 = load i64, ptr %6, align 8 %76 = mul nsw i64 %75, 3 %77 = add nsw i64 %74, %76 store i64 %77, ptr %5, align 8 %78 = load i64, ptr %2, align 8 store i64 %78, ptr %6, align 8 br label %7 } declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprlfr90e2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %3, align 8 store i64 1000000000, ptr %4, align 8 store i64 2, ptr %5, align 8 store i64 1, ptr %6, align 8 %7 = load i64, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = mul nsw i64 %8, 2 %10 = icmp sgt i64 %7, %9 br i1 %10, label %.lr.ph, label %12 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %16 br label %16 ._crit_edge: ; preds = %16 br label %12 12: ; preds = %._crit_edge, %0 br label %13 13: ; preds = %12 %14 = load i64, ptr %3, align 8 %15 = call i32 @printf(ptr noundef @.str, i64 noundef %14) ret i32 0 16: ; preds = %11 %17 = load i64, ptr %5, align 8 %18 = icmp sgt i64 %17, 2 %19 = zext i1 %18 to i64 %20 = select i1 %18, i32 1, i32 0 %21 = load i64, ptr %5, align 8 %22 = mul nsw i64 2, %21 %23 = srem i64 %22, 3 %24 = sub nsw i64 %23, 1 %25 = icmp ne i64 %24, 0 %26 = zext i1 %25 to i64 %27 = select i1 %25, i32 0, i32 1 %28 = mul nsw i32 %20, %27 %29 = sext i32 %28 to i64 %30 = load i64, ptr %5, align 8 %31 = sub nsw i64 %30, 2 %32 = load i64, ptr %6, align 8 %33 = mul nsw i64 %31, %32 %34 = srem i64 %33, 3 %35 = icmp ne i64 %34, 0 %36 = zext i1 %35 to i64 %37 = select i1 %35, i64 0, i64 1 %38 = mul nsw i64 %29, %37 %39 = load i64, ptr %5, align 8 %40 = mul nsw i64 %39, 2 %41 = sub nsw i64 %40, 2 %42 = mul nsw i64 %38, %41 %43 = load i64, ptr %3, align 8 %44 = add nsw i64 %42, %43 store i64 %44, ptr %3, align 8 %45 = load i64, ptr %5, align 8 %46 = mul nsw i64 %45, 2 %47 = srem i64 %46, 3 %48 = sub nsw i64 %47, 2 %49 = icmp ne i64 %48, 0 %50 = zext i1 %49 to i64 %51 = select i1 %49, i32 0, i32 1 %52 = sext i32 %51 to i64 %53 = load i64, ptr %5, align 8 %54 = add nsw i64 %53, 2 %55 = load i64, ptr %6, align 8 %56 = mul nsw i64 %54, %55 %57 = srem i64 %56, 3 %58 = icmp ne i64 %57, 0 %59 = zext i1 %58 to i64 %60 = select i1 %58, i64 0, i64 1 %61 = mul nsw i64 %52, %60 %62 = load i64, ptr %5, align 8 %63 = mul nsw i64 2, %62 %64 = add nsw i64 2, %63 %65 = mul nsw i64 %61, %64 %66 = load i64, ptr %3, align 8 %67 = add nsw i64 %65, %66 store i64 %67, ptr %3, align 8 %68 = load i64, ptr %5, align 8 %69 = load i64, ptr %6, align 8 %70 = mul nsw i64 %69, 2 %71 = add nsw i64 %68, %70 store i64 %71, ptr %2, align 8 %72 = load i64, ptr %5, align 8 %73 = mul nsw i64 %72, 2 %74 = load i64, ptr %6, align 8 %75 = mul nsw i64 %74, 3 %76 = add nsw i64 %73, %75 store i64 %76, ptr %5, align 8 %77 = load i64, ptr %2, align 8 store i64 %77, ptr %6, align 8 %78 = load i64, ptr %4, align 8 %79 = load i64, ptr %5, align 8 %80 = mul nsw i64 %79, 2 %81 = icmp sgt i64 %78, %80 br i1 %81, label %11, label %._crit_edge } declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxbkdiww4.c' source_filename = "/tmp/tmpxbkdiww4.c" target datalayout = "e-m:e-p270: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/tmpxbkdiww4.c" target datalayout = "e-m:e-p270: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/tmpgd6v91jq.c' source_filename = "/tmp/tmpgd6v91jq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ligarLampada(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %10, align 4 %12 = zext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %9, i64 %12 store i8 1, ptr %13, align 1 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %15, align 4 %17 = zext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %14, i64 %17 %19 = load i8, ptr %18, align 1 %20 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %19) ret void } declare i32 @printf(ptr noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgd6v91jq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ligarLampada(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %10, align 4 %12 = zext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %9, i64 %12 store i8 1, ptr %13, align 1 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %15, align 4 %17 = zext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %14, i64 %17 %19 = load i8, ptr %18, align 1 %20 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %19) ret void } declare i32 @printf(ptr noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyd__c6s0.c' source_filename = "/tmp/tmpyd__c6s0.c" target datalayout = "e-m:e-p270: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_6__ = type { i32 } @TRUE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"xdr_reference: out of memory\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @FALSE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xdr_reference(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %12, align 8 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 %41 16: ; preds = %4 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds %struct.TYPE_6__, ptr %17, i32 0, i32 0 %19 = load i32, ptr %18, align 4 switch i32 %19, label %39 [ i32 128, label %20 i32 129, label %22 ] 20: ; preds = %16 %21 = load i32, ptr @TRUE, align 4 store i32 %21, ptr %5, align 4 br label %57 22: ; preds = %16 %23 = load i64, ptr %8, align 8 %24 = call i32 @mem_alloc(i64 noundef %23) %25 = sext i32 %24 to i64 %26 = inttoptr i64 %25 to ptr store ptr %26, ptr %10, align 8 %27 = load ptr, ptr %7, align 8 store ptr %26, ptr %27, align 8 %28 = load ptr, ptr %10, align 8 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %34 30: ; preds = %22 %31 = load i32, ptr @stderr, align 4 %32 = call i32 @fputs(ptr noundef @.str, i32 noundef %31) %33 = load i32, ptr @FALSE, align 4 store i32 %33, ptr %5, align 4 br label %57 34: ; preds = %22 %35 = load ptr, ptr %10, align 8 %36 = load i64, ptr %8, align 8 %37 = trunc i64 %36 to i32 %38 = call i32 @memset(ptr noundef %35, i32 noundef 0, i32 noundef %37) br label %40 39: ; preds = %16 br label %40 40: ; preds = %39, %34 br label %41 41: ; preds = %40, %4 %42 = load ptr, ptr %9, align 8 %43 = load ptr, ptr %6, align 8 %44 = load ptr, ptr %10, align 8 %45 = call i32 %42(ptr noundef %43, ptr noundef %44, i64 noundef -1) store i32 %45, ptr %11, align 4 %46 = load ptr, ptr %6, align 8 %47 = getelementptr inbounds %struct.TYPE_6__, ptr %46, i32 0, i32 0 %48 = load i32, ptr %47, align 4 %49 = icmp eq i32 %48, 128 br i1 %49, label %50, label %55 50: ; preds = %41 %51 = load ptr, ptr %10, align 8 %52 = load i64, ptr %8, align 8 %53 = call i32 @mem_free(ptr noundef %51, i64 noundef %52) %54 = load ptr, ptr %7, align 8 store ptr null, ptr %54, align 8 br label %55 55: ; preds = %50, %41 %56 = load i32, ptr %11, align 4 store i32 %56, ptr %5, align 4 br label %57 57: ; preds = %55, %30, %20 %58 = load i32, ptr %5, align 4 ret i32 %58 } declare i32 @mem_alloc(i64 noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @mem_free(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/tmpyd__c6s0.c" target datalayout = "e-m:e-p270: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_6__ = type { i32 } @TRUE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"xdr_reference: out of memory\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @FALSE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xdr_reference(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %12, align 8 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 %41 16: ; preds = %4 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds %struct.TYPE_6__, ptr %17, i32 0, i32 0 %19 = load i32, ptr %18, align 4 switch i32 %19, label %39 [ i32 128, label %20 i32 129, label %22 ] 20: ; preds = %16 %21 = load i32, ptr @TRUE, align 4 store i32 %21, ptr %5, align 4 br label %57 22: ; preds = %16 %23 = load i64, ptr %8, align 8 %24 = call i32 @mem_alloc(i64 noundef %23) %25 = sext i32 %24 to i64 %26 = inttoptr i64 %25 to ptr store ptr %26, ptr %10, align 8 %27 = load ptr, ptr %7, align 8 store ptr %26, ptr %27, align 8 %28 = load ptr, ptr %10, align 8 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %34 30: ; preds = %22 %31 = load i32, ptr @stderr, align 4 %32 = call i32 @fputs(ptr noundef @.str, i32 noundef %31) %33 = load i32, ptr @FALSE, align 4 store i32 %33, ptr %5, align 4 br label %57 34: ; preds = %22 %35 = load ptr, ptr %10, align 8 %36 = load i64, ptr %8, align 8 %37 = trunc i64 %36 to i32 %38 = call i32 @memset(ptr noundef %35, i32 noundef 0, i32 noundef %37) br label %40 39: ; preds = %16 br label %40 40: ; preds = %39, %34 br label %41 41: ; preds = %40, %4 %42 = load ptr, ptr %9, align 8 %43 = load ptr, ptr %6, align 8 %44 = load ptr, ptr %10, align 8 %45 = call i32 %42(ptr noundef %43, ptr noundef %44, i64 noundef -1) store i32 %45, ptr %11, align 4 %46 = load ptr, ptr %6, align 8 %47 = getelementptr inbounds %struct.TYPE_6__, ptr %46, i32 0, i32 0 %48 = load i32, ptr %47, align 4 %49 = icmp eq i32 %48, 128 br i1 %49, label %50, label %55 50: ; preds = %41 %51 = load ptr, ptr %10, align 8 %52 = load i64, ptr %8, align 8 %53 = call i32 @mem_free(ptr noundef %51, i64 noundef %52) %54 = load ptr, ptr %7, align 8 store ptr null, ptr %54, align 8 br label %55 55: ; preds = %50, %41 %56 = load i32, ptr %11, align 4 store i32 %56, ptr %5, align 4 br label %57 57: ; preds = %55, %30, %20 %58 = load i32, ptr %5, align 4 ret i32 %58 } declare i32 @mem_alloc(i64 noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @mem_free(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/tmp3w7h9dpn.c' source_filename = "/tmp/tmp3w7h9dpn.c" target datalayout = "e-m:e-p270: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/tmp3w7h9dpn.c" target datalayout = "e-m:e-p270: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/tmpmqbwquu9.c' source_filename = "/tmp/tmpmqbwquu9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"/dev/mem\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_SYNC = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"ERROR : failed to open /dev/mem\0A\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"off_t size : %lu\0A\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"phy_addr & map_mask : 0x%llx\0A\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"page size : 0x%x (%d)\0A\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"num pages : %d\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.6 = private unnamed_addr constant [32 x i8] c"ERROR: failed to mmap /dev/mem\0A\00", align 1 @.str.7 = private unnamed_addr constant [31 x i8] c"pmem : 0x%lx\0A\00", align 1 @.str.8 = private unnamed_addr constant [28 x i8] c"pmem (ptr) : %p\0A\00", align 1 @.str.9 = private unnamed_addr constant [33 x i8] c"ERROR: failed to close /dev/mem\0A\00", align 1 @.str.10 = private unnamed_addr constant [32 x i8] c"reg_addr : 0x%08x\0A\00", align 1 @.str.11 = private unnamed_addr constant [32 x i8] c"reg_data : 0x%08x\0A\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c"HREG W 0x%08x 0x%08x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @regio_wr32(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %16 = load i32, ptr @O_RDWR, align 4 %17 = load i32, ptr @O_SYNC, align 4 %18 = or i32 %16, %17 %19 = call i32 @open(ptr noundef @.str, i32 noundef %18) store i32 %19, ptr %8, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %3 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %4, align 4 br label %108 23: ; preds = %3 store i32 1136656384, ptr %14, align 4 store i64 1048576, ptr %15, align 8 %24 = call i32 (...) @getpagesize() store i32 %24, ptr %9, align 4 %25 = load i64, ptr %15, align 8 %26 = load i32, ptr %9, align 4 %27 = zext i32 %26 to i64 %28 = udiv i64 %25, %27 %29 = trunc i64 %28 to i32 store i32 %29, ptr %10, align 4 %30 = load i32, ptr %7, align 4 %31 = icmp sgt i32 %30, 1 br i1 %31, label %32, label %43 32: ; preds = %23 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef 4) %34 = load i32, ptr %14, align 4 %35 = and i32 %34, -1048576 %36 = sext i32 %35 to i64 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %36) %38 = load i32, ptr %9, align 4 %39 = load i32, ptr %9, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %38, i32 noundef %39) %41 = load i32, ptr %10, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %41) br label %43 43: ; preds = %32, %23 %44 = load i64, ptr %15, align 8 %45 = load i32, ptr @PROT_READ, align 4 %46 = load i32, ptr @PROT_WRITE, align 4 %47 = or i32 %45, %46 %48 = load i32, ptr @MAP_SHARED, align 4 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr %14, align 4 %51 = and i32 %50, -1048576 %52 = call ptr @mmap(i32 noundef 0, i64 noundef %44, i32 noundef %47, i32 noundef %48, i32 noundef %49, i32 noundef %51) store ptr %52, ptr %11, align 8 %53 = load ptr, ptr %11, align 8 %54 = load ptr, ptr @MAP_FAILED, align 8 %55 = icmp eq ptr %53, %54 br i1 %55, label %59, label %56 56: ; preds = %43 %57 = load ptr, ptr %11, align 8 %58 = icmp eq ptr %57, null br i1 %58, label %59, label %61 59: ; preds = %56, %43 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 -1, ptr %4, align 4 br label %108 61: ; preds = %56 %62 = load i32, ptr %7, align 4 %63 = icmp sgt i32 %62, 1 br i1 %63, label %64, label %70 64: ; preds = %61 %65 = load ptr, ptr %11, align 8 %66 = ptrtoint ptr %65 to i64 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %66) %68 = load ptr, ptr %11, align 8 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %68) br label %70 70: ; preds = %64, %61 br label %71 71: ; preds = %70 %72 = load i32, ptr %8, align 4 %73 = call i64 @close(i32 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.9) store i32 -1, ptr %4, align 4 br label %108 77: ; preds = %71 %78 = load ptr, ptr %11, align 8 %79 = load i32, ptr %14, align 4 %80 = and i32 %79, 1048575 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %78, i64 %81 store ptr %82, ptr %12, align 8 %83 = load ptr, ptr %12, align 8 %84 = load i32, ptr %5, align 4 %85 = zext i32 %84 to i64 %86 = getelementptr inbounds i8, ptr %83, i64 %85 store ptr %86, ptr %13, align 8 %87 = load i32, ptr %6, align 4 %88 = load ptr, ptr %13, align 8 store volatile i32 %87, ptr %88, align 4 %89 = load i32, ptr %7, align 4 %90 = icmp sgt i32 %89, 1 br i1 %90, label %91, label %97 91: ; preds = %77 %92 = load ptr, ptr %13, align 8 %93 = ptrtoint ptr %92 to i32 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %93) %95 = load i32, ptr %6, align 4 %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %95) br label %97 97: ; preds = %91, %77 %98 = load ptr, ptr %11, align 8 %99 = load i64, ptr %15, align 8 %100 = call i32 @munmap(ptr noundef %98, i64 noundef %99) %101 = load i32, ptr %7, align 4 %102 = icmp sgt i32 %101, 0 br i1 %102, label %103, label %107 103: ; preds = %97 %104 = load i32, ptr %5, align 4 %105 = load i32, ptr %6, align 4 %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %104, i32 noundef %105) br label %107 107: ; preds = %103, %97 store i32 0, ptr %4, align 4 br label %108 108: ; preds = %107, %75, %59, %21 %109 = load i32, ptr %4, align 4 ret i32 %109 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpagesize(...) #1 declare ptr @mmap(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @close(i32 noundef) #1 declare i32 @munmap(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/tmpmqbwquu9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"/dev/mem\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_SYNC = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"ERROR : failed to open /dev/mem\0A\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"off_t size : %lu\0A\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"phy_addr & map_mask : 0x%llx\0A\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"page size : 0x%x (%d)\0A\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"num pages : %d\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.6 = private unnamed_addr constant [32 x i8] c"ERROR: failed to mmap /dev/mem\0A\00", align 1 @.str.7 = private unnamed_addr constant [31 x i8] c"pmem : 0x%lx\0A\00", align 1 @.str.8 = private unnamed_addr constant [28 x i8] c"pmem (ptr) : %p\0A\00", align 1 @.str.9 = private unnamed_addr constant [33 x i8] c"ERROR: failed to close /dev/mem\0A\00", align 1 @.str.10 = private unnamed_addr constant [32 x i8] c"reg_addr : 0x%08x\0A\00", align 1 @.str.11 = private unnamed_addr constant [32 x i8] c"reg_data : 0x%08x\0A\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c"HREG W 0x%08x 0x%08x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @regio_wr32(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %16 = load i32, ptr @O_RDWR, align 4 %17 = load i32, ptr @O_SYNC, align 4 %18 = or i32 %16, %17 %19 = call i32 @open(ptr noundef @.str, i32 noundef %18) store i32 %19, ptr %8, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %3 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %4, align 4 br label %108 23: ; preds = %3 store i32 1136656384, ptr %14, align 4 store i64 1048576, ptr %15, align 8 %24 = call i32 (...) @getpagesize() store i32 %24, ptr %9, align 4 %25 = load i64, ptr %15, align 8 %26 = load i32, ptr %9, align 4 %27 = zext i32 %26 to i64 %28 = udiv i64 %25, %27 %29 = trunc i64 %28 to i32 store i32 %29, ptr %10, align 4 %30 = load i32, ptr %7, align 4 %31 = icmp sgt i32 %30, 1 br i1 %31, label %32, label %43 32: ; preds = %23 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef 4) %34 = load i32, ptr %14, align 4 %35 = and i32 %34, -1048576 %36 = sext i32 %35 to i64 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %36) %38 = load i32, ptr %9, align 4 %39 = load i32, ptr %9, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %38, i32 noundef %39) %41 = load i32, ptr %10, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %41) br label %43 43: ; preds = %32, %23 %44 = load i64, ptr %15, align 8 %45 = load i32, ptr @PROT_READ, align 4 %46 = load i32, ptr @PROT_WRITE, align 4 %47 = or i32 %45, %46 %48 = load i32, ptr @MAP_SHARED, align 4 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr %14, align 4 %51 = and i32 %50, -1048576 %52 = call ptr @mmap(i32 noundef 0, i64 noundef %44, i32 noundef %47, i32 noundef %48, i32 noundef %49, i32 noundef %51) store ptr %52, ptr %11, align 8 %53 = load ptr, ptr %11, align 8 %54 = load ptr, ptr @MAP_FAILED, align 8 %55 = icmp eq ptr %53, %54 br i1 %55, label %59, label %56 56: ; preds = %43 %57 = load ptr, ptr %11, align 8 %58 = icmp eq ptr %57, null br i1 %58, label %59, label %61 59: ; preds = %56, %43 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 -1, ptr %4, align 4 br label %108 61: ; preds = %56 %62 = load i32, ptr %7, align 4 %63 = icmp sgt i32 %62, 1 br i1 %63, label %64, label %70 64: ; preds = %61 %65 = load ptr, ptr %11, align 8 %66 = ptrtoint ptr %65 to i64 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %66) %68 = load ptr, ptr %11, align 8 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %68) br label %70 70: ; preds = %64, %61 br label %71 71: ; preds = %70 %72 = load i32, ptr %8, align 4 %73 = call i64 @close(i32 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.9) store i32 -1, ptr %4, align 4 br label %108 77: ; preds = %71 %78 = load ptr, ptr %11, align 8 %79 = load i32, ptr %14, align 4 %80 = and i32 %79, 1048575 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %78, i64 %81 store ptr %82, ptr %12, align 8 %83 = load ptr, ptr %12, align 8 %84 = load i32, ptr %5, align 4 %85 = zext i32 %84 to i64 %86 = getelementptr inbounds i8, ptr %83, i64 %85 store ptr %86, ptr %13, align 8 %87 = load i32, ptr %6, align 4 %88 = load ptr, ptr %13, align 8 store volatile i32 %87, ptr %88, align 4 %89 = load i32, ptr %7, align 4 %90 = icmp sgt i32 %89, 1 br i1 %90, label %91, label %97 91: ; preds = %77 %92 = load ptr, ptr %13, align 8 %93 = ptrtoint ptr %92 to i32 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %93) %95 = load i32, ptr %6, align 4 %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %95) br label %97 97: ; preds = %91, %77 %98 = load ptr, ptr %11, align 8 %99 = load i64, ptr %15, align 8 %100 = call i32 @munmap(ptr noundef %98, i64 noundef %99) %101 = load i32, ptr %7, align 4 %102 = icmp sgt i32 %101, 0 br i1 %102, label %103, label %107 103: ; preds = %97 %104 = load i32, ptr %5, align 4 %105 = load i32, ptr %6, align 4 %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %104, i32 noundef %105) br label %107 107: ; preds = %103, %97 store i32 0, ptr %4, align 4 br label %108 108: ; preds = %107, %75, %59, %21 %109 = load i32, ptr %4, align 4 ret i32 %109 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpagesize(...) #1 declare ptr @mmap(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @close(i32 noundef) #1 declare i32 @munmap(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/tmp57vh0dzp.c' source_filename = "/tmp/tmp57vh0dzp.c" target datalayout = "e-m:e-p270: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.x = private unnamed_addr constant [10 x double] [double 1.000000e+00, double 2.000000e+00, double 3.000000e+00, double 4.000000e+00, double 5.000000e+00, double 6.000000e+00, double 7.000000e+00, double 8.000000e+00, double 0x7FF8000000000000, double 0x7FF8000000000000], align 16 @.str = private unnamed_addr constant [10 x i8] c"sum: %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [10 x double], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca double, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 80, i1 false) store i32 5, ptr %2, align 4 store i32 2, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = getelementptr inbounds [10 x double], ptr %1, i64 0, i64 0 %7 = load i32, ptr %3, align 4 %8 = call double @stdlib_strided_dnansumkbn2(i32 noundef %5, ptr noundef %6, i32 noundef %7) store double %8, ptr %4, align 8 %9 = load double, ptr %4, align 8 %10 = call i32 @printf(ptr noundef @.str, double noundef %9) 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 double @stdlib_strided_dnansumkbn2(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr 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 nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp57vh0dzp.c" target datalayout = "e-m:e-p270: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.x = private unnamed_addr constant [10 x double] [double 1.000000e+00, double 2.000000e+00, double 3.000000e+00, double 4.000000e+00, double 5.000000e+00, double 6.000000e+00, double 7.000000e+00, double 8.000000e+00, double 0x7FF8000000000000, double 0x7FF8000000000000], align 16 @.str = private unnamed_addr constant [10 x i8] c"sum: %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [10 x double], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca double, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 80, i1 false) store i32 5, ptr %2, align 4 store i32 2, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = getelementptr inbounds [10 x double], ptr %1, i64 0, i64 0 %7 = load i32, ptr %3, align 4 %8 = call double @stdlib_strided_dnansumkbn2(i32 noundef %5, ptr noundef %6, i32 noundef %7) store double %8, ptr %4, align 8 %9 = load double, ptr %4, align 8 %10 = call i32 @printf(ptr noundef @.str, double noundef %9) 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 double @stdlib_strided_dnansumkbn2(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr 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 nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7htzc9hs.c' source_filename = "/tmp/tmp7htzc9hs.c" target datalayout = "e-m:e-p270: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/tmp7htzc9hs.c" target datalayout = "e-m:e-p270: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/tmpaczqct1l.c' source_filename = "/tmp/tmpaczqct1l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"M563_f(const char *s) is not yet implemented!\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @M563_f(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @debug(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4) ret i32 1 } declare i32 @debug(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaczqct1l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"M563_f(const char *s) is not yet implemented!\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @M563_f(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @debug(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4) ret i32 1 } declare i32 @debug(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpquerq1wd.c' source_filename = "/tmp/tmpquerq1wd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cut_ctrl(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = add nsw i32 %9, 1 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %3, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %56 14: ; preds = %1 store i32 0, ptr %5, align 4 br label %15 15: ; preds = %47, %14 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %19, label %50 19: ; preds = %15 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = zext i8 %24 to i32 %26 = icmp sge i32 %25, 32 br i1 %26, label %35, label %27 27: ; preds = %19 %28 = load ptr, ptr %2, align 8 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %46 35: ; preds = %27, %19 %36 = load ptr, ptr %2, align 8 %37 = load i32, ptr %5, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %4, align 4 %44 = sext i32 %42 to i64 %45 = getelementptr inbounds i8, ptr %41, i64 %44 store i8 %40, ptr %45, align 1 br label %46 46: ; preds = %35, %27 br label %47 47: ; preds = %46 %48 = load i32, ptr %5, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %5, align 4 br label %15, !llvm.loop !6 50: ; preds = %15 %51 = load ptr, ptr %2, align 8 %52 = load ptr, ptr %3, align 8 %53 = call i32 @strcpy(ptr noundef %51, ptr noundef %52) %54 = load ptr, ptr %3, align 8 %55 = call i32 @free(ptr noundef %54) br label %56 56: ; preds = %50, %1 %57 = load ptr, ptr %2, align 8 ret ptr %57 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpquerq1wd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cut_ctrl(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = add nsw i32 %9, 1 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %3, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %58 14: ; preds = %1 store i32 0, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %.lr.ph, label %52 .lr.ph: ; preds = %14 br label %18 18: ; preds = %.lr.ph, %46 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = zext i8 %23 to i32 %25 = icmp sge i32 %24, 32 br i1 %25, label %34, label %26 26: ; preds = %18 %27 = load ptr, ptr %2, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %45 34: ; preds = %26, %18 %35 = load ptr, ptr %2, align 8 %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %4, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %4, align 4 %43 = sext i32 %41 to i64 %44 = getelementptr inbounds i8, ptr %40, i64 %43 store i8 %39, ptr %44, align 1 br label %45 45: ; preds = %34, %26 br label %46 46: ; preds = %45 %47 = load i32, ptr %5, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %5, align 4 %49 = load i32, ptr %5, align 4 %50 = load i32, ptr %6, align 4 %51 = icmp sle i32 %49, %50 br i1 %51, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %52 52: ; preds = %._crit_edge, %14 %53 = load ptr, ptr %2, align 8 %54 = load ptr, ptr %3, align 8 %55 = call i32 @strcpy(ptr noundef %53, ptr noundef %54) %56 = load ptr, ptr %3, align 8 %57 = call i32 @free(ptr noundef %56) br label %58 58: ; preds = %52, %1 %59 = load ptr, ptr %2, align 8 ret ptr %59 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2k20eyx0.c' source_filename = "/tmp/tmp2k20eyx0.c" target datalayout = "e-m:e-p270: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/tmp2k20eyx0.c" target datalayout = "e-m:e-p270: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/tmpluqjrh8v.c' source_filename = "/tmp/tmpluqjrh8v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_doubles(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 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %18, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %21 10: ; preds = %6 %11 = call i32 (...) @rand() %12 = srem i32 %11, 10 %13 = sitofp i32 %12 to double %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds double, ptr %14, i64 %16 store double %13, ptr %17, align 8 br label %18 18: ; preds = %10 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 br label %6, !llvm.loop !6 21: ; preds = %6 ret void } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpluqjrh8v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_doubles(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 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %17 %10 = call i32 (...) @rand() %11 = srem i32 %10, 10 %12 = sitofp i32 %11 to double %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds double, ptr %13, i64 %15 store double %12, ptr %16, align 8 br label %17 17: ; preds = %9 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %2 ret void } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnqofcsup.c' source_filename = "/tmp/tmpnqofcsup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"=\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getentry(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call ptr @strtok(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %5, align 8 %8 = call ptr @strtok(ptr noundef null, ptr noundef @.str) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = sub nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %9, i64 %13 store i8 0, ptr %14, align 1 %15 = load ptr, ptr %5, align 8 %16 = call i32 @removeticks(ptr noundef %15) %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %5, align 8 %19 = call i32 @strcpy(ptr noundef %17, ptr noundef %18) ret i32 0 } declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @removeticks(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/tmpnqofcsup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"=\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getentry(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call ptr @strtok(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %5, align 8 %8 = call ptr @strtok(ptr noundef null, ptr noundef @.str) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = sub nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %9, i64 %13 store i8 0, ptr %14, align 1 %15 = load ptr, ptr %5, align 8 %16 = call i32 @removeticks(ptr noundef %15) %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %5, align 8 %19 = call i32 @strcpy(ptr noundef %17, ptr noundef %18) ret i32 0 } declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @removeticks(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/tmpxzmyhlzn.c' source_filename = "/tmp/tmpxzmyhlzn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @file_to_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store ptr null, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = call ptr @realloc(ptr noundef %7, i32 noundef 1025) store ptr %8, ptr %5, align 8 store i64 1024, ptr %6, align 8 store i64 0, ptr %4, align 8 br label %9 9: ; preds = %27, %1 %10 = load ptr, ptr %2, align 8 %11 = call signext i8 @fgetc(ptr noundef %10) store i8 %11, ptr %3, align 1 %12 = sext i8 %11 to i32 %13 = load i8, ptr @EOF, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %12, %14 br i1 %15, label %16, label %33 16: ; preds = %9 %17 = load i64, ptr %4, align 8 %18 = load i64, ptr %6, align 8 %19 = icmp uge i64 %17, %18 br i1 %19, label %20, label %27 20: ; preds = %16 %21 = load ptr, ptr %5, align 8 %22 = load i64, ptr %6, align 8 %23 = add i64 %22, 1024 store i64 %23, ptr %6, align 8 %24 = mul i64 1, %23 %25 = trunc i64 %24 to i32 %26 = call ptr @realloc(ptr noundef %21, i32 noundef %25) store ptr %26, ptr %5, align 8 br label %27 27: ; preds = %20, %16 %28 = load i8, ptr %3, align 1 %29 = load ptr, ptr %5, align 8 %30 = load i64, ptr %4, align 8 %31 = add i64 %30, 1 store i64 %31, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %29, i64 %30 store i8 %28, ptr %32, align 1 br label %9, !llvm.loop !6 33: ; preds = %9 %34 = load ptr, ptr %5, align 8 %35 = load i64, ptr %4, align 8 %36 = add i64 %35, 1 store i64 %36, ptr %4, align 8 %37 = getelementptr inbounds i8, ptr %34, i64 %35 store i8 0, ptr %37, align 1 %38 = load ptr, ptr %5, align 8 ret ptr %38 } declare ptr @realloc(ptr noundef, i32 noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpxzmyhlzn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @file_to_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store ptr null, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = call ptr @realloc(ptr noundef %7, i32 noundef 1025) store ptr %8, ptr %5, align 8 store i64 1024, ptr %6, align 8 store i64 0, ptr %4, align 8 %9 = load ptr, ptr %2, align 8 %10 = call signext i8 @fgetc(ptr noundef %9) store i8 %10, ptr %3, align 1 %11 = sext i8 %10 to i32 %12 = load i8, ptr @EOF, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %11, %13 br i1 %14, label %.lr.ph, label %38 .lr.ph: ; preds = %1 br label %15 15: ; preds = %.lr.ph, %26 %16 = load i64, ptr %4, align 8 %17 = load i64, ptr %6, align 8 %18 = icmp uge i64 %16, %17 br i1 %18, label %19, label %26 19: ; preds = %15 %20 = load ptr, ptr %5, align 8 %21 = load i64, ptr %6, align 8 %22 = add i64 %21, 1024 store i64 %22, ptr %6, align 8 %23 = mul i64 1, %22 %24 = trunc i64 %23 to i32 %25 = call ptr @realloc(ptr noundef %20, i32 noundef %24) store ptr %25, ptr %5, align 8 br label %26 26: ; preds = %19, %15 %27 = load i8, ptr %3, align 1 %28 = load ptr, ptr %5, align 8 %29 = load i64, ptr %4, align 8 %30 = add i64 %29, 1 store i64 %30, ptr %4, align 8 %31 = getelementptr inbounds i8, ptr %28, i64 %29 store i8 %27, ptr %31, align 1 %32 = load ptr, ptr %2, align 8 %33 = call signext i8 @fgetc(ptr noundef %32) store i8 %33, ptr %3, align 1 %34 = sext i8 %33 to i32 %35 = load i8, ptr @EOF, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 %34, %36 br i1 %37, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %38 38: ; preds = %._crit_edge, %1 %39 = load ptr, ptr %5, align 8 %40 = load i64, ptr %4, align 8 %41 = add i64 %40, 1 store i64 %41, ptr %4, align 8 %42 = getelementptr inbounds i8, ptr %39, i64 %40 store i8 0, ptr %42, align 1 %43 = load ptr, ptr %5, align 8 ret ptr %43 } declare ptr @realloc(ptr noundef, i32 noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp8z92owxx.c' source_filename = "/tmp/tmp8z92owxx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash_ulongptr_equal(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @assert(ptr noundef %5) %7 = load ptr, ptr %4, align 8 %8 = call i32 @assert(ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = load i64, ptr %9, align 8 %11 = load ptr, ptr %4, align 8 %12 = load i64, ptr %11, align 8 %13 = icmp eq i64 %10, %12 %14 = zext i1 %13 to i32 ret i32 %14 } declare i32 @assert(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8z92owxx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash_ulongptr_equal(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @assert(ptr noundef %5) %7 = load ptr, ptr %4, align 8 %8 = call i32 @assert(ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = load i64, ptr %9, align 8 %11 = load ptr, ptr %4, align 8 %12 = load i64, ptr %11, align 8 %13 = icmp eq i64 %10, %12 %14 = zext i1 %13 to i32 ret i32 %14 } declare i32 @assert(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgjfqyp8o.c' source_filename = "/tmp/tmpgjfqyp8o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"\0A Options\0A\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c"-s {rate}\09Set sample rate in HZ (default 100)\0A\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"\09\09Sample rate must be a divisor of 200\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"-m\09\09Enable Magnetometer\0A\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"-c\09\09Show raw compass angle\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"-a\09\09Print Accelerometer Data\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"-g\09\09Print Gyro Data\0A\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"-t\09\09Print TaitBryan Angles\0A\00", align 1 @.str.8 = private unnamed_addr constant [29 x i8] c"-q\09\09Print Quaternion Vector\0A\00", align 1 @.str.9 = private unnamed_addr constant [47 x i8] c"-p {prio}\09Set Interrupt Priority (default 98)\0A\00", align 1 @.str.10 = private unnamed_addr constant [28 x i8] c"-w\09\09Print I2C bus warnings\0A\00", align 1 @.str.11 = private unnamed_addr constant [43 x i8] c"-o\09\09Show a menu to select IMU orientation\0A\00", align 1 @.str.12 = private unnamed_addr constant [30 x i8] c"-h\09\09Print this help message\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage() #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) 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/tmpgjfqyp8o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"\0A Options\0A\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c"-s {rate}\09Set sample rate in HZ (default 100)\0A\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"\09\09Sample rate must be a divisor of 200\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"-m\09\09Enable Magnetometer\0A\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"-c\09\09Show raw compass angle\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"-a\09\09Print Accelerometer Data\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"-g\09\09Print Gyro Data\0A\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"-t\09\09Print TaitBryan Angles\0A\00", align 1 @.str.8 = private unnamed_addr constant [29 x i8] c"-q\09\09Print Quaternion Vector\0A\00", align 1 @.str.9 = private unnamed_addr constant [47 x i8] c"-p {prio}\09Set Interrupt Priority (default 98)\0A\00", align 1 @.str.10 = private unnamed_addr constant [28 x i8] c"-w\09\09Print I2C bus warnings\0A\00", align 1 @.str.11 = private unnamed_addr constant [43 x i8] c"-o\09\09Show a menu to select IMU orientation\0A\00", align 1 @.str.12 = private unnamed_addr constant [30 x i8] c"-h\09\09Print this help message\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage() #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) 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/tmpq2h8e_zl.c' source_filename = "/tmp/tmpq2h8e_zl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 br label %4 4: ; preds = %9, %0 %5 = call i64 (...) @fork() store i64 %5, ptr %3, align 8 %6 = load i64, ptr %3, align 8 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %4 ret i32 0 9: ; preds = %4 %10 = call i32 @wait(ptr noundef %2) br label %4 } declare i64 @fork(...) #1 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq2h8e_zl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 %4 = call i64 (...) @fork() store i64 %4, ptr %3, align 8 %5 = load i64, ptr %3, align 8 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %.lr.ph .lr.ph: ; preds = %0 br label %8 ._crit_edge: ; preds = %8 br label %7 7: ; preds = %._crit_edge, %0 ret i32 0 8: ; preds = %.lr.ph, %8 %9 = call i32 @wait(ptr noundef %2) %10 = call i64 (...) @fork() store i64 %10, ptr %3, align 8 %11 = load i64, ptr %3, align 8 %12 = icmp eq i64 %11, 0 br i1 %12, label %._crit_edge, label %8 } declare i64 @fork(...) #1 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu2elqar8.c' source_filename = "/tmp/tmpu2elqar8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @os_libfunc(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call ptr @dlsym(ptr noundef %8, ptr noundef %9) store ptr %10, ptr %7, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %19, label %12 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %12 %16 = call i32 (...) @dlerror() %17 = call ptr @strdup(i32 noundef %16) %18 = load ptr, ptr %4, align 8 store ptr %17, ptr %18, align 8 br label %19 19: ; preds = %15, %12, %3 %20 = load ptr, ptr %7, align 8 ret ptr %20 } declare ptr @dlsym(ptr noundef, ptr noundef) #1 declare ptr @strdup(i32 noundef) #1 declare i32 @dlerror(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu2elqar8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @os_libfunc(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call ptr @dlsym(ptr noundef %8, ptr noundef %9) store ptr %10, ptr %7, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %19, label %12 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %12 %16 = call i32 (...) @dlerror() %17 = call ptr @strdup(i32 noundef %16) %18 = load ptr, ptr %4, align 8 store ptr %17, ptr %18, align 8 br label %19 19: ; preds = %15, %12, %3 %20 = load ptr, ptr %7, align 8 ret ptr %20 } declare ptr @dlsym(ptr noundef, ptr noundef) #1 declare ptr @strdup(i32 noundef) #1 declare i32 @dlerror(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvxsvms4v.c' source_filename = "/tmp/tmpvxsvms4v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 10, ptr %6, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) store i32 0, ptr %7, align 4 br label %10 10: ; preds = %33, %2 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %6, align 4 %13 = mul nsw i32 %12, 2 %14 = icmp slt i32 %11, %13 br i1 %14, label %15, label %37 15: ; preds = %10 store i32 0, ptr %8, align 4 br label %16 16: ; preds = %30, %15 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %33 20: ; preds = %16 %21 = load i32, ptr %8, align 4 %22 = icmp eq i32 %21, 2 br i1 %22, label %26, label %23 23: ; preds = %20 %24 = load i32, ptr %8, align 4 %25 = icmp eq i32 %24, 3 br i1 %25, label %26, label %28 26: ; preds = %23, %20 %27 = call i32 @printf(ptr noundef @.str.1) br label %30 28: ; preds = %23 %29 = call i32 @printf(ptr noundef @.str.2) br label %30 30: ; preds = %28, %26 %31 = load i32, ptr %8, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %8, align 4 br label %16, !llvm.loop !6 33: ; preds = %16 %34 = call i32 @printf(ptr noundef @.str.3) %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 br label %10, !llvm.loop !8 37: ; preds = %10 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvxsvms4v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 10, ptr %6, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) store i32 0, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %6, align 4 %12 = mul nsw i32 %11, 2 %13 = icmp slt i32 %10, %12 br i1 %13, label %.lr.ph2, label %42 .lr.ph2: ; preds = %2 br label %14 14: ; preds = %.lr.ph2, %34 store i32 0, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %34 .lr.ph: ; preds = %14 br label %18 18: ; preds = %.lr.ph, %28 %19 = load i32, ptr %8, align 4 %20 = icmp eq i32 %19, 2 br i1 %20, label %24, label %21 21: ; preds = %18 %22 = load i32, ptr %8, align 4 %23 = icmp eq i32 %22, 3 br i1 %23, label %24, label %26 24: ; preds = %21, %18 %25 = call i32 @printf(ptr noundef @.str.1) br label %28 26: ; preds = %21 %27 = call i32 @printf(ptr noundef @.str.2) br label %28 28: ; preds = %26, %24 %29 = load i32, ptr %8, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %6, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %14 %35 = call i32 @printf(ptr noundef @.str.3) %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr %6, align 4 %40 = mul nsw i32 %39, 2 %41 = icmp slt i32 %38, %40 br i1 %41, label %14, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %42 42: ; preds = %._crit_edge3, %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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpl_ld4b4k.c' source_filename = "/tmp/tmpl_ld4b4k.c" target datalayout = "e-m:e-p270: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/tmpl_ld4b4k.c" target datalayout = "e-m:e-p270: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/tmpe7a4nubj.c' source_filename = "/tmp/tmpe7a4nubj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"ERROR! Bad perimeter coordinate request!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @perimeterCoords(ptr noundef %0, i16 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i16, align 2 store ptr %0, ptr %3, align 8 store i16 %1, ptr %4, align 2 %5 = load i16, ptr %4, align 2 %6 = sext i16 %5 to i32 %7 = icmp sle i32 %6, 10 br i1 %7, label %8, label %17 8: ; preds = %2 %9 = load i16, ptr %4, align 2 %10 = sext i16 %9 to i32 %11 = sub nsw i32 %10, 5 %12 = trunc i32 %11 to i16 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds i16, ptr %13, i64 0 store i16 %12, ptr %14, align 2 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i16, ptr %15, i64 1 store i16 -5, ptr %16, align 2 br label %68 17: ; preds = %2 %18 = load i16, ptr %4, align 2 %19 = sext i16 %18 to i32 %20 = icmp sle i32 %19, 21 br i1 %20, label %21, label %31 21: ; preds = %17 %22 = load i16, ptr %4, align 2 %23 = sext i16 %22 to i32 %24 = sub nsw i32 %23, 11 %25 = sub nsw i32 %24, 5 %26 = trunc i32 %25 to i16 %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds i16, ptr %27, i64 0 store i16 %26, ptr %28, align 2 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds i16, ptr %29, i64 1 store i16 5, ptr %30, align 2 br label %67 31: ; preds = %17 %32 = load i16, ptr %4, align 2 %33 = sext i16 %32 to i32 %34 = icmp sle i32 %33, 30 br i1 %34, label %35, label %45 35: ; preds = %31 %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds i16, ptr %36, i64 0 store i16 -5, ptr %37, align 2 %38 = load i16, ptr %4, align 2 %39 = sext i16 %38 to i32 %40 = sub nsw i32 %39, 22 %41 = sub nsw i32 %40, 4 %42 = trunc i32 %41 to i16 %43 = load ptr, ptr %3, align 8 %44 = getelementptr inbounds i16, ptr %43, i64 1 store i16 %42, ptr %44, align 2 br label %66 45: ; preds = %31 %46 = load i16, ptr %4, align 2 %47 = sext i16 %46 to i32 %48 = icmp sle i32 %47, 39 br i1 %48, label %49, label %59 49: ; preds = %45 %50 = load ptr, ptr %3, align 8 %51 = getelementptr inbounds i16, ptr %50, i64 0 store i16 5, ptr %51, align 2 %52 = load i16, ptr %4, align 2 %53 = sext i16 %52 to i32 %54 = sub nsw i32 %53, 31 %55 = sub nsw i32 %54, 4 %56 = trunc i32 %55 to i16 %57 = load ptr, ptr %3, align 8 %58 = getelementptr inbounds i16, ptr %57, i64 1 store i16 %56, ptr %58, align 2 br label %65 59: ; preds = %45 %60 = call i32 @message(ptr noundef @.str, i32 noundef 1) %61 = load ptr, ptr %3, align 8 %62 = getelementptr inbounds i16, ptr %61, i64 1 store i16 0, ptr %62, align 2 %63 = load ptr, ptr %3, align 8 %64 = getelementptr inbounds i16, ptr %63, i64 0 store i16 0, ptr %64, align 2 br label %65 65: ; preds = %59, %49 br label %66 66: ; preds = %65, %35 br label %67 67: ; preds = %66, %21 br label %68 68: ; preds = %67, %8 ret void } declare i32 @message(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/tmpe7a4nubj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"ERROR! Bad perimeter coordinate request!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @perimeterCoords(ptr noundef %0, i16 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i16, align 2 store ptr %0, ptr %3, align 8 store i16 %1, ptr %4, align 2 %5 = load i16, ptr %4, align 2 %6 = sext i16 %5 to i32 %7 = icmp sle i32 %6, 10 br i1 %7, label %8, label %17 8: ; preds = %2 %9 = load i16, ptr %4, align 2 %10 = sext i16 %9 to i32 %11 = sub nsw i32 %10, 5 %12 = trunc i32 %11 to i16 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds i16, ptr %13, i64 0 store i16 %12, ptr %14, align 2 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i16, ptr %15, i64 1 store i16 -5, ptr %16, align 2 br label %68 17: ; preds = %2 %18 = load i16, ptr %4, align 2 %19 = sext i16 %18 to i32 %20 = icmp sle i32 %19, 21 br i1 %20, label %21, label %31 21: ; preds = %17 %22 = load i16, ptr %4, align 2 %23 = sext i16 %22 to i32 %24 = sub nsw i32 %23, 11 %25 = sub nsw i32 %24, 5 %26 = trunc i32 %25 to i16 %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds i16, ptr %27, i64 0 store i16 %26, ptr %28, align 2 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds i16, ptr %29, i64 1 store i16 5, ptr %30, align 2 br label %67 31: ; preds = %17 %32 = load i16, ptr %4, align 2 %33 = sext i16 %32 to i32 %34 = icmp sle i32 %33, 30 br i1 %34, label %35, label %45 35: ; preds = %31 %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds i16, ptr %36, i64 0 store i16 -5, ptr %37, align 2 %38 = load i16, ptr %4, align 2 %39 = sext i16 %38 to i32 %40 = sub nsw i32 %39, 22 %41 = sub nsw i32 %40, 4 %42 = trunc i32 %41 to i16 %43 = load ptr, ptr %3, align 8 %44 = getelementptr inbounds i16, ptr %43, i64 1 store i16 %42, ptr %44, align 2 br label %66 45: ; preds = %31 %46 = load i16, ptr %4, align 2 %47 = sext i16 %46 to i32 %48 = icmp sle i32 %47, 39 br i1 %48, label %49, label %59 49: ; preds = %45 %50 = load ptr, ptr %3, align 8 %51 = getelementptr inbounds i16, ptr %50, i64 0 store i16 5, ptr %51, align 2 %52 = load i16, ptr %4, align 2 %53 = sext i16 %52 to i32 %54 = sub nsw i32 %53, 31 %55 = sub nsw i32 %54, 4 %56 = trunc i32 %55 to i16 %57 = load ptr, ptr %3, align 8 %58 = getelementptr inbounds i16, ptr %57, i64 1 store i16 %56, ptr %58, align 2 br label %65 59: ; preds = %45 %60 = call i32 @message(ptr noundef @.str, i32 noundef 1) %61 = load ptr, ptr %3, align 8 %62 = getelementptr inbounds i16, ptr %61, i64 1 store i16 0, ptr %62, align 2 %63 = load ptr, ptr %3, align 8 %64 = getelementptr inbounds i16, ptr %63, i64 0 store i16 0, ptr %64, align 2 br label %65 65: ; preds = %59, %49 br label %66 66: ; preds = %65, %35 br label %67 67: ; preds = %66, %21 br label %68 68: ; preds = %67, %8 ret void } declare i32 @message(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/tmp621zq1e9.c' source_filename = "/tmp/tmp621zq1e9.c" target datalayout = "e-m:e-p270: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/tmp621zq1e9.c" target datalayout = "e-m:e-p270: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/tmp0ah5_699.c' source_filename = "/tmp/tmp0ah5_699.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @file_name(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @strrchr(ptr noundef %5, i8 noundef signext 47) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 1 store ptr %11, ptr %2, align 8 br label %14 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 store ptr %13, ptr %2, align 8 br label %14 14: ; preds = %12, %9 %15 = load ptr, ptr %2, align 8 ret ptr %15 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ah5_699.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @file_name(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @strrchr(ptr noundef %5, i8 noundef signext 47) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 1 store ptr %11, ptr %2, align 8 br label %14 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 store ptr %13, ptr %2, align 8 br label %14 14: ; preds = %12, %9 %15 = load ptr, ptr %2, align 8 ret ptr %15 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkk5oju_g.c' source_filename = "/tmp/tmpkk5oju_g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convert_track_xa_form_1_2056(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = call i32 @add_header(ptr noundef %5, i32 noundef 0, i32 noundef 0) %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds i32, ptr %7, i64 16 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds i32, ptr %9, i64 2072 %11 = call i32 @add_edc(ptr noundef %8, i32 noundef 2056, ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = call i32 @add_ecc(ptr noundef %12) %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %4, align 4 %16 = call i32 @add_header(ptr noundef %14, i32 noundef %15, i32 noundef 2) ret void } declare i32 @add_header(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @add_edc(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @add_ecc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkk5oju_g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @convert_track_xa_form_1_2056(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = call i32 @add_header(ptr noundef %5, i32 noundef 0, i32 noundef 0) %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds i32, ptr %7, i64 16 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds i32, ptr %9, i64 2072 %11 = call i32 @add_edc(ptr noundef %8, i32 noundef 2056, ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = call i32 @add_ecc(ptr noundef %12) %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %4, align 4 %16 = call i32 @add_header(ptr noundef %14, i32 noundef %15, i32 noundef 2) ret void } declare i32 @add_header(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @add_edc(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @add_ecc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa7e9qt95.c' source_filename = "/tmp/tmpa7e9qt95.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ai_settle(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @data_getresource(i32 noundef %5, i32 noundef 0) %7 = icmp sge i32 %6, 1 br i1 %7, label %8, label %32 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = call i32 @data_getresource(i32 noundef %9, i32 noundef 1) %11 = icmp sge i32 %10, 1 br i1 %11, label %12, label %32 12: ; preds = %8 %13 = load i32, ptr %3, align 4 %14 = call i32 @data_getresource(i32 noundef %13, i32 noundef 2) %15 = icmp sge i32 %14, 1 br i1 %15, label %16, label %32 16: ; preds = %12 %17 = load i32, ptr %3, align 4 %18 = call i32 @data_getresource(i32 noundef %17, i32 noundef 3) %19 = icmp sge i32 %18, 1 br i1 %19, label %20, label %32 20: ; preds = %16 %21 = load i32, ptr %3, align 4 %22 = call i32 @ai_cansettle(i32 noundef %21) store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %31 25: ; preds = %20 %26 = load i32, ptr %4, align 4 %27 = call i32 @marker_setposition(i32 noundef %26) %28 = load i32, ptr %4, align 4 %29 = load i32, ptr %3, align 4 %30 = call i32 @builder_placesettlement(i32 noundef %28, i32 noundef %29, i32 noundef 0) store i32 %30, ptr %2, align 4 br label %33 31: ; preds = %20 br label %32 32: ; preds = %31, %16, %12, %8, %1 store i32 0, ptr %2, align 4 br label %33 33: ; preds = %32, %25 %34 = load i32, ptr %2, align 4 ret i32 %34 } declare i32 @data_getresource(i32 noundef, i32 noundef) #1 declare i32 @ai_cansettle(i32 noundef) #1 declare i32 @marker_setposition(i32 noundef) #1 declare i32 @builder_placesettlement(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa7e9qt95.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ai_settle(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @data_getresource(i32 noundef %5, i32 noundef 0) %7 = icmp sge i32 %6, 1 br i1 %7, label %8, label %32 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = call i32 @data_getresource(i32 noundef %9, i32 noundef 1) %11 = icmp sge i32 %10, 1 br i1 %11, label %12, label %32 12: ; preds = %8 %13 = load i32, ptr %3, align 4 %14 = call i32 @data_getresource(i32 noundef %13, i32 noundef 2) %15 = icmp sge i32 %14, 1 br i1 %15, label %16, label %32 16: ; preds = %12 %17 = load i32, ptr %3, align 4 %18 = call i32 @data_getresource(i32 noundef %17, i32 noundef 3) %19 = icmp sge i32 %18, 1 br i1 %19, label %20, label %32 20: ; preds = %16 %21 = load i32, ptr %3, align 4 %22 = call i32 @ai_cansettle(i32 noundef %21) store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %31 25: ; preds = %20 %26 = load i32, ptr %4, align 4 %27 = call i32 @marker_setposition(i32 noundef %26) %28 = load i32, ptr %4, align 4 %29 = load i32, ptr %3, align 4 %30 = call i32 @builder_placesettlement(i32 noundef %28, i32 noundef %29, i32 noundef 0) store i32 %30, ptr %2, align 4 br label %33 31: ; preds = %20 br label %32 32: ; preds = %31, %16, %12, %8, %1 store i32 0, ptr %2, align 4 br label %33 33: ; preds = %32, %25 %34 = load i32, ptr %2, align 4 ret i32 %34 } declare i32 @data_getresource(i32 noundef, i32 noundef) #1 declare i32 @ai_cansettle(i32 noundef) #1 declare i32 @marker_setposition(i32 noundef) #1 declare i32 @builder_placesettlement(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps63ly2zm.c' source_filename = "/tmp/tmps63ly2zm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [12 x i8] c"%d %d %d %d\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 br label %11 11: ; preds = %28, %0 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %31 15: ; preds = %11 %16 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %7, ptr noundef %5, ptr noundef %8) %17 = load i32, ptr %5, align 4 %18 = mul nsw i32 2, %17 %19 = load i32, ptr %4, align 4 %20 = sub nsw i32 %18, %19 store i32 %20, ptr %6, align 4 %21 = load i32, ptr %8, align 4 %22 = mul nsw i32 2, %21 %23 = load i32, ptr %7, align 4 %24 = sub nsw i32 %22, %23 store i32 %24, ptr %9, align 4 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %9, align 4 %27 = call i32 @printf(ptr noundef @.str.2, i32 noundef %25, i32 noundef %26) br label %28 28: ; preds = %15 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 br label %11, !llvm.loop !6 31: ; preds = %11 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps63ly2zm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [12 x i8] c"%d %d %d %d\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %33 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %27 %15 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %7, ptr noundef %5, ptr noundef %8) %16 = load i32, ptr %5, align 4 %17 = mul nsw i32 2, %16 %18 = load i32, ptr %4, align 4 %19 = sub nsw i32 %17, %18 store i32 %19, ptr %6, align 4 %20 = load i32, ptr %8, align 4 %21 = mul nsw i32 2, %20 %22 = load i32, ptr %7, align 4 %23 = sub nsw i32 %21, %22 store i32 %23, ptr %9, align 4 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %9, align 4 %26 = call i32 @printf(ptr noundef @.str.2, i32 noundef %24, i32 noundef %25) br label %27 27: ; preds = %14 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %2, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8iaywoqe.c' source_filename = "/tmp/tmp8iaywoqe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"I2C controller read data is valid\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @query_i2c_readdata_val(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 304, ptr %4, align 4 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = call i32 @mmio_read(ptr noundef %8, i32 noundef %9) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = and i32 %11, 65280 %13 = ashr i32 %12, 8 store i32 %13, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = and i64 %15, 4611686018427387904 %17 = icmp eq i64 %16, 4611686018427387904 br i1 %17, label %18, label %21 18: ; preds = %1 %19 = call i32 @printf(ptr noundef @.str) %20 = load i32, ptr %6, align 4 store i32 %20, ptr %2, align 4 br label %22 21: ; preds = %1 store i32 1, ptr %2, align 4 br label %22 22: ; preds = %21, %18 %23 = load i32, ptr %2, align 4 ret i32 %23 } declare i32 @mmio_read(ptr noundef, i32 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/tmp8iaywoqe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"I2C controller read data is valid\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @query_i2c_readdata_val(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 304, ptr %4, align 4 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = call i32 @mmio_read(ptr noundef %8, i32 noundef %9) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = and i32 %11, 65280 %13 = ashr i32 %12, 8 store i32 %13, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = and i64 %15, 4611686018427387904 %17 = icmp eq i64 %16, 4611686018427387904 br i1 %17, label %18, label %21 18: ; preds = %1 %19 = call i32 @printf(ptr noundef @.str) %20 = load i32, ptr %6, align 4 store i32 %20, ptr %2, align 4 br label %22 21: ; preds = %1 store i32 1, ptr %2, align 4 br label %22 22: ; preds = %21, %18 %23 = load i32, ptr %2, align 4 ret i32 %23 } declare i32 @mmio_read(ptr noundef, i32 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/tmp6o82n3j9.c' source_filename = "/tmp/tmp6o82n3j9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RAND_get_rand_method() #0 { ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6o82n3j9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RAND_get_rand_method() #0 { ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnksn6wj2.c' source_filename = "/tmp/tmpnksn6wj2.c" target datalayout = "e-m:e-p270: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/tmpnksn6wj2.c" target datalayout = "e-m:e-p270: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/tmp5nd10dlu.c' source_filename = "/tmp/tmp5nd10dlu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.addrinfo = type { i32, i32, i32, i32 } @AF_UNSPEC = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @IPPROTO_TCP = dso_local global i32 0, align 4 @AI_PASSIVE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"gai: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @prepare_addrinfo_tcp(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.addrinfo, align 4 %9 = alloca ptr, align 8 %10 = 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 %11 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 16) %12 = load i32, ptr @AF_UNSPEC, align 4 %13 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 3 store i32 %12, ptr %13, align 4 %14 = load i32, ptr @SOCK_STREAM, align 4 %15 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 2 store i32 %14, ptr %15, align 4 %16 = load i32, ptr @IPPROTO_TCP, align 4 %17 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 1 store i32 %16, ptr %17, align 4 %18 = load i32, ptr @AI_PASSIVE, align 4 %19 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 0 store i32 %18, ptr %19, align 4 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %6, align 8 %22 = call i32 @getaddrinfo(ptr noundef %20, ptr noundef %21, ptr noundef %8, ptr noundef %9) store i32 %22, ptr %10, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %33 24: ; preds = %3 %25 = load ptr, ptr %7, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %27, label %32 27: ; preds = %24 %28 = load ptr, ptr %7, align 8 %29 = load i32, ptr %10, align 4 %30 = call ptr @gai_strerror(i32 noundef %29) %31 = call i32 @sprintf(ptr noundef %28, ptr noundef @.str, ptr noundef %30) br label %32 32: ; preds = %27, %24 store ptr null, ptr %4, align 8 br label %35 33: ; preds = %3 %34 = load ptr, ptr %9, align 8 store ptr %34, ptr %4, align 8 br label %35 35: ; preds = %33, %32 %36 = load ptr, ptr %4, align 8 ret ptr %36 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @gai_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/tmp5nd10dlu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.addrinfo = type { i32, i32, i32, i32 } @AF_UNSPEC = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @IPPROTO_TCP = dso_local global i32 0, align 4 @AI_PASSIVE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"gai: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @prepare_addrinfo_tcp(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.addrinfo, align 4 %9 = alloca ptr, align 8 %10 = 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 %11 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 16) %12 = load i32, ptr @AF_UNSPEC, align 4 %13 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 3 store i32 %12, ptr %13, align 4 %14 = load i32, ptr @SOCK_STREAM, align 4 %15 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 2 store i32 %14, ptr %15, align 4 %16 = load i32, ptr @IPPROTO_TCP, align 4 %17 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 1 store i32 %16, ptr %17, align 4 %18 = load i32, ptr @AI_PASSIVE, align 4 %19 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 0 store i32 %18, ptr %19, align 4 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %6, align 8 %22 = call i32 @getaddrinfo(ptr noundef %20, ptr noundef %21, ptr noundef %8, ptr noundef %9) store i32 %22, ptr %10, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %33 24: ; preds = %3 %25 = load ptr, ptr %7, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %27, label %32 27: ; preds = %24 %28 = load ptr, ptr %7, align 8 %29 = load i32, ptr %10, align 4 %30 = call ptr @gai_strerror(i32 noundef %29) %31 = call i32 @sprintf(ptr noundef %28, ptr noundef @.str, ptr noundef %30) br label %32 32: ; preds = %27, %24 store ptr null, ptr %4, align 8 br label %35 33: ; preds = %3 %34 = load ptr, ptr %9, align 8 store ptr %34, ptr %4, align 8 br label %35 35: ; preds = %33, %32 %36 = load ptr, ptr %4, align 8 ret ptr %36 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @gai_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/tmpl1txvgjn.c' source_filename = "/tmp/tmpl1txvgjn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @REG_EXTENDED = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @re_strcmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @assert(ptr noundef %8) %10 = load ptr, ptr %5, align 8 %11 = call i32 @assert(ptr noundef %10) %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr @REG_EXTENDED, align 4 %14 = call i64 @regcomp(ptr noundef %6, ptr noundef %12, i32 noundef %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %2 store i32 -1, ptr %3, align 4 br label %22 17: ; preds = %2 %18 = load ptr, ptr %4, align 8 %19 = call i32 @regexec(ptr noundef %6, ptr noundef %18, i32 noundef 0, ptr noundef null, i32 noundef 0) store i32 %19, ptr %7, align 4 %20 = call i32 @regfree(ptr noundef %6) %21 = load i32, ptr %7, align 4 store i32 %21, ptr %3, align 4 br label %22 22: ; preds = %17, %16 %23 = load i32, ptr %3, align 4 ret i32 %23 } declare i32 @assert(ptr noundef) #1 declare i64 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @regexec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @regfree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl1txvgjn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @REG_EXTENDED = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @re_strcmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @assert(ptr noundef %8) %10 = load ptr, ptr %5, align 8 %11 = call i32 @assert(ptr noundef %10) %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr @REG_EXTENDED, align 4 %14 = call i64 @regcomp(ptr noundef %6, ptr noundef %12, i32 noundef %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %2 store i32 -1, ptr %3, align 4 br label %22 17: ; preds = %2 %18 = load ptr, ptr %4, align 8 %19 = call i32 @regexec(ptr noundef %6, ptr noundef %18, i32 noundef 0, ptr noundef null, i32 noundef 0) store i32 %19, ptr %7, align 4 %20 = call i32 @regfree(ptr noundef %6) %21 = load i32, ptr %7, align 4 store i32 %21, ptr %3, align 4 br label %22 22: ; preds = %17, %16 %23 = load i32, ptr %3, align 4 ret i32 %23 } declare i32 @assert(ptr noundef) #1 declare i64 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @regexec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @regfree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf8j7ao5d.c' source_filename = "/tmp/tmpf8j7ao5d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slow_within3f(ptr noundef %0, ptr noundef %1, float noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store float %2, ptr %7, align 4 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds float, ptr %11, i64 0 %13 = load float, ptr %12, align 4 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds float, ptr %14, i64 0 %16 = load float, ptr %15, align 4 %17 = fsub float %13, %16 store float %17, ptr %8, align 4 %18 = load float, ptr %8, align 4 %19 = call float @fabs(float noundef %18) %20 = load float, ptr %7, align 4 %21 = fcmp ogt float %19, %20 br i1 %21, label %22, label %23 22: ; preds = %3 store i32 0, ptr %4, align 4 br label %64 23: ; preds = %3 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds float, ptr %24, i64 1 %26 = load float, ptr %25, align 4 %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds float, ptr %27, i64 1 %29 = load float, ptr %28, align 4 %30 = fsub float %26, %29 store float %30, ptr %9, align 4 %31 = load float, ptr %9, align 4 %32 = call float @fabs(float noundef %31) %33 = load float, ptr %7, align 4 %34 = fcmp ogt float %32, %33 br i1 %34, label %35, label %36 35: ; preds = %23 store i32 0, ptr %4, align 4 br label %64 36: ; preds = %23 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds float, ptr %37, i64 2 %39 = load float, ptr %38, align 4 %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds float, ptr %40, i64 2 %42 = load float, ptr %41, align 4 %43 = fsub float %39, %42 store float %43, ptr %10, align 4 %44 = load float, ptr %10, align 4 %45 = call float @fabs(float noundef %44) %46 = load float, ptr %7, align 4 %47 = fcmp ogt float %45, %46 br i1 %47, label %48, label %49 48: ; preds = %36 store i32 0, ptr %4, align 4 br label %64 49: ; preds = %36 %50 = load float, ptr %8, align 4 %51 = load float, ptr %8, align 4 %52 = load float, ptr %9, align 4 %53 = load float, ptr %9, align 4 %54 = fmul float %52, %53 %55 = call float @llvm.fmuladd.f32(float %50, float %51, float %54) %56 = load float, ptr %10, align 4 %57 = load float, ptr %10, align 4 %58 = call float @llvm.fmuladd.f32(float %56, float %57, float %55) %59 = load float, ptr %7, align 4 %60 = load float, ptr %7, align 4 %61 = fmul float %59, %60 %62 = fcmp ole float %58, %61 %63 = zext i1 %62 to i32 store i32 %63, ptr %4, align 4 br label %64 64: ; preds = %49, %48, %35, %22 %65 = load i32, ptr %4, align 4 ret i32 %65 } declare float @fabs(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf8j7ao5d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @slow_within3f(ptr noundef %0, ptr noundef %1, float noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store float %2, ptr %7, align 4 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds float, ptr %11, i64 0 %13 = load float, ptr %12, align 4 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds float, ptr %14, i64 0 %16 = load float, ptr %15, align 4 %17 = fsub float %13, %16 store float %17, ptr %8, align 4 %18 = load float, ptr %8, align 4 %19 = call float @fabs(float noundef %18) %20 = load float, ptr %7, align 4 %21 = fcmp ogt float %19, %20 br i1 %21, label %22, label %23 22: ; preds = %3 store i32 0, ptr %4, align 4 br label %64 23: ; preds = %3 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds float, ptr %24, i64 1 %26 = load float, ptr %25, align 4 %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds float, ptr %27, i64 1 %29 = load float, ptr %28, align 4 %30 = fsub float %26, %29 store float %30, ptr %9, align 4 %31 = load float, ptr %9, align 4 %32 = call float @fabs(float noundef %31) %33 = load float, ptr %7, align 4 %34 = fcmp ogt float %32, %33 br i1 %34, label %35, label %36 35: ; preds = %23 store i32 0, ptr %4, align 4 br label %64 36: ; preds = %23 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds float, ptr %37, i64 2 %39 = load float, ptr %38, align 4 %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds float, ptr %40, i64 2 %42 = load float, ptr %41, align 4 %43 = fsub float %39, %42 store float %43, ptr %10, align 4 %44 = load float, ptr %10, align 4 %45 = call float @fabs(float noundef %44) %46 = load float, ptr %7, align 4 %47 = fcmp ogt float %45, %46 br i1 %47, label %48, label %49 48: ; preds = %36 store i32 0, ptr %4, align 4 br label %64 49: ; preds = %36 %50 = load float, ptr %8, align 4 %51 = load float, ptr %8, align 4 %52 = load float, ptr %9, align 4 %53 = load float, ptr %9, align 4 %54 = fmul float %52, %53 %55 = call float @llvm.fmuladd.f32(float %50, float %51, float %54) %56 = load float, ptr %10, align 4 %57 = load float, ptr %10, align 4 %58 = call float @llvm.fmuladd.f32(float %56, float %57, float %55) %59 = load float, ptr %7, align 4 %60 = load float, ptr %7, align 4 %61 = fmul float %59, %60 %62 = fcmp ole float %58, %61 %63 = zext i1 %62 to i32 store i32 %63, ptr %4, align 4 br label %64 64: ; preds = %49, %48, %35, %22 %65 = load i32, ptr %4, align 4 ret i32 %65 } declare float @fabs(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplfjcy5cd.c' source_filename = "/tmp/tmplfjcy5cd.c" target datalayout = "e-m:e-p270: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 @LLONG_MAX = dso_local global i64 0, align 8 @LLONG_MIN = dso_local global i64 0, align 8 @ERANGE = dso_local global i32 0, align 4 @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dspd_strtoi64(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 ptr, align 8 %8 = alloca i64, align 8 %9 = 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 ptr null, ptr %7, align 8 store i32 0, ptr @errno, align 4 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %6, align 4 %12 = call i64 @strtoll(ptr noundef %10, ptr noundef %7, i32 noundef %11) store i64 %12, ptr %8, align 8 %13 = load i32, ptr @errno, align 4 %14 = sub nsw i32 0, %13 store i32 %14, ptr %9, align 4 %15 = load i64, ptr %8, align 8 %16 = load i64, ptr @LLONG_MAX, align 8 %17 = icmp eq i64 %15, %16 br i1 %17, label %22, label %18 18: ; preds = %3 %19 = load i64, ptr %8, align 8 %20 = load i64, ptr @LLONG_MIN, align 8 %21 = icmp eq i64 %19, %20 br i1 %21, label %22, label %27 22: ; preds = %18, %3 %23 = load i32, ptr %9, align 4 %24 = load i32, ptr @ERANGE, align 4 %25 = sub nsw i32 0, %24 %26 = icmp eq i32 %23, %25 br i1 %26, label %68, label %27 27: ; preds = %22, %18 %28 = load i64, ptr %8, align 8 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %35 30: ; preds = %27 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr @EINVAL, align 4 %33 = sub nsw i32 0, %32 %34 = icmp eq i32 %31, %33 br i1 %34, label %68, label %35 35: ; preds = %30, %27 %36 = load ptr, ptr %4, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 0 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %60 41: ; preds = %35 %42 = load ptr, ptr %7, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 0 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %60 47: ; preds = %41 %48 = load i32, ptr %9, align 4 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %60 50: ; preds = %47 %51 = load ptr, ptr %7, align 8 %52 = load ptr, ptr %4, align 8 %53 = icmp eq ptr %51, %52 br i1 %53, label %54, label %57 54: ; preds = %50 %55 = load i64, ptr %8, align 8 %56 = icmp eq i64 %55, 0 br i1 %56, label %60, label %57 57: ; preds = %54, %50 %58 = load i64, ptr %8, align 8 %59 = load ptr, ptr %5, align 8 store i64 %58, ptr %59, align 8 br label %67 60: ; preds = %54, %47, %41, %35 %61 = load i32, ptr %9, align 4 %62 = icmp eq i32 %61, 0 br i1 %62, label %63, label %66 63: ; preds = %60 %64 = load i32, ptr @ERANGE, align 4 %65 = sub nsw i32 0, %64 store i32 %65, ptr %9, align 4 br label %66 66: ; preds = %63, %60 br label %67 67: ; preds = %66, %57 br label %75 68: ; preds = %30, %22 %69 = load i32, ptr %9, align 4 %70 = icmp eq i32 %69, 0 br i1 %70, label %71, label %74 71: ; preds = %68 %72 = load i32, ptr @ERANGE, align 4 %73 = sub nsw i32 0, %72 store i32 %73, ptr %9, align 4 br label %74 74: ; preds = %71, %68 br label %75 75: ; preds = %74, %67 %76 = load i32, ptr %9, align 4 ret i32 %76 } declare i64 @strtoll(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/tmplfjcy5cd.c" target datalayout = "e-m:e-p270: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 @LLONG_MAX = dso_local global i64 0, align 8 @LLONG_MIN = dso_local global i64 0, align 8 @ERANGE = dso_local global i32 0, align 4 @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dspd_strtoi64(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 ptr, align 8 %8 = alloca i64, align 8 %9 = 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 ptr null, ptr %7, align 8 store i32 0, ptr @errno, align 4 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %6, align 4 %12 = call i64 @strtoll(ptr noundef %10, ptr noundef %7, i32 noundef %11) store i64 %12, ptr %8, align 8 %13 = load i32, ptr @errno, align 4 %14 = sub nsw i32 0, %13 store i32 %14, ptr %9, align 4 %15 = load i64, ptr %8, align 8 %16 = load i64, ptr @LLONG_MAX, align 8 %17 = icmp eq i64 %15, %16 br i1 %17, label %22, label %18 18: ; preds = %3 %19 = load i64, ptr %8, align 8 %20 = load i64, ptr @LLONG_MIN, align 8 %21 = icmp eq i64 %19, %20 br i1 %21, label %22, label %27 22: ; preds = %18, %3 %23 = load i32, ptr %9, align 4 %24 = load i32, ptr @ERANGE, align 4 %25 = sub nsw i32 0, %24 %26 = icmp eq i32 %23, %25 br i1 %26, label %68, label %27 27: ; preds = %22, %18 %28 = load i64, ptr %8, align 8 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %35 30: ; preds = %27 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr @EINVAL, align 4 %33 = sub nsw i32 0, %32 %34 = icmp eq i32 %31, %33 br i1 %34, label %68, label %35 35: ; preds = %30, %27 %36 = load ptr, ptr %4, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 0 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %60 41: ; preds = %35 %42 = load ptr, ptr %7, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 0 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %60 47: ; preds = %41 %48 = load i32, ptr %9, align 4 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %60 50: ; preds = %47 %51 = load ptr, ptr %7, align 8 %52 = load ptr, ptr %4, align 8 %53 = icmp eq ptr %51, %52 br i1 %53, label %54, label %57 54: ; preds = %50 %55 = load i64, ptr %8, align 8 %56 = icmp eq i64 %55, 0 br i1 %56, label %60, label %57 57: ; preds = %54, %50 %58 = load i64, ptr %8, align 8 %59 = load ptr, ptr %5, align 8 store i64 %58, ptr %59, align 8 br label %67 60: ; preds = %54, %47, %41, %35 %61 = load i32, ptr %9, align 4 %62 = icmp eq i32 %61, 0 br i1 %62, label %63, label %66 63: ; preds = %60 %64 = load i32, ptr @ERANGE, align 4 %65 = sub nsw i32 0, %64 store i32 %65, ptr %9, align 4 br label %66 66: ; preds = %63, %60 br label %67 67: ; preds = %66, %57 br label %75 68: ; preds = %30, %22 %69 = load i32, ptr %9, align 4 %70 = icmp eq i32 %69, 0 br i1 %70, label %71, label %74 71: ; preds = %68 %72 = load i32, ptr @ERANGE, align 4 %73 = sub nsw i32 0, %72 store i32 %73, ptr %9, align 4 br label %74 74: ; preds = %71, %68 br label %75 75: ; preds = %74, %67 %76 = load i32, ptr %9, align 4 ret i32 %76 } declare i64 @strtoll(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/tmpivbjob1w.c' source_filename = "/tmp/tmpivbjob1w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [240 x i8] c"/****************************************************************************/\0A/* File pervasives.h. */ \0A/****************************************************************************/\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"#ifndef PERVASIVES_H\0A#define PERVASIVES_H\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [136 x i8] c"#include \22../simulator/mctypes.h\22 //to be changed \0A#include \22../simulator/dataformats.h\22 //to be changed \0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @C_mkFixedBegH() #0 { %1 = alloca ptr, align 8 %2 = call i64 @strlen(ptr noundef @.str) %3 = call i64 @strlen(ptr noundef @.str.1) %4 = add nsw i64 %2, %3 %5 = call i64 @strlen(ptr noundef @.str.2) %6 = add nsw i64 %4, %5 %7 = call ptr @UTIL_mallocStr(i64 noundef %6) store ptr %7, ptr %1, align 8 %8 = load ptr, ptr %1, align 8 %9 = call i32 @strcpy(ptr noundef %8, ptr noundef @.str) %10 = load ptr, ptr %1, align 8 %11 = call i32 @strcat(ptr noundef %10, ptr noundef @.str.1) %12 = load ptr, ptr %1, align 8 %13 = call i32 @strcat(ptr noundef %12, ptr noundef @.str.2) %14 = load ptr, ptr %1, align 8 ret ptr %14 } declare ptr @UTIL_mallocStr(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, 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/tmpivbjob1w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [240 x i8] c"/****************************************************************************/\0A/* File pervasives.h. */ \0A/****************************************************************************/\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"#ifndef PERVASIVES_H\0A#define PERVASIVES_H\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [136 x i8] c"#include \22../simulator/mctypes.h\22 //to be changed \0A#include \22../simulator/dataformats.h\22 //to be changed \0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @C_mkFixedBegH() #0 { %1 = alloca ptr, align 8 %2 = call i64 @strlen(ptr noundef @.str) %3 = call i64 @strlen(ptr noundef @.str.1) %4 = add nsw i64 %2, %3 %5 = call i64 @strlen(ptr noundef @.str.2) %6 = add nsw i64 %4, %5 %7 = call ptr @UTIL_mallocStr(i64 noundef %6) store ptr %7, ptr %1, align 8 %8 = load ptr, ptr %1, align 8 %9 = call i32 @strcpy(ptr noundef %8, ptr noundef @.str) %10 = load ptr, ptr %1, align 8 %11 = call i32 @strcat(ptr noundef %10, ptr noundef @.str.1) %12 = load ptr, ptr %1, align 8 %13 = call i32 @strcat(ptr noundef %12, ptr noundef @.str.2) %14 = load ptr, ptr %1, align 8 ret ptr %14 } declare ptr @UTIL_mallocStr(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, 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/tmpoyaisijy.c' source_filename = "/tmp/tmpoyaisijy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Can read now .. give it a moment though\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @read_event(i32 noundef %0, i16 noundef signext %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i16, align 2 %6 = alloca ptr, align 8 %7 = alloca [80 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i16 %1, ptr %5, align 2 store ptr %2, ptr %6, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 @sleep(i32 noundef 5) %12 = load i32, ptr %4, align 4 %13 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %14 = call i32 @read(i32 noundef %12, ptr noundef %13, i32 noundef 80) store i32 %14, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %3 %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %3 store i32 0, ptr %9, align 4 br label %20 20: ; preds = %32, %19 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %35 24: ; preds = %20 %25 = load i32, ptr %9, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = and i32 %29, 255 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30) br label %32 32: ; preds = %24 %33 = load i32, ptr %9, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %9, align 4 br label %20, !llvm.loop !6 35: ; preds = %20 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoyaisijy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Can read now .. give it a moment though\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @read_event(i32 noundef %0, i16 noundef signext %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i16, align 2 %6 = alloca ptr, align 8 %7 = alloca [80 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i16 %1, ptr %5, align 2 store ptr %2, ptr %6, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 @sleep(i32 noundef 5) %12 = load i32, ptr %4, align 4 %13 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %14 = call i32 @read(i32 noundef %12, ptr noundef %13, i32 noundef 80) store i32 %14, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %3 %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %3 store i32 0, ptr %9, align 4 %20 = load i32, ptr %9, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %37 .lr.ph: ; preds = %19 br label %23 23: ; preds = %.lr.ph, %31 %24 = load i32, ptr %9, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = and i32 %28, 255 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %29) br label %31 31: ; preds = %23 %32 = load i32, ptr %9, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %9, align 4 %34 = load i32, ptr %9, align 4 %35 = load i32, ptr %8, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %19 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp5uts_efa.c' source_filename = "/tmp/tmp5uts_efa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @error() #0 { %1 = call i32 @exit(i32 noundef 1) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5uts_efa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @error() #0 { %1 = call i32 @exit(i32 noundef 1) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp69vwf4q.c' source_filename = "/tmp/tmpp69vwf4q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpyI(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 br label %9 9: ; preds = %19, %3 %10 = load i64, ptr %6, align 8 %11 = icmp ugt i64 %10, 0 br i1 %11, label %12, label %17 12: ; preds = %9 %13 = load ptr, ptr %5, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br label %17 17: ; preds = %12, %9 %18 = phi i1 [ false, %9 ], [ %16, %12 ] br i1 %18, label %19, label %27 19: ; preds = %17 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %5, align 8 %22 = load i8, ptr %20, align 1 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %7, align 8 store i8 %22, ptr %23, align 1 %25 = load i64, ptr %6, align 8 %26 = add i64 %25, -1 store i64 %26, ptr %6, align 8 br label %9, !llvm.loop !6 27: ; preds = %17 br label %28 28: ; preds = %31, %27 %29 = load i64, ptr %6, align 8 %30 = icmp ugt i64 %29, 0 br i1 %30, label %31, label %36 31: ; preds = %28 %32 = load ptr, ptr %7, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %7, align 8 store i8 0, ptr %32, align 1 %34 = load i64, ptr %6, align 8 %35 = add i64 %34, -1 store i64 %35, ptr %6, align 8 br label %28, !llvm.loop !8 36: ; preds = %28 %37 = load ptr, ptr %4, align 8 ret ptr %37 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpp69vwf4q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpyI(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 br label %9 9: ; preds = %19, %3 %10 = load i64, ptr %6, align 8 %11 = icmp ugt i64 %10, 0 br i1 %11, label %12, label %17 12: ; preds = %9 %13 = load ptr, ptr %5, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br label %17 17: ; preds = %12, %9 %18 = phi i1 [ false, %9 ], [ %16, %12 ] br i1 %18, label %19, label %27 19: ; preds = %17 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %5, align 8 %22 = load i8, ptr %20, align 1 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %7, align 8 store i8 %22, ptr %23, align 1 %25 = load i64, ptr %6, align 8 %26 = add i64 %25, -1 store i64 %26, ptr %6, align 8 br label %9, !llvm.loop !6 27: ; preds = %17 %28 = load i64, ptr %6, align 8 %29 = icmp ugt i64 %28, 0 br i1 %29, label %.lr.ph, label %37 .lr.ph: ; preds = %27 br label %30 30: ; preds = %.lr.ph, %30 %31 = load ptr, ptr %7, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %7, align 8 store i8 0, ptr %31, align 1 %33 = load i64, ptr %6, align 8 %34 = add i64 %33, -1 store i64 %34, ptr %6, align 8 %35 = load i64, ptr %6, align 8 %36 = icmp ugt i64 %35, 0 br i1 %36, label %30, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %30 br label %37 37: ; preds = %._crit_edge, %27 %38 = load ptr, ptr %4, align 8 ret ptr %38 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpq6dgb39g.c' source_filename = "/tmp/tmpq6dgb39g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef 0, i32 noundef 1) %3 = call i32 @foo(i32 noundef 11, i32 noundef 1) %4 = call i32 @foo(i32 noundef 21, i32 noundef 0) %5 = call i32 @foo(i32 noundef 41, i32 noundef 0) ret i32 0 } declare i32 @foo(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/tmpq6dgb39g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef 0, i32 noundef 1) %3 = call i32 @foo(i32 noundef 11, i32 noundef 1) %4 = call i32 @foo(i32 noundef 21, i32 noundef 0) %5 = call i32 @foo(i32 noundef 41, i32 noundef 0) ret i32 0 } declare i32 @foo(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/tmpigizpzzp.c' source_filename = "/tmp/tmpigizpzzp.c" target datalayout = "e-m:e-p270: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.message = private unnamed_addr constant [76 x i8] c"Sp S rkn kcuon zoyzvo grkd droi gkxdon, droi gyven rkfocksn pckcdob rybcoc.\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [76 x i8], align 16 %3 = 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.message, i64 76, i1 false) store i32 1, ptr %3, align 4 br label %4 4: ; preds = %11, %0 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 25 br i1 %6, label %7, label %14 7: ; preds = %4 %8 = getelementptr inbounds [76 x i8], ptr %2, i64 0, i64 0 %9 = load i32, ptr %3, align 4 %10 = call i32 @caesar(ptr noundef %8, i32 noundef %9) br label %11 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 br label %4, !llvm.loop !6 14: ; preds = %4 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @caesar(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/tmpigizpzzp.c" target datalayout = "e-m:e-p270: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.message = private unnamed_addr constant [76 x i8] c"Sp S rkn kcuon zoyzvo grkd droi gkxdon, droi gyven rkfocksn pckcdob rybcoc.\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [76 x i8], align 16 %3 = 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.message, i64 76, i1 false) store i32 1, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 25 br i1 %5, label %.lr.ph, label %15 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %10 %7 = getelementptr inbounds [76 x i8], ptr %2, i64 0, i64 0 %8 = load i32, ptr %3, align 4 %9 = call i32 @caesar(ptr noundef %7, i32 noundef %8) br label %10 10: ; preds = %6 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %13, 25 br i1 %14, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %0 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @caesar(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/tmp7vycf1n0.c' source_filename = "/tmp/tmp7vycf1n0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"f1 begins\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"f1 returns\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @f1() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @f2() %3 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @f2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7vycf1n0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"f1 begins\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"f1 returns\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @f1() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @f2() %3 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @f2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpofy2uwsb.c' source_filename = "/tmp/tmpofy2uwsb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s [FILE]\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i8 0, 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 i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %7, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %16 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 @printf(ptr noundef @.str, ptr noundef %14) store i32 1, ptr %3, align 4 br label %96 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i32 1 store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %18, align 8 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.1) store ptr %20, ptr %6, align 8 br label %21 21: ; preds = %83, %16 %22 = load ptr, ptr %6, align 8 %23 = call signext i8 @getc(ptr noundef %22) store i8 %23, ptr %8, align 1 %24 = sext i8 %23 to i32 %25 = load i8, ptr @EOF, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %24, %26 br i1 %27, label %28, label %90 28: ; preds = %21 %29 = load i8, ptr %8, align 1 %30 = sext i8 %29 to i32 %31 = icmp sge i32 %30, 97 br i1 %31, label %32, label %41 32: ; preds = %28 %33 = load i8, ptr %8, align 1 %34 = sext i8 %33 to i32 %35 = icmp sle i32 %34, 102 br i1 %35, label %36, label %41 36: ; preds = %32 %37 = load i8, ptr %8, align 1 %38 = sext i8 %37 to i32 %39 = add nsw i32 %38, 20 %40 = trunc i32 %39 to i8 store i8 %40, ptr %8, align 1 br label %83 41: ; preds = %32, %28 %42 = load i8, ptr %8, align 1 %43 = sext i8 %42 to i32 %44 = icmp sge i32 %43, 103 br i1 %44, label %45, label %54 45: ; preds = %41 %46 = load i8, ptr %8, align 1 %47 = sext i8 %46 to i32 %48 = icmp sle i32 %47, 109 br i1 %48, label %49, label %54 49: ; preds = %45 %50 = load i8, ptr %8, align 1 %51 = sext i8 %50 to i32 %52 = add nsw i32 %51, 7 %53 = trunc i32 %52 to i8 store i8 %53, ptr %8, align 1 br label %82 54: ; preds = %45, %41 %55 = load i8, ptr %8, align 1 %56 = sext i8 %55 to i32 %57 = icmp sge i32 %56, 110 br i1 %57, label %58, label %67 58: ; preds = %54 %59 = load i8, ptr %8, align 1 %60 = sext i8 %59 to i32 %61 = icmp sle i32 %60, 116 br i1 %61, label %62, label %67 62: ; preds = %58 %63 = load i8, ptr %8, align 1 %64 = sext i8 %63 to i32 %65 = sub nsw i32 %64, 7 %66 = trunc i32 %65 to i8 store i8 %66, ptr %8, align 1 br label %81 67: ; preds = %58, %54 %68 = load i8, ptr %8, align 1 %69 = sext i8 %68 to i32 %70 = icmp sge i32 %69, 117 br i1 %70, label %71, label %80 71: ; preds = %67 %72 = load i8, ptr %8, align 1 %73 = sext i8 %72 to i32 %74 = icmp sle i32 %73, 122 br i1 %74, label %75, label %80 75: ; preds = %71 %76 = load i8, ptr %8, align 1 %77 = sext i8 %76 to i32 %78 = sub nsw i32 %77, 20 %79 = trunc i32 %78 to i8 store i8 %79, ptr %8, align 1 br label %80 80: ; preds = %75, %71, %67 br label %81 81: ; preds = %80, %62 br label %82 82: ; preds = %81, %49 br label %83 83: ; preds = %82, %36 %84 = load i8, ptr %8, align 1 %85 = call i32 @putchar(i8 noundef signext %84) %86 = load i8, ptr %8, align 1 %87 = sext i8 %86 to i32 %88 = icmp eq i32 %87, 10 %89 = zext i1 %88 to i32 store i32 %89, ptr %7, align 4 br label %21, !llvm.loop !6 90: ; preds = %21 %91 = load i32, ptr %7, align 4 %92 = icmp ne i32 %91, 0 br i1 %92, label %95, label %93 93: ; preds = %90 %94 = call i32 @putchar(i8 noundef signext 10) br label %95 95: ; preds = %93, %90 store i32 0, ptr %3, align 4 br label %96 96: ; preds = %95, %11 %97 = load i32, ptr %3, align 4 ret i32 %97 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare signext i8 @getc(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpofy2uwsb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s [FILE]\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i8 0, 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 i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %7, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %16 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 @printf(ptr noundef @.str, ptr noundef %14) store i32 1, ptr %3, align 4 br label %101 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i32 1 store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %18, align 8 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.1) store ptr %20, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = call signext i8 @getc(ptr noundef %21) store i8 %22, ptr %8, align 1 %23 = sext i8 %22 to i32 %24 = load i8, ptr @EOF, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %23, %25 br i1 %26, label %.lr.ph, label %95 .lr.ph: ; preds = %16 br label %27 27: ; preds = %.lr.ph, %82 %28 = load i8, ptr %8, align 1 %29 = sext i8 %28 to i32 %30 = icmp sge i32 %29, 97 br i1 %30, label %31, label %40 31: ; preds = %27 %32 = load i8, ptr %8, align 1 %33 = sext i8 %32 to i32 %34 = icmp sle i32 %33, 102 br i1 %34, label %35, label %40 35: ; preds = %31 %36 = load i8, ptr %8, align 1 %37 = sext i8 %36 to i32 %38 = add nsw i32 %37, 20 %39 = trunc i32 %38 to i8 store i8 %39, ptr %8, align 1 br label %82 40: ; preds = %31, %27 %41 = load i8, ptr %8, align 1 %42 = sext i8 %41 to i32 %43 = icmp sge i32 %42, 103 br i1 %43, label %44, label %53 44: ; preds = %40 %45 = load i8, ptr %8, align 1 %46 = sext i8 %45 to i32 %47 = icmp sle i32 %46, 109 br i1 %47, label %48, label %53 48: ; preds = %44 %49 = load i8, ptr %8, align 1 %50 = sext i8 %49 to i32 %51 = add nsw i32 %50, 7 %52 = trunc i32 %51 to i8 store i8 %52, ptr %8, align 1 br label %81 53: ; preds = %44, %40 %54 = load i8, ptr %8, align 1 %55 = sext i8 %54 to i32 %56 = icmp sge i32 %55, 110 br i1 %56, label %57, label %66 57: ; preds = %53 %58 = load i8, ptr %8, align 1 %59 = sext i8 %58 to i32 %60 = icmp sle i32 %59, 116 br i1 %60, label %61, label %66 61: ; preds = %57 %62 = load i8, ptr %8, align 1 %63 = sext i8 %62 to i32 %64 = sub nsw i32 %63, 7 %65 = trunc i32 %64 to i8 store i8 %65, ptr %8, align 1 br label %80 66: ; preds = %57, %53 %67 = load i8, ptr %8, align 1 %68 = sext i8 %67 to i32 %69 = icmp sge i32 %68, 117 br i1 %69, label %70, label %79 70: ; preds = %66 %71 = load i8, ptr %8, align 1 %72 = sext i8 %71 to i32 %73 = icmp sle i32 %72, 122 br i1 %73, label %74, label %79 74: ; preds = %70 %75 = load i8, ptr %8, align 1 %76 = sext i8 %75 to i32 %77 = sub nsw i32 %76, 20 %78 = trunc i32 %77 to i8 store i8 %78, ptr %8, align 1 br label %79 79: ; preds = %74, %70, %66 br label %80 80: ; preds = %79, %61 br label %81 81: ; preds = %80, %48 br label %82 82: ; preds = %81, %35 %83 = load i8, ptr %8, align 1 %84 = call i32 @putchar(i8 noundef signext %83) %85 = load i8, ptr %8, align 1 %86 = sext i8 %85 to i32 %87 = icmp eq i32 %86, 10 %88 = zext i1 %87 to i32 store i32 %88, ptr %7, align 4 %89 = load ptr, ptr %6, align 8 %90 = call signext i8 @getc(ptr noundef %89) store i8 %90, ptr %8, align 1 %91 = sext i8 %90 to i32 %92 = load i8, ptr @EOF, align 1 %93 = sext i8 %92 to i32 %94 = icmp ne i32 %91, %93 br i1 %94, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %82 br label %95 95: ; preds = %._crit_edge, %16 %96 = load i32, ptr %7, align 4 %97 = icmp ne i32 %96, 0 br i1 %97, label %100, label %98 98: ; preds = %95 %99 = call i32 @putchar(i8 noundef signext 10) br label %100 100: ; preds = %98, %95 store i32 0, ptr %3, align 4 br label %101 101: ; preds = %100, %11 %102 = load i32, ptr %3, align 4 ret i32 %102 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare signext i8 @getc(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"}
; ModuleID = '/tmp/tmp9r7csuyn.c' source_filename = "/tmp/tmp9r7csuyn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calcKs(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = call double @pow(i32 noundef 2, i32 noundef 32) store double %6, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %23, %1 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 64 br i1 %9, label %10, label %26 10: ; preds = %7 %11 = load i32, ptr %5, align 4 %12 = add nsw i32 1, %11 %13 = call i32 @sin(i32 noundef %12) %14 = call double @fabs(i32 noundef %13) store double %14, ptr %3, align 8 %15 = load double, ptr %3, align 8 %16 = load double, ptr %4, align 8 %17 = fmul double %15, %16 %18 = fptoui double %17 to i32 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 store i32 %18, ptr %22, align 4 br label %23 23: ; preds = %10 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 br label %7, !llvm.loop !6 26: ; preds = %7 %27 = load ptr, ptr %2, align 8 ret ptr %27 } declare double @pow(i32 noundef, i32 noundef) #1 declare double @fabs(i32 noundef) #1 declare i32 @sin(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/tmp9r7csuyn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calcKs(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = call double @pow(i32 noundef 2, i32 noundef 32) store double %6, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 64 br i1 %8, label %.lr.ph, label %27 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %22 %10 = load i32, ptr %5, align 4 %11 = add nsw i32 1, %10 %12 = call i32 @sin(i32 noundef %11) %13 = call double @fabs(i32 noundef %12) store double %13, ptr %3, align 8 %14 = load double, ptr %3, align 8 %15 = load double, ptr %4, align 8 %16 = fmul double %14, %15 %17 = fptoui double %16 to i32 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 store i32 %17, ptr %21, align 4 br label %22 22: ; preds = %9 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %25, 64 br i1 %26, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %1 %28 = load ptr, ptr %2, align 8 ret ptr %28 } declare double @pow(i32 noundef, i32 noundef) #1 declare double @fabs(i32 noundef) #1 declare i32 @sin(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/tmpswh96q8a.c' source_filename = "/tmp/tmpswh96q8a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %8, align 8 br label %11 11: ; preds = %25, %3 %12 = load i64, ptr %6, align 8 %13 = add i64 %12, -1 store i64 %13, ptr %6, align 8 %14 = icmp ne i64 %12, 0 br i1 %14, label %15, label %23 15: ; preds = %11 %16 = load ptr, ptr %7, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %7, align 8 %18 = load i8, ptr %16, align 1 %19 = load ptr, ptr %8, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %8, align 8 store i8 %18, ptr %19, align 1 %21 = zext i8 %18 to i32 %22 = icmp ne i32 %21, 0 br label %23 23: ; preds = %15, %11 %24 = phi i1 [ false, %11 ], [ %22, %15 ] br i1 %24, label %25, label %26 25: ; preds = %23 br label %11, !llvm.loop !6 26: ; preds = %23 %27 = load ptr, ptr %4, align 8 ret ptr %27 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpswh96q8a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %8, align 8 br label %11 11: ; preds = %23, %3 %12 = load i64, ptr %6, align 8 %13 = add i64 %12, -1 store i64 %13, ptr %6, align 8 %14 = icmp ne i64 %12, 0 br i1 %14, label %15, label %23 15: ; preds = %11 %16 = load ptr, ptr %7, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %7, align 8 %18 = load i8, ptr %16, align 1 %19 = load ptr, ptr %8, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %8, align 8 store i8 %18, ptr %19, align 1 %21 = zext i8 %18 to i32 %22 = icmp ne i32 %21, 0 br label %23 23: ; preds = %15, %11 %24 = phi i1 [ false, %11 ], [ %22, %15 ] br i1 %24, label %11, label %25, !llvm.loop !6 25: ; preds = %23 %26 = load ptr, ptr %4, align 8 ret ptr %26 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpp6ft8vxk.c' source_filename = "/tmp/tmpp6ft8vxk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SPI_CS_HIGH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @SPI_setCSActiveHigh(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @SPI_getMode(i32 noundef %5) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %1 store i32 -1, ptr %2, align 4 br label %16 10: ; preds = %1 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr @SPI_CS_HIGH, align 4 %14 = or i32 %12, %13 %15 = call i32 @SPI_setMode(i32 noundef %11, i32 noundef %14) store i32 %15, ptr %2, align 4 br label %16 16: ; preds = %10, %9 %17 = load i32, ptr %2, align 4 ret i32 %17 } declare i32 @SPI_getMode(i32 noundef) #1 declare i32 @SPI_setMode(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/tmpp6ft8vxk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SPI_CS_HIGH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @SPI_setCSActiveHigh(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @SPI_getMode(i32 noundef %5) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %1 store i32 -1, ptr %2, align 4 br label %16 10: ; preds = %1 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr @SPI_CS_HIGH, align 4 %14 = or i32 %12, %13 %15 = call i32 @SPI_setMode(i32 noundef %11, i32 noundef %14) store i32 %15, ptr %2, align 4 br label %16 16: ; preds = %10, %9 %17 = load i32, ptr %2, align 4 ret i32 %17 } declare i32 @SPI_getMode(i32 noundef) #1 declare i32 @SPI_setMode(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/tmp7qe9skl_.c' source_filename = "/tmp/tmp7qe9skl_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1..1\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"hello\00", align 1 @.str.2 = private unnamed_addr constant [6 x i32] [i32 104, i32 101, i32 108, i32 108, i32 111, i32 0], align 4 @.str.3 = private unnamed_addr constant [5 x i32] [i32 104, i32 101, i32 108, i32 108, i32 0], align 4 @LC_CTYPE = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [12 x i8] c"ja_JP.eucJP\00", align 1 @MB_CUR_MAX = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [8 x i8] c"\A3\C1 B \A3\C3\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"ok 1 - mbsrtowcs()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [128 x i8], align 16 %7 = alloca [128 x i32], align 16 %8 = alloca ptr, align 8 %9 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = call i32 @printf(ptr noundef @.str) %11 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %12 = call i32 @memset(ptr noundef %11, i32 noundef 204, i32 noundef 128) %13 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %14 = call i32 @strcpy(ptr noundef %13, ptr noundef @.str.1) %15 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %16 = call i32 @wmemset(ptr noundef %15, i32 noundef 52428, i32 noundef 128) %17 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 store ptr %17, ptr %8, align 8 %18 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 1) %19 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %20 = call i32 @mbsrtowcs(ptr noundef %19, ptr noundef %8, i32 noundef 128, ptr noundef %9) %21 = icmp eq i32 %20, 5 %22 = zext i1 %21 to i32 %23 = call i32 @assert(i32 noundef %22) %24 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %25 = call i64 @wcscmp(ptr noundef %24, ptr noundef @.str.2) %26 = icmp eq i64 %25, 0 %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) %29 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 6 %30 = load i32, ptr %29, align 8 %31 = icmp eq i32 %30, 52428 %32 = zext i1 %31 to i32 %33 = call i32 @assert(i32 noundef %32) %34 = load ptr, ptr %8, align 8 %35 = icmp eq ptr %34, null %36 = zext i1 %35 to i32 %37 = call i32 @assert(i32 noundef %36) %38 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %39 = call i32 @memset(ptr noundef %38, i32 noundef 204, i32 noundef 128) %40 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %41 = call i32 @strcpy(ptr noundef %40, ptr noundef @.str.1) %42 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %43 = call i32 @wmemset(ptr noundef %42, i32 noundef 52428, i32 noundef 128) %44 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 store ptr %44, ptr %8, align 8 %45 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 1) %46 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %47 = call i32 @mbsrtowcs(ptr noundef %46, ptr noundef %8, i32 noundef 4, ptr noundef %9) %48 = icmp eq i32 %47, 4 %49 = zext i1 %48 to i32 %50 = call i32 @assert(i32 noundef %49) %51 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %52 = call i64 @wmemcmp(ptr noundef %51, ptr noundef @.str.3, i32 noundef 4) %53 = icmp eq i64 %52, 0 %54 = zext i1 %53 to i32 %55 = call i32 @assert(i32 noundef %54) %56 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 5 %57 = load i32, ptr %56, align 4 %58 = icmp eq i32 %57, 52428 %59 = zext i1 %58 to i32 %60 = call i32 @assert(i32 noundef %59) %61 = load ptr, ptr %8, align 8 %62 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %63 = getelementptr inbounds i8, ptr %62, i64 4 %64 = icmp eq ptr %61, %63 %65 = zext i1 %64 to i32 %66 = call i32 @assert(i32 noundef %65) %67 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %68 = call i32 @memset(ptr noundef %67, i32 noundef 204, i32 noundef 128) %69 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %70 = call i32 @strcpy(ptr noundef %69, ptr noundef @.str.1) %71 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 store ptr %71, ptr %8, align 8 %72 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 1) %73 = call i32 @mbsrtowcs(ptr noundef null, ptr noundef %8, i32 noundef 0, ptr noundef %9) %74 = icmp eq i32 %73, 5 %75 = zext i1 %74 to i32 %76 = call i32 @assert(i32 noundef %75) %77 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %78 = call i32 @memset(ptr noundef %77, i32 noundef 204, i32 noundef 128) %79 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %80 = call i32 @strcpy(ptr noundef %79, ptr noundef @.str.1) %81 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %82 = call i32 @wmemset(ptr noundef %81, i32 noundef 52428, i32 noundef 128) %83 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 store ptr %83, ptr %8, align 8 %84 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %85 = call i32 @mbsrtowcs(ptr noundef %84, ptr noundef %8, i32 noundef 128, ptr noundef null) %86 = icmp eq i32 %85, 5 %87 = zext i1 %86 to i32 %88 = call i32 @assert(i32 noundef %87) %89 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %90 = call i64 @wcscmp(ptr noundef %89, ptr noundef @.str.2) %91 = icmp eq i64 %90, 0 %92 = zext i1 %91 to i32 %93 = call i32 @assert(i32 noundef %92) %94 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 6 %95 = load i32, ptr %94, align 8 %96 = icmp eq i32 %95, 52428 %97 = zext i1 %96 to i32 %98 = call i32 @assert(i32 noundef %97) %99 = load ptr, ptr %8, align 8 %100 = icmp eq ptr %99, null %101 = zext i1 %100 to i32 %102 = call i32 @assert(i32 noundef %101) %103 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %104 = call i32 @memset(ptr noundef %103, i32 noundef 204, i32 noundef 128) %105 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %106 = call i32 @strcpy(ptr noundef %105, ptr noundef @.str.1) %107 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 store ptr %107, ptr %8, align 8 %108 = call i32 @mbsrtowcs(ptr noundef null, ptr noundef %8, i32 noundef 0, ptr noundef null) %109 = icmp eq i32 %108, 5 %110 = zext i1 %109 to i32 %111 = call i32 @assert(i32 noundef %110) %112 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %113 = call i32 @memset(ptr noundef %112, i32 noundef 204, i32 noundef 128) %114 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 store i8 0, ptr %114, align 16 %115 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 store ptr %115, ptr %8, align 8 %116 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 1) %117 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %118 = call i32 @wmemset(ptr noundef %117, i32 noundef 52428, i32 noundef 128) %119 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %120 = call i32 @mbsrtowcs(ptr noundef %119, ptr noundef %8, i32 noundef 1, ptr noundef %9) %121 = icmp eq i32 %120, 0 %122 = zext i1 %121 to i32 %123 = call i32 @assert(i32 noundef %122) %124 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %125 = load i32, ptr %124, align 16 %126 = icmp eq i32 %125, 0 %127 = zext i1 %126 to i32 %128 = call i32 @assert(i32 noundef %127) %129 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 1 %130 = load i32, ptr %129, align 4 %131 = icmp eq i32 %130, 52428 %132 = zext i1 %131 to i32 %133 = call i32 @assert(i32 noundef %132) %134 = load ptr, ptr %8, align 8 %135 = icmp eq ptr %134, null %136 = zext i1 %135 to i32 %137 = call i32 @assert(i32 noundef %136) %138 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %139 = call i32 @memset(ptr noundef %138, i32 noundef 204, i32 noundef 128) %140 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %141 = call i32 @strcpy(ptr noundef %140, ptr noundef @.str.1) %142 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 store ptr %142, ptr %8, align 8 %143 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 1) %144 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %145 = call i32 @wmemset(ptr noundef %144, i32 noundef 52428, i32 noundef 128) %146 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %147 = call i32 @mbsrtowcs(ptr noundef %146, ptr noundef %8, i32 noundef 0, ptr noundef %9) %148 = icmp eq i32 %147, 0 %149 = zext i1 %148 to i32 %150 = call i32 @assert(i32 noundef %149) %151 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %152 = load i32, ptr %151, align 16 %153 = icmp eq i32 %152, 52428 %154 = zext i1 %153 to i32 %155 = call i32 @assert(i32 noundef %154) %156 = load ptr, ptr %8, align 8 %157 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %158 = icmp eq ptr %156, %157 %159 = zext i1 %158 to i32 %160 = call i32 @assert(i32 noundef %159) %161 = load i32, ptr @LC_CTYPE, align 4 %162 = call i32 @setlocale(i32 noundef %161, ptr noundef @.str.4) %163 = call i64 @strcmp(i32 noundef %162, ptr noundef @.str.4) %164 = icmp eq i64 %163, 0 %165 = zext i1 %164 to i32 %166 = call i32 @assert(i32 noundef %165) %167 = load i32, ptr @MB_CUR_MAX, align 4 %168 = icmp sgt i32 %167, 1 %169 = zext i1 %168 to i32 %170 = call i32 @assert(i32 noundef %169) %171 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %172 = call i32 @memset(ptr noundef %171, i32 noundef 204, i32 noundef 128) %173 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %174 = call i32 @strcpy(ptr noundef %173, ptr noundef @.str.5) %175 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 store ptr %175, ptr %8, align 8 %176 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 1) %177 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %178 = call i32 @wmemset(ptr noundef %177, i32 noundef 52428, i32 noundef 128) %179 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %180 = call i32 @mbsrtowcs(ptr noundef %179, ptr noundef %8, i32 noundef 128, ptr noundef %9) %181 = icmp eq i32 %180, 5 %182 = zext i1 %181 to i32 %183 = call i32 @assert(i32 noundef %182) %184 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %185 = load i32, ptr %184, align 16 %186 = icmp eq i32 %185, 41921 br i1 %186, label %187, label %207 187: ; preds = %2 %188 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 1 %189 = load i32, ptr %188, align 4 %190 = icmp eq i32 %189, 32 br i1 %190, label %191, label %207 191: ; preds = %187 %192 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 2 %193 = load i32, ptr %192, align 8 %194 = icmp eq i32 %193, 66 br i1 %194, label %195, label %207 195: ; preds = %191 %196 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 3 %197 = load i32, ptr %196, align 4 %198 = icmp eq i32 %197, 32 br i1 %198, label %199, label %207 199: ; preds = %195 %200 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 4 %201 = load i32, ptr %200, align 16 %202 = icmp eq i32 %201, 41923 br i1 %202, label %203, label %207 203: ; preds = %199 %204 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 5 %205 = load i32, ptr %204, align 4 %206 = icmp eq i32 %205, 0 br label %207 207: ; preds = %203, %199, %195, %191, %187, %2 %208 = phi i1 [ false, %199 ], [ false, %195 ], [ false, %191 ], [ false, %187 ], [ false, %2 ], [ %206, %203 ] %209 = zext i1 %208 to i32 %210 = call i32 @assert(i32 noundef %209) %211 = load ptr, ptr %8, align 8 %212 = icmp eq ptr %211, null %213 = zext i1 %212 to i32 %214 = call i32 @assert(i32 noundef %213) %215 = call i32 @printf(ptr noundef @.str.6) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @wmemset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @mbsrtowcs(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @wcscmp(ptr noundef, ptr noundef) #1 declare i64 @wmemcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strcmp(i32 noundef, ptr noundef) #1 declare i32 @setlocale(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/tmp7qe9skl_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1..1\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"hello\00", align 1 @.str.2 = private unnamed_addr constant [6 x i32] [i32 104, i32 101, i32 108, i32 108, i32 111, i32 0], align 4 @.str.3 = private unnamed_addr constant [5 x i32] [i32 104, i32 101, i32 108, i32 108, i32 0], align 4 @LC_CTYPE = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [12 x i8] c"ja_JP.eucJP\00", align 1 @MB_CUR_MAX = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [8 x i8] c"\A3\C1 B \A3\C3\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"ok 1 - mbsrtowcs()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [128 x i8], align 16 %7 = alloca [128 x i32], align 16 %8 = alloca ptr, align 8 %9 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = call i32 @printf(ptr noundef @.str) %11 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %12 = call i32 @memset(ptr noundef %11, i32 noundef 204, i32 noundef 128) %13 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %14 = call i32 @strcpy(ptr noundef %13, ptr noundef @.str.1) %15 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %16 = call i32 @wmemset(ptr noundef %15, i32 noundef 52428, i32 noundef 128) %17 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 store ptr %17, ptr %8, align 8 %18 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 1) %19 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %20 = call i32 @mbsrtowcs(ptr noundef %19, ptr noundef %8, i32 noundef 128, ptr noundef %9) %21 = icmp eq i32 %20, 5 %22 = zext i1 %21 to i32 %23 = call i32 @assert(i32 noundef %22) %24 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %25 = call i64 @wcscmp(ptr noundef %24, ptr noundef @.str.2) %26 = icmp eq i64 %25, 0 %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) %29 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 6 %30 = load i32, ptr %29, align 8 %31 = icmp eq i32 %30, 52428 %32 = zext i1 %31 to i32 %33 = call i32 @assert(i32 noundef %32) %34 = load ptr, ptr %8, align 8 %35 = icmp eq ptr %34, null %36 = zext i1 %35 to i32 %37 = call i32 @assert(i32 noundef %36) %38 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %39 = call i32 @memset(ptr noundef %38, i32 noundef 204, i32 noundef 128) %40 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %41 = call i32 @strcpy(ptr noundef %40, ptr noundef @.str.1) %42 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %43 = call i32 @wmemset(ptr noundef %42, i32 noundef 52428, i32 noundef 128) %44 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 store ptr %44, ptr %8, align 8 %45 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 1) %46 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %47 = call i32 @mbsrtowcs(ptr noundef %46, ptr noundef %8, i32 noundef 4, ptr noundef %9) %48 = icmp eq i32 %47, 4 %49 = zext i1 %48 to i32 %50 = call i32 @assert(i32 noundef %49) %51 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %52 = call i64 @wmemcmp(ptr noundef %51, ptr noundef @.str.3, i32 noundef 4) %53 = icmp eq i64 %52, 0 %54 = zext i1 %53 to i32 %55 = call i32 @assert(i32 noundef %54) %56 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 5 %57 = load i32, ptr %56, align 4 %58 = icmp eq i32 %57, 52428 %59 = zext i1 %58 to i32 %60 = call i32 @assert(i32 noundef %59) %61 = load ptr, ptr %8, align 8 %62 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %63 = getelementptr inbounds i8, ptr %62, i64 4 %64 = icmp eq ptr %61, %63 %65 = zext i1 %64 to i32 %66 = call i32 @assert(i32 noundef %65) %67 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %68 = call i32 @memset(ptr noundef %67, i32 noundef 204, i32 noundef 128) %69 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %70 = call i32 @strcpy(ptr noundef %69, ptr noundef @.str.1) %71 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 store ptr %71, ptr %8, align 8 %72 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 1) %73 = call i32 @mbsrtowcs(ptr noundef null, ptr noundef %8, i32 noundef 0, ptr noundef %9) %74 = icmp eq i32 %73, 5 %75 = zext i1 %74 to i32 %76 = call i32 @assert(i32 noundef %75) %77 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %78 = call i32 @memset(ptr noundef %77, i32 noundef 204, i32 noundef 128) %79 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %80 = call i32 @strcpy(ptr noundef %79, ptr noundef @.str.1) %81 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %82 = call i32 @wmemset(ptr noundef %81, i32 noundef 52428, i32 noundef 128) %83 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 store ptr %83, ptr %8, align 8 %84 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %85 = call i32 @mbsrtowcs(ptr noundef %84, ptr noundef %8, i32 noundef 128, ptr noundef null) %86 = icmp eq i32 %85, 5 %87 = zext i1 %86 to i32 %88 = call i32 @assert(i32 noundef %87) %89 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %90 = call i64 @wcscmp(ptr noundef %89, ptr noundef @.str.2) %91 = icmp eq i64 %90, 0 %92 = zext i1 %91 to i32 %93 = call i32 @assert(i32 noundef %92) %94 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 6 %95 = load i32, ptr %94, align 8 %96 = icmp eq i32 %95, 52428 %97 = zext i1 %96 to i32 %98 = call i32 @assert(i32 noundef %97) %99 = load ptr, ptr %8, align 8 %100 = icmp eq ptr %99, null %101 = zext i1 %100 to i32 %102 = call i32 @assert(i32 noundef %101) %103 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %104 = call i32 @memset(ptr noundef %103, i32 noundef 204, i32 noundef 128) %105 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %106 = call i32 @strcpy(ptr noundef %105, ptr noundef @.str.1) %107 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 store ptr %107, ptr %8, align 8 %108 = call i32 @mbsrtowcs(ptr noundef null, ptr noundef %8, i32 noundef 0, ptr noundef null) %109 = icmp eq i32 %108, 5 %110 = zext i1 %109 to i32 %111 = call i32 @assert(i32 noundef %110) %112 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %113 = call i32 @memset(ptr noundef %112, i32 noundef 204, i32 noundef 128) %114 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 store i8 0, ptr %114, align 16 %115 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 store ptr %115, ptr %8, align 8 %116 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 1) %117 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %118 = call i32 @wmemset(ptr noundef %117, i32 noundef 52428, i32 noundef 128) %119 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %120 = call i32 @mbsrtowcs(ptr noundef %119, ptr noundef %8, i32 noundef 1, ptr noundef %9) %121 = icmp eq i32 %120, 0 %122 = zext i1 %121 to i32 %123 = call i32 @assert(i32 noundef %122) %124 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %125 = load i32, ptr %124, align 16 %126 = icmp eq i32 %125, 0 %127 = zext i1 %126 to i32 %128 = call i32 @assert(i32 noundef %127) %129 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 1 %130 = load i32, ptr %129, align 4 %131 = icmp eq i32 %130, 52428 %132 = zext i1 %131 to i32 %133 = call i32 @assert(i32 noundef %132) %134 = load ptr, ptr %8, align 8 %135 = icmp eq ptr %134, null %136 = zext i1 %135 to i32 %137 = call i32 @assert(i32 noundef %136) %138 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %139 = call i32 @memset(ptr noundef %138, i32 noundef 204, i32 noundef 128) %140 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %141 = call i32 @strcpy(ptr noundef %140, ptr noundef @.str.1) %142 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 store ptr %142, ptr %8, align 8 %143 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 1) %144 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %145 = call i32 @wmemset(ptr noundef %144, i32 noundef 52428, i32 noundef 128) %146 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %147 = call i32 @mbsrtowcs(ptr noundef %146, ptr noundef %8, i32 noundef 0, ptr noundef %9) %148 = icmp eq i32 %147, 0 %149 = zext i1 %148 to i32 %150 = call i32 @assert(i32 noundef %149) %151 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %152 = load i32, ptr %151, align 16 %153 = icmp eq i32 %152, 52428 %154 = zext i1 %153 to i32 %155 = call i32 @assert(i32 noundef %154) %156 = load ptr, ptr %8, align 8 %157 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %158 = icmp eq ptr %156, %157 %159 = zext i1 %158 to i32 %160 = call i32 @assert(i32 noundef %159) %161 = load i32, ptr @LC_CTYPE, align 4 %162 = call i32 @setlocale(i32 noundef %161, ptr noundef @.str.4) %163 = call i64 @strcmp(i32 noundef %162, ptr noundef @.str.4) %164 = icmp eq i64 %163, 0 %165 = zext i1 %164 to i32 %166 = call i32 @assert(i32 noundef %165) %167 = load i32, ptr @MB_CUR_MAX, align 4 %168 = icmp sgt i32 %167, 1 %169 = zext i1 %168 to i32 %170 = call i32 @assert(i32 noundef %169) %171 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %172 = call i32 @memset(ptr noundef %171, i32 noundef 204, i32 noundef 128) %173 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %174 = call i32 @strcpy(ptr noundef %173, ptr noundef @.str.5) %175 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 store ptr %175, ptr %8, align 8 %176 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 1) %177 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %178 = call i32 @wmemset(ptr noundef %177, i32 noundef 52428, i32 noundef 128) %179 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %180 = call i32 @mbsrtowcs(ptr noundef %179, ptr noundef %8, i32 noundef 128, ptr noundef %9) %181 = icmp eq i32 %180, 5 %182 = zext i1 %181 to i32 %183 = call i32 @assert(i32 noundef %182) %184 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 0 %185 = load i32, ptr %184, align 16 %186 = icmp eq i32 %185, 41921 br i1 %186, label %187, label %207 187: ; preds = %2 %188 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 1 %189 = load i32, ptr %188, align 4 %190 = icmp eq i32 %189, 32 br i1 %190, label %191, label %207 191: ; preds = %187 %192 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 2 %193 = load i32, ptr %192, align 8 %194 = icmp eq i32 %193, 66 br i1 %194, label %195, label %207 195: ; preds = %191 %196 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 3 %197 = load i32, ptr %196, align 4 %198 = icmp eq i32 %197, 32 br i1 %198, label %199, label %207 199: ; preds = %195 %200 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 4 %201 = load i32, ptr %200, align 16 %202 = icmp eq i32 %201, 41923 br i1 %202, label %203, label %207 203: ; preds = %199 %204 = getelementptr inbounds [128 x i32], ptr %7, i64 0, i64 5 %205 = load i32, ptr %204, align 4 %206 = icmp eq i32 %205, 0 br label %207 207: ; preds = %203, %199, %195, %191, %187, %2 %208 = phi i1 [ false, %199 ], [ false, %195 ], [ false, %191 ], [ false, %187 ], [ false, %2 ], [ %206, %203 ] %209 = zext i1 %208 to i32 %210 = call i32 @assert(i32 noundef %209) %211 = load ptr, ptr %8, align 8 %212 = icmp eq ptr %211, null %213 = zext i1 %212 to i32 %214 = call i32 @assert(i32 noundef %213) %215 = call i32 @printf(ptr noundef @.str.6) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @wmemset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @mbsrtowcs(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @wcscmp(ptr noundef, ptr noundef) #1 declare i64 @wmemcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strcmp(i32 noundef, ptr noundef) #1 declare i32 @setlocale(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/tmpz1hd0595.c' source_filename = "/tmp/tmpz1hd0595.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @triangle(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) #0 { %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store i64 %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 store i64 %5, ptr %12, align 8 %13 = load i64, ptr %7, align 8 %14 = load i64, ptr %8, align 8 %15 = load i64, ptr %9, align 8 %16 = load i64, ptr %10, align 8 %17 = load i64, ptr %11, align 8 %18 = load i64, ptr %12, align 8 %19 = call i32 @Triangle168(i64 noundef %13, i64 noundef %14, i64 noundef %15, i64 noundef %16, i64 noundef %17, i64 noundef %18) ret void } declare i32 @Triangle168(i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz1hd0595.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @triangle(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) #0 { %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store i64 %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 store i64 %5, ptr %12, align 8 %13 = load i64, ptr %7, align 8 %14 = load i64, ptr %8, align 8 %15 = load i64, ptr %9, align 8 %16 = load i64, ptr %10, align 8 %17 = load i64, ptr %11, align 8 %18 = load i64, ptr %12, align 8 %19 = call i32 @Triangle168(i64 noundef %13, i64 noundef %14, i64 noundef %15, i64 noundef %16, i64 noundef %17, i64 noundef %18) ret void } declare i32 @Triangle168(i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptqux62g8.c' source_filename = "/tmp/tmptqux62g8.c" target datalayout = "e-m:e-p270: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/tmptqux62g8.c" target datalayout = "e-m:e-p270: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/tmpppe83033.c' source_filename = "/tmp/tmpppe83033.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @longshl(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 br label %9 9: ; preds = %80, %3 %10 = load i32, ptr %6, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %81 12: ; preds = %9 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %13, 8 br i1 %14, label %15, label %53 15: ; preds = %12 %16 = load i32, ptr %6, align 4 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 0 %19 = load i32, ptr %18, align 4 %20 = shl i32 %19, %16 store i32 %20, ptr %18, align 4 store i32 1, ptr %7, align 4 br label %21 21: ; preds = %49, %15 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %52 25: ; preds = %21 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 %30 = load i32, ptr %29, align 4 %31 = load i32, ptr %6, align 4 %32 = sub nsw i32 8, %31 %33 = ashr i32 %30, %32 store i32 %33, ptr %8, align 4 %34 = load i32, ptr %6, align 4 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %7, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 %40 = shl i32 %39, %34 store i32 %40, ptr %38, align 4 %41 = load i32, ptr %8, align 4 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %7, align 4 %44 = sub nsw i32 %43, 1 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %42, i64 %45 %47 = load i32, ptr %46, align 4 %48 = or i32 %47, %41 store i32 %48, ptr %46, align 4 br label %49 49: ; preds = %25 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %7, align 4 br label %21, !llvm.loop !6 52: ; preds = %21 store i32 0, ptr %6, align 4 br label %80 53: ; preds = %12 store i32 0, ptr %7, align 4 br label %54 54: ; preds = %70, %53 %55 = load i32, ptr %7, align 4 %56 = load i32, ptr %5, align 4 %57 = sub nsw i32 %56, 1 %58 = icmp slt i32 %55, %57 br i1 %58, label %59, label %73 59: ; preds = %54 %60 = load ptr, ptr %4, align 8 %61 = load i32, ptr %7, align 4 %62 = add nsw i32 %61, 1 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %60, i64 %63 %65 = load i32, ptr %64, align 4 %66 = load ptr, ptr %4, align 8 %67 = load i32, ptr %7, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i32, ptr %66, i64 %68 store i32 %65, ptr %69, align 4 br label %70 70: ; preds = %59 %71 = load i32, ptr %7, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %7, align 4 br label %54, !llvm.loop !8 73: ; preds = %54 %74 = load ptr, ptr %4, align 8 %75 = load i32, ptr %7, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %74, i64 %76 store i32 0, ptr %77, align 4 %78 = load i32, ptr %6, align 4 %79 = sub nsw i32 %78, 8 store i32 %79, ptr %6, align 4 br label %80 80: ; preds = %73, %52 br label %9, !llvm.loop !9 81: ; preds = %9 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpppe83033.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @longshl(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %.lr.ph5, label %87 .lr.ph5: ; preds = %3 br label %11 11: ; preds = %.lr.ph5, %84 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %12, 8 br i1 %13, label %14, label %54 14: ; preds = %11 %15 = load i32, ptr %6, align 4 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds i32, ptr %16, i64 0 %18 = load i32, ptr %17, align 4 %19 = shl i32 %18, %15 store i32 %19, ptr %17, align 4 store i32 1, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph2, label %53 .lr.ph2: ; preds = %14 br label %23 23: ; preds = %.lr.ph2, %47 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %7, 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 i32, ptr %6, align 4 %30 = sub nsw i32 8, %29 %31 = ashr i32 %28, %30 store i32 %31, ptr %8, align 4 %32 = load i32, ptr %6, align 4 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = shl i32 %37, %32 store i32 %38, ptr %36, align 4 %39 = load i32, ptr %8, align 4 %40 = load ptr, ptr %4, align 8 %41 = load i32, ptr %7, align 4 %42 = sub nsw i32 %41, 1 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %40, i64 %43 %45 = load i32, ptr %44, align 4 %46 = or i32 %45, %39 store i32 %46, ptr %44, align 4 br label %47 47: ; preds = %23 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %7, align 4 %50 = load i32, ptr %7, align 4 %51 = load i32, ptr %5, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %23, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %47 br label %53 53: ; preds = %._crit_edge3, %14 store i32 0, ptr %6, align 4 br label %84 54: ; preds = %11 store i32 0, ptr %7, align 4 %55 = load i32, ptr %7, align 4 %56 = load i32, ptr %5, align 4 %57 = sub nsw i32 %56, 1 %58 = icmp slt i32 %55, %57 br i1 %58, label %.lr.ph, label %77 .lr.ph: ; preds = %54 br label %59 59: ; preds = %.lr.ph, %70 %60 = load ptr, ptr %4, align 8 %61 = load i32, ptr %7, align 4 %62 = add nsw i32 %61, 1 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %60, i64 %63 %65 = load i32, ptr %64, align 4 %66 = load ptr, ptr %4, align 8 %67 = load i32, ptr %7, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i32, ptr %66, i64 %68 store i32 %65, ptr %69, align 4 br label %70 70: ; preds = %59 %71 = load i32, ptr %7, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %7, align 4 %73 = load i32, ptr %7, align 4 %74 = load i32, ptr %5, align 4 %75 = sub nsw i32 %74, 1 %76 = icmp slt i32 %73, %75 br i1 %76, label %59, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %70 br label %77 77: ; preds = %._crit_edge, %54 %78 = load ptr, ptr %4, align 8 %79 = load i32, ptr %7, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %78, i64 %80 store i32 0, ptr %81, align 4 %82 = load i32, ptr %6, align 4 %83 = sub nsw i32 %82, 8 store i32 %83, ptr %6, align 4 br label %84 84: ; preds = %77, %53 %85 = load i32, ptr %6, align 4 %86 = icmp sgt i32 %85, 0 br i1 %86, label %11, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %84 br label %87 87: ; preds = %._crit_edge6, %3 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmphei1e6ob.c' source_filename = "/tmp/tmphei1e6ob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_vRcFingerprintClose() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = call ptr @malloc(i32 noundef 100) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str, i32 noundef 4002) store i32 %5, ptr %1, align 4 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %1, align 4 %8 = call i32 @iDoRemoteFunc(ptr noundef %6, i32 noundef %7, i32 noundef 1) %9 = load ptr, ptr %2, align 8 %10 = call i32 @free(ptr noundef %9) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @iDoRemoteFunc(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphei1e6ob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_vRcFingerprintClose() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = call ptr @malloc(i32 noundef 100) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str, i32 noundef 4002) store i32 %5, ptr %1, align 4 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %1, align 4 %8 = call i32 @iDoRemoteFunc(ptr noundef %6, i32 noundef %7, i32 noundef 1) %9 = load ptr, ptr %2, align 8 %10 = call i32 @free(ptr noundef %9) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @iDoRemoteFunc(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvpejdzhf.c' source_filename = "/tmp/tmpvpejdzhf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @su_vza_and_vaa(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, 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 double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca [3 x double], align 16 %29 = alloca [3 x double], align 16 store double %0, ptr %9, align 8 store double %1, ptr %10, align 8 store double %2, ptr %11, align 8 store double %3, ptr %12, align 8 store double %4, ptr %13, align 8 store double %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 store double 0x40B8EA2B43958106, ptr %17, align 8 store double 0x40B8D49573EAB368, ptr %18, align 8 %30 = load double, ptr %9, align 8 %31 = fmul double %30, 0x3F91DF46A2529D39 %32 = call double @cos(double noundef %31) #3 store double %32, ptr %24, align 8 %33 = load double, ptr %9, align 8 %34 = fmul double %33, 0x3F91DF46A2529D39 %35 = call double @sin(double noundef %34) #3 store double %35, ptr %25, align 8 %36 = load double, ptr %10, align 8 %37 = fmul double %36, 0x3F91DF46A2529D39 %38 = call double @cos(double noundef %37) #3 store double %38, ptr %26, align 8 %39 = load double, ptr %10, align 8 %40 = fmul double %39, 0x3F91DF46A2529D39 %41 = call double @sin(double noundef %40) #3 store double %41, ptr %27, align 8 store double 0x3F7BAD3D046F6780, ptr %19, align 8 %42 = load double, ptr %19, align 8 %43 = load double, ptr %25, align 8 %44 = fmul double %42, %43 %45 = load double, ptr %25, align 8 %46 = fneg double %44 %47 = call double @llvm.fmuladd.f64(double %46, double %45, double 1.000000e+00) %48 = call double @sqrt(double noundef %47) #3 %49 = fdiv double 0x40B8EA2B43958106, %48 store double %49, ptr %20, align 8 %50 = load double, ptr %20, align 8 %51 = load double, ptr %11, align 8 %52 = fadd double %50, %51 %53 = load double, ptr %24, align 8 %54 = fmul double %52, %53 %55 = load double, ptr %26, align 8 %56 = fmul double %54, %55 store double %56, ptr %21, align 8 %57 = load double, ptr %20, align 8 %58 = load double, ptr %11, align 8 %59 = fadd double %57, %58 %60 = load double, ptr %24, align 8 %61 = fmul double %59, %60 %62 = load double, ptr %27, align 8 %63 = fmul double %61, %62 store double %63, ptr %22, align 8 %64 = load double, ptr %20, align 8 %65 = load double, ptr %11, align 8 %66 = call double @llvm.fmuladd.f64(double 0x3FEFC8A585F72131, double %64, double %65) %67 = load double, ptr %25, align 8 %68 = fmul double %66, %67 store double %68, ptr %23, align 8 %69 = load double, ptr %12, align 8 %70 = load double, ptr %21, align 8 %71 = fsub double %69, %70 %72 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0 store double %71, ptr %72, align 16 %73 = load double, ptr %13, align 8 %74 = load double, ptr %22, align 8 %75 = fsub double %73, %74 %76 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 1 store double %75, ptr %76, align 8 %77 = load double, ptr %14, align 8 %78 = load double, ptr %23, align 8 %79 = fsub double %77, %78 %80 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 2 store double %79, ptr %80, align 16 %81 = load double, ptr %25, align 8 %82 = fneg double %81 %83 = load double, ptr %26, align 8 %84 = fmul double %82, %83 %85 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0 %86 = load double, ptr %85, align 16 %87 = load double, ptr %25, align 8 %88 = fneg double %87 %89 = load double, ptr %27, align 8 %90 = fmul double %88, %89 %91 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 1 %92 = load double, ptr %91, align 8 %93 = fmul double %90, %92 %94 = call double @llvm.fmuladd.f64(double %84, double %86, double %93) %95 = load double, ptr %24, align 8 %96 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 2 %97 = load double, ptr %96, align 16 %98 = call double @llvm.fmuladd.f64(double %95, double %97, double %94) %99 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 0 store double %98, ptr %99, align 16 %100 = load double, ptr %27, align 8 %101 = fneg double %100 %102 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0 %103 = load double, ptr %102, align 16 %104 = load double, ptr %26, align 8 %105 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 1 %106 = load double, ptr %105, align 8 %107 = fmul double %104, %106 %108 = call double @llvm.fmuladd.f64(double %101, double %103, double %107) %109 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 1 store double %108, ptr %109, align 8 %110 = load double, ptr %24, align 8 %111 = load double, ptr %26, align 8 %112 = fmul double %110, %111 %113 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0 %114 = load double, ptr %113, align 16 %115 = load double, ptr %24, align 8 %116 = fneg double %115 %117 = load double, ptr %27, align 8 %118 = fmul double %116, %117 %119 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 1 %120 = load double, ptr %119, align 8 %121 = fmul double %118, %120 %122 = call double @llvm.fmuladd.f64(double %112, double %114, double %121) %123 = load double, ptr %25, align 8 %124 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 2 %125 = load double, ptr %124, align 16 %126 = call double @llvm.fmuladd.f64(double %123, double %125, double %122) %127 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 2 store double %126, ptr %127, align 16 %128 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 2 %129 = load double, ptr %128, align 16 %130 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 0 %131 = load double, ptr %130, align 16 %132 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 0 %133 = load double, ptr %132, align 16 %134 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 1 %135 = load double, ptr %134, align 8 %136 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 1 %137 = load double, ptr %136, align 8 %138 = fmul double %135, %137 %139 = call double @llvm.fmuladd.f64(double %131, double %133, double %138) %140 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 2 %141 = load double, ptr %140, align 16 %142 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 2 %143 = load double, ptr %142, align 16 %144 = call double @llvm.fmuladd.f64(double %141, double %143, double %139) %145 = call double @sqrt(double noundef %144) #3 %146 = fdiv double %129, %145 %147 = call double @acos(double noundef %146) #3 %148 = fmul double %147, 0x404CA5DC1A63C1F8 %149 = fptrunc double %148 to float %150 = load ptr, ptr %15, align 8 store float %149, ptr %150, align 4 %151 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 1 %152 = load double, ptr %151, align 8 %153 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 0 %154 = load double, ptr %153, align 16 %155 = fneg double %154 %156 = call double @atan2(double noundef %152, double noundef %155) #3 %157 = fmul double %156, 0x404CA5DC1A63C1F8 %158 = fptrunc double %157 to float %159 = load ptr, ptr %16, align 8 store float %158, ptr %159, align 4 %160 = load ptr, ptr %16, align 8 %161 = load float, ptr %160, align 4 %162 = fpext float %161 to double %163 = fcmp olt double %162, 0.000000e+00 br i1 %163, label %164, label %170 164: ; preds = %8 %165 = load ptr, ptr %16, align 8 %166 = load float, ptr %165, align 4 %167 = fpext float %166 to double %168 = fadd double %167, 3.600000e+02 %169 = fptrunc double %168 to float store float %169, ptr %165, align 4 br label %170 170: ; preds = %164, %8 ret i32 0 } ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @acos(double noundef) #1 ; Function Attrs: nounwind declare double @atan2(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvpejdzhf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @su_vza_and_vaa(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, 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 double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca [3 x double], align 16 %29 = alloca [3 x double], align 16 store double %0, ptr %9, align 8 store double %1, ptr %10, align 8 store double %2, ptr %11, align 8 store double %3, ptr %12, align 8 store double %4, ptr %13, align 8 store double %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 store double 0x40B8EA2B43958106, ptr %17, align 8 store double 0x40B8D49573EAB368, ptr %18, align 8 %30 = load double, ptr %9, align 8 %31 = fmul double %30, 0x3F91DF46A2529D39 %32 = call double @cos(double noundef %31) #3 store double %32, ptr %24, align 8 %33 = load double, ptr %9, align 8 %34 = fmul double %33, 0x3F91DF46A2529D39 %35 = call double @sin(double noundef %34) #3 store double %35, ptr %25, align 8 %36 = load double, ptr %10, align 8 %37 = fmul double %36, 0x3F91DF46A2529D39 %38 = call double @cos(double noundef %37) #3 store double %38, ptr %26, align 8 %39 = load double, ptr %10, align 8 %40 = fmul double %39, 0x3F91DF46A2529D39 %41 = call double @sin(double noundef %40) #3 store double %41, ptr %27, align 8 store double 0x3F7BAD3D046F6780, ptr %19, align 8 %42 = load double, ptr %19, align 8 %43 = load double, ptr %25, align 8 %44 = fmul double %42, %43 %45 = load double, ptr %25, align 8 %46 = fneg double %44 %47 = call double @llvm.fmuladd.f64(double %46, double %45, double 1.000000e+00) %48 = call double @sqrt(double noundef %47) #3 %49 = fdiv double 0x40B8EA2B43958106, %48 store double %49, ptr %20, align 8 %50 = load double, ptr %20, align 8 %51 = load double, ptr %11, align 8 %52 = fadd double %50, %51 %53 = load double, ptr %24, align 8 %54 = fmul double %52, %53 %55 = load double, ptr %26, align 8 %56 = fmul double %54, %55 store double %56, ptr %21, align 8 %57 = load double, ptr %20, align 8 %58 = load double, ptr %11, align 8 %59 = fadd double %57, %58 %60 = load double, ptr %24, align 8 %61 = fmul double %59, %60 %62 = load double, ptr %27, align 8 %63 = fmul double %61, %62 store double %63, ptr %22, align 8 %64 = load double, ptr %20, align 8 %65 = load double, ptr %11, align 8 %66 = call double @llvm.fmuladd.f64(double 0x3FEFC8A585F72131, double %64, double %65) %67 = load double, ptr %25, align 8 %68 = fmul double %66, %67 store double %68, ptr %23, align 8 %69 = load double, ptr %12, align 8 %70 = load double, ptr %21, align 8 %71 = fsub double %69, %70 %72 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0 store double %71, ptr %72, align 16 %73 = load double, ptr %13, align 8 %74 = load double, ptr %22, align 8 %75 = fsub double %73, %74 %76 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 1 store double %75, ptr %76, align 8 %77 = load double, ptr %14, align 8 %78 = load double, ptr %23, align 8 %79 = fsub double %77, %78 %80 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 2 store double %79, ptr %80, align 16 %81 = load double, ptr %25, align 8 %82 = fneg double %81 %83 = load double, ptr %26, align 8 %84 = fmul double %82, %83 %85 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0 %86 = load double, ptr %85, align 16 %87 = load double, ptr %25, align 8 %88 = fneg double %87 %89 = load double, ptr %27, align 8 %90 = fmul double %88, %89 %91 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 1 %92 = load double, ptr %91, align 8 %93 = fmul double %90, %92 %94 = call double @llvm.fmuladd.f64(double %84, double %86, double %93) %95 = load double, ptr %24, align 8 %96 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 2 %97 = load double, ptr %96, align 16 %98 = call double @llvm.fmuladd.f64(double %95, double %97, double %94) %99 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 0 store double %98, ptr %99, align 16 %100 = load double, ptr %27, align 8 %101 = fneg double %100 %102 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0 %103 = load double, ptr %102, align 16 %104 = load double, ptr %26, align 8 %105 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 1 %106 = load double, ptr %105, align 8 %107 = fmul double %104, %106 %108 = call double @llvm.fmuladd.f64(double %101, double %103, double %107) %109 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 1 store double %108, ptr %109, align 8 %110 = load double, ptr %24, align 8 %111 = load double, ptr %26, align 8 %112 = fmul double %110, %111 %113 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 0 %114 = load double, ptr %113, align 16 %115 = load double, ptr %24, align 8 %116 = fneg double %115 %117 = load double, ptr %27, align 8 %118 = fmul double %116, %117 %119 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 1 %120 = load double, ptr %119, align 8 %121 = fmul double %118, %120 %122 = call double @llvm.fmuladd.f64(double %112, double %114, double %121) %123 = load double, ptr %25, align 8 %124 = getelementptr inbounds [3 x double], ptr %28, i64 0, i64 2 %125 = load double, ptr %124, align 16 %126 = call double @llvm.fmuladd.f64(double %123, double %125, double %122) %127 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 2 store double %126, ptr %127, align 16 %128 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 2 %129 = load double, ptr %128, align 16 %130 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 0 %131 = load double, ptr %130, align 16 %132 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 0 %133 = load double, ptr %132, align 16 %134 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 1 %135 = load double, ptr %134, align 8 %136 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 1 %137 = load double, ptr %136, align 8 %138 = fmul double %135, %137 %139 = call double @llvm.fmuladd.f64(double %131, double %133, double %138) %140 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 2 %141 = load double, ptr %140, align 16 %142 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 2 %143 = load double, ptr %142, align 16 %144 = call double @llvm.fmuladd.f64(double %141, double %143, double %139) %145 = call double @sqrt(double noundef %144) #3 %146 = fdiv double %129, %145 %147 = call double @acos(double noundef %146) #3 %148 = fmul double %147, 0x404CA5DC1A63C1F8 %149 = fptrunc double %148 to float %150 = load ptr, ptr %15, align 8 store float %149, ptr %150, align 4 %151 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 1 %152 = load double, ptr %151, align 8 %153 = getelementptr inbounds [3 x double], ptr %29, i64 0, i64 0 %154 = load double, ptr %153, align 16 %155 = fneg double %154 %156 = call double @atan2(double noundef %152, double noundef %155) #3 %157 = fmul double %156, 0x404CA5DC1A63C1F8 %158 = fptrunc double %157 to float %159 = load ptr, ptr %16, align 8 store float %158, ptr %159, align 4 %160 = load ptr, ptr %16, align 8 %161 = load float, ptr %160, align 4 %162 = fpext float %161 to double %163 = fcmp olt double %162, 0.000000e+00 br i1 %163, label %164, label %170 164: ; preds = %8 %165 = load ptr, ptr %16, align 8 %166 = load float, ptr %165, align 4 %167 = fpext float %166 to double %168 = fadd double %167, 3.600000e+02 %169 = fptrunc double %168 to float store float %169, ptr %165, align 4 br label %170 170: ; preds = %164, %8 ret i32 0 } ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @acos(double noundef) #1 ; Function Attrs: nounwind declare double @atan2(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnxwoq072.c' source_filename = "/tmp/tmpnxwoq072.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel121nf_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 { %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 %39 = alloca ptr, align 8 %40 = alloca ptr, align 8 %41 = alloca ptr, align 8 %42 = alloca ptr, align 8 %43 = alloca ptr, align 8 %44 = alloca ptr, align 8 %45 = alloca ptr, align 8 %46 = alloca ptr, align 8 %47 = alloca ptr, align 8 %48 = alloca ptr, align 8 %49 = alloca ptr, align 8 %50 = alloca ptr, align 8 %51 = alloca ptr, align 8 %52 = alloca ptr, align 8 %53 = alloca ptr, align 8 %54 = alloca ptr, align 8 %55 = alloca ptr, align 8 %56 = alloca ptr, align 8 %57 = alloca ptr, align 8 %58 = alloca ptr, align 8 %59 = alloca ptr, align 8 %60 = alloca ptr, align 8 %61 = alloca ptr, align 8 %62 = alloca ptr, align 8 store ptr %0, ptr %32, align 8 store ptr %1, ptr %33, align 8 store ptr %2, ptr %34, align 8 store ptr %3, ptr %35, align 8 store ptr %4, ptr %36, align 8 store ptr %5, ptr %37, align 8 store ptr %6, ptr %38, align 8 store ptr %7, ptr %39, align 8 store ptr %8, ptr %40, align 8 store ptr %9, ptr %41, align 8 store ptr %10, ptr %42, align 8 store ptr %11, ptr %43, align 8 store ptr %12, ptr %44, align 8 store ptr %13, ptr %45, align 8 store ptr %14, ptr %46, align 8 store ptr %15, ptr %47, align 8 store ptr %16, ptr %48, align 8 store ptr %17, ptr %49, align 8 store ptr %18, ptr %50, align 8 store ptr %19, ptr %51, align 8 store ptr %20, ptr %52, align 8 store ptr %21, ptr %53, align 8 store ptr %22, ptr %54, align 8 store ptr %23, ptr %55, align 8 store ptr %24, ptr %56, align 8 store ptr %25, ptr %57, align 8 store ptr %26, ptr %58, align 8 store ptr %27, ptr %59, align 8 store ptr %28, ptr %60, align 8 store ptr %29, ptr %61, align 8 store ptr %30, ptr %62, align 8 %63 = load ptr, ptr %32, align 8 %64 = load ptr, ptr %33, align 8 %65 = load ptr, ptr %34, align 8 %66 = load ptr, ptr %35, align 8 %67 = load ptr, ptr %36, align 8 %68 = load ptr, ptr %37, align 8 %69 = load ptr, ptr %38, align 8 %70 = load ptr, ptr %39, align 8 %71 = load ptr, ptr %40, align 8 %72 = load ptr, ptr %41, align 8 %73 = load ptr, ptr %42, align 8 %74 = load ptr, ptr %43, align 8 %75 = load ptr, ptr %44, align 8 %76 = load ptr, ptr %45, align 8 %77 = load ptr, ptr %46, align 8 %78 = load ptr, ptr %47, align 8 %79 = load ptr, ptr %48, align 8 %80 = load ptr, ptr %49, align 8 %81 = load ptr, ptr %50, align 8 %82 = load ptr, ptr %51, align 8 %83 = load ptr, ptr %52, align 8 %84 = load ptr, ptr %53, align 8 %85 = load ptr, ptr %54, align 8 %86 = load ptr, ptr %55, align 8 %87 = load ptr, ptr %56, align 8 %88 = load ptr, ptr %57, align 8 %89 = load ptr, ptr %58, align 8 %90 = load ptr, ptr %59, align 8 %91 = load ptr, ptr %60, align 8 %92 = load ptr, ptr %61, align 8 %93 = load ptr, ptr %62, align 8 %94 = call i32 @f77dkernel121nf_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93) ret void } declare i32 @f77dkernel121nf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnxwoq072.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel121nf_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 { %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 %39 = alloca ptr, align 8 %40 = alloca ptr, align 8 %41 = alloca ptr, align 8 %42 = alloca ptr, align 8 %43 = alloca ptr, align 8 %44 = alloca ptr, align 8 %45 = alloca ptr, align 8 %46 = alloca ptr, align 8 %47 = alloca ptr, align 8 %48 = alloca ptr, align 8 %49 = alloca ptr, align 8 %50 = alloca ptr, align 8 %51 = alloca ptr, align 8 %52 = alloca ptr, align 8 %53 = alloca ptr, align 8 %54 = alloca ptr, align 8 %55 = alloca ptr, align 8 %56 = alloca ptr, align 8 %57 = alloca ptr, align 8 %58 = alloca ptr, align 8 %59 = alloca ptr, align 8 %60 = alloca ptr, align 8 %61 = alloca ptr, align 8 %62 = alloca ptr, align 8 store ptr %0, ptr %32, align 8 store ptr %1, ptr %33, align 8 store ptr %2, ptr %34, align 8 store ptr %3, ptr %35, align 8 store ptr %4, ptr %36, align 8 store ptr %5, ptr %37, align 8 store ptr %6, ptr %38, align 8 store ptr %7, ptr %39, align 8 store ptr %8, ptr %40, align 8 store ptr %9, ptr %41, align 8 store ptr %10, ptr %42, align 8 store ptr %11, ptr %43, align 8 store ptr %12, ptr %44, align 8 store ptr %13, ptr %45, align 8 store ptr %14, ptr %46, align 8 store ptr %15, ptr %47, align 8 store ptr %16, ptr %48, align 8 store ptr %17, ptr %49, align 8 store ptr %18, ptr %50, align 8 store ptr %19, ptr %51, align 8 store ptr %20, ptr %52, align 8 store ptr %21, ptr %53, align 8 store ptr %22, ptr %54, align 8 store ptr %23, ptr %55, align 8 store ptr %24, ptr %56, align 8 store ptr %25, ptr %57, align 8 store ptr %26, ptr %58, align 8 store ptr %27, ptr %59, align 8 store ptr %28, ptr %60, align 8 store ptr %29, ptr %61, align 8 store ptr %30, ptr %62, align 8 %63 = load ptr, ptr %32, align 8 %64 = load ptr, ptr %33, align 8 %65 = load ptr, ptr %34, align 8 %66 = load ptr, ptr %35, align 8 %67 = load ptr, ptr %36, align 8 %68 = load ptr, ptr %37, align 8 %69 = load ptr, ptr %38, align 8 %70 = load ptr, ptr %39, align 8 %71 = load ptr, ptr %40, align 8 %72 = load ptr, ptr %41, align 8 %73 = load ptr, ptr %42, align 8 %74 = load ptr, ptr %43, align 8 %75 = load ptr, ptr %44, align 8 %76 = load ptr, ptr %45, align 8 %77 = load ptr, ptr %46, align 8 %78 = load ptr, ptr %47, align 8 %79 = load ptr, ptr %48, align 8 %80 = load ptr, ptr %49, align 8 %81 = load ptr, ptr %50, align 8 %82 = load ptr, ptr %51, align 8 %83 = load ptr, ptr %52, align 8 %84 = load ptr, ptr %53, align 8 %85 = load ptr, ptr %54, align 8 %86 = load ptr, ptr %55, align 8 %87 = load ptr, ptr %56, align 8 %88 = load ptr, ptr %57, align 8 %89 = load ptr, ptr %58, align 8 %90 = load ptr, ptr %59, align 8 %91 = load ptr, ptr %60, align 8 %92 = load ptr, ptr %61, align 8 %93 = load ptr, ptr %62, align 8 %94 = call i32 @f77dkernel121nf_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93) ret void } declare i32 @f77dkernel121nf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpywftoumt.c' source_filename = "/tmp/tmpywftoumt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @asinh(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @__ocml_asinh_f64(double noundef %3) ret double %4 } declare double @__ocml_asinh_f64(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpywftoumt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @asinh(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @__ocml_asinh_f64(double noundef %3) ret double %4 } declare double @__ocml_asinh_f64(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu3hkxf5r.c' source_filename = "/tmp/tmpu3hkxf5r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_all() #0 { %1 = call i32 (...) @test_create_element() %2 = call i32 (...) @test_create_object() ret void } declare i32 @test_create_element(...) #1 declare i32 @test_create_object(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu3hkxf5r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_all() #0 { %1 = call i32 (...) @test_create_element() %2 = call i32 (...) @test_create_object() ret void } declare i32 @test_create_element(...) #1 declare i32 @test_create_object(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpybu20hdx.c' source_filename = "/tmp/tmpybu20hdx.c" target datalayout = "e-m:e-p270: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/tmpybu20hdx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_u5p0lwb.c' source_filename = "/tmp/tmp_u5p0lwb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_u5p0lwb.c" target datalayout = "e-m:e-p270: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/tmp2hgx7pfw.c' source_filename = "/tmp/tmp2hgx7pfw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"pad_len = %i\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"line.txt\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"zero_pad.txt\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"env.txt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 8445, ptr %6, align 4 store i32 0, ptr %7, align 4 store ptr null, ptr %9, align 8 store ptr null, ptr %10, align 8 store ptr null, ptr %11, align 8 store i32 0, ptr %12, align 4 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 %15, 8 %17 = trunc i64 %16 to i32 %18 = call i64 @malloc(i32 noundef %17) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %9, align 8 %20 = load i32, ptr %6, align 4 %21 = call i64 @power_two(i32 noundef %20, ptr noundef %8) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %2 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %8, align 4 br label %26 26: ; preds = %23, %2 %27 = load i32, ptr %8, align 4 %28 = call i32 @int_pow(i32 noundef 2, i32 noundef %27) store i32 %28, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = call i32 @printf(ptr noundef @.str, i32 noundef %29) %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = mul i64 %32, 8 %34 = trunc i64 %33 to i32 %35 = call i64 @malloc(i32 noundef %34) %36 = inttoptr i64 %35 to ptr store ptr %36, ptr %10, align 8 %37 = load i32, ptr %7, align 4 %38 = sext i32 %37 to i64 %39 = mul i64 %38, 8 %40 = trunc i64 %39 to i32 %41 = call i64 @malloc(i32 noundef %40) %42 = inttoptr i64 %41 to ptr store ptr %42, ptr %11, align 8 store double 1.250000e+08, ptr %13, align 8 %43 = load ptr, ptr %9, align 8 %44 = load i32, ptr %6, align 4 %45 = call i32 @load_line(ptr noundef %43, i32 noundef %44, ptr noundef @.str.1) %46 = load ptr, ptr %9, align 8 %47 = load ptr, ptr %10, align 8 %48 = load i32, ptr %6, align 4 %49 = load i32, ptr %7, align 4 %50 = call i32 @zero_padding(ptr noundef %46, ptr noundef %47, i32 noundef %48, i32 noundef %49, i32 noundef 1) %51 = load ptr, ptr %10, align 8 %52 = load i32, ptr %7, align 4 %53 = call i32 @write_file(ptr noundef %51, i32 noundef %52, ptr noundef @.str.2) %54 = load ptr, ptr %10, align 8 %55 = load ptr, ptr %11, align 8 %56 = load i32, ptr %7, align 4 %57 = load double, ptr %13, align 8 %58 = call i32 @envelope(ptr noundef %54, ptr noundef %55, i32 noundef %56, double noundef %57, double noundef 5.000000e+05, double noundef 5.500000e+06, i32 noundef 0) %59 = load ptr, ptr %11, align 8 %60 = load i32, ptr %7, align 4 %61 = call i32 @write_file(ptr noundef %59, i32 noundef %60, ptr noundef @.str.3) ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i64 @power_two(i32 noundef, ptr noundef) #1 declare i32 @int_pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @load_line(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @zero_padding(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @write_file(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @envelope(ptr noundef, ptr noundef, i32 noundef, double noundef, double noundef, double noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2hgx7pfw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"pad_len = %i\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"line.txt\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"zero_pad.txt\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"env.txt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 8445, ptr %6, align 4 store i32 0, ptr %7, align 4 store ptr null, ptr %9, align 8 store ptr null, ptr %10, align 8 store ptr null, ptr %11, align 8 store i32 0, ptr %12, align 4 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 %15, 8 %17 = trunc i64 %16 to i32 %18 = call i64 @malloc(i32 noundef %17) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %9, align 8 %20 = load i32, ptr %6, align 4 %21 = call i64 @power_two(i32 noundef %20, ptr noundef %8) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %2 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %8, align 4 br label %26 26: ; preds = %23, %2 %27 = load i32, ptr %8, align 4 %28 = call i32 @int_pow(i32 noundef 2, i32 noundef %27) store i32 %28, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = call i32 @printf(ptr noundef @.str, i32 noundef %29) %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = mul i64 %32, 8 %34 = trunc i64 %33 to i32 %35 = call i64 @malloc(i32 noundef %34) %36 = inttoptr i64 %35 to ptr store ptr %36, ptr %10, align 8 %37 = load i32, ptr %7, align 4 %38 = sext i32 %37 to i64 %39 = mul i64 %38, 8 %40 = trunc i64 %39 to i32 %41 = call i64 @malloc(i32 noundef %40) %42 = inttoptr i64 %41 to ptr store ptr %42, ptr %11, align 8 store double 1.250000e+08, ptr %13, align 8 %43 = load ptr, ptr %9, align 8 %44 = load i32, ptr %6, align 4 %45 = call i32 @load_line(ptr noundef %43, i32 noundef %44, ptr noundef @.str.1) %46 = load ptr, ptr %9, align 8 %47 = load ptr, ptr %10, align 8 %48 = load i32, ptr %6, align 4 %49 = load i32, ptr %7, align 4 %50 = call i32 @zero_padding(ptr noundef %46, ptr noundef %47, i32 noundef %48, i32 noundef %49, i32 noundef 1) %51 = load ptr, ptr %10, align 8 %52 = load i32, ptr %7, align 4 %53 = call i32 @write_file(ptr noundef %51, i32 noundef %52, ptr noundef @.str.2) %54 = load ptr, ptr %10, align 8 %55 = load ptr, ptr %11, align 8 %56 = load i32, ptr %7, align 4 %57 = load double, ptr %13, align 8 %58 = call i32 @envelope(ptr noundef %54, ptr noundef %55, i32 noundef %56, double noundef %57, double noundef 5.000000e+05, double noundef 5.500000e+06, i32 noundef 0) %59 = load ptr, ptr %11, align 8 %60 = load i32, ptr %7, align 4 %61 = call i32 @write_file(ptr noundef %59, i32 noundef %60, ptr noundef @.str.3) ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i64 @power_two(i32 noundef, ptr noundef) #1 declare i32 @int_pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @load_line(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @zero_padding(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @write_file(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @envelope(ptr noundef, ptr noundef, i32 noundef, double noundef, double noundef, double noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5w3rp65r.c' source_filename = "/tmp/tmp5w3rp65r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"(1;1)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %7, %0 %4 = load i32, ptr %1, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %4, %5 br i1 %6, label %7, label %11 7: ; preds = %3 %8 = call i32 @templ(ptr noundef @.str) %9 = load i32, ptr %1, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %1, align 4 br label %3, !llvm.loop !6 11: ; preds = %3 %12 = load i32, ptr %2, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %20 14: ; preds = %11 %15 = load i32, ptr %1, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp sle i32 %15, %16 %18 = zext i1 %17 to i32 %19 = call i32 @assert(i32 noundef %18) br label %20 20: ; preds = %14, %11 ret void } declare i32 @templ(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5w3rp65r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"(1;1)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %3, %4 br i1 %5, label %.lr.ph, label %13 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %6 %7 = call i32 @templ(ptr noundef @.str) %8 = load i32, ptr %1, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %1, align 4 %10 = load i32, ptr %1, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %13 13: ; preds = %._crit_edge, %0 %14 = load i32, ptr %2, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %22 16: ; preds = %13 %17 = load i32, ptr %1, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp sle i32 %17, %18 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) br label %22 22: ; preds = %16, %13 ret void } declare i32 @templ(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4rpnuo4h.c' source_filename = "/tmp/tmp4rpnuo4h.c" target datalayout = "e-m:e-p270: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/tmp4rpnuo4h.c" target datalayout = "e-m:e-p270: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"}