llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpdiq0lypw.c'
source_filename = "/tmp/tmpdiq0lypw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Listen error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @listen_socket(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 i64 @listen(i32 noundef %3, i32 noundef 5)
%5 = icmp slt i64 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @error(ptr noundef @.str)
br label %8
8: ; preds = %6, %1
ret void
}
declare i64 @listen(i32 noundef, i32 noundef) #1
declare i32 @error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdiq0lypw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Listen error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @listen_socket(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 i64 @listen(i32 noundef %3, i32 noundef 5)
%5 = icmp slt i64 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @error(ptr noundef @.str)
br label %8
8: ; preds = %6, %1
ret void
}
declare i64 @listen(i32 noundef, i32 noundef) #1
declare i32 @error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps_go_7md.c'
source_filename = "/tmp/tmps_go_7md.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filter_parse_all_filters() #0 {
%1 = alloca ptr, align 8
%2 = call ptr (...) @filter_list_first()
store ptr %2, ptr %1, align 8
br label %3
3: ; preds = %6, %0
%4 = load ptr, ptr %1, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %11
6: ; preds = %3
%7 = load ptr, ptr %1, align 8
%8 = call i32 @filter_parse_filter_rules(ptr noundef %7)
%9 = load ptr, ptr %1, align 8
%10 = call ptr @filter_list_next(ptr noundef %9)
store ptr %10, ptr %1, align 8
br label %3, !llvm.loop !6
11: ; preds = %3
ret void
}
declare ptr @filter_list_first(...) #1
declare i32 @filter_parse_filter_rules(ptr noundef) #1
declare ptr @filter_list_next(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmps_go_7md.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filter_parse_all_filters() #0 {
%1 = alloca ptr, align 8
%2 = call ptr (...) @filter_list_first()
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %.lr.ph, label %12
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %5
%6 = load ptr, ptr %1, align 8
%7 = call i32 @filter_parse_filter_rules(ptr noundef %6)
%8 = load ptr, ptr %1, align 8
%9 = call ptr @filter_list_next(ptr noundef %8)
store ptr %9, ptr %1, align 8
%10 = load ptr, ptr %1, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %5
br label %12
12: ; preds = %._crit_edge, %0
ret void
}
declare ptr @filter_list_first(...) #1
declare i32 @filter_parse_filter_rules(ptr noundef) #1
declare ptr @filter_list_next(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpowv177qs.c'
source_filename = "/tmp/tmpowv177qs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Could not write bytes\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @checked_send(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i64 @send(i32 noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 0)
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %3
%13 = call i32 @handle_error(ptr noundef @.str)
br label %14
14: ; preds = %12, %3
ret void
}
declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @handle_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpowv177qs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Could not write bytes\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @checked_send(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i64 @send(i32 noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 0)
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %3
%13 = call i32 @handle_error(ptr noundef @.str)
br label %14
14: ; preds = %12, %3
ret void
}
declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @handle_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzijee2bc.c'
source_filename = "/tmp/tmpzijee2bc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i64, i32 }
@BIO_FLAGS_BASE64_NO_NL = dso_local global i32 0, align 4
@BIO_CTRL_FLUSH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @bc_base64_encode(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%11 = call i32 (...) @BIO_f_base64()
%12 = call ptr @BIO_new(i32 noundef %11)
store ptr %12, ptr %7, align 8
%13 = call i32 (...) @BIO_s_mem()
%14 = call ptr @BIO_new(i32 noundef %13)
store ptr %14, ptr %8, align 8
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %8, align 8
%17 = call ptr @BIO_push(ptr noundef %15, ptr noundef %16)
store ptr %17, ptr %8, align 8
%18 = load ptr, ptr %8, align 8
%19 = load i32, ptr @BIO_FLAGS_BASE64_NO_NL, align 4
%20 = call i32 @BIO_set_flags(ptr noundef %18, i32 noundef %19)
%21 = load ptr, ptr %8, align 8
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %5, align 4
%24 = call i32 @BIO_write(ptr noundef %21, ptr noundef %22, i32 noundef %23)
%25 = load ptr, ptr %8, align 8
%26 = load i32, ptr @BIO_CTRL_FLUSH, align 4
%27 = call i32 @BIO_ctrl(ptr noundef %25, i32 noundef %26, i32 noundef 0, ptr noundef null)
store ptr null, ptr %9, align 8
%28 = load ptr, ptr %8, align 8
%29 = call i32 @BIO_get_mem_ptr(ptr noundef %28, ptr noundef %9)
%30 = load ptr, ptr %9, align 8
%31 = getelementptr inbounds %struct.TYPE_3__, ptr %30, i32 0, i32 0
%32 = load i64, ptr %31, align 8
store i64 %32, ptr %10, align 8
%33 = load ptr, ptr %6, align 8
%34 = load ptr, ptr %9, align 8
%35 = getelementptr inbounds %struct.TYPE_3__, ptr %34, i32 0, i32 1
%36 = load i32, ptr %35, align 8
%37 = load i64, ptr %10, align 8
%38 = call i32 @memcpy(ptr noundef %33, i32 noundef %36, i64 noundef %37)
%39 = load ptr, ptr %6, align 8
%40 = load i64, ptr %10, align 8
%41 = getelementptr inbounds i8, ptr %39, i64 %40
store i8 0, ptr %41, align 1
%42 = load ptr, ptr %8, align 8
%43 = call i32 @BIO_free_all(ptr noundef %42)
%44 = load i64, ptr %10, align 8
ret i64 %44
}
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_f_base64(...) #1
declare i32 @BIO_s_mem(...) #1
declare ptr @BIO_push(ptr noundef, ptr noundef) #1
declare i32 @BIO_set_flags(ptr noundef, i32 noundef) #1
declare i32 @BIO_write(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @BIO_ctrl(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @BIO_get_mem_ptr(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @BIO_free_all(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzijee2bc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i64, i32 }
@BIO_FLAGS_BASE64_NO_NL = dso_local global i32 0, align 4
@BIO_CTRL_FLUSH = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @bc_base64_encode(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%11 = call i32 (...) @BIO_f_base64()
%12 = call ptr @BIO_new(i32 noundef %11)
store ptr %12, ptr %7, align 8
%13 = call i32 (...) @BIO_s_mem()
%14 = call ptr @BIO_new(i32 noundef %13)
store ptr %14, ptr %8, align 8
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %8, align 8
%17 = call ptr @BIO_push(ptr noundef %15, ptr noundef %16)
store ptr %17, ptr %8, align 8
%18 = load ptr, ptr %8, align 8
%19 = load i32, ptr @BIO_FLAGS_BASE64_NO_NL, align 4
%20 = call i32 @BIO_set_flags(ptr noundef %18, i32 noundef %19)
%21 = load ptr, ptr %8, align 8
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %5, align 4
%24 = call i32 @BIO_write(ptr noundef %21, ptr noundef %22, i32 noundef %23)
%25 = load ptr, ptr %8, align 8
%26 = load i32, ptr @BIO_CTRL_FLUSH, align 4
%27 = call i32 @BIO_ctrl(ptr noundef %25, i32 noundef %26, i32 noundef 0, ptr noundef null)
store ptr null, ptr %9, align 8
%28 = load ptr, ptr %8, align 8
%29 = call i32 @BIO_get_mem_ptr(ptr noundef %28, ptr noundef %9)
%30 = load ptr, ptr %9, align 8
%31 = getelementptr inbounds %struct.TYPE_3__, ptr %30, i32 0, i32 0
%32 = load i64, ptr %31, align 8
store i64 %32, ptr %10, align 8
%33 = load ptr, ptr %6, align 8
%34 = load ptr, ptr %9, align 8
%35 = getelementptr inbounds %struct.TYPE_3__, ptr %34, i32 0, i32 1
%36 = load i32, ptr %35, align 8
%37 = load i64, ptr %10, align 8
%38 = call i32 @memcpy(ptr noundef %33, i32 noundef %36, i64 noundef %37)
%39 = load ptr, ptr %6, align 8
%40 = load i64, ptr %10, align 8
%41 = getelementptr inbounds i8, ptr %39, i64 %40
store i8 0, ptr %41, align 1
%42 = load ptr, ptr %8, align 8
%43 = call i32 @BIO_free_all(ptr noundef %42)
%44 = load i64, ptr %10, align 8
ret i64 %44
}
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_f_base64(...) #1
declare i32 @BIO_s_mem(...) #1
declare ptr @BIO_push(ptr noundef, ptr noundef) #1
declare i32 @BIO_set_flags(ptr noundef, i32 noundef) #1
declare i32 @BIO_write(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @BIO_ctrl(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @BIO_get_mem_ptr(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @BIO_free_all(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7y8smcnp.c'
source_filename = "/tmp/tmp7y8smcnp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lm_create_response(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 i64, align 8
%8 = alloca [7 x i32], align 16
%9 = alloca [7 x i32], align 16
%10 = alloca [7 x i32], align 16
%11 = alloca [8 x i32], align 16
%12 = alloca [8 x i32], align 16
%13 = alloca [8 x i32], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%14 = getelementptr inbounds [7 x i32], ptr %8, i64 0, i64 0
%15 = call i32 @memset(ptr noundef %14, i32 noundef 0, i32 noundef 7)
%16 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 0
%17 = call i32 @memset(ptr noundef %16, i32 noundef 0, i32 noundef 7)
%18 = getelementptr inbounds [7 x i32], ptr %10, i64 0, i64 0
%19 = call i32 @memset(ptr noundef %18, i32 noundef 0, i32 noundef 7)
store i64 0, ptr %7, align 8
br label %20
20: ; preds = %51, %3
%21 = load i64, ptr %7, align 8
%22 = icmp ult i64 %21, 7
br i1 %22, label %23, label %54
23: ; preds = %20
%24 = load ptr, ptr %4, align 8
%25 = load i64, ptr %7, align 8
%26 = getelementptr inbounds i32, ptr %24, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load i64, ptr %7, align 8
%29 = getelementptr inbounds [7 x i32], ptr %8, i64 0, i64 %28
store i32 %27, ptr %29, align 4
%30 = load ptr, ptr %4, align 8
%31 = load i64, ptr %7, align 8
%32 = add i64 %31, 7
%33 = getelementptr inbounds i32, ptr %30, i64 %32
%34 = load i32, ptr %33, align 4
%35 = load i64, ptr %7, align 8
%36 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %35
store i32 %34, ptr %36, align 4
%37 = load i64, ptr %7, align 8
%38 = add i64 %37, 14
%39 = icmp ult i64 %38, 16
br i1 %39, label %40, label %46
40: ; preds = %23
%41 = load ptr, ptr %4, align 8
%42 = load i64, ptr %7, align 8
%43 = add i64 %42, 14
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
br label %47
46: ; preds = %23
br label %47
47: ; preds = %46, %40
%48 = phi i32 [ %45, %40 ], [ 0, %46 ]
%49 = load i64, ptr %7, align 8
%50 = getelementptr inbounds [7 x i32], ptr %10, i64 0, i64 %49
store i32 %48, ptr %50, align 4
br label %51
51: ; preds = %47
%52 = load i64, ptr %7, align 8
%53 = add i64 %52, 1
store i64 %53, ptr %7, align 8
br label %20, !llvm.loop !6
54: ; preds = %20
%55 = getelementptr inbounds [7 x i32], ptr %8, i64 0, i64 0
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds [8 x i32], ptr %11, i64 0, i64 0
%58 = call i32 @des(ptr noundef %55, ptr noundef %56, ptr noundef %57)
%59 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 0
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds [8 x i32], ptr %12, i64 0, i64 0
%62 = call i32 @des(ptr noundef %59, ptr noundef %60, ptr noundef %61)
%63 = getelementptr inbounds [7 x i32], ptr %10, i64 0, i64 0
%64 = load ptr, ptr %5, align 8
%65 = getelementptr inbounds [8 x i32], ptr %13, i64 0, i64 0
%66 = call i32 @des(ptr noundef %63, ptr noundef %64, ptr noundef %65)
%67 = load ptr, ptr %6, align 8
%68 = getelementptr inbounds i32, ptr %67, i64 0
%69 = getelementptr inbounds [8 x i32], ptr %11, i64 0, i64 0
%70 = call i32 @memcpy(ptr noundef %68, ptr noundef %69, i32 noundef 8)
%71 = load ptr, ptr %6, align 8
%72 = getelementptr inbounds i32, ptr %71, i64 8
%73 = getelementptr inbounds [8 x i32], ptr %12, i64 0, i64 0
%74 = call i32 @memcpy(ptr noundef %72, ptr noundef %73, i32 noundef 8)
%75 = load ptr, ptr %6, align 8
%76 = getelementptr inbounds i32, ptr %75, i64 16
%77 = getelementptr inbounds [8 x i32], ptr %13, i64 0, i64 0
%78 = call i32 @memcpy(ptr noundef %76, ptr noundef %77, i32 noundef 8)
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @des(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7y8smcnp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lm_create_response(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 i64, align 8
%8 = alloca [7 x i32], align 16
%9 = alloca [7 x i32], align 16
%10 = alloca [7 x i32], align 16
%11 = alloca [8 x i32], align 16
%12 = alloca [8 x i32], align 16
%13 = alloca [8 x i32], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%14 = getelementptr inbounds [7 x i32], ptr %8, i64 0, i64 0
%15 = call i32 @memset(ptr noundef %14, i32 noundef 0, i32 noundef 7)
%16 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 0
%17 = call i32 @memset(ptr noundef %16, i32 noundef 0, i32 noundef 7)
%18 = getelementptr inbounds [7 x i32], ptr %10, i64 0, i64 0
%19 = call i32 @memset(ptr noundef %18, i32 noundef 0, i32 noundef 7)
store i64 0, ptr %7, align 8
%20 = load i64, ptr %7, align 8
%21 = icmp ult i64 %20, 7
br i1 %21, label %.lr.ph, label %55
.lr.ph: ; preds = %3
br label %22
22: ; preds = %.lr.ph, %50
%23 = load ptr, ptr %4, align 8
%24 = load i64, ptr %7, align 8
%25 = getelementptr inbounds i32, ptr %23, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load i64, ptr %7, align 8
%28 = getelementptr inbounds [7 x i32], ptr %8, i64 0, i64 %27
store i32 %26, ptr %28, align 4
%29 = load ptr, ptr %4, align 8
%30 = load i64, ptr %7, align 8
%31 = add i64 %30, 7
%32 = getelementptr inbounds i32, ptr %29, i64 %31
%33 = load i32, ptr %32, align 4
%34 = load i64, ptr %7, align 8
%35 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %34
store i32 %33, ptr %35, align 4
%36 = load i64, ptr %7, align 8
%37 = add i64 %36, 14
%38 = icmp ult i64 %37, 16
br i1 %38, label %39, label %45
39: ; preds = %22
%40 = load ptr, ptr %4, align 8
%41 = load i64, ptr %7, align 8
%42 = add i64 %41, 14
%43 = getelementptr inbounds i32, ptr %40, i64 %42
%44 = load i32, ptr %43, align 4
br label %46
45: ; preds = %22
br label %46
46: ; preds = %45, %39
%47 = phi i32 [ %44, %39 ], [ 0, %45 ]
%48 = load i64, ptr %7, align 8
%49 = getelementptr inbounds [7 x i32], ptr %10, i64 0, i64 %48
store i32 %47, ptr %49, align 4
br label %50
50: ; preds = %46
%51 = load i64, ptr %7, align 8
%52 = add i64 %51, 1
store i64 %52, ptr %7, align 8
%53 = load i64, ptr %7, align 8
%54 = icmp ult i64 %53, 7
br i1 %54, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %55
55: ; preds = %._crit_edge, %3
%56 = getelementptr inbounds [7 x i32], ptr %8, i64 0, i64 0
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds [8 x i32], ptr %11, i64 0, i64 0
%59 = call i32 @des(ptr noundef %56, ptr noundef %57, ptr noundef %58)
%60 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 0
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds [8 x i32], ptr %12, i64 0, i64 0
%63 = call i32 @des(ptr noundef %60, ptr noundef %61, ptr noundef %62)
%64 = getelementptr inbounds [7 x i32], ptr %10, i64 0, i64 0
%65 = load ptr, ptr %5, align 8
%66 = getelementptr inbounds [8 x i32], ptr %13, i64 0, i64 0
%67 = call i32 @des(ptr noundef %64, ptr noundef %65, ptr noundef %66)
%68 = load ptr, ptr %6, align 8
%69 = getelementptr inbounds i32, ptr %68, i64 0
%70 = getelementptr inbounds [8 x i32], ptr %11, i64 0, i64 0
%71 = call i32 @memcpy(ptr noundef %69, ptr noundef %70, i32 noundef 8)
%72 = load ptr, ptr %6, align 8
%73 = getelementptr inbounds i32, ptr %72, i64 8
%74 = getelementptr inbounds [8 x i32], ptr %12, i64 0, i64 0
%75 = call i32 @memcpy(ptr noundef %73, ptr noundef %74, i32 noundef 8)
%76 = load ptr, ptr %6, align 8
%77 = getelementptr inbounds i32, ptr %76, i64 16
%78 = getelementptr inbounds [8 x i32], ptr %13, i64 0, i64 0
%79 = call i32 @memcpy(ptr noundef %77, ptr noundef %78, i32 noundef 8)
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @des(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpejs4r4_2.c'
source_filename = "/tmp/tmpejs4r4_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ci_menu_select(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 i32 @ci_send_menu_answer(i32 noundef %7, i32 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @ci_send_menu_answer(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/tmpejs4r4_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ci_menu_select(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 i32 @ci_send_menu_answer(i32 noundef %7, i32 noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @ci_send_menu_answer(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/tmplbcjj_4i.c'
source_filename = "/tmp/tmplbcjj_4i.c"
target datalayout = "e-m:e-p270: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/tmplbcjj_4i.c"
target datalayout = "e-m:e-p270: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/tmp9y4wsnsm.c'
source_filename = "/tmp/tmp9y4wsnsm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0123456789abcdef\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ft_print_memory(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %6, align 8
%8 = load i32, ptr %4, align 4
%9 = udiv i32 %8, 16
store i32 %9, ptr %5, align 4
br label %10
10: ; preds = %19, %2
%11 = load i32, ptr %5, align 4
%12 = icmp sge i32 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp ult i32 %14, %15
br label %17
17: ; preds = %13, %10
%18 = phi i1 [ false, %10 ], [ %16, %13 ]
br i1 %18, label %19, label %36
19: ; preds = %17
%20 = load ptr, ptr %6, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 0
%22 = ptrtoint ptr %21 to i32
%23 = call i32 @ft_putnbr_base(i32 noundef %22, ptr noundef @.str)
%24 = call i32 @ft_putchar(i8 noundef signext 58)
%25 = call i32 @ft_putchar(i8 noundef signext 32)
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %4, align 4
%28 = call i32 @print_string(ptr noundef %26, i32 noundef %27)
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, -1
store i32 %30, ptr %5, align 4
%31 = load ptr, ptr %6, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 16
store ptr %32, ptr %6, align 8
%33 = load i32, ptr %4, align 4
%34 = sub i32 %33, 16
store i32 %34, ptr %4, align 4
%35 = call i32 @ft_putchar(i8 noundef signext 10)
br label %10, !llvm.loop !6
36: ; preds = %17
%37 = load ptr, ptr %3, align 8
ret ptr %37
}
declare i32 @ft_putnbr_base(i32 noundef, ptr noundef) #1
declare i32 @ft_putchar(i8 noundef signext) #1
declare i32 @print_string(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/tmp9y4wsnsm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0123456789abcdef\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ft_print_memory(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %6, align 8
%8 = load i32, ptr %4, align 4
%9 = udiv i32 %8, 16
store i32 %9, ptr %5, align 4
br label %10
10: ; preds = %19, %2
%11 = load i32, ptr %5, align 4
%12 = icmp sge i32 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp ult i32 %14, %15
br label %17
17: ; preds = %13, %10
%18 = phi i1 [ false, %10 ], [ %16, %13 ]
br i1 %18, label %19, label %36
19: ; preds = %17
%20 = load ptr, ptr %6, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 0
%22 = ptrtoint ptr %21 to i32
%23 = call i32 @ft_putnbr_base(i32 noundef %22, ptr noundef @.str)
%24 = call i32 @ft_putchar(i8 noundef signext 58)
%25 = call i32 @ft_putchar(i8 noundef signext 32)
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %4, align 4
%28 = call i32 @print_string(ptr noundef %26, i32 noundef %27)
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, -1
store i32 %30, ptr %5, align 4
%31 = load ptr, ptr %6, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 16
store ptr %32, ptr %6, align 8
%33 = load i32, ptr %4, align 4
%34 = sub i32 %33, 16
store i32 %34, ptr %4, align 4
%35 = call i32 @ft_putchar(i8 noundef signext 10)
br label %10, !llvm.loop !6
36: ; preds = %17
%37 = load ptr, ptr %3, align 8
ret ptr %37
}
declare i32 @ft_putnbr_base(i32 noundef, ptr noundef) #1
declare i32 @ft_putchar(i8 noundef signext) #1
declare i32 @print_string(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/tmpgninnu2a.c'
source_filename = "/tmp/tmpgninnu2a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NO ERROR\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"FORMAT ERROR\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"SERV FAIL\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"NAME ERROR\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"NOT IMPL\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"REFUSED\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"YXDOMAIN\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"YXRRSET\00", align 1
@.str.8 = private unnamed_addr constant [8 x i8] c"NXRRSET\00", align 1
@.str.9 = private unnamed_addr constant [34 x i8] c"SERVER NOT AUTHORITATIVE FOR ZONE\00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"NOTZONE\00", align 1
@.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 @rcode2str(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 %16 [
i32 0, label %5
i32 1, label %6
i32 2, label %7
i32 3, label %8
i32 4, label %9
i32 5, label %10
i32 6, label %11
i32 7, label %12
i32 8, label %13
i32 9, label %14
i32 10, label %15
]
5: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %17
6: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %17
7: ; preds = %1
store ptr @.str.2, ptr %2, align 8
br label %17
8: ; preds = %1
store ptr @.str.3, ptr %2, align 8
br label %17
9: ; preds = %1
store ptr @.str.4, ptr %2, align 8
br label %17
10: ; preds = %1
store ptr @.str.5, ptr %2, align 8
br label %17
11: ; preds = %1
store ptr @.str.6, ptr %2, align 8
br label %17
12: ; preds = %1
store ptr @.str.7, ptr %2, align 8
br label %17
13: ; preds = %1
store ptr @.str.8, ptr %2, align 8
br label %17
14: ; preds = %1
store ptr @.str.9, ptr %2, align 8
br label %17
15: ; preds = %1
store ptr @.str.10, ptr %2, align 8
br label %17
16: ; preds = %1
store ptr @.str.11, ptr %2, align 8
br label %17
17: ; preds = %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5
%18 = load ptr, ptr %2, align 8
ret ptr %18
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgninnu2a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NO ERROR\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"FORMAT ERROR\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"SERV FAIL\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"NAME ERROR\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"NOT IMPL\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"REFUSED\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"YXDOMAIN\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"YXRRSET\00", align 1
@.str.8 = private unnamed_addr constant [8 x i8] c"NXRRSET\00", align 1
@.str.9 = private unnamed_addr constant [34 x i8] c"SERVER NOT AUTHORITATIVE FOR ZONE\00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"NOTZONE\00", align 1
@.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 @rcode2str(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 %16 [
i32 0, label %5
i32 1, label %6
i32 2, label %7
i32 3, label %8
i32 4, label %9
i32 5, label %10
i32 6, label %11
i32 7, label %12
i32 8, label %13
i32 9, label %14
i32 10, label %15
]
5: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %17
6: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %17
7: ; preds = %1
store ptr @.str.2, ptr %2, align 8
br label %17
8: ; preds = %1
store ptr @.str.3, ptr %2, align 8
br label %17
9: ; preds = %1
store ptr @.str.4, ptr %2, align 8
br label %17
10: ; preds = %1
store ptr @.str.5, ptr %2, align 8
br label %17
11: ; preds = %1
store ptr @.str.6, ptr %2, align 8
br label %17
12: ; preds = %1
store ptr @.str.7, ptr %2, align 8
br label %17
13: ; preds = %1
store ptr @.str.8, ptr %2, align 8
br label %17
14: ; preds = %1
store ptr @.str.9, ptr %2, align 8
br label %17
15: ; preds = %1
store ptr @.str.10, ptr %2, align 8
br label %17
16: ; preds = %1
store ptr @.str.11, ptr %2, align 8
br label %17
17: ; preds = %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5
%18 = load ptr, ptr %2, align 8
ret ptr %18
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpok61hj5z.c'
source_filename = "/tmp/tmpok61hj5z.c"
target datalayout = "e-m:e-p270: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/tmpok61hj5z.c"
target datalayout = "e-m:e-p270: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/tmpfz7fl9dg.c'
source_filename = "/tmp/tmpfz7fl9dg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a=b\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
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
store i32 2, ptr %3, align 4
%4 = load i32, ptr %3, align 4
store i32 %4, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @printf(ptr noundef @.str)
br label %8
8: ; preds = %6, %0
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfz7fl9dg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a=b\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
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
store i32 2, ptr %3, align 4
%4 = load i32, ptr %3, align 4
store i32 %4, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @printf(ptr noundef @.str)
br label %8
8: ; preds = %6, %0
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeiawm9ug.c'
source_filename = "/tmp/tmpeiawm9ug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"hola clase\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeiawm9ug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"hola clase\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptm6vamn0.c'
source_filename = "/tmp/tmptm6vamn0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%ld\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%ld %ld\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%ld %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 0, ptr %2, align 8
store i64 0, ptr %3, align 8
store i64 0, ptr %4, align 8
store i64 0, ptr %5, align 8
store i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
store i64 0, ptr %8, align 8
store i64 0, ptr %9, align 8
%10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i64 0, ptr %5, align 8
br label %11
11: ; preds = %44, %0
%12 = load i64, ptr %5, align 8
%13 = load i64, ptr %2, align 8
%14 = icmp slt i64 %12, %13
br i1 %14, label %15, label %47
15: ; preds = %11
%16 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %8, ptr noundef %9)
%17 = load i64, ptr %8, align 8
%18 = load i64, ptr %6, align 8
%19 = add nsw i64 %18, %17
store i64 %19, ptr %6, align 8
%20 = load i64, ptr %9, align 8
%21 = load i64, ptr %7, align 8
%22 = add nsw i64 %21, %20
store i64 %22, ptr %7, align 8
%23 = load i64, ptr %6, align 8
%24 = load i64, ptr %7, align 8
%25 = sub nsw i64 %23, %24
%26 = load i64, ptr %4, align 8
%27 = icmp sgt i64 %25, %26
br i1 %27, label %28, label %32
28: ; preds = %15
store i64 1, ptr %3, align 8
%29 = load i64, ptr %6, align 8
%30 = load i64, ptr %7, align 8
%31 = sub nsw i64 %29, %30
store i64 %31, ptr %4, align 8
br label %43
32: ; preds = %15
%33 = load i64, ptr %7, align 8
%34 = load i64, ptr %6, align 8
%35 = sub nsw i64 %33, %34
%36 = load i64, ptr %4, align 8
%37 = icmp sgt i64 %35, %36
br i1 %37, label %38, label %42
38: ; preds = %32
store i64 2, ptr %3, align 8
%39 = load i64, ptr %7, align 8
%40 = load i64, ptr %6, align 8
%41 = sub nsw i64 %39, %40
store i64 %41, ptr %4, align 8
br label %42
42: ; preds = %38, %32
br label %43
43: ; preds = %42, %28
br label %44
44: ; preds = %43
%45 = load i64, ptr %5, align 8
%46 = add nsw i64 %45, 1
store i64 %46, ptr %5, align 8
br label %11, !llvm.loop !6
47: ; preds = %11
%48 = load i64, ptr %3, align 8
%49 = load i64, ptr %4, align 8
%50 = call i32 @printf(ptr noundef @.str.2, i64 noundef %48, i64 noundef %49)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptm6vamn0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%ld\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%ld %ld\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%ld %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 0, ptr %2, align 8
store i64 0, ptr %3, align 8
store i64 0, ptr %4, align 8
store i64 0, ptr %5, align 8
store i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
store i64 0, ptr %8, align 8
store i64 0, ptr %9, align 8
%10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i64 0, ptr %5, align 8
%11 = load i64, ptr %5, align 8
%12 = load i64, ptr %2, align 8
%13 = icmp slt i64 %11, %12
br i1 %13, label %.lr.ph, label %49
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %43
%15 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %8, ptr noundef %9)
%16 = load i64, ptr %8, align 8
%17 = load i64, ptr %6, align 8
%18 = add nsw i64 %17, %16
store i64 %18, ptr %6, align 8
%19 = load i64, ptr %9, align 8
%20 = load i64, ptr %7, align 8
%21 = add nsw i64 %20, %19
store i64 %21, ptr %7, align 8
%22 = load i64, ptr %6, align 8
%23 = load i64, ptr %7, align 8
%24 = sub nsw i64 %22, %23
%25 = load i64, ptr %4, align 8
%26 = icmp sgt i64 %24, %25
br i1 %26, label %27, label %31
27: ; preds = %14
store i64 1, ptr %3, align 8
%28 = load i64, ptr %6, align 8
%29 = load i64, ptr %7, align 8
%30 = sub nsw i64 %28, %29
store i64 %30, ptr %4, align 8
br label %42
31: ; preds = %14
%32 = load i64, ptr %7, align 8
%33 = load i64, ptr %6, align 8
%34 = sub nsw i64 %32, %33
%35 = load i64, ptr %4, align 8
%36 = icmp sgt i64 %34, %35
br i1 %36, label %37, label %41
37: ; preds = %31
store i64 2, ptr %3, align 8
%38 = load i64, ptr %7, align 8
%39 = load i64, ptr %6, align 8
%40 = sub nsw i64 %38, %39
store i64 %40, ptr %4, align 8
br label %41
41: ; preds = %37, %31
br label %42
42: ; preds = %41, %27
br label %43
43: ; preds = %42
%44 = load i64, ptr %5, align 8
%45 = add nsw i64 %44, 1
store i64 %45, ptr %5, align 8
%46 = load i64, ptr %5, align 8
%47 = load i64, ptr %2, align 8
%48 = icmp slt i64 %46, %47
br i1 %48, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %49
49: ; preds = %._crit_edge, %0
%50 = load i64, ptr %3, align 8
%51 = load i64, ptr %4, align 8
%52 = call i32 @printf(ptr noundef @.str.2, i64 noundef %50, i64 noundef %51)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_hjldj0x.c'
source_filename = "/tmp/tmp_hjldj0x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getBlue0(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = and i32 %3, 255
ret i32 %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_hjldj0x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getBlue0(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = and i32 %3, 255
ret i32 %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbp05jszw.c'
source_filename = "/tmp/tmpbp05jszw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c" -- assertion failed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_Assert(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @stderr, align 4
%5 = call i32 @fputs(ptr noundef %3, i32 noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 @fputs(ptr noundef @.str, i32 noundef %6)
%8 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbp05jszw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c" -- assertion failed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_Assert(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr @stderr, align 4
%5 = call i32 @fputs(ptr noundef %3, i32 noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 @fputs(ptr noundef @.str, i32 noundef %6)
%8 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpggrr0yxf.c'
source_filename = "/tmp/tmpggrr0yxf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@A_REVERSE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"This is a new pad\00", align 1
@.str.1 = private unnamed_addr constant [58 x i8] c"The end of this line should be truncated here:except now\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"This line should not appear.It will now\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c" Press any key to continue\00", align 1
@TRUE = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [21 x i8] c"This is a new subpad\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"This is displayed at line 35 in the pad\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @padTest(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = call ptr @newpad(i32 noundef 50, i32 noundef 100)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr @A_REVERSE, align 4
%8 = call i32 @wattron(ptr noundef %6, i32 noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = call i32 @mvwaddstr(ptr noundef %9, i32 noundef 5, i32 noundef 2, ptr noundef @.str)
%11 = load ptr, ptr %3, align 8
%12 = call i32 @wattrset(ptr noundef %11, i32 noundef 0)
%13 = load ptr, ptr %3, align 8
%14 = call i32 @mvwaddstr(ptr noundef %13, i32 noundef 8, i32 noundef 0, ptr noundef @.str.1)
%15 = load ptr, ptr %3, align 8
%16 = call i32 @mvwaddstr(ptr noundef %15, i32 noundef 11, i32 noundef 1, ptr noundef @.str.2)
%17 = load ptr, ptr %3, align 8
%18 = call i32 @wmove(ptr noundef %17, i32 noundef 10, i32 noundef 1)
%19 = load ptr, ptr %3, align 8
%20 = call i32 @wclrtoeol(ptr noundef %19)
%21 = load ptr, ptr %3, align 8
%22 = call i32 @mvwaddstr(ptr noundef %21, i32 noundef 10, i32 noundef 1, ptr noundef @.str.3)
%23 = load ptr, ptr %3, align 8
%24 = call i32 @prefresh(ptr noundef %23, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 10, i32 noundef 45)
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr @TRUE, align 4
%27 = call i32 @keypad(ptr noundef %25, i32 noundef %26)
%28 = call i32 (...) @raw()
%29 = load ptr, ptr %3, align 8
%30 = call i32 @wgetch(ptr noundef %29)
%31 = load ptr, ptr %3, align 8
%32 = call ptr @subpad(ptr noundef %31, i32 noundef 12, i32 noundef 25, i32 noundef 7, i32 noundef 52)
store ptr %32, ptr %4, align 8
%33 = load ptr, ptr %4, align 8
%34 = call i32 @mvwaddstr(ptr noundef %33, i32 noundef 2, i32 noundef 2, ptr noundef @.str.4)
%35 = load ptr, ptr %4, align 8
%36 = call i32 @box(ptr noundef %35, i32 noundef 0, i32 noundef 0)
%37 = load ptr, ptr %3, align 8
%38 = call i32 @prefresh(ptr noundef %37, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 15, i32 noundef 75)
%39 = load ptr, ptr %3, align 8
%40 = load i32, ptr @TRUE, align 4
%41 = call i32 @keypad(ptr noundef %39, i32 noundef %40)
%42 = call i32 (...) @raw()
%43 = load ptr, ptr %3, align 8
%44 = call i32 @wgetch(ptr noundef %43)
%45 = load ptr, ptr %3, align 8
%46 = call i32 @mvwaddstr(ptr noundef %45, i32 noundef 35, i32 noundef 2, ptr noundef @.str.5)
%47 = load ptr, ptr %3, align 8
%48 = call i32 @mvwaddstr(ptr noundef %47, i32 noundef 40, i32 noundef 1, ptr noundef @.str.3)
%49 = load ptr, ptr %3, align 8
%50 = call i32 @prefresh(ptr noundef %49, i32 noundef 30, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 10, i32 noundef 45)
%51 = load ptr, ptr %3, align 8
%52 = load i32, ptr @TRUE, align 4
%53 = call i32 @keypad(ptr noundef %51, i32 noundef %52)
%54 = call i32 (...) @raw()
%55 = load ptr, ptr %3, align 8
%56 = call i32 @wgetch(ptr noundef %55)
%57 = load ptr, ptr %3, align 8
%58 = call i32 @delwin(ptr noundef %57)
ret void
}
declare ptr @newpad(i32 noundef, i32 noundef) #1
declare i32 @wattron(ptr noundef, i32 noundef) #1
declare i32 @mvwaddstr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @wattrset(ptr noundef, i32 noundef) #1
declare i32 @wmove(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @wclrtoeol(ptr noundef) #1
declare i32 @prefresh(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @keypad(ptr noundef, i32 noundef) #1
declare i32 @raw(...) #1
declare i32 @wgetch(ptr noundef) #1
declare ptr @subpad(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @box(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @delwin(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpggrr0yxf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@A_REVERSE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"This is a new pad\00", align 1
@.str.1 = private unnamed_addr constant [58 x i8] c"The end of this line should be truncated here:except now\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"This line should not appear.It will now\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c" Press any key to continue\00", align 1
@TRUE = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [21 x i8] c"This is a new subpad\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"This is displayed at line 35 in the pad\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @padTest(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = call ptr @newpad(i32 noundef 50, i32 noundef 100)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr @A_REVERSE, align 4
%8 = call i32 @wattron(ptr noundef %6, i32 noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = call i32 @mvwaddstr(ptr noundef %9, i32 noundef 5, i32 noundef 2, ptr noundef @.str)
%11 = load ptr, ptr %3, align 8
%12 = call i32 @wattrset(ptr noundef %11, i32 noundef 0)
%13 = load ptr, ptr %3, align 8
%14 = call i32 @mvwaddstr(ptr noundef %13, i32 noundef 8, i32 noundef 0, ptr noundef @.str.1)
%15 = load ptr, ptr %3, align 8
%16 = call i32 @mvwaddstr(ptr noundef %15, i32 noundef 11, i32 noundef 1, ptr noundef @.str.2)
%17 = load ptr, ptr %3, align 8
%18 = call i32 @wmove(ptr noundef %17, i32 noundef 10, i32 noundef 1)
%19 = load ptr, ptr %3, align 8
%20 = call i32 @wclrtoeol(ptr noundef %19)
%21 = load ptr, ptr %3, align 8
%22 = call i32 @mvwaddstr(ptr noundef %21, i32 noundef 10, i32 noundef 1, ptr noundef @.str.3)
%23 = load ptr, ptr %3, align 8
%24 = call i32 @prefresh(ptr noundef %23, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 10, i32 noundef 45)
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr @TRUE, align 4
%27 = call i32 @keypad(ptr noundef %25, i32 noundef %26)
%28 = call i32 (...) @raw()
%29 = load ptr, ptr %3, align 8
%30 = call i32 @wgetch(ptr noundef %29)
%31 = load ptr, ptr %3, align 8
%32 = call ptr @subpad(ptr noundef %31, i32 noundef 12, i32 noundef 25, i32 noundef 7, i32 noundef 52)
store ptr %32, ptr %4, align 8
%33 = load ptr, ptr %4, align 8
%34 = call i32 @mvwaddstr(ptr noundef %33, i32 noundef 2, i32 noundef 2, ptr noundef @.str.4)
%35 = load ptr, ptr %4, align 8
%36 = call i32 @box(ptr noundef %35, i32 noundef 0, i32 noundef 0)
%37 = load ptr, ptr %3, align 8
%38 = call i32 @prefresh(ptr noundef %37, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 15, i32 noundef 75)
%39 = load ptr, ptr %3, align 8
%40 = load i32, ptr @TRUE, align 4
%41 = call i32 @keypad(ptr noundef %39, i32 noundef %40)
%42 = call i32 (...) @raw()
%43 = load ptr, ptr %3, align 8
%44 = call i32 @wgetch(ptr noundef %43)
%45 = load ptr, ptr %3, align 8
%46 = call i32 @mvwaddstr(ptr noundef %45, i32 noundef 35, i32 noundef 2, ptr noundef @.str.5)
%47 = load ptr, ptr %3, align 8
%48 = call i32 @mvwaddstr(ptr noundef %47, i32 noundef 40, i32 noundef 1, ptr noundef @.str.3)
%49 = load ptr, ptr %3, align 8
%50 = call i32 @prefresh(ptr noundef %49, i32 noundef 30, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 10, i32 noundef 45)
%51 = load ptr, ptr %3, align 8
%52 = load i32, ptr @TRUE, align 4
%53 = call i32 @keypad(ptr noundef %51, i32 noundef %52)
%54 = call i32 (...) @raw()
%55 = load ptr, ptr %3, align 8
%56 = call i32 @wgetch(ptr noundef %55)
%57 = load ptr, ptr %3, align 8
%58 = call i32 @delwin(ptr noundef %57)
ret void
}
declare ptr @newpad(i32 noundef, i32 noundef) #1
declare i32 @wattron(ptr noundef, i32 noundef) #1
declare i32 @mvwaddstr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @wattrset(ptr noundef, i32 noundef) #1
declare i32 @wmove(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @wclrtoeol(ptr noundef) #1
declare i32 @prefresh(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @keypad(ptr noundef, i32 noundef) #1
declare i32 @raw(...) #1
declare i32 @wgetch(ptr noundef) #1
declare ptr @subpad(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @box(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @delwin(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz55ds7nc.c'
source_filename = "/tmp/tmpz55ds7nc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"open %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"close %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @my_recursion(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 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %15
9: ; preds = %1
%10 = load i32, ptr %2, align 4
%11 = sub nsw i32 %10, 1
call void @my_recursion(i32 noundef %11)
br label %12
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13)
br label %15
15: ; preds = %12, %7
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/tmpz55ds7nc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"open %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"close %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @my_recursion(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 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %15
9: ; preds = %1
%10 = load i32, ptr %2, align 4
%11 = sub nsw i32 %10, 1
call void @my_recursion(i32 noundef %11)
br label %12
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13)
br label %15
15: ; preds = %12, %7
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/tmpc035qki_.c'
source_filename = "/tmp/tmpc035qki_.c"
target datalayout = "e-m:e-p270: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/tmpc035qki_.c"
target datalayout = "e-m:e-p270: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/tmpw8d5r8b3.c'
source_filename = "/tmp/tmpw8d5r8b3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/i2c-1\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"open()\00", align 1
@I2C_SLAVE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [8 x i8] c"ioctl()\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"get_measurement(READ_RELH)\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"get_measurement(READ_TEMP)\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"%s,%.2f,%.2f\0A\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"close()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [64 x i8], align 16
%10 = alloca double, align 8
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %6, align 8
store i32 64, ptr %7, align 4
%14 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0
%15 = call i32 @get_time_string(ptr noundef %14, i32 noundef 64)
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr @O_RDWR, align 4
%18 = call i32 @open(ptr noundef %16, i32 noundef %17)
store i32 %18, ptr %8, align 4
%19 = sitofp i32 %18 to double
%20 = call i32 @check(double noundef %19, ptr noundef @.str.1)
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr @I2C_SLAVE, align 4
%23 = load i32, ptr %7, align 4
%24 = call double @ioctl(i32 noundef %21, i32 noundef %22, i32 noundef %23)
%25 = call i32 @check(double noundef %24, ptr noundef @.str.2)
%26 = load i32, ptr %8, align 4
%27 = call double @get_measurement(i32 noundef 229, i32 noundef %26)
store double %27, ptr %10, align 8
%28 = call i32 @check(double noundef %27, ptr noundef @.str.3)
%29 = load double, ptr %10, align 8
%30 = fmul double %29, 1.250000e+02
%31 = fdiv double %30, 6.553600e+04
%32 = fsub double %31, 6.000000e+00
%33 = fptrunc double %32 to float
store float %33, ptr %11, align 4
%34 = load i32, ptr %8, align 4
%35 = call double @get_measurement(i32 noundef 227, i32 noundef %34)
store double %35, ptr %10, align 8
%36 = call i32 @check(double noundef %35, ptr noundef @.str.4)
%37 = load double, ptr %10, align 8
%38 = fmul double %37, 1.757200e+02
%39 = fdiv double %38, 6.553600e+04
%40 = fsub double %39, 4.685000e+01
%41 = fptrunc double %40 to float
store float %41, ptr %12, align 4
%42 = load float, ptr %12, align 4
%43 = fpext float %42 to double
%44 = call double @llvm.fmuladd.f64(double %43, double 1.800000e+00, double 3.200000e+01)
%45 = fptrunc double %44 to float
store float %45, ptr %13, align 4
%46 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0
%47 = load float, ptr %13, align 4
%48 = load float, ptr %11, align 4
%49 = call i32 @printf(ptr noundef @.str.5, ptr noundef %46, float noundef %47, float noundef %48)
%50 = load i32, ptr %8, align 4
%51 = call double @close(i32 noundef %50)
%52 = call i32 @check(double noundef %51, ptr noundef @.str.6)
ret i32 0
}
declare i32 @get_time_string(ptr noundef, i32 noundef) #1
declare i32 @check(double noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare double @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare double @get_measurement(i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @printf(ptr noundef, ptr noundef, float noundef, float noundef) #1
declare double @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmpw8d5r8b3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/i2c-1\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"open()\00", align 1
@I2C_SLAVE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [8 x i8] c"ioctl()\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"get_measurement(READ_RELH)\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"get_measurement(READ_TEMP)\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"%s,%.2f,%.2f\0A\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"close()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [64 x i8], align 16
%10 = alloca double, align 8
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %6, align 8
store i32 64, ptr %7, align 4
%14 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0
%15 = call i32 @get_time_string(ptr noundef %14, i32 noundef 64)
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr @O_RDWR, align 4
%18 = call i32 @open(ptr noundef %16, i32 noundef %17)
store i32 %18, ptr %8, align 4
%19 = sitofp i32 %18 to double
%20 = call i32 @check(double noundef %19, ptr noundef @.str.1)
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr @I2C_SLAVE, align 4
%23 = load i32, ptr %7, align 4
%24 = call double @ioctl(i32 noundef %21, i32 noundef %22, i32 noundef %23)
%25 = call i32 @check(double noundef %24, ptr noundef @.str.2)
%26 = load i32, ptr %8, align 4
%27 = call double @get_measurement(i32 noundef 229, i32 noundef %26)
store double %27, ptr %10, align 8
%28 = call i32 @check(double noundef %27, ptr noundef @.str.3)
%29 = load double, ptr %10, align 8
%30 = fmul double %29, 1.250000e+02
%31 = fdiv double %30, 6.553600e+04
%32 = fsub double %31, 6.000000e+00
%33 = fptrunc double %32 to float
store float %33, ptr %11, align 4
%34 = load i32, ptr %8, align 4
%35 = call double @get_measurement(i32 noundef 227, i32 noundef %34)
store double %35, ptr %10, align 8
%36 = call i32 @check(double noundef %35, ptr noundef @.str.4)
%37 = load double, ptr %10, align 8
%38 = fmul double %37, 1.757200e+02
%39 = fdiv double %38, 6.553600e+04
%40 = fsub double %39, 4.685000e+01
%41 = fptrunc double %40 to float
store float %41, ptr %12, align 4
%42 = load float, ptr %12, align 4
%43 = fpext float %42 to double
%44 = call double @llvm.fmuladd.f64(double %43, double 1.800000e+00, double 3.200000e+01)
%45 = fptrunc double %44 to float
store float %45, ptr %13, align 4
%46 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0
%47 = load float, ptr %13, align 4
%48 = load float, ptr %11, align 4
%49 = call i32 @printf(ptr noundef @.str.5, ptr noundef %46, float noundef %47, float noundef %48)
%50 = load i32, ptr %8, align 4
%51 = call double @close(i32 noundef %50)
%52 = call i32 @check(double noundef %51, ptr noundef @.str.6)
ret i32 0
}
declare i32 @get_time_string(ptr noundef, i32 noundef) #1
declare i32 @check(double noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare double @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare double @get_measurement(i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @printf(ptr noundef, ptr noundef, float noundef, float noundef) #1
declare double @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmpyowzd689.c'
source_filename = "/tmp/tmpyowzd689.c"
target datalayout = "e-m:e-p270: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/tmpyowzd689.c"
target datalayout = "e-m:e-p270: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/tmppyj2z339.c'
source_filename = "/tmp/tmppyj2z339.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
; 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 @stdout, align 4
%7 = call i32 @gentrain(i32 noundef %6)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 @gentxfilt(i32 noundef %8)
%10 = load i32, ptr @stdout, align 4
%11 = call i32 @genrxfilt(i32 noundef %10)
ret i32 0
}
declare i32 @gentrain(i32 noundef) #1
declare i32 @gentxfilt(i32 noundef) #1
declare i32 @genrxfilt(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/tmppyj2z339.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
; 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 @stdout, align 4
%7 = call i32 @gentrain(i32 noundef %6)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 @gentxfilt(i32 noundef %8)
%10 = load i32, ptr @stdout, align 4
%11 = call i32 @genrxfilt(i32 noundef %10)
ret i32 0
}
declare i32 @gentrain(i32 noundef) #1
declare i32 @gentxfilt(i32 noundef) #1
declare i32 @genrxfilt(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/tmp0849k946.c'
source_filename = "/tmp/tmp0849k946.c"
target datalayout = "e-m:e-p270: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/tmp0849k946.c"
target datalayout = "e-m:e-p270: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/tmpdfjqkbag.c'
source_filename = "/tmp/tmpdfjqkbag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buf_null_terminate(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @buf_blast(ptr noundef %4)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %15
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %9
br label %25
15: ; preds = %9, %1
%16 = load ptr, ptr %2, align 8
%17 = call i32 @buf_safe(ptr noundef %16, i32 noundef 1)
%18 = icmp ne i32 %17, 0
br i1 %18, label %22, label %19
19: ; preds = %15
%20 = load ptr, ptr %2, align 8
%21 = call i32 @buf_inc_len(ptr noundef %20, i32 noundef -1)
br label %22
22: ; preds = %19, %15
%23 = load ptr, ptr %2, align 8
%24 = call i32 @buf_write_u8(ptr noundef %23, i32 noundef 0)
br label %25
25: ; preds = %22, %14
ret void
}
declare i64 @buf_blast(ptr noundef) #1
declare i32 @buf_safe(ptr noundef, i32 noundef) #1
declare i32 @buf_inc_len(ptr noundef, i32 noundef) #1
declare i32 @buf_write_u8(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/tmpdfjqkbag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buf_null_terminate(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @buf_blast(ptr noundef %4)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %15
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %9
br label %25
15: ; preds = %9, %1
%16 = load ptr, ptr %2, align 8
%17 = call i32 @buf_safe(ptr noundef %16, i32 noundef 1)
%18 = icmp ne i32 %17, 0
br i1 %18, label %22, label %19
19: ; preds = %15
%20 = load ptr, ptr %2, align 8
%21 = call i32 @buf_inc_len(ptr noundef %20, i32 noundef -1)
br label %22
22: ; preds = %19, %15
%23 = load ptr, ptr %2, align 8
%24 = call i32 @buf_write_u8(ptr noundef %23, i32 noundef 0)
br label %25
25: ; preds = %22, %14
ret void
}
declare i64 @buf_blast(ptr noundef) #1
declare i32 @buf_safe(ptr noundef, i32 noundef) #1
declare i32 @buf_inc_len(ptr noundef, i32 noundef) #1
declare i32 @buf_write_u8(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/tmp3hqpzmgi.c'
source_filename = "/tmp/tmp3hqpzmgi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getStr() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
store i32 1, ptr %1, align 4
%4 = call ptr @malloc(i32 noundef 1)
store ptr %4, ptr %3, align 8
br label %5
5: ; preds = %0, %29
%6 = call signext i8 (...) @getchar()
store i8 %6, ptr %2, align 1
%7 = load i8, ptr %2, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 10
br i1 %9, label %10, label %17
10: ; preds = %5
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %1, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = getelementptr inbounds i8, ptr %14, i64 -1
store i8 0, ptr %15, align 1
%16 = load ptr, ptr %3, align 8
ret ptr %16
17: ; preds = %5
%18 = load i8, ptr %2, align 1
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %1, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = getelementptr inbounds i8, ptr %22, i64 -1
store i8 %18, ptr %23, align 1
%24 = load i32, ptr %1, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %1, align 4
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %1, align 4
%28 = call ptr @realloc(ptr noundef %26, i32 noundef %27)
store ptr %28, ptr %3, align 8
br label %29
29: ; preds = %17
br label %5
}
declare ptr @malloc(i32 noundef) #1
declare signext i8 @getchar(...) #1
declare ptr @realloc(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/tmp3hqpzmgi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getStr() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca ptr, align 8
store i32 1, ptr %1, align 4
%4 = call ptr @malloc(i32 noundef 1)
store ptr %4, ptr %3, align 8
%5 = call signext i8 (...) @getchar()
store i8 %5, ptr %2, align 1
%6 = load i8, ptr %2, align 1
%7 = sext i8 %6 to i32
%8 = icmp eq i32 %7, 10
br i1 %8, label %9, label %.lr.ph
.lr.ph: ; preds = %0
br label %16
._crit_edge: ; preds = %28
br label %9
9: ; preds = %._crit_edge, %0
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %1, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = getelementptr inbounds i8, ptr %13, i64 -1
store i8 0, ptr %14, align 1
%15 = load ptr, ptr %3, align 8
ret ptr %15
16: ; preds = %.lr.ph, %28
%17 = load i8, ptr %2, align 1
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %1, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = getelementptr inbounds i8, ptr %21, i64 -1
store i8 %17, ptr %22, align 1
%23 = load i32, ptr %1, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %1, align 4
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %1, align 4
%27 = call ptr @realloc(ptr noundef %25, i32 noundef %26)
store ptr %27, ptr %3, align 8
br label %28
28: ; preds = %16
%29 = call signext i8 (...) @getchar()
store i8 %29, ptr %2, align 1
%30 = load i8, ptr %2, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 10
br i1 %32, label %._crit_edge, label %16
}
declare ptr @malloc(i32 noundef) #1
declare signext i8 @getchar(...) #1
declare ptr @realloc(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/tmpovs_267c.c'
source_filename = "/tmp/tmpovs_267c.c"
target datalayout = "e-m:e-p270: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/tmpovs_267c.c"
target datalayout = "e-m:e-p270: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/tmpdo29ez65.c'
source_filename = "/tmp/tmpdo29ez65.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @to_1750eflt(double noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i16, align 2
store double %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%9 = load double, ptr %4, align 8
%10 = fcmp olt double %9, 0.000000e+00
br i1 %10, label %11, label %15
11: ; preds = %2
store i32 1, ptr %7, align 4
%12 = load double, ptr %4, align 8
%13 = fneg double %12
%14 = fsub double %13, 0x3D30000000000000
store double %14, ptr %4, align 8
br label %15
15: ; preds = %11, %2
%16 = load double, ptr %4, align 8
%17 = call double @frexp(double noundef %16, ptr noundef %6) #2
store double %17, ptr %4, align 8
%18 = load double, ptr %4, align 8
%19 = fcmp oeq double %18, 1.000000e+00
br i1 %19, label %20, label %23
20: ; preds = %15
store double 5.000000e-01, ptr %4, align 8
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
br label %23
23: ; preds = %20, %15
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %24, -128
br i1 %25, label %26, label %27
26: ; preds = %23
store i32 -1, ptr %3, align 4
br label %103
27: ; preds = %23
%28 = load i32, ptr %6, align 4
%29 = icmp sgt i32 %28, 127
br i1 %29, label %30, label %31
30: ; preds = %27
store i32 1, ptr %3, align 4
br label %103
31: ; preds = %27
br label %32
32: ; preds = %31
%33 = load double, ptr %4, align 8
%34 = fmul double %33, 3.276800e+04
%35 = fptosi double %34 to i16
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds i16, ptr %36, i64 0
store i16 %35, ptr %37, align 2
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds i16, ptr %38, i64 0
%40 = load i16, ptr %39, align 2
%41 = sitofp i16 %40 to double
%42 = fdiv double %41, 3.276800e+04
%43 = load double, ptr %4, align 8
%44 = fsub double %43, %42
store double %44, ptr %4, align 8
%45 = load double, ptr %4, align 8
%46 = fmul double %45, 0x4160000000000000
%47 = fptoui double %46 to i16
store i16 %47, ptr %8, align 2
%48 = load i16, ptr %8, align 2
%49 = zext i16 %48 to i32
%50 = shl i32 %49, 8
%51 = load i32, ptr %6, align 4
%52 = and i32 %51, 255
%53 = or i32 %50, %52
%54 = trunc i32 %53 to i16
%55 = load ptr, ptr %5, align 8
%56 = getelementptr inbounds i16, ptr %55, i64 1
store i16 %54, ptr %56, align 2
%57 = load i16, ptr %8, align 2
%58 = uitofp i16 %57 to double
%59 = fdiv double %58, 0x4160000000000000
%60 = load double, ptr %4, align 8
%61 = fsub double %60, %59
store double %61, ptr %4, align 8
%62 = load double, ptr %4, align 8
%63 = fmul double %62, 0x4260000000000000
%64 = fptoui double %63 to i16
store i16 %64, ptr %8, align 2
%65 = load i16, ptr %8, align 2
%66 = load ptr, ptr %5, align 8
%67 = getelementptr inbounds i16, ptr %66, i64 2
store i16 %65, ptr %67, align 2
%68 = load i32, ptr %7, align 4
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %102
70: ; preds = %32
%71 = load ptr, ptr %5, align 8
%72 = getelementptr inbounds i16, ptr %71, i64 0
%73 = load i16, ptr %72, align 2
%74 = sext i16 %73 to i32
%75 = xor i32 %74, -1
%76 = trunc i32 %75 to i16
%77 = load ptr, ptr %5, align 8
%78 = getelementptr inbounds i16, ptr %77, i64 0
store i16 %76, ptr %78, align 2
%79 = load ptr, ptr %5, align 8
%80 = getelementptr inbounds i16, ptr %79, i64 1
%81 = load i16, ptr %80, align 2
%82 = sext i16 %81 to i32
%83 = xor i32 %82, -1
%84 = and i32 %83, 65280
%85 = load ptr, ptr %5, align 8
%86 = getelementptr inbounds i16, ptr %85, i64 1
%87 = load i16, ptr %86, align 2
%88 = sext i16 %87 to i32
%89 = and i32 %88, 255
%90 = or i32 %84, %89
%91 = trunc i32 %90 to i16
%92 = load ptr, ptr %5, align 8
%93 = getelementptr inbounds i16, ptr %92, i64 1
store i16 %91, ptr %93, align 2
%94 = load ptr, ptr %5, align 8
%95 = getelementptr inbounds i16, ptr %94, i64 2
%96 = load i16, ptr %95, align 2
%97 = sext i16 %96 to i32
%98 = xor i32 %97, -1
%99 = trunc i32 %98 to i16
%100 = load ptr, ptr %5, align 8
%101 = getelementptr inbounds i16, ptr %100, i64 2
store i16 %99, ptr %101, align 2
br label %102
102: ; preds = %70, %32
store i32 0, ptr %3, align 4
br label %103
103: ; preds = %102, %30, %26
%104 = load i32, ptr %3, align 4
ret i32 %104
}
; Function Attrs: nounwind
declare double @frexp(double noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdo29ez65.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @to_1750eflt(double noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i16, align 2
store double %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%9 = load double, ptr %4, align 8
%10 = fcmp olt double %9, 0.000000e+00
br i1 %10, label %11, label %15
11: ; preds = %2
store i32 1, ptr %7, align 4
%12 = load double, ptr %4, align 8
%13 = fneg double %12
%14 = fsub double %13, 0x3D30000000000000
store double %14, ptr %4, align 8
br label %15
15: ; preds = %11, %2
%16 = load double, ptr %4, align 8
%17 = call double @frexp(double noundef %16, ptr noundef %6) #2
store double %17, ptr %4, align 8
%18 = load double, ptr %4, align 8
%19 = fcmp oeq double %18, 1.000000e+00
br i1 %19, label %20, label %23
20: ; preds = %15
store double 5.000000e-01, ptr %4, align 8
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
br label %23
23: ; preds = %20, %15
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %24, -128
br i1 %25, label %26, label %27
26: ; preds = %23
store i32 -1, ptr %3, align 4
br label %103
27: ; preds = %23
%28 = load i32, ptr %6, align 4
%29 = icmp sgt i32 %28, 127
br i1 %29, label %30, label %31
30: ; preds = %27
store i32 1, ptr %3, align 4
br label %103
31: ; preds = %27
br label %32
32: ; preds = %31
%33 = load double, ptr %4, align 8
%34 = fmul double %33, 3.276800e+04
%35 = fptosi double %34 to i16
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds i16, ptr %36, i64 0
store i16 %35, ptr %37, align 2
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds i16, ptr %38, i64 0
%40 = load i16, ptr %39, align 2
%41 = sitofp i16 %40 to double
%42 = fdiv double %41, 3.276800e+04
%43 = load double, ptr %4, align 8
%44 = fsub double %43, %42
store double %44, ptr %4, align 8
%45 = load double, ptr %4, align 8
%46 = fmul double %45, 0x4160000000000000
%47 = fptoui double %46 to i16
store i16 %47, ptr %8, align 2
%48 = load i16, ptr %8, align 2
%49 = zext i16 %48 to i32
%50 = shl i32 %49, 8
%51 = load i32, ptr %6, align 4
%52 = and i32 %51, 255
%53 = or i32 %50, %52
%54 = trunc i32 %53 to i16
%55 = load ptr, ptr %5, align 8
%56 = getelementptr inbounds i16, ptr %55, i64 1
store i16 %54, ptr %56, align 2
%57 = load i16, ptr %8, align 2
%58 = uitofp i16 %57 to double
%59 = fdiv double %58, 0x4160000000000000
%60 = load double, ptr %4, align 8
%61 = fsub double %60, %59
store double %61, ptr %4, align 8
%62 = load double, ptr %4, align 8
%63 = fmul double %62, 0x4260000000000000
%64 = fptoui double %63 to i16
store i16 %64, ptr %8, align 2
%65 = load i16, ptr %8, align 2
%66 = load ptr, ptr %5, align 8
%67 = getelementptr inbounds i16, ptr %66, i64 2
store i16 %65, ptr %67, align 2
%68 = load i32, ptr %7, align 4
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %102
70: ; preds = %32
%71 = load ptr, ptr %5, align 8
%72 = getelementptr inbounds i16, ptr %71, i64 0
%73 = load i16, ptr %72, align 2
%74 = sext i16 %73 to i32
%75 = xor i32 %74, -1
%76 = trunc i32 %75 to i16
%77 = load ptr, ptr %5, align 8
%78 = getelementptr inbounds i16, ptr %77, i64 0
store i16 %76, ptr %78, align 2
%79 = load ptr, ptr %5, align 8
%80 = getelementptr inbounds i16, ptr %79, i64 1
%81 = load i16, ptr %80, align 2
%82 = sext i16 %81 to i32
%83 = xor i32 %82, -1
%84 = and i32 %83, 65280
%85 = load ptr, ptr %5, align 8
%86 = getelementptr inbounds i16, ptr %85, i64 1
%87 = load i16, ptr %86, align 2
%88 = sext i16 %87 to i32
%89 = and i32 %88, 255
%90 = or i32 %84, %89
%91 = trunc i32 %90 to i16
%92 = load ptr, ptr %5, align 8
%93 = getelementptr inbounds i16, ptr %92, i64 1
store i16 %91, ptr %93, align 2
%94 = load ptr, ptr %5, align 8
%95 = getelementptr inbounds i16, ptr %94, i64 2
%96 = load i16, ptr %95, align 2
%97 = sext i16 %96 to i32
%98 = xor i32 %97, -1
%99 = trunc i32 %98 to i16
%100 = load ptr, ptr %5, align 8
%101 = getelementptr inbounds i16, ptr %100, i64 2
store i16 %99, ptr %101, align 2
br label %102
102: ; preds = %70, %32
store i32 0, ptr %3, align 4
br label %103
103: ; preds = %102, %30, %26
%104 = load i32, ptr %3, align 4
ret i32 %104
}
; Function Attrs: nounwind
declare double @frexp(double noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbwwbznem.c'
source_filename = "/tmp/tmpbwwbznem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BLKPBSZGET = 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/tmpbwwbznem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BLKPBSZGET = 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/tmp0ap6uddw.c'
source_filename = "/tmp/tmp0ap6uddw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_un = type { i32, i32 }
@main.command = internal constant [10 x i8] c"show all\0A\00", align 1
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"/var/run/miniupnpd.ctl\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"connect\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Connected.\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"read\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [24 x i8] c"error writing to stdout\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 [256 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.sockaddr_un, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr @AF_UNIX, align 4
%13 = load i32, ptr @SOCK_STREAM, align 4
%14 = call i32 @socket(i32 noundef %12, i32 noundef %13, i32 noundef 0)
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 = %2
%18 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %69
19: ; preds = %2
%20 = load i32, ptr @AF_UNIX, align 4
%21 = getelementptr inbounds %struct.sockaddr_un, ptr %9, i32 0, i32 1
store i32 %20, ptr %21, align 4
%22 = getelementptr inbounds %struct.sockaddr_un, ptr %9, i32 0, i32 0
%23 = load i32, ptr %22, align 4
%24 = call i32 @strncpy(i32 noundef %23, ptr noundef @.str.1, i32 noundef 4)
%25 = load i32, ptr %8, align 4
%26 = call i64 @connect(i32 noundef %25, ptr noundef %9, i32 noundef 8)
%27 = icmp slt i64 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %19
%29 = call i32 @perror(ptr noundef @.str.2)
%30 = load i32, ptr %8, align 4
%31 = call i32 @close(i32 noundef %30)
store i32 1, ptr %3, align 4
br label %69
32: ; preds = %19
%33 = call i32 @printf(ptr noundef @.str.3)
%34 = load i32, ptr %8, align 4
%35 = call i64 @write(i32 noundef %34, ptr noundef @main.command, i32 noundef 10)
%36 = icmp slt i64 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %32
%38 = call i32 @perror(ptr noundef @.str.4)
%39 = load i32, ptr %8, align 4
%40 = call i32 @close(i32 noundef %39)
store i32 1, ptr %3, align 4
br label %69
41: ; preds = %32
br label %42
42: ; preds = %65, %41
%43 = load i32, ptr %8, align 4
%44 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%45 = call i32 @read(i32 noundef %43, ptr noundef %44, i32 noundef 256)
store i32 %45, ptr %7, align 4
%46 = load i32, ptr %7, align 4
%47 = icmp slt i32 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %42
%49 = call i32 @perror(ptr noundef @.str.5)
br label %66
50: ; preds = %42
%51 = load i32, ptr %7, align 4
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %54
53: ; preds = %50
br label %66
54: ; preds = %50
%55 = load i32, ptr @stdout, align 4
%56 = call i32 @fflush(i32 noundef %55)
%57 = load i32, ptr @stdout, align 4
%58 = call i32 @fileno(i32 noundef %57)
%59 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%60 = load i32, ptr %7, align 4
%61 = call i64 @write(i32 noundef %58, ptr noundef %59, i32 noundef %60)
%62 = icmp slt i64 %61, 0
br i1 %62, label %63, label %65
63: ; preds = %54
%64 = call i32 @perror(ptr noundef @.str.6)
br label %65
65: ; preds = %63, %54
br label %42
66: ; preds = %53, %48
%67 = load i32, ptr %8, align 4
%68 = call i32 @close(i32 noundef %67)
store i32 0, ptr %3, align 4
br label %69
69: ; preds = %66, %37, %28, %17
%70 = load i32, ptr %3, align 4
ret i32 %70
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @fileno(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/tmp0ap6uddw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_un = type { i32, i32 }
@main.command = internal constant [10 x i8] c"show all\0A\00", align 1
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"/var/run/miniupnpd.ctl\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"connect\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Connected.\0A\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"read\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [24 x i8] c"error writing to stdout\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 [256 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.sockaddr_un, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr @AF_UNIX, align 4
%13 = load i32, ptr @SOCK_STREAM, align 4
%14 = call i32 @socket(i32 noundef %12, i32 noundef %13, i32 noundef 0)
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 = %2
%18 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %72
19: ; preds = %2
%20 = load i32, ptr @AF_UNIX, align 4
%21 = getelementptr inbounds %struct.sockaddr_un, ptr %9, i32 0, i32 1
store i32 %20, ptr %21, align 4
%22 = getelementptr inbounds %struct.sockaddr_un, ptr %9, i32 0, i32 0
%23 = load i32, ptr %22, align 4
%24 = call i32 @strncpy(i32 noundef %23, ptr noundef @.str.1, i32 noundef 4)
%25 = load i32, ptr %8, align 4
%26 = call i64 @connect(i32 noundef %25, ptr noundef %9, i32 noundef 8)
%27 = icmp slt i64 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %19
%29 = call i32 @perror(ptr noundef @.str.2)
%30 = load i32, ptr %8, align 4
%31 = call i32 @close(i32 noundef %30)
store i32 1, ptr %3, align 4
br label %72
32: ; preds = %19
%33 = call i32 @printf(ptr noundef @.str.3)
%34 = load i32, ptr %8, align 4
%35 = call i64 @write(i32 noundef %34, ptr noundef @main.command, i32 noundef 10)
%36 = icmp slt i64 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %32
%38 = call i32 @perror(ptr noundef @.str.4)
%39 = load i32, ptr %8, align 4
%40 = call i32 @close(i32 noundef %39)
store i32 1, ptr %3, align 4
br label %72
41: ; preds = %32
%42 = load i32, ptr %8, align 4
%43 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%44 = call i32 @read(i32 noundef %42, ptr noundef %43, i32 noundef 256)
store i32 %44, ptr %7, align 4
%45 = load i32, ptr %7, align 4
%46 = icmp slt i32 %45, 0
br i1 %46, label %47, label %.lr.ph
.lr.ph: ; preds = %41
br label %49
._crit_edge: ; preds = %64
br label %47
47: ; preds = %._crit_edge, %41
%48 = call i32 @perror(ptr noundef @.str.5)
br label %69
49: ; preds = %.lr.ph, %64
%50 = load i32, ptr %7, align 4
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %49
br label %69
53: ; preds = %49
%54 = load i32, ptr @stdout, align 4
%55 = call i32 @fflush(i32 noundef %54)
%56 = load i32, ptr @stdout, align 4
%57 = call i32 @fileno(i32 noundef %56)
%58 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%59 = load i32, ptr %7, align 4
%60 = call i64 @write(i32 noundef %57, ptr noundef %58, i32 noundef %59)
%61 = icmp slt i64 %60, 0
br i1 %61, label %62, label %64
62: ; preds = %53
%63 = call i32 @perror(ptr noundef @.str.6)
br label %64
64: ; preds = %62, %53
%65 = load i32, ptr %8, align 4
%66 = call i32 @read(i32 noundef %65, ptr noundef %43, i32 noundef 256)
store i32 %66, ptr %7, align 4
%67 = load i32, ptr %7, align 4
%68 = icmp slt i32 %67, 0
br i1 %68, label %._crit_edge, label %49
69: ; preds = %52, %47
%70 = load i32, ptr %8, align 4
%71 = call i32 @close(i32 noundef %70)
store i32 0, ptr %3, align 4
br label %72
72: ; preds = %69, %37, %28, %17
%73 = load i32, ptr %3, align 4
ret i32 %73
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @fileno(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/tmps8c6y8ae.c'
source_filename = "/tmp/tmps8c6y8ae.c"
target datalayout = "e-m:e-p270: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/tmps8c6y8ae.c"
target datalayout = "e-m:e-p270: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/tmpsxfw1euv.c'
source_filename = "/tmp/tmpsxfw1euv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [31 x ptr], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %12, %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i32 1
store ptr %10, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %19
12: ; preds = %8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %13, align 8
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %7, align 4
%17 = sext i32 %15 to i64
%18 = getelementptr inbounds [31 x ptr], ptr %6, i64 0, i64 %17
store ptr %14, ptr %18, align 8
br label %8, !llvm.loop !6
19: ; preds = %8
store i32 0, ptr %7, align 4
br label %20
20: ; preds = %41, %19
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %4, align 4
%23 = sub nsw i32 %22, 1
%24 = icmp slt i32 %21, %23
br i1 %24, label %25, label %45
25: ; preds = %20
br label %26
26: ; preds = %33, %25
%27 = load i32, ptr %7, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [31 x ptr], ptr %6, i64 0, i64 %28
%30 = load ptr, ptr %29, align 8
%31 = load i8, ptr %30, align 1
%32 = icmp ne i8 %31, 0
br i1 %32, label %33, label %41
33: ; preds = %26
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [31 x ptr], ptr %6, i64 0, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %36, align 8
%39 = load i8, ptr %37, align 1
%40 = call i32 @ft_putchar(i8 noundef signext %39)
br label %26, !llvm.loop !8
41: ; preds = %26
%42 = call i32 @ft_putchar(i8 noundef signext 10)
%43 = load i32, ptr %7, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %7, align 4
br label %20, !llvm.loop !9
45: ; preds = %20
ret i32 0
}
declare i32 @ft_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsxfw1euv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [31 x ptr], align 16
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i32 1
store ptr %9, ptr %5, align 8
br label %10
10: ; preds = %2, %10
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %11, align 8
%13 = load i32, ptr %7, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %7, align 4
%15 = sext i32 %13 to i64
%16 = getelementptr inbounds [31 x ptr], ptr %6, i64 0, i64 %15
store ptr %12, ptr %16, align 8
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i32 1
store ptr %18, ptr %5, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %10, label %20, !llvm.loop !6
20: ; preds = %10
store i32 0, ptr %7, align 4
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %4, align 4
%23 = sub nsw i32 %22, 1
%24 = icmp slt i32 %21, %23
br i1 %24, label %.lr.ph2, label %54
.lr.ph2: ; preds = %20
br label %25
25: ; preds = %.lr.ph2, %46
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [31 x ptr], ptr %6, i64 0, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = load i8, ptr %29, align 1
%31 = icmp ne i8 %30, 0
br i1 %31, label %.lr.ph, label %46
.lr.ph: ; preds = %25
br label %32
32: ; preds = %.lr.ph, %32
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [31 x ptr], ptr %6, i64 0, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %35, align 8
%38 = load i8, ptr %36, align 1
%39 = call i32 @ft_putchar(i8 noundef signext %38)
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [31 x ptr], ptr %6, i64 0, i64 %41
%43 = load ptr, ptr %42, align 8
%44 = load i8, ptr %43, align 1
%45 = icmp ne i8 %44, 0
br i1 %45, label %32, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %32
br label %46
46: ; preds = %._crit_edge, %25
%47 = call i32 @ft_putchar(i8 noundef signext 10)
%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 %4, align 4
%52 = sub nsw i32 %51, 1
%53 = icmp slt i32 %50, %52
br i1 %53, label %25, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %46
br label %54
54: ; preds = %._crit_edge3, %20
ret i32 0
}
declare i32 @ft_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp79knf_72.c'
source_filename = "/tmp/tmp79knf_72.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @partition(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%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 i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%12 = load i32, ptr %6, align 4
store i32 %12, ptr %10, align 4
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %8, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %11, align 4
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %8, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = call i32 @swap(ptr noundef %21, ptr noundef %25)
%27 = load i32, ptr %6, align 4
store i32 %27, ptr %9, align 4
br label %28
28: ; preds = %53, %4
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %56
32: ; preds = %28
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %9, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load i32, ptr %36, align 4
%38 = load i32, ptr %11, align 4
%39 = icmp sle i32 %37, %38
br i1 %39, label %40, label %52
40: ; preds = %32
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %10, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %9, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
%49 = call i32 @swap(ptr noundef %44, ptr noundef %48)
%50 = load i32, ptr %10, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %10, align 4
br label %52
52: ; preds = %40, %32
br label %53
53: ; preds = %52
%54 = load i32, ptr %9, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %9, align 4
br label %28, !llvm.loop !6
56: ; preds = %28
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %10, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %57, i64 %59
%61 = load ptr, ptr %5, align 8
%62 = load i32, ptr %7, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %61, i64 %63
%65 = call i32 @swap(ptr noundef %60, ptr noundef %64)
%66 = load i32, ptr %10, align 4
ret i32 %66
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp79knf_72.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @partition(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%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 i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%12 = load i32, ptr %6, align 4
store i32 %12, ptr %10, align 4
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %8, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %11, align 4
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %8, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = call i32 @swap(ptr noundef %21, ptr noundef %25)
%27 = load i32, ptr %6, align 4
store i32 %27, ptr %9, align 4
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph, label %58
.lr.ph: ; preds = %4
br label %31
31: ; preds = %.lr.ph, %52
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
%36 = load i32, ptr %35, align 4
%37 = load i32, ptr %11, align 4
%38 = icmp sle i32 %36, %37
br i1 %38, label %39, label %51
39: ; preds = %31
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %10, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %9, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
%48 = call i32 @swap(ptr noundef %43, ptr noundef %47)
%49 = load i32, ptr %10, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %10, align 4
br label %51
51: ; preds = %39, %31
br label %52
52: ; preds = %51
%53 = load i32, ptr %9, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %9, align 4
%55 = load i32, ptr %9, align 4
%56 = load i32, ptr %7, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %58
58: ; preds = %._crit_edge, %4
%59 = load ptr, ptr %5, align 8
%60 = load i32, ptr %10, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %59, i64 %61
%63 = load ptr, ptr %5, align 8
%64 = load i32, ptr %7, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %63, i64 %65
%67 = call i32 @swap(ptr noundef %62, ptr noundef %66)
%68 = load i32, ptr %10, align 4
ret i32 %68
}
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxewqa_q9.c'
source_filename = "/tmp/tmpxewqa_q9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SHAMD5HashLengthSet(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = add nsw i64 %6, 72
%8 = inttoptr i64 %7 to ptr
store volatile i64 %5, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxewqa_q9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SHAMD5HashLengthSet(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = add nsw i64 %6, 72
%8 = inttoptr i64 %7 to ptr
store volatile i64 %5, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp16jena40.c'
source_filename = "/tmp/tmp16jena40.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XKeyboardState_bell_duration(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp16jena40.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XKeyboardState_bell_duration(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpobeq4w25.c'
source_filename = "/tmp/tmpobeq4w25.c"
target datalayout = "e-m:e-p270: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/tmpobeq4w25.c"
target datalayout = "e-m:e-p270: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/tmpb2qg0zm2.c'
source_filename = "/tmp/tmpb2qg0zm2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a letter: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"%c is a vowel.\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"%c is a consonant.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i8, ptr %2, align 1
%6 = sext i8 %5 to i32
%7 = icmp eq i32 %6, 97
br i1 %7, label %44, label %8
8: ; preds = %0
%9 = load i8, ptr %2, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 65
br i1 %11, label %44, label %12
12: ; preds = %8
%13 = load i8, ptr %2, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 101
br i1 %15, label %44, label %16
16: ; preds = %12
%17 = load i8, ptr %2, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 69
br i1 %19, label %44, label %20
20: ; preds = %16
%21 = load i8, ptr %2, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 105
br i1 %23, label %44, label %24
24: ; preds = %20
%25 = load i8, ptr %2, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 73
br i1 %27, label %44, label %28
28: ; preds = %24
%29 = load i8, ptr %2, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 111
br i1 %31, label %44, label %32
32: ; preds = %28
%33 = load i8, ptr %2, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 79
br i1 %35, label %44, label %36
36: ; preds = %32
%37 = load i8, ptr %2, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 117
br i1 %39, label %44, label %40
40: ; preds = %36
%41 = load i8, ptr %2, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 85
br i1 %43, label %44, label %48
44: ; preds = %40, %36, %32, %28, %24, %20, %16, %12, %8, %0
%45 = load i8, ptr %2, align 1
%46 = sext i8 %45 to i32
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %46)
br label %52
48: ; preds = %40
%49 = load i8, ptr %2, align 1
%50 = sext i8 %49 to i32
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %50)
br label %52
52: ; preds = %48, %44
%53 = load i32, ptr %1, align 4
ret i32 %53
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb2qg0zm2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a letter: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"%c is a vowel.\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"%c is a consonant.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i8, ptr %2, align 1
%6 = sext i8 %5 to i32
%7 = icmp eq i32 %6, 97
br i1 %7, label %44, label %8
8: ; preds = %0
%9 = load i8, ptr %2, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 65
br i1 %11, label %44, label %12
12: ; preds = %8
%13 = load i8, ptr %2, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 101
br i1 %15, label %44, label %16
16: ; preds = %12
%17 = load i8, ptr %2, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 69
br i1 %19, label %44, label %20
20: ; preds = %16
%21 = load i8, ptr %2, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 105
br i1 %23, label %44, label %24
24: ; preds = %20
%25 = load i8, ptr %2, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 73
br i1 %27, label %44, label %28
28: ; preds = %24
%29 = load i8, ptr %2, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 111
br i1 %31, label %44, label %32
32: ; preds = %28
%33 = load i8, ptr %2, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 79
br i1 %35, label %44, label %36
36: ; preds = %32
%37 = load i8, ptr %2, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 117
br i1 %39, label %44, label %40
40: ; preds = %36
%41 = load i8, ptr %2, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 85
br i1 %43, label %44, label %48
44: ; preds = %40, %36, %32, %28, %24, %20, %16, %12, %8, %0
%45 = load i8, ptr %2, align 1
%46 = sext i8 %45 to i32
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %46)
br label %52
48: ; preds = %40
%49 = load i8, ptr %2, align 1
%50 = sext i8 %49 to i32
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %50)
br label %52
52: ; preds = %48, %44
%53 = load i32, ptr %1, align 4
ret i32 %53
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyv43mkmm.c'
source_filename = "/tmp/tmpyv43mkmm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UARTTxIntModeGet(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = add nsw i32 %3, 48
%5 = sext i32 %4 to i64
%6 = inttoptr i64 %5 to ptr
%7 = load volatile i32, ptr %6, align 4
%8 = and i32 %7, 16
ret i32 %8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyv43mkmm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UARTTxIntModeGet(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = add nsw i32 %3, 48
%5 = sext i32 %4 to i64
%6 = inttoptr i64 %5 to ptr
%7 = load volatile i32, ptr %6, align 4
%8 = and i32 %7, 16
ret i32 %8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprratg1z2.c'
source_filename = "/tmp/tmprratg1z2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_5__ = type { ptr, i32, ptr, i32, i32, i32, ptr, ptr }
@Z_OK = dso_local global i32 0, align 4
@Z_PARTIAL_FLUSH = dso_local global i32 0, align 4
@Z_FINISH = dso_local global i32 0, align 4
@Z_STREAM_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @jffs2_zlib_compress(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca %struct.TYPE_5__, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%14 = load ptr, ptr %10, align 8
%15 = load i32, ptr %14, align 4
%16 = icmp sle i32 %15, 12
br i1 %16, label %17, label %18
17: ; preds = %5
store i32 -1, ptr %6, align 4
br label %110
18: ; preds = %5
%19 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 7
store ptr null, ptr %19, align 8
%20 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 6
store ptr null, ptr %20, align 8
%21 = load i32, ptr @Z_OK, align 4
%22 = call i32 @deflateInit(ptr noundef %12, i32 noundef 3)
%23 = icmp ne i32 %21, %22
br i1 %23, label %24, label %25
24: ; preds = %18
store i32 -1, ptr %6, align 4
br label %110
25: ; preds = %18
%26 = load ptr, ptr %7, align 8
%27 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 0
store ptr %26, ptr %27, align 8
%28 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1
store i32 0, ptr %28, align 8
%29 = load ptr, ptr %8, align 8
%30 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 2
store ptr %29, ptr %30, align 8
%31 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 3
store i32 0, ptr %31, align 8
br label %32
32: ; preds = %82, %25
%33 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 3
%34 = load i32, ptr %33, align 8
%35 = add nsw i32 %34, 12
%36 = load ptr, ptr %10, align 8
%37 = load i32, ptr %36, align 4
%38 = icmp slt i32 %35, %37
br i1 %38, label %39, label %45
39: ; preds = %32
%40 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1
%41 = load i32, ptr %40, align 8
%42 = load ptr, ptr %9, align 8
%43 = load i32, ptr %42, align 4
%44 = icmp slt i32 %41, %43
br label %45
45: ; preds = %39, %32
%46 = phi i1 [ false, %32 ], [ %44, %39 ]
br i1 %46, label %47, label %83
47: ; preds = %45
%48 = load ptr, ptr %10, align 8
%49 = load i32, ptr %48, align 4
%50 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 3
%51 = load i32, ptr %50, align 8
%52 = add nsw i32 %51, 12
%53 = sub nsw i32 %49, %52
%54 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 4
store i32 %53, ptr %54, align 4
%55 = load ptr, ptr %9, align 8
%56 = load i32, ptr %55, align 4
%57 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1
%58 = load i32, ptr %57, align 8
%59 = sub nsw i32 %56, %58
%60 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 4
%61 = load i32, ptr %60, align 4
%62 = icmp ult i32 %59, %61
br i1 %62, label %63, label %69
63: ; preds = %47
%64 = load ptr, ptr %9, align 8
%65 = load i32, ptr %64, align 4
%66 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1
%67 = load i32, ptr %66, align 8
%68 = sub nsw i32 %65, %67
br label %72
69: ; preds = %47
%70 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 4
%71 = load i32, ptr %70, align 4
br label %72
72: ; preds = %69, %63
%73 = phi i32 [ %68, %63 ], [ %71, %69 ]
%74 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 5
store i32 %73, ptr %74, align 8
%75 = load i32, ptr @Z_PARTIAL_FLUSH, align 4
%76 = call i32 @deflate(ptr noundef %12, i32 noundef %75)
store i32 %76, ptr %13, align 4
%77 = load i32, ptr %13, align 4
%78 = load i32, ptr @Z_OK, align 4
%79 = icmp ne i32 %77, %78
br i1 %79, label %80, label %82
80: ; preds = %72
%81 = call i32 @deflateEnd(ptr noundef %12)
store i32 -1, ptr %6, align 4
br label %110
82: ; preds = %72
br label %32, !llvm.loop !6
83: ; preds = %45
%84 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 4
%85 = load i32, ptr %84, align 4
%86 = add nsw i32 %85, 12
store i32 %86, ptr %84, align 4
%87 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 5
store i32 0, ptr %87, align 8
%88 = load i32, ptr @Z_FINISH, align 4
%89 = call i32 @deflate(ptr noundef %12, i32 noundef %88)
store i32 %89, ptr %13, align 4
%90 = load i32, ptr %13, align 4
%91 = load i32, ptr @Z_STREAM_END, align 4
%92 = icmp ne i32 %90, %91
br i1 %92, label %93, label %95
93: ; preds = %83
%94 = call i32 @deflateEnd(ptr noundef %12)
store i32 -1, ptr %6, align 4
br label %110
95: ; preds = %83
%96 = call i32 @deflateEnd(ptr noundef %12)
%97 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 3
%98 = load i32, ptr %97, align 8
%99 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1
%100 = load i32, ptr %99, align 8
%101 = icmp sge i32 %98, %100
br i1 %101, label %102, label %103
102: ; preds = %95
store i32 -1, ptr %6, align 4
br label %110
103: ; preds = %95
%104 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 3
%105 = load i32, ptr %104, align 8
%106 = load ptr, ptr %10, align 8
store i32 %105, ptr %106, align 4
%107 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1
%108 = load i32, ptr %107, align 8
%109 = load ptr, ptr %9, align 8
store i32 %108, ptr %109, align 4
store i32 0, ptr %6, align 4
br label %110
110: ; preds = %103, %102, %93, %80, %24, %17
%111 = load i32, ptr %6, align 4
ret i32 %111
}
declare i32 @deflateInit(ptr noundef, i32 noundef) #1
declare i32 @deflate(ptr noundef, i32 noundef) #1
declare i32 @deflateEnd(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmprratg1z2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_5__ = type { ptr, i32, ptr, i32, i32, i32, ptr, ptr }
@Z_OK = dso_local global i32 0, align 4
@Z_PARTIAL_FLUSH = dso_local global i32 0, align 4
@Z_FINISH = dso_local global i32 0, align 4
@Z_STREAM_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @jffs2_zlib_compress(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca %struct.TYPE_5__, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%14 = load ptr, ptr %10, align 8
%15 = load i32, ptr %14, align 4
%16 = icmp sle i32 %15, 12
br i1 %16, label %17, label %18
17: ; preds = %5
store i32 -1, ptr %6, align 4
br label %109
18: ; preds = %5
%19 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 7
store ptr null, ptr %19, align 8
%20 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 6
store ptr null, ptr %20, align 8
%21 = load i32, ptr @Z_OK, align 4
%22 = call i32 @deflateInit(ptr noundef %12, i32 noundef 3)
%23 = icmp ne i32 %21, %22
br i1 %23, label %24, label %25
24: ; preds = %18
store i32 -1, ptr %6, align 4
br label %109
25: ; preds = %18
%26 = load ptr, ptr %7, align 8
%27 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 0
store ptr %26, ptr %27, align 8
%28 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1
store i32 0, ptr %28, align 8
%29 = load ptr, ptr %8, align 8
%30 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 2
store ptr %29, ptr %30, align 8
%31 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 3
store i32 0, ptr %31, align 8
br label %32
32: ; preds = %72, %25
%33 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 3
%34 = load i32, ptr %33, align 8
%35 = add nsw i32 %34, 12
%36 = load ptr, ptr %10, align 8
%37 = load i32, ptr %36, align 4
%38 = icmp slt i32 %35, %37
br i1 %38, label %39, label %45
39: ; preds = %32
%40 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1
%41 = load i32, ptr %40, align 8
%42 = load ptr, ptr %9, align 8
%43 = load i32, ptr %42, align 4
%44 = icmp slt i32 %41, %43
br label %45
45: ; preds = %39, %32
%46 = phi i1 [ false, %32 ], [ %44, %39 ]
br i1 %46, label %47, label %82
47: ; preds = %45
%48 = load ptr, ptr %10, align 8
%49 = load i32, ptr %48, align 4
%50 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 3
%51 = load i32, ptr %50, align 8
%52 = add nsw i32 %51, 12
%53 = sub nsw i32 %49, %52
%54 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 4
store i32 %53, ptr %54, align 4
%55 = load ptr, ptr %9, align 8
%56 = load i32, ptr %55, align 4
%57 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1
%58 = load i32, ptr %57, align 8
%59 = sub nsw i32 %56, %58
%60 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 4
%61 = load i32, ptr %60, align 4
%62 = icmp ult i32 %59, %61
br i1 %62, label %63, label %69
63: ; preds = %47
%64 = load ptr, ptr %9, align 8
%65 = load i32, ptr %64, align 4
%66 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1
%67 = load i32, ptr %66, align 8
%68 = sub nsw i32 %65, %67
br label %72
69: ; preds = %47
%70 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 4
%71 = load i32, ptr %70, align 4
br label %72
72: ; preds = %69, %63
%73 = phi i32 [ %68, %63 ], [ %71, %69 ]
%74 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 5
store i32 %73, ptr %74, align 8
%75 = load i32, ptr @Z_PARTIAL_FLUSH, align 4
%76 = call i32 @deflate(ptr noundef %12, i32 noundef %75)
store i32 %76, ptr %13, align 4
%77 = load i32, ptr %13, align 4
%78 = load i32, ptr @Z_OK, align 4
%79 = icmp ne i32 %77, %78
br i1 %79, label %80, label %32, !llvm.loop !6
80: ; preds = %72
%81 = call i32 @deflateEnd(ptr noundef %12)
store i32 -1, ptr %6, align 4
br label %109
82: ; preds = %45
%83 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 4
%84 = load i32, ptr %83, align 4
%85 = add nsw i32 %84, 12
store i32 %85, ptr %83, align 4
%86 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 5
store i32 0, ptr %86, align 8
%87 = load i32, ptr @Z_FINISH, align 4
%88 = call i32 @deflate(ptr noundef %12, i32 noundef %87)
store i32 %88, ptr %13, align 4
%89 = load i32, ptr %13, align 4
%90 = load i32, ptr @Z_STREAM_END, align 4
%91 = icmp ne i32 %89, %90
br i1 %91, label %92, label %94
92: ; preds = %82
%93 = call i32 @deflateEnd(ptr noundef %12)
store i32 -1, ptr %6, align 4
br label %109
94: ; preds = %82
%95 = call i32 @deflateEnd(ptr noundef %12)
%96 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 3
%97 = load i32, ptr %96, align 8
%98 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1
%99 = load i32, ptr %98, align 8
%100 = icmp sge i32 %97, %99
br i1 %100, label %101, label %102
101: ; preds = %94
store i32 -1, ptr %6, align 4
br label %109
102: ; preds = %94
%103 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 3
%104 = load i32, ptr %103, align 8
%105 = load ptr, ptr %10, align 8
store i32 %104, ptr %105, align 4
%106 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i32 0, i32 1
%107 = load i32, ptr %106, align 8
%108 = load ptr, ptr %9, align 8
store i32 %107, ptr %108, align 4
store i32 0, ptr %6, align 4
br label %109
109: ; preds = %102, %101, %92, %80, %24, %17
%110 = load i32, ptr %6, align 4
ret i32 %110
}
declare i32 @deflateInit(ptr noundef, i32 noundef) #1
declare i32 @deflate(ptr noundef, i32 noundef) #1
declare i32 @deflateEnd(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp9xcgnng3.c'
source_filename = "/tmp/tmp9xcgnng3.c"
target datalayout = "e-m:e-p270: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/tmp9xcgnng3.c"
target datalayout = "e-m:e-p270: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/tmpgnfagn14.c'
source_filename = "/tmp/tmpgnfagn14.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"Enter 0 to stop or non zero to continue: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Continue() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = load i32, ptr %1, align 4
ret i32 %4
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgnfagn14.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"Enter 0 to stop or non zero to continue: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Continue() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = load i32, ptr %1, align 4
ret i32 %4
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplc3h_vq3.c'
source_filename = "/tmp/tmplc3h_vq3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @playThreeTones(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 = call i32 @startTone(i32 noundef 0, i32 noundef %7)
%9 = load i32, ptr %5, align 4
%10 = call i32 @startTone(i32 noundef 1, i32 noundef %9)
%11 = load i32, ptr %6, align 4
%12 = call i32 @startTone(i32 noundef 2, i32 noundef %11)
%13 = call i32 (...) @delay()
%14 = call i32 @stopTone(i32 noundef 0)
%15 = call i32 @stopTone(i32 noundef 1)
%16 = call i32 @stopTone(i32 noundef 2)
ret void
}
declare i32 @startTone(i32 noundef, i32 noundef) #1
declare i32 @delay(...) #1
declare i32 @stopTone(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/tmplc3h_vq3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @playThreeTones(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 = call i32 @startTone(i32 noundef 0, i32 noundef %7)
%9 = load i32, ptr %5, align 4
%10 = call i32 @startTone(i32 noundef 1, i32 noundef %9)
%11 = load i32, ptr %6, align 4
%12 = call i32 @startTone(i32 noundef 2, i32 noundef %11)
%13 = call i32 (...) @delay()
%14 = call i32 @stopTone(i32 noundef 0)
%15 = call i32 @stopTone(i32 noundef 1)
%16 = call i32 @stopTone(i32 noundef 2)
ret void
}
declare i32 @startTone(i32 noundef, i32 noundef) #1
declare i32 @delay(...) #1
declare i32 @stopTone(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/tmpt2h61mz3.c'
source_filename = "/tmp/tmpt2h61mz3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rw1990WriteEnable(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
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %5, align 4
%9 = call i64 @owTouchReset(i32 noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %19
11: ; preds = %3
%12 = load i32, ptr %5, align 4
%13 = call i32 @owTouchByte(i32 noundef %12, i32 noundef 209)
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %7, align 4
%16 = call i32 @owTouchBit(i32 noundef %14, i32 noundef %15)
%17 = load i32, ptr %6, align 4
%18 = call i32 @msDelay(i32 noundef %17)
br label %21
19: ; preds = %3
%20 = call i32 @owRaiseError(i32 noundef 12)
store i32 0, ptr %4, align 4
br label %22
21: ; preds = %11
store i32 1, ptr %4, align 4
br label %22
22: ; preds = %21, %19
%23 = load i32, ptr %4, align 4
ret i32 %23
}
declare i64 @owTouchReset(i32 noundef) #1
declare i32 @owTouchByte(i32 noundef, i32 noundef) #1
declare i32 @owTouchBit(i32 noundef, i32 noundef) #1
declare i32 @msDelay(i32 noundef) #1
declare i32 @owRaiseError(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/tmpt2h61mz3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rw1990WriteEnable(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
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %5, align 4
%9 = call i64 @owTouchReset(i32 noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %19
11: ; preds = %3
%12 = load i32, ptr %5, align 4
%13 = call i32 @owTouchByte(i32 noundef %12, i32 noundef 209)
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %7, align 4
%16 = call i32 @owTouchBit(i32 noundef %14, i32 noundef %15)
%17 = load i32, ptr %6, align 4
%18 = call i32 @msDelay(i32 noundef %17)
br label %21
19: ; preds = %3
%20 = call i32 @owRaiseError(i32 noundef 12)
store i32 0, ptr %4, align 4
br label %22
21: ; preds = %11
store i32 1, ptr %4, align 4
br label %22
22: ; preds = %21, %19
%23 = load i32, ptr %4, align 4
ret i32 %23
}
declare i64 @owTouchReset(i32 noundef) #1
declare i32 @owTouchByte(i32 noundef, i32 noundef) #1
declare i32 @owTouchBit(i32 noundef, i32 noundef) #1
declare i32 @msDelay(i32 noundef) #1
declare i32 @owRaiseError(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/tmpw2lgd2ly.c'
source_filename = "/tmp/tmpw2lgd2ly.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"usage: %s %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = call ptr (...) @getprogname()
%5 = load ptr, ptr %2, align 8
%6 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4, ptr noundef %5)
%7 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @getprogname(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw2lgd2ly.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"usage: %s %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = call ptr (...) @getprogname()
%5 = load ptr, ptr %2, align 8
%6 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4, ptr noundef %5)
%7 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @getprogname(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp28kgtl1x.c'
source_filename = "/tmp/tmp28kgtl1x.c"
target datalayout = "e-m:e-p270: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/tmp28kgtl1x.c"
target datalayout = "e-m:e-p270: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/tmpjy9kg3y2.c'
source_filename = "/tmp/tmpjy9kg3y2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"usage : brotherprime d\0A\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = 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(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 [1024 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %42
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @strtol(ptr noundef %17, ptr noundef null, i32 noundef 10)
store i32 %18, ptr %8, align 4
store i32 -1, ptr %7, align 4
br label %19
19: ; preds = %39, %14
%20 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%21 = load i32, ptr @stdin, align 4
%22 = call i64 @fgets(ptr noundef %20, i32 noundef 1024, i32 noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %41
24: ; preds = %19
%25 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%26 = call i32 @strtol(ptr noundef %25, ptr noundef null, i32 noundef 10)
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp ne i32 %27, -1
br i1 %28, label %29, label %39
29: ; preds = %24
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %8, align 4
%32 = sub nsw i32 %30, %31
%33 = load i32, ptr %7, align 4
%34 = icmp eq i32 %32, %33
br i1 %34, label %35, label %39
35: ; preds = %29
%36 = load i32, ptr %7, align 4
%37 = load i32, ptr %6, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %36, i32 noundef %37)
br label %39
39: ; preds = %35, %29, %24
%40 = load i32, ptr %6, align 4
store i32 %40, ptr %7, align 4
br label %19, !llvm.loop !6
41: ; preds = %19
store i32 0, ptr %3, align 4
br label %42
42: ; preds = %41, %12
%43 = load i32, ptr %3, align 4
ret i32 %43
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @fgets(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/tmpjy9kg3y2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"usage : brotherprime d\0A\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = 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(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 [1024 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %44
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @strtol(ptr noundef %17, ptr noundef null, i32 noundef 10)
store i32 %18, ptr %8, align 4
store i32 -1, ptr %7, align 4
%19 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%20 = load i32, ptr @stdin, align 4
%21 = call i64 @fgets(ptr noundef %19, i32 noundef 1024, i32 noundef %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %.lr.ph, label %43
.lr.ph: ; preds = %14
br label %23
23: ; preds = %.lr.ph, %38
%24 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%25 = call i32 @strtol(ptr noundef %24, ptr noundef null, i32 noundef 10)
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp ne i32 %26, -1
br i1 %27, label %28, label %38
28: ; preds = %23
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %8, align 4
%31 = sub nsw i32 %29, %30
%32 = load i32, ptr %7, align 4
%33 = icmp eq i32 %31, %32
br i1 %33, label %34, label %38
34: ; preds = %28
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %6, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35, i32 noundef %36)
br label %38
38: ; preds = %34, %28, %23
%39 = load i32, ptr %6, align 4
store i32 %39, ptr %7, align 4
%40 = load i32, ptr @stdin, align 4
%41 = call i64 @fgets(ptr noundef %19, i32 noundef 1024, i32 noundef %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %43
43: ; preds = %._crit_edge, %14
store i32 0, ptr %3, align 4
br label %44
44: ; preds = %43, %12
%45 = load i32, ptr %3, align 4
ret i32 %45
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @fgets(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/tmpu5mgmx_n.c'
source_filename = "/tmp/tmpu5mgmx_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @readline(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i8, align 1
%11 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %11, align 8
store i64 1, ptr %8, align 8
br label %13
13: ; preds = %39, %3
%14 = load i64, ptr %8, align 8
%15 = load i64, ptr %7, align 8
%16 = icmp ult i64 %14, %15
br i1 %16, label %17, label %42
17: ; preds = %13
%18 = load i32, ptr %5, align 4
%19 = call i64 @my_read(i32 noundef %18, ptr noundef %10)
store i64 %19, ptr %9, align 8
%20 = icmp eq i64 %19, 1
br i1 %20, label %21, label %30
21: ; preds = %17
%22 = load i8, ptr %10, align 1
%23 = load ptr, ptr %11, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %11, align 8
store i8 %22, ptr %23, align 1
%25 = load i8, ptr %10, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 10
br i1 %27, label %28, label %29
28: ; preds = %21
br label %42
29: ; preds = %21
br label %38
30: ; preds = %17
%31 = load i64, ptr %9, align 8
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %37
33: ; preds = %30
%34 = load ptr, ptr %11, align 8
store i8 0, ptr %34, align 1
%35 = load i64, ptr %8, align 8
%36 = sub i64 %35, 1
store i64 %36, ptr %4, align 8
br label %45
37: ; preds = %30
store i64 -1, ptr %4, align 8
br label %45
38: ; preds = %29
br label %39
39: ; preds = %38
%40 = load i64, ptr %8, align 8
%41 = add i64 %40, 1
store i64 %41, ptr %8, align 8
br label %13, !llvm.loop !6
42: ; preds = %28, %13
%43 = load ptr, ptr %11, align 8
store i8 0, ptr %43, align 1
%44 = load i64, ptr %8, align 8
store i64 %44, ptr %4, align 8
br label %45
45: ; preds = %42, %37, %33
%46 = load i64, ptr %4, align 8
ret i64 %46
}
declare i64 @my_read(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu5mgmx_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @readline(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i8, align 1
%11 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %11, align 8
store i64 1, ptr %8, align 8
%13 = load i64, ptr %8, align 8
%14 = load i64, ptr %7, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %38
%17 = load i32, ptr %5, align 4
%18 = call i64 @my_read(i32 noundef %17, ptr noundef %10)
store i64 %18, ptr %9, align 8
%19 = icmp eq i64 %18, 1
br i1 %19, label %20, label %29
20: ; preds = %16
%21 = load i8, ptr %10, align 1
%22 = load ptr, ptr %11, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %11, align 8
store i8 %21, ptr %22, align 1
%24 = load i8, ptr %10, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 10
br i1 %26, label %27, label %28
27: ; preds = %20
br label %44
28: ; preds = %20
br label %37
29: ; preds = %16
%30 = load i64, ptr %9, align 8
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %36
32: ; preds = %29
%33 = load ptr, ptr %11, align 8
store i8 0, ptr %33, align 1
%34 = load i64, ptr %8, align 8
%35 = sub i64 %34, 1
store i64 %35, ptr %4, align 8
br label %47
36: ; preds = %29
store i64 -1, ptr %4, align 8
br label %47
37: ; preds = %28
br label %38
38: ; preds = %37
%39 = load i64, ptr %8, align 8
%40 = add i64 %39, 1
store i64 %40, ptr %8, align 8
%41 = load i64, ptr %8, align 8
%42 = load i64, ptr %7, align 8
%43 = icmp ult i64 %41, %42
br i1 %43, label %16, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %38
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %44
44: ; preds = %.loopexit, %27
%45 = load ptr, ptr %11, align 8
store i8 0, ptr %45, align 1
%46 = load i64, ptr %8, align 8
store i64 %46, ptr %4, align 8
br label %47
47: ; preds = %44, %36, %32
%48 = load i64, ptr %4, align 8
ret i64 %48
}
declare i64 @my_read(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpf4u_s47k.c'
source_filename = "/tmp/tmpf4u_s47k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_free_data(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/tmpf4u_s47k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_free_data(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/tmp9tn5yf7y.c'
source_filename = "/tmp/tmp9tn5yf7y.c"
target datalayout = "e-m:e-p270: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/tmp9tn5yf7y.c"
target datalayout = "e-m:e-p270: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/tmp03me64lb.c'
source_filename = "/tmp/tmp03me64lb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@thrd_success = dso_local global i32 0, align 4
@thrd_error = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mtx_unlock(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 = call i64 @pthread_mutex_unlock(ptr noundef %4)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = load i32, ptr @thrd_success, align 4
store i32 %8, ptr %2, align 4
br label %11
9: ; preds = %1
%10 = load i32, ptr @thrd_error, align 4
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %9, %7
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i64 @pthread_mutex_unlock(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp03me64lb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@thrd_success = dso_local global i32 0, align 4
@thrd_error = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mtx_unlock(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 = call i64 @pthread_mutex_unlock(ptr noundef %4)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = load i32, ptr @thrd_success, align 4
store i32 %8, ptr %2, align 4
br label %11
9: ; preds = %1
%10 = load i32, ptr @thrd_error, align 4
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %9, %7
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i64 @pthread_mutex_unlock(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpywxjf9q0.c'
source_filename = "/tmp/tmpywxjf9q0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CLOG_FLUSH__(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 @clog_flush(ptr noundef %3)
ret void
}
declare i32 @clog_flush(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpywxjf9q0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CLOG_FLUSH__(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 @clog_flush(ptr noundef %3)
ret void
}
declare i32 @clog_flush(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdso1smn7.c'
source_filename = "/tmp/tmpdso1smn7.c"
target datalayout = "e-m:e-p270: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/tmpdso1smn7.c"
target datalayout = "e-m:e-p270: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/tmp0q0s_0zf.c'
source_filename = "/tmp/tmp0q0s_0zf.c"
target datalayout = "e-m:e-p270: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/tmp0q0s_0zf.c"
target datalayout = "e-m:e-p270: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/tmpwhrs5vzh.c'
source_filename = "/tmp/tmpwhrs5vzh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_XButtonPressedEvent_display(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = inttoptr i64 %5 to ptr
ret ptr %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwhrs5vzh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_XButtonPressedEvent_display(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = inttoptr i64 %5 to ptr
ret ptr %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf7lhugkh.c'
source_filename = "/tmp/tmpf7lhugkh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_entries(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @free(ptr noundef %7)
%9 = load ptr, ptr %5, align 8
%10 = call i32 @free(ptr noundef %9)
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/tmpf7lhugkh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_entries(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @free(ptr noundef %7)
%9 = load ptr, ptr %5, align 8
%10 = call i32 @free(ptr noundef %9)
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/tmpi2j_p_2f.c'
source_filename = "/tmp/tmpi2j_p_2f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dlib_str_comp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi2j_p_2f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dlib_str_comp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuxqgzrjn.c'
source_filename = "/tmp/tmpuxqgzrjn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fu_Write(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i32 @fu_Nwrite(ptr noundef %5, ptr noundef %6, i32 noundef %8)
ret i32 %9
}
declare i32 @fu_Nwrite(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuxqgzrjn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fu_Write(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i32 @fu_Nwrite(ptr noundef %5, ptr noundef %6, i32 noundef %8)
ret i32 %9
}
declare i32 @fu_Nwrite(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd0uxkwrf.c'
source_filename = "/tmp/tmpd0uxkwrf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = call i64 @malloc(i32 noundef 10240)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = call i32 @scanf(ptr noundef @.str, ptr noundef %12)
%14 = load ptr, ptr %2, align 8
%15 = call i32 @strlen(ptr noundef %14)
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = call double @sqrt(i32 noundef %16)
store double %17, ptr %4, align 8
%18 = load double, ptr %4, align 8
%19 = call i32 @floor(double noundef %18)
store i32 %19, ptr %5, align 4
%20 = load double, ptr %4, align 8
%21 = call i32 @ceil(double noundef %20)
store i32 %21, ptr %6, align 4
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %6, align 4
%24 = mul nsw i32 %22, %23
%25 = load i32, ptr %3, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %30
27: ; preds = %0
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
br label %30
30: ; preds = %27, %0
store i32 0, ptr %8, align 4
br label %31
31: ; preds = %63, %30
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %66
35: ; preds = %31
store i32 0, ptr %9, align 4
br label %36
36: ; preds = %58, %35
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %5, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %61
40: ; preds = %36
%41 = load i32, ptr %9, align 4
%42 = load i32, ptr %6, align 4
%43 = mul nsw i32 %41, %42
%44 = load i32, ptr %8, align 4
%45 = add nsw i32 %43, %44
store i32 %45, ptr %7, align 4
%46 = load i32, ptr %7, align 4
%47 = load i32, ptr %3, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %57
49: ; preds = %40
%50 = load ptr, ptr %2, align 8
%51 = load i32, ptr %7, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %55)
br label %57
57: ; preds = %49, %40
br label %58
58: ; preds = %57
%59 = load i32, ptr %9, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %9, align 4
br label %36, !llvm.loop !6
61: ; preds = %36
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %63
63: ; preds = %61
%64 = load i32, ptr %8, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %8, align 4
br label %31, !llvm.loop !8
66: ; preds = %31
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare double @sqrt(i32 noundef) #1
declare i32 @floor(double noundef) #1
declare i32 @ceil(double noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd0uxkwrf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = call i64 @malloc(i32 noundef 10240)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = call i32 @scanf(ptr noundef @.str, ptr noundef %12)
%14 = load ptr, ptr %2, align 8
%15 = call i32 @strlen(ptr noundef %14)
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = call double @sqrt(i32 noundef %16)
store double %17, ptr %4, align 8
%18 = load double, ptr %4, align 8
%19 = call i32 @floor(double noundef %18)
store i32 %19, ptr %5, align 4
%20 = load double, ptr %4, align 8
%21 = call i32 @ceil(double noundef %20)
store i32 %21, ptr %6, align 4
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %6, align 4
%24 = mul nsw i32 %22, %23
%25 = load i32, ptr %3, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %30
27: ; preds = %0
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
br label %30
30: ; preds = %27, %0
store i32 0, 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 %.lr.ph2, label %70
.lr.ph2: ; preds = %30
br label %34
34: ; preds = %.lr.ph2, %64
store i32 0, ptr %9, align 4
%35 = load i32, ptr %9, align 4
%36 = load i32, ptr %5, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %.lr.ph, label %62
.lr.ph: ; preds = %34
br label %38
38: ; preds = %.lr.ph, %56
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr %6, align 4
%41 = mul nsw i32 %39, %40
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %41, %42
store i32 %43, ptr %7, align 4
%44 = load i32, ptr %7, align 4
%45 = load i32, ptr %3, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %55
47: ; preds = %38
%48 = load ptr, ptr %2, align 8
%49 = load i32, ptr %7, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %53)
br label %55
55: ; preds = %47, %38
br label %56
56: ; preds = %55
%57 = load i32, ptr %9, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %9, align 4
%59 = load i32, ptr %9, align 4
%60 = load i32, ptr %5, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %56
br label %62
62: ; preds = %._crit_edge, %34
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %64
64: ; preds = %62
%65 = load i32, ptr %8, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %8, align 4
%67 = load i32, ptr %8, align 4
%68 = load i32, ptr %6, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %34, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %64
br label %70
70: ; preds = %._crit_edge3, %30
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare double @sqrt(i32 noundef) #1
declare i32 @floor(double noundef) #1
declare i32 @ceil(double noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpzwez18se.c'
source_filename = "/tmp/tmpzwez18se.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fstatat64(i32 noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %10, align 8
%13 = load ptr, ptr %7, align 8
store ptr %13, ptr %11, align 8
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %10, align 8
%16 = load ptr, ptr %11, align 8
%17 = load i32, ptr %8, align 4
%18 = call i32 @__fxstatat64(i32 noundef 3, i32 noundef %14, ptr noundef %15, ptr noundef %16, i32 noundef %17)
store i32 %18, ptr %9, align 4
%19 = load i32, ptr %9, align 4
ret i32 %19
}
declare i32 @__fxstatat64(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzwez18se.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fstatat64(i32 noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %10, align 8
%13 = load ptr, ptr %7, align 8
store ptr %13, ptr %11, align 8
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %10, align 8
%16 = load ptr, ptr %11, align 8
%17 = load i32, ptr %8, align 4
%18 = call i32 @__fxstatat64(i32 noundef 3, i32 noundef %14, ptr noundef %15, ptr noundef %16, i32 noundef %17)
store i32 %18, ptr %9, align 4
%19 = load i32, ptr %9, align 4
ret i32 %19
}
declare i32 @__fxstatat64(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9k0_jf7a.c'
source_filename = "/tmp/tmp9k0_jf7a.c"
target datalayout = "e-m:e-p270: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.test_elim_anti_range.a = private unnamed_addr constant [4 x i8] c"123\00", align 1
@__const.test_elim_anti_range.a.1 = private unnamed_addr constant [5 x i8] c"1234\00", align 1
@__const.test_elim_anti_range.a.2 = private unnamed_addr constant [4 x i8] c"123\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_elim_anti_range(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca [4 x i8], align 1
%5 = alloca [5 x i8], align 1
%6 = alloca [4 x i8], align 1
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i8, ptr %7, i32 1
store ptr %8, ptr %2, align 8
%9 = load i8, ptr %7, align 1
store i8 %9, ptr %3, align 1
br label %10
10: ; preds = %1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.test_elim_anti_range.a, i64 4, i1 false)
%11 = load i8, ptr %3, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = load i8, ptr %3, align 1
%16 = sext i8 %15 to i32
br label %18
17: ; preds = %10
br label %18
18: ; preds = %17, %14
%19 = phi i32 [ %16, %14 ], [ 120, %17 ]
%20 = trunc i32 %19 to i8
%21 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 0
store i8 %20, ptr %21, align 1
%22 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 0
%23 = call i32 @strlen(ptr noundef %22)
%24 = icmp eq i32 %23, 3
br i1 %24, label %28, label %25
25: ; preds = %18
br label %26
26: ; preds = %25
call void @call_in_true_branch_not_eliminated_on_line_70()
br label %27
27: ; preds = %26
br label %29
28: ; preds = %18
br label %29
29: ; preds = %28, %27
br label %30
30: ; preds = %29
%31 = load ptr, ptr %2, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %2, align 8
%33 = load i8, ptr %31, align 1
store i8 %33, ptr %3, align 1
br label %34
34: ; preds = %30
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.test_elim_anti_range.a.1, i64 5, i1 false)
%35 = load i8, ptr %3, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %34
%39 = load i8, ptr %3, align 1
%40 = sext i8 %39 to i32
br label %42
41: ; preds = %34
br label %42
42: ; preds = %41, %38
%43 = phi i32 [ %40, %38 ], [ 121, %41 ]
%44 = trunc i32 %43 to i8
%45 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 1
store i8 %44, ptr %45, align 1
%46 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
%47 = call i32 @strlen(ptr noundef %46)
%48 = icmp eq i32 %47, 4
br i1 %48, label %52, label %49
49: ; preds = %42
br label %50
50: ; preds = %49
call void @call_in_true_branch_not_eliminated_on_line_73()
br label %51
51: ; preds = %50
br label %53
52: ; preds = %42
br label %53
53: ; preds = %52, %51
br label %54
54: ; preds = %53
%55 = load ptr, ptr %2, align 8
%56 = getelementptr inbounds i8, ptr %55, i32 1
store ptr %56, ptr %2, align 8
%57 = load i8, ptr %55, align 1
store i8 %57, ptr %3, align 1
br label %58
58: ; preds = %54
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.test_elim_anti_range.a.2, i64 4, i1 false)
%59 = load i8, ptr %3, align 1
%60 = sext i8 %59 to i32
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %65
62: ; preds = %58
%63 = load i8, ptr %3, align 1
%64 = sext i8 %63 to i32
br label %66
65: ; preds = %58
br label %66
66: ; preds = %65, %62
%67 = phi i32 [ %64, %62 ], [ 122, %65 ]
%68 = trunc i32 %67 to i8
%69 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 2
store i8 %68, ptr %69, align 1
%70 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%71 = call i32 @strlen(ptr noundef %70)
%72 = icmp eq i32 %71, 3
br i1 %72, label %76, label %73
73: ; preds = %66
br label %74
74: ; preds = %73
call void @call_in_true_branch_not_eliminated_on_line_76()
br label %75
75: ; preds = %74
br label %77
76: ; preds = %66
br label %77
77: ; preds = %76, %75
br label %78
78: ; preds = %77
ret void
}
; 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 @strlen(ptr noundef) #2
declare void @call_in_true_branch_not_eliminated_on_line_70() #2
declare void @call_in_true_branch_not_eliminated_on_line_73() #2
declare void @call_in_true_branch_not_eliminated_on_line_76() #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/tmp9k0_jf7a.c"
target datalayout = "e-m:e-p270: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.test_elim_anti_range.a = private unnamed_addr constant [4 x i8] c"123\00", align 1
@__const.test_elim_anti_range.a.1 = private unnamed_addr constant [5 x i8] c"1234\00", align 1
@__const.test_elim_anti_range.a.2 = private unnamed_addr constant [4 x i8] c"123\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_elim_anti_range(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca [4 x i8], align 1
%5 = alloca [5 x i8], align 1
%6 = alloca [4 x i8], align 1
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i8, ptr %7, i32 1
store ptr %8, ptr %2, align 8
%9 = load i8, ptr %7, align 1
store i8 %9, ptr %3, align 1
br label %10
10: ; preds = %1
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.test_elim_anti_range.a, i64 4, i1 false)
%11 = load i8, ptr %3, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = load i8, ptr %3, align 1
%16 = sext i8 %15 to i32
br label %18
17: ; preds = %10
br label %18
18: ; preds = %17, %14
%19 = phi i32 [ %16, %14 ], [ 120, %17 ]
%20 = trunc i32 %19 to i8
%21 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 0
store i8 %20, ptr %21, align 1
%22 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 0
%23 = call i32 @strlen(ptr noundef %22)
%24 = icmp eq i32 %23, 3
br i1 %24, label %28, label %25
25: ; preds = %18
br label %26
26: ; preds = %25
call void @call_in_true_branch_not_eliminated_on_line_70()
br label %27
27: ; preds = %26
br label %29
28: ; preds = %18
br label %29
29: ; preds = %28, %27
br label %30
30: ; preds = %29
%31 = load ptr, ptr %2, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %2, align 8
%33 = load i8, ptr %31, align 1
store i8 %33, ptr %3, align 1
br label %34
34: ; preds = %30
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.test_elim_anti_range.a.1, i64 5, i1 false)
%35 = load i8, ptr %3, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %34
%39 = load i8, ptr %3, align 1
%40 = sext i8 %39 to i32
br label %42
41: ; preds = %34
br label %42
42: ; preds = %41, %38
%43 = phi i32 [ %40, %38 ], [ 121, %41 ]
%44 = trunc i32 %43 to i8
%45 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 1
store i8 %44, ptr %45, align 1
%46 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
%47 = call i32 @strlen(ptr noundef %46)
%48 = icmp eq i32 %47, 4
br i1 %48, label %52, label %49
49: ; preds = %42
br label %50
50: ; preds = %49
call void @call_in_true_branch_not_eliminated_on_line_73()
br label %51
51: ; preds = %50
br label %53
52: ; preds = %42
br label %53
53: ; preds = %52, %51
br label %54
54: ; preds = %53
%55 = load ptr, ptr %2, align 8
%56 = getelementptr inbounds i8, ptr %55, i32 1
store ptr %56, ptr %2, align 8
%57 = load i8, ptr %55, align 1
store i8 %57, ptr %3, align 1
br label %58
58: ; preds = %54
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.test_elim_anti_range.a.2, i64 4, i1 false)
%59 = load i8, ptr %3, align 1
%60 = sext i8 %59 to i32
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %65
62: ; preds = %58
%63 = load i8, ptr %3, align 1
%64 = sext i8 %63 to i32
br label %66
65: ; preds = %58
br label %66
66: ; preds = %65, %62
%67 = phi i32 [ %64, %62 ], [ 122, %65 ]
%68 = trunc i32 %67 to i8
%69 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 2
store i8 %68, ptr %69, align 1
%70 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%71 = call i32 @strlen(ptr noundef %70)
%72 = icmp eq i32 %71, 3
br i1 %72, label %76, label %73
73: ; preds = %66
br label %74
74: ; preds = %73
call void @call_in_true_branch_not_eliminated_on_line_76()
br label %75
75: ; preds = %74
br label %77
76: ; preds = %66
br label %77
77: ; preds = %76, %75
br label %78
78: ; preds = %77
ret void
}
; 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 @strlen(ptr noundef) #2
declare void @call_in_true_branch_not_eliminated_on_line_70() #2
declare void @call_in_true_branch_not_eliminated_on_line_73() #2
declare void @call_in_true_branch_not_eliminated_on_line_76() #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/tmpsgluk4sy.c'
source_filename = "/tmp/tmpsgluk4sy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @run_posix_tests() #0 {
%1 = call i32 (...) @run_posix_arpa_inet_tests()
%2 = call i32 (...) @run_posix_ctype_tests()
%3 = call i32 (...) @run_posix_errno_tests()
%4 = call i32 (...) @run_fenv_tests()
%5 = call i32 (...) @run_posix_signal_tests()
%6 = call i32 (...) @run_math_lib_tests()
%7 = call i32 (...) @run_posix_netdb_tests()
%8 = call i32 (...) @run_stdlib_tests()
%9 = call i32 (...) @run_string_lib_tests()
%10 = call i32 (...) @run_unistd_tests()
%11 = call i32 (...) @run_strings_tests()
%12 = call i32 (...) @run_libgen_tests()
%13 = call i32 (...) @run_wchar_lib_tests()
ret void
}
declare i32 @run_posix_arpa_inet_tests(...) #1
declare i32 @run_posix_ctype_tests(...) #1
declare i32 @run_posix_errno_tests(...) #1
declare i32 @run_fenv_tests(...) #1
declare i32 @run_posix_signal_tests(...) #1
declare i32 @run_math_lib_tests(...) #1
declare i32 @run_posix_netdb_tests(...) #1
declare i32 @run_stdlib_tests(...) #1
declare i32 @run_string_lib_tests(...) #1
declare i32 @run_unistd_tests(...) #1
declare i32 @run_strings_tests(...) #1
declare i32 @run_libgen_tests(...) #1
declare i32 @run_wchar_lib_tests(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsgluk4sy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @run_posix_tests() #0 {
%1 = call i32 (...) @run_posix_arpa_inet_tests()
%2 = call i32 (...) @run_posix_ctype_tests()
%3 = call i32 (...) @run_posix_errno_tests()
%4 = call i32 (...) @run_fenv_tests()
%5 = call i32 (...) @run_posix_signal_tests()
%6 = call i32 (...) @run_math_lib_tests()
%7 = call i32 (...) @run_posix_netdb_tests()
%8 = call i32 (...) @run_stdlib_tests()
%9 = call i32 (...) @run_string_lib_tests()
%10 = call i32 (...) @run_unistd_tests()
%11 = call i32 (...) @run_strings_tests()
%12 = call i32 (...) @run_libgen_tests()
%13 = call i32 (...) @run_wchar_lib_tests()
ret void
}
declare i32 @run_posix_arpa_inet_tests(...) #1
declare i32 @run_posix_ctype_tests(...) #1
declare i32 @run_posix_errno_tests(...) #1
declare i32 @run_fenv_tests(...) #1
declare i32 @run_posix_signal_tests(...) #1
declare i32 @run_math_lib_tests(...) #1
declare i32 @run_posix_netdb_tests(...) #1
declare i32 @run_stdlib_tests(...) #1
declare i32 @run_string_lib_tests(...) #1
declare i32 @run_unistd_tests(...) #1
declare i32 @run_strings_tests(...) #1
declare i32 @run_libgen_tests(...) #1
declare i32 @run_wchar_lib_tests(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvbpzv9q3.c'
source_filename = "/tmp/tmpvbpzv9q3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @yyerror(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 @yyerrorf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @yyerrorf(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/tmpvbpzv9q3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @yyerror(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 @yyerrorf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @yyerrorf(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/tmp7_40fmle.c'
source_filename = "/tmp/tmp7_40fmle.c"
target datalayout = "e-m:e-p270: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/tmp7_40fmle.c"
target datalayout = "e-m:e-p270: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/tmpscqjpl_9.c'
source_filename = "/tmp/tmpscqjpl_9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[2J\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"\1B[%d;%dH\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%18s\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 i8, align 1
%10 = alloca [25 x i8], align 16
%11 = 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
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (...) @printUsage()
%16 = call i32 @exit(i32 noundef 0) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 0
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
switch i32 %23, label %64 [
i32 111, label %24
i32 98, label %25
i32 99, label %26
i32 103, label %28
i32 112, label %46
i32 105, label %55
i32 106, label %55
]
24: ; preds = %17
br label %66
25: ; preds = %17
br label %66
26: ; preds = %17
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %66
28: ; preds = %17
%29 = load i32, ptr %4, align 4
%30 = icmp sge i32 %29, 4
br i1 %30, label %31, label %45
31: ; preds = %28
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 2
%34 = load ptr, ptr %33, align 8
%35 = call i32 @atoi(ptr noundef %34)
store i32 %35, ptr %6, align 4
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 3
%38 = load ptr, ptr %37, align 8
%39 = call i32 @atoi(ptr noundef %38)
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, 1
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %41, i32 noundef %43)
br label %45
45: ; preds = %31, %28
br label %66
46: ; preds = %17
%47 = load i32, ptr %4, align 4
%48 = icmp sge i32 %47, 3
br i1 %48, label %49, label %54
49: ; preds = %46
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 2
%52 = load ptr, ptr %51, align 8
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %52)
br label %54
54: ; preds = %49, %46
br label %66
55: ; preds = %17, %17
%56 = load i32, ptr %4, align 4
%57 = icmp sge i32 %56, 2
br i1 %57, label %58, label %63
58: ; preds = %55
%59 = getelementptr inbounds [25 x i8], ptr %10, i64 0, i64 0
%60 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %59)
%61 = getelementptr inbounds [25 x i8], ptr %10, i64 0, i64 0
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %61)
br label %63
63: ; preds = %58, %55
br label %66
64: ; preds = %17
%65 = call i32 (...) @printUsage()
br label %66
66: ; preds = %64, %63, %54, %45, %26, %25, %24
ret i32 0
}
declare i32 @printUsage(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpscqjpl_9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[2J\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"\1B[%d;%dH\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%18s\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 i8, align 1
%10 = alloca [25 x i8], align 16
%11 = 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
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (...) @printUsage()
%16 = call i32 @exit(i32 noundef 0) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 0
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
switch i32 %23, label %64 [
i32 111, label %24
i32 98, label %25
i32 99, label %26
i32 103, label %28
i32 112, label %46
i32 105, label %55
i32 106, label %55
]
24: ; preds = %17
br label %66
25: ; preds = %17
br label %66
26: ; preds = %17
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %66
28: ; preds = %17
%29 = load i32, ptr %4, align 4
%30 = icmp sge i32 %29, 4
br i1 %30, label %31, label %45
31: ; preds = %28
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 2
%34 = load ptr, ptr %33, align 8
%35 = call i32 @atoi(ptr noundef %34)
store i32 %35, ptr %6, align 4
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 3
%38 = load ptr, ptr %37, align 8
%39 = call i32 @atoi(ptr noundef %38)
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, 1
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %41, i32 noundef %43)
br label %45
45: ; preds = %31, %28
br label %66
46: ; preds = %17
%47 = load i32, ptr %4, align 4
%48 = icmp sge i32 %47, 3
br i1 %48, label %49, label %54
49: ; preds = %46
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 2
%52 = load ptr, ptr %51, align 8
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %52)
br label %54
54: ; preds = %49, %46
br label %66
55: ; preds = %17, %17
%56 = load i32, ptr %4, align 4
%57 = icmp sge i32 %56, 2
br i1 %57, label %58, label %63
58: ; preds = %55
%59 = getelementptr inbounds [25 x i8], ptr %10, i64 0, i64 0
%60 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %59)
%61 = getelementptr inbounds [25 x i8], ptr %10, i64 0, i64 0
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %61)
br label %63
63: ; preds = %58, %55
br label %66
64: ; preds = %17
%65 = call i32 (...) @printUsage()
br label %66
66: ; preds = %64, %63, %54, %45, %26, %25, %24
ret i32 0
}
declare i32 @printUsage(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnqkq_xnp.c'
source_filename = "/tmp/tmpnqkq_xnp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %9
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %52
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
store ptr %10, ptr %4, align 8
br label %11
11: ; preds = %17, %9
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = call i64 @isspace(i8 noundef signext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %11
br label %17
17: ; preds = %16
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %4, align 8
br label %11, !llvm.loop !6
20: ; preds = %11
%21 = load ptr, ptr %4, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %20
%26 = load ptr, ptr %4, align 8
store ptr %26, ptr %2, align 8
br label %52
27: ; preds = %20
%28 = load ptr, ptr %4, align 8
%29 = load ptr, ptr %4, align 8
%30 = call i32 @strlen(ptr noundef %29)
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %28, i64 %31
%33 = getelementptr inbounds i8, ptr %32, i64 -1
store ptr %33, ptr %5, align 8
br label %34
34: ; preds = %45, %27
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %4, align 8
%37 = icmp ugt ptr %35, %36
br i1 %37, label %38, label %43
38: ; preds = %34
%39 = load ptr, ptr %5, align 8
%40 = load i8, ptr %39, align 1
%41 = call i64 @isspace(i8 noundef signext %40)
%42 = icmp ne i64 %41, 0
br label %43
43: ; preds = %38, %34
%44 = phi i1 [ false, %34 ], [ %42, %38 ]
br i1 %44, label %45, label %48
45: ; preds = %43
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 -1
store ptr %47, ptr %5, align 8
br label %34, !llvm.loop !8
48: ; preds = %43
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 1
store ptr %50, ptr %5, align 8
store i8 0, ptr %50, align 1
%51 = load ptr, ptr %4, align 8
store ptr %51, ptr %2, align 8
br label %52
52: ; preds = %48, %25, %8
%53 = load ptr, ptr %2, align 8
ret ptr %53
}
declare i64 @isspace(i8 noundef signext) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnqkq_xnp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %9
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %55
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = call i64 @isspace(i8 noundef signext %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %.lr.ph, label %23
.lr.ph: ; preds = %9
br label %15
15: ; preds = %.lr.ph, %16
br label %16
16: ; preds = %15
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %4, align 8
%19 = load ptr, ptr %4, align 8
%20 = load i8, ptr %19, align 1
%21 = call i64 @isspace(i8 noundef signext %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %23
23: ; preds = %._crit_edge, %9
%24 = load ptr, ptr %4, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = load ptr, ptr %4, align 8
store ptr %29, ptr %2, align 8
br label %55
30: ; preds = %23
%31 = load ptr, ptr %4, align 8
%32 = load ptr, ptr %4, align 8
%33 = call i32 @strlen(ptr noundef %32)
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %31, i64 %34
%36 = getelementptr inbounds i8, ptr %35, i64 -1
store ptr %36, ptr %5, align 8
br label %37
37: ; preds = %48, %30
%38 = load ptr, ptr %5, align 8
%39 = load ptr, ptr %4, align 8
%40 = icmp ugt ptr %38, %39
br i1 %40, label %41, label %46
41: ; preds = %37
%42 = load ptr, ptr %5, align 8
%43 = load i8, ptr %42, align 1
%44 = call i64 @isspace(i8 noundef signext %43)
%45 = icmp ne i64 %44, 0
br label %46
46: ; preds = %41, %37
%47 = phi i1 [ false, %37 ], [ %45, %41 ]
br i1 %47, label %48, label %51
48: ; preds = %46
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 -1
store ptr %50, ptr %5, align 8
br label %37, !llvm.loop !8
51: ; preds = %46
%52 = load ptr, ptr %5, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %5, align 8
store i8 0, ptr %53, align 1
%54 = load ptr, ptr %4, align 8
store ptr %54, ptr %2, align 8
br label %55
55: ; preds = %51, %28, %8
%56 = load ptr, ptr %2, align 8
ret ptr %56
}
declare i64 @isspace(i8 noundef signext) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpyftslimj.c'
source_filename = "/tmp/tmpyftslimj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [74 x i8] c"ERROR: failed to insert char '%c' (%d) into \22%s\22\0AExpected \22%s\22 got \22%s\22.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @DoCharTest(ptr noundef %0, i8 noundef signext %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
%7 = alloca [256 x i8], align 16
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
store ptr %2, ptr %6, align 8
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 256, i1 false)
%8 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%9 = load ptr, ptr %4, align 8
%10 = load i8, ptr %5, align 1
%11 = call i32 @testvsp(ptr noundef %8, ptr noundef %9, i8 noundef signext %10)
%12 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%13 = load ptr, ptr %6, align 8
%14 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%15 = call i64 @strlen(ptr noundef %14)
%16 = add nsw i64 %15, 1
%17 = call i64 @memcmp(ptr noundef %12, ptr noundef %13, i64 noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %26
19: ; preds = %3
%20 = load i8, ptr %5, align 1
%21 = load i8, ptr %5, align 1
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %6, align 8
%24 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%25 = call i32 @Fail(ptr noundef @.str, i8 noundef signext %20, i8 noundef signext %21, ptr noundef %22, ptr noundef %23, ptr noundef %24)
br label %26
26: ; preds = %19, %3
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @testvsp(ptr noundef, ptr noundef, i8 noundef signext) #2
declare i64 @memcmp(ptr noundef, ptr noundef, i64 noundef) #2
declare i64 @strlen(ptr noundef) #2
declare i32 @Fail(ptr noundef, i8 noundef signext, i8 noundef signext, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyftslimj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [74 x i8] c"ERROR: failed to insert char '%c' (%d) into \22%s\22\0AExpected \22%s\22 got \22%s\22.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @DoCharTest(ptr noundef %0, i8 noundef signext %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
%7 = alloca [256 x i8], align 16
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
store ptr %2, ptr %6, align 8
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 256, i1 false)
%8 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%9 = load ptr, ptr %4, align 8
%10 = load i8, ptr %5, align 1
%11 = call i32 @testvsp(ptr noundef %8, ptr noundef %9, i8 noundef signext %10)
%12 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%13 = load ptr, ptr %6, align 8
%14 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%15 = call i64 @strlen(ptr noundef %14)
%16 = add nsw i64 %15, 1
%17 = call i64 @memcmp(ptr noundef %12, ptr noundef %13, i64 noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %26
19: ; preds = %3
%20 = load i8, ptr %5, align 1
%21 = load i8, ptr %5, align 1
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %6, align 8
%24 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%25 = call i32 @Fail(ptr noundef @.str, i8 noundef signext %20, i8 noundef signext %21, ptr noundef %22, ptr noundef %23, ptr noundef %24)
br label %26
26: ; preds = %19, %3
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @testvsp(ptr noundef, ptr noundef, i8 noundef signext) #2
declare i64 @memcmp(ptr noundef, ptr noundef, i64 noundef) #2
declare i64 @strlen(ptr noundef) #2
declare i32 @Fail(ptr noundef, i8 noundef signext, i8 noundef signext, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpphfd1aax.c'
source_filename = "/tmp/tmpphfd1aax.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\07\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dobeep() #0 {
%1 = alloca i32, align 4
%2 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 1)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpphfd1aax.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\07\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dobeep() #0 {
%1 = alloca i32, align 4
%2 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 1)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt5_gi3jr.c'
source_filename = "/tmp/tmpt5_gi3jr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i8 49, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @printf(ptr noundef @.str, i8 noundef signext %3)
ret i32 0
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt5_gi3jr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i8 49, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @printf(ptr noundef @.str, i8 noundef signext %3)
ret i32 0
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk8qcdszn.c'
source_filename = "/tmp/tmpk8qcdszn.c"
target datalayout = "e-m:e-p270: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/tmpk8qcdszn.c"
target datalayout = "e-m:e-p270: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/tmp9o6lo4f_.c'
source_filename = "/tmp/tmp9o6lo4f_.c"
target datalayout = "e-m:e-p270: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/tmp9o6lo4f_.c"
target datalayout = "e-m:e-p270: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/tmpku8k_h_2.c'
source_filename = "/tmp/tmpku8k_h_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [67 x i8] c"/* THIS SOURCE CODE IS AUTOMATICALLY GENERATED - DO NOT MODIFY */\0A\00", align 1
@.str.1 = private unnamed_addr constant [216 x i8] c"/*\0A * V90 tables\0A * \0A * Copyright (c) 1999 Fabrice Bellard.\0A *\0A * This code is released under the GNU General Public License version\0A * 2. Please read the file COPYING to know the exact terms of the\0A * license.\0A */\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"#include \22lm.h\22\0A#include \22v90priv.h\22\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [44 x i8] c"const s16 v90_ulaw_ucode_to_linear[128]= {\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"%5d,\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"};\0A\00", align 1
@.str.7 = private unnamed_addr constant [44 x i8] c"const s16 v90_alaw_ucode_to_linear[128]= {\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %6, align 4
br label %11
11: ; preds = %25, %2
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %12, 128
br i1 %13, label %14, label %28
14: ; preds = %11
%15 = load i32, ptr %6, align 4
%16 = xor i32 %15, 255
%17 = call i32 @ulaw2linear(i32 noundef %16)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %17)
%19 = load i32, ptr %6, align 4
%20 = and i32 %19, 7
%21 = icmp eq i32 %20, 7
br i1 %21, label %22, label %24
22: ; preds = %14
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %24
24: ; preds = %22, %14
br label %25
25: ; preds = %24
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
br label %11, !llvm.loop !6
28: ; preds = %11
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
store i32 0, ptr %6, align 4
br label %31
31: ; preds = %45, %28
%32 = load i32, ptr %6, align 4
%33 = icmp slt i32 %32, 128
br i1 %33, label %34, label %48
34: ; preds = %31
%35 = load i32, ptr %6, align 4
%36 = xor i32 %35, 213
%37 = call i32 @alaw2linear(i32 noundef %36)
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %37)
%39 = load i32, ptr %6, align 4
%40 = and i32 %39, 7
%41 = icmp eq i32 %40, 7
br i1 %41, label %42, label %44
42: ; preds = %34
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %44
44: ; preds = %42, %34
br label %45
45: ; preds = %44
%46 = load i32, ptr %6, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %6, align 4
br label %31, !llvm.loop !8
48: ; preds = %31
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @ulaw2linear(i32 noundef) #1
declare i32 @alaw2linear(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/tmpku8k_h_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [67 x i8] c"/* THIS SOURCE CODE IS AUTOMATICALLY GENERATED - DO NOT MODIFY */\0A\00", align 1
@.str.1 = private unnamed_addr constant [216 x i8] c"/*\0A * V90 tables\0A * \0A * Copyright (c) 1999 Fabrice Bellard.\0A *\0A * This code is released under the GNU General Public License version\0A * 2. Please read the file COPYING to know the exact terms of the\0A * license.\0A */\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"#include \22lm.h\22\0A#include \22v90priv.h\22\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [44 x i8] c"const s16 v90_ulaw_ucode_to_linear[128]= {\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"%5d,\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"};\0A\00", align 1
@.str.7 = private unnamed_addr constant [44 x i8] c"const s16 v90_alaw_ucode_to_linear[128]= {\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %11, 128
br i1 %12, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %24
%14 = load i32, ptr %6, align 4
%15 = xor i32 %14, 255
%16 = call i32 @ulaw2linear(i32 noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %16)
%18 = load i32, ptr %6, align 4
%19 = and i32 %18, 7
%20 = icmp eq i32 %19, 7
br i1 %20, label %21, label %23
21: ; preds = %13
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %23
23: ; preds = %21, %13
br label %24
24: ; preds = %23
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp slt i32 %27, 128
br i1 %28, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %2
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
store i32 0, ptr %6, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp slt i32 %32, 128
br i1 %33, label %.lr.ph2, label %50
.lr.ph2: ; preds = %29
br label %34
34: ; preds = %.lr.ph2, %45
%35 = load i32, ptr %6, align 4
%36 = xor i32 %35, 213
%37 = call i32 @alaw2linear(i32 noundef %36)
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %37)
%39 = load i32, ptr %6, align 4
%40 = and i32 %39, 7
%41 = icmp eq i32 %40, 7
br i1 %41, label %42, label %44
42: ; preds = %34
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %44
44: ; preds = %42, %34
br label %45
45: ; preds = %44
%46 = load i32, ptr %6, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %6, align 4
%48 = load i32, ptr %6, align 4
%49 = icmp slt i32 %48, 128
br i1 %49, label %34, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %45
br label %50
50: ; preds = %._crit_edge3, %29
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @ulaw2linear(i32 noundef) #1
declare i32 @alaw2linear(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/tmp7va3st39.c'
source_filename = "/tmp/tmp7va3st39.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32, i32 }
@.str = private unnamed_addr constant [10 x i8] c"nanosleep\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @waitms(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.timespec, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sgt i32 %4, 999
br i1 %5, label %6, label %16
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = sdiv i32 %7, 1000
%9 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
store i32 %8, ptr %9, align 4
%10 = load i32, ptr %2, align 4
%11 = srem i32 %10, 1000
%12 = sext i32 %11 to i64
%13 = mul nsw i64 %12, 1000000
%14 = trunc i64 %13 to i32
%15 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
store i32 %14, ptr %15, align 4
br label %23
16: ; preds = %1
%17 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
store i32 0, ptr %17, align 4
%18 = load i32, ptr %2, align 4
%19 = sext i32 %18 to i64
%20 = mul nsw i64 %19, 1000000
%21 = trunc i64 %20 to i32
%22 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
store i32 %21, ptr %22, align 4
br label %23
23: ; preds = %16, %6
%24 = call i64 @nanosleep(ptr noundef %3, ptr noundef null)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @perror(ptr noundef @.str)
br label %28
28: ; preds = %26, %23
ret void
}
declare i64 @nanosleep(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7va3st39.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32, i32 }
@.str = private unnamed_addr constant [10 x i8] c"nanosleep\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @waitms(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.timespec, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sgt i32 %4, 999
br i1 %5, label %6, label %16
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = sdiv i32 %7, 1000
%9 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
store i32 %8, ptr %9, align 4
%10 = load i32, ptr %2, align 4
%11 = srem i32 %10, 1000
%12 = sext i32 %11 to i64
%13 = mul nsw i64 %12, 1000000
%14 = trunc i64 %13 to i32
%15 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
store i32 %14, ptr %15, align 4
br label %23
16: ; preds = %1
%17 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
store i32 0, ptr %17, align 4
%18 = load i32, ptr %2, align 4
%19 = sext i32 %18 to i64
%20 = mul nsw i64 %19, 1000000
%21 = trunc i64 %20 to i32
%22 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
store i32 %21, ptr %22, align 4
br label %23
23: ; preds = %16, %6
%24 = call i64 @nanosleep(ptr noundef %3, ptr noundef null)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @perror(ptr noundef @.str)
br label %28
28: ; preds = %26, %23
ret void
}
declare i64 @nanosleep(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5ph0smka.c'
source_filename = "/tmp/tmp5ph0smka.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MC33927_DeadtimeCalibration() #0 {
%1 = call i32 @SPI_Send(i32 noundef 129)
ret void
}
declare i32 @SPI_Send(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/tmp5ph0smka.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MC33927_DeadtimeCalibration() #0 {
%1 = call i32 @SPI_Send(i32 noundef 129)
ret void
}
declare i32 @SPI_Send(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/tmpw1p1a4rk.c'
source_filename = "/tmp/tmpw1p1a4rk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCK_MONOTONIC = 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/tmpw1p1a4rk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCK_MONOTONIC = 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/tmpidpolek7.c'
source_filename = "/tmp/tmpidpolek7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"%[^=]=%[^&]&%[^=]=%[^&]&%s\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"username\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"password\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"commit=Login\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_login_data(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca [32 x i8], align 16
%9 = alloca [32 x i8], align 16
%10 = alloca [32 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = call ptr @malloc(i32 noundef 32)
%12 = load ptr, ptr %5, align 8
store ptr %11, ptr %12, align 8
%13 = call ptr @malloc(i32 noundef 32)
%14 = load ptr, ptr %6, align 8
store ptr %13, ptr %14, align 8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %17, align 8
%19 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %20, align 8
%22 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0
%23 = call i32 @sscanf(ptr noundef %15, ptr noundef @.str, ptr noundef %16, ptr noundef %18, ptr noundef %19, ptr noundef %21, ptr noundef %22)
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp eq i32 %24, 5
br i1 %25, label %26, label %39
26: ; preds = %3
%27 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%28 = call i32 @strncmp(ptr noundef %27, ptr noundef @.str.1, i32 noundef 32)
%29 = icmp ne i32 %28, 0
br i1 %29, label %39, label %30
30: ; preds = %26
%31 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0
%32 = call i32 @strncmp(ptr noundef %31, ptr noundef @.str.2, i32 noundef 32)
%33 = icmp ne i32 %32, 0
br i1 %33, label %39, label %34
34: ; preds = %30
%35 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0
%36 = call i32 @strncmp(ptr noundef %35, ptr noundef @.str.3, i32 noundef 32)
%37 = icmp ne i32 %36, 0
%38 = xor i1 %37, true
br label %39
39: ; preds = %34, %30, %26, %3
%40 = phi i1 [ false, %30 ], [ false, %26 ], [ false, %3 ], [ %38, %34 ]
%41 = zext i1 %40 to i32
ret i32 %41
}
declare ptr @malloc(i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strncmp(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/tmpidpolek7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"%[^=]=%[^&]&%[^=]=%[^&]&%s\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"username\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"password\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"commit=Login\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_login_data(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca [32 x i8], align 16
%9 = alloca [32 x i8], align 16
%10 = alloca [32 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = call ptr @malloc(i32 noundef 32)
%12 = load ptr, ptr %5, align 8
store ptr %11, ptr %12, align 8
%13 = call ptr @malloc(i32 noundef 32)
%14 = load ptr, ptr %6, align 8
store ptr %13, ptr %14, align 8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %17, align 8
%19 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %20, align 8
%22 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0
%23 = call i32 @sscanf(ptr noundef %15, ptr noundef @.str, ptr noundef %16, ptr noundef %18, ptr noundef %19, ptr noundef %21, ptr noundef %22)
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp eq i32 %24, 5
br i1 %25, label %26, label %39
26: ; preds = %3
%27 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%28 = call i32 @strncmp(ptr noundef %27, ptr noundef @.str.1, i32 noundef 32)
%29 = icmp ne i32 %28, 0
br i1 %29, label %39, label %30
30: ; preds = %26
%31 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0
%32 = call i32 @strncmp(ptr noundef %31, ptr noundef @.str.2, i32 noundef 32)
%33 = icmp ne i32 %32, 0
br i1 %33, label %39, label %34
34: ; preds = %30
%35 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0
%36 = call i32 @strncmp(ptr noundef %35, ptr noundef @.str.3, i32 noundef 32)
%37 = icmp ne i32 %36, 0
%38 = xor i1 %37, true
br label %39
39: ; preds = %34, %30, %26, %3
%40 = phi i1 [ false, %30 ], [ false, %26 ], [ false, %3 ], [ %38, %34 ]
%41 = zext i1 %40 to i32
ret i32 %41
}
declare ptr @malloc(i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strncmp(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/tmpoxybcs5o.c'
source_filename = "/tmp/tmpoxybcs5o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_int(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [19 x i8], align 16
store i32 %0, ptr %2, align 4
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 19, i1 false)
%4 = load i32, ptr %2, align 4
%5 = getelementptr inbounds [19 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @data2hex(i32 noundef 8, i32 noundef %4, ptr noundef %5)
%7 = getelementptr inbounds [19 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @sendMesg(ptr noundef %7)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @data2hex(i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @sendMesg(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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoxybcs5o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_int(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [19 x i8], align 16
store i32 %0, ptr %2, align 4
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 19, i1 false)
%4 = load i32, ptr %2, align 4
%5 = getelementptr inbounds [19 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @data2hex(i32 noundef 8, i32 noundef %4, ptr noundef %5)
%7 = getelementptr inbounds [19 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @sendMesg(ptr noundef %7)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @data2hex(i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @sendMesg(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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3ybxinxx.c'
source_filename = "/tmp/tmp3ybxinxx.c"
target datalayout = "e-m:e-p270: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/tmp3ybxinxx.c"
target datalayout = "e-m:e-p270: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/tmpr2qabsc2.c'
source_filename = "/tmp/tmpr2qabsc2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [48 x i8] c"NOT IMPLEMENTED:pa_context_set_sink_input_mute\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_context_set_sink_input_mute() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmpr2qabsc2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [48 x i8] c"NOT IMPLEMENTED:pa_context_set_sink_input_mute\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_context_set_sink_input_mute() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmp57j0t1x4.c'
source_filename = "/tmp/tmp57j0t1x4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utilStrLTrimChar(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 %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %9, %2
store ptr null, ptr %3, align 8
br label %41
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %6, align 8
br label %15
15: ; preds = %28, %13
%16 = load ptr, ptr %6, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %26
20: ; preds = %15
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %6, align 8
%23 = load i8, ptr %22, align 1
%24 = call i32 @strchr(ptr noundef %21, i8 noundef signext %23)
%25 = icmp ne i32 %24, 0
br label %26
26: ; preds = %20, %15
%27 = phi i1 [ false, %15 ], [ %25, %20 ]
br i1 %27, label %28, label %31
28: ; preds = %26
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %6, align 8
br label %15, !llvm.loop !6
31: ; preds = %26
%32 = load ptr, ptr %6, align 8
%33 = load ptr, ptr %4, align 8
%34 = icmp ne ptr %32, %33
br i1 %34, label %35, label %39
35: ; preds = %31
%36 = load ptr, ptr %4, align 8
%37 = load ptr, ptr %6, align 8
%38 = call i32 @strcpy(ptr noundef %36, ptr noundef %37)
br label %39
39: ; preds = %35, %31
%40 = load ptr, ptr %4, align 8
store ptr %40, ptr %3, align 8
br label %41
41: ; preds = %39, %12
%42 = load ptr, ptr %3, align 8
ret ptr %42
}
declare i32 @strchr(ptr noundef, i8 noundef signext) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp57j0t1x4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utilStrLTrimChar(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 %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %9, %2
store ptr null, ptr %3, align 8
br label %41
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %6, align 8
br label %15
15: ; preds = %28, %13
%16 = load ptr, ptr %6, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %26
20: ; preds = %15
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %6, align 8
%23 = load i8, ptr %22, align 1
%24 = call i32 @strchr(ptr noundef %21, i8 noundef signext %23)
%25 = icmp ne i32 %24, 0
br label %26
26: ; preds = %20, %15
%27 = phi i1 [ false, %15 ], [ %25, %20 ]
br i1 %27, label %28, label %31
28: ; preds = %26
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %6, align 8
br label %15, !llvm.loop !6
31: ; preds = %26
%32 = load ptr, ptr %6, align 8
%33 = load ptr, ptr %4, align 8
%34 = icmp ne ptr %32, %33
br i1 %34, label %35, label %39
35: ; preds = %31
%36 = load ptr, ptr %4, align 8
%37 = load ptr, ptr %6, align 8
%38 = call i32 @strcpy(ptr noundef %36, ptr noundef %37)
br label %39
39: ; preds = %35, %31
%40 = load ptr, ptr %4, align 8
store ptr %40, ptr %3, align 8
br label %41
41: ; preds = %39, %12
%42 = load ptr, ptr %3, align 8
ret ptr %42
}
declare i32 @strchr(ptr noundef, i8 noundef signext) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfbj57jlk.c'
source_filename = "/tmp/tmpfbj57jlk.c"
target datalayout = "e-m:e-p270: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/tmpfbj57jlk.c"
target datalayout = "e-m:e-p270: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/tmpavyzzh9u.c'
source_filename = "/tmp/tmpavyzzh9u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Xorriso_genisofs_strip_dash(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [1 x ptr], align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
store ptr %13, ptr %14, align 8
%15 = load ptr, ptr %7, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = icmp slt i32 %16, 4
br i1 %17, label %18, label %19
18: ; preds = %4
store i32 1, ptr %5, align 4
br label %52
19: ; preds = %4
%20 = load ptr, ptr %7, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 0
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 45
br i1 %24, label %37, label %25
25: ; preds = %19
%26 = load ptr, ptr %7, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 1
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %29, 45
br i1 %30, label %37, label %31
31: ; preds = %25
%32 = load ptr, ptr %7, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 2
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 45
br i1 %36, label %37, label %38
37: ; preds = %31, %25, %19
store i32 1, ptr %5, align 4
br label %52
38: ; preds = %31
%39 = load ptr, ptr %7, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 1
%41 = getelementptr inbounds [1 x ptr], ptr %12, i64 0, i64 0
store ptr %40, ptr %41, align 8
%42 = load ptr, ptr %6, align 8
%43 = getelementptr inbounds [1 x ptr], ptr %12, i64 0, i64 0
%44 = call i32 @Xorriso_genisofs_count_args(ptr noundef %42, i32 noundef 1, ptr noundef %43, ptr noundef %11, i32 noundef 0)
store i32 %44, ptr %10, align 4
%45 = load i32, ptr %10, align 4
%46 = icmp sgt i32 %45, 0
br i1 %46, label %47, label %51
47: ; preds = %38
%48 = load ptr, ptr %7, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 1
%50 = load ptr, ptr %8, align 8
store ptr %49, ptr %50, align 8
br label %51
51: ; preds = %47, %38
store i32 1, ptr %5, align 4
br label %52
52: ; preds = %51, %37, %18
%53 = load i32, ptr %5, align 4
ret i32 %53
}
declare i32 @strlen(ptr noundef) #1
declare i32 @Xorriso_genisofs_count_args(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpavyzzh9u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Xorriso_genisofs_strip_dash(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [1 x ptr], align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
store ptr %13, ptr %14, align 8
%15 = load ptr, ptr %7, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = icmp slt i32 %16, 4
br i1 %17, label %18, label %19
18: ; preds = %4
store i32 1, ptr %5, align 4
br label %52
19: ; preds = %4
%20 = load ptr, ptr %7, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 0
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 45
br i1 %24, label %37, label %25
25: ; preds = %19
%26 = load ptr, ptr %7, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 1
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %29, 45
br i1 %30, label %37, label %31
31: ; preds = %25
%32 = load ptr, ptr %7, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 2
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 45
br i1 %36, label %37, label %38
37: ; preds = %31, %25, %19
store i32 1, ptr %5, align 4
br label %52
38: ; preds = %31
%39 = load ptr, ptr %7, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 1
%41 = getelementptr inbounds [1 x ptr], ptr %12, i64 0, i64 0
store ptr %40, ptr %41, align 8
%42 = load ptr, ptr %6, align 8
%43 = getelementptr inbounds [1 x ptr], ptr %12, i64 0, i64 0
%44 = call i32 @Xorriso_genisofs_count_args(ptr noundef %42, i32 noundef 1, ptr noundef %43, ptr noundef %11, i32 noundef 0)
store i32 %44, ptr %10, align 4
%45 = load i32, ptr %10, align 4
%46 = icmp sgt i32 %45, 0
br i1 %46, label %47, label %51
47: ; preds = %38
%48 = load ptr, ptr %7, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 1
%50 = load ptr, ptr %8, align 8
store ptr %49, ptr %50, align 8
br label %51
51: ; preds = %47, %38
store i32 1, ptr %5, align 4
br label %52
52: ; preds = %51, %37, %18
%53 = load i32, ptr %5, align 4
ret i32 %53
}
declare i32 @strlen(ptr noundef) #1
declare i32 @Xorriso_genisofs_count_args(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4p6xe5j5.c'
source_filename = "/tmp/tmp4p6xe5j5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [8 x i8] c"f = %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
store i32 0, ptr %1, align 4
store i32 2, ptr %2, align 4
store i32 3, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = mul nsw i32 %7, %8
%10 = icmp eq i32 %9, 6
%11 = zext i1 %10 to i32
store i32 %11, ptr %4, align 4
store i32 6, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp eq i32 %12, 5
%14 = zext i1 %13 to i32
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
%17 = load i32, ptr %6, align 4
%18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17)
store i32 5, ptr %2, align 4
store i32 10, ptr %3, align 4
store i32 1, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %19, %20
%22 = zext i1 %21 to i32
%23 = load i32, ptr %3, align 4
%24 = icmp sgt i32 %22, %23
%25 = zext i1 %24 to i32
%26 = call i32 @printf(ptr noundef @.str, i32 noundef %25)
store i32 3, ptr %2, align 4
store i32 4, ptr %3, align 4
store i32 1, ptr %4, align 4
%27 = load i32, ptr %2, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp slt i32 %27, %28
%30 = zext i1 %29 to i32
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp slt i32 %31, %32
%34 = zext i1 %33 to i32
%35 = icmp eq i32 %30, %34
%36 = zext i1 %35 to i32
%37 = call i32 @printf(ptr noundef @.str, i32 noundef %36)
store i32 3, ptr %2, align 4
store i32 4, ptr %3, align 4
store i32 5, ptr %4, align 4
%38 = load i32, ptr %2, align 4
%39 = load i32, ptr %3, align 4
%40 = srem i32 %38, %39
%41 = load i32, ptr %2, align 4
%42 = add nsw i32 %40, %41
%43 = load i32, ptr %4, align 4
%44 = icmp slt i32 %42, %43
%45 = zext i1 %44 to i32
%46 = call i32 @printf(ptr noundef @.str, i32 noundef %45)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4p6xe5j5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [8 x i8] c"f = %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
store i32 0, ptr %1, align 4
store i32 2, ptr %2, align 4
store i32 3, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = mul nsw i32 %7, %8
%10 = icmp eq i32 %9, 6
%11 = zext i1 %10 to i32
store i32 %11, ptr %4, align 4
store i32 6, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp eq i32 %12, 5
%14 = zext i1 %13 to i32
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
%17 = load i32, ptr %6, align 4
%18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17)
store i32 5, ptr %2, align 4
store i32 10, ptr %3, align 4
store i32 1, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %19, %20
%22 = zext i1 %21 to i32
%23 = load i32, ptr %3, align 4
%24 = icmp sgt i32 %22, %23
%25 = zext i1 %24 to i32
%26 = call i32 @printf(ptr noundef @.str, i32 noundef %25)
store i32 3, ptr %2, align 4
store i32 4, ptr %3, align 4
store i32 1, ptr %4, align 4
%27 = load i32, ptr %2, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp slt i32 %27, %28
%30 = zext i1 %29 to i32
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp slt i32 %31, %32
%34 = zext i1 %33 to i32
%35 = icmp eq i32 %30, %34
%36 = zext i1 %35 to i32
%37 = call i32 @printf(ptr noundef @.str, i32 noundef %36)
store i32 3, ptr %2, align 4
store i32 4, ptr %3, align 4
store i32 5, ptr %4, align 4
%38 = load i32, ptr %2, align 4
%39 = load i32, ptr %3, align 4
%40 = srem i32 %38, %39
%41 = load i32, ptr %2, align 4
%42 = add nsw i32 %40, %41
%43 = load i32, ptr %4, align 4
%44 = icmp slt i32 %42, %43
%45 = zext i1 %44 to i32
%46 = call i32 @printf(ptr noundef @.str, i32 noundef %45)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwa5ud3cl.c'
source_filename = "/tmp/tmpwa5ud3cl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"HTTP/1.0 501 Method Not Implemented\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Server: wowhttpd/1.0\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Content-Type: text/html\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [54 x i8] c"<html><head><title>501 Not Implemented</title></head>\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"<body bgcolor=\22white\22>\00", align 1
@.str.6 = private unnamed_addr constant [46 x i8] c"<center><h1>501 Not Implemented</h1></center>\00", align 1
@.str.7 = private unnamed_addr constant [17 x i8] c"</body></html>\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @unimplemented(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [1024 x i8], align 16
store i32 %0, ptr %2, align 4
%4 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str)
%6 = load i32, ptr %2, align 4
%7 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%8 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @strlen(ptr noundef %8)
%10 = call i32 @send(i32 noundef %6, ptr noundef %7, i32 noundef %9, i32 noundef 0)
%11 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%12 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str.1)
%13 = load i32, ptr %2, align 4
%14 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%15 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%16 = call i32 @strlen(ptr noundef %15)
%17 = call i32 @send(i32 noundef %13, ptr noundef %14, i32 noundef %16, i32 noundef 0)
%18 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%19 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str.2)
%20 = load i32, ptr %2, align 4
%21 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%22 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%23 = call i32 @strlen(ptr noundef %22)
%24 = call i32 @send(i32 noundef %20, ptr noundef %21, i32 noundef %23, i32 noundef 0)
%25 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%26 = call i32 @sprintf(ptr noundef %25, ptr noundef @.str.3)
%27 = load i32, ptr %2, align 4
%28 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%29 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%30 = call i32 @strlen(ptr noundef %29)
%31 = call i32 @send(i32 noundef %27, ptr noundef %28, i32 noundef %30, i32 noundef 0)
%32 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%33 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.4)
%34 = load i32, ptr %2, align 4
%35 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%36 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%37 = call i32 @strlen(ptr noundef %36)
%38 = call i32 @send(i32 noundef %34, ptr noundef %35, i32 noundef %37, i32 noundef 0)
%39 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%40 = call i32 @sprintf(ptr noundef %39, ptr noundef @.str.5)
%41 = load i32, ptr %2, align 4
%42 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%43 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%44 = call i32 @strlen(ptr noundef %43)
%45 = call i32 @send(i32 noundef %41, ptr noundef %42, i32 noundef %44, i32 noundef 0)
%46 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%47 = call i32 @sprintf(ptr noundef %46, ptr noundef @.str.6)
%48 = load i32, ptr %2, align 4
%49 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%50 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%51 = call i32 @strlen(ptr noundef %50)
%52 = call i32 @send(i32 noundef %48, ptr noundef %49, i32 noundef %51, i32 noundef 0)
%53 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%54 = call i32 @sprintf(ptr noundef %53, ptr noundef @.str.7)
%55 = load i32, ptr %2, align 4
%56 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%57 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%58 = call i32 @strlen(ptr noundef %57)
%59 = call i32 @send(i32 noundef %55, ptr noundef %56, i32 noundef %58, i32 noundef 0)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwa5ud3cl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"HTTP/1.0 501 Method Not Implemented\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Server: wowhttpd/1.0\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Content-Type: text/html\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [54 x i8] c"<html><head><title>501 Not Implemented</title></head>\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"<body bgcolor=\22white\22>\00", align 1
@.str.6 = private unnamed_addr constant [46 x i8] c"<center><h1>501 Not Implemented</h1></center>\00", align 1
@.str.7 = private unnamed_addr constant [17 x i8] c"</body></html>\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @unimplemented(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [1024 x i8], align 16
store i32 %0, ptr %2, align 4
%4 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str)
%6 = load i32, ptr %2, align 4
%7 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%8 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @strlen(ptr noundef %8)
%10 = call i32 @send(i32 noundef %6, ptr noundef %7, i32 noundef %9, i32 noundef 0)
%11 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%12 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str.1)
%13 = load i32, ptr %2, align 4
%14 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%15 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%16 = call i32 @strlen(ptr noundef %15)
%17 = call i32 @send(i32 noundef %13, ptr noundef %14, i32 noundef %16, i32 noundef 0)
%18 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%19 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str.2)
%20 = load i32, ptr %2, align 4
%21 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%22 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%23 = call i32 @strlen(ptr noundef %22)
%24 = call i32 @send(i32 noundef %20, ptr noundef %21, i32 noundef %23, i32 noundef 0)
%25 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%26 = call i32 @sprintf(ptr noundef %25, ptr noundef @.str.3)
%27 = load i32, ptr %2, align 4
%28 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%29 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%30 = call i32 @strlen(ptr noundef %29)
%31 = call i32 @send(i32 noundef %27, ptr noundef %28, i32 noundef %30, i32 noundef 0)
%32 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%33 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.4)
%34 = load i32, ptr %2, align 4
%35 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%36 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%37 = call i32 @strlen(ptr noundef %36)
%38 = call i32 @send(i32 noundef %34, ptr noundef %35, i32 noundef %37, i32 noundef 0)
%39 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%40 = call i32 @sprintf(ptr noundef %39, ptr noundef @.str.5)
%41 = load i32, ptr %2, align 4
%42 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%43 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%44 = call i32 @strlen(ptr noundef %43)
%45 = call i32 @send(i32 noundef %41, ptr noundef %42, i32 noundef %44, i32 noundef 0)
%46 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%47 = call i32 @sprintf(ptr noundef %46, ptr noundef @.str.6)
%48 = load i32, ptr %2, align 4
%49 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%50 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%51 = call i32 @strlen(ptr noundef %50)
%52 = call i32 @send(i32 noundef %48, ptr noundef %49, i32 noundef %51, i32 noundef 0)
%53 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%54 = call i32 @sprintf(ptr noundef %53, ptr noundef @.str.7)
%55 = load i32, ptr %2, align 4
%56 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%57 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%58 = call i32 @strlen(ptr noundef %57)
%59 = call i32 @send(i32 noundef %55, ptr noundef %56, i32 noundef %58, i32 noundef 0)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl0s7e779.c'
source_filename = "/tmp/tmpl0s7e779.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cast_float_to_int_Good_FP() #0 {
%1 = alloca [10 x i8], align 1
%2 = alloca float, align 4
%3 = alloca i32, align 4
store float 1.500000e+01, ptr %2, align 4
%4 = load float, ptr %2, align 4
%5 = fptosi float %4 to i32
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %8, label %12
8: ; preds = %0
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 %10
store i8 0, ptr %11, align 1
br label %12
12: ; preds = %8, %0
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl0s7e779.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cast_float_to_int_Good_FP() #0 {
%1 = alloca [10 x i8], align 1
%2 = alloca float, align 4
%3 = alloca i32, align 4
store float 1.500000e+01, ptr %2, align 4
%4 = load float, ptr %2, align 4
%5 = fptosi float %4 to i32
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %8, label %12
8: ; preds = %0
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 %10
store i8 0, ptr %11, align 1
br label %12
12: ; preds = %8, %0
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprxivshpd.c'
source_filename = "/tmp/tmprxivshpd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i16 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XCharStruct_rbearing(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 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i16 %5, ptr %7, align 2
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprxivshpd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i16 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XCharStruct_rbearing(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 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i16 %5, ptr %7, align 2
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp83bwafxj.c'
source_filename = "/tmp/tmp83bwafxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"natural: %d, num: %d, factors: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"answer: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %0, %21
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %6, 1
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, %7
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = call i32 @count_factors(i32 noundef %10)
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13, i32 noundef %14)
%16 = load i32, ptr %4, align 4
%17 = icmp sgt i32 %16, 500
br i1 %17, label %18, label %21
18: ; preds = %5
%19 = load i32, ptr %2, align 4
%20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %19)
ret i32 0
21: ; preds = %5
br label %5
}
declare i32 @count_factors(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp83bwafxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"natural: %d, num: %d, factors: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"answer: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %5, %0
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %6, 1
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, %7
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = call i32 @count_factors(i32 noundef %10)
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13, i32 noundef %14)
%16 = load i32, ptr %4, align 4
%17 = icmp sgt i32 %16, 500
br i1 %17, label %18, label %5
18: ; preds = %5
%19 = load i32, ptr %2, align 4
%20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %19)
ret i32 0
}
declare i32 @count_factors(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5mfs0lau.c'
source_filename = "/tmp/tmp5mfs0lau.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ILibWebServer_WebSocket_CreateHeader(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i16, align 2
%7 = alloca i16, align 2
%8 = alloca i32, align 4
%9 = alloca i16, align 2
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i16 %1, ptr %6, align 2
store i16 %2, ptr %7, align 2
store i32 %3, ptr %8, align 4
store i16 0, ptr %9, align 2
%11 = load i16, ptr %7, align 2
%12 = zext i16 %11 to i32
%13 = shl i32 %12, 8
%14 = trunc i32 %13 to i16
store i16 %14, ptr %9, align 2
%15 = load i16, ptr %6, align 2
%16 = zext i16 %15 to i32
%17 = load i16, ptr %9, align 2
%18 = zext i16 %17 to i32
%19 = or i32 %18, %16
%20 = trunc i32 %19 to i16
store i16 %20, ptr %9, align 2
%21 = load i32, ptr %8, align 4
%22 = icmp slt i32 %21, 126
br i1 %22, label %23, label %33
23: ; preds = %4
store i32 2, ptr %10, align 4
%24 = load i32, ptr %8, align 4
%25 = load i16, ptr %9, align 2
%26 = zext i16 %25 to i32
%27 = or i32 %26, %24
%28 = trunc i32 %27 to i16
store i16 %28, ptr %9, align 2
%29 = load i16, ptr %9, align 2
%30 = call zeroext i16 @htons(i16 noundef zeroext %29)
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds i16, ptr %31, i64 0
store i16 %30, ptr %32, align 2
br label %65
33: ; preds = %4
%34 = load i32, ptr %8, align 4
%35 = icmp sle i32 %34, 65535
br i1 %35, label %36, label %50
36: ; preds = %33
store i32 4, ptr %10, align 4
%37 = load i16, ptr %9, align 2
%38 = zext i16 %37 to i32
%39 = or i32 %38, 126
%40 = trunc i32 %39 to i16
store i16 %40, ptr %9, align 2
%41 = load i16, ptr %9, align 2
%42 = call zeroext i16 @htons(i16 noundef zeroext %41)
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds i16, ptr %43, i64 0
store i16 %42, ptr %44, align 2
%45 = load i32, ptr %8, align 4
%46 = trunc i32 %45 to i16
%47 = call zeroext i16 @htons(i16 noundef zeroext %46)
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds i16, ptr %48, i64 1
store i16 %47, ptr %49, align 2
br label %64
50: ; preds = %33
store i32 10, ptr %10, align 4
%51 = load i16, ptr %9, align 2
%52 = zext i16 %51 to i32
%53 = or i32 %52, 127
%54 = trunc i32 %53 to i16
store i16 %54, ptr %9, align 2
%55 = load i16, ptr %9, align 2
%56 = call zeroext i16 @htons(i16 noundef zeroext %55)
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds i16, ptr %57, i64 0
store i16 %56, ptr %58, align 2
%59 = load i32, ptr %8, align 4
%60 = call i64 @htonl(i32 noundef %59)
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 2
%63 = getelementptr inbounds i64, ptr %62, i64 0
store i64 %60, ptr %63, align 8
br label %64
64: ; preds = %50, %36
br label %65
65: ; preds = %64, %23
%66 = load i32, ptr %10, align 4
ret i32 %66
}
declare zeroext i16 @htons(i16 noundef zeroext) #1
declare i64 @htonl(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/tmp5mfs0lau.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ILibWebServer_WebSocket_CreateHeader(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i16, align 2
%7 = alloca i16, align 2
%8 = alloca i32, align 4
%9 = alloca i16, align 2
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i16 %1, ptr %6, align 2
store i16 %2, ptr %7, align 2
store i32 %3, ptr %8, align 4
store i16 0, ptr %9, align 2
%11 = load i16, ptr %7, align 2
%12 = zext i16 %11 to i32
%13 = shl i32 %12, 8
%14 = trunc i32 %13 to i16
store i16 %14, ptr %9, align 2
%15 = load i16, ptr %6, align 2
%16 = zext i16 %15 to i32
%17 = load i16, ptr %9, align 2
%18 = zext i16 %17 to i32
%19 = or i32 %18, %16
%20 = trunc i32 %19 to i16
store i16 %20, ptr %9, align 2
%21 = load i32, ptr %8, align 4
%22 = icmp slt i32 %21, 126
br i1 %22, label %23, label %33
23: ; preds = %4
store i32 2, ptr %10, align 4
%24 = load i32, ptr %8, align 4
%25 = load i16, ptr %9, align 2
%26 = zext i16 %25 to i32
%27 = or i32 %26, %24
%28 = trunc i32 %27 to i16
store i16 %28, ptr %9, align 2
%29 = load i16, ptr %9, align 2
%30 = call zeroext i16 @htons(i16 noundef zeroext %29)
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds i16, ptr %31, i64 0
store i16 %30, ptr %32, align 2
br label %65
33: ; preds = %4
%34 = load i32, ptr %8, align 4
%35 = icmp sle i32 %34, 65535
br i1 %35, label %36, label %50
36: ; preds = %33
store i32 4, ptr %10, align 4
%37 = load i16, ptr %9, align 2
%38 = zext i16 %37 to i32
%39 = or i32 %38, 126
%40 = trunc i32 %39 to i16
store i16 %40, ptr %9, align 2
%41 = load i16, ptr %9, align 2
%42 = call zeroext i16 @htons(i16 noundef zeroext %41)
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds i16, ptr %43, i64 0
store i16 %42, ptr %44, align 2
%45 = load i32, ptr %8, align 4
%46 = trunc i32 %45 to i16
%47 = call zeroext i16 @htons(i16 noundef zeroext %46)
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds i16, ptr %48, i64 1
store i16 %47, ptr %49, align 2
br label %64
50: ; preds = %33
store i32 10, ptr %10, align 4
%51 = load i16, ptr %9, align 2
%52 = zext i16 %51 to i32
%53 = or i32 %52, 127
%54 = trunc i32 %53 to i16
store i16 %54, ptr %9, align 2
%55 = load i16, ptr %9, align 2
%56 = call zeroext i16 @htons(i16 noundef zeroext %55)
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds i16, ptr %57, i64 0
store i16 %56, ptr %58, align 2
%59 = load i32, ptr %8, align 4
%60 = call i64 @htonl(i32 noundef %59)
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 2
%63 = getelementptr inbounds i64, ptr %62, i64 0
store i64 %60, ptr %63, align 8
br label %64
64: ; preds = %50, %36
br label %65
65: ; preds = %64, %23
%66 = load i32, ptr %10, align 4
ret i32 %66
}
declare zeroext i16 @htons(i16 noundef zeroext) #1
declare i64 @htonl(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/tmpa0q1ho_6.c'
source_filename = "/tmp/tmpa0q1ho_6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @glmAbs3f_(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @glmAbs3f(ptr noundef %3, ptr noundef %4)
ret void
}
declare i32 @glmAbs3f(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/tmpa0q1ho_6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @glmAbs3f_(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @glmAbs3f(ptr noundef %3, ptr noundef %4)
ret void
}
declare i32 @glmAbs3f(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/tmpecuzwg7u.c'
source_filename = "/tmp/tmpecuzwg7u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_byte(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @fread(ptr noundef %5, i32 noundef 1, i32 noundef 1, ptr noundef %6)
ret void
}
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpecuzwg7u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_byte(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @fread(ptr noundef %5, i32 noundef 1, i32 noundef 1, ptr noundef %6)
ret void
}
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph6vwwjsi.c'
source_filename = "/tmp/tmph6vwwjsi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"mean = %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @zero_padding(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca double, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
store double 0.000000e+00, ptr %12, align 8
store i32 0, ptr %11, align 4
br label %13
13: ; preds = %34, %5
%14 = load i32, ptr %11, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %37
17: ; preds = %13
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %11, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds double, ptr %18, i64 %20
%22 = load double, ptr %21, align 8
%23 = load double, ptr %12, align 8
%24 = fadd double %23, %22
store double %24, ptr %12, align 8
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %11, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds double, ptr %25, i64 %27
%29 = load double, ptr %28, align 8
%30 = load ptr, ptr %7, align 8
%31 = load i32, ptr %11, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds double, ptr %30, i64 %32
store double %29, ptr %33, align 8
br label %34
34: ; preds = %17
%35 = load i32, ptr %11, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %11, align 4
br label %13, !llvm.loop !6
37: ; preds = %13
%38 = load double, ptr %12, align 8
%39 = call i32 @printf(ptr noundef @.str, double noundef %38)
%40 = load i32, ptr %8, align 4
%41 = sitofp i32 %40 to double
%42 = load double, ptr %12, align 8
%43 = fdiv double %42, %41
store double %43, ptr %12, align 8
%44 = load i32, ptr %8, align 4
store i32 %44, ptr %11, align 4
br label %45
45: ; preds = %64, %37
%46 = load i32, ptr %11, align 4
%47 = load i32, ptr %9, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %67
49: ; preds = %45
%50 = load i32, ptr %10, align 4
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %57
52: ; preds = %49
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %11, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds double, ptr %53, i64 %55
store double 0.000000e+00, ptr %56, align 8
br label %63
57: ; preds = %49
%58 = load double, ptr %12, align 8
%59 = load ptr, ptr %7, align 8
%60 = load i32, ptr %11, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %59, i64 %61
store double %58, ptr %62, align 8
br label %63
63: ; preds = %57, %52
br label %64
64: ; preds = %63
%65 = load i32, ptr %11, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %11, align 4
br label %45, !llvm.loop !8
67: ; preds = %45
%68 = load double, ptr %12, align 8
%69 = call i32 @printf(ptr noundef @.str, double noundef %68)
ret void
}
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph6vwwjsi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"mean = %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @zero_padding(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca double, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
store double 0.000000e+00, ptr %12, align 8
store i32 0, ptr %11, align 4
%13 = load i32, ptr %11, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %39
.lr.ph: ; preds = %5
br label %16
16: ; preds = %.lr.ph, %33
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %11, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds double, ptr %17, i64 %19
%21 = load double, ptr %20, align 8
%22 = load double, ptr %12, align 8
%23 = fadd double %22, %21
store double %23, ptr %12, align 8
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %11, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, ptr %24, i64 %26
%28 = load double, ptr %27, align 8
%29 = load ptr, ptr %7, align 8
%30 = load i32, ptr %11, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %29, i64 %31
store double %28, ptr %32, align 8
br label %33
33: ; preds = %16
%34 = load i32, ptr %11, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %11, align 4
%36 = load i32, ptr %11, align 4
%37 = load i32, ptr %8, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %5
%40 = load double, ptr %12, align 8
%41 = call i32 @printf(ptr noundef @.str, double noundef %40)
%42 = load i32, ptr %8, align 4
%43 = sitofp i32 %42 to double
%44 = load double, ptr %12, align 8
%45 = fdiv double %44, %43
store double %45, ptr %12, align 8
%46 = load i32, ptr %8, align 4
store i32 %46, ptr %11, align 4
%47 = load i32, ptr %11, align 4
%48 = load i32, ptr %9, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %.lr.ph2, label %71
.lr.ph2: ; preds = %39
br label %50
50: ; preds = %.lr.ph2, %65
%51 = load i32, ptr %10, align 4
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %58
53: ; preds = %50
%54 = load ptr, ptr %7, align 8
%55 = load i32, ptr %11, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds double, ptr %54, i64 %56
store double 0.000000e+00, ptr %57, align 8
br label %64
58: ; preds = %50
%59 = load double, ptr %12, align 8
%60 = load ptr, ptr %7, align 8
%61 = load i32, ptr %11, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %60, i64 %62
store double %59, ptr %63, align 8
br label %64
64: ; preds = %58, %53
br label %65
65: ; preds = %64
%66 = load i32, ptr %11, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %11, align 4
%68 = load i32, ptr %11, align 4
%69 = load i32, ptr %9, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %50, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %65
br label %71
71: ; preds = %._crit_edge3, %39
%72 = load double, ptr %12, align 8
%73 = call i32 @printf(ptr noundef @.str, double noundef %72)
ret void
}
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpvm_hkgh5.c'
source_filename = "/tmp/tmpvm_hkgh5.c"
target datalayout = "e-m:e-p270: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/tmpvm_hkgh5.c"
target datalayout = "e-m:e-p270: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/tmpha10v9ip.c'
source_filename = "/tmp/tmpha10v9ip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"\0A1.Insert \09 2.Delete \09 3.Display\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"\0A Enter your choice:\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"\0AEnter choice as 1,2 or 3\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"\0ADo you want to continue(y:yes/n:no)\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
br label %4
4: ; preds = %29, %0
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @printf(ptr noundef @.str.1)
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %1)
%8 = load i32, ptr %1, align 4
switch i32 %8, label %15 [
i32 1, label %9
i32 2, label %11
i32 3, label %13
]
9: ; preds = %4
%10 = call i32 (...) @push()
br label %17
11: ; preds = %4
%12 = call i32 (...) @pop()
br label %17
13: ; preds = %4
%14 = call i32 (...) @display()
br label %17
15: ; preds = %4
%16 = call i32 @printf(ptr noundef @.str.3)
br label %17
17: ; preds = %15, %13, %11, %9
%18 = call i32 @printf(ptr noundef @.str.4)
%19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %3)
%20 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %2)
br label %21
21: ; preds = %17
%22 = load i8, ptr %2, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 121
br i1 %24, label %29, label %25
25: ; preds = %21
%26 = load i8, ptr %2, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 89
br label %29
29: ; preds = %25, %21
%30 = phi i1 [ true, %21 ], [ %28, %25 ]
br i1 %30, label %4, label %31, !llvm.loop !6
31: ; preds = %29
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @push(...) #1
declare i32 @pop(...) #1
declare i32 @display(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpha10v9ip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"\0A1.Insert \09 2.Delete \09 3.Display\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"\0A Enter your choice:\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"\0AEnter choice as 1,2 or 3\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"\0ADo you want to continue(y:yes/n:no)\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
br label %4
4: ; preds = %29, %0
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @printf(ptr noundef @.str.1)
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %1)
%8 = load i32, ptr %1, align 4
switch i32 %8, label %15 [
i32 1, label %9
i32 2, label %11
i32 3, label %13
]
9: ; preds = %4
%10 = call i32 (...) @push()
br label %17
11: ; preds = %4
%12 = call i32 (...) @pop()
br label %17
13: ; preds = %4
%14 = call i32 (...) @display()
br label %17
15: ; preds = %4
%16 = call i32 @printf(ptr noundef @.str.3)
br label %17
17: ; preds = %15, %13, %11, %9
%18 = call i32 @printf(ptr noundef @.str.4)
%19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %3)
%20 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %2)
br label %21
21: ; preds = %17
%22 = load i8, ptr %2, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 121
br i1 %24, label %29, label %25
25: ; preds = %21
%26 = load i8, ptr %2, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 89
br label %29
29: ; preds = %25, %21
%30 = phi i1 [ true, %21 ], [ %28, %25 ]
br i1 %30, label %4, label %31, !llvm.loop !6
31: ; preds = %29
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @push(...) #1
declare i32 @pop(...) #1
declare i32 @display(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp7q6fy59l.c'
source_filename = "/tmp/tmp7q6fy59l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7q6fy59l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqaey9lk6.c'
source_filename = "/tmp/tmpqaey9lk6.c"
target datalayout = "e-m:e-p270: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/tmpqaey9lk6.c"
target datalayout = "e-m:e-p270: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/tmp79u1nc7c.c'
source_filename = "/tmp/tmp79u1nc7c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sais_int_bwt(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
%14 = load ptr, ptr %7, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %28, label %16
16: ; preds = %5
%17 = load ptr, ptr %8, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %28, label %19
19: ; preds = %16
%20 = load ptr, ptr %9, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %28, label %22
22: ; preds = %19
%23 = load i32, ptr %10, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %22
%26 = load i32, ptr %11, align 4
%27 = icmp sle i32 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %25, %22, %19, %16, %5
store i32 -1, ptr %6, align 4
br label %104
29: ; preds = %25
%30 = load i32, ptr %10, align 4
%31 = icmp sle i32 %30, 1
br i1 %31, label %32, label %43
32: ; preds = %29
%33 = load i32, ptr %10, align 4
%34 = icmp eq i32 %33, 1
br i1 %34, label %35, label %41
35: ; preds = %32
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds i32, ptr %36, i64 0
%38 = load i32, ptr %37, align 4
%39 = load ptr, ptr %8, align 8
%40 = getelementptr inbounds i32, ptr %39, i64 0
store i32 %38, ptr %40, align 4
br label %41
41: ; preds = %35, %32
%42 = load i32, ptr %10, align 4
store i32 %42, ptr %6, align 4
br label %104
43: ; preds = %29
%44 = load ptr, ptr %7, align 8
%45 = load ptr, ptr %9, align 8
%46 = load i32, ptr %10, align 4
%47 = load i32, ptr %11, align 4
%48 = call i32 @sais_main(ptr noundef %44, ptr noundef %45, ptr noundef null, i32 noundef 0, i32 noundef %46, i32 noundef %47, i32 noundef 4, i32 noundef 1, i32 noundef 1)
store i32 %48, ptr %13, align 4
%49 = load i32, ptr %13, align 4
%50 = icmp slt i32 %49, 0
br i1 %50, label %51, label %53
51: ; preds = %43
%52 = load i32, ptr %13, align 4
store i32 %52, ptr %6, align 4
br label %104
53: ; preds = %43
%54 = load ptr, ptr %7, align 8
%55 = load i32, ptr %10, align 4
%56 = sub nsw i32 %55, 1
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %54, i64 %57
%59 = load i32, ptr %58, align 4
%60 = load ptr, ptr %8, align 8
%61 = getelementptr inbounds i32, ptr %60, i64 0
store i32 %59, ptr %61, align 4
store i32 0, ptr %12, align 4
br label %62
62: ; preds = %77, %53
%63 = load i32, ptr %12, align 4
%64 = load i32, ptr %13, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %66, label %80
66: ; preds = %62
%67 = load ptr, ptr %9, align 8
%68 = load i32, ptr %12, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %67, i64 %69
%71 = load i32, ptr %70, align 4
%72 = load ptr, ptr %8, align 8
%73 = load i32, ptr %12, align 4
%74 = add nsw i32 %73, 1
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %72, i64 %75
store i32 %71, ptr %76, align 4
br label %77
77: ; preds = %66
%78 = load i32, ptr %12, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %12, align 4
br label %62, !llvm.loop !6
80: ; preds = %62
%81 = load i32, ptr %12, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %12, align 4
br label %83
83: ; preds = %97, %80
%84 = load i32, ptr %12, align 4
%85 = load i32, ptr %10, align 4
%86 = icmp slt i32 %84, %85
br i1 %86, label %87, label %100
87: ; preds = %83
%88 = load ptr, ptr %9, align 8
%89 = load i32, ptr %12, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i32, ptr %88, i64 %90
%92 = load i32, ptr %91, align 4
%93 = load ptr, ptr %8, align 8
%94 = load i32, ptr %12, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i32, ptr %93, i64 %95
store i32 %92, ptr %96, align 4
br label %97
97: ; preds = %87
%98 = load i32, ptr %12, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %12, align 4
br label %83, !llvm.loop !8
100: ; preds = %83
%101 = load i32, ptr %13, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %13, align 4
%103 = load i32, ptr %13, align 4
store i32 %103, ptr %6, align 4
br label %104
104: ; preds = %100, %51, %41, %28
%105 = load i32, ptr %6, align 4
ret i32 %105
}
declare i32 @sais_main(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp79u1nc7c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sais_int_bwt(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
%14 = load ptr, ptr %7, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %28, label %16
16: ; preds = %5
%17 = load ptr, ptr %8, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %28, label %19
19: ; preds = %16
%20 = load ptr, ptr %9, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %28, label %22
22: ; preds = %19
%23 = load i32, ptr %10, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %22
%26 = load i32, ptr %11, align 4
%27 = icmp sle i32 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %25, %22, %19, %16, %5
store i32 -1, ptr %6, align 4
br label %108
29: ; preds = %25
%30 = load i32, ptr %10, align 4
%31 = icmp sle i32 %30, 1
br i1 %31, label %32, label %43
32: ; preds = %29
%33 = load i32, ptr %10, align 4
%34 = icmp eq i32 %33, 1
br i1 %34, label %35, label %41
35: ; preds = %32
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds i32, ptr %36, i64 0
%38 = load i32, ptr %37, align 4
%39 = load ptr, ptr %8, align 8
%40 = getelementptr inbounds i32, ptr %39, i64 0
store i32 %38, ptr %40, align 4
br label %41
41: ; preds = %35, %32
%42 = load i32, ptr %10, align 4
store i32 %42, ptr %6, align 4
br label %108
43: ; preds = %29
%44 = load ptr, ptr %7, align 8
%45 = load ptr, ptr %9, align 8
%46 = load i32, ptr %10, align 4
%47 = load i32, ptr %11, align 4
%48 = call i32 @sais_main(ptr noundef %44, ptr noundef %45, ptr noundef null, i32 noundef 0, i32 noundef %46, i32 noundef %47, i32 noundef 4, i32 noundef 1, i32 noundef 1)
store i32 %48, ptr %13, align 4
%49 = load i32, ptr %13, align 4
%50 = icmp slt i32 %49, 0
br i1 %50, label %51, label %53
51: ; preds = %43
%52 = load i32, ptr %13, align 4
store i32 %52, ptr %6, align 4
br label %108
53: ; preds = %43
%54 = load ptr, ptr %7, align 8
%55 = load i32, ptr %10, align 4
%56 = sub nsw i32 %55, 1
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %54, i64 %57
%59 = load i32, ptr %58, align 4
%60 = load ptr, ptr %8, align 8
%61 = getelementptr inbounds i32, ptr %60, i64 0
store i32 %59, ptr %61, align 4
store i32 0, ptr %12, align 4
%62 = load i32, ptr %12, align 4
%63 = load i32, ptr %13, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %.lr.ph, label %82
.lr.ph: ; preds = %53
br label %65
65: ; preds = %.lr.ph, %76
%66 = load ptr, ptr %9, align 8
%67 = load i32, ptr %12, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %66, i64 %68
%70 = load i32, ptr %69, align 4
%71 = load ptr, ptr %8, align 8
%72 = load i32, ptr %12, align 4
%73 = add nsw i32 %72, 1
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %71, i64 %74
store i32 %70, ptr %75, align 4
br label %76
76: ; preds = %65
%77 = load i32, ptr %12, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %12, align 4
%79 = load i32, ptr %12, align 4
%80 = load i32, ptr %13, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %65, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %76
br label %82
82: ; preds = %._crit_edge, %53
%83 = load i32, ptr %12, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %12, align 4
%85 = load i32, ptr %12, align 4
%86 = load i32, ptr %10, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %.lr.ph2, label %104
.lr.ph2: ; preds = %82
br label %88
88: ; preds = %.lr.ph2, %98
%89 = load ptr, ptr %9, align 8
%90 = load i32, ptr %12, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i32, ptr %89, i64 %91
%93 = load i32, ptr %92, align 4
%94 = load ptr, ptr %8, align 8
%95 = load i32, ptr %12, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i32, ptr %94, i64 %96
store i32 %93, ptr %97, align 4
br label %98
98: ; preds = %88
%99 = load i32, ptr %12, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %12, align 4
%101 = load i32, ptr %12, align 4
%102 = load i32, ptr %10, align 4
%103 = icmp slt i32 %101, %102
br i1 %103, label %88, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %98
br label %104
104: ; preds = %._crit_edge3, %82
%105 = load i32, ptr %13, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %13, align 4
%107 = load i32, ptr %13, align 4
store i32 %107, ptr %6, align 4
br label %108
108: ; preds = %104, %51, %41, %28
%109 = load i32, ptr %6, align 4
ret i32 %109
}
declare i32 @sais_main(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpw4b1v1m5.c'
source_filename = "/tmp/tmpw4b1v1m5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"torsmo: can't open %s: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @open_file(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 %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %30, label %11
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %15, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %29
18: ; preds = %14, %11
%19 = load i32, ptr @stderr, align 4
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr @errno, align 4
%22 = call ptr @strerror(i32 noundef %21)
%23 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.1, ptr noundef %20, ptr noundef %22)
%24 = load ptr, ptr %5, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %28
26: ; preds = %18
%27 = load ptr, ptr %5, align 8
store i32 1, ptr %27, align 4
br label %28
28: ; preds = %26, %18
br label %29
29: ; preds = %28, %14
store ptr null, ptr %3, align 8
br label %32
30: ; preds = %2
%31 = load ptr, ptr %6, align 8
store ptr %31, ptr %3, align 8
br label %32
32: ; preds = %30, %29
%33 = load ptr, ptr %3, align 8
ret ptr %33
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw4b1v1m5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"torsmo: can't open %s: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @open_file(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 %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %30, label %11
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %15, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %29
18: ; preds = %14, %11
%19 = load i32, ptr @stderr, align 4
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr @errno, align 4
%22 = call ptr @strerror(i32 noundef %21)
%23 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.1, ptr noundef %20, ptr noundef %22)
%24 = load ptr, ptr %5, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %28
26: ; preds = %18
%27 = load ptr, ptr %5, align 8
store i32 1, ptr %27, align 4
br label %28
28: ; preds = %26, %18
br label %29
29: ; preds = %28, %14
store ptr null, ptr %3, align 8
br label %32
30: ; preds = %2
%31 = load ptr, ptr %6, align 8
store ptr %31, ptr %3, align 8
br label %32
32: ; preds = %30, %29
%33 = load ptr, ptr %3, align 8
ret ptr %33
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl5g608dx.c'
source_filename = "/tmp/tmpl5g608dx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cyc_Core_ufree(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %6
5: ; preds = %1
br label %9
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @GC_free(ptr noundef %7)
br label %9
9: ; preds = %5, %6
ret void
}
declare i32 @GC_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/tmpl5g608dx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cyc_Core_ufree(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %6
5: ; preds = %1
br label %9
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @GC_free(ptr noundef %7)
br label %9
9: ; preds = %6, %5
ret void
}
declare i32 @GC_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/tmpuq5g16p9.c'
source_filename = "/tmp/tmpuq5g16p9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Out of memory in reduce_centered!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ReduceCentered_1D(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%20 = load i64, ptr %7, align 8
%21 = sdiv i64 %20, 2
store i64 %21, ptr %18, align 8
%22 = load i64, ptr %18, align 8
%23 = mul nsw i64 %22, 2
store i64 %23, ptr %19, align 8
%24 = load i64, ptr %19, align 8
%25 = mul nsw i64 2, %24
store i64 %25, ptr %17, align 8
%26 = load i64, ptr %19, align 8
%27 = mul nsw i64 %26, 8
%28 = call i64 @malloc(i64 noundef %27)
%29 = inttoptr i64 %28 to ptr
store ptr %29, ptr %11, align 8
%30 = load ptr, ptr %11, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %34
32: ; preds = %5
%33 = call i32 @MessageDisplay(ptr noundef @.str)
br label %156
34: ; preds = %5
store i64 0, ptr %12, align 8
br label %35
35: ; preds = %125, %34
%36 = load i64, ptr %12, align 8
%37 = load i64, ptr %19, align 8
%38 = icmp slt i64 %36, %37
br i1 %38, label %39, label %128
39: ; preds = %35
%40 = load ptr, ptr %6, align 8
%41 = load i64, ptr %12, align 8
%42 = getelementptr inbounds double, ptr %40, i64 %41
%43 = load double, ptr %42, align 8
%44 = load ptr, ptr %9, align 8
%45 = getelementptr inbounds double, ptr %44, i64 0
%46 = load double, ptr %45, align 8
%47 = fmul double %43, %46
%48 = load ptr, ptr %11, align 8
%49 = load i64, ptr %12, align 8
%50 = getelementptr inbounds double, ptr %48, i64 %49
store double %47, ptr %50, align 8
store i64 1, ptr %13, align 8
br label %51
51: ; preds = %121, %39
%52 = load i64, ptr %13, align 8
%53 = load i64, ptr %10, align 8
%54 = icmp slt i64 %52, %53
br i1 %54, label %55, label %124
55: ; preds = %51
%56 = load i64, ptr %12, align 8
%57 = load i64, ptr %13, align 8
%58 = sub nsw i64 %56, %57
store i64 %58, ptr %14, align 8
%59 = load i64, ptr %12, align 8
%60 = load i64, ptr %13, align 8
%61 = add nsw i64 %59, %60
store i64 %61, ptr %15, align 8
%62 = load i64, ptr %14, align 8
%63 = icmp slt i64 %62, 0
br i1 %63, label %64, label %81
64: ; preds = %55
%65 = load i64, ptr %19, align 8
%66 = mul nsw i64 2, %65
%67 = sub nsw i64 %66, 1
%68 = load i64, ptr %14, align 8
%69 = sub nsw i64 %67, %68
%70 = load i64, ptr %17, align 8
%71 = srem i64 %69, %70
store i64 %71, ptr %14, align 8
%72 = load i64, ptr %14, align 8
%73 = load i64, ptr %19, align 8
%74 = icmp sge i64 %72, %73
br i1 %74, label %75, label %80
75: ; preds = %64
%76 = load i64, ptr %17, align 8
%77 = load i64, ptr %14, align 8
%78 = sub nsw i64 %76, %77
%79 = sub nsw i64 %78, 1
store i64 %79, ptr %14, align 8
br label %80
80: ; preds = %75, %64
br label %81
81: ; preds = %80, %55
%82 = load i64, ptr %15, align 8
%83 = load i64, ptr %19, align 8
%84 = sub nsw i64 %83, 1
%85 = icmp sgt i64 %82, %84
br i1 %85, label %86, label %99
86: ; preds = %81
%87 = load i64, ptr %15, align 8
%88 = load i64, ptr %17, align 8
%89 = srem i64 %87, %88
store i64 %89, ptr %15, align 8
%90 = load i64, ptr %15, align 8
%91 = load i64, ptr %19, align 8
%92 = icmp sge i64 %90, %91
br i1 %92, label %93, label %98
93: ; preds = %86
%94 = load i64, ptr %17, align 8
%95 = load i64, ptr %15, align 8
%96 = sub nsw i64 %94, %95
%97 = sub nsw i64 %96, 1
store i64 %97, ptr %15, align 8
br label %98
98: ; preds = %93, %86
br label %99
99: ; preds = %98, %81
%100 = load ptr, ptr %11, align 8
%101 = load i64, ptr %12, align 8
%102 = getelementptr inbounds double, ptr %100, i64 %101
%103 = load double, ptr %102, align 8
%104 = load ptr, ptr %9, align 8
%105 = load i64, ptr %13, align 8
%106 = getelementptr inbounds double, ptr %104, i64 %105
%107 = load double, ptr %106, align 8
%108 = load ptr, ptr %6, align 8
%109 = load i64, ptr %14, align 8
%110 = getelementptr inbounds double, ptr %108, i64 %109
%111 = load double, ptr %110, align 8
%112 = load ptr, ptr %6, align 8
%113 = load i64, ptr %15, align 8
%114 = getelementptr inbounds double, ptr %112, i64 %113
%115 = load double, ptr %114, align 8
%116 = fadd double %111, %115
%117 = call double @llvm.fmuladd.f64(double %107, double %116, double %103)
%118 = load ptr, ptr %11, align 8
%119 = load i64, ptr %12, align 8
%120 = getelementptr inbounds double, ptr %118, i64 %119
store double %117, ptr %120, align 8
br label %121
121: ; preds = %99
%122 = load i64, ptr %13, align 8
%123 = add nsw i64 %122, 1
store i64 %123, ptr %13, align 8
br label %51, !llvm.loop !6
124: ; preds = %51
br label %125
125: ; preds = %124
%126 = load i64, ptr %12, align 8
%127 = add nsw i64 %126, 1
store i64 %127, ptr %12, align 8
br label %35, !llvm.loop !8
128: ; preds = %35
store i64 0, ptr %16, align 8
br label %129
129: ; preds = %150, %128
%130 = load i64, ptr %16, align 8
%131 = load i64, ptr %18, align 8
%132 = icmp slt i64 %130, %131
br i1 %132, label %133, label %153
133: ; preds = %129
%134 = load i64, ptr %16, align 8
%135 = mul nsw i64 2, %134
store i64 %135, ptr %12, align 8
%136 = load ptr, ptr %11, align 8
%137 = load i64, ptr %12, align 8
%138 = getelementptr inbounds double, ptr %136, i64 %137
%139 = load double, ptr %138, align 8
%140 = load ptr, ptr %11, align 8
%141 = load i64, ptr %12, align 8
%142 = add nsw i64 %141, 1
%143 = getelementptr inbounds double, ptr %140, i64 %142
%144 = load double, ptr %143, align 8
%145 = fadd double %139, %144
%146 = fdiv double %145, 2.000000e+00
%147 = load ptr, ptr %8, align 8
%148 = load i64, ptr %16, align 8
%149 = getelementptr inbounds double, ptr %147, i64 %148
store double %146, ptr %149, align 8
br label %150
150: ; preds = %133
%151 = load i64, ptr %16, align 8
%152 = add nsw i64 %151, 1
store i64 %152, ptr %16, align 8
br label %129, !llvm.loop !9
153: ; preds = %129
%154 = load ptr, ptr %11, align 8
%155 = call i32 @free(ptr noundef %154)
br label %156
156: ; preds = %153, %32
ret void
}
declare i64 @malloc(i64 noundef) #1
declare i32 @MessageDisplay(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuq5g16p9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Out of memory in reduce_centered!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ReduceCentered_1D(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%20 = load i64, ptr %7, align 8
%21 = sdiv i64 %20, 2
store i64 %21, ptr %18, align 8
%22 = load i64, ptr %18, align 8
%23 = mul nsw i64 %22, 2
store i64 %23, ptr %19, align 8
%24 = load i64, ptr %19, align 8
%25 = mul nsw i64 2, %24
store i64 %25, ptr %17, align 8
%26 = load i64, ptr %19, align 8
%27 = mul nsw i64 %26, 8
%28 = call i64 @malloc(i64 noundef %27)
%29 = inttoptr i64 %28 to ptr
store ptr %29, ptr %11, align 8
%30 = load ptr, ptr %11, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %34
32: ; preds = %5
%33 = call i32 @MessageDisplay(ptr noundef @.str)
br label %162
34: ; preds = %5
store i64 0, ptr %12, align 8
%35 = load i64, ptr %12, align 8
%36 = load i64, ptr %19, align 8
%37 = icmp slt i64 %35, %36
br i1 %37, label %.lr.ph2, label %132
.lr.ph2: ; preds = %34
br label %38
38: ; preds = %.lr.ph2, %126
%39 = load ptr, ptr %6, align 8
%40 = load i64, ptr %12, align 8
%41 = getelementptr inbounds double, ptr %39, i64 %40
%42 = load double, ptr %41, align 8
%43 = load ptr, ptr %9, align 8
%44 = getelementptr inbounds double, ptr %43, i64 0
%45 = load double, ptr %44, align 8
%46 = fmul double %42, %45
%47 = load ptr, ptr %11, align 8
%48 = load i64, ptr %12, align 8
%49 = getelementptr inbounds double, ptr %47, i64 %48
store double %46, ptr %49, align 8
store i64 1, ptr %13, align 8
%50 = load i64, ptr %13, align 8
%51 = load i64, ptr %10, align 8
%52 = icmp slt i64 %50, %51
br i1 %52, label %.lr.ph, label %125
.lr.ph: ; preds = %38
br label %53
53: ; preds = %.lr.ph, %119
%54 = load i64, ptr %12, align 8
%55 = load i64, ptr %13, align 8
%56 = sub nsw i64 %54, %55
store i64 %56, ptr %14, align 8
%57 = load i64, ptr %12, align 8
%58 = load i64, ptr %13, align 8
%59 = add nsw i64 %57, %58
store i64 %59, ptr %15, align 8
%60 = load i64, ptr %14, align 8
%61 = icmp slt i64 %60, 0
br i1 %61, label %62, label %79
62: ; preds = %53
%63 = load i64, ptr %19, align 8
%64 = mul nsw i64 2, %63
%65 = sub nsw i64 %64, 1
%66 = load i64, ptr %14, align 8
%67 = sub nsw i64 %65, %66
%68 = load i64, ptr %17, align 8
%69 = srem i64 %67, %68
store i64 %69, ptr %14, align 8
%70 = load i64, ptr %14, align 8
%71 = load i64, ptr %19, align 8
%72 = icmp sge i64 %70, %71
br i1 %72, label %73, label %78
73: ; preds = %62
%74 = load i64, ptr %17, align 8
%75 = load i64, ptr %14, align 8
%76 = sub nsw i64 %74, %75
%77 = sub nsw i64 %76, 1
store i64 %77, ptr %14, align 8
br label %78
78: ; preds = %73, %62
br label %79
79: ; preds = %78, %53
%80 = load i64, ptr %15, align 8
%81 = load i64, ptr %19, align 8
%82 = sub nsw i64 %81, 1
%83 = icmp sgt i64 %80, %82
br i1 %83, label %84, label %97
84: ; preds = %79
%85 = load i64, ptr %15, align 8
%86 = load i64, ptr %17, align 8
%87 = srem i64 %85, %86
store i64 %87, ptr %15, align 8
%88 = load i64, ptr %15, align 8
%89 = load i64, ptr %19, align 8
%90 = icmp sge i64 %88, %89
br i1 %90, label %91, label %96
91: ; preds = %84
%92 = load i64, ptr %17, align 8
%93 = load i64, ptr %15, align 8
%94 = sub nsw i64 %92, %93
%95 = sub nsw i64 %94, 1
store i64 %95, ptr %15, align 8
br label %96
96: ; preds = %91, %84
br label %97
97: ; preds = %96, %79
%98 = load ptr, ptr %11, align 8
%99 = load i64, ptr %12, align 8
%100 = getelementptr inbounds double, ptr %98, i64 %99
%101 = load double, ptr %100, align 8
%102 = load ptr, ptr %9, align 8
%103 = load i64, ptr %13, align 8
%104 = getelementptr inbounds double, ptr %102, i64 %103
%105 = load double, ptr %104, align 8
%106 = load ptr, ptr %6, align 8
%107 = load i64, ptr %14, align 8
%108 = getelementptr inbounds double, ptr %106, i64 %107
%109 = load double, ptr %108, align 8
%110 = load ptr, ptr %6, align 8
%111 = load i64, ptr %15, align 8
%112 = getelementptr inbounds double, ptr %110, i64 %111
%113 = load double, ptr %112, align 8
%114 = fadd double %109, %113
%115 = call double @llvm.fmuladd.f64(double %105, double %114, double %101)
%116 = load ptr, ptr %11, align 8
%117 = load i64, ptr %12, align 8
%118 = getelementptr inbounds double, ptr %116, i64 %117
store double %115, ptr %118, align 8
br label %119
119: ; preds = %97
%120 = load i64, ptr %13, align 8
%121 = add nsw i64 %120, 1
store i64 %121, ptr %13, align 8
%122 = load i64, ptr %13, align 8
%123 = load i64, ptr %10, align 8
%124 = icmp slt i64 %122, %123
br i1 %124, label %53, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %119
br label %125
125: ; preds = %._crit_edge, %38
br label %126
126: ; preds = %125
%127 = load i64, ptr %12, align 8
%128 = add nsw i64 %127, 1
store i64 %128, ptr %12, align 8
%129 = load i64, ptr %12, align 8
%130 = load i64, ptr %19, align 8
%131 = icmp slt i64 %129, %130
br i1 %131, label %38, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %126
br label %132
132: ; preds = %._crit_edge3, %34
store i64 0, ptr %16, align 8
%133 = load i64, ptr %16, align 8
%134 = load i64, ptr %18, align 8
%135 = icmp slt i64 %133, %134
br i1 %135, label %.lr.ph5, label %159
.lr.ph5: ; preds = %132
br label %136
136: ; preds = %.lr.ph5, %153
%137 = load i64, ptr %16, align 8
%138 = mul nsw i64 2, %137
store i64 %138, ptr %12, align 8
%139 = load ptr, ptr %11, align 8
%140 = load i64, ptr %12, align 8
%141 = getelementptr inbounds double, ptr %139, i64 %140
%142 = load double, ptr %141, align 8
%143 = load ptr, ptr %11, align 8
%144 = load i64, ptr %12, align 8
%145 = add nsw i64 %144, 1
%146 = getelementptr inbounds double, ptr %143, i64 %145
%147 = load double, ptr %146, align 8
%148 = fadd double %142, %147
%149 = fdiv double %148, 2.000000e+00
%150 = load ptr, ptr %8, align 8
%151 = load i64, ptr %16, align 8
%152 = getelementptr inbounds double, ptr %150, i64 %151
store double %149, ptr %152, align 8
br label %153
153: ; preds = %136
%154 = load i64, ptr %16, align 8
%155 = add nsw i64 %154, 1
store i64 %155, ptr %16, align 8
%156 = load i64, ptr %16, align 8
%157 = load i64, ptr %18, align 8
%158 = icmp slt i64 %156, %157
br i1 %158, label %136, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %153
br label %159
159: ; preds = %._crit_edge6, %132
%160 = load ptr, ptr %11, align 8
%161 = call i32 @free(ptr noundef %160)
br label %162
162: ; preds = %159, %32
ret void
}
declare i64 @malloc(i64 noundef) #1
declare i32 @MessageDisplay(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpg2jhw045.c'
source_filename = "/tmp/tmpg2jhw045.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @igt(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
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp sgt i32 %8, %9
br i1 %10, label %11, label %21
11: ; preds = %3
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp ne i32 %12, %13
br i1 %14, label %15, label %21
15: ; preds = %11
%16 = load i32, ptr %7, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %15
%19 = call i32 (...) @abort() #2
unreachable
20: ; preds = %15
br label %27
21: ; preds = %11, %3
%22 = load i32, ptr %7, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = call i32 (...) @abort() #2
unreachable
26: ; preds = %21
br label %27
27: ; preds = %26, %20
%28 = load i32, ptr %4, align 4
ret i32 %28
}
; 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/tmpg2jhw045.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @igt(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
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp sgt i32 %8, %9
br i1 %10, label %11, label %21
11: ; preds = %3
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp ne i32 %12, %13
br i1 %14, label %15, label %21
15: ; preds = %11
%16 = load i32, ptr %7, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %15
%19 = call i32 (...) @abort() #2
unreachable
20: ; preds = %15
br label %27
21: ; preds = %11, %3
%22 = load i32, ptr %7, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = call i32 (...) @abort() #2
unreachable
26: ; preds = %21
br label %27
27: ; preds = %26, %20
%28 = load i32, ptr %4, align 4
ret i32 %28
}
; 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/tmp1o_vtret.c'
source_filename = "/tmp/tmp1o_vtret.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @count_neighbouts_ones(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%16 = load i32, ptr %7, align 4
%17 = sub nsw i32 %16, 1
%18 = call i32 @get_max(i32 noundef 0, i32 noundef %17)
store i32 %18, ptr %10, align 4
%19 = load i32, ptr %7, align 4
%20 = add nsw i32 %19, 1
%21 = call i32 @get_min(i32 noundef 9, i32 noundef %20)
store i32 %21, ptr %11, align 4
%22 = load i32, ptr %8, align 4
%23 = sub nsw i32 %22, 1
%24 = call i32 @get_max(i32 noundef 0, i32 noundef %23)
store i32 %24, ptr %12, align 4
%25 = load i32, ptr %8, align 4
%26 = add nsw i32 %25, 1
%27 = call i32 @get_min(i32 noundef 9, i32 noundef %26)
store i32 %27, ptr %13, align 4
%28 = load i32, ptr %10, align 4
store i32 %28, ptr %14, align 4
br label %29
29: ; preds = %65, %4
%30 = load i32, ptr %14, align 4
%31 = load i32, ptr %11, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %33, label %68
33: ; preds = %29
%34 = load i32, ptr %12, align 4
store i32 %34, ptr %15, align 4
br label %35
35: ; preds = %61, %33
%36 = load i32, ptr %15, align 4
%37 = load i32, ptr %13, align 4
%38 = icmp sle i32 %36, %37
br i1 %38, label %39, label %64
39: ; preds = %35
%40 = load i32, ptr %14, align 4
%41 = load i32, ptr %7, align 4
%42 = icmp eq i32 %40, %41
br i1 %42, label %43, label %48
43: ; preds = %39
%44 = load i32, ptr %15, align 4
%45 = load i32, ptr %8, align 4
%46 = icmp eq i32 %44, %45
br i1 %46, label %47, label %48
47: ; preds = %43
br label %61
48: ; preds = %43, %39
%49 = load ptr, ptr %5, align 8
%50 = load i32, ptr %14, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %49, i64 %51
%53 = load i32, ptr %52, align 4
%54 = load i32, ptr %15, align 4
%55 = call i32 @nth_position(i32 noundef %53, i32 noundef %54)
%56 = icmp eq i32 %55, 1
br i1 %56, label %57, label %60
57: ; preds = %48
%58 = load i32, ptr %9, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %9, align 4
br label %60
60: ; preds = %57, %48
br label %61
61: ; preds = %60, %47
%62 = load i32, ptr %15, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %15, align 4
br label %35, !llvm.loop !6
64: ; preds = %35
br label %65
65: ; preds = %64
%66 = load i32, ptr %14, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %14, align 4
br label %29, !llvm.loop !8
68: ; preds = %29
%69 = load i32, ptr %9, align 4
ret i32 %69
}
declare i32 @get_max(i32 noundef, i32 noundef) #1
declare i32 @get_min(i32 noundef, i32 noundef) #1
declare i32 @nth_position(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/tmp1o_vtret.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @count_neighbouts_ones(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%16 = load i32, ptr %7, align 4
%17 = sub nsw i32 %16, 1
%18 = call i32 @get_max(i32 noundef 0, i32 noundef %17)
store i32 %18, ptr %10, align 4
%19 = load i32, ptr %7, align 4
%20 = add nsw i32 %19, 1
%21 = call i32 @get_min(i32 noundef 9, i32 noundef %20)
store i32 %21, ptr %11, align 4
%22 = load i32, ptr %8, align 4
%23 = sub nsw i32 %22, 1
%24 = call i32 @get_max(i32 noundef 0, i32 noundef %23)
store i32 %24, ptr %12, align 4
%25 = load i32, ptr %8, align 4
%26 = add nsw i32 %25, 1
%27 = call i32 @get_min(i32 noundef 9, i32 noundef %26)
store i32 %27, ptr %13, align 4
%28 = load i32, ptr %10, align 4
store i32 %28, ptr %14, align 4
%29 = load i32, ptr %14, align 4
%30 = load i32, ptr %11, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %.lr.ph2, label %72
.lr.ph2: ; preds = %4
br label %32
32: ; preds = %.lr.ph2, %66
%33 = load i32, ptr %12, align 4
store i32 %33, ptr %15, align 4
%34 = load i32, ptr %15, align 4
%35 = load i32, ptr %13, align 4
%36 = icmp sle i32 %34, %35
br i1 %36, label %.lr.ph, label %65
.lr.ph: ; preds = %32
br label %37
37: ; preds = %.lr.ph, %59
%38 = load i32, ptr %14, align 4
%39 = load i32, ptr %7, align 4
%40 = icmp eq i32 %38, %39
br i1 %40, label %41, label %46
41: ; preds = %37
%42 = load i32, ptr %15, align 4
%43 = load i32, ptr %8, align 4
%44 = icmp eq i32 %42, %43
br i1 %44, label %45, label %46
45: ; preds = %41
br label %59
46: ; preds = %41, %37
%47 = load ptr, ptr %5, align 8
%48 = load i32, ptr %14, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
%51 = load i32, ptr %50, align 4
%52 = load i32, ptr %15, align 4
%53 = call i32 @nth_position(i32 noundef %51, i32 noundef %52)
%54 = icmp eq i32 %53, 1
br i1 %54, label %55, label %58
55: ; preds = %46
%56 = load i32, ptr %9, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %9, align 4
br label %58
58: ; preds = %55, %46
br label %59
59: ; preds = %58, %45
%60 = load i32, ptr %15, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %15, align 4
%62 = load i32, ptr %15, align 4
%63 = load i32, ptr %13, align 4
%64 = icmp sle i32 %62, %63
br i1 %64, label %37, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %65
65: ; preds = %._crit_edge, %32
br label %66
66: ; preds = %65
%67 = load i32, ptr %14, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %14, align 4
%69 = load i32, ptr %14, align 4
%70 = load i32, ptr %11, align 4
%71 = icmp sle i32 %69, %70
br i1 %71, label %32, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %66
br label %72
72: ; preds = %._crit_edge3, %4
%73 = load i32, ptr %9, align 4
ret i32 %73
}
declare i32 @get_max(i32 noundef, i32 noundef) #1
declare i32 @get_min(i32 noundef, i32 noundef) #1
declare i32 @nth_position(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/tmp2t69dkej.c'
source_filename = "/tmp/tmp2t69dkej.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lineintersectplane(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca [3 x float], align 4
%15 = alloca [3 x float], align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
%16 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0
%17 = load ptr, ptr %12, align 8
%18 = load ptr, ptr %13, align 8
%19 = call i32 @subtractvectors(ptr noundef %16, ptr noundef %17, ptr noundef %18)
%20 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0
%21 = load ptr, ptr %9, align 8
%22 = call float @dotproduct(ptr noundef %20, ptr noundef %21)
%23 = fcmp ogt float %22, 0.000000e+00
br i1 %23, label %24, label %25
24: ; preds = %6
store i32 0, ptr %7, align 4
br label %60
25: ; preds = %6
%26 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0
%27 = load ptr, ptr %11, align 8
%28 = load ptr, ptr %13, align 8
%29 = call i32 @subtractvectors(ptr noundef %26, ptr noundef %27, ptr noundef %28)
%30 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0
%31 = load ptr, ptr %9, align 8
%32 = call float @dotproduct(ptr noundef %30, ptr noundef %31)
%33 = fcmp olt float %32, 0.000000e+00
br i1 %33, label %34, label %35
34: ; preds = %25
store i32 0, ptr %7, align 4
br label %60
35: ; preds = %25
%36 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0
%37 = load ptr, ptr %13, align 8
%38 = load ptr, ptr %11, align 8
%39 = call i32 @subtractvectors(ptr noundef %36, ptr noundef %37, ptr noundef %38)
%40 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0
%41 = load ptr, ptr %9, align 8
%42 = call float @dotproduct(ptr noundef %40, ptr noundef %41)
%43 = load ptr, ptr %10, align 8
store float %42, ptr %43, align 4
%44 = getelementptr inbounds [3 x float], ptr %15, i64 0, i64 0
%45 = load ptr, ptr %12, align 8
%46 = load ptr, ptr %11, align 8
%47 = call i32 @subtractvectors(ptr noundef %44, ptr noundef %45, ptr noundef %46)
%48 = getelementptr inbounds [3 x float], ptr %15, i64 0, i64 0
%49 = load ptr, ptr %9, align 8
%50 = call float @dotproduct(ptr noundef %48, ptr noundef %49)
%51 = load ptr, ptr %10, align 8
%52 = load float, ptr %51, align 4
%53 = fdiv float %52, %50
store float %53, ptr %51, align 4
%54 = load ptr, ptr %8, align 8
%55 = load ptr, ptr %11, align 8
%56 = getelementptr inbounds [3 x float], ptr %15, i64 0, i64 0
%57 = load ptr, ptr %10, align 8
%58 = load float, ptr %57, align 4
%59 = call i32 @scaleaddvectors(ptr noundef %54, ptr noundef %55, ptr noundef %56, float noundef %58)
store i32 1, ptr %7, align 4
br label %60
60: ; preds = %35, %34, %24
%61 = load i32, ptr %7, align 4
ret i32 %61
}
declare i32 @subtractvectors(ptr noundef, ptr noundef, ptr noundef) #1
declare float @dotproduct(ptr noundef, ptr noundef) #1
declare i32 @scaleaddvectors(ptr noundef, ptr noundef, ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2t69dkej.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lineintersectplane(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca [3 x float], align 4
%15 = alloca [3 x float], align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
%16 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0
%17 = load ptr, ptr %12, align 8
%18 = load ptr, ptr %13, align 8
%19 = call i32 @subtractvectors(ptr noundef %16, ptr noundef %17, ptr noundef %18)
%20 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0
%21 = load ptr, ptr %9, align 8
%22 = call float @dotproduct(ptr noundef %20, ptr noundef %21)
%23 = fcmp ogt float %22, 0.000000e+00
br i1 %23, label %24, label %25
24: ; preds = %6
store i32 0, ptr %7, align 4
br label %60
25: ; preds = %6
%26 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0
%27 = load ptr, ptr %11, align 8
%28 = load ptr, ptr %13, align 8
%29 = call i32 @subtractvectors(ptr noundef %26, ptr noundef %27, ptr noundef %28)
%30 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0
%31 = load ptr, ptr %9, align 8
%32 = call float @dotproduct(ptr noundef %30, ptr noundef %31)
%33 = fcmp olt float %32, 0.000000e+00
br i1 %33, label %34, label %35
34: ; preds = %25
store i32 0, ptr %7, align 4
br label %60
35: ; preds = %25
%36 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0
%37 = load ptr, ptr %13, align 8
%38 = load ptr, ptr %11, align 8
%39 = call i32 @subtractvectors(ptr noundef %36, ptr noundef %37, ptr noundef %38)
%40 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0
%41 = load ptr, ptr %9, align 8
%42 = call float @dotproduct(ptr noundef %40, ptr noundef %41)
%43 = load ptr, ptr %10, align 8
store float %42, ptr %43, align 4
%44 = getelementptr inbounds [3 x float], ptr %15, i64 0, i64 0
%45 = load ptr, ptr %12, align 8
%46 = load ptr, ptr %11, align 8
%47 = call i32 @subtractvectors(ptr noundef %44, ptr noundef %45, ptr noundef %46)
%48 = getelementptr inbounds [3 x float], ptr %15, i64 0, i64 0
%49 = load ptr, ptr %9, align 8
%50 = call float @dotproduct(ptr noundef %48, ptr noundef %49)
%51 = load ptr, ptr %10, align 8
%52 = load float, ptr %51, align 4
%53 = fdiv float %52, %50
store float %53, ptr %51, align 4
%54 = load ptr, ptr %8, align 8
%55 = load ptr, ptr %11, align 8
%56 = getelementptr inbounds [3 x float], ptr %15, i64 0, i64 0
%57 = load ptr, ptr %10, align 8
%58 = load float, ptr %57, align 4
%59 = call i32 @scaleaddvectors(ptr noundef %54, ptr noundef %55, ptr noundef %56, float noundef %58)
store i32 1, ptr %7, align 4
br label %60
60: ; preds = %35, %34, %24
%61 = load i32, ptr %7, align 4
ret i32 %61
}
declare i32 @subtractvectors(ptr noundef, ptr noundef, ptr noundef) #1
declare float @dotproduct(ptr noundef, ptr noundef) #1
declare i32 @scaleaddvectors(ptr noundef, ptr noundef, ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpedz0knc6.c'
source_filename = "/tmp/tmpedz0knc6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Controller_listSubjects() #0 {
%1 = call i32 (...) @SubjectModel_listSubjects()
ret void
}
declare i32 @SubjectModel_listSubjects(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpedz0knc6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Controller_listSubjects() #0 {
%1 = call i32 (...) @SubjectModel_listSubjects()
ret void
}
declare i32 @SubjectModel_listSubjects(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.