llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmp1wcejoqo.c'
source_filename = "/tmp/tmp1wcejoqo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"lid closed, %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @on_close() #0 {
%1 = call i32 @time(ptr noundef null)
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @time(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1wcejoqo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"lid closed, %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @on_close() #0 {
%1 = call i32 @time(ptr noundef null)
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @time(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnnkpbrcs.c'
source_filename = "/tmp/tmpnnkpbrcs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnnkpbrcs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0bq_hk46.c'
source_filename = "/tmp/tmp0bq_hk46.c"
target datalayout = "e-m:e-p270: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/tmp0bq_hk46.c"
target datalayout = "e-m:e-p270: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/tmp0uelt9ji.c'
source_filename = "/tmp/tmp0uelt9ji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tap_exit_to_idle() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @jtag_write_bit(i32 noundef 2)
%3 = load i32, ptr %1, align 4
%4 = or i32 %3, %2
store i32 %4, ptr %1, align 4
%5 = call i32 @jtag_write_bit(i32 noundef 0)
%6 = load i32, ptr %1, align 4
%7 = or i32 %6, %5
store i32 %7, ptr %1, align 4
%8 = load i32, ptr %1, align 4
ret i32 %8
}
declare i32 @jtag_write_bit(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/tmp0uelt9ji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tap_exit_to_idle() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @jtag_write_bit(i32 noundef 2)
%3 = load i32, ptr %1, align 4
%4 = or i32 %3, %2
store i32 %4, ptr %1, align 4
%5 = call i32 @jtag_write_bit(i32 noundef 0)
%6 = load i32, ptr %1, align 4
%7 = or i32 %6, %5
store i32 %7, ptr %1, align 4
%8 = load i32, ptr %1, align 4
ret i32 %8
}
declare i32 @jtag_write_bit(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/tmpjulnazzj.c'
source_filename = "/tmp/tmpjulnazzj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@X509_CRL_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @X509_CRL_new() #0 {
%1 = call i64 @ASN1_item_new(ptr noundef @X509_CRL_it)
%2 = inttoptr i64 %1 to ptr
ret ptr %2
}
declare i64 @ASN1_item_new(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjulnazzj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@X509_CRL_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @X509_CRL_new() #0 {
%1 = call i64 @ASN1_item_new(ptr noundef @X509_CRL_it)
%2 = inttoptr i64 %1 to ptr
ret ptr %2
}
declare i64 @ASN1_item_new(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd_7cex8i.c'
source_filename = "/tmp/tmpd_7cex8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dump_data(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @dump_data_impl(ptr noundef %5, i64 noundef %6)
ret void
}
declare i32 @dump_data_impl(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd_7cex8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dump_data(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @dump_data_impl(ptr noundef %5, i64 noundef %6)
ret void
}
declare i32 @dump_data_impl(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp63x5hmom.c'
source_filename = "/tmp/tmp63x5hmom.c"
target datalayout = "e-m:e-p270: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/tmp63x5hmom.c"
target datalayout = "e-m:e-p270: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/tmpkjrddz3l.c'
source_filename = "/tmp/tmpkjrddz3l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numa_set_preferred(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call ptr (...) @numa_allocate_nodemask()
store ptr %4, ptr %3, align 8
%5 = load i32, ptr %2, align 4
%6 = icmp sge i32 %5, 0
br i1 %6, label %7, label %13
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %2, align 4
%10 = call i32 @numa_bitmask_setbit(ptr noundef %8, i32 noundef %9)
%11 = load ptr, ptr %3, align 8
%12 = call i32 @setpol(i32 noundef 1, ptr noundef %11)
br label %16
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = call i32 @setpol(i32 noundef 0, ptr noundef %14)
br label %16
16: ; preds = %13, %7
%17 = load ptr, ptr %3, align 8
%18 = call i32 @numa_bitmask_free(ptr noundef %17)
ret void
}
declare ptr @numa_allocate_nodemask(...) #1
declare i32 @numa_bitmask_setbit(ptr noundef, i32 noundef) #1
declare i32 @setpol(i32 noundef, ptr noundef) #1
declare i32 @numa_bitmask_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/tmpkjrddz3l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numa_set_preferred(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = call ptr (...) @numa_allocate_nodemask()
store ptr %4, ptr %3, align 8
%5 = load i32, ptr %2, align 4
%6 = icmp sge i32 %5, 0
br i1 %6, label %7, label %13
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %2, align 4
%10 = call i32 @numa_bitmask_setbit(ptr noundef %8, i32 noundef %9)
%11 = load ptr, ptr %3, align 8
%12 = call i32 @setpol(i32 noundef 1, ptr noundef %11)
br label %16
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = call i32 @setpol(i32 noundef 0, ptr noundef %14)
br label %16
16: ; preds = %13, %7
%17 = load ptr, ptr %3, align 8
%18 = call i32 @numa_bitmask_free(ptr noundef %17)
ret void
}
declare ptr @numa_allocate_nodemask(...) #1
declare i32 @numa_bitmask_setbit(ptr noundef, i32 noundef) #1
declare i32 @setpol(i32 noundef, ptr noundef) #1
declare i32 @numa_bitmask_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/tmpyym2fyp4.c'
source_filename = "/tmp/tmpyym2fyp4.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"Opening library file %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @low_libopen(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call ptr @low_libfn(ptr noundef %7, i32 noundef %8)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %2
store ptr null, ptr %5, align 8
br label %23
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %13
%17 = load i32, ptr @stderr, align 4
%18 = load ptr, ptr %6, align 8
%19 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef %18)
br label %20
20: ; preds = %16, %13
%21 = load ptr, ptr %6, align 8
%22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.1)
store ptr %22, ptr %5, align 8
br label %23
23: ; preds = %20, %12
%24 = load ptr, ptr %5, align 8
ret ptr %24
}
declare ptr @low_libfn(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @fopen(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/tmpyym2fyp4.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"Opening library file %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @low_libopen(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call ptr @low_libfn(ptr noundef %7, i32 noundef %8)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %2
store ptr null, ptr %5, align 8
br label %23
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %13
%17 = load i32, ptr @stderr, align 4
%18 = load ptr, ptr %6, align 8
%19 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef %18)
br label %20
20: ; preds = %16, %13
%21 = load ptr, ptr %6, align 8
%22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.1)
store ptr %22, ptr %5, align 8
br label %23
23: ; preds = %20, %12
%24 = load ptr, ptr %5, align 8
ret ptr %24
}
declare ptr @low_libfn(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @fopen(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/tmp2f5hitgy.c'
source_filename = "/tmp/tmp2f5hitgy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rb3_replace(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 @rb3_replace_and_maybe_augment(ptr noundef %5, ptr noundef %6, ptr noundef null)
ret void
}
declare i32 @rb3_replace_and_maybe_augment(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2f5hitgy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rb3_replace(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 @rb3_replace_and_maybe_augment(ptr noundef %5, ptr noundef %6, ptr noundef null)
ret void
}
declare i32 @rb3_replace_and_maybe_augment(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiddxe6sq.c'
source_filename = "/tmp/tmpiddxe6sq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fh_str_replace(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = icmp sgt i32 %18, 0
%20 = zext i1 %19 to i32
store i32 %20, ptr %15, align 4
%21 = load ptr, ptr %6, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %33
23: ; preds = %4
%24 = load ptr, ptr %7, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %33
26: ; preds = %23
%27 = load ptr, ptr %7, align 8
%28 = call i32 @strlen(ptr noundef %27)
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %26
%31 = load ptr, ptr %8, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %35, label %33
33: ; preds = %30, %26, %23, %4
%34 = load ptr, ptr %6, align 8
store ptr %34, ptr %5, align 8
br label %126
35: ; preds = %30
%36 = load ptr, ptr %6, align 8
%37 = load ptr, ptr %7, align 8
%38 = call ptr @strstr(ptr noundef %36, ptr noundef %37)
store ptr %38, ptr %11, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %42, label %40
40: ; preds = %35
%41 = load ptr, ptr %6, align 8
store ptr %41, ptr %5, align 8
br label %126
42: ; preds = %35
%43 = load ptr, ptr %8, align 8
%44 = call i32 @strlen(ptr noundef %43)
store i32 %44, ptr %16, align 4
%45 = load ptr, ptr %7, align 8
%46 = call i32 @strlen(ptr noundef %45)
store i32 %46, ptr %17, align 4
store i32 0, ptr %13, align 4
br label %47
47: ; preds = %67, %42
%48 = load ptr, ptr %11, align 8
%49 = load ptr, ptr %7, align 8
%50 = call ptr @strstr(ptr noundef %48, ptr noundef %49)
store ptr %50, ptr %12, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %52, label %60
52: ; preds = %47
%53 = load i32, ptr %15, align 4
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %58
55: ; preds = %52
%56 = load i32, ptr %9, align 4
%57 = icmp ne i32 %56, 0
br label %58
58: ; preds = %55, %52
%59 = phi i1 [ true, %52 ], [ %57, %55 ]
br label %60
60: ; preds = %58, %47
%61 = phi i1 [ false, %47 ], [ %59, %58 ]
br i1 %61, label %62, label %72
62: ; preds = %60
%63 = load ptr, ptr %12, align 8
%64 = load i32, ptr %17, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %63, i64 %65
store ptr %66, ptr %11, align 8
br label %67
67: ; preds = %62
%68 = load i32, ptr %13, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %13, align 4
%70 = load i32, ptr %9, align 4
%71 = add nsw i32 %70, -1
store i32 %71, ptr %9, align 4
br label %47, !llvm.loop !6
72: ; preds = %60
%73 = load ptr, ptr %6, align 8
%74 = call i32 @strlen(ptr noundef %73)
%75 = load i32, ptr %16, align 4
%76 = load i32, ptr %17, align 4
%77 = sub nsw i32 %75, %76
%78 = load i32, ptr %13, align 4
%79 = mul nsw i32 %77, %78
%80 = add nsw i32 %74, %79
%81 = add nsw i32 %80, 1
%82 = call ptr @malloc(i32 noundef %81)
store ptr %82, ptr %10, align 8
store ptr %82, ptr %12, align 8
%83 = load ptr, ptr %10, align 8
%84 = icmp ne ptr %83, null
br i1 %84, label %87, label %85
85: ; preds = %72
%86 = load ptr, ptr %6, align 8
store ptr %86, ptr %5, align 8
br label %126
87: ; preds = %72
br label %88
88: ; preds = %92, %87
%89 = load i32, ptr %13, align 4
%90 = add nsw i32 %89, -1
store i32 %90, ptr %13, align 4
%91 = icmp ne i32 %89, 0
br i1 %91, label %92, label %121
92: ; preds = %88
%93 = load ptr, ptr %6, align 8
%94 = load ptr, ptr %7, align 8
%95 = call ptr @strstr(ptr noundef %93, ptr noundef %94)
store ptr %95, ptr %11, align 8
%96 = load ptr, ptr %11, align 8
%97 = load ptr, ptr %6, align 8
%98 = ptrtoint ptr %96 to i64
%99 = ptrtoint ptr %97 to i64
%100 = sub i64 %98, %99
%101 = trunc i64 %100 to i32
store i32 %101, ptr %14, align 4
%102 = load ptr, ptr %12, align 8
%103 = load ptr, ptr %6, align 8
%104 = load i32, ptr %14, align 4
%105 = call ptr @strncpy(ptr noundef %102, ptr noundef %103, i32 noundef %104)
%106 = load i32, ptr %14, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i8, ptr %105, i64 %107
store ptr %108, ptr %12, align 8
%109 = load ptr, ptr %12, align 8
%110 = load ptr, ptr %8, align 8
%111 = call ptr @strcpy(ptr noundef %109, ptr noundef %110)
%112 = load i32, ptr %16, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i8, ptr %111, i64 %113
store ptr %114, ptr %12, align 8
%115 = load i32, ptr %14, align 4
%116 = load i32, ptr %17, align 4
%117 = add nsw i32 %115, %116
%118 = load ptr, ptr %6, align 8
%119 = sext i32 %117 to i64
%120 = getelementptr inbounds i8, ptr %118, i64 %119
store ptr %120, ptr %6, align 8
br label %88, !llvm.loop !8
121: ; preds = %88
%122 = load ptr, ptr %12, align 8
%123 = load ptr, ptr %6, align 8
%124 = call ptr @strcpy(ptr noundef %122, ptr noundef %123)
%125 = load ptr, ptr %10, align 8
store ptr %125, ptr %5, align 8
br label %126
126: ; preds = %121, %85, %40, %33
%127 = load ptr, ptr %5, align 8
ret ptr %127
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare ptr @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiddxe6sq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fh_str_replace(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = icmp sgt i32 %18, 0
%20 = zext i1 %19 to i32
store i32 %20, ptr %15, align 4
%21 = load ptr, ptr %6, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %33
23: ; preds = %4
%24 = load ptr, ptr %7, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %33
26: ; preds = %23
%27 = load ptr, ptr %7, align 8
%28 = call i32 @strlen(ptr noundef %27)
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %26
%31 = load ptr, ptr %8, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %35, label %33
33: ; preds = %30, %26, %23, %4
%34 = load ptr, ptr %6, align 8
store ptr %34, ptr %5, align 8
br label %128
35: ; preds = %30
%36 = load ptr, ptr %6, align 8
%37 = load ptr, ptr %7, align 8
%38 = call ptr @strstr(ptr noundef %36, ptr noundef %37)
store ptr %38, ptr %11, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %42, label %40
40: ; preds = %35
%41 = load ptr, ptr %6, align 8
store ptr %41, ptr %5, align 8
br label %128
42: ; preds = %35
%43 = load ptr, ptr %8, align 8
%44 = call i32 @strlen(ptr noundef %43)
store i32 %44, ptr %16, align 4
%45 = load ptr, ptr %7, align 8
%46 = call i32 @strlen(ptr noundef %45)
store i32 %46, ptr %17, align 4
store i32 0, ptr %13, align 4
br label %47
47: ; preds = %67, %42
%48 = load ptr, ptr %11, align 8
%49 = load ptr, ptr %7, align 8
%50 = call ptr @strstr(ptr noundef %48, ptr noundef %49)
store ptr %50, ptr %12, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %52, label %60
52: ; preds = %47
%53 = load i32, ptr %15, align 4
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %58
55: ; preds = %52
%56 = load i32, ptr %9, align 4
%57 = icmp ne i32 %56, 0
br label %58
58: ; preds = %55, %52
%59 = phi i1 [ true, %52 ], [ %57, %55 ]
br label %60
60: ; preds = %58, %47
%61 = phi i1 [ false, %47 ], [ %59, %58 ]
br i1 %61, label %62, label %72
62: ; preds = %60
%63 = load ptr, ptr %12, align 8
%64 = load i32, ptr %17, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %63, i64 %65
store ptr %66, ptr %11, align 8
br label %67
67: ; preds = %62
%68 = load i32, ptr %13, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %13, align 4
%70 = load i32, ptr %9, align 4
%71 = add nsw i32 %70, -1
store i32 %71, ptr %9, align 4
br label %47, !llvm.loop !6
72: ; preds = %60
%73 = load ptr, ptr %6, align 8
%74 = call i32 @strlen(ptr noundef %73)
%75 = load i32, ptr %16, align 4
%76 = load i32, ptr %17, align 4
%77 = sub nsw i32 %75, %76
%78 = load i32, ptr %13, align 4
%79 = mul nsw i32 %77, %78
%80 = add nsw i32 %74, %79
%81 = add nsw i32 %80, 1
%82 = call ptr @malloc(i32 noundef %81)
store ptr %82, ptr %10, align 8
store ptr %82, ptr %12, align 8
%83 = load ptr, ptr %10, align 8
%84 = icmp ne ptr %83, null
br i1 %84, label %87, label %85
85: ; preds = %72
%86 = load ptr, ptr %6, align 8
store ptr %86, ptr %5, align 8
br label %128
87: ; preds = %72
%88 = load i32, ptr %13, align 4
%89 = add nsw i32 %88, -1
store i32 %89, ptr %13, align 4
%90 = icmp ne i32 %88, 0
br i1 %90, label %.lr.ph, label %123
.lr.ph: ; preds = %87
br label %91
91: ; preds = %.lr.ph, %91
%92 = load ptr, ptr %6, align 8
%93 = load ptr, ptr %7, align 8
%94 = call ptr @strstr(ptr noundef %92, ptr noundef %93)
store ptr %94, ptr %11, align 8
%95 = load ptr, ptr %11, align 8
%96 = load ptr, ptr %6, align 8
%97 = ptrtoint ptr %95 to i64
%98 = ptrtoint ptr %96 to i64
%99 = sub i64 %97, %98
%100 = trunc i64 %99 to i32
store i32 %100, ptr %14, align 4
%101 = load ptr, ptr %12, align 8
%102 = load ptr, ptr %6, align 8
%103 = load i32, ptr %14, align 4
%104 = call ptr @strncpy(ptr noundef %101, ptr noundef %102, i32 noundef %103)
%105 = load i32, ptr %14, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i8, ptr %104, i64 %106
store ptr %107, ptr %12, align 8
%108 = load ptr, ptr %12, align 8
%109 = load ptr, ptr %8, align 8
%110 = call ptr @strcpy(ptr noundef %108, ptr noundef %109)
%111 = load i32, ptr %16, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds i8, ptr %110, i64 %112
store ptr %113, ptr %12, align 8
%114 = load i32, ptr %14, align 4
%115 = load i32, ptr %17, align 4
%116 = add nsw i32 %114, %115
%117 = load ptr, ptr %6, align 8
%118 = sext i32 %116 to i64
%119 = getelementptr inbounds i8, ptr %117, i64 %118
store ptr %119, ptr %6, align 8
%120 = load i32, ptr %13, align 4
%121 = add nsw i32 %120, -1
store i32 %121, ptr %13, align 4
%122 = icmp ne i32 %120, 0
br i1 %122, label %91, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %91
br label %123
123: ; preds = %._crit_edge, %87
%124 = load ptr, ptr %12, align 8
%125 = load ptr, ptr %6, align 8
%126 = call ptr @strcpy(ptr noundef %124, ptr noundef %125)
%127 = load ptr, ptr %10, align 8
store ptr %127, ptr %5, align 8
br label %128
128: ; preds = %123, %85, %40, %33
%129 = load ptr, ptr %5, align 8
ret ptr %129
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare ptr @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpzyv8j9u8.c'
source_filename = "/tmp/tmpzyv8j9u8.c"
target datalayout = "e-m:e-p270: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/tmpzyv8j9u8.c"
target datalayout = "e-m:e-p270: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/tmpzn0lebpo.c'
source_filename = "/tmp/tmpzn0lebpo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mergeSort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = zext i32 %7 to i64
%9 = call ptr @llvm.stacksave()
store ptr %9, ptr %5, align 8
%10 = alloca i32, i64 %8, align 16
store i64 %8, ptr %6, align 8
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %4, align 4
%13 = sub nsw i32 %12, 1
%14 = call i32 @sort(ptr noundef %11, ptr noundef %10, i32 noundef 0, i32 noundef %13)
%15 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %15)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @sort(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzn0lebpo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mergeSort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = zext i32 %7 to i64
%9 = call ptr @llvm.stacksave()
store ptr %9, ptr %5, align 8
%10 = alloca i32, i64 %8, align 16
store i64 %8, ptr %6, align 8
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %4, align 4
%13 = sub nsw i32 %12, 1
%14 = call i32 @sort(ptr noundef %11, ptr noundef %10, i32 noundef 0, i32 noundef %13)
%15 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %15)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @sort(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp98znkpua.c'
source_filename = "/tmp/tmp98znkpua.c"
target datalayout = "e-m:e-p270: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/tmp98znkpua.c"
target datalayout = "e-m:e-p270: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/tmp0tvra23u.c'
source_filename = "/tmp/tmp0tvra23u.c"
target datalayout = "e-m:e-p270: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/tmp0tvra23u.c"
target datalayout = "e-m:e-p270: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/tmpstkyzgft.c'
source_filename = "/tmp/tmpstkyzgft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" SRN is a terminal based RPG-MUD\0A\00", align 1
@.str.1 = private unnamed_addr constant [53 x i8] c" To use this program, use the following parameters.\0A\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"\09-s\09\09host game as a server. Needs a portnum as well.\0A\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c"\09-p [num]\09use this portnum to either host on this\0A\00", align 1
@.str.4 = private unnamed_addr constant [57 x i8] c"\09\09\09computer, or connect to a server using this portnum.\0A\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c"\09-g [server]\09connect to this server.\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"\09-h\09\09print help.\0A\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"\09-v\09\09be verbose in loging.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_startup_options_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
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/tmpstkyzgft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" SRN is a terminal based RPG-MUD\0A\00", align 1
@.str.1 = private unnamed_addr constant [53 x i8] c" To use this program, use the following parameters.\0A\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"\09-s\09\09host game as a server. Needs a portnum as well.\0A\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c"\09-p [num]\09use this portnum to either host on this\0A\00", align 1
@.str.4 = private unnamed_addr constant [57 x i8] c"\09\09\09computer, or connect to a server using this portnum.\0A\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c"\09-g [server]\09connect to this server.\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"\09-h\09\09print help.\0A\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"\09-v\09\09be verbose in loging.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_startup_options_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
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/tmpupl_hcxf.c'
source_filename = "/tmp/tmpupl_hcxf.c"
target datalayout = "e-m:e-p270: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/tmpupl_hcxf.c"
target datalayout = "e-m:e-p270: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/tmp5_veocec.c'
source_filename = "/tmp/tmp5_veocec.c"
target datalayout = "e-m:e-p270: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/tmp5_veocec.c"
target datalayout = "e-m:e-p270: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/tmp9vwlyij8.c'
source_filename = "/tmp/tmp9vwlyij8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tgdb_types_append_command(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 @tgdb_list_append(ptr noundef %5, ptr noundef %6)
ret void
}
declare i32 @tgdb_list_append(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/tmp9vwlyij8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tgdb_types_append_command(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 @tgdb_list_append(ptr noundef %5, ptr noundef %6)
ret void
}
declare i32 @tgdb_list_append(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/tmp7m3f0tp4.c'
source_filename = "/tmp/tmp7m3f0tp4.c"
target datalayout = "e-m:e-p270: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.readstat_dta_num_days.daysPerMonth = private unnamed_addr constant [12 x i32] [i32 31, i32 28, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
@__const.readstat_dta_num_days.daysPerMonthLeap = private unnamed_addr constant [12 x i32] [i32 31, i32 29, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
@.str = private unnamed_addr constant [9 x i8] c"%d-%d-%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readstat_dta_num_days(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [12 x i32], align 16
%7 = alloca [12 x i32], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca [1024 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.readstat_dta_num_days.daysPerMonth, i64 48, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.readstat_dta_num_days.daysPerMonthLeap, i64 48, i1 false)
%18 = load ptr, ptr %4, align 8
%19 = call i64 @strlen(ptr noundef %18)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %2
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %5, align 8
store ptr %22, ptr %23, align 8
store i32 0, ptr %3, align 4
br label %137
24: ; preds = %2
%25 = load ptr, ptr %4, align 8
%26 = call i32 @sscanf(ptr noundef %25, ptr noundef @.str, ptr noundef %8, ptr noundef %9, ptr noundef %10)
store i32 %26, ptr %11, align 4
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %9, align 4
%29 = load i32, ptr %9, align 4
%30 = icmp slt i32 %29, 0
br i1 %30, label %37, label %31
31: ; preds = %24
%32 = load i32, ptr %9, align 4
%33 = icmp sgt i32 %32, 11
br i1 %33, label %37, label %34
34: ; preds = %31
%35 = load i32, ptr %11, align 4
%36 = icmp ne i32 %35, 3
br i1 %36, label %37, label %40
37: ; preds = %34, %31, %24
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %5, align 8
store ptr %38, ptr %39, align 8
store i32 0, ptr %3, align 4
br label %137
40: ; preds = %34
%41 = load i32, ptr %8, align 4
%42 = call i64 @is_leap(i32 noundef %41)
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %40
%45 = getelementptr inbounds [12 x i32], ptr %7, i64 0, i64 0
br label %48
46: ; preds = %40
%47 = getelementptr inbounds [12 x i32], ptr %6, i64 0, i64 0
br label %48
48: ; preds = %46, %44
%49 = phi ptr [ %45, %44 ], [ %47, %46 ]
%50 = load i32, ptr %9, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %49, i64 %51
%53 = load i32, ptr %52, align 4
store i32 %53, ptr %12, align 4
%54 = load i32, ptr %10, align 4
%55 = icmp slt i32 %54, 1
br i1 %55, label %60, label %56
56: ; preds = %48
%57 = load i32, ptr %10, align 4
%58 = load i32, ptr %12, align 4
%59 = icmp sgt i32 %57, %58
br i1 %59, label %60, label %63
60: ; preds = %56, %48
%61 = load ptr, ptr %4, align 8
%62 = load ptr, ptr %5, align 8
store ptr %61, ptr %62, align 8
store i32 0, ptr %3, align 4
br label %137
63: ; preds = %56
store i32 0, ptr %13, align 4
%64 = load i32, ptr %8, align 4
store i32 %64, ptr %14, align 4
br label %65
65: ; preds = %76, %63
%66 = load i32, ptr %14, align 4
%67 = icmp slt i32 %66, 1960
br i1 %67, label %68, label %79
68: ; preds = %65
%69 = load i32, ptr %14, align 4
%70 = call i64 @is_leap(i32 noundef %69)
%71 = icmp ne i64 %70, 0
%72 = zext i1 %71 to i64
%73 = select i1 %71, i32 366, i32 365
%74 = load i32, ptr %13, align 4
%75 = sub nsw i32 %74, %73
store i32 %75, ptr %13, align 4
br label %76
76: ; preds = %68
%77 = load i32, ptr %14, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %14, align 4
br label %65, !llvm.loop !6
79: ; preds = %65
store i32 1960, ptr %15, align 4
br label %80
80: ; preds = %92, %79
%81 = load i32, ptr %15, align 4
%82 = load i32, ptr %8, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %84, label %95
84: ; preds = %80
%85 = load i32, ptr %15, align 4
%86 = call i64 @is_leap(i32 noundef %85)
%87 = icmp ne i64 %86, 0
%88 = zext i1 %87 to i64
%89 = select i1 %87, i32 366, i32 365
%90 = load i32, ptr %13, align 4
%91 = add nsw i32 %90, %89
store i32 %91, ptr %13, align 4
br label %92
92: ; preds = %84
%93 = load i32, ptr %15, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %15, align 4
br label %80, !llvm.loop !8
95: ; preds = %80
store i32 0, ptr %16, align 4
br label %96
96: ; preds = %118, %95
%97 = load i32, ptr %16, align 4
%98 = load i32, ptr %9, align 4
%99 = icmp slt i32 %97, %98
br i1 %99, label %100, label %121
100: ; preds = %96
%101 = load i32, ptr %8, align 4
%102 = call i64 @is_leap(i32 noundef %101)
%103 = icmp ne i64 %102, 0
br i1 %103, label %104, label %109
104: ; preds = %100
%105 = load i32, ptr %16, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [12 x i32], ptr %7, i64 0, i64 %106
%108 = load i32, ptr %107, align 4
br label %114
109: ; preds = %100
%110 = load i32, ptr %16, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds [12 x i32], ptr %6, i64 0, i64 %111
%113 = load i32, ptr %112, align 4
br label %114
114: ; preds = %109, %104
%115 = phi i32 [ %108, %104 ], [ %113, %109 ]
%116 = load i32, ptr %13, align 4
%117 = add nsw i32 %116, %115
store i32 %117, ptr %13, align 4
br label %118
118: ; preds = %114
%119 = load i32, ptr %16, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %16, align 4
br label %96, !llvm.loop !9
121: ; preds = %96
%122 = load i32, ptr %10, align 4
%123 = sub nsw i32 %122, 1
%124 = load i32, ptr %13, align 4
%125 = add nsw i32 %124, %123
store i32 %125, ptr %13, align 4
%126 = load ptr, ptr %4, align 8
%127 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0
%128 = load i32, ptr %8, align 4
%129 = load i32, ptr %9, align 4
%130 = add nsw i32 %129, 1
%131 = load i32, ptr %10, align 4
%132 = call i32 @snprintf(ptr noundef %127, i32 noundef 1024, ptr noundef @.str, i32 noundef %128, i32 noundef %130, i32 noundef %131)
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds i8, ptr %126, i64 %133
%135 = load ptr, ptr %5, align 8
store ptr %134, ptr %135, align 8
%136 = load i32, ptr %13, align 4
store i32 %136, ptr %3, align 4
br label %137
137: ; preds = %121, %60, %37, %21
%138 = load i32, ptr %3, align 4
ret i32 %138
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i64 @strlen(ptr noundef) #2
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i64 @is_leap(i32 noundef) #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7m3f0tp4.c"
target datalayout = "e-m:e-p270: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.readstat_dta_num_days.daysPerMonth = private unnamed_addr constant [12 x i32] [i32 31, i32 28, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
@__const.readstat_dta_num_days.daysPerMonthLeap = private unnamed_addr constant [12 x i32] [i32 31, i32 29, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
@.str = private unnamed_addr constant [9 x i8] c"%d-%d-%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readstat_dta_num_days(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [12 x i32], align 16
%7 = alloca [12 x i32], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca [1024 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.readstat_dta_num_days.daysPerMonth, i64 48, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.readstat_dta_num_days.daysPerMonthLeap, i64 48, i1 false)
%18 = load ptr, ptr %4, align 8
%19 = call i64 @strlen(ptr noundef %18)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %2
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %5, align 8
store ptr %22, ptr %23, align 8
store i32 0, ptr %3, align 4
br label %142
24: ; preds = %2
%25 = load ptr, ptr %4, align 8
%26 = call i32 @sscanf(ptr noundef %25, ptr noundef @.str, ptr noundef %8, ptr noundef %9, ptr noundef %10)
store i32 %26, ptr %11, align 4
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %9, align 4
%29 = load i32, ptr %9, align 4
%30 = icmp slt i32 %29, 0
br i1 %30, label %37, label %31
31: ; preds = %24
%32 = load i32, ptr %9, align 4
%33 = icmp sgt i32 %32, 11
br i1 %33, label %37, label %34
34: ; preds = %31
%35 = load i32, ptr %11, align 4
%36 = icmp ne i32 %35, 3
br i1 %36, label %37, label %40
37: ; preds = %34, %31, %24
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %5, align 8
store ptr %38, ptr %39, align 8
store i32 0, ptr %3, align 4
br label %142
40: ; preds = %34
%41 = load i32, ptr %8, align 4
%42 = call i64 @is_leap(i32 noundef %41)
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %40
%45 = getelementptr inbounds [12 x i32], ptr %7, i64 0, i64 0
br label %48
46: ; preds = %40
%47 = getelementptr inbounds [12 x i32], ptr %6, i64 0, i64 0
br label %48
48: ; preds = %46, %44
%49 = phi ptr [ %45, %44 ], [ %47, %46 ]
%50 = load i32, ptr %9, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %49, i64 %51
%53 = load i32, ptr %52, align 4
store i32 %53, ptr %12, align 4
%54 = load i32, ptr %10, align 4
%55 = icmp slt i32 %54, 1
br i1 %55, label %60, label %56
56: ; preds = %48
%57 = load i32, ptr %10, align 4
%58 = load i32, ptr %12, align 4
%59 = icmp sgt i32 %57, %58
br i1 %59, label %60, label %63
60: ; preds = %56, %48
%61 = load ptr, ptr %4, align 8
%62 = load ptr, ptr %5, align 8
store ptr %61, ptr %62, align 8
store i32 0, ptr %3, align 4
br label %142
63: ; preds = %56
store i32 0, ptr %13, align 4
%64 = load i32, ptr %8, align 4
store i32 %64, ptr %14, align 4
%65 = load i32, ptr %14, align 4
%66 = icmp slt i32 %65, 1960
br i1 %66, label %.lr.ph, label %80
.lr.ph: ; preds = %63
br label %67
67: ; preds = %.lr.ph, %75
%68 = load i32, ptr %14, align 4
%69 = call i64 @is_leap(i32 noundef %68)
%70 = icmp ne i64 %69, 0
%71 = zext i1 %70 to i64
%72 = select i1 %70, i32 366, i32 365
%73 = load i32, ptr %13, align 4
%74 = sub nsw i32 %73, %72
store i32 %74, ptr %13, align 4
br label %75
75: ; preds = %67
%76 = load i32, ptr %14, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %14, align 4
%78 = load i32, ptr %14, align 4
%79 = icmp slt i32 %78, 1960
br i1 %79, label %67, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %75
br label %80
80: ; preds = %._crit_edge, %63
store i32 1960, ptr %15, align 4
%81 = load i32, ptr %15, align 4
%82 = load i32, ptr %8, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %.lr.ph2, label %98
.lr.ph2: ; preds = %80
br label %84
84: ; preds = %.lr.ph2, %92
%85 = load i32, ptr %15, align 4
%86 = call i64 @is_leap(i32 noundef %85)
%87 = icmp ne i64 %86, 0
%88 = zext i1 %87 to i64
%89 = select i1 %87, i32 366, i32 365
%90 = load i32, ptr %13, align 4
%91 = add nsw i32 %90, %89
store i32 %91, ptr %13, align 4
br label %92
92: ; preds = %84
%93 = load i32, ptr %15, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %15, align 4
%95 = load i32, ptr %15, align 4
%96 = load i32, ptr %8, align 4
%97 = icmp slt i32 %95, %96
br i1 %97, label %84, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %92
br label %98
98: ; preds = %._crit_edge3, %80
store i32 0, ptr %16, align 4
%99 = load i32, ptr %16, align 4
%100 = load i32, ptr %9, align 4
%101 = icmp slt i32 %99, %100
br i1 %101, label %.lr.ph5, label %126
.lr.ph5: ; preds = %98
br label %102
102: ; preds = %.lr.ph5, %120
%103 = load i32, ptr %8, align 4
%104 = call i64 @is_leap(i32 noundef %103)
%105 = icmp ne i64 %104, 0
br i1 %105, label %106, label %111
106: ; preds = %102
%107 = load i32, ptr %16, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds [12 x i32], ptr %7, i64 0, i64 %108
%110 = load i32, ptr %109, align 4
br label %116
111: ; preds = %102
%112 = load i32, ptr %16, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds [12 x i32], ptr %6, i64 0, i64 %113
%115 = load i32, ptr %114, align 4
br label %116
116: ; preds = %111, %106
%117 = phi i32 [ %110, %106 ], [ %115, %111 ]
%118 = load i32, ptr %13, align 4
%119 = add nsw i32 %118, %117
store i32 %119, ptr %13, align 4
br label %120
120: ; preds = %116
%121 = load i32, ptr %16, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %16, align 4
%123 = load i32, ptr %16, align 4
%124 = load i32, ptr %9, align 4
%125 = icmp slt i32 %123, %124
br i1 %125, label %102, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %120
br label %126
126: ; preds = %._crit_edge6, %98
%127 = load i32, ptr %10, align 4
%128 = sub nsw i32 %127, 1
%129 = load i32, ptr %13, align 4
%130 = add nsw i32 %129, %128
store i32 %130, ptr %13, align 4
%131 = load ptr, ptr %4, align 8
%132 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0
%133 = load i32, ptr %8, align 4
%134 = load i32, ptr %9, align 4
%135 = add nsw i32 %134, 1
%136 = load i32, ptr %10, align 4
%137 = call i32 @snprintf(ptr noundef %132, i32 noundef 1024, ptr noundef @.str, i32 noundef %133, i32 noundef %135, i32 noundef %136)
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds i8, ptr %131, i64 %138
%140 = load ptr, ptr %5, align 8
store ptr %139, ptr %140, align 8
%141 = load i32, ptr %13, align 4
store i32 %141, ptr %3, align 4
br label %142
142: ; preds = %126, %60, %37, %21
%143 = load i32, ptr %3, align 4
ret i32 %143
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i64 @strlen(ptr noundef) #2
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i64 @is_leap(i32 noundef) #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpuyjpvjwl.c'
source_filename = "/tmp/tmpuyjpvjwl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ajXmlExit() #0 {
%1 = call i32 (...) @ajXmlinExit()
%2 = call i32 (...) @ajXmloutExit()
ret void
}
declare i32 @ajXmlinExit(...) #1
declare i32 @ajXmloutExit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuyjpvjwl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ajXmlExit() #0 {
%1 = call i32 (...) @ajXmlinExit()
%2 = call i32 (...) @ajXmloutExit()
ret void
}
declare i32 @ajXmlinExit(...) #1
declare i32 @ajXmloutExit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwg4u0b9k.c'
source_filename = "/tmp/tmpwg4u0b9k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qc250a(i32 noundef %0) #0 {
%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 %2, align 4
%7 = load i32, ptr %2, align 4
store i32 %7, ptr %3, align 4
%8 = call i32 @swab(ptr noundef %3, ptr noundef %4, i32 noundef 4)
%9 = load i32, ptr %4, align 4
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = and i32 %10, 2
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %20
13: ; preds = %1
%14 = load i32, ptr %5, align 4
%15 = and i32 %14, 1
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 4, ptr %6, align 4
br label %19
18: ; preds = %13
store i32 3, ptr %6, align 4
br label %19
19: ; preds = %18, %17
br label %27
20: ; preds = %1
%21 = load i32, ptr %5, align 4
%22 = and i32 %21, 1
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %20
store i32 2, ptr %6, align 4
br label %26
25: ; preds = %20
store i32 1, ptr %6, align 4
br label %26
26: ; preds = %25, %24
br label %27
27: ; preds = %26, %19
%28 = load i32, ptr %6, align 4
ret i32 %28
}
declare i32 @swab(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/tmpwg4u0b9k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qc250a(i32 noundef %0) #0 {
%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 %2, align 4
%7 = load i32, ptr %2, align 4
store i32 %7, ptr %3, align 4
%8 = call i32 @swab(ptr noundef %3, ptr noundef %4, i32 noundef 4)
%9 = load i32, ptr %4, align 4
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = and i32 %10, 2
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %20
13: ; preds = %1
%14 = load i32, ptr %5, align 4
%15 = and i32 %14, 1
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 4, ptr %6, align 4
br label %19
18: ; preds = %13
store i32 3, ptr %6, align 4
br label %19
19: ; preds = %18, %17
br label %27
20: ; preds = %1
%21 = load i32, ptr %5, align 4
%22 = and i32 %21, 1
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %20
store i32 2, ptr %6, align 4
br label %26
25: ; preds = %20
store i32 1, ptr %6, align 4
br label %26
26: ; preds = %25, %24
br label %27
27: ; preds = %26, %19
%28 = load i32, ptr %6, align 4
ret i32 %28
}
declare i32 @swab(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/tmp7x3q6a62.c'
source_filename = "/tmp/tmp7x3q6a62.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
br label %8
8: ; preds = %25, %2
%9 = call i32 (...) @getchar()
store i32 %9, ptr %6, align 4
%10 = load i32, ptr @EOF, align 4
%11 = icmp ne i32 %9, %10
br i1 %11, label %12, label %26
12: ; preds = %8
%13 = load i32, ptr %6, align 4
%14 = icmp eq i32 %13, 32
br i1 %14, label %15, label %22
15: ; preds = %12
%16 = load i32, ptr %7, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %15
store i32 1, ptr %7, align 4
%19 = load i32, ptr %6, align 4
%20 = call i32 @putchar(i32 noundef %19)
br label %21
21: ; preds = %18, %15
br label %25
22: ; preds = %12
store i32 0, ptr %7, align 4
%23 = load i32, ptr %6, align 4
%24 = call i32 @putchar(i32 noundef %23)
br label %25
25: ; preds = %22, %21
br label %8, !llvm.loop !6
26: ; preds = %8
%27 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7x3q6a62.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 (...) @getchar()
store i32 %8, ptr %6, align 4
%9 = load i32, ptr @EOF, align 4
%10 = icmp ne i32 %8, %9
br i1 %10, label %.lr.ph, label %28
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %24
%12 = load i32, ptr %6, align 4
%13 = icmp eq i32 %12, 32
br i1 %13, label %14, label %21
14: ; preds = %11
%15 = load i32, ptr %7, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %14
store i32 1, ptr %7, align 4
%18 = load i32, ptr %6, align 4
%19 = call i32 @putchar(i32 noundef %18)
br label %20
20: ; preds = %17, %14
br label %24
21: ; preds = %11
store i32 0, ptr %7, align 4
%22 = load i32, ptr %6, align 4
%23 = call i32 @putchar(i32 noundef %22)
br label %24
24: ; preds = %21, %20
%25 = call i32 (...) @getchar()
store i32 %25, ptr %6, align 4
%26 = load i32, ptr @EOF, align 4
%27 = icmp ne i32 %25, %26
br i1 %27, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %28
28: ; preds = %._crit_edge, %2
%29 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8q6kstap.c'
source_filename = "/tmp/tmp8q6kstap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ILibString_IndexOf(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @ILibString_IndexOfEx(ptr noundef %9, i32 noundef %10, ptr noundef %11, i32 noundef %12, i32 noundef 1)
ret i32 %13
}
declare i32 @ILibString_IndexOfEx(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8q6kstap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ILibString_IndexOf(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @ILibString_IndexOfEx(ptr noundef %9, i32 noundef %10, ptr noundef %11, i32 noundef %12, i32 noundef 1)
ret i32 %13
}
declare i32 @ILibString_IndexOfEx(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8iz294a3.c'
source_filename = "/tmp/tmp8iz294a3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"hello, world\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = 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/tmp8iz294a3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"hello, world\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = 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/tmprencf3o4.c'
source_filename = "/tmp/tmprencf3o4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32, i32, i32 }
@.str = private unnamed_addr constant [5 x i8] c"%s: \00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"stat error\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"dev = %d/%d\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c" (%s) rdev = %d/%d\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"characher\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"block\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.stat, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
br label %8
8: ; preds = %61, %2
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %64
12: ; preds = %8
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds ptr, ptr %13, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %17)
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = call i64 @stat(ptr noundef %23, ptr noundef %7)
%25 = icmp slt i64 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %12
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %61
28: ; preds = %12
%29 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 2
%30 = load i32, ptr %29, align 4
%31 = call i32 @major(i32 noundef %30)
%32 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 2
%33 = load i32, ptr %32, align 4
%34 = call i32 @minor(i32 noundef %33)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %31, i32 noundef %34)
%36 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 1
%37 = load i32, ptr %36, align 4
%38 = call i64 @S_ISCHR(i32 noundef %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %45, label %40
40: ; preds = %28
%41 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 1
%42 = load i32, ptr %41, align 4
%43 = call i64 @S_ISBLK(i32 noundef %42)
%44 = icmp ne i64 %43, 0
br i1 %44, label %45, label %59
45: ; preds = %40, %28
%46 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 1
%47 = load i32, ptr %46, align 4
%48 = call i64 @S_ISCHR(i32 noundef %47)
%49 = icmp ne i64 %48, 0
%50 = zext i1 %49 to i64
%51 = select i1 %49, ptr @.str.4, ptr @.str.5
%52 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%53 = load i32, ptr %52, align 4
%54 = call i32 @major(i32 noundef %53)
%55 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%56 = load i32, ptr %55, align 4
%57 = call i32 @minor(i32 noundef %56)
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %51, i32 noundef %54, i32 noundef %57)
br label %59
59: ; preds = %45, %40
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %61
61: ; preds = %59, %26
%62 = load i32, ptr %6, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %6, align 4
br label %8, !llvm.loop !6
64: ; preds = %8
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @major(i32 noundef) #1
declare i32 @minor(i32 noundef) #1
declare i64 @S_ISCHR(i32 noundef) #1
declare i64 @S_ISBLK(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/tmprencf3o4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32, i32, i32 }
@.str = private unnamed_addr constant [5 x i8] c"%s: \00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"stat error\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"dev = %d/%d\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c" (%s) rdev = %d/%d\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"characher\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"block\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.stat, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %66
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %60
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds ptr, ptr %12, i64 %14
%16 = load ptr, ptr %15, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = call i64 @stat(ptr noundef %22, ptr noundef %7)
%24 = icmp slt i64 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %11
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %60
27: ; preds = %11
%28 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 2
%29 = load i32, ptr %28, align 4
%30 = call i32 @major(i32 noundef %29)
%31 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 2
%32 = load i32, ptr %31, align 4
%33 = call i32 @minor(i32 noundef %32)
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30, i32 noundef %33)
%35 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 1
%36 = load i32, ptr %35, align 4
%37 = call i64 @S_ISCHR(i32 noundef %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %44, label %39
39: ; preds = %27
%40 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 1
%41 = load i32, ptr %40, align 4
%42 = call i64 @S_ISBLK(i32 noundef %41)
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %58
44: ; preds = %39, %27
%45 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 1
%46 = load i32, ptr %45, align 4
%47 = call i64 @S_ISCHR(i32 noundef %46)
%48 = icmp ne i64 %47, 0
%49 = zext i1 %48 to i64
%50 = select i1 %48, ptr @.str.4, ptr @.str.5
%51 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%52 = load i32, ptr %51, align 4
%53 = call i32 @major(i32 noundef %52)
%54 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%55 = load i32, ptr %54, align 4
%56 = call i32 @minor(i32 noundef %55)
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %50, i32 noundef %53, i32 noundef %56)
br label %58
58: ; preds = %44, %39
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %60
60: ; preds = %58, %25
%61 = load i32, ptr %6, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %6, align 4
%63 = load i32, ptr %6, align 4
%64 = load i32, ptr %4, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %60
br label %66
66: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @major(i32 noundef) #1
declare i32 @minor(i32 noundef) #1
declare i64 @S_ISCHR(i32 noundef) #1
declare i64 @S_ISBLK(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/tmpmqyc6a23.c'
source_filename = "/tmp/tmpmqyc6a23.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_xml_attribute_value(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %10, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = sext i32 %12 to i64
%14 = add i64 %13, 3
%15 = trunc i64 %14 to i32
%16 = call i64 @malloc(i32 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i32 @strcpy(ptr noundef %18, ptr noundef %19)
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %5, align 8
%23 = call i32 @strlen(ptr noundef %22)
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %21, i64 %24
store i8 61, ptr %25, align 1
%26 = load ptr, ptr %7, align 8
%27 = load ptr, ptr %5, align 8
%28 = call i32 @strlen(ptr noundef %27)
%29 = add nsw i32 %28, 1
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %26, i64 %30
store i8 34, ptr %31, align 1
%32 = load ptr, ptr %7, align 8
%33 = load ptr, ptr %5, align 8
%34 = call i32 @strlen(ptr noundef %33)
%35 = add nsw i32 %34, 2
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %32, i64 %36
store i8 0, ptr %37, align 1
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %7, align 8
%40 = call ptr @strstr(ptr noundef %38, ptr noundef %39)
store ptr %40, ptr %6, align 8
%41 = load ptr, ptr %6, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %44, label %43
43: ; preds = %2
store ptr null, ptr %3, align 8
br label %82
44: ; preds = %2
%45 = load ptr, ptr %7, align 8
%46 = call i32 @free(ptr noundef %45)
%47 = load ptr, ptr %6, align 8
%48 = load ptr, ptr %5, align 8
%49 = call i32 @strlen(ptr noundef %48)
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %47, i64 %50
%52 = getelementptr inbounds i8, ptr %51, i64 2
store ptr %52, ptr %6, align 8
%53 = load ptr, ptr %6, align 8
%54 = call ptr @strstr(ptr noundef %53, ptr noundef @.str)
store ptr %54, ptr %9, align 8
%55 = load ptr, ptr %9, align 8
%56 = icmp ne ptr %55, null
br i1 %56, label %58, label %57
57: ; preds = %44
store ptr null, ptr %3, align 8
br label %82
58: ; preds = %44
%59 = load ptr, ptr %9, align 8
%60 = load ptr, ptr %6, align 8
%61 = ptrtoint ptr %59 to i64
%62 = ptrtoint ptr %60 to i64
%63 = sub i64 %61, %62
%64 = add nsw i64 %63, 1
%65 = trunc i64 %64 to i32
store i32 %65, ptr %10, align 4
%66 = load i32, ptr %10, align 4
%67 = sext i32 %66 to i64
%68 = mul i64 %67, 1
%69 = trunc i64 %68 to i32
%70 = call i64 @malloc(i32 noundef %69)
%71 = inttoptr i64 %70 to ptr
store ptr %71, ptr %8, align 8
%72 = load ptr, ptr %8, align 8
%73 = load ptr, ptr %6, align 8
%74 = load i32, ptr %10, align 4
%75 = call i32 @memcpy(ptr noundef %72, ptr noundef %73, i32 noundef %74)
%76 = load ptr, ptr %8, align 8
%77 = load i32, ptr %10, align 4
%78 = sub nsw i32 %77, 1
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8, ptr %76, i64 %79
store i8 0, ptr %80, align 1
%81 = load ptr, ptr %8, align 8
store ptr %81, ptr %3, align 8
br label %82
82: ; preds = %58, %57, %43
%83 = load ptr, ptr %3, align 8
ret ptr %83
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @free(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmqyc6a23.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_xml_attribute_value(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %10, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = sext i32 %12 to i64
%14 = add i64 %13, 3
%15 = trunc i64 %14 to i32
%16 = call i64 @malloc(i32 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i32 @strcpy(ptr noundef %18, ptr noundef %19)
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %5, align 8
%23 = call i32 @strlen(ptr noundef %22)
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %21, i64 %24
store i8 61, ptr %25, align 1
%26 = load ptr, ptr %7, align 8
%27 = load ptr, ptr %5, align 8
%28 = call i32 @strlen(ptr noundef %27)
%29 = add nsw i32 %28, 1
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %26, i64 %30
store i8 34, ptr %31, align 1
%32 = load ptr, ptr %7, align 8
%33 = load ptr, ptr %5, align 8
%34 = call i32 @strlen(ptr noundef %33)
%35 = add nsw i32 %34, 2
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %32, i64 %36
store i8 0, ptr %37, align 1
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %7, align 8
%40 = call ptr @strstr(ptr noundef %38, ptr noundef %39)
store ptr %40, ptr %6, align 8
%41 = load ptr, ptr %6, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %44, label %43
43: ; preds = %2
store ptr null, ptr %3, align 8
br label %82
44: ; preds = %2
%45 = load ptr, ptr %7, align 8
%46 = call i32 @free(ptr noundef %45)
%47 = load ptr, ptr %6, align 8
%48 = load ptr, ptr %5, align 8
%49 = call i32 @strlen(ptr noundef %48)
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %47, i64 %50
%52 = getelementptr inbounds i8, ptr %51, i64 2
store ptr %52, ptr %6, align 8
%53 = load ptr, ptr %6, align 8
%54 = call ptr @strstr(ptr noundef %53, ptr noundef @.str)
store ptr %54, ptr %9, align 8
%55 = load ptr, ptr %9, align 8
%56 = icmp ne ptr %55, null
br i1 %56, label %58, label %57
57: ; preds = %44
store ptr null, ptr %3, align 8
br label %82
58: ; preds = %44
%59 = load ptr, ptr %9, align 8
%60 = load ptr, ptr %6, align 8
%61 = ptrtoint ptr %59 to i64
%62 = ptrtoint ptr %60 to i64
%63 = sub i64 %61, %62
%64 = add nsw i64 %63, 1
%65 = trunc i64 %64 to i32
store i32 %65, ptr %10, align 4
%66 = load i32, ptr %10, align 4
%67 = sext i32 %66 to i64
%68 = mul i64 %67, 1
%69 = trunc i64 %68 to i32
%70 = call i64 @malloc(i32 noundef %69)
%71 = inttoptr i64 %70 to ptr
store ptr %71, ptr %8, align 8
%72 = load ptr, ptr %8, align 8
%73 = load ptr, ptr %6, align 8
%74 = load i32, ptr %10, align 4
%75 = call i32 @memcpy(ptr noundef %72, ptr noundef %73, i32 noundef %74)
%76 = load ptr, ptr %8, align 8
%77 = load i32, ptr %10, align 4
%78 = sub nsw i32 %77, 1
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8, ptr %76, i64 %79
store i8 0, ptr %80, align 1
%81 = load ptr, ptr %8, align 8
store ptr %81, ptr %3, align 8
br label %82
82: ; preds = %58, %57, %43
%83 = load ptr, ptr %3, align 8
ret ptr %83
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @free(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"}
|
; ModuleID = '/tmp/tmpmfcl6ggo.c'
source_filename = "/tmp/tmpmfcl6ggo.c"
target datalayout = "e-m:e-p270: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/tmpmfcl6ggo.c"
target datalayout = "e-m:e-p270: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/tmps46z2qoy.c'
source_filename = "/tmp/tmps46z2qoy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"func3: started\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"[%d] \00", align 1
@.str.2 = private unnamed_addr constant [46 x i8] c"func3: swapcontext(&uctx_func3, &uctx_func1)\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"func3: returning\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func3() #0 {
%1 = alloca i32, align 4
store i32 10, ptr %1, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %3
3: ; preds = %0, %3
%4 = load i32, ptr %1, align 4
%5 = add nsw i32 %4, 1
store i32 %5, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 (...) @yield()
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %3
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @yield(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps46z2qoy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"func3: started\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"[%d] \00", align 1
@.str.2 = private unnamed_addr constant [46 x i8] c"func3: swapcontext(&uctx_func3, &uctx_func1)\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"func3: returning\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func3() #0 {
%1 = alloca i32, align 4
store i32 10, ptr %1, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %3
3: ; preds = %3, %0
%4 = load i32, ptr %1, align 4
%5 = add nsw i32 %4, 1
store i32 %5, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 (...) @yield()
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %3
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @yield(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk5r093sf.c'
source_filename = "/tmp/tmpk5r093sf.c"
target datalayout = "e-m:e-p270: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/tmpk5r093sf.c"
target datalayout = "e-m:e-p270: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/tmp4h5m1s52.c'
source_filename = "/tmp/tmp4h5m1s52.c"
target datalayout = "e-m:e-p270: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/tmp4h5m1s52.c"
target datalayout = "e-m:e-p270: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/tmpvtpkq_hi.c'
source_filename = "/tmp/tmpvtpkq_hi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @normal_01_moment(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca double, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = srem i32 %4, 2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = sub nsw i32 %8, 1
%10 = call double @r8_factorial2(i32 noundef %9)
store double %10, ptr %3, align 8
br label %12
11: ; preds = %1
store double 0.000000e+00, ptr %3, align 8
br label %12
12: ; preds = %11, %7
%13 = load double, ptr %3, align 8
ret double %13
}
declare double @r8_factorial2(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/tmpvtpkq_hi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @normal_01_moment(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca double, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = srem i32 %4, 2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = sub nsw i32 %8, 1
%10 = call double @r8_factorial2(i32 noundef %9)
store double %10, ptr %3, align 8
br label %12
11: ; preds = %1
store double 0.000000e+00, ptr %3, align 8
br label %12
12: ; preds = %11, %7
%13 = load double, ptr %3, align 8
ret double %13
}
declare double @r8_factorial2(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/tmpas57op03.c'
source_filename = "/tmp/tmpas57op03.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c" %lf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printData(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %31, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %34
11: ; preds = %7
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %6, align 4
br label %13
13: ; preds = %27, %11
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 784
br i1 %15, label %16, label %30
16: ; preds = %13
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds double, ptr %21, i64 %23
%25 = load double, ptr %24, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %25)
br label %27
27: ; preds = %16
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
br label %13, !llvm.loop !6
30: ; preds = %13
br label %31
31: ; preds = %30
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
br label %7, !llvm.loop !8
34: ; preds = %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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpas57op03.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c" %lf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printData(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph2, label %37
.lr.ph2: ; preds = %2
br label %10
10: ; preds = %.lr.ph2, %31
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %12, 784
br i1 %13, label %.lr.ph, label %30
.lr.ph: ; preds = %10
br label %14
14: ; preds = %.lr.ph, %25
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds double, ptr %19, i64 %21
%23 = load double, ptr %22, align 8
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %23)
br label %25
25: ; preds = %14
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
%28 = load i32, ptr %6, align 4
%29 = icmp slt i32 %28, 784
br i1 %29, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %10
br label %31
31: ; preds = %30
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %31
br label %37
37: ; preds = %._crit_edge3, %2
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpjd5j2rsy.c'
source_filename = "/tmp/tmpjd5j2rsy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vorbis_lpc_predict(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca float, align 4
%18 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store i64 %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
%19 = load i32, ptr %9, align 4
%20 = sext i32 %19 to i64
%21 = load i64, ptr %11, align 8
%22 = add nsw i64 %20, %21
%23 = mul i64 4, %22
%24 = trunc i64 %23 to i32
%25 = call ptr @malloc(i32 noundef %24)
store ptr %25, ptr %18, align 8
%26 = load ptr, ptr %18, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %29, label %28
28: ; preds = %6
br label %115
29: ; preds = %6
%30 = load ptr, ptr %8, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %46, label %32
32: ; preds = %29
store i64 0, ptr %13, align 8
br label %33
33: ; preds = %42, %32
%34 = load i64, ptr %13, align 8
%35 = load i32, ptr %9, align 4
%36 = sext i32 %35 to i64
%37 = icmp slt i64 %34, %36
br i1 %37, label %38, label %45
38: ; preds = %33
%39 = load ptr, ptr %18, align 8
%40 = load i64, ptr %13, align 8
%41 = getelementptr inbounds float, ptr %39, i64 %40
store float 0.000000e+00, ptr %41, align 4
br label %42
42: ; preds = %38
%43 = load i64, ptr %13, align 8
%44 = add nsw i64 %43, 1
store i64 %44, ptr %13, align 8
br label %33, !llvm.loop !6
45: ; preds = %33
br label %67
46: ; preds = %29
store i64 0, ptr %13, align 8
br label %47
47: ; preds = %63, %46
%48 = load i64, ptr %13, align 8
%49 = load i32, ptr %9, align 4
%50 = sext i32 %49 to i64
%51 = icmp slt i64 %48, %50
br i1 %51, label %52, label %66
52: ; preds = %47
%53 = load ptr, ptr %8, align 8
%54 = load i64, ptr %13, align 8
%55 = load i32, ptr %12, align 4
%56 = sext i32 %55 to i64
%57 = mul nsw i64 %54, %56
%58 = getelementptr inbounds float, ptr %53, i64 %57
%59 = load float, ptr %58, align 4
%60 = load ptr, ptr %18, align 8
%61 = load i64, ptr %13, align 8
%62 = getelementptr inbounds float, ptr %60, i64 %61
store float %59, ptr %62, align 4
br label %63
63: ; preds = %52
%64 = load i64, ptr %13, align 8
%65 = add nsw i64 %64, 1
store i64 %65, ptr %13, align 8
br label %47, !llvm.loop !8
66: ; preds = %47
br label %67
67: ; preds = %66, %45
store i64 0, ptr %13, align 8
br label %68
68: ; preds = %109, %67
%69 = load i64, ptr %13, align 8
%70 = load i64, ptr %11, align 8
%71 = icmp slt i64 %69, %70
br i1 %71, label %72, label %112
72: ; preds = %68
store float 0.000000e+00, ptr %17, align 4
%73 = load i64, ptr %13, align 8
store i64 %73, ptr %15, align 8
%74 = load i32, ptr %9, align 4
%75 = sext i32 %74 to i64
store i64 %75, ptr %16, align 8
store i64 0, ptr %14, align 8
br label %76
76: ; preds = %95, %72
%77 = load i64, ptr %14, align 8
%78 = load i32, ptr %9, align 4
%79 = sext i32 %78 to i64
%80 = icmp slt i64 %77, %79
br i1 %80, label %81, label %98
81: ; preds = %76
%82 = load ptr, ptr %18, align 8
%83 = load i64, ptr %15, align 8
%84 = add nsw i64 %83, 1
store i64 %84, ptr %15, align 8
%85 = getelementptr inbounds float, ptr %82, i64 %83
%86 = load float, ptr %85, align 4
%87 = load ptr, ptr %7, align 8
%88 = load i64, ptr %16, align 8
%89 = add nsw i64 %88, -1
store i64 %89, ptr %16, align 8
%90 = getelementptr inbounds float, ptr %87, i64 %89
%91 = load float, ptr %90, align 4
%92 = load float, ptr %17, align 4
%93 = fneg float %86
%94 = call float @llvm.fmuladd.f32(float %93, float %91, float %92)
store float %94, ptr %17, align 4
br label %95
95: ; preds = %81
%96 = load i64, ptr %14, align 8
%97 = add nsw i64 %96, 1
store i64 %97, ptr %14, align 8
br label %76, !llvm.loop !9
98: ; preds = %76
%99 = load float, ptr %17, align 4
%100 = load ptr, ptr %18, align 8
%101 = load i64, ptr %15, align 8
%102 = getelementptr inbounds float, ptr %100, i64 %101
store float %99, ptr %102, align 4
%103 = load ptr, ptr %10, align 8
%104 = load i64, ptr %13, align 8
%105 = load i32, ptr %12, align 4
%106 = sext i32 %105 to i64
%107 = mul nsw i64 %104, %106
%108 = getelementptr inbounds float, ptr %103, i64 %107
store float %99, ptr %108, align 4
br label %109
109: ; preds = %98
%110 = load i64, ptr %13, align 8
%111 = add nsw i64 %110, 1
store i64 %111, ptr %13, align 8
br label %68, !llvm.loop !10
112: ; preds = %68
%113 = load ptr, ptr %18, align 8
%114 = call i32 @free(ptr noundef %113)
br label %115
115: ; preds = %112, %28
ret void
}
declare ptr @malloc(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjd5j2rsy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vorbis_lpc_predict(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca float, align 4
%18 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store i64 %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
%19 = load i32, ptr %9, align 4
%20 = sext i32 %19 to i64
%21 = load i64, ptr %11, align 8
%22 = add nsw i64 %20, %21
%23 = mul i64 4, %22
%24 = trunc i64 %23 to i32
%25 = call ptr @malloc(i32 noundef %24)
store ptr %25, ptr %18, align 8
%26 = load ptr, ptr %18, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %29, label %28
28: ; preds = %6
br label %126
29: ; preds = %6
%30 = load ptr, ptr %8, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %49, label %32
32: ; preds = %29
store i64 0, ptr %13, align 8
%33 = load i64, ptr %13, align 8
%34 = load i32, ptr %9, align 4
%35 = sext i32 %34 to i64
%36 = icmp slt i64 %33, %35
br i1 %36, label %.lr.ph, label %48
.lr.ph: ; preds = %32
br label %37
37: ; preds = %.lr.ph, %41
%38 = load ptr, ptr %18, align 8
%39 = load i64, ptr %13, align 8
%40 = getelementptr inbounds float, ptr %38, i64 %39
store float 0.000000e+00, ptr %40, align 4
br label %41
41: ; preds = %37
%42 = load i64, ptr %13, align 8
%43 = add nsw i64 %42, 1
store i64 %43, ptr %13, align 8
%44 = load i64, ptr %13, align 8
%45 = load i32, ptr %9, align 4
%46 = sext i32 %45 to i64
%47 = icmp slt i64 %44, %46
br i1 %47, label %37, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %48
48: ; preds = %._crit_edge, %32
br label %73
49: ; preds = %29
store i64 0, ptr %13, align 8
%50 = load i64, ptr %13, align 8
%51 = load i32, ptr %9, align 4
%52 = sext i32 %51 to i64
%53 = icmp slt i64 %50, %52
br i1 %53, label %.lr.ph2, label %72
.lr.ph2: ; preds = %49
br label %54
54: ; preds = %.lr.ph2, %65
%55 = load ptr, ptr %8, align 8
%56 = load i64, ptr %13, align 8
%57 = load i32, ptr %12, align 4
%58 = sext i32 %57 to i64
%59 = mul nsw i64 %56, %58
%60 = getelementptr inbounds float, ptr %55, i64 %59
%61 = load float, ptr %60, align 4
%62 = load ptr, ptr %18, align 8
%63 = load i64, ptr %13, align 8
%64 = getelementptr inbounds float, ptr %62, i64 %63
store float %61, ptr %64, align 4
br label %65
65: ; preds = %54
%66 = load i64, ptr %13, align 8
%67 = add nsw i64 %66, 1
store i64 %67, ptr %13, align 8
%68 = load i64, ptr %13, align 8
%69 = load i32, ptr %9, align 4
%70 = sext i32 %69 to i64
%71 = icmp slt i64 %68, %70
br i1 %71, label %54, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %65
br label %72
72: ; preds = %._crit_edge3, %49
br label %73
73: ; preds = %72, %48
store i64 0, ptr %13, align 8
%74 = load i64, ptr %13, align 8
%75 = load i64, ptr %11, align 8
%76 = icmp slt i64 %74, %75
br i1 %76, label %.lr.ph8, label %123
.lr.ph8: ; preds = %73
br label %77
77: ; preds = %.lr.ph8, %117
store float 0.000000e+00, ptr %17, align 4
%78 = load i64, ptr %13, align 8
store i64 %78, ptr %15, align 8
%79 = load i32, ptr %9, align 4
%80 = sext i32 %79 to i64
store i64 %80, ptr %16, align 8
store i64 0, ptr %14, align 8
%81 = load i64, ptr %14, align 8
%82 = load i32, ptr %9, align 4
%83 = sext i32 %82 to i64
%84 = icmp slt i64 %81, %83
br i1 %84, label %.lr.ph5, label %106
.lr.ph5: ; preds = %77
br label %85
85: ; preds = %.lr.ph5, %99
%86 = load ptr, ptr %18, align 8
%87 = load i64, ptr %15, align 8
%88 = add nsw i64 %87, 1
store i64 %88, ptr %15, align 8
%89 = getelementptr inbounds float, ptr %86, i64 %87
%90 = load float, ptr %89, align 4
%91 = load ptr, ptr %7, align 8
%92 = load i64, ptr %16, align 8
%93 = add nsw i64 %92, -1
store i64 %93, ptr %16, align 8
%94 = getelementptr inbounds float, ptr %91, i64 %93
%95 = load float, ptr %94, align 4
%96 = load float, ptr %17, align 4
%97 = fneg float %90
%98 = call float @llvm.fmuladd.f32(float %97, float %95, float %96)
store float %98, ptr %17, align 4
br label %99
99: ; preds = %85
%100 = load i64, ptr %14, align 8
%101 = add nsw i64 %100, 1
store i64 %101, ptr %14, align 8
%102 = load i64, ptr %14, align 8
%103 = load i32, ptr %9, align 4
%104 = sext i32 %103 to i64
%105 = icmp slt i64 %102, %104
br i1 %105, label %85, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %99
br label %106
106: ; preds = %._crit_edge6, %77
%107 = load float, ptr %17, align 4
%108 = load ptr, ptr %18, align 8
%109 = load i64, ptr %15, align 8
%110 = getelementptr inbounds float, ptr %108, i64 %109
store float %107, ptr %110, align 4
%111 = load ptr, ptr %10, align 8
%112 = load i64, ptr %13, align 8
%113 = load i32, ptr %12, align 4
%114 = sext i32 %113 to i64
%115 = mul nsw i64 %112, %114
%116 = getelementptr inbounds float, ptr %111, i64 %115
store float %107, ptr %116, align 4
br label %117
117: ; preds = %106
%118 = load i64, ptr %13, align 8
%119 = add nsw i64 %118, 1
store i64 %119, ptr %13, align 8
%120 = load i64, ptr %13, align 8
%121 = load i64, ptr %11, align 8
%122 = icmp slt i64 %120, %121
br i1 %122, label %77, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %117
br label %123
123: ; preds = %._crit_edge9, %73
%124 = load ptr, ptr %18, align 8
%125 = call i32 @free(ptr noundef %124)
br label %126
126: ; preds = %123, %28
ret void
}
declare ptr @malloc(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpc7qtw33_.c'
source_filename = "/tmp/tmpc7qtw33_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @echo(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 1, ptr %5, align 4
br label %6
6: ; preds = %17, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %20
10: ; preds = %6
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds ptr, ptr %11, i64 %13
%15 = load ptr, ptr %14, align 8
%16 = call i32 @dlib_errmsg(ptr noundef @.str, ptr noundef %15)
br label %17
17: ; preds = %10
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
br label %6, !llvm.loop !6
20: ; preds = %6
ret i32 0
}
declare i32 @dlib_errmsg(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/tmpc7qtw33_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @echo(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %16
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds ptr, ptr %10, i64 %12
%14 = load ptr, ptr %13, align 8
%15 = call i32 @dlib_errmsg(ptr noundef @.str, ptr noundef %14)
br label %16
16: ; preds = %9
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @dlib_errmsg(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/tmpxjpv5v7l.c'
source_filename = "/tmp/tmpxjpv5v7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DMX_STOP = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dvbdemux_stop(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @DMX_STOP, align 4
%5 = call i32 @ioctl(i32 noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @ioctl(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/tmpxjpv5v7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DMX_STOP = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dvbdemux_stop(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @DMX_STOP, align 4
%5 = call i32 @ioctl(i32 noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @ioctl(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/tmpz7qdc48w.c'
source_filename = "/tmp/tmpz7qdc48w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld %ld %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
br label %6
6: ; preds = %13, %2
%7 = load i64, ptr %5, align 8
%8 = icmp slt i64 %7, 100
br i1 %8, label %9, label %16
9: ; preds = %6
%10 = load i64, ptr %3, align 8
%11 = load i64, ptr %4, align 8
%12 = add nsw i64 %10, %11
store i64 %12, ptr %3, align 8
br label %13
13: ; preds = %9
%14 = load i64, ptr %5, align 8
%15 = add nsw i64 %14, 1
store i64 %15, ptr %5, align 8
br label %6, !llvm.loop !6
16: ; preds = %6
%17 = load i64, ptr %5, align 8
%18 = load i64, ptr %3, align 8
%19 = load i64, ptr %4, align 8
%20 = call i32 @printf(ptr noundef @.str, i64 noundef %17, i64 noundef %18, i64 noundef %19)
ret void
}
declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz7qdc48w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld %ld %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = icmp slt i64 %6, 100
br i1 %7, label %.lr.ph, label %17
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %12
%9 = load i64, ptr %3, align 8
%10 = load i64, ptr %4, align 8
%11 = add nsw i64 %9, %10
store i64 %11, ptr %3, align 8
br label %12
12: ; preds = %8
%13 = load i64, ptr %5, align 8
%14 = add nsw i64 %13, 1
store i64 %14, ptr %5, align 8
%15 = load i64, ptr %5, align 8
%16 = icmp slt i64 %15, 100
br i1 %16, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %2
%18 = load i64, ptr %5, align 8
%19 = load i64, ptr %3, align 8
%20 = load i64, ptr %4, align 8
%21 = call i32 @printf(ptr noundef @.str, i64 noundef %18, i64 noundef %19, i64 noundef %20)
ret void
}
declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxz9r7g0w.c'
source_filename = "/tmp/tmpxz9r7g0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"XInitExtension called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @XInitExtension() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxz9r7g0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"XInitExtension called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @XInitExtension() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp24tetkpi.c'
source_filename = "/tmp/tmp24tetkpi.c"
target datalayout = "e-m:e-p270: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.accepted_reply = type { i32, %struct.TYPE_5__, i32 }
%struct.TYPE_5__ = type { %struct.TYPE_4__, %struct.TYPE_6__ }
%struct.TYPE_4__ = type { i32, i32 }
%struct.TYPE_6__ = type { i32, ptr }
@FALSE = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @xdr_accepted_reply(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds %struct.accepted_reply, ptr %7, i32 0, i32 2
%9 = call i32 @xdr_opaque_auth(ptr noundef %6, ptr noundef %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %2
%12 = load i32, ptr @FALSE, align 4
store i32 %12, ptr %3, align 4
br label %57
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds %struct.accepted_reply, ptr %15, i32 0, i32 0
%17 = call i32 @xdr_enum(ptr noundef %14, ptr noundef %16)
%18 = icmp ne i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %13
%20 = load i32, ptr @FALSE, align 4
store i32 %20, ptr %3, align 4
br label %57
21: ; preds = %13
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds %struct.accepted_reply, ptr %22, i32 0, i32 0
%24 = load i32, ptr %23, align 8
switch i32 %24, label %55 [
i32 128, label %25
i32 129, label %38
]
25: ; preds = %21
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds %struct.accepted_reply, ptr %26, i32 0, i32 1
%28 = getelementptr inbounds %struct.TYPE_5__, ptr %27, i32 0, i32 1
%29 = getelementptr inbounds %struct.TYPE_6__, ptr %28, i32 0, i32 1
%30 = load ptr, ptr %29, align 8
%31 = load ptr, ptr %4, align 8
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds %struct.accepted_reply, ptr %32, i32 0, i32 1
%34 = getelementptr inbounds %struct.TYPE_5__, ptr %33, i32 0, i32 1
%35 = getelementptr inbounds %struct.TYPE_6__, ptr %34, i32 0, i32 0
%36 = load i32, ptr %35, align 8
%37 = call i32 %30(ptr noundef %31, i32 noundef %36)
store i32 %37, ptr %3, align 4
br label %57
38: ; preds = %21
%39 = load ptr, ptr %4, align 8
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds %struct.accepted_reply, ptr %40, i32 0, i32 1
%42 = getelementptr inbounds %struct.TYPE_5__, ptr %41, i32 0, i32 0
%43 = getelementptr inbounds %struct.TYPE_4__, ptr %42, i32 0, i32 1
%44 = call i32 @xdr_u_long(ptr noundef %39, ptr noundef %43)
%45 = icmp ne i32 %44, 0
br i1 %45, label %48, label %46
46: ; preds = %38
%47 = load i32, ptr @FALSE, align 4
store i32 %47, ptr %3, align 4
br label %57
48: ; preds = %38
%49 = load ptr, ptr %4, align 8
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds %struct.accepted_reply, ptr %50, i32 0, i32 1
%52 = getelementptr inbounds %struct.TYPE_5__, ptr %51, i32 0, i32 0
%53 = getelementptr inbounds %struct.TYPE_4__, ptr %52, i32 0, i32 0
%54 = call i32 @xdr_u_long(ptr noundef %49, ptr noundef %53)
store i32 %54, ptr %3, align 4
br label %57
55: ; preds = %21
%56 = load i32, ptr @TRUE, align 4
store i32 %56, ptr %3, align 4
br label %57
57: ; preds = %55, %48, %46, %25, %19, %11
%58 = load i32, ptr %3, align 4
ret i32 %58
}
declare i32 @xdr_opaque_auth(ptr noundef, ptr noundef) #1
declare i32 @xdr_enum(ptr noundef, ptr noundef) #1
declare i32 @xdr_u_long(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/tmp24tetkpi.c"
target datalayout = "e-m:e-p270: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.accepted_reply = type { i32, %struct.TYPE_5__, i32 }
%struct.TYPE_5__ = type { %struct.TYPE_4__, %struct.TYPE_6__ }
%struct.TYPE_4__ = type { i32, i32 }
%struct.TYPE_6__ = type { i32, ptr }
@FALSE = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @xdr_accepted_reply(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds %struct.accepted_reply, ptr %7, i32 0, i32 2
%9 = call i32 @xdr_opaque_auth(ptr noundef %6, ptr noundef %8)
%10 = icmp ne i32 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %2
%12 = load i32, ptr @FALSE, align 4
store i32 %12, ptr %3, align 4
br label %57
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds %struct.accepted_reply, ptr %15, i32 0, i32 0
%17 = call i32 @xdr_enum(ptr noundef %14, ptr noundef %16)
%18 = icmp ne i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %13
%20 = load i32, ptr @FALSE, align 4
store i32 %20, ptr %3, align 4
br label %57
21: ; preds = %13
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds %struct.accepted_reply, ptr %22, i32 0, i32 0
%24 = load i32, ptr %23, align 8
switch i32 %24, label %55 [
i32 128, label %25
i32 129, label %38
]
25: ; preds = %21
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds %struct.accepted_reply, ptr %26, i32 0, i32 1
%28 = getelementptr inbounds %struct.TYPE_5__, ptr %27, i32 0, i32 1
%29 = getelementptr inbounds %struct.TYPE_6__, ptr %28, i32 0, i32 1
%30 = load ptr, ptr %29, align 8
%31 = load ptr, ptr %4, align 8
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds %struct.accepted_reply, ptr %32, i32 0, i32 1
%34 = getelementptr inbounds %struct.TYPE_5__, ptr %33, i32 0, i32 1
%35 = getelementptr inbounds %struct.TYPE_6__, ptr %34, i32 0, i32 0
%36 = load i32, ptr %35, align 8
%37 = call i32 %30(ptr noundef %31, i32 noundef %36)
store i32 %37, ptr %3, align 4
br label %57
38: ; preds = %21
%39 = load ptr, ptr %4, align 8
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds %struct.accepted_reply, ptr %40, i32 0, i32 1
%42 = getelementptr inbounds %struct.TYPE_5__, ptr %41, i32 0, i32 0
%43 = getelementptr inbounds %struct.TYPE_4__, ptr %42, i32 0, i32 1
%44 = call i32 @xdr_u_long(ptr noundef %39, ptr noundef %43)
%45 = icmp ne i32 %44, 0
br i1 %45, label %48, label %46
46: ; preds = %38
%47 = load i32, ptr @FALSE, align 4
store i32 %47, ptr %3, align 4
br label %57
48: ; preds = %38
%49 = load ptr, ptr %4, align 8
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds %struct.accepted_reply, ptr %50, i32 0, i32 1
%52 = getelementptr inbounds %struct.TYPE_5__, ptr %51, i32 0, i32 0
%53 = getelementptr inbounds %struct.TYPE_4__, ptr %52, i32 0, i32 0
%54 = call i32 @xdr_u_long(ptr noundef %49, ptr noundef %53)
store i32 %54, ptr %3, align 4
br label %57
55: ; preds = %21
%56 = load i32, ptr @TRUE, align 4
store i32 %56, ptr %3, align 4
br label %57
57: ; preds = %55, %48, %46, %25, %19, %11
%58 = load i32, ptr %3, align 4
ret i32 %58
}
declare i32 @xdr_opaque_auth(ptr noundef, ptr noundef) #1
declare i32 @xdr_enum(ptr noundef, ptr noundef) #1
declare i32 @xdr_u_long(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/tmpg805iytx.c'
source_filename = "/tmp/tmpg805iytx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"\0AUsage: extcat file1 file2 file3 ...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage() #0 {
%1 = call i32 (...) @print_version()
%2 = call i32 @puts(ptr noundef @.str)
ret void
}
declare i32 @print_version(...) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg805iytx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"\0AUsage: extcat file1 file2 file3 ...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage() #0 {
%1 = call i32 (...) @print_version()
%2 = call i32 @puts(ptr noundef @.str)
ret void
}
declare i32 @print_version(...) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv5qsyu3s.c'
source_filename = "/tmp/tmpv5qsyu3s.c"
target datalayout = "e-m:e-p270: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/tmpv5qsyu3s.c"
target datalayout = "e-m:e-p270: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/tmpx2r8zbol.c'
source_filename = "/tmp/tmpx2r8zbol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong allocsize(0,1) uwtable
define dso_local ptr @calloc(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = call ptr @__libc_calloc(i64 noundef %6, i64 noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %3, align 8
%11 = load i64, ptr %4, align 8
%12 = mul i64 %10, %11
%13 = call i32 @log_event(i32 noundef 1, ptr noundef %9, i64 noundef %12)
%14 = load ptr, ptr %5, align 8
ret ptr %14
}
declare ptr @__libc_calloc(i64 noundef, i64 noundef) #1
declare i32 @log_event(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong allocsize(0,1) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx2r8zbol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong allocsize(0,1) uwtable
define dso_local ptr @calloc(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = call ptr @__libc_calloc(i64 noundef %6, i64 noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %3, align 8
%11 = load i64, ptr %4, align 8
%12 = mul i64 %10, %11
%13 = call i32 @log_event(i32 noundef 1, ptr noundef %9, i64 noundef %12)
%14 = load ptr, ptr %5, align 8
ret ptr %14
}
declare ptr @__libc_calloc(i64 noundef, i64 noundef) #1
declare i32 @log_event(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong allocsize(0,1) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpec35m_p5.c'
source_filename = "/tmp/tmpec35m_p5.c"
target datalayout = "e-m:e-p270: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/tmpec35m_p5.c"
target datalayout = "e-m:e-p270: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/tmpu4yvvioc.c'
source_filename = "/tmp/tmpu4yvvioc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"shmget\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"shmat\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 ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 5678, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @shmget(i32 noundef %6, i32 noundef 27, i32 noundef 438)
store i32 %7, ptr %2, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %0
%10 = call i32 @perror(ptr noundef @.str)
%11 = call i32 @exit(i32 noundef 1) #3
unreachable
12: ; preds = %0
%13 = load i32, ptr %2, align 4
%14 = call ptr @shmat(i32 noundef %13, ptr noundef null, i32 noundef 0)
store ptr %14, ptr %4, align 8
%15 = icmp eq ptr %14, inttoptr (i64 -1 to ptr)
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = call i32 @perror(ptr noundef @.str.1)
%18 = call i32 @exit(i32 noundef 1) #3
unreachable
19: ; preds = %12
%20 = load ptr, ptr %4, align 8
store ptr %20, ptr %5, align 8
br label %21
21: ; preds = %30, %19
%22 = load ptr, ptr %5, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %33
26: ; preds = %21
%27 = load ptr, ptr %5, align 8
%28 = load i8, ptr %27, align 1
%29 = call i32 @putchar(i8 noundef signext %28)
br label %30
30: ; preds = %26
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %5, align 8
br label %21, !llvm.loop !6
33: ; preds = %21
%34 = call i32 @putchar(i8 noundef signext 10)
%35 = load ptr, ptr %4, align 8
store i8 42, ptr %35, align 1
%36 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu4yvvioc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"shmget\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"shmat\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 ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 5678, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @shmget(i32 noundef %6, i32 noundef 27, i32 noundef 438)
store i32 %7, ptr %2, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %0
%10 = call i32 @perror(ptr noundef @.str)
%11 = call i32 @exit(i32 noundef 1) #3
unreachable
12: ; preds = %0
%13 = load i32, ptr %2, align 4
%14 = call ptr @shmat(i32 noundef %13, ptr noundef null, i32 noundef 0)
store ptr %14, ptr %4, align 8
%15 = icmp eq ptr %14, inttoptr (i64 -1 to ptr)
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = call i32 @perror(ptr noundef @.str.1)
%18 = call i32 @exit(i32 noundef 1) #3
unreachable
19: ; preds = %12
%20 = load ptr, ptr %4, align 8
store ptr %20, ptr %5, align 8
%21 = load ptr, ptr %5, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %.lr.ph, label %36
.lr.ph: ; preds = %19
br label %25
25: ; preds = %.lr.ph, %29
%26 = load ptr, ptr %5, align 8
%27 = load i8, ptr %26, align 1
%28 = call i32 @putchar(i8 noundef signext %27)
br label %29
29: ; preds = %25
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %5, align 8
%32 = load ptr, ptr %5, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 0
br i1 %35, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %36
36: ; preds = %._crit_edge, %19
%37 = call i32 @putchar(i8 noundef signext 10)
%38 = load ptr, ptr %4, align 8
store i8 42, ptr %38, align 1
%39 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4e5ccy7k.c'
source_filename = "/tmp/tmp4e5ccy7k.c"
target datalayout = "e-m:e-p270: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 [19 x i8] c"Usage %s <device>\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@TIOCMGET = dso_local global i32 0, align 4
@TIOCM_RTS = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"Not asserted\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Asserted\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14)
%16 = call i32 @exit(i32 noundef -1) #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 = load i32, ptr @O_RDONLY, align 4
%22 = call i32 @open(ptr noundef %20, i32 noundef %21)
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %31
25: ; preds = %17
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 0
%28 = load ptr, ptr %27, align 8
%29 = call i32 @perror(ptr noundef %28)
%30 = call i32 @exit(i32 noundef 1) #3
unreachable
31: ; preds = %17
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr @TIOCMGET, align 4
%34 = call i32 @ioctl(i32 noundef %32, i32 noundef %33, ptr noundef %6)
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr @TIOCM_RTS, align 4
%37 = and i32 %35, %36
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %31
%40 = call i32 @printf(ptr noundef @.str.1)
br label %43
41: ; preds = %31
%42 = call i32 @printf(ptr noundef @.str.2)
br label %43
43: ; preds = %41, %39
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp4e5ccy7k.c"
target datalayout = "e-m:e-p270: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 [19 x i8] c"Usage %s <device>\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@TIOCMGET = dso_local global i32 0, align 4
@TIOCM_RTS = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"Not asserted\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Asserted\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14)
%16 = call i32 @exit(i32 noundef -1) #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 = load i32, ptr @O_RDONLY, align 4
%22 = call i32 @open(ptr noundef %20, i32 noundef %21)
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %31
25: ; preds = %17
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 0
%28 = load ptr, ptr %27, align 8
%29 = call i32 @perror(ptr noundef %28)
%30 = call i32 @exit(i32 noundef 1) #3
unreachable
31: ; preds = %17
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr @TIOCMGET, align 4
%34 = call i32 @ioctl(i32 noundef %32, i32 noundef %33, ptr noundef %6)
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr @TIOCM_RTS, align 4
%37 = and i32 %35, %36
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %31
%40 = call i32 @printf(ptr noundef @.str.1)
br label %43
41: ; preds = %31
%42 = call i32 @printf(ptr noundef @.str.2)
br label %43
43: ; preds = %41, %39
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpnxc43lb_.c'
source_filename = "/tmp/tmpnxc43lb_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vt100_HVP(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @vt100_EscSeq2(i32 noundef %5, i32 noundef %6, ptr noundef @.str, i64 noundef 2)
ret void
}
declare i32 @vt100_EscSeq2(i32 noundef, i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnxc43lb_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vt100_HVP(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @vt100_EscSeq2(i32 noundef %5, i32 noundef %6, ptr noundef @.str, i64 noundef 2)
ret void
}
declare i32 @vt100_EscSeq2(i32 noundef, i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp59vblpvy.c'
source_filename = "/tmp/tmp59vblpvy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"ailog.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ailog(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str.2, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @fclose(ptr noundef %8)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp59vblpvy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"ailog.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ailog(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str.2, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @fclose(ptr noundef %8)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfywq4xv7.c'
source_filename = "/tmp/tmpfywq4xv7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@inputTest.spinner = internal constant [4 x i8] c"/-\\|", align 1
@A_BOLD = dso_local global i32 0, align 4
@ACS_VLINE = dso_local global i32 0, align 4
@ACS_HLINE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [50 x i8] c"Press keys (or mouse buttons) to show their names\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Press spacebar to finish\00", align 1
@TRUE = dso_local global i32 0, align 4
@ERR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [14 x i8] c"Key Pressed: \00", align 1
@KEY_MIN = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"Press some keys for 5 seconds\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c"Pressing ^C should do nothing\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"Time = %d\00", align 1
@.str.8 = private unnamed_addr constant [31 x i8] c"Press a key, followed by ENTER\00", align 1
@.str.9 = private unnamed_addr constant [43 x i8] c"The character should now have been deleted\00", align 1
@.str.10 = private unnamed_addr constant [29 x i8] c"The window should have moved\00", align 1
@.str.11 = private unnamed_addr constant [58 x i8] c"This text should have appeared without you pressing a key\00", align 1
@.str.12 = private unnamed_addr constant [48 x i8] c"Enter a number then a string seperated by space\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c"%d %s\00", align 1
@.str.14 = private unnamed_addr constant [22 x i8] c"String: %s Number: %d\00", align 1
@.str.15 = private unnamed_addr constant [29 x i8] c"Enter a 5 character string: \00", align 1
@.str.16 = private unnamed_addr constant [11 x i8] c"String: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @inputTest(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [80 x i8], align 16
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %14, align 4
%15 = load ptr, ptr %2, align 8
%16 = call i32 @wclear(ptr noundef %15)
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %3, align 4
%20 = call i32 @getmaxyx(ptr noundef %17, i32 noundef %18, i32 noundef %19)
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %5, align 4
%24 = call i32 @getbegyx(ptr noundef %21, i32 noundef %22, i32 noundef %23)
%25 = load i32, ptr %3, align 4
%26 = sdiv i32 %25, 3
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %4, align 4
%28 = sdiv i32 %27, 3
store i32 %28, ptr %8, align 4
%29 = load ptr, ptr %2, align 8
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %32, %33
%35 = load i32, ptr %8, align 4
%36 = sub nsw i32 %34, %35
%37 = sub nsw i32 %36, 2
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %38, %39
%41 = load i32, ptr %7, align 4
%42 = sub nsw i32 %40, %41
%43 = sub nsw i32 %42, 2
%44 = call ptr @subwin(ptr noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %37, i32 noundef %43)
store ptr %44, ptr %13, align 8
%45 = icmp eq ptr %44, null
br i1 %45, label %46, label %47
46: ; preds = %1
br label %235
47: ; preds = %1
%48 = load ptr, ptr %13, align 8
%49 = load i32, ptr @A_BOLD, align 4
%50 = call i32 @wbkgd(ptr noundef %48, i32 noundef %49)
%51 = load ptr, ptr %13, align 8
%52 = load i32, ptr @ACS_VLINE, align 4
%53 = load i32, ptr @ACS_HLINE, align 4
%54 = call i32 @box(ptr noundef %51, i32 noundef %52, i32 noundef %53)
%55 = load ptr, ptr %2, align 8
%56 = call i32 @wrefresh(ptr noundef %55)
%57 = call i32 (...) @nocbreak()
%58 = load ptr, ptr %2, align 8
%59 = call i32 @wclear(ptr noundef %58)
%60 = load ptr, ptr %2, align 8
%61 = call i32 @mvwaddstr(ptr noundef %60, i32 noundef 1, i32 noundef 1, ptr noundef @.str)
%62 = load ptr, ptr %2, align 8
%63 = call i32 @mvwaddstr(ptr noundef %62, i32 noundef 2, i32 noundef 1, ptr noundef @.str.1)
%64 = load ptr, ptr %2, align 8
%65 = call i32 @wrefresh(ptr noundef %64)
%66 = load ptr, ptr %2, align 8
%67 = load i32, ptr @TRUE, align 4
%68 = call i32 @keypad(ptr noundef %66, i32 noundef %67)
%69 = call i32 (...) @raw()
%70 = call i32 (...) @noecho()
%71 = load ptr, ptr %2, align 8
%72 = call i32 @wtimeout(ptr noundef %71, i32 noundef 200)
%73 = call i32 @curs_set(i32 noundef 0)
br label %74
74: ; preds = %47, %131
br label %75
75: ; preds = %74, %97
%76 = load ptr, ptr %2, align 8
%77 = call i32 @wgetch(ptr noundef %76)
store i32 %77, ptr %10, align 4
%78 = load i32, ptr %10, align 4
%79 = load i32, ptr @ERR, align 4
%80 = icmp eq i32 %78, %79
br i1 %80, label %81, label %96
81: ; preds = %75
%82 = load i32, ptr %14, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %14, align 4
%84 = load i32, ptr %14, align 4
%85 = icmp eq i32 %84, 4
br i1 %85, label %86, label %87
86: ; preds = %81
store i32 0, ptr %14, align 4
br label %87
87: ; preds = %86, %81
%88 = load ptr, ptr %2, align 8
%89 = load i32, ptr %14, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [4 x i8], ptr @inputTest.spinner, i64 0, i64 %90
%92 = load i8, ptr %91, align 1
%93 = call i32 @mvwaddch(ptr noundef %88, i32 noundef 3, i32 noundef 3, i8 noundef signext %92)
%94 = load ptr, ptr %2, align 8
%95 = call i32 @wrefresh(ptr noundef %94)
br label %97
96: ; preds = %75
br label %98
97: ; preds = %87
br label %75
98: ; preds = %96
%99 = load ptr, ptr %2, align 8
%100 = call i32 @mvwaddstr(ptr noundef %99, i32 noundef 3, i32 noundef 5, ptr noundef @.str.2)
%101 = load ptr, ptr %2, align 8
%102 = call i32 @wclrtoeol(ptr noundef %101)
%103 = load i32, ptr %10, align 4
%104 = load i32, ptr @KEY_MIN, align 4
%105 = icmp sge i32 %103, %104
br i1 %105, label %106, label %111
106: ; preds = %98
%107 = load ptr, ptr %2, align 8
%108 = load i32, ptr %10, align 4
%109 = call i32 @keyname(i32 noundef %108)
%110 = call i32 @wprintw(ptr noundef %107, ptr noundef @.str.3, i32 noundef %109)
br label %125
111: ; preds = %98
%112 = load i32, ptr %10, align 4
%113 = call i64 @isprint(i32 noundef %112)
%114 = icmp ne i64 %113, 0
br i1 %114, label %115, label %119
115: ; preds = %111
%116 = load ptr, ptr %2, align 8
%117 = load i32, ptr %10, align 4
%118 = call i32 @wprintw(ptr noundef %116, ptr noundef @.str.4, i32 noundef %117)
br label %124
119: ; preds = %111
%120 = load ptr, ptr %2, align 8
%121 = load i32, ptr %10, align 4
%122 = call i32 @unctrl(i32 noundef %121)
%123 = call i32 @wprintw(ptr noundef %120, ptr noundef @.str.3, i32 noundef %122)
br label %124
124: ; preds = %119, %115
br label %125
125: ; preds = %124, %106
%126 = load ptr, ptr %2, align 8
%127 = call i32 @wrefresh(ptr noundef %126)
%128 = load i32, ptr %10, align 4
%129 = icmp eq i32 %128, 32
br i1 %129, label %130, label %131
130: ; preds = %125
br label %132
131: ; preds = %125
br label %74
132: ; preds = %130
%133 = load ptr, ptr %2, align 8
%134 = call i32 @wtimeout(ptr noundef %133, i32 noundef -1)
%135 = call i32 @curs_set(i32 noundef 1)
%136 = load ptr, ptr %2, align 8
%137 = call i32 @wclear(ptr noundef %136)
%138 = load ptr, ptr %2, align 8
%139 = call i32 @mvwaddstr(ptr noundef %138, i32 noundef 2, i32 noundef 1, ptr noundef @.str.5)
%140 = load ptr, ptr %2, align 8
%141 = call i32 @mvwaddstr(ptr noundef %140, i32 noundef 1, i32 noundef 1, ptr noundef @.str.6)
%142 = load ptr, ptr %2, align 8
%143 = call i32 @wrefresh(ptr noundef %142)
%144 = load ptr, ptr %13, align 8
%145 = call i32 @werase(ptr noundef %144)
%146 = load ptr, ptr %13, align 8
%147 = load i32, ptr @ACS_VLINE, align 4
%148 = load i32, ptr @ACS_HLINE, align 4
%149 = call i32 @box(ptr noundef %146, i32 noundef %147, i32 noundef %148)
store i32 0, ptr %9, align 4
br label %150
150: ; preds = %161, %132
%151 = load i32, ptr %9, align 4
%152 = icmp slt i32 %151, 5
br i1 %152, label %153, label %164
153: ; preds = %150
%154 = load ptr, ptr %13, align 8
%155 = load i32, ptr %9, align 4
%156 = call i32 (ptr, i32, i32, ptr, ...) @mvwprintw(ptr noundef %154, i32 noundef 1, i32 noundef 1, ptr noundef @.str.7, i32 noundef %155)
%157 = load ptr, ptr %13, align 8
%158 = call i32 @wrefresh(ptr noundef %157)
%159 = call i32 @napms(i32 noundef 1000)
%160 = call i32 (...) @flushinp()
br label %161
161: ; preds = %153
%162 = load i32, ptr %9, align 4
%163 = add nsw i32 %162, 1
store i32 %163, ptr %9, align 4
br label %150, !llvm.loop !6
164: ; preds = %150
%165 = load ptr, ptr %13, align 8
%166 = call i32 @delwin(ptr noundef %165)
%167 = load ptr, ptr %2, align 8
%168 = call i32 @werase(ptr noundef %167)
%169 = call i32 (...) @flash()
%170 = load ptr, ptr %2, align 8
%171 = call i32 @wrefresh(ptr noundef %170)
%172 = call i32 @napms(i32 noundef 500)
%173 = call i32 (...) @flushinp()
%174 = load ptr, ptr %2, align 8
%175 = call i32 @mvwaddstr(ptr noundef %174, i32 noundef 2, i32 noundef 1, ptr noundef @.str.8)
%176 = load ptr, ptr %2, align 8
%177 = call i32 @wmove(ptr noundef %176, i32 noundef 9, i32 noundef 10)
%178 = load ptr, ptr %2, align 8
%179 = call i32 @wrefresh(ptr noundef %178)
%180 = call i32 (...) @echo()
%181 = load ptr, ptr %2, align 8
%182 = load i32, ptr @TRUE, align 4
%183 = call i32 @keypad(ptr noundef %181, i32 noundef %182)
%184 = call i32 (...) @raw()
%185 = load ptr, ptr %2, align 8
%186 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
%187 = call i32 @wgetnstr(ptr noundef %185, ptr noundef %186, i32 noundef 3)
%188 = call i32 (...) @flushinp()
%189 = load ptr, ptr %2, align 8
%190 = call i32 @wmove(ptr noundef %189, i32 noundef 9, i32 noundef 10)
%191 = load ptr, ptr %2, align 8
%192 = call i32 @wdelch(ptr noundef %191)
%193 = load ptr, ptr %2, align 8
%194 = call i32 @mvwaddstr(ptr noundef %193, i32 noundef 4, i32 noundef 1, ptr noundef @.str.9)
%195 = load ptr, ptr %2, align 8
%196 = call i32 @Continue(ptr noundef %195)
%197 = call i32 (...) @refresh()
%198 = load ptr, ptr %2, align 8
%199 = call i32 @wclear(ptr noundef %198)
%200 = call i32 (...) @echo()
%201 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
store i8 0, ptr %201, align 16
%202 = load ptr, ptr %2, align 8
%203 = call i32 @mvwaddstr(ptr noundef %202, i32 noundef 3, i32 noundef 2, ptr noundef @.str.10)
%204 = load ptr, ptr %2, align 8
%205 = call i32 @mvwaddstr(ptr noundef %204, i32 noundef 4, i32 noundef 2, ptr noundef @.str.11)
%206 = load ptr, ptr %2, align 8
%207 = call i32 @mvwaddstr(ptr noundef %206, i32 noundef 6, i32 noundef 2, ptr noundef @.str.12)
%208 = load ptr, ptr %2, align 8
%209 = call i32 @mvwin(ptr noundef %208, i32 noundef 2, i32 noundef 1)
%210 = load ptr, ptr %2, align 8
%211 = call i32 @wrefresh(ptr noundef %210)
%212 = load ptr, ptr %2, align 8
%213 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
%214 = call i32 @mvwscanw(ptr noundef %212, i32 noundef 7, i32 noundef 6, ptr noundef @.str.13, ptr noundef %11, ptr noundef %213)
%215 = load ptr, ptr %2, align 8
%216 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
%217 = load i32, ptr %11, align 4
%218 = call i32 (ptr, i32, i32, ptr, ...) @mvwprintw(ptr noundef %215, i32 noundef 8, i32 noundef 6, ptr noundef @.str.14, ptr noundef %216, i32 noundef %217)
%219 = load ptr, ptr %2, align 8
%220 = call i32 @Continue(ptr noundef %219)
%221 = call i32 (...) @refresh()
%222 = load ptr, ptr %2, align 8
%223 = call i32 @wclear(ptr noundef %222)
%224 = call i32 (...) @echo()
%225 = load ptr, ptr %2, align 8
%226 = call i32 @mvwaddstr(ptr noundef %225, i32 noundef 3, i32 noundef 2, ptr noundef @.str.15)
%227 = load ptr, ptr %2, align 8
%228 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
%229 = call i32 @wgetnstr(ptr noundef %227, ptr noundef %228, i32 noundef 5)
%230 = load ptr, ptr %2, align 8
%231 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
%232 = call i32 (ptr, i32, i32, ptr, ...) @mvwprintw(ptr noundef %230, i32 noundef 4, i32 noundef 2, ptr noundef @.str.16, ptr noundef %231)
%233 = load ptr, ptr %2, align 8
%234 = call i32 @Continue(ptr noundef %233)
br label %235
235: ; preds = %164, %46
ret void
}
declare i32 @wclear(ptr noundef) #1
declare i32 @getmaxyx(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getbegyx(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @subwin(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @wbkgd(ptr noundef, i32 noundef) #1
declare i32 @box(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @wrefresh(ptr noundef) #1
declare i32 @nocbreak(...) #1
declare i32 @mvwaddstr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @keypad(ptr noundef, i32 noundef) #1
declare i32 @raw(...) #1
declare i32 @noecho(...) #1
declare i32 @wtimeout(ptr noundef, i32 noundef) #1
declare i32 @curs_set(i32 noundef) #1
declare i32 @wgetch(ptr noundef) #1
declare i32 @mvwaddch(ptr noundef, i32 noundef, i32 noundef, i8 noundef signext) #1
declare i32 @wclrtoeol(ptr noundef) #1
declare i32 @wprintw(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @keyname(i32 noundef) #1
declare i64 @isprint(i32 noundef) #1
declare i32 @unctrl(i32 noundef) #1
declare i32 @werase(ptr noundef) #1
declare i32 @mvwprintw(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ...) #1
declare i32 @napms(i32 noundef) #1
declare i32 @flushinp(...) #1
declare i32 @delwin(ptr noundef) #1
declare i32 @flash(...) #1
declare i32 @wmove(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @echo(...) #1
declare i32 @wgetnstr(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @wdelch(ptr noundef) #1
declare i32 @Continue(ptr noundef) #1
declare i32 @refresh(...) #1
declare i32 @mvwin(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @mvwscanw(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfywq4xv7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@inputTest.spinner = internal constant [4 x i8] c"/-\\|", align 1
@A_BOLD = dso_local global i32 0, align 4
@ACS_VLINE = dso_local global i32 0, align 4
@ACS_HLINE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [50 x i8] c"Press keys (or mouse buttons) to show their names\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Press spacebar to finish\00", align 1
@TRUE = dso_local global i32 0, align 4
@ERR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [14 x i8] c"Key Pressed: \00", align 1
@KEY_MIN = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"Press some keys for 5 seconds\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c"Pressing ^C should do nothing\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"Time = %d\00", align 1
@.str.8 = private unnamed_addr constant [31 x i8] c"Press a key, followed by ENTER\00", align 1
@.str.9 = private unnamed_addr constant [43 x i8] c"The character should now have been deleted\00", align 1
@.str.10 = private unnamed_addr constant [29 x i8] c"The window should have moved\00", align 1
@.str.11 = private unnamed_addr constant [58 x i8] c"This text should have appeared without you pressing a key\00", align 1
@.str.12 = private unnamed_addr constant [48 x i8] c"Enter a number then a string seperated by space\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c"%d %s\00", align 1
@.str.14 = private unnamed_addr constant [22 x i8] c"String: %s Number: %d\00", align 1
@.str.15 = private unnamed_addr constant [29 x i8] c"Enter a 5 character string: \00", align 1
@.str.16 = private unnamed_addr constant [11 x i8] c"String: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @inputTest(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [80 x i8], align 16
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %14, align 4
%15 = load ptr, ptr %2, align 8
%16 = call i32 @wclear(ptr noundef %15)
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %3, align 4
%20 = call i32 @getmaxyx(ptr noundef %17, i32 noundef %18, i32 noundef %19)
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %5, align 4
%24 = call i32 @getbegyx(ptr noundef %21, i32 noundef %22, i32 noundef %23)
%25 = load i32, ptr %3, align 4
%26 = sdiv i32 %25, 3
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %4, align 4
%28 = sdiv i32 %27, 3
store i32 %28, ptr %8, align 4
%29 = load ptr, ptr %2, align 8
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %32, %33
%35 = load i32, ptr %8, align 4
%36 = sub nsw i32 %34, %35
%37 = sub nsw i32 %36, 2
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %38, %39
%41 = load i32, ptr %7, align 4
%42 = sub nsw i32 %40, %41
%43 = sub nsw i32 %42, 2
%44 = call ptr @subwin(ptr noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %37, i32 noundef %43)
store ptr %44, ptr %13, align 8
%45 = icmp eq ptr %44, null
br i1 %45, label %46, label %47
46: ; preds = %1
br label %239
47: ; preds = %1
%48 = load ptr, ptr %13, align 8
%49 = load i32, ptr @A_BOLD, align 4
%50 = call i32 @wbkgd(ptr noundef %48, i32 noundef %49)
%51 = load ptr, ptr %13, align 8
%52 = load i32, ptr @ACS_VLINE, align 4
%53 = load i32, ptr @ACS_HLINE, align 4
%54 = call i32 @box(ptr noundef %51, i32 noundef %52, i32 noundef %53)
%55 = load ptr, ptr %2, align 8
%56 = call i32 @wrefresh(ptr noundef %55)
%57 = call i32 (...) @nocbreak()
%58 = load ptr, ptr %2, align 8
%59 = call i32 @wclear(ptr noundef %58)
%60 = load ptr, ptr %2, align 8
%61 = call i32 @mvwaddstr(ptr noundef %60, i32 noundef 1, i32 noundef 1, ptr noundef @.str)
%62 = load ptr, ptr %2, align 8
%63 = call i32 @mvwaddstr(ptr noundef %62, i32 noundef 2, i32 noundef 1, ptr noundef @.str.1)
%64 = load ptr, ptr %2, align 8
%65 = call i32 @wrefresh(ptr noundef %64)
%66 = load ptr, ptr %2, align 8
%67 = load i32, ptr @TRUE, align 4
%68 = call i32 @keypad(ptr noundef %66, i32 noundef %67)
%69 = call i32 (...) @raw()
%70 = call i32 (...) @noecho()
%71 = load ptr, ptr %2, align 8
%72 = call i32 @wtimeout(ptr noundef %71, i32 noundef 200)
%73 = call i32 @curs_set(i32 noundef 0)
br label %74
74: ; preds = %129, %47
%75 = load ptr, ptr %2, align 8
%76 = call i32 @wgetch(ptr noundef %75)
store i32 %76, ptr %10, align 4
%77 = load i32, ptr %10, align 4
%78 = load i32, ptr @ERR, align 4
%79 = icmp eq i32 %77, %78
br i1 %79, label %.lr.ph, label %95
.lr.ph: ; preds = %74
br label %80
80: ; preds = %.lr.ph, %96
%81 = load i32, ptr %14, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %14, align 4
%83 = load i32, ptr %14, align 4
%84 = icmp eq i32 %83, 4
br i1 %84, label %85, label %86
85: ; preds = %80
store i32 0, ptr %14, align 4
br label %86
86: ; preds = %85, %80
%87 = load ptr, ptr %2, align 8
%88 = load i32, ptr %14, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [4 x i8], ptr @inputTest.spinner, i64 0, i64 %89
%91 = load i8, ptr %90, align 1
%92 = call i32 @mvwaddch(ptr noundef %87, i32 noundef 3, i32 noundef 3, i8 noundef signext %91)
%93 = load ptr, ptr %2, align 8
%94 = call i32 @wrefresh(ptr noundef %93)
br label %96
._crit_edge: ; preds = %96
br label %95
95: ; preds = %._crit_edge, %74
br label %102
96: ; preds = %86
%97 = load ptr, ptr %2, align 8
%98 = call i32 @wgetch(ptr noundef %97)
store i32 %98, ptr %10, align 4
%99 = load i32, ptr %10, align 4
%100 = load i32, ptr @ERR, align 4
%101 = icmp eq i32 %99, %100
br i1 %101, label %80, label %._crit_edge
102: ; preds = %95
%103 = load ptr, ptr %2, align 8
%104 = call i32 @mvwaddstr(ptr noundef %103, i32 noundef 3, i32 noundef 5, ptr noundef @.str.2)
%105 = load ptr, ptr %2, align 8
%106 = call i32 @wclrtoeol(ptr noundef %105)
%107 = load i32, ptr %10, align 4
%108 = load i32, ptr @KEY_MIN, align 4
%109 = icmp sge i32 %107, %108
br i1 %109, label %110, label %115
110: ; preds = %102
%111 = load ptr, ptr %2, align 8
%112 = load i32, ptr %10, align 4
%113 = call i32 @keyname(i32 noundef %112)
%114 = call i32 @wprintw(ptr noundef %111, ptr noundef @.str.3, i32 noundef %113)
br label %129
115: ; preds = %102
%116 = load i32, ptr %10, align 4
%117 = call i64 @isprint(i32 noundef %116)
%118 = icmp ne i64 %117, 0
br i1 %118, label %119, label %123
119: ; preds = %115
%120 = load ptr, ptr %2, align 8
%121 = load i32, ptr %10, align 4
%122 = call i32 @wprintw(ptr noundef %120, ptr noundef @.str.4, i32 noundef %121)
br label %128
123: ; preds = %115
%124 = load ptr, ptr %2, align 8
%125 = load i32, ptr %10, align 4
%126 = call i32 @unctrl(i32 noundef %125)
%127 = call i32 @wprintw(ptr noundef %124, ptr noundef @.str.3, i32 noundef %126)
br label %128
128: ; preds = %123, %119
br label %129
129: ; preds = %128, %110
%130 = load ptr, ptr %2, align 8
%131 = call i32 @wrefresh(ptr noundef %130)
%132 = load i32, ptr %10, align 4
%133 = icmp eq i32 %132, 32
br i1 %133, label %134, label %74
134: ; preds = %129
br label %135
135: ; preds = %134
%136 = load ptr, ptr %2, align 8
%137 = call i32 @wtimeout(ptr noundef %136, i32 noundef -1)
%138 = call i32 @curs_set(i32 noundef 1)
%139 = load ptr, ptr %2, align 8
%140 = call i32 @wclear(ptr noundef %139)
%141 = load ptr, ptr %2, align 8
%142 = call i32 @mvwaddstr(ptr noundef %141, i32 noundef 2, i32 noundef 1, ptr noundef @.str.5)
%143 = load ptr, ptr %2, align 8
%144 = call i32 @mvwaddstr(ptr noundef %143, i32 noundef 1, i32 noundef 1, ptr noundef @.str.6)
%145 = load ptr, ptr %2, align 8
%146 = call i32 @wrefresh(ptr noundef %145)
%147 = load ptr, ptr %13, align 8
%148 = call i32 @werase(ptr noundef %147)
%149 = load ptr, ptr %13, align 8
%150 = load i32, ptr @ACS_VLINE, align 4
%151 = load i32, ptr @ACS_HLINE, align 4
%152 = call i32 @box(ptr noundef %149, i32 noundef %150, i32 noundef %151)
store i32 0, ptr %9, align 4
%153 = load i32, ptr %9, align 4
%154 = icmp slt i32 %153, 5
br i1 %154, label %.lr.ph2, label %168
.lr.ph2: ; preds = %135
br label %155
155: ; preds = %.lr.ph2, %163
%156 = load ptr, ptr %13, align 8
%157 = load i32, ptr %9, align 4
%158 = call i32 (ptr, i32, i32, ptr, ...) @mvwprintw(ptr noundef %156, i32 noundef 1, i32 noundef 1, ptr noundef @.str.7, i32 noundef %157)
%159 = load ptr, ptr %13, align 8
%160 = call i32 @wrefresh(ptr noundef %159)
%161 = call i32 @napms(i32 noundef 1000)
%162 = call i32 (...) @flushinp()
br label %163
163: ; preds = %155
%164 = load i32, ptr %9, align 4
%165 = add nsw i32 %164, 1
store i32 %165, ptr %9, align 4
%166 = load i32, ptr %9, align 4
%167 = icmp slt i32 %166, 5
br i1 %167, label %155, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %163
br label %168
168: ; preds = %._crit_edge3, %135
%169 = load ptr, ptr %13, align 8
%170 = call i32 @delwin(ptr noundef %169)
%171 = load ptr, ptr %2, align 8
%172 = call i32 @werase(ptr noundef %171)
%173 = call i32 (...) @flash()
%174 = load ptr, ptr %2, align 8
%175 = call i32 @wrefresh(ptr noundef %174)
%176 = call i32 @napms(i32 noundef 500)
%177 = call i32 (...) @flushinp()
%178 = load ptr, ptr %2, align 8
%179 = call i32 @mvwaddstr(ptr noundef %178, i32 noundef 2, i32 noundef 1, ptr noundef @.str.8)
%180 = load ptr, ptr %2, align 8
%181 = call i32 @wmove(ptr noundef %180, i32 noundef 9, i32 noundef 10)
%182 = load ptr, ptr %2, align 8
%183 = call i32 @wrefresh(ptr noundef %182)
%184 = call i32 (...) @echo()
%185 = load ptr, ptr %2, align 8
%186 = load i32, ptr @TRUE, align 4
%187 = call i32 @keypad(ptr noundef %185, i32 noundef %186)
%188 = call i32 (...) @raw()
%189 = load ptr, ptr %2, align 8
%190 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
%191 = call i32 @wgetnstr(ptr noundef %189, ptr noundef %190, i32 noundef 3)
%192 = call i32 (...) @flushinp()
%193 = load ptr, ptr %2, align 8
%194 = call i32 @wmove(ptr noundef %193, i32 noundef 9, i32 noundef 10)
%195 = load ptr, ptr %2, align 8
%196 = call i32 @wdelch(ptr noundef %195)
%197 = load ptr, ptr %2, align 8
%198 = call i32 @mvwaddstr(ptr noundef %197, i32 noundef 4, i32 noundef 1, ptr noundef @.str.9)
%199 = load ptr, ptr %2, align 8
%200 = call i32 @Continue(ptr noundef %199)
%201 = call i32 (...) @refresh()
%202 = load ptr, ptr %2, align 8
%203 = call i32 @wclear(ptr noundef %202)
%204 = call i32 (...) @echo()
%205 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
store i8 0, ptr %205, align 16
%206 = load ptr, ptr %2, align 8
%207 = call i32 @mvwaddstr(ptr noundef %206, i32 noundef 3, i32 noundef 2, ptr noundef @.str.10)
%208 = load ptr, ptr %2, align 8
%209 = call i32 @mvwaddstr(ptr noundef %208, i32 noundef 4, i32 noundef 2, ptr noundef @.str.11)
%210 = load ptr, ptr %2, align 8
%211 = call i32 @mvwaddstr(ptr noundef %210, i32 noundef 6, i32 noundef 2, ptr noundef @.str.12)
%212 = load ptr, ptr %2, align 8
%213 = call i32 @mvwin(ptr noundef %212, i32 noundef 2, i32 noundef 1)
%214 = load ptr, ptr %2, align 8
%215 = call i32 @wrefresh(ptr noundef %214)
%216 = load ptr, ptr %2, align 8
%217 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
%218 = call i32 @mvwscanw(ptr noundef %216, i32 noundef 7, i32 noundef 6, ptr noundef @.str.13, ptr noundef %11, ptr noundef %217)
%219 = load ptr, ptr %2, align 8
%220 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
%221 = load i32, ptr %11, align 4
%222 = call i32 (ptr, i32, i32, ptr, ...) @mvwprintw(ptr noundef %219, i32 noundef 8, i32 noundef 6, ptr noundef @.str.14, ptr noundef %220, i32 noundef %221)
%223 = load ptr, ptr %2, align 8
%224 = call i32 @Continue(ptr noundef %223)
%225 = call i32 (...) @refresh()
%226 = load ptr, ptr %2, align 8
%227 = call i32 @wclear(ptr noundef %226)
%228 = call i32 (...) @echo()
%229 = load ptr, ptr %2, align 8
%230 = call i32 @mvwaddstr(ptr noundef %229, i32 noundef 3, i32 noundef 2, ptr noundef @.str.15)
%231 = load ptr, ptr %2, align 8
%232 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
%233 = call i32 @wgetnstr(ptr noundef %231, ptr noundef %232, i32 noundef 5)
%234 = load ptr, ptr %2, align 8
%235 = getelementptr inbounds [80 x i8], ptr %12, i64 0, i64 0
%236 = call i32 (ptr, i32, i32, ptr, ...) @mvwprintw(ptr noundef %234, i32 noundef 4, i32 noundef 2, ptr noundef @.str.16, ptr noundef %235)
%237 = load ptr, ptr %2, align 8
%238 = call i32 @Continue(ptr noundef %237)
br label %239
239: ; preds = %168, %46
ret void
}
declare i32 @wclear(ptr noundef) #1
declare i32 @getmaxyx(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getbegyx(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @subwin(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @wbkgd(ptr noundef, i32 noundef) #1
declare i32 @box(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @wrefresh(ptr noundef) #1
declare i32 @nocbreak(...) #1
declare i32 @mvwaddstr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @keypad(ptr noundef, i32 noundef) #1
declare i32 @raw(...) #1
declare i32 @noecho(...) #1
declare i32 @wtimeout(ptr noundef, i32 noundef) #1
declare i32 @curs_set(i32 noundef) #1
declare i32 @wgetch(ptr noundef) #1
declare i32 @mvwaddch(ptr noundef, i32 noundef, i32 noundef, i8 noundef signext) #1
declare i32 @wclrtoeol(ptr noundef) #1
declare i32 @wprintw(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @keyname(i32 noundef) #1
declare i64 @isprint(i32 noundef) #1
declare i32 @unctrl(i32 noundef) #1
declare i32 @werase(ptr noundef) #1
declare i32 @mvwprintw(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ...) #1
declare i32 @napms(i32 noundef) #1
declare i32 @flushinp(...) #1
declare i32 @delwin(ptr noundef) #1
declare i32 @flash(...) #1
declare i32 @wmove(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @echo(...) #1
declare i32 @wgetnstr(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @wdelch(ptr noundef) #1
declare i32 @Continue(ptr noundef) #1
declare i32 @refresh(...) #1
declare i32 @mvwin(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @mvwscanw(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxlzgu9er.c'
source_filename = "/tmp/tmpxlzgu9er.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32, i32, i32 }
@stdout = dso_local global ptr null, align 8
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"%d.%02d.%02d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = load ptr, ptr @stdout, align 8
store ptr %12, ptr %8, align 8
br label %22
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call ptr @fopen(ptr noundef %16, ptr noundef @.str)
store ptr %17, ptr %8, align 8
%18 = load ptr, ptr %8, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %13
store i32 3, ptr %3, align 4
br label %49
21: ; preds = %13
br label %22
22: ; preds = %21, %11
%23 = call i32 @time(ptr noundef %6)
%24 = call ptr @localtime(ptr noundef %6)
store ptr %24, ptr %7, align 8
%25 = load ptr, ptr %7, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %28, label %27
27: ; preds = %22
store i32 1, ptr %3, align 4
br label %49
28: ; preds = %22
%29 = load ptr, ptr %8, align 8
%30 = load ptr, ptr %7, align 8
%31 = getelementptr inbounds %struct.tm, ptr %30, i32 0, i32 0
%32 = load i32, ptr %31, align 4
%33 = add nsw i32 %32, 1900
%34 = load ptr, ptr %7, align 8
%35 = getelementptr inbounds %struct.tm, ptr %34, i32 0, i32 1
%36 = load i32, ptr %35, align 4
%37 = add nsw i32 %36, 1
%38 = load ptr, ptr %7, align 8
%39 = getelementptr inbounds %struct.tm, ptr %38, i32 0, i32 2
%40 = load i32, ptr %39, align 4
%41 = call i32 @fprintf(ptr noundef %29, ptr noundef @.str.1, i32 noundef %33, i32 noundef %37, i32 noundef %40)
%42 = load ptr, ptr %8, align 8
%43 = load ptr, ptr @stdout, align 8
%44 = icmp ne ptr %42, %43
br i1 %44, label %45, label %48
45: ; preds = %28
%46 = load ptr, ptr %8, align 8
%47 = call i32 @fclose(ptr noundef %46)
br label %48
48: ; preds = %45, %28
store i32 0, ptr %3, align 4
br label %49
49: ; preds = %48, %27, %20
%50 = load i32, ptr %3, align 4
ret i32 %50
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxlzgu9er.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32, i32, i32 }
@stdout = dso_local global ptr null, align 8
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"%d.%02d.%02d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = load ptr, ptr @stdout, align 8
store ptr %12, ptr %8, align 8
br label %22
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call ptr @fopen(ptr noundef %16, ptr noundef @.str)
store ptr %17, ptr %8, align 8
%18 = load ptr, ptr %8, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %13
store i32 3, ptr %3, align 4
br label %49
21: ; preds = %13
br label %22
22: ; preds = %21, %11
%23 = call i32 @time(ptr noundef %6)
%24 = call ptr @localtime(ptr noundef %6)
store ptr %24, ptr %7, align 8
%25 = load ptr, ptr %7, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %28, label %27
27: ; preds = %22
store i32 1, ptr %3, align 4
br label %49
28: ; preds = %22
%29 = load ptr, ptr %8, align 8
%30 = load ptr, ptr %7, align 8
%31 = getelementptr inbounds %struct.tm, ptr %30, i32 0, i32 0
%32 = load i32, ptr %31, align 4
%33 = add nsw i32 %32, 1900
%34 = load ptr, ptr %7, align 8
%35 = getelementptr inbounds %struct.tm, ptr %34, i32 0, i32 1
%36 = load i32, ptr %35, align 4
%37 = add nsw i32 %36, 1
%38 = load ptr, ptr %7, align 8
%39 = getelementptr inbounds %struct.tm, ptr %38, i32 0, i32 2
%40 = load i32, ptr %39, align 4
%41 = call i32 @fprintf(ptr noundef %29, ptr noundef @.str.1, i32 noundef %33, i32 noundef %37, i32 noundef %40)
%42 = load ptr, ptr %8, align 8
%43 = load ptr, ptr @stdout, align 8
%44 = icmp ne ptr %42, %43
br i1 %44, label %45, label %48
45: ; preds = %28
%46 = load ptr, ptr %8, align 8
%47 = call i32 @fclose(ptr noundef %46)
br label %48
48: ; preds = %45, %28
store i32 0, ptr %3, align 4
br label %49
49: ; preds = %48, %27, %20
%50 = load i32, ptr %3, align 4
ret i32 %50
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe1s_e7a2.c'
source_filename = "/tmp/tmpe1s_e7a2.c"
target datalayout = "e-m:e-p270: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/tmpe1s_e7a2.c"
target datalayout = "e-m:e-p270: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/tmp6i53s6nw.c'
source_filename = "/tmp/tmp6i53s6nw.c"
target datalayout = "e-m:e-p270: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/tmp6i53s6nw.c"
target datalayout = "e-m:e-p270: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/tmpiaeh8pjq.c'
source_filename = "/tmp/tmpiaeh8pjq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld%lld\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%.0lf \00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%lld \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, 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
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
store i32 0, ptr %1, align 4
store double 0.000000e+00, ptr %2, align 8
br label %14
14: ; preds = %123, %0
%15 = call i64 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %124
17: ; preds = %14
%18 = load i64, ptr %3, align 8
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %17
%21 = load i64, ptr %4, align 8
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %20
br label %124
24: ; preds = %20, %17
%25 = load i64, ptr %3, align 8
%26 = call i64 @sqrt(i64 noundef %25)
store i64 %26, ptr %5, align 8
%27 = load i64, ptr %4, align 8
%28 = icmp eq i64 %27, 1
br i1 %28, label %29, label %39
29: ; preds = %24
%30 = load i64, ptr %3, align 8
%31 = mul nsw i64 2, %30
%32 = sub nsw i64 1, %31
%33 = sdiv i64 %32, -1
store i64 %33, ptr %13, align 8
%34 = load i64, ptr %3, align 8
%35 = call i64 @log2(i64 noundef %34)
%36 = call i32 @printf(ptr noundef @.str.1, i64 noundef %35)
%37 = load i64, ptr %13, align 8
%38 = call i32 @printf(ptr noundef @.str.2, i64 noundef %37)
br label %123
39: ; preds = %24
store i64 2, ptr %7, align 8
br label %40
40: ; preds = %119, %39
%41 = load i64, ptr %7, align 8
%42 = load i64, ptr %5, align 8
%43 = add nsw i64 %42, 1
%44 = icmp sle i64 %41, %43
br i1 %44, label %45, label %122
45: ; preds = %40
%46 = load i64, ptr %3, align 8
%47 = load i64, ptr %7, align 8
%48 = srem i64 %46, %47
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %118
50: ; preds = %45
%51 = load i64, ptr %3, align 8
%52 = call double @log(i64 noundef %51)
%53 = load i64, ptr %7, align 8
%54 = call double @log(i64 noundef %53)
%55 = fdiv double %52, %54
store double %55, ptr %2, align 8
%56 = load double, ptr %2, align 8
%57 = fadd double %56, 5.000000e-01
%58 = call i64 @floor(double noundef %57)
store i64 %58, ptr %9, align 8
%59 = load double, ptr %2, align 8
%60 = load i64, ptr %9, align 8
%61 = sitofp i64 %60 to double
%62 = fsub double %59, %61
%63 = fcmp olt double %62, 0x3DA5FD7FE1796495
br i1 %63, label %64, label %117
64: ; preds = %50
%65 = load i64, ptr %4, align 8
%66 = call double @log(i64 noundef %65)
%67 = load i64, ptr %7, align 8
%68 = sub nsw i64 %67, 1
%69 = call double @log(i64 noundef %68)
%70 = fdiv double %66, %69
store double %70, ptr %2, align 8
%71 = load double, ptr %2, align 8
%72 = fadd double %71, 5.000000e-01
%73 = call i64 @floor(double noundef %72)
store i64 %73, ptr %9, align 8
%74 = load double, ptr %2, align 8
%75 = load i64, ptr %9, align 8
%76 = sitofp i64 %75 to double
%77 = fsub double %74, %76
%78 = call double @llvm.fabs.f64(double %77)
%79 = fcmp olt double %78, 0x3DA5FD7FE1796495
br i1 %79, label %80, label %116
80: ; preds = %64
%81 = load i64, ptr %7, align 8
%82 = load i64, ptr %4, align 8
%83 = mul nsw i64 %81, %82
%84 = sub nsw i64 1, %83
%85 = load i64, ptr %4, align 8
%86 = add nsw i64 %84, %85
%87 = load i64, ptr %7, align 8
%88 = sub nsw i64 2, %87
%89 = sdiv i64 %86, %88
store i64 %89, ptr %13, align 8
%90 = load i64, ptr %13, align 8
%91 = load i64, ptr %4, align 8
%92 = sub nsw i64 %90, %91
%93 = call i32 @printf(ptr noundef @.str.3, i64 noundef %92)
store i64 0, ptr %13, align 8
store i64 0, ptr %10, align 8
br label %94
94: ; preds = %97, %80
%95 = load i64, ptr %3, align 8
%96 = icmp sgt i64 %95, 0
br i1 %96, label %97, label %113
97: ; preds = %94
%98 = load i64, ptr %3, align 8
%99 = load i64, ptr %7, align 8
%100 = sub nsw i64 %99, 1
%101 = load i64, ptr %10, align 8
%102 = call double @pow(i64 noundef %100, i64 noundef %101)
%103 = fadd double %102, 5.000000e-01
%104 = call i64 @floor(double noundef %103)
%105 = mul nsw i64 %98, %104
%106 = load i64, ptr %13, align 8
%107 = add nsw i64 %106, %105
store i64 %107, ptr %13, align 8
%108 = load i64, ptr %10, align 8
%109 = add nsw i64 %108, 1
store i64 %109, ptr %10, align 8
%110 = load i64, ptr %7, align 8
%111 = load i64, ptr %3, align 8
%112 = sdiv i64 %111, %110
store i64 %112, ptr %3, align 8
br label %94, !llvm.loop !6
113: ; preds = %94
%114 = load i64, ptr %13, align 8
%115 = call i32 @printf(ptr noundef @.str.2, i64 noundef %114)
br label %116
116: ; preds = %113, %64
br label %117
117: ; preds = %116, %50
br label %118
118: ; preds = %117, %45
br label %119
119: ; preds = %118
%120 = load i64, ptr %7, align 8
%121 = add nsw i64 %120, 1
store i64 %121, ptr %7, align 8
br label %40, !llvm.loop !8
122: ; preds = %40
br label %123
123: ; preds = %122, %29
br label %14, !llvm.loop !9
124: ; preds = %23, %14
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @sqrt(i64 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
declare i64 @log2(i64 noundef) #1
declare double @log(i64 noundef) #1
declare i64 @floor(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
declare double @pow(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" }
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/tmpiaeh8pjq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld%lld\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%.0lf \00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%lld \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, 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
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
store i32 0, ptr %1, align 4
store double 0.000000e+00, ptr %2, align 8
%14 = call i64 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
%15 = icmp ne i64 %14, 0
br i1 %15, label %.lr.ph5, label %.loopexit
.lr.ph5: ; preds = %0
br label %16
16: ; preds = %.lr.ph5, %126
%17 = load i64, ptr %3, align 8
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %16
%20 = load i64, ptr %4, align 8
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %19
br label %129
23: ; preds = %19, %16
%24 = load i64, ptr %3, align 8
%25 = call i64 @sqrt(i64 noundef %24)
store i64 %25, ptr %5, align 8
%26 = load i64, ptr %4, align 8
%27 = icmp eq i64 %26, 1
br i1 %27, label %28, label %38
28: ; preds = %23
%29 = load i64, ptr %3, align 8
%30 = mul nsw i64 2, %29
%31 = sub nsw i64 1, %30
%32 = sdiv i64 %31, -1
store i64 %32, ptr %13, align 8
%33 = load i64, ptr %3, align 8
%34 = call i64 @log2(i64 noundef %33)
%35 = call i32 @printf(ptr noundef @.str.1, i64 noundef %34)
%36 = load i64, ptr %13, align 8
%37 = call i32 @printf(ptr noundef @.str.2, i64 noundef %36)
br label %126
38: ; preds = %23
store i64 2, ptr %7, align 8
%39 = load i64, ptr %7, align 8
%40 = load i64, ptr %5, align 8
%41 = add nsw i64 %40, 1
%42 = icmp sle i64 %39, %41
br i1 %42, label %.lr.ph2, label %125
.lr.ph2: ; preds = %38
br label %43
43: ; preds = %.lr.ph2, %118
%44 = load i64, ptr %3, align 8
%45 = load i64, ptr %7, align 8
%46 = srem i64 %44, %45
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %117
48: ; preds = %43
%49 = load i64, ptr %3, align 8
%50 = call double @log(i64 noundef %49)
%51 = load i64, ptr %7, align 8
%52 = call double @log(i64 noundef %51)
%53 = fdiv double %50, %52
store double %53, ptr %2, align 8
%54 = load double, ptr %2, align 8
%55 = fadd double %54, 5.000000e-01
%56 = call i64 @floor(double noundef %55)
store i64 %56, ptr %9, align 8
%57 = load double, ptr %2, align 8
%58 = load i64, ptr %9, align 8
%59 = sitofp i64 %58 to double
%60 = fsub double %57, %59
%61 = fcmp olt double %60, 0x3DA5FD7FE1796495
br i1 %61, label %62, label %116
62: ; preds = %48
%63 = load i64, ptr %4, align 8
%64 = call double @log(i64 noundef %63)
%65 = load i64, ptr %7, align 8
%66 = sub nsw i64 %65, 1
%67 = call double @log(i64 noundef %66)
%68 = fdiv double %64, %67
store double %68, ptr %2, align 8
%69 = load double, ptr %2, align 8
%70 = fadd double %69, 5.000000e-01
%71 = call i64 @floor(double noundef %70)
store i64 %71, ptr %9, align 8
%72 = load double, ptr %2, align 8
%73 = load i64, ptr %9, align 8
%74 = sitofp i64 %73 to double
%75 = fsub double %72, %74
%76 = call double @llvm.fabs.f64(double %75)
%77 = fcmp olt double %76, 0x3DA5FD7FE1796495
br i1 %77, label %78, label %115
78: ; preds = %62
%79 = load i64, ptr %7, align 8
%80 = load i64, ptr %4, align 8
%81 = mul nsw i64 %79, %80
%82 = sub nsw i64 1, %81
%83 = load i64, ptr %4, align 8
%84 = add nsw i64 %82, %83
%85 = load i64, ptr %7, align 8
%86 = sub nsw i64 2, %85
%87 = sdiv i64 %84, %86
store i64 %87, ptr %13, align 8
%88 = load i64, ptr %13, align 8
%89 = load i64, ptr %4, align 8
%90 = sub nsw i64 %88, %89
%91 = call i32 @printf(ptr noundef @.str.3, i64 noundef %90)
store i64 0, ptr %13, align 8
store i64 0, ptr %10, align 8
%92 = load i64, ptr %3, align 8
%93 = icmp sgt i64 %92, 0
br i1 %93, label %.lr.ph, label %112
.lr.ph: ; preds = %78
br label %94
94: ; preds = %.lr.ph, %94
%95 = load i64, ptr %3, align 8
%96 = load i64, ptr %7, align 8
%97 = sub nsw i64 %96, 1
%98 = load i64, ptr %10, align 8
%99 = call double @pow(i64 noundef %97, i64 noundef %98)
%100 = fadd double %99, 5.000000e-01
%101 = call i64 @floor(double noundef %100)
%102 = mul nsw i64 %95, %101
%103 = load i64, ptr %13, align 8
%104 = add nsw i64 %103, %102
store i64 %104, ptr %13, align 8
%105 = load i64, ptr %10, align 8
%106 = add nsw i64 %105, 1
store i64 %106, ptr %10, align 8
%107 = load i64, ptr %7, align 8
%108 = load i64, ptr %3, align 8
%109 = sdiv i64 %108, %107
store i64 %109, ptr %3, align 8
%110 = load i64, ptr %3, align 8
%111 = icmp sgt i64 %110, 0
br i1 %111, label %94, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %94
br label %112
112: ; preds = %._crit_edge, %78
%113 = load i64, ptr %13, align 8
%114 = call i32 @printf(ptr noundef @.str.2, i64 noundef %113)
br label %115
115: ; preds = %112, %62
br label %116
116: ; preds = %115, %48
br label %117
117: ; preds = %116, %43
br label %118
118: ; preds = %117
%119 = load i64, ptr %7, align 8
%120 = add nsw i64 %119, 1
store i64 %120, ptr %7, align 8
%121 = load i64, ptr %7, align 8
%122 = load i64, ptr %5, align 8
%123 = add nsw i64 %122, 1
%124 = icmp sle i64 %121, %123
br i1 %124, label %43, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %118
br label %125
125: ; preds = %._crit_edge3, %38
br label %126
126: ; preds = %125, %28
%127 = call i64 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
%128 = icmp ne i64 %127, 0
br i1 %128, label %16, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %126
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %129
129: ; preds = %.loopexit, %22
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @sqrt(i64 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
declare i64 @log2(i64 noundef) #1
declare double @log(i64 noundef) #1
declare i64 @floor(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
declare double @pow(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" }
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/tmpri22ifkm.c'
source_filename = "/tmp/tmpri22ifkm.c"
target datalayout = "e-m:e-p270: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/tmpri22ifkm.c"
target datalayout = "e-m:e-p270: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/tmpouh4s2qh.c'
source_filename = "/tmp/tmpouh4s2qh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @HO_deriv_0(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = call double @pow(double noundef %6, double noundef 1.250000e+00)
%8 = fneg double %7
%9 = load double, ptr %4, align 8
%10 = fmul double %8, %9
%11 = load double, ptr %3, align 8
%12 = fneg double %11
%13 = load double, ptr %4, align 8
%14 = fmul double %12, %13
%15 = load double, ptr %4, align 8
%16 = fmul double %14, %15
%17 = fdiv double %16, 2.000000e+00
%18 = call double @exp(double noundef %17)
%19 = fmul double %10, %18
%20 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01)
%21 = fmul double %19, %20
store double %21, ptr %5, align 8
%22 = load double, ptr %5, align 8
ret double %22
}
declare double @pow(double noundef, double noundef) #1
declare double @exp(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpouh4s2qh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @HO_deriv_0(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = call double @pow(double noundef %6, double noundef 1.250000e+00)
%8 = fneg double %7
%9 = load double, ptr %4, align 8
%10 = fmul double %8, %9
%11 = load double, ptr %3, align 8
%12 = fneg double %11
%13 = load double, ptr %4, align 8
%14 = fmul double %12, %13
%15 = load double, ptr %4, align 8
%16 = fmul double %14, %15
%17 = fdiv double %16, 2.000000e+00
%18 = call double @exp(double noundef %17)
%19 = fmul double %10, %18
%20 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01)
%21 = fmul double %19, %20
store double %21, ptr %5, align 8
%22 = load double, ptr %5, align 8
ret double %22
}
declare double @pow(double noundef, double noundef) #1
declare double @exp(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi1l7jg8u.c'
source_filename = "/tmp/tmpi1l7jg8u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGUSR2 = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"Failed to signal for sleep delay\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"delayed sleep by %d minutes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @delaySleep(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %22, %2
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = mul nsw i32 %9, 60
%11 = icmp slt i32 %8, %10
br i1 %11, label %12, label %25
12: ; preds = %7
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr @SIGUSR2, align 4
%15 = call i64 @kill(i32 noundef %13, i32 noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %12
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %29
20: ; preds = %12
%21 = call i32 @usleep(i32 noundef 20000)
br label %22
22: ; preds = %20
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 600
store i32 %24, ptr %6, align 4
br label %7, !llvm.loop !6
25: ; preds = %7
%26 = load i32, ptr %6, align 4
%27 = sdiv i32 %26, 60
%28 = call i32 @printf(ptr noundef @.str.1, i32 noundef %27)
store i32 0, ptr %3, align 4
br label %29
29: ; preds = %25, %17
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i64 @kill(i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @usleep(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi1l7jg8u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGUSR2 = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"Failed to signal for sleep delay\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"delayed sleep by %d minutes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @delaySleep(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = mul nsw i32 %8, 60
%10 = icmp slt i32 %7, %9
br i1 %10, label %.lr.ph, label %28
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %21
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr @SIGUSR2, align 4
%14 = call i64 @kill(i32 noundef %12, i32 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %32
19: ; preds = %11
%20 = call i32 @usleep(i32 noundef 20000)
br label %21
21: ; preds = %19
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 600
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %4, align 4
%26 = mul nsw i32 %25, 60
%27 = icmp slt i32 %24, %26
br i1 %27, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %28
28: ; preds = %._crit_edge, %2
%29 = load i32, ptr %6, align 4
%30 = sdiv i32 %29, 60
%31 = call i32 @printf(ptr noundef @.str.1, i32 noundef %30)
store i32 0, ptr %3, align 4
br label %32
32: ; preds = %28, %16
%33 = load i32, ptr %3, align 4
ret i32 %33
}
declare i64 @kill(i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @usleep(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp95w53nqk.c'
source_filename = "/tmp/tmp95w53nqk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
br label %4
4: ; preds = %9, %1
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i32 1
store ptr %6, ptr %2, align 8
%7 = load i8, ptr %5, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = load i64, ptr %3, align 8
%11 = add i64 %10, 1
store i64 %11, ptr %3, align 8
br label %4, !llvm.loop !6
12: ; preds = %4
%13 = load i64, ptr %3, align 8
ret i64 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp95w53nqk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i8, ptr %4, i32 1
store ptr %5, ptr %2, align 8
%6 = load i8, ptr %4, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %.lr.ph, label %15
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %8
%9 = load i64, ptr %3, align 8
%10 = add i64 %9, 1
store i64 %10, ptr %3, align 8
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %2, align 8
%13 = load i8, ptr %11, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %15
15: ; preds = %._crit_edge, %1
%16 = load i64, ptr %3, align 8
ret i64 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp3q197b7h.c'
source_filename = "/tmp/tmp3q197b7h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f114(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 @f113(ptr noundef %3)
ret i32 %4
}
declare i32 @f113(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3q197b7h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f114(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 @f113(ptr noundef %3)
ret i32 %4
}
declare i32 @f113(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpypw4it4n.c'
source_filename = "/tmp/tmpypw4it4n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fillbombs(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
store i32 1, ptr %11, align 4
br label %12
12: ; preds = %44, %4
%13 = load i32, ptr %11, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp sle i32 %13, %14
br i1 %15, label %16, label %47
16: ; preds = %12
%17 = call i32 (...) @rand()
%18 = load i32, ptr %6, align 4
%19 = srem i32 %17, %18
store i32 %19, ptr %9, align 4
%20 = call i32 (...) @rand()
%21 = load i32, ptr %7, align 4
%22 = srem i32 %20, %21
store i32 %22, ptr %10, align 4
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [10 x i32], ptr %23, i64 %25
%27 = load i32, ptr %10, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [10 x i32], ptr %26, i64 0, i64 %28
%30 = load i32, ptr %29, align 4
%31 = icmp ne i32 %30, -1
br i1 %31, label %32, label %40
32: ; preds = %16
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %9, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [10 x i32], ptr %33, i64 %35
%37 = load i32, ptr %10, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [10 x i32], ptr %36, i64 0, i64 %38
store i32 -1, ptr %39, align 4
br label %43
40: ; preds = %16
%41 = load i32, ptr %11, align 4
%42 = add nsw i32 %41, -1
store i32 %42, ptr %11, align 4
br label %43
43: ; preds = %40, %32
br label %44
44: ; preds = %43
%45 = load i32, ptr %11, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %11, align 4
br label %12, !llvm.loop !6
47: ; preds = %12
ret void
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpypw4it4n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fillbombs(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
store i32 1, ptr %11, align 4
%12 = load i32, ptr %11, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp sle i32 %12, %13
br i1 %14, label %.lr.ph, label %49
.lr.ph: ; preds = %4
br label %15
15: ; preds = %.lr.ph, %43
%16 = call i32 (...) @rand()
%17 = load i32, ptr %6, align 4
%18 = srem i32 %16, %17
store i32 %18, ptr %9, align 4
%19 = call i32 (...) @rand()
%20 = load i32, ptr %7, align 4
%21 = srem i32 %19, %20
store i32 %21, ptr %10, align 4
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [10 x i32], ptr %22, i64 %24
%26 = load i32, ptr %10, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [10 x i32], ptr %25, i64 0, i64 %27
%29 = load i32, ptr %28, align 4
%30 = icmp ne i32 %29, -1
br i1 %30, label %31, label %39
31: ; preds = %15
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [10 x i32], ptr %32, i64 %34
%36 = load i32, ptr %10, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [10 x i32], ptr %35, i64 0, i64 %37
store i32 -1, ptr %38, align 4
br label %42
39: ; preds = %15
%40 = load i32, ptr %11, align 4
%41 = add nsw i32 %40, -1
store i32 %41, ptr %11, align 4
br label %42
42: ; preds = %39, %31
br label %43
43: ; preds = %42
%44 = load i32, ptr %11, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %11, align 4
%46 = load i32, ptr %11, align 4
%47 = load i32, ptr %8, align 4
%48 = icmp sle i32 %46, %47
br i1 %48, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %49
49: ; preds = %._crit_edge, %4
ret void
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpyn04pn0e.c'
source_filename = "/tmp/tmpyn04pn0e.c"
target datalayout = "e-m:e-p270: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/tmpyn04pn0e.c"
target datalayout = "e-m:e-p270: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/tmp5lrrvp4i.c'
source_filename = "/tmp/tmp5lrrvp4i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_wham_update_conf_energies(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store ptr %6, ptr %15, align 8
store ptr %7, ptr %16, align 8
store i32 0, ptr %17, align 4
br label %19
19: ; preds = %71, %8
%20 = load i32, ptr %17, align 4
%21 = load i32, ptr %14, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %74
23: ; preds = %19
store i32 0, ptr %18, align 4
br label %24
24: ; preds = %54, %23
%25 = load i32, ptr %18, align 4
%26 = load i32, ptr %13, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %57
28: ; preds = %24
%29 = load ptr, ptr %9, align 8
%30 = load i32, ptr %18, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %29, i64 %31
%33 = load double, ptr %32, align 8
%34 = load ptr, ptr %12, align 8
%35 = load i32, ptr %18, align 4
%36 = load i32, ptr %14, align 4
%37 = mul nsw i32 %35, %36
%38 = load i32, ptr %17, align 4
%39 = add nsw i32 %37, %38
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %34, i64 %40
%42 = load double, ptr %41, align 8
%43 = fsub double %33, %42
%44 = load ptr, ptr %11, align 8
%45 = load i32, ptr %18, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds double, ptr %44, i64 %46
%48 = load double, ptr %47, align 8
%49 = fadd double %43, %48
%50 = load ptr, ptr %15, align 8
%51 = load i32, ptr %18, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds double, ptr %50, i64 %52
store double %49, ptr %53, align 8
br label %54
54: ; preds = %28
%55 = load i32, ptr %18, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %18, align 4
br label %24, !llvm.loop !6
57: ; preds = %24
%58 = load ptr, ptr %15, align 8
%59 = load i32, ptr %13, align 4
%60 = call double @_logsumexp_sort_kahan_inplace(ptr noundef %58, i32 noundef %59)
%61 = load ptr, ptr %10, align 8
%62 = load i32, ptr %17, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, ptr %61, i64 %63
%65 = load double, ptr %64, align 8
%66 = fsub double %60, %65
%67 = load ptr, ptr %16, align 8
%68 = load i32, ptr %17, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds double, ptr %67, i64 %69
store double %66, ptr %70, align 8
br label %71
71: ; preds = %57
%72 = load i32, ptr %17, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %17, align 4
br label %19, !llvm.loop !8
74: ; preds = %19
ret void
}
declare double @_logsumexp_sort_kahan_inplace(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5lrrvp4i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_wham_update_conf_energies(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store ptr %6, ptr %15, align 8
store ptr %7, ptr %16, align 8
store i32 0, ptr %17, align 4
%19 = load i32, ptr %17, align 4
%20 = load i32, ptr %14, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph2, label %78
.lr.ph2: ; preds = %8
br label %22
22: ; preds = %.lr.ph2, %72
store i32 0, ptr %18, align 4
%23 = load i32, ptr %18, align 4
%24 = load i32, ptr %13, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %.lr.ph, label %58
.lr.ph: ; preds = %22
br label %26
26: ; preds = %.lr.ph, %52
%27 = load ptr, ptr %9, align 8
%28 = load i32, ptr %18, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds double, ptr %27, i64 %29
%31 = load double, ptr %30, align 8
%32 = load ptr, ptr %12, align 8
%33 = load i32, ptr %18, align 4
%34 = load i32, ptr %14, align 4
%35 = mul nsw i32 %33, %34
%36 = load i32, ptr %17, align 4
%37 = add nsw i32 %35, %36
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, ptr %32, i64 %38
%40 = load double, ptr %39, align 8
%41 = fsub double %31, %40
%42 = load ptr, ptr %11, align 8
%43 = load i32, ptr %18, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, ptr %42, i64 %44
%46 = load double, ptr %45, align 8
%47 = fadd double %41, %46
%48 = load ptr, ptr %15, align 8
%49 = load i32, ptr %18, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds double, ptr %48, i64 %50
store double %47, ptr %51, align 8
br label %52
52: ; preds = %26
%53 = load i32, ptr %18, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %18, align 4
%55 = load i32, ptr %18, align 4
%56 = load i32, ptr %13, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %58
58: ; preds = %._crit_edge, %22
%59 = load ptr, ptr %15, align 8
%60 = load i32, ptr %13, align 4
%61 = call double @_logsumexp_sort_kahan_inplace(ptr noundef %59, i32 noundef %60)
%62 = load ptr, ptr %10, align 8
%63 = load i32, ptr %17, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds double, ptr %62, i64 %64
%66 = load double, ptr %65, align 8
%67 = fsub double %61, %66
%68 = load ptr, ptr %16, align 8
%69 = load i32, ptr %17, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds double, ptr %68, i64 %70
store double %67, ptr %71, align 8
br label %72
72: ; preds = %58
%73 = load i32, ptr %17, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %17, align 4
%75 = load i32, ptr %17, align 4
%76 = load i32, ptr %14, align 4
%77 = icmp slt i32 %75, %76
br i1 %77, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %72
br label %78
78: ; preds = %._crit_edge3, %8
ret void
}
declare double @_logsumexp_sort_kahan_inplace(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpzrydmg1r.c'
source_filename = "/tmp/tmpzrydmg1r.c"
target datalayout = "e-m:e-p270: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/tmpzrydmg1r.c"
target datalayout = "e-m:e-p270: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/tmpqwox4b1z.c'
source_filename = "/tmp/tmpqwox4b1z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @blinkD() #0 {
%1 = call i32 (...) @blinkdash()
%2 = call i32 (...) @blinkdot()
%3 = call i32 (...) @blinkdot()
%4 = call i32 @sleep(double noundef 1.500000e+00)
ret i32 0
}
declare i32 @blinkdash(...) #1
declare i32 @blinkdot(...) #1
declare i32 @sleep(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqwox4b1z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @blinkD() #0 {
%1 = call i32 (...) @blinkdash()
%2 = call i32 (...) @blinkdot()
%3 = call i32 (...) @blinkdot()
%4 = call i32 @sleep(double noundef 1.500000e+00)
ret i32 0
}
declare i32 @blinkdash(...) #1
declare i32 @blinkdot(...) #1
declare i32 @sleep(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn19h8mg_.c'
source_filename = "/tmp/tmpn19h8mg_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bla1lt(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, 10
%5 = load i32, ptr @INT_MIN, align 4
%6 = add nsw i32 %5, 10
%7 = icmp slt i32 %4, %6
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 (...) @this_comparison_is_false()
br label %10
10: ; preds = %8, %1
ret void
}
declare i32 @this_comparison_is_false(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn19h8mg_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bla1lt(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, 10
%5 = load i32, ptr @INT_MIN, align 4
%6 = add nsw i32 %5, 10
%7 = icmp slt i32 %4, %6
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 (...) @this_comparison_is_false()
br label %10
10: ; preds = %8, %1
ret void
}
declare i32 @this_comparison_is_false(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm_smeode.c'
source_filename = "/tmp/tmpm_smeode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @es2(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %20, %2
%8 = load i32, ptr %6, align 4
%9 = sext i32 %8 to i64
%10 = load i64, ptr %4, align 8
%11 = icmp ult i64 %9, %10
br i1 %11, label %12, label %23
12: ; preds = %7
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, %17
store i32 %19, ptr %5, align 4
br label %20
20: ; preds = %12
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
br label %7, !llvm.loop !6
23: ; preds = %7
%24 = load i32, ptr %5, align 4
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %24)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm_smeode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @es2(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = sext i32 %7 to i64
%9 = load i64, ptr %4, align 8
%10 = icmp ult i64 %8, %9
br i1 %10, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %19
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, %16
store i32 %18, ptr %5, align 4
br label %19
19: ; preds = %11
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %6, align 4
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = load i64, ptr %4, align 8
%25 = icmp ult i64 %23, %24
br i1 %25, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %26
26: ; preds = %._crit_edge, %2
%27 = load i32, ptr %5, align 4
%28 = call i32 @printf(ptr noundef @.str, i32 noundef %27)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0u1b59px.c'
source_filename = "/tmp/tmp0u1b59px.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"hello world!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0u1b59px.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"hello world!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2bc14pqk.c'
source_filename = "/tmp/tmp2bc14pqk.c"
target datalayout = "e-m:e-p270: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/tmp2bc14pqk.c"
target datalayout = "e-m:e-p270: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/tmptcrl9it2.c'
source_filename = "/tmp/tmptcrl9it2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Error Tests:\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Simple Simulation:\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"Full Simulation:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 (...) @runSomeErrorTests()
%8 = call i32 @printf(ptr noundef @.str.1)
%9 = call i32 @printf(ptr noundef @.str.2)
%10 = call i32 (...) @runSimpleSimulation()
%11 = call i32 @printf(ptr noundef @.str.1)
%12 = call i32 @printf(ptr noundef @.str.3)
%13 = call i32 @runSimulation(i32 noundef 1)
%14 = call i32 @printf(ptr noundef @.str.1)
%15 = call i32 @sleep(i32 noundef 1)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @runSomeErrorTests(...) #1
declare i32 @runSimpleSimulation(...) #1
declare i32 @runSimulation(i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptcrl9it2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Error Tests:\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Simple Simulation:\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"Full Simulation:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 (...) @runSomeErrorTests()
%8 = call i32 @printf(ptr noundef @.str.1)
%9 = call i32 @printf(ptr noundef @.str.2)
%10 = call i32 (...) @runSimpleSimulation()
%11 = call i32 @printf(ptr noundef @.str.1)
%12 = call i32 @printf(ptr noundef @.str.3)
%13 = call i32 @runSimulation(i32 noundef 1)
%14 = call i32 @printf(ptr noundef @.str.1)
%15 = call i32 @sleep(i32 noundef 1)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @runSomeErrorTests(...) #1
declare i32 @runSimpleSimulation(...) #1
declare i32 @runSimulation(i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppgnbp404.c'
source_filename = "/tmp/tmppgnbp404.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 12
br i1 %4, label %5, label %6
5: ; preds = %1
br label %15
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = icmp ne i32 %7, 17
br i1 %8, label %9, label %15
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = icmp eq i32 %10, 15
br i1 %11, label %12, label %13
12: ; preds = %9
br label %15
13: ; preds = %9
%14 = call i32 (...) @abort() #2
unreachable
15: ; preds = %5, %12, %6
ret void
}
; 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/tmppgnbp404.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 12
br i1 %4, label %5, label %6
5: ; preds = %1
br label %15
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = icmp ne i32 %7, 17
br i1 %8, label %9, label %15
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = icmp eq i32 %10, 15
br i1 %11, label %12, label %13
12: ; preds = %9
br label %15
13: ; preds = %9
%14 = call i32 (...) @abort() #2
unreachable
15: ; preds = %12, %6, %5
ret void
}
; 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/tmp8_ai_o3x.c'
source_filename = "/tmp/tmp8_ai_o3x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LOG_NOTICE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"Watchtab \22%s\22 loaded successfully\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @log_watchtab_loaded(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @LOG_NOTICE, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @report(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
ret void
}
declare i32 @report(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8_ai_o3x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LOG_NOTICE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"Watchtab \22%s\22 loaded successfully\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @log_watchtab_loaded(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @LOG_NOTICE, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @report(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
ret void
}
declare i32 @report(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplh2te8hl.c'
source_filename = "/tmp/tmplh2te8hl.c"
target datalayout = "e-m:e-p270: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/tmplh2te8hl.c"
target datalayout = "e-m:e-p270: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/tmpecy69quc.c'
source_filename = "/tmp/tmpecy69quc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcc_dtrsm_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
store ptr %0, ptr %12, align 8
store ptr %1, ptr %13, align 8
store ptr %2, ptr %14, align 8
store ptr %3, ptr %15, align 8
store ptr %4, ptr %16, align 8
store ptr %5, ptr %17, align 8
store ptr %6, ptr %18, align 8
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
%23 = load ptr, ptr %12, align 8
%24 = load ptr, ptr %13, align 8
%25 = load ptr, ptr %14, align 8
%26 = load ptr, ptr %15, align 8
%27 = load ptr, ptr %16, align 8
%28 = load ptr, ptr %17, align 8
%29 = load ptr, ptr %18, align 8
%30 = load ptr, ptr %19, align 8
%31 = load ptr, ptr %20, align 8
%32 = load ptr, ptr %21, align 8
%33 = load ptr, ptr %22, align 8
%34 = call i32 @dtrsm_(ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33)
ret void
}
declare i32 @dtrsm_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpecy69quc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcc_dtrsm_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
store ptr %0, ptr %12, align 8
store ptr %1, ptr %13, align 8
store ptr %2, ptr %14, align 8
store ptr %3, ptr %15, align 8
store ptr %4, ptr %16, align 8
store ptr %5, ptr %17, align 8
store ptr %6, ptr %18, align 8
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
%23 = load ptr, ptr %12, align 8
%24 = load ptr, ptr %13, align 8
%25 = load ptr, ptr %14, align 8
%26 = load ptr, ptr %15, align 8
%27 = load ptr, ptr %16, align 8
%28 = load ptr, ptr %17, align 8
%29 = load ptr, ptr %18, align 8
%30 = load ptr, ptr %19, align 8
%31 = load ptr, ptr %20, align 8
%32 = load ptr, ptr %21, align 8
%33 = load ptr, ptr %22, align 8
%34 = call i32 @dtrsm_(ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33)
ret void
}
declare i32 @dtrsm_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjbxbqq49.c'
source_filename = "/tmp/tmpjbxbqq49.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_array(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %14, %1
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 15
br i1 %6, label %7, label %17
7: ; preds = %4
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %8, i64 %10
%12 = load i32, ptr %11, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12)
br label %14
14: ; preds = %7
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
br label %4, !llvm.loop !6
17: ; preds = %4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjbxbqq49.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_array(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 15
br i1 %5, label %.lr.ph, label %18
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %13
%7 = load ptr, ptr %2, align 8
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i32, ptr %7, i64 %9
%11 = load i32, ptr %10, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11)
br label %13
13: ; preds = %6
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %16, 15
br i1 %17, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %1
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgc_mu74x.c'
source_filename = "/tmp/tmpgc_mu74x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"%s is no longer needed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @warn_no_longer_needed(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 @warning(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @warning(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/tmpgc_mu74x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"%s is no longer needed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @warn_no_longer_needed(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 @warning(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @warning(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/tmpqddu0g6n.c'
source_filename = "/tmp/tmpqddu0g6n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @loadDirectory(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %39
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = call ptr @readdir(ptr noundef %9)
store ptr %10, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %18
12: ; preds = %8
%13 = call ptr @malloc(i32 noundef 16)
store ptr %13, ptr %3, align 8
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %3, align 8
store ptr %14, ptr %15, align 8
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
store ptr null, ptr %17, align 8
br label %18
18: ; preds = %12, %8
br label %19
19: ; preds = %23, %18
%20 = load ptr, ptr %2, align 8
%21 = call ptr @readdir(ptr noundef %20)
store ptr %21, ptr %4, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %38
23: ; preds = %19
%24 = load ptr, ptr %3, align 8
%25 = load ptr, ptr %3, align 8
%26 = call i32 @curslen(ptr noundef %25)
%27 = add nsw i32 %26, 2
%28 = sext i32 %27 to i64
%29 = mul i64 %28, 8
%30 = trunc i64 %29 to i32
%31 = call ptr @realloc(ptr noundef %24, i32 noundef %30)
store ptr %31, ptr %3, align 8
%32 = load ptr, ptr %3, align 8
%33 = call ptr @fileslast(ptr noundef %32)
store ptr %33, ptr %5, align 8
%34 = load ptr, ptr %4, align 8
%35 = load ptr, ptr %5, align 8
store ptr %34, ptr %35, align 8
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i32 1
store ptr %37, ptr %5, align 8
store ptr null, ptr %37, align 8
br label %19, !llvm.loop !6
38: ; preds = %19
br label %39
39: ; preds = %38, %1
%40 = load ptr, ptr %3, align 8
ret ptr %40
}
declare ptr @readdir(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @curslen(ptr noundef) #1
declare ptr @fileslast(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpqddu0g6n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @loadDirectory(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %41
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = call ptr @readdir(ptr noundef %9)
store ptr %10, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %18
12: ; preds = %8
%13 = call ptr @malloc(i32 noundef 16)
store ptr %13, ptr %3, align 8
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %3, align 8
store ptr %14, ptr %15, align 8
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
store ptr null, ptr %17, align 8
br label %18
18: ; preds = %12, %8
%19 = load ptr, ptr %2, align 8
%20 = call ptr @readdir(ptr noundef %19)
store ptr %20, ptr %4, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %.lr.ph, label %40
.lr.ph: ; preds = %18
br label %22
22: ; preds = %.lr.ph, %22
%23 = load ptr, ptr %3, align 8
%24 = load ptr, ptr %3, align 8
%25 = call i32 @curslen(ptr noundef %24)
%26 = add nsw i32 %25, 2
%27 = sext i32 %26 to i64
%28 = mul i64 %27, 8
%29 = trunc i64 %28 to i32
%30 = call ptr @realloc(ptr noundef %23, i32 noundef %29)
store ptr %30, ptr %3, align 8
%31 = load ptr, ptr %3, align 8
%32 = call ptr @fileslast(ptr noundef %31)
store ptr %32, ptr %5, align 8
%33 = load ptr, ptr %4, align 8
%34 = load ptr, ptr %5, align 8
store ptr %33, ptr %34, align 8
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i32 1
store ptr %36, ptr %5, align 8
store ptr null, ptr %36, align 8
%37 = load ptr, ptr %2, align 8
%38 = call ptr @readdir(ptr noundef %37)
store ptr %38, ptr %4, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %40
40: ; preds = %._crit_edge, %18
br label %41
41: ; preds = %40, %1
%42 = load ptr, ptr %3, align 8
ret ptr %42
}
declare ptr @readdir(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @curslen(ptr noundef) #1
declare ptr @fileslast(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpd26zy458.c'
source_filename = "/tmp/tmpd26zy458.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_suffix(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 ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i32 @strcpy(ptr noundef %9, ptr noundef %10)
%12 = load ptr, ptr %5, align 8
%13 = call i32 @strcpy(ptr noundef %12, ptr noundef @.str)
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %8, align 8
%15 = load ptr, ptr %8, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %3
%20 = load ptr, ptr %5, align 8
%21 = call i32 @strcpy(ptr noundef %20, ptr noundef @.str)
br label %44
22: ; preds = %3
%23 = load ptr, ptr %8, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %8, align 8
br label %25
25: ; preds = %40, %22
%26 = load ptr, ptr %8, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %43
30: ; preds = %25
%31 = load ptr, ptr %8, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 47
br i1 %34, label %35, label %40
35: ; preds = %30
%36 = load ptr, ptr %5, align 8
%37 = load ptr, ptr %8, align 8
%38 = call i32 @strcpy(ptr noundef %36, ptr noundef %37)
%39 = load ptr, ptr %8, align 8
store i8 0, ptr %39, align 1
br label %43
40: ; preds = %30
%41 = load ptr, ptr %8, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %8, align 8
br label %25, !llvm.loop !6
43: ; preds = %35, %25
br label %44
44: ; preds = %43, %19
%45 = load i32, ptr %7, align 4
ret i32 %45
}
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/tmpd26zy458.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_suffix(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 ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i32 @strcpy(ptr noundef %9, ptr noundef %10)
%12 = load ptr, ptr %5, align 8
%13 = call i32 @strcpy(ptr noundef %12, ptr noundef @.str)
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %8, align 8
%15 = load ptr, ptr %8, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %3
%20 = load ptr, ptr %5, align 8
%21 = call i32 @strcpy(ptr noundef %20, ptr noundef @.str)
br label %47
22: ; preds = %3
%23 = load ptr, ptr %8, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %8, align 8
%25 = load ptr, ptr %8, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 0
br i1 %28, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %22
br label %29
29: ; preds = %.lr.ph, %39
%30 = load ptr, ptr %8, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 47
br i1 %33, label %34, label %39
34: ; preds = %29
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %8, align 8
%37 = call i32 @strcpy(ptr noundef %35, ptr noundef %36)
%38 = load ptr, ptr %8, align 8
store i8 0, ptr %38, align 1
br label %46
39: ; preds = %29
%40 = load ptr, ptr %8, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %8, align 8
%42 = load ptr, ptr %8, align 8
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %44, 0
br i1 %45, label %29, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %39
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %22
br label %46
46: ; preds = %.loopexit, %34
br label %47
47: ; preds = %46, %19
%48 = load i32, ptr %7, align 4
ret i32 %48
}
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/tmphmohgdz8.c'
source_filename = "/tmp/tmphmohgdz8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_CUR = 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/tmphmohgdz8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_CUR = 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/tmpkh5j6093.c'
source_filename = "/tmp/tmpkh5j6093.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-t\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-x\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 = load i32, ptr %4, align 4
%8 = icmp sgt i32 %7, 1
br i1 %8, label %9, label %76
9: ; preds = %2
store i32 1, ptr %6, align 4
br label %10
10: ; preds = %72, %9
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %75
14: ; preds = %10
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds ptr, ptr %15, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 0
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 45
br i1 %23, label %24, label %42
24: ; preds = %14
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds ptr, ptr %25, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 1
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 115
br i1 %33, label %34, label %42
34: ; preds = %24
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %6, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds ptr, ptr %35, i64 %37
%39 = load ptr, ptr %38, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 2
%41 = call i32 @MDString(ptr noundef %40)
br label %71
42: ; preds = %24, %14
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %6, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
%47 = load ptr, ptr %46, align 8
%48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str)
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %42
%51 = call i32 (...) @MDTimeTrial()
br label %70
52: ; preds = %42
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %6, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds ptr, ptr %53, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = call i64 @strcmp(ptr noundef %57, ptr noundef @.str.1)
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %62
60: ; preds = %52
%61 = call i32 (...) @MDTestSuite()
br label %69
62: ; preds = %52
%63 = load ptr, ptr %5, align 8
%64 = load i32, ptr %6, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds ptr, ptr %63, i64 %65
%67 = load ptr, ptr %66, align 8
%68 = call i32 @MDFile(ptr noundef %67)
br label %69
69: ; preds = %62, %60
br label %70
70: ; preds = %69, %50
br label %71
71: ; preds = %70, %34
br label %72
72: ; preds = %71
%73 = load i32, ptr %6, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %6, align 4
br label %10, !llvm.loop !6
75: ; preds = %10
br label %78
76: ; preds = %2
%77 = call i32 (...) @MDFilter()
br label %78
78: ; preds = %76, %75
ret i32 0
}
declare i32 @MDString(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @MDTimeTrial(...) #1
declare i32 @MDTestSuite(...) #1
declare i32 @MDFile(ptr noundef) #1
declare i32 @MDFilter(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpkh5j6093.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-t\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-x\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 = load i32, ptr %4, align 4
%8 = icmp sgt i32 %7, 1
br i1 %8, label %9, label %78
9: ; preds = %2
store i32 1, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %77
.lr.ph: ; preds = %9
br label %13
13: ; preds = %.lr.ph, %71
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds ptr, ptr %14, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 0
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 45
br i1 %22, label %23, label %41
23: ; preds = %13
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %24, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 1
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 115
br i1 %32, label %33, label %41
33: ; preds = %23
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds ptr, ptr %34, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 2
%40 = call i32 @MDString(ptr noundef %39)
br label %70
41: ; preds = %23, %13
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds ptr, ptr %42, i64 %44
%46 = load ptr, ptr %45, align 8
%47 = call i64 @strcmp(ptr noundef %46, ptr noundef @.str)
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %41
%50 = call i32 (...) @MDTimeTrial()
br label %69
51: ; preds = %41
%52 = load ptr, ptr %5, align 8
%53 = load i32, ptr %6, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds ptr, ptr %52, i64 %54
%56 = load ptr, ptr %55, align 8
%57 = call i64 @strcmp(ptr noundef %56, ptr noundef @.str.1)
%58 = icmp eq i64 %57, 0
br i1 %58, label %59, label %61
59: ; preds = %51
%60 = call i32 (...) @MDTestSuite()
br label %68
61: ; preds = %51
%62 = load ptr, ptr %5, align 8
%63 = load i32, ptr %6, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds ptr, ptr %62, i64 %64
%66 = load ptr, ptr %65, align 8
%67 = call i32 @MDFile(ptr noundef %66)
br label %68
68: ; preds = %61, %59
br label %69
69: ; preds = %68, %49
br label %70
70: ; preds = %69, %33
br label %71
71: ; preds = %70
%72 = load i32, ptr %6, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %6, align 4
%74 = load i32, ptr %6, align 4
%75 = load i32, ptr %4, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %71
br label %77
77: ; preds = %._crit_edge, %9
br label %80
78: ; preds = %2
%79 = call i32 (...) @MDFilter()
br label %80
80: ; preds = %78, %77
ret i32 0
}
declare i32 @MDString(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @MDTimeTrial(...) #1
declare i32 @MDTestSuite(...) #1
declare i32 @MDFile(ptr noundef) #1
declare i32 @MDFilter(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpef3z9jgy.c'
source_filename = "/tmp/tmpef3z9jgy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lu_decompose(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca double, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %13
13: ; preds = %77, %4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %80
17: ; preds = %13
%18 = load i32, ptr %9, align 4
%19 = sitofp i32 %18 to double
%20 = load ptr, ptr %7, align 8
%21 = load i32, ptr %9, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds double, ptr %20, i64 %22
store double %19, ptr %23, align 8
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %24, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = getelementptr inbounds double, ptr %28, i64 0
%30 = load double, ptr %29, align 8
%31 = call double @llvm.fabs.f64(double %30)
%32 = load ptr, ptr %8, align 8
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, ptr %32, i64 %34
store double %31, ptr %35, align 8
store i32 1, ptr %10, align 4
br label %36
36: ; preds = %73, %17
%37 = load i32, ptr %10, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %76
40: ; preds = %36
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %9, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds ptr, ptr %41, i64 %43
%45 = load ptr, ptr %44, align 8
%46 = load i32, ptr %10, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, ptr %45, i64 %47
%49 = load double, ptr %48, align 8
%50 = call double @llvm.fabs.f64(double %49)
%51 = load ptr, ptr %8, align 8
%52 = load i32, ptr %9, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds double, ptr %51, i64 %53
%55 = load double, ptr %54, align 8
%56 = fcmp ogt double %50, %55
br i1 %56, label %57, label %72
57: ; preds = %40
%58 = load ptr, ptr %5, align 8
%59 = load i32, ptr %9, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds ptr, ptr %58, i64 %60
%62 = load ptr, ptr %61, align 8
%63 = load i32, ptr %10, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds double, ptr %62, i64 %64
%66 = load double, ptr %65, align 8
%67 = call double @llvm.fabs.f64(double %66)
%68 = load ptr, ptr %8, align 8
%69 = load i32, ptr %9, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds double, ptr %68, i64 %70
store double %67, ptr %71, align 8
br label %72
72: ; preds = %57, %40
br label %73
73: ; preds = %72
%74 = load i32, ptr %10, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %10, align 4
br label %36, !llvm.loop !6
76: ; preds = %36
br label %77
77: ; preds = %76
%78 = load i32, ptr %9, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %9, align 4
br label %13, !llvm.loop !8
80: ; preds = %13
store i32 0, ptr %11, align 4
br label %81
81: ; preds = %172, %80
%82 = load i32, ptr %11, align 4
%83 = load i32, ptr %6, align 4
%84 = sub nsw i32 %83, 1
%85 = icmp slt i32 %82, %84
br i1 %85, label %86, label %175
86: ; preds = %81
%87 = load ptr, ptr %5, align 8
%88 = load ptr, ptr %7, align 8
%89 = load ptr, ptr %8, align 8
%90 = load i32, ptr %6, align 4
%91 = load i32, ptr %11, align 4
%92 = call i32 @lu_pivot(ptr noundef %87, ptr noundef %88, ptr noundef %89, i32 noundef %90, i32 noundef %91)
%93 = load i32, ptr %11, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %9, align 4
br label %95
95: ; preds = %168, %86
%96 = load i32, ptr %9, align 4
%97 = load i32, ptr %6, align 4
%98 = icmp slt i32 %96, %97
br i1 %98, label %99, label %171
99: ; preds = %95
%100 = load ptr, ptr %5, align 8
%101 = load i32, ptr %9, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds ptr, ptr %100, i64 %102
%104 = load ptr, ptr %103, align 8
%105 = load i32, ptr %11, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds double, ptr %104, i64 %106
%108 = load double, ptr %107, align 8
%109 = load ptr, ptr %5, align 8
%110 = load i32, ptr %11, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds ptr, ptr %109, i64 %111
%113 = load ptr, ptr %112, align 8
%114 = load i32, ptr %11, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds double, ptr %113, i64 %115
%117 = load double, ptr %116, align 8
%118 = fdiv double %108, %117
store double %118, ptr %12, align 8
%119 = load double, ptr %12, align 8
%120 = load ptr, ptr %5, align 8
%121 = load i32, ptr %9, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds ptr, ptr %120, i64 %122
%124 = load ptr, ptr %123, align 8
%125 = load i32, ptr %11, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds double, ptr %124, i64 %126
store double %119, ptr %127, align 8
%128 = load i32, ptr %11, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %10, align 4
br label %130
130: ; preds = %164, %99
%131 = load i32, ptr %10, align 4
%132 = load i32, ptr %6, align 4
%133 = icmp slt i32 %131, %132
br i1 %133, label %134, label %167
134: ; preds = %130
%135 = load ptr, ptr %5, align 8
%136 = load i32, ptr %9, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds ptr, ptr %135, i64 %137
%139 = load ptr, ptr %138, align 8
%140 = load i32, ptr %10, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds double, ptr %139, i64 %141
%143 = load double, ptr %142, align 8
%144 = load double, ptr %12, align 8
%145 = load ptr, ptr %5, align 8
%146 = load i32, ptr %11, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds ptr, ptr %145, i64 %147
%149 = load ptr, ptr %148, align 8
%150 = load i32, ptr %10, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds double, ptr %149, i64 %151
%153 = load double, ptr %152, align 8
%154 = fneg double %144
%155 = call double @llvm.fmuladd.f64(double %154, double %153, double %143)
%156 = load ptr, ptr %5, align 8
%157 = load i32, ptr %9, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds ptr, ptr %156, i64 %158
%160 = load ptr, ptr %159, align 8
%161 = load i32, ptr %10, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds double, ptr %160, i64 %162
store double %155, ptr %163, align 8
br label %164
164: ; preds = %134
%165 = load i32, ptr %10, align 4
%166 = add nsw i32 %165, 1
store i32 %166, ptr %10, align 4
br label %130, !llvm.loop !9
167: ; preds = %130
br label %168
168: ; preds = %167
%169 = load i32, ptr %9, align 4
%170 = add nsw i32 %169, 1
store i32 %170, ptr %9, align 4
br label %95, !llvm.loop !10
171: ; preds = %95
br label %172
172: ; preds = %171
%173 = load i32, ptr %11, align 4
%174 = add nsw i32 %173, 1
store i32 %174, ptr %11, align 4
br label %81, !llvm.loop !11
175: ; preds = %81
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare i32 @lu_pivot(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpef3z9jgy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lu_decompose(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca double, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph2, label %84
.lr.ph2: ; preds = %4
br label %16
16: ; preds = %.lr.ph2, %78
%17 = load i32, ptr %9, align 4
%18 = sitofp i32 %17 to double
%19 = load ptr, ptr %7, align 8
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds double, ptr %19, i64 %21
store double %18, ptr %22, align 8
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = getelementptr inbounds double, ptr %27, i64 0
%29 = load double, ptr %28, align 8
%30 = call double @llvm.fabs.f64(double %29)
%31 = load ptr, ptr %8, align 8
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds double, ptr %31, i64 %33
store double %30, ptr %34, align 8
store i32 1, ptr %10, align 4
%35 = load i32, ptr %10, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %.lr.ph, label %77
.lr.ph: ; preds = %16
br label %38
38: ; preds = %.lr.ph, %71
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %9, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds ptr, ptr %39, i64 %41
%43 = load ptr, ptr %42, align 8
%44 = load i32, ptr %10, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds double, ptr %43, i64 %45
%47 = load double, ptr %46, align 8
%48 = call double @llvm.fabs.f64(double %47)
%49 = load ptr, ptr %8, align 8
%50 = load i32, ptr %9, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, ptr %49, i64 %51
%53 = load double, ptr %52, align 8
%54 = fcmp ogt double %48, %53
br i1 %54, label %55, label %70
55: ; preds = %38
%56 = load ptr, ptr %5, align 8
%57 = load i32, ptr %9, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %56, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = load i32, ptr %10, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %60, i64 %62
%64 = load double, ptr %63, align 8
%65 = call double @llvm.fabs.f64(double %64)
%66 = load ptr, ptr %8, align 8
%67 = load i32, ptr %9, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, ptr %66, i64 %68
store double %65, ptr %69, align 8
br label %70
70: ; preds = %55, %38
br label %71
71: ; preds = %70
%72 = load i32, ptr %10, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %10, align 4
%74 = load i32, ptr %10, align 4
%75 = load i32, ptr %6, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %71
br label %77
77: ; preds = %._crit_edge, %16
br label %78
78: ; preds = %77
%79 = load i32, ptr %9, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %9, align 4
%81 = load i32, ptr %9, align 4
%82 = load i32, ptr %6, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %16, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %78
br label %84
84: ; preds = %._crit_edge3, %4
store i32 0, ptr %11, align 4
%85 = load i32, ptr %11, align 4
%86 = load i32, ptr %6, align 4
%87 = sub nsw i32 %86, 1
%88 = icmp slt i32 %85, %87
br i1 %88, label %.lr.ph11, label %186
.lr.ph11: ; preds = %84
br label %89
89: ; preds = %.lr.ph11, %179
%90 = load ptr, ptr %5, align 8
%91 = load ptr, ptr %7, align 8
%92 = load ptr, ptr %8, align 8
%93 = load i32, ptr %6, align 4
%94 = load i32, ptr %11, align 4
%95 = call i32 @lu_pivot(ptr noundef %90, ptr noundef %91, ptr noundef %92, i32 noundef %93, i32 noundef %94)
%96 = load i32, ptr %11, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %9, align 4
%98 = load i32, ptr %9, align 4
%99 = load i32, ptr %6, align 4
%100 = icmp slt i32 %98, %99
br i1 %100, label %.lr.ph8, label %178
.lr.ph8: ; preds = %89
br label %101
101: ; preds = %.lr.ph8, %172
%102 = load ptr, ptr %5, align 8
%103 = load i32, ptr %9, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds ptr, ptr %102, i64 %104
%106 = load ptr, ptr %105, align 8
%107 = load i32, ptr %11, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds double, ptr %106, i64 %108
%110 = load double, ptr %109, align 8
%111 = load ptr, ptr %5, align 8
%112 = load i32, ptr %11, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds ptr, ptr %111, i64 %113
%115 = load ptr, ptr %114, align 8
%116 = load i32, ptr %11, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds double, ptr %115, i64 %117
%119 = load double, ptr %118, align 8
%120 = fdiv double %110, %119
store double %120, ptr %12, align 8
%121 = load double, ptr %12, align 8
%122 = load ptr, ptr %5, align 8
%123 = load i32, ptr %9, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds ptr, ptr %122, i64 %124
%126 = load ptr, ptr %125, align 8
%127 = load i32, ptr %11, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds double, ptr %126, i64 %128
store double %121, ptr %129, align 8
%130 = load i32, ptr %11, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %10, align 4
%132 = load i32, ptr %10, align 4
%133 = load i32, ptr %6, align 4
%134 = icmp slt i32 %132, %133
br i1 %134, label %.lr.ph5, label %171
.lr.ph5: ; preds = %101
br label %135
135: ; preds = %.lr.ph5, %165
%136 = load ptr, ptr %5, align 8
%137 = load i32, ptr %9, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds ptr, ptr %136, i64 %138
%140 = load ptr, ptr %139, align 8
%141 = load i32, ptr %10, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds double, ptr %140, i64 %142
%144 = load double, ptr %143, align 8
%145 = load double, ptr %12, align 8
%146 = load ptr, ptr %5, align 8
%147 = load i32, ptr %11, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds ptr, ptr %146, i64 %148
%150 = load ptr, ptr %149, align 8
%151 = load i32, ptr %10, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds double, ptr %150, i64 %152
%154 = load double, ptr %153, align 8
%155 = fneg double %145
%156 = call double @llvm.fmuladd.f64(double %155, double %154, double %144)
%157 = load ptr, ptr %5, align 8
%158 = load i32, ptr %9, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds ptr, ptr %157, i64 %159
%161 = load ptr, ptr %160, align 8
%162 = load i32, ptr %10, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds double, ptr %161, i64 %163
store double %156, ptr %164, align 8
br label %165
165: ; preds = %135
%166 = load i32, ptr %10, align 4
%167 = add nsw i32 %166, 1
store i32 %167, ptr %10, align 4
%168 = load i32, ptr %10, align 4
%169 = load i32, ptr %6, align 4
%170 = icmp slt i32 %168, %169
br i1 %170, label %135, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %165
br label %171
171: ; preds = %._crit_edge6, %101
br label %172
172: ; preds = %171
%173 = load i32, ptr %9, align 4
%174 = add nsw i32 %173, 1
store i32 %174, ptr %9, align 4
%175 = load i32, ptr %9, align 4
%176 = load i32, ptr %6, align 4
%177 = icmp slt i32 %175, %176
br i1 %177, label %101, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %172
br label %178
178: ; preds = %._crit_edge9, %89
br label %179
179: ; preds = %178
%180 = load i32, ptr %11, align 4
%181 = add nsw i32 %180, 1
store i32 %181, ptr %11, align 4
%182 = load i32, ptr %11, align 4
%183 = load i32, ptr %6, align 4
%184 = sub nsw i32 %183, 1
%185 = icmp slt i32 %182, %184
br i1 %185, label %89, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %179
br label %186
186: ; preds = %._crit_edge12, %84
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare i32 @lu_pivot(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmp87ne3p2h.c'
source_filename = "/tmp/tmp87ne3p2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @piemathPower(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call double @pow(double noundef %5, double noundef %6) #2
ret double %7
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmp87ne3p2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @piemathPower(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call double @pow(double noundef %5, double noundef %6) #2
ret double %7
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_tyxsonz.c'
source_filename = "/tmp/tmp_tyxsonz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_tyxsonz.c"
target datalayout = "e-m:e-p270: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/tmplz71ppg3.c'
source_filename = "/tmp/tmplz71ppg3.c"
target datalayout = "e-m:e-p270: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/tmplz71ppg3.c"
target datalayout = "e-m:e-p270: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/tmp574_oqm3.c'
source_filename = "/tmp/tmp574_oqm3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%16.16f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store double 0.000000e+00, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %17, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 10
br i1 %6, label %7, label %20
7: ; preds = %4
%8 = load double, ptr %2, align 8
%9 = call i32 @printf(ptr noundef @.str, double noundef %8)
%10 = load double, ptr %2, align 8
%11 = load double, ptr %2, align 8
%12 = call double @f(double noundef %11)
%13 = load double, ptr %2, align 8
%14 = call double @fd(double noundef %13)
%15 = fdiv double %12, %14
%16 = fsub double %10, %15
store double %16, ptr %2, align 8
br label %17
17: ; preds = %7
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
br label %4, !llvm.loop !6
20: ; preds = %4
ret i32 0
}
declare i32 @printf(ptr noundef, double noundef) #1
declare double @f(double noundef) #1
declare double @fd(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp574_oqm3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%16.16f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store double 0.000000e+00, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 10
br i1 %5, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %16
%7 = load double, ptr %2, align 8
%8 = call i32 @printf(ptr noundef @.str, double noundef %7)
%9 = load double, ptr %2, align 8
%10 = load double, ptr %2, align 8
%11 = call double @f(double noundef %10)
%12 = load double, ptr %2, align 8
%13 = call double @fd(double noundef %12)
%14 = fdiv double %11, %13
%15 = fsub double %9, %14
store double %15, ptr %2, align 8
br label %16
16: ; preds = %6
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %19, 10
br i1 %20, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, double noundef) #1
declare double @f(double noundef) #1
declare double @fd(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"}
|
; ModuleID = '/tmp/tmp06exd2n3.c'
source_filename = "/tmp/tmp06exd2n3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = call double (...) @tic()
store double %6, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %21, %0
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 1000000
br i1 %9, label %10, label %24
10: ; preds = %7
%11 = call double (...) @rand_double()
%12 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %11, double -1.000000e+00)
store double %12, ptr %2, align 8
%13 = load double, ptr %2, align 8
%14 = call double @erf(double noundef %13) #4
store double %14, ptr %3, align 8
%15 = load double, ptr %3, align 8
%16 = load double, ptr %3, align 8
%17 = fcmp une double %15, %16
br i1 %17, label %18, label %20
18: ; preds = %10
%19 = call i32 @printf(ptr noundef @.str)
br label %24
20: ; preds = %10
br label %21
21: ; preds = %20
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %7, !llvm.loop !6
24: ; preds = %18, %7
%25 = call double (...) @tic()
%26 = load double, ptr %4, align 8
%27 = fsub double %25, %26
store double %27, ptr %1, align 8
%28 = load double, ptr %3, align 8
%29 = load double, ptr %3, align 8
%30 = fcmp une double %28, %29
br i1 %30, label %31, label %33
31: ; preds = %24
%32 = call i32 @printf(ptr noundef @.str)
br label %33
33: ; preds = %31, %24
%34 = load double, ptr %1, align 8
ret double %34
}
declare double @tic(...) #1
declare double @rand_double(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @erf(double noundef) #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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp06exd2n3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = call double (...) @tic()
store double %6, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 1000000
br i1 %8, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %20
%10 = call double (...) @rand_double()
%11 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %10, double -1.000000e+00)
store double %11, ptr %2, align 8
%12 = load double, ptr %2, align 8
%13 = call double @erf(double noundef %12) #4
store double %13, ptr %3, align 8
%14 = load double, ptr %3, align 8
%15 = load double, ptr %3, align 8
%16 = fcmp une double %14, %15
br i1 %16, label %17, label %19
17: ; preds = %9
%18 = call i32 @printf(ptr noundef @.str)
br label %25
19: ; preds = %9
br label %20
20: ; preds = %19
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %23, 1000000
br i1 %24, label %9, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %20
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %25
25: ; preds = %.loopexit, %17
%26 = call double (...) @tic()
%27 = load double, ptr %4, align 8
%28 = fsub double %26, %27
store double %28, ptr %1, align 8
%29 = load double, ptr %3, align 8
%30 = load double, ptr %3, align 8
%31 = fcmp une double %29, %30
br i1 %31, label %32, label %34
32: ; preds = %25
%33 = call i32 @printf(ptr noundef @.str)
br label %34
34: ; preds = %32, %25
%35 = load double, ptr %1, align 8
ret double %35
}
declare double @tic(...) #1
declare double @rand_double(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @erf(double noundef) #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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6ouq_91p.c'
source_filename = "/tmp/tmp6ouq_91p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
br label %3
3: ; preds = %14, %0
%4 = load i32, ptr %2, align 4
%5 = icmp sle i32 %4, 100000
br i1 %5, label %6, label %17
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = call i64 @isPerfect(i32 noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = call i32 @printFactors(i32 noundef %11)
br label %13
13: ; preds = %10, %6
br label %14
14: ; preds = %13
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
br label %3, !llvm.loop !6
17: ; preds = %3
ret i32 0
}
declare i64 @isPerfect(i32 noundef) #1
declare i32 @printFactors(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/tmp6ouq_91p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sle i32 %3, 100000
br i1 %4, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %13
%6 = load i32, ptr %2, align 4
%7 = call i64 @isPerfect(i32 noundef %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %5
%10 = load i32, ptr %2, align 4
%11 = call i32 @printFactors(i32 noundef %10)
br label %12
12: ; preds = %9, %5
br label %13
13: ; preds = %12
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp sle i32 %16, 100000
br i1 %17, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
ret i32 0
}
declare i64 @isPerfect(i32 noundef) #1
declare i32 @printFactors(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/tmpu4ukasav.c'
source_filename = "/tmp/tmpu4ukasav.c"
target datalayout = "e-m:e-p270: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/tmpu4ukasav.c"
target datalayout = "e-m:e-p270: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/tmp374xmuf7.c'
source_filename = "/tmp/tmp374xmuf7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GLUT_ELAPSED_TIME = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @get_secs() #0 {
%1 = load i32, ptr @GLUT_ELAPSED_TIME, align 4
%2 = call double @glutGet(i32 noundef %1)
%3 = fdiv double %2, 1.000000e+03
ret double %3
}
declare double @glutGet(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/tmp374xmuf7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GLUT_ELAPSED_TIME = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @get_secs() #0 {
%1 = load i32, ptr @GLUT_ELAPSED_TIME, align 4
%2 = call double @glutGet(i32 noundef %1)
%3 = fdiv double %2, 1.000000e+03
ret double %3
}
declare double @glutGet(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/tmpnvkeutow.c'
source_filename = "/tmp/tmpnvkeutow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d is not a valid XIO pin address\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_xio_pin(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 1013, ptr %4, align 4
br label %5
5: ; preds = %14, %1
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 1021
br i1 %7, label %8, label %17
8: ; preds = %5
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %9, %10
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 1, ptr %2, align 4
br label %20
13: ; preds = %8
br label %14
14: ; preds = %13
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %4, align 4
br label %5, !llvm.loop !6
17: ; preds = %5
%18 = load i32, ptr %3, align 4
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %18)
store i32 0, ptr %2, align 4
br label %20
20: ; preds = %17, %12
%21 = load i32, ptr %2, align 4
ret i32 %21
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnvkeutow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d is not a valid XIO pin address\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_xio_pin(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 1013, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp slt i32 %5, 1021
br i1 %6, label %.lr.ph, label %18
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %13
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %8, %9
br i1 %10, label %11, label %12
11: ; preds = %7
store i32 1, ptr %2, align 4
br label %21
12: ; preds = %7
br label %13
13: ; preds = %12
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %16, 1021
br i1 %17, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %1
%19 = load i32, ptr %3, align 4
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %19)
store i32 0, ptr %2, align 4
br label %21
21: ; preds = %18, %11
%22 = load i32, ptr %2, align 4
ret i32 %22
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0g2vykj5.c'
source_filename = "/tmp/tmp0g2vykj5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sigint_handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @restore_mode()
%4 = call i32 (...) @leave_alternate_buffer()
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @restore_mode(...) #1
declare i32 @leave_alternate_buffer(...) #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/tmp0g2vykj5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sigint_handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @restore_mode()
%4 = call i32 (...) @leave_alternate_buffer()
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @restore_mode(...) #1
declare i32 @leave_alternate_buffer(...) #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/tmp18dichyn.c'
source_filename = "/tmp/tmp18dichyn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uwsgi_opt_exit(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 1, ptr %7, align 4
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load ptr, ptr %5, align 8
%12 = call i32 @atoi(ptr noundef %11)
store i32 %12, ptr %7, align 4
br label %13
13: ; preds = %10, %3
%14 = load i32, ptr %7, align 4
%15 = call i32 @uwsgi_exit(i32 noundef %14)
ret void
}
declare i32 @atoi(ptr noundef) #1
declare i32 @uwsgi_exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp18dichyn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uwsgi_opt_exit(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 1, ptr %7, align 4
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load ptr, ptr %5, align 8
%12 = call i32 @atoi(ptr noundef %11)
store i32 %12, ptr %7, align 4
br label %13
13: ; preds = %10, %3
%14 = load i32, ptr %7, align 4
%15 = call i32 @uwsgi_exit(i32 noundef %14)
ret void
}
declare i32 @atoi(ptr noundef) #1
declare i32 @uwsgi_exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxlu6wb7m.c'
source_filename = "/tmp/tmpxlu6wb7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %3, align 8
%11 = alloca i32, i64 %9, align 16
store i64 %9, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %12
12: ; preds = %20, %0
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %23
16: ; preds = %12
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %11, i64 %18
store i32 0, ptr %19, align 4
br label %20
20: ; preds = %16
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
br label %12, !llvm.loop !6
23: ; preds = %12
%24 = load i32, ptr %2, align 4
%25 = call i32 @read_array(ptr noundef %11, i32 noundef %24)
%26 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%27 = load i32, ptr %2, align 4
%28 = call i32 @shellsort(ptr noundef %11, i32 noundef %27)
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %2, align 4
%31 = call i32 @binsearch(i32 noundef %29, ptr noundef %11, i32 noundef %30)
store i32 %31, ptr %6, align 4
store i32 0, ptr %1, align 4
%32 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %32)
%33 = load i32, ptr %1, align 4
ret i32 %33
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @read_array(ptr noundef, i32 noundef) #2
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @shellsort(ptr noundef, i32 noundef) #2
declare i32 @binsearch(i32 noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxlu6wb7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %3, align 8
%11 = alloca i32, i64 %9, align 16
store i64 %9, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %15
15: ; preds = %.lr.ph, %19
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %11, i64 %17
store i32 0, ptr %18, align 4
br label %19
19: ; preds = %15
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %0
%26 = load i32, ptr %2, align 4
%27 = call i32 @read_array(ptr noundef %11, i32 noundef %26)
%28 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%29 = load i32, ptr %2, align 4
%30 = call i32 @shellsort(ptr noundef %11, i32 noundef %29)
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %2, align 4
%33 = call i32 @binsearch(i32 noundef %31, ptr noundef %11, i32 noundef %32)
store i32 %33, ptr %6, align 4
store i32 0, ptr %1, align 4
%34 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %34)
%35 = load i32, ptr %1, align 4
ret i32 %35
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @read_array(ptr noundef, i32 noundef) #2
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @shellsort(ptr noundef, i32 noundef) #2
declare i32 @binsearch(i32 noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc6vv0j99.c'
source_filename = "/tmp/tmpc6vv0j99.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Girilen sayi cift sayidir.\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"Girilen sayi cift sayi degildir.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sonuc_yazdir(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @printf(ptr noundef @.str)
br label %9
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %5
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/tmpc6vv0j99.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Girilen sayi cift sayidir.\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"Girilen sayi cift sayi degildir.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sonuc_yazdir(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @printf(ptr noundef @.str)
br label %9
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str.1)
br label %9
9: ; preds = %7, %5
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/tmpsa3r6njp.c'
source_filename = "/tmp/tmpsa3r6njp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fork() #0 {
%1 = call i32 @__syscall(i32 noundef 57)
ret i32 %1
}
declare i32 @__syscall(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/tmpsa3r6njp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fork() #0 {
%1 = call i32 @__syscall(i32 noundef 57)
ret i32 %1
}
declare i32 @__syscall(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/tmpsxnc1llb.c'
source_filename = "/tmp/tmpsxnc1llb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clock_gettime(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
ret i32 1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsxnc1llb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clock_gettime(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
ret i32 1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpku2kts7z.c'
source_filename = "/tmp/tmpku2kts7z.c"
target datalayout = "e-m:e-p270: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/tmpku2kts7z.c"
target datalayout = "e-m:e-p270: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/tmpvt3vfptw.c'
source_filename = "/tmp/tmpvt3vfptw.c"
target datalayout = "e-m:e-p270: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/tmpvt3vfptw.c"
target datalayout = "e-m:e-p270: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/tmp38lye1kv.c'
source_filename = "/tmp/tmp38lye1kv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__NR_execve = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @f_execve(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 i32, ptr @__NR_execve, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i32 @syscall(i32 noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10)
ret i32 %11
}
declare i32 @syscall(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp38lye1kv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__NR_execve = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @f_execve(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 i32, ptr @__NR_execve, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i32 @syscall(i32 noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10)
ret i32 %11
}
declare i32 @syscall(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwj7ymas2.c'
source_filename = "/tmp/tmpwj7ymas2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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-3\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [44 x i8] c"Error: Could not open /dev/i2c-3 interface\0A\00", align 1
@I2C_SLAVE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [30 x i8] c"Error: Could not i2c address\0A\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"Error: Write to i2c bus failed\0A\00", align 1
@.str.4 = private unnamed_addr constant [68 x i8] c"Step 1: Address pointer set to 0x08 and data written to RTC NVRAM. \00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"(%x %x %x %x %x %x %x)\0A\00", align 1
@.str.6 = private unnamed_addr constant [39 x i8] c"Step 2: Address pointer reset to 0x08\0A\00", align 1
@.str.7 = private unnamed_addr constant [33 x i8] c"Error: Read from i2c bus failed\0A\00", align 1
@.str.8 = private unnamed_addr constant [35 x i8] c"Step 3: Data read from RTC NVRAM. \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 [8 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
call void @llvm.memset.p0.i64(ptr align 1 %8, i8 0, i64 8, i1 false)
%9 = load i32, ptr @O_RDWR, align 4
%10 = call i32 @open(ptr noundef @.str, i32 noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%15 = call i32 @exit(i32 noundef 1) #4
unreachable
16: ; preds = %2
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr @I2C_SLAVE, align 4
%19 = call i64 @ioctl(i32 noundef %17, i32 noundef %18, i32 noundef 104)
%20 = icmp slt i64 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %16
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%23 = call i32 @exit(i32 noundef 1) #4
unreachable
24: ; preds = %16
%25 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
store i8 8, ptr %25, align 1
%26 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 1
store i8 1, ptr %26, align 1
%27 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 1
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i32
%30 = add nsw i32 %29, 1
%31 = trunc i32 %30 to i8
%32 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 2
store i8 %31, ptr %32, align 1
%33 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 2
%34 = load i8, ptr %33, align 1
%35 = zext i8 %34 to i32
%36 = add nsw i32 %35, 1
%37 = trunc i32 %36 to i8
%38 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3
store i8 %37, ptr %38, align 1
%39 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3
%40 = load i8, ptr %39, align 1
%41 = zext i8 %40 to i32
%42 = add nsw i32 %41, 1
%43 = trunc i32 %42 to i8
%44 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 4
store i8 %43, ptr %44, align 1
%45 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 4
%46 = load i8, ptr %45, align 1
%47 = zext i8 %46 to i32
%48 = add nsw i32 %47, 1
%49 = trunc i32 %48 to i8
%50 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 5
store i8 %49, ptr %50, align 1
%51 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 5
%52 = load i8, ptr %51, align 1
%53 = zext i8 %52 to i32
%54 = add nsw i32 %53, 1
%55 = trunc i32 %54 to i8
%56 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 6
store i8 %55, ptr %56, align 1
%57 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 6
%58 = load i8, ptr %57, align 1
%59 = zext i8 %58 to i32
%60 = add nsw i32 %59, 1
%61 = trunc i32 %60 to i8
%62 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 7
store i8 %61, ptr %62, align 1
%63 = load i32, ptr %6, align 4
%64 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%65 = call i32 @write(i32 noundef %63, ptr noundef %64, i32 noundef 8)
store i32 %65, ptr %7, align 4
%66 = load i32, ptr %7, align 4
%67 = icmp slt i32 %66, 0
br i1 %67, label %68, label %71
68: ; preds = %24
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%70 = call i32 @exit(i32 noundef 1) #4
unreachable
71: ; preds = %24
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%73 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 1
%74 = load i8, ptr %73, align 1
%75 = zext i8 %74 to i32
%76 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 2
%77 = load i8, ptr %76, align 1
%78 = zext i8 %77 to i32
%79 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3
%80 = load i8, ptr %79, align 1
%81 = zext i8 %80 to i32
%82 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 4
%83 = load i8, ptr %82, align 1
%84 = zext i8 %83 to i32
%85 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 5
%86 = load i8, ptr %85, align 1
%87 = zext i8 %86 to i32
%88 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 6
%89 = load i8, ptr %88, align 1
%90 = zext i8 %89 to i32
%91 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 7
%92 = load i8, ptr %91, align 1
%93 = zext i8 %92 to i32
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %75, i32 noundef %78, i32 noundef %81, i32 noundef %84, i32 noundef %87, i32 noundef %90, i32 noundef %93)
br label %95
95: ; preds = %71
%96 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%97 = call i32 @memset(ptr noundef %96, i32 noundef 0, i32 noundef 8)
%98 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
store i8 8, ptr %98, align 1
%99 = load i32, ptr %6, align 4
%100 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%101 = call i32 @write(i32 noundef %99, ptr noundef %100, i32 noundef 1)
store i32 %101, ptr %7, align 4
%102 = load i32, ptr %7, align 4
%103 = icmp slt i32 %102, 0
br i1 %103, label %104, label %107
104: ; preds = %95
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%106 = call i32 @exit(i32 noundef 1) #4
unreachable
107: ; preds = %95
%108 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %109
109: ; preds = %107
%110 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%111 = call i32 @memset(ptr noundef %110, i32 noundef 0, i32 noundef 8)
%112 = load i32, ptr %6, align 4
%113 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%114 = call i32 @read(i32 noundef %112, ptr noundef %113, i32 noundef 8)
store i32 %114, ptr %7, align 4
%115 = load i32, ptr %7, align 4
%116 = icmp slt i32 %115, 0
br i1 %116, label %117, label %120
117: ; preds = %109
%118 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%119 = call i32 @exit(i32 noundef 1) #4
unreachable
120: ; preds = %109
%121 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%122 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%123 = load i8, ptr %122, align 1
%124 = zext i8 %123 to i32
%125 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 1
%126 = load i8, ptr %125, align 1
%127 = zext i8 %126 to i32
%128 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 2
%129 = load i8, ptr %128, align 1
%130 = zext i8 %129 to i32
%131 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3
%132 = load i8, ptr %131, align 1
%133 = zext i8 %132 to i32
%134 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 4
%135 = load i8, ptr %134, align 1
%136 = zext i8 %135 to i32
%137 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 5
%138 = load i8, ptr %137, align 1
%139 = zext i8 %138 to i32
%140 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 6
%141 = load i8, ptr %140, align 1
%142 = zext i8 %141 to i32
%143 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %124, i32 noundef %127, i32 noundef %130, i32 noundef %133, i32 noundef %136, i32 noundef %139, i32 noundef %142)
br label %144
144: ; preds = %120
br label %145
145: ; preds = %144
br label %146
146: ; preds = %145
ret i32 0
}
; 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 @open(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i64 @ioctl(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwj7ymas2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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-3\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [44 x i8] c"Error: Could not open /dev/i2c-3 interface\0A\00", align 1
@I2C_SLAVE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [30 x i8] c"Error: Could not i2c address\0A\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"Error: Write to i2c bus failed\0A\00", align 1
@.str.4 = private unnamed_addr constant [68 x i8] c"Step 1: Address pointer set to 0x08 and data written to RTC NVRAM. \00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"(%x %x %x %x %x %x %x)\0A\00", align 1
@.str.6 = private unnamed_addr constant [39 x i8] c"Step 2: Address pointer reset to 0x08\0A\00", align 1
@.str.7 = private unnamed_addr constant [33 x i8] c"Error: Read from i2c bus failed\0A\00", align 1
@.str.8 = private unnamed_addr constant [35 x i8] c"Step 3: Data read from RTC NVRAM. \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 [8 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
call void @llvm.memset.p0.i64(ptr align 1 %8, i8 0, i64 8, i1 false)
%9 = load i32, ptr @O_RDWR, align 4
%10 = call i32 @open(ptr noundef @.str, i32 noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%15 = call i32 @exit(i32 noundef 1) #4
unreachable
16: ; preds = %2
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr @I2C_SLAVE, align 4
%19 = call i64 @ioctl(i32 noundef %17, i32 noundef %18, i32 noundef 104)
%20 = icmp slt i64 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %16
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%23 = call i32 @exit(i32 noundef 1) #4
unreachable
24: ; preds = %16
%25 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
store i8 8, ptr %25, align 1
%26 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 1
store i8 1, ptr %26, align 1
%27 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 1
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i32
%30 = add nsw i32 %29, 1
%31 = trunc i32 %30 to i8
%32 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 2
store i8 %31, ptr %32, align 1
%33 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 2
%34 = load i8, ptr %33, align 1
%35 = zext i8 %34 to i32
%36 = add nsw i32 %35, 1
%37 = trunc i32 %36 to i8
%38 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3
store i8 %37, ptr %38, align 1
%39 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3
%40 = load i8, ptr %39, align 1
%41 = zext i8 %40 to i32
%42 = add nsw i32 %41, 1
%43 = trunc i32 %42 to i8
%44 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 4
store i8 %43, ptr %44, align 1
%45 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 4
%46 = load i8, ptr %45, align 1
%47 = zext i8 %46 to i32
%48 = add nsw i32 %47, 1
%49 = trunc i32 %48 to i8
%50 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 5
store i8 %49, ptr %50, align 1
%51 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 5
%52 = load i8, ptr %51, align 1
%53 = zext i8 %52 to i32
%54 = add nsw i32 %53, 1
%55 = trunc i32 %54 to i8
%56 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 6
store i8 %55, ptr %56, align 1
%57 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 6
%58 = load i8, ptr %57, align 1
%59 = zext i8 %58 to i32
%60 = add nsw i32 %59, 1
%61 = trunc i32 %60 to i8
%62 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 7
store i8 %61, ptr %62, align 1
%63 = load i32, ptr %6, align 4
%64 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%65 = call i32 @write(i32 noundef %63, ptr noundef %64, i32 noundef 8)
store i32 %65, ptr %7, align 4
%66 = load i32, ptr %7, align 4
%67 = icmp slt i32 %66, 0
br i1 %67, label %68, label %71
68: ; preds = %24
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%70 = call i32 @exit(i32 noundef 1) #4
unreachable
71: ; preds = %24
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%73 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 1
%74 = load i8, ptr %73, align 1
%75 = zext i8 %74 to i32
%76 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 2
%77 = load i8, ptr %76, align 1
%78 = zext i8 %77 to i32
%79 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3
%80 = load i8, ptr %79, align 1
%81 = zext i8 %80 to i32
%82 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 4
%83 = load i8, ptr %82, align 1
%84 = zext i8 %83 to i32
%85 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 5
%86 = load i8, ptr %85, align 1
%87 = zext i8 %86 to i32
%88 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 6
%89 = load i8, ptr %88, align 1
%90 = zext i8 %89 to i32
%91 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 7
%92 = load i8, ptr %91, align 1
%93 = zext i8 %92 to i32
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %75, i32 noundef %78, i32 noundef %81, i32 noundef %84, i32 noundef %87, i32 noundef %90, i32 noundef %93)
br label %95
95: ; preds = %71
%96 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%97 = call i32 @memset(ptr noundef %96, i32 noundef 0, i32 noundef 8)
%98 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
store i8 8, ptr %98, align 1
%99 = load i32, ptr %6, align 4
%100 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%101 = call i32 @write(i32 noundef %99, ptr noundef %100, i32 noundef 1)
store i32 %101, ptr %7, align 4
%102 = load i32, ptr %7, align 4
%103 = icmp slt i32 %102, 0
br i1 %103, label %104, label %107
104: ; preds = %95
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%106 = call i32 @exit(i32 noundef 1) #4
unreachable
107: ; preds = %95
%108 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %109
109: ; preds = %107
%110 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%111 = call i32 @memset(ptr noundef %110, i32 noundef 0, i32 noundef 8)
%112 = load i32, ptr %6, align 4
%113 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%114 = call i32 @read(i32 noundef %112, ptr noundef %113, i32 noundef 8)
store i32 %114, ptr %7, align 4
%115 = load i32, ptr %7, align 4
%116 = icmp slt i32 %115, 0
br i1 %116, label %117, label %120
117: ; preds = %109
%118 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%119 = call i32 @exit(i32 noundef 1) #4
unreachable
120: ; preds = %109
%121 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%122 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%123 = load i8, ptr %122, align 1
%124 = zext i8 %123 to i32
%125 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 1
%126 = load i8, ptr %125, align 1
%127 = zext i8 %126 to i32
%128 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 2
%129 = load i8, ptr %128, align 1
%130 = zext i8 %129 to i32
%131 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3
%132 = load i8, ptr %131, align 1
%133 = zext i8 %132 to i32
%134 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 4
%135 = load i8, ptr %134, align 1
%136 = zext i8 %135 to i32
%137 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 5
%138 = load i8, ptr %137, align 1
%139 = zext i8 %138 to i32
%140 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 6
%141 = load i8, ptr %140, align 1
%142 = zext i8 %141 to i32
%143 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %124, i32 noundef %127, i32 noundef %130, i32 noundef %133, i32 noundef %136, i32 noundef %139, i32 noundef %142)
br label %144
144: ; preds = %120
br label %145
145: ; preds = %144
br label %146
146: ; preds = %145
ret i32 0
}
; 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 @open(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i64 @ioctl(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0andzs1k.c'
source_filename = "/tmp/tmp0andzs1k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f_double_16(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
store i64 0, ptr %9, align 8
br label %10
10: ; preds = %25, %4
%11 = load i64, ptr %9, align 8
%12 = load i64, ptr %8, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %14, label %28
14: ; preds = %10
%15 = load ptr, ptr %6, align 8
%16 = load i64, ptr %9, align 8
%17 = getelementptr inbounds double, ptr %15, i64 %16
%18 = load double, ptr %17, align 8
%19 = fadd double %18, 1.000000e+00
%20 = load ptr, ptr %5, align 8
%21 = load i64, ptr %9, align 8
%22 = load i64, ptr %7, align 8
%23 = mul i64 %21, %22
%24 = getelementptr inbounds double, ptr %20, i64 %23
store double %19, ptr %24, align 8
br label %25
25: ; preds = %14
%26 = load i64, ptr %9, align 8
%27 = add i64 %26, 1
store i64 %27, ptr %9, align 8
br label %10, !llvm.loop !6
28: ; preds = %10
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0andzs1k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f_double_16(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
store i64 0, ptr %9, align 8
%10 = load i64, ptr %9, align 8
%11 = load i64, ptr %8, align 8
%12 = icmp ult i64 %10, %11
br i1 %12, label %.lr.ph, label %30
.lr.ph: ; preds = %4
br label %13
13: ; preds = %.lr.ph, %24
%14 = load ptr, ptr %6, align 8
%15 = load i64, ptr %9, align 8
%16 = getelementptr inbounds double, ptr %14, i64 %15
%17 = load double, ptr %16, align 8
%18 = fadd double %17, 1.000000e+00
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %9, align 8
%21 = load i64, ptr %7, align 8
%22 = mul i64 %20, %21
%23 = getelementptr inbounds double, ptr %19, i64 %22
store double %18, ptr %23, align 8
br label %24
24: ; preds = %13
%25 = load i64, ptr %9, align 8
%26 = add i64 %25, 1
store i64 %26, ptr %9, align 8
%27 = load i64, ptr %9, align 8
%28 = load i64, ptr %8, align 8
%29 = icmp ult i64 %27, %28
br i1 %29, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpedyhe8hi.c'
source_filename = "/tmp/tmpedyhe8hi.c"
target datalayout = "e-m:e-p270: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_BOLD = 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/tmpedyhe8hi.c"
target datalayout = "e-m:e-p270: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_BOLD = 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/tmpu7ifhzrf.c'
source_filename = "/tmp/tmpu7ifhzrf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"%d 0x%X 0o%o\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
store i32 -4, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = xor i32 %6, -1
store i32 %7, ptr %3, align 4
store i32 0, ptr %2, align 4
br label %8
8: ; preds = %21, %0
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 16
br i1 %10, label %11, label %24
11: ; preds = %8
%12 = load i32, ptr %1, align 4
%13 = load i32, ptr %3, align 4
%14 = and i32 %12, %13
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %4, align 4
%18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %15, i32 noundef %16, i32 noundef %17)
%19 = load i32, ptr %1, align 4
%20 = ashr i32 %19, 2
store i32 %20, ptr %1, align 4
br label %21
21: ; preds = %11
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %2, align 4
br label %8, !llvm.loop !6
24: ; preds = %8
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu7ifhzrf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"%d 0x%X 0o%o\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
store i32 -4, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = xor i32 %6, -1
store i32 %7, ptr %3, align 4
store i32 0, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 16
br i1 %9, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %20
%11 = load i32, ptr %1, align 4
%12 = load i32, ptr %3, align 4
%13 = and i32 %11, %12
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14, i32 noundef %15, i32 noundef %16)
%18 = load i32, ptr %1, align 4
%19 = ashr i32 %18, 2
store i32 %19, ptr %1, align 4
br label %20
20: ; preds = %10
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp slt i32 %23, 16
br i1 %24, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %0
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
Subsets and Splits