llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmp963mn5vf.c'
source_filename = "/tmp/tmp963mn5vf.c"
target datalayout = "e-m:e-p270: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.timeval = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @utime(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca %struct.timeval, align 4
store ptr %0, ptr %2, align 8
%5 = call i32 @gettimeofday(ptr noundef %4, ptr noundef null)
%6 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0
%7 = load i32, ptr %6, align 4
%8 = mul nsw i32 %7, 1000000
%9 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 1
%10 = load i32, ptr %9, align 4
%11 = add nsw i32 %8, %10
%12 = sext i32 %11 to i64
store i64 %12, ptr %3, align 8
%13 = load ptr, ptr %2, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %1
%16 = load i64, ptr %3, align 8
%17 = load ptr, ptr %2, align 8
store i64 %16, ptr %17, align 8
br label %18
18: ; preds = %15, %1
%19 = load i64, ptr %3, align 8
ret i64 %19
}
declare i32 @gettimeofday(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/tmp963mn5vf.c"
target datalayout = "e-m:e-p270: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.timeval = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @utime(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca %struct.timeval, align 4
store ptr %0, ptr %2, align 8
%5 = call i32 @gettimeofday(ptr noundef %4, ptr noundef null)
%6 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0
%7 = load i32, ptr %6, align 4
%8 = mul nsw i32 %7, 1000000
%9 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 1
%10 = load i32, ptr %9, align 4
%11 = add nsw i32 %8, %10
%12 = sext i32 %11 to i64
store i64 %12, ptr %3, align 8
%13 = load ptr, ptr %2, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %1
%16 = load i64, ptr %3, align 8
%17 = load ptr, ptr %2, align 8
store i64 %16, ptr %17, align 8
br label %18
18: ; preds = %15, %1
%19 = load i64, ptr %3, align 8
ret i64 %19
}
declare i32 @gettimeofday(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/tmpre_qx5bo.c'
source_filename = "/tmp/tmpre_qx5bo.c"
target datalayout = "e-m:e-p270: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/tmpre_qx5bo.c"
target datalayout = "e-m:e-p270: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/tmpd8h7n0em.c'
source_filename = "/tmp/tmpd8h7n0em.c"
target datalayout = "e-m:e-p270: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/tmpd8h7n0em.c"
target datalayout = "e-m:e-p270: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/tmp2esrlj7w.c'
source_filename = "/tmp/tmp2esrlj7w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
@ERR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @flush_input() #0 {
%1 = load i32, ptr @stdscr, align 4
%2 = load i32, ptr @TRUE, align 4
%3 = call i32 @nodelay(i32 noundef %1, i32 noundef %2)
br label %4
4: ; preds = %9, %0
%5 = load i32, ptr @stdscr, align 4
%6 = call i64 @wgetch(i32 noundef %5)
%7 = load i64, ptr @ERR, align 8
%8 = icmp ne i64 %6, %7
br i1 %8, label %9, label %10
9: ; preds = %4
br label %4, !llvm.loop !6
10: ; preds = %4
ret void
}
declare i32 @nodelay(i32 noundef, i32 noundef) #1
declare i64 @wgetch(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/tmp2esrlj7w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@TRUE = dso_local global i32 0, align 4
@ERR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @flush_input() #0 {
%1 = load i32, ptr @stdscr, align 4
%2 = load i32, ptr @TRUE, align 4
%3 = call i32 @nodelay(i32 noundef %1, i32 noundef %2)
br label %4
4: ; preds = %4, %0
%5 = load i32, ptr @stdscr, align 4
%6 = call i64 @wgetch(i32 noundef %5)
%7 = load i64, ptr @ERR, align 8
%8 = icmp ne i64 %6, %7
br i1 %8, label %4, label %9, !llvm.loop !6
9: ; preds = %4
ret void
}
declare i32 @nodelay(i32 noundef, i32 noundef) #1
declare i64 @wgetch(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/tmp0e3qgf5o.c'
source_filename = "/tmp/tmp0e3qgf5o.c"
target datalayout = "e-m:e-p270: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.printHelpDialog_makeTree.dialog = private unnamed_addr constant [465 x i8] c"Usage: ./makeTree -f|--fasta <FASTA_INPUT> -l|--depth <DEPTH> -o, --output <OUTPUT_FILE>\0AReads a *fa file, constructs a tree of depth DEPTH and saves it\0Acompressed in OUTPUT_FILE.\0AOptions: \0A -v, --version Prints package version.\0A -h, --help Prints help dialog.\0A -f, --fasta Fasta input file. Mandatory option.\0A -l, --depth depth of the tree structure. Mandatory option. \0A -o, --output Output file. If the extension is not *gz, it is added. Mandatory option.\0A\0A\00", align 16
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printHelpDialog_makeTree() #0 {
%1 = alloca [465 x i8], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.printHelpDialog_makeTree.dialog, i64 465, i1 false)
%2 = load i32, ptr @stderr, align 4
%3 = getelementptr inbounds [465 x i8], ptr %1, i64 0, i64 0
%4 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str, ptr noundef %3)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0e3qgf5o.c"
target datalayout = "e-m:e-p270: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.printHelpDialog_makeTree.dialog = private unnamed_addr constant [465 x i8] c"Usage: ./makeTree -f|--fasta <FASTA_INPUT> -l|--depth <DEPTH> -o, --output <OUTPUT_FILE>\0AReads a *fa file, constructs a tree of depth DEPTH and saves it\0Acompressed in OUTPUT_FILE.\0AOptions: \0A -v, --version Prints package version.\0A -h, --help Prints help dialog.\0A -f, --fasta Fasta input file. Mandatory option.\0A -l, --depth depth of the tree structure. Mandatory option. \0A -o, --output Output file. If the extension is not *gz, it is added. Mandatory option.\0A\0A\00", align 16
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printHelpDialog_makeTree() #0 {
%1 = alloca [465 x i8], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.printHelpDialog_makeTree.dialog, i64 465, i1 false)
%2 = load i32, ptr @stderr, align 4
%3 = getelementptr inbounds [465 x i8], ptr %1, i64 0, i64 0
%4 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str, ptr noundef %3)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp5wcwiep.c'
source_filename = "/tmp/tmpp5wcwiep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"output\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c"errput\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr @stdout, align 4
%3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str)
%4 = load i32, ptr @stderr, align 4
%5 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str.1)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp5wcwiep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"output\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c"errput\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr @stdout, align 4
%3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str)
%4 = load i32, ptr @stderr, align 4
%5 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str.1)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4wuztomx.c'
source_filename = "/tmp/tmp4wuztomx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wmemends(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = load i64, ptr %8, align 8
%12 = sub i64 %10, %11
%13 = getelementptr inbounds i32, ptr %9, i64 %12
%14 = load ptr, ptr %7, align 8
%15 = load i64, ptr %8, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %4
br label %22
18: ; preds = %4
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %6, align 8
%21 = getelementptr inbounds i32, ptr %19, i64 %20
br label %22
22: ; preds = %18, %17
%23 = phi ptr [ null, %17 ], [ %21, %18 ]
ret ptr %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4wuztomx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wmemends(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = load i64, ptr %8, align 8
%12 = sub i64 %10, %11
%13 = getelementptr inbounds i32, ptr %9, i64 %12
%14 = load ptr, ptr %7, align 8
%15 = load i64, ptr %8, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %4
br label %22
18: ; preds = %4
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %6, align 8
%21 = getelementptr inbounds i32, ptr %19, i64 %20
br label %22
22: ; preds = %18, %17
%23 = phi ptr [ null, %17 ], [ %21, %18 ]
ret ptr %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqktwj_6m.c'
source_filename = "/tmp/tmpqktwj_6m.c"
target datalayout = "e-m:e-p270: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/tmpqktwj_6m.c"
target datalayout = "e-m:e-p270: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/tmp63l1j4m0.c'
source_filename = "/tmp/tmp63l1j4m0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"decompress %s: %s.\0A\00", align 1
@errno = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [13 x i8] c"open %s: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"gzip error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @degcompress(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca [1024 x i8], align 16
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = call ptr @gzopen(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %20, label %14
14: ; preds = %2
%15 = load i32, ptr @stderr, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr @errno, align 4
%18 = call ptr @strerror(i32 noundef %17)
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.1, ptr noundef %16, ptr noundef %18)
br label %20
20: ; preds = %14, %2
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr @O_CREAT, align 4
%23 = load i32, ptr @O_WRONLY, align 4
%24 = or i32 %22, %23
%25 = load i32, ptr @O_TRUNC, align 4
%26 = or i32 %24, %25
%27 = call i32 @open(ptr noundef %21, i32 noundef %26, i32 noundef 438)
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %7, align 4
%29 = icmp slt i32 %28, 3
br i1 %29, label %30, label %37
30: ; preds = %20
%31 = load i32, ptr @stderr, align 4
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr @errno, align 4
%34 = call ptr @strerror(i32 noundef %33)
%35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %31, ptr noundef @.str.2, ptr noundef %32, ptr noundef %34)
%36 = call i32 @exit(i32 noundef 1) #3
unreachable
37: ; preds = %20
br label %38
38: ; preds = %37, %55
%39 = load ptr, ptr %6, align 8
%40 = call i32 @gzread(ptr noundef %39, ptr noundef %8, i32 noundef 1024)
store i32 %40, ptr %9, align 4
%41 = load i32, ptr %9, align 4
%42 = icmp sgt i32 %41, 0
br i1 %42, label %43, label %47
43: ; preds = %38
%44 = load i32, ptr %7, align 4
%45 = load i32, ptr %9, align 4
%46 = call i32 @write(i32 noundef %44, ptr noundef %8, i32 noundef %45)
br label %55
47: ; preds = %38
%48 = load ptr, ptr %6, align 8
%49 = call i64 @gzeof(ptr noundef %48)
%50 = icmp ne i64 %49, 0
br i1 %50, label %51, label %52
51: ; preds = %47
br label %56
52: ; preds = %47
%53 = load i32, ptr @stderr, align 4
%54 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %53, ptr noundef @.str.3)
br label %56
55: ; preds = %43
br label %38
56: ; preds = %52, %51
%57 = load ptr, ptr %6, align 8
%58 = call i32 @gzclose(ptr noundef %57)
%59 = load i32, ptr %7, align 4
%60 = call i32 @close(i32 noundef %59)
%61 = load i32, ptr %3, align 4
ret i32 %61
}
declare ptr @gzopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @gzread(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @gzeof(ptr noundef) #1
declare i32 @gzclose(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp63l1j4m0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"decompress %s: %s.\0A\00", align 1
@errno = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [13 x i8] c"open %s: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"gzip error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @degcompress(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca [1024 x i8], align 16
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = call ptr @gzopen(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %20, label %14
14: ; preds = %2
%15 = load i32, ptr @stderr, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr @errno, align 4
%18 = call ptr @strerror(i32 noundef %17)
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.1, ptr noundef %16, ptr noundef %18)
br label %20
20: ; preds = %14, %2
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr @O_CREAT, align 4
%23 = load i32, ptr @O_WRONLY, align 4
%24 = or i32 %22, %23
%25 = load i32, ptr @O_TRUNC, align 4
%26 = or i32 %24, %25
%27 = call i32 @open(ptr noundef %21, i32 noundef %26, i32 noundef 438)
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %7, align 4
%29 = icmp slt i32 %28, 3
br i1 %29, label %30, label %37
30: ; preds = %20
%31 = load i32, ptr @stderr, align 4
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr @errno, align 4
%34 = call ptr @strerror(i32 noundef %33)
%35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %31, ptr noundef @.str.2, ptr noundef %32, ptr noundef %34)
%36 = call i32 @exit(i32 noundef 1) #3
unreachable
37: ; preds = %20
%38 = load ptr, ptr %6, align 8
%39 = call i32 @gzread(ptr noundef %38, ptr noundef %8, i32 noundef 1024)
store i32 %39, ptr %9, align 4
%40 = load i32, ptr %9, align 4
%41 = icmp sgt i32 %40, 0
br i1 %41, label %.lr.ph, label %46
.lr.ph: ; preds = %37
br label %42
42: ; preds = %.lr.ph, %54
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %9, align 4
%45 = call i32 @write(i32 noundef %43, ptr noundef %8, i32 noundef %44)
br label %54
._crit_edge: ; preds = %54
br label %46
46: ; preds = %._crit_edge, %37
%47 = load ptr, ptr %6, align 8
%48 = call i64 @gzeof(ptr noundef %47)
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %46
br label %59
51: ; preds = %46
%52 = load i32, ptr @stderr, align 4
%53 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %52, ptr noundef @.str.3)
br label %59
54: ; preds = %42
%55 = load ptr, ptr %6, align 8
%56 = call i32 @gzread(ptr noundef %55, ptr noundef %8, i32 noundef 1024)
store i32 %56, ptr %9, align 4
%57 = load i32, ptr %9, align 4
%58 = icmp sgt i32 %57, 0
br i1 %58, label %42, label %._crit_edge
59: ; preds = %51, %50
%60 = load ptr, ptr %6, align 8
%61 = call i32 @gzclose(ptr noundef %60)
%62 = load i32, ptr %7, align 4
%63 = call i32 @close(i32 noundef %62)
%64 = load i32, ptr %3, align 4
ret i32 %64
}
declare ptr @gzopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @gzread(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @gzeof(ptr noundef) #1
declare i32 @gzclose(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdcp8s55c.c'
source_filename = "/tmp/tmpdcp8s55c.c"
target datalayout = "e-m:e-p270: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/tmpdcp8s55c.c"
target datalayout = "e-m:e-p270: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/tmp7wxtumnv.c'
source_filename = "/tmp/tmp7wxtumnv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ptr @brain_strndup(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %2
store ptr @.str, ptr %3, align 8
br label %9
9: ; preds = %8, %2
%10 = load i64, ptr %4, align 8
%11 = add nsw i64 %10, 1
%12 = call ptr @brain_alloc_(i64 noundef %11, i32 noundef 0)
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %3, align 8
%15 = load i64, ptr %4, align 8
%16 = call i32 @memcpy(ptr noundef %13, ptr noundef %14, i64 noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = load i64, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
store i8 0, ptr %19, align 1
%20 = load ptr, ptr %5, align 8
ret ptr %20
}
declare ptr @brain_alloc_(i64 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7wxtumnv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ptr @brain_strndup(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %2
store ptr @.str, ptr %3, align 8
br label %9
9: ; preds = %8, %2
%10 = load i64, ptr %4, align 8
%11 = add nsw i64 %10, 1
%12 = call ptr @brain_alloc_(i64 noundef %11, i32 noundef 0)
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %3, align 8
%15 = load i64, ptr %4, align 8
%16 = call i32 @memcpy(ptr noundef %13, ptr noundef %14, i64 noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = load i64, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
store i8 0, ptr %19, align 1
%20 = load ptr, ptr %5, align 8
ret ptr %20
}
declare ptr @brain_alloc_(i64 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyndtko9l.c'
source_filename = "/tmp/tmpyndtko9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Usage: ./tornado <\22string\22>\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Text to long\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, 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 [30 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = 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
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 30, i1 false)
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %61
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @strlen(ptr noundef %17)
%19 = icmp sgt i32 %18, 30
br i1 %19, label %20, label %22
20: ; preds = %14
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 -2, ptr %3, align 4
br label %61
22: ; preds = %14
%23 = getelementptr inbounds [30 x i8], ptr %6, i64 0, i64 0
%24 = call i32 @memset(ptr noundef %23, i32 noundef 32, i32 noundef 30)
%25 = getelementptr inbounds [30 x i8], ptr %6, i64 0, i64 0
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 1
%31 = load ptr, ptr %30, align 8
%32 = call i32 @strlen(ptr noundef %31)
%33 = call i32 @memcpy(ptr noundef %25, ptr noundef %28, i32 noundef %32)
%34 = getelementptr inbounds [30 x i8], ptr %6, i64 0, i64 0
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %34)
store i32 0, ptr %9, align 4
br label %36
36: ; preds = %56, %22
%37 = load i32, ptr %9, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %9, align 4
%39 = icmp slt i32 %37, 300
br i1 %39, label %40, label %61
40: ; preds = %36
br label %41
41: ; preds = %50, %40
%42 = load i32, ptr %7, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %7, align 4
%44 = srem i32 %42, 30
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [30 x i8], ptr %6, i64 0, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %48)
br label %50
50: ; preds = %41
%51 = load i32, ptr %7, align 4
%52 = srem i32 %51, 30
%53 = load i32, ptr %8, align 4
%54 = srem i32 %53, 30
%55 = icmp ne i32 %52, %54
br i1 %55, label %41, label %56, !llvm.loop !6
56: ; preds = %50
%57 = load i32, ptr %8, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %8, align 4
%59 = load i32, ptr %8, align 4
store i32 %59, ptr %7, align 4
%60 = call i32 @puts(ptr noundef @.str.4)
br label %36, !llvm.loop !8
61: ; preds = %12, %20, %36
%62 = load i32, ptr %3, align 4
ret i32 %62
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @puts(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyndtko9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Usage: ./tornado <\22string\22>\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Text to long\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, 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 [30 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = 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
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 30, i1 false)
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %63
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @strlen(ptr noundef %17)
%19 = icmp sgt i32 %18, 30
br i1 %19, label %20, label %22
20: ; preds = %14
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 -2, ptr %3, align 4
br label %63
22: ; preds = %14
%23 = getelementptr inbounds [30 x i8], ptr %6, i64 0, i64 0
%24 = call i32 @memset(ptr noundef %23, i32 noundef 32, i32 noundef 30)
%25 = getelementptr inbounds [30 x i8], ptr %6, i64 0, i64 0
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 1
%31 = load ptr, ptr %30, align 8
%32 = call i32 @strlen(ptr noundef %31)
%33 = call i32 @memcpy(ptr noundef %25, ptr noundef %28, i32 noundef %32)
%34 = getelementptr inbounds [30 x i8], ptr %6, i64 0, i64 0
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %34)
store i32 0, ptr %9, align 4
%36 = load i32, ptr %9, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %9, align 4
%38 = icmp slt i32 %36, 300
br i1 %38, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %22
br label %39
39: ; preds = %.lr.ph, %55
br label %40
40: ; preds = %49, %39
%41 = load i32, ptr %7, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %7, align 4
%43 = srem i32 %41, 30
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [30 x i8], ptr %6, i64 0, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %47)
br label %49
49: ; preds = %40
%50 = load i32, ptr %7, align 4
%51 = srem i32 %50, 30
%52 = load i32, ptr %8, align 4
%53 = srem i32 %52, 30
%54 = icmp ne i32 %51, %53
br i1 %54, label %40, label %55, !llvm.loop !6
55: ; preds = %49
%56 = load i32, ptr %8, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %8, align 4
%58 = load i32, ptr %8, align 4
store i32 %58, ptr %7, align 4
%59 = call i32 @puts(ptr noundef @.str.4)
%60 = load i32, ptr %9, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %9, align 4
%62 = icmp slt i32 %60, 300
br i1 %62, label %39, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %55
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %22
br label %63
63: ; preds = %.loopexit, %20, %12
%64 = load i32, ptr %3, align 4
ret i32 %64
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @puts(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpq1ytvruw.c'
source_filename = "/tmp/tmpq1ytvruw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"rq: %s\0A\00", align 1
@BUFSIZ = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"%s %s\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"cmd: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"arg: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"sanitize arg: %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"sanitized version is %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"GET\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @process_rq(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
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = load ptr, ptr %3, align 8
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %9)
%11 = load i32, ptr @BUFSIZ, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %5, align 8
%14 = alloca i8, i64 %12, align 16
store i64 %12, ptr %6, align 8
%15 = load i32, ptr @BUFSIZ, align 4
%16 = zext i32 %15 to i64
%17 = alloca i8, i64 %16, align 16
store i64 %16, ptr %7, align 8
%18 = load ptr, ptr %3, align 8
%19 = call i32 @sscanf(ptr noundef %18, ptr noundef @.str.1, ptr noundef %14, ptr noundef %17)
%20 = icmp ne i32 %19, 2
br i1 %20, label %21, label %22
21: ; preds = %2
store i32 1, ptr %8, align 4
br label %57
22: ; preds = %2
%23 = call i32 @printf(ptr noundef @.str.2, ptr noundef %14)
%24 = call i32 @printf(ptr noundef @.str.3, ptr noundef %17)
%25 = call i32 @sanitize(ptr noundef %17)
%26 = call i32 @printf(ptr noundef @.str.4, ptr noundef %17)
%27 = call i32 @printf(ptr noundef @.str.5, ptr noundef %17)
%28 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.6)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %22
%31 = load i32, ptr %4, align 4
%32 = call i32 @not_implemented(i32 noundef %31)
br label %56
33: ; preds = %22
%34 = load i32, ptr %4, align 4
%35 = call i64 @bulit_in(ptr noundef %17, i32 noundef %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33
br label %55
38: ; preds = %33
%39 = call i64 @not_exist(ptr noundef %17)
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %38
%42 = load i32, ptr %4, align 4
%43 = call i32 @do_404(ptr noundef %17, i32 noundef %42)
br label %54
44: ; preds = %38
%45 = call i64 @isadir(ptr noundef %17)
%46 = icmp ne i64 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %44
%48 = load i32, ptr %4, align 4
%49 = call i32 @do_ls(ptr noundef %17, i32 noundef %48)
br label %53
50: ; preds = %44
%51 = load i32, ptr %4, align 4
%52 = call i32 @do_cat(ptr noundef %17, i32 noundef %51)
br label %53
53: ; preds = %50, %47
br label %54
54: ; preds = %53, %41
br label %55
55: ; preds = %54, %37
br label %56
56: ; preds = %55, %30
store i32 0, ptr %8, align 4
br label %57
57: ; preds = %56, %21
%58 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %58)
%59 = load i32, ptr %8, align 4
switch i32 %59, label %61 [
i32 0, label %60
i32 1, label %60
]
60: ; preds = %57, %57
ret void
61: ; preds = %57
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @sanitize(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @not_implemented(i32 noundef) #1
declare i64 @bulit_in(ptr noundef, i32 noundef) #1
declare i64 @not_exist(ptr noundef) #1
declare i32 @do_404(ptr noundef, i32 noundef) #1
declare i64 @isadir(ptr noundef) #1
declare i32 @do_ls(ptr noundef, i32 noundef) #1
declare i32 @do_cat(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq1ytvruw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"rq: %s\0A\00", align 1
@BUFSIZ = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"%s %s\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"cmd: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"arg: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"sanitize arg: %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"sanitized version is %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"GET\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @process_rq(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
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = load ptr, ptr %3, align 8
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %9)
%11 = load i32, ptr @BUFSIZ, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %5, align 8
%14 = alloca i8, i64 %12, align 16
store i64 %12, ptr %6, align 8
%15 = load i32, ptr @BUFSIZ, align 4
%16 = zext i32 %15 to i64
%17 = alloca i8, i64 %16, align 16
store i64 %16, ptr %7, align 8
%18 = load ptr, ptr %3, align 8
%19 = call i32 @sscanf(ptr noundef %18, ptr noundef @.str.1, ptr noundef %14, ptr noundef %17)
%20 = icmp ne i32 %19, 2
br i1 %20, label %21, label %22
21: ; preds = %2
store i32 1, ptr %8, align 4
br label %57
22: ; preds = %2
%23 = call i32 @printf(ptr noundef @.str.2, ptr noundef %14)
%24 = call i32 @printf(ptr noundef @.str.3, ptr noundef %17)
%25 = call i32 @sanitize(ptr noundef %17)
%26 = call i32 @printf(ptr noundef @.str.4, ptr noundef %17)
%27 = call i32 @printf(ptr noundef @.str.5, ptr noundef %17)
%28 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.6)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %22
%31 = load i32, ptr %4, align 4
%32 = call i32 @not_implemented(i32 noundef %31)
br label %56
33: ; preds = %22
%34 = load i32, ptr %4, align 4
%35 = call i64 @bulit_in(ptr noundef %17, i32 noundef %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33
br label %55
38: ; preds = %33
%39 = call i64 @not_exist(ptr noundef %17)
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %38
%42 = load i32, ptr %4, align 4
%43 = call i32 @do_404(ptr noundef %17, i32 noundef %42)
br label %54
44: ; preds = %38
%45 = call i64 @isadir(ptr noundef %17)
%46 = icmp ne i64 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %44
%48 = load i32, ptr %4, align 4
%49 = call i32 @do_ls(ptr noundef %17, i32 noundef %48)
br label %53
50: ; preds = %44
%51 = load i32, ptr %4, align 4
%52 = call i32 @do_cat(ptr noundef %17, i32 noundef %51)
br label %53
53: ; preds = %50, %47
br label %54
54: ; preds = %53, %41
br label %55
55: ; preds = %54, %37
br label %56
56: ; preds = %55, %30
store i32 0, ptr %8, align 4
br label %57
57: ; preds = %56, %21
%58 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %58)
%59 = load i32, ptr %8, align 4
switch i32 %59, label %61 [
i32 0, label %60
i32 1, label %60
]
60: ; preds = %57, %57
ret void
61: ; preds = %57
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @sanitize(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @not_implemented(i32 noundef) #1
declare i64 @bulit_in(ptr noundef, i32 noundef) #1
declare i64 @not_exist(ptr noundef) #1
declare i32 @do_404(ptr noundef, i32 noundef) #1
declare i64 @isadir(ptr noundef) #1
declare i32 @do_ls(ptr noundef, i32 noundef) #1
declare i32 @do_cat(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw0im8mg9.c'
source_filename = "/tmp/tmpw0im8mg9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPC_RMID = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sim_delete_queue(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 @IPC_RMID, align 4
%5 = call i32 @msgctl(i32 noundef %3, i32 noundef %4, i32 noundef 0)
ret i32 0
}
declare i32 @msgctl(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw0im8mg9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPC_RMID = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sim_delete_queue(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 @IPC_RMID, align 4
%5 = call i32 @msgctl(i32 noundef %3, i32 noundef %4, i32 noundef 0)
ret i32 0
}
declare i32 @msgctl(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_i6m031j.c'
source_filename = "/tmp/tmp_i6m031j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"print mode: sha2sum <file> <file> ...\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"check mode: sha2sum -c <checksum file>\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-c\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 eq i32 %8, 1
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = call i32 @printf(ptr noundef @.str)
%12 = call i32 @printf(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %46
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %14, 3
br i1 %15, label %16, label %27
16: ; preds = %13
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i64 @strcmp(ptr noundef @.str.2, ptr noundef %19)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %16
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 2
%25 = load ptr, ptr %24, align 8
%26 = call i32 @sha2_check(ptr noundef %25)
store i32 %26, ptr %3, align 4
br label %46
27: ; preds = %16, %13
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
br label %28
28: ; preds = %41, %27
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %4, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %44
32: ; preds = %28
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds ptr, ptr %33, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = call i32 @sha2_print(ptr noundef %37)
%39 = load i32, ptr %6, align 4
%40 = or i32 %39, %38
store i32 %40, ptr %6, align 4
br label %41
41: ; preds = %32
%42 = load i32, ptr %7, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %7, align 4
br label %28, !llvm.loop !6
44: ; preds = %28
%45 = load i32, ptr %6, align 4
store i32 %45, ptr %3, align 4
br label %46
46: ; preds = %44, %22, %10
%47 = load i32, ptr %3, align 4
ret i32 %47
}
declare i32 @printf(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @sha2_check(ptr noundef) #1
declare i32 @sha2_print(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_i6m031j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"print mode: sha2sum <file> <file> ...\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"check mode: sha2sum -c <checksum file>\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-c\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 eq i32 %8, 1
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = call i32 @printf(ptr noundef @.str)
%12 = call i32 @printf(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %48
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %14, 3
br i1 %15, label %16, label %27
16: ; preds = %13
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i64 @strcmp(ptr noundef @.str.2, ptr noundef %19)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %16
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 2
%25 = load ptr, ptr %24, align 8
%26 = call i32 @sha2_check(ptr noundef %25)
store i32 %26, ptr %3, align 4
br label %48
27: ; preds = %16, %13
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph, label %46
.lr.ph: ; preds = %27
br label %31
31: ; preds = %.lr.ph, %40
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds ptr, ptr %32, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = call i32 @sha2_print(ptr noundef %36)
%38 = load i32, ptr %6, align 4
%39 = or i32 %38, %37
store i32 %39, ptr %6, align 4
br label %40
40: ; preds = %31
%41 = load i32, ptr %7, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %7, align 4
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %4, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %46
46: ; preds = %._crit_edge, %27
%47 = load i32, ptr %6, align 4
store i32 %47, ptr %3, align 4
br label %48
48: ; preds = %46, %22, %10
%49 = load i32, ptr %3, align 4
ret i32 %49
}
declare i32 @printf(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @sha2_check(ptr noundef) #1
declare i32 @sha2_print(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp30y049fr.c'
source_filename = "/tmp/tmp30y049fr.c"
target datalayout = "e-m:e-p270: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/tmp30y049fr.c"
target datalayout = "e-m:e-p270: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/tmpdcji0i7m.c'
source_filename = "/tmp/tmpdcji0i7m.c"
target datalayout = "e-m:e-p270: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/tmpdcji0i7m.c"
target datalayout = "e-m:e-p270: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/tmpfobiryws.c'
source_filename = "/tmp/tmpfobiryws.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fiftyoneDegreesJSONFree(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 @fiftyoneDegreesFree(ptr noundef %3)
ret void
}
declare i32 @fiftyoneDegreesFree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfobiryws.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fiftyoneDegreesJSONFree(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 @fiftyoneDegreesFree(ptr noundef %3)
ret void
}
declare i32 @fiftyoneDegreesFree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9ubkn54t.c'
source_filename = "/tmp/tmp9ubkn54t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EILSEQ = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @mbrtowc(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%10 = load ptr, ptr %7, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %4
store i64 0, ptr %5, align 8
br label %40
13: ; preds = %4
%14 = load i64, ptr %8, align 8
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13
store i64 -2, ptr %5, align 8
br label %40
17: ; preds = %13
%18 = load ptr, ptr %7, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = and i32 %20, 128
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %17
%24 = load i32, ptr @EILSEQ, align 4
store i32 %24, ptr @errno, align 4
store i64 -1, ptr %5, align 8
br label %40
25: ; preds = %17
%26 = load ptr, ptr %6, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %28, label %32
28: ; preds = %25
%29 = load ptr, ptr %7, align 8
%30 = load i8, ptr %29, align 1
%31 = load ptr, ptr %6, align 8
store i8 %30, ptr %31, align 1
br label %32
32: ; preds = %28, %25
%33 = load ptr, ptr %7, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 0
%37 = zext i1 %36 to i64
%38 = select i1 %36, i32 0, i32 1
%39 = sext i32 %38 to i64
store i64 %39, ptr %5, align 8
br label %40
40: ; preds = %32, %23, %16, %12
%41 = load i64, ptr %5, align 8
ret i64 %41
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9ubkn54t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EILSEQ = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @mbrtowc(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%10 = load ptr, ptr %7, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %4
store i64 0, ptr %5, align 8
br label %40
13: ; preds = %4
%14 = load i64, ptr %8, align 8
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13
store i64 -2, ptr %5, align 8
br label %40
17: ; preds = %13
%18 = load ptr, ptr %7, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = and i32 %20, 128
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %17
%24 = load i32, ptr @EILSEQ, align 4
store i32 %24, ptr @errno, align 4
store i64 -1, ptr %5, align 8
br label %40
25: ; preds = %17
%26 = load ptr, ptr %6, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %28, label %32
28: ; preds = %25
%29 = load ptr, ptr %7, align 8
%30 = load i8, ptr %29, align 1
%31 = load ptr, ptr %6, align 8
store i8 %30, ptr %31, align 1
br label %32
32: ; preds = %28, %25
%33 = load ptr, ptr %7, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 0
%37 = zext i1 %36 to i64
%38 = select i1 %36, i32 0, i32 1
%39 = sext i32 %38 to i64
store i64 %39, ptr %5, align 8
br label %40
40: ; preds = %32, %23, %16, %12
%41 = load i64, ptr %5, align 8
ret i64 %41
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnplkq1nh.c'
source_filename = "/tmp/tmpnplkq1nh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gp2x_joystick_scan() #0 {
%1 = call i32 (...) @gp2x_joystick_deinit()
%2 = call i32 (...) @gp2x_joystick_init()
ret void
}
declare i32 @gp2x_joystick_deinit(...) #1
declare i32 @gp2x_joystick_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnplkq1nh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gp2x_joystick_scan() #0 {
%1 = call i32 (...) @gp2x_joystick_deinit()
%2 = call i32 (...) @gp2x_joystick_init()
ret void
}
declare i32 @gp2x_joystick_deinit(...) #1
declare i32 @gp2x_joystick_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpczgwfoaz.c'
source_filename = "/tmp/tmpczgwfoaz.c"
target datalayout = "e-m:e-p270: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/tmpczgwfoaz.c"
target datalayout = "e-m:e-p270: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/tmpcnh419w2.c'
source_filename = "/tmp/tmpcnh419w2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"ustar\00", align 1
@SEEK_CUR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @seek_to_tar_position(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [4096 x i8], align 16
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr @.str, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %5, align 8
br label %11
11: ; preds = %63, %1
%12 = load ptr, ptr %3, align 8
%13 = call i32 @feof(ptr noundef %12)
%14 = icmp ne i32 %13, 0
%15 = xor i1 %14, true
br i1 %15, label %16, label %64
16: ; preds = %11
%17 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%18 = load ptr, ptr %3, align 8
%19 = call i64 @fread(ptr noundef %17, i32 noundef 1, i32 noundef 4096, ptr noundef %18)
store i64 %19, ptr %7, align 8
%20 = load i64, ptr %7, align 8
store i64 %20, ptr %8, align 8
%21 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
store ptr %21, ptr %9, align 8
br label %22
22: ; preds = %45, %16
%23 = load i64, ptr %8, align 8
%24 = icmp ugt i64 %23, 0
br i1 %24, label %25, label %50
25: ; preds = %22
%26 = load ptr, ptr %9, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = load ptr, ptr %5, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %28, %31
br i1 %32, label %33, label %42
33: ; preds = %25
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %5, align 8
%36 = load ptr, ptr %5, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %33
br label %50
41: ; preds = %33
br label %44
42: ; preds = %25
%43 = load ptr, ptr %4, align 8
store ptr %43, ptr %5, align 8
br label %44
44: ; preds = %42, %41
br label %45
45: ; preds = %44
%46 = load i64, ptr %8, align 8
%47 = add i64 %46, -1
store i64 %47, ptr %8, align 8
%48 = load ptr, ptr %9, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %9, align 8
br label %22, !llvm.loop !6
50: ; preds = %40, %22
%51 = load i64, ptr %8, align 8
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %63
53: ; preds = %50
%54 = load ptr, ptr %3, align 8
%55 = load i64, ptr %8, align 8
%56 = sub i64 0, %55
%57 = sub i64 %56, 256
%58 = load ptr, ptr %4, align 8
%59 = call i64 @strlen(ptr noundef %58)
%60 = sub i64 %57, %59
%61 = load i32, ptr @SEEK_CUR, align 4
%62 = call i32 @fseek(ptr noundef %54, i64 noundef %60, i32 noundef %61)
store i32 0, ptr %2, align 4
br label %65
63: ; preds = %50
br label %11, !llvm.loop !8
64: ; preds = %11
store i32 1, ptr %2, align 4
br label %65
65: ; preds = %64, %53
%66 = load i32, ptr %2, align 4
ret i32 %66
}
declare i32 @feof(ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcnh419w2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"ustar\00", align 1
@SEEK_CUR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @seek_to_tar_position(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [4096 x i8], align 16
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr @.str, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %3, align 8
%12 = call i32 @feof(ptr noundef %11)
%13 = icmp ne i32 %12, 0
%14 = xor i1 %13, true
br i1 %14, label %.lr.ph1, label %68
.lr.ph1: ; preds = %1
br label %20
15: ; preds = %55
%16 = load ptr, ptr %3, align 8
%17 = call i32 @feof(ptr noundef %16)
%18 = icmp ne i32 %17, 0
%19 = xor i1 %18, true
br i1 %19, label %20, label %._crit_edge, !llvm.loop !6
20: ; preds = %.lr.ph1, %15
%21 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%22 = load ptr, ptr %3, align 8
%23 = call i64 @fread(ptr noundef %21, i32 noundef 1, i32 noundef 4096, ptr noundef %22)
store i64 %23, ptr %7, align 8
%24 = load i64, ptr %7, align 8
store i64 %24, ptr %8, align 8
%25 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
store ptr %25, ptr %9, align 8
%26 = load i64, ptr %8, align 8
%27 = icmp ugt i64 %26, 0
br i1 %27, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %20
br label %28
28: ; preds = %.lr.ph, %48
%29 = load ptr, ptr %9, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = load ptr, ptr %5, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %31, %34
br i1 %35, label %36, label %45
36: ; preds = %28
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %5, align 8
%39 = load ptr, ptr %5, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %36
br label %55
44: ; preds = %36
br label %47
45: ; preds = %28
%46 = load ptr, ptr %4, align 8
store ptr %46, ptr %5, align 8
br label %47
47: ; preds = %45, %44
br label %48
48: ; preds = %47
%49 = load i64, ptr %8, align 8
%50 = add i64 %49, -1
store i64 %50, ptr %8, align 8
%51 = load ptr, ptr %9, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %9, align 8
%53 = load i64, ptr %8, align 8
%54 = icmp ugt i64 %53, 0
br i1 %54, label %28, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %48
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %20
br label %55
55: ; preds = %.loopexit, %43
%56 = load i64, ptr %8, align 8
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %15
58: ; preds = %55
%59 = load ptr, ptr %3, align 8
%60 = load i64, ptr %8, align 8
%61 = sub i64 0, %60
%62 = sub i64 %61, 256
%63 = load ptr, ptr %4, align 8
%64 = call i64 @strlen(ptr noundef %63)
%65 = sub i64 %62, %64
%66 = load i32, ptr @SEEK_CUR, align 4
%67 = call i32 @fseek(ptr noundef %59, i64 noundef %65, i32 noundef %66)
store i32 0, ptr %2, align 4
br label %69
._crit_edge: ; preds = %15
br label %68
68: ; preds = %._crit_edge, %1
store i32 1, ptr %2, align 4
br label %69
69: ; preds = %68, %58
%70 = load i32, ptr %2, align 4
ret i32 %70
}
declare i32 @feof(ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp5q47mhrz.c'
source_filename = "/tmp/tmp5q47mhrz.c"
target datalayout = "e-m:e-p270: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/tmp5q47mhrz.c"
target datalayout = "e-m:e-p270: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/tmpnphaqxp8.c'
source_filename = "/tmp/tmpnphaqxp8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isupper should be 0 for k\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x6b() #0 {
%1 = call i64 @isupper(i32 noundef 107)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 540, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isupper(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/tmpnphaqxp8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isupper should be 0 for k\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x6b() #0 {
%1 = call i64 @isupper(i32 noundef 107)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 540, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isupper(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/tmpi57t2gpn.c'
source_filename = "/tmp/tmpi57t2gpn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_equality_operators(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 = icmp eq i32 %5, %6
%8 = zext i1 %7 to i32
%9 = call i32 @__emit_expression_range(i32 noundef 0, i32 noundef %8)
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %10, %11
%13 = zext i1 %12 to i32
%14 = call i32 @__emit_expression_range(i32 noundef 0, i32 noundef %13)
ret void
}
declare i32 @__emit_expression_range(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/tmpi57t2gpn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_equality_operators(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 = icmp eq i32 %5, %6
%8 = zext i1 %7 to i32
%9 = call i32 @__emit_expression_range(i32 noundef 0, i32 noundef %8)
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %10, %11
%13 = zext i1 %12 to i32
%14 = call i32 @__emit_expression_range(i32 noundef 0, i32 noundef %13)
ret void
}
declare i32 @__emit_expression_range(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/tmpp2wh5moj.c'
source_filename = "/tmp/tmpp2wh5moj.c"
target datalayout = "e-m:e-p270: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/tmpp2wh5moj.c"
target datalayout = "e-m:e-p270: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/tmp0155y52y.c'
source_filename = "/tmp/tmp0155y52y.c"
target datalayout = "e-m:e-p270: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/tmp0155y52y.c"
target datalayout = "e-m:e-p270: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/tmpw2g29n34.c'
source_filename = "/tmp/tmpw2g29n34.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_SYS() #0 {
%1 = call i32 @handle_SYS(i32 noundef 0)
ret i32 0
}
declare i32 @handle_SYS(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/tmpw2g29n34.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_SYS() #0 {
%1 = call i32 @handle_SYS(i32 noundef 0)
ret i32 0
}
declare i32 @handle_SYS(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/tmpkg5rmdfv.c'
source_filename = "/tmp/tmpkg5rmdfv.c"
target datalayout = "e-m:e-p270: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/tmpkg5rmdfv.c"
target datalayout = "e-m:e-p270: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/tmp92gtfbu8.c'
source_filename = "/tmp/tmp92gtfbu8.c"
target datalayout = "e-m:e-p270: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/tmp92gtfbu8.c"
target datalayout = "e-m:e-p270: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/tmpm61bpuc9.c'
source_filename = "/tmp/tmpm61bpuc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sin\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"fixed\00", align 1
@.str.2 = private unnamed_addr constant [46 x i8] c"/* This file was automatically generated. */\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"#define FFT_FLOAT %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"#include \22libavcodec/%s\22\0A\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"rdft.h\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"fft.h\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"%s(%i) = {\0A \00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"SINTABLE\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"COSTABLE\00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c"\0A \00", align 1
@.str.11 = private unnamed_addr constant [5 x i8] c"\0A};\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%14 = load i32, ptr %4, align 4
%15 = icmp sgt i32 %14, 1
br i1 %15, label %16, label %23
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i32 @strcmp(ptr noundef %19, ptr noundef @.str)
%21 = icmp ne i32 %20, 0
%22 = xor i1 %21, true
br label %23
23: ; preds = %16, %2
%24 = phi i1 [ false, %2 ], [ %22, %16 ]
%25 = zext i1 %24 to i32
store i32 %25, ptr %8, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp sgt i32 %26, 1
br i1 %27, label %28, label %34
28: ; preds = %23
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 1
%31 = load ptr, ptr %30, align 8
%32 = call i64 @strstr(ptr noundef %31, ptr noundef @.str.1)
%33 = icmp ne i64 %32, 0
br label %34
34: ; preds = %28, %23
%35 = phi i1 [ false, %23 ], [ %33, %28 ]
%36 = zext i1 %35 to i32
store i32 %36, ptr %9, align 4
%37 = load i32, ptr %8, align 4
%38 = icmp ne i32 %37, 0
%39 = zext i1 %38 to i64
%40 = select i1 %38, ptr @sin, ptr @cos
store ptr %40, ptr %10, align 8
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%42 = load i32, ptr %9, align 4
%43 = icmp ne i32 %42, 0
%44 = xor i1 %43, true
%45 = zext i1 %44 to i32
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %45)
%47 = load i32, ptr %8, align 4
%48 = icmp ne i32 %47, 0
%49 = zext i1 %48 to i64
%50 = select i1 %48, ptr @.str.5, ptr @.str.6
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %50)
store i32 4, ptr %6, align 4
br label %52
52: ; preds = %137, %34
%53 = load i32, ptr %6, align 4
%54 = icmp sle i32 %53, 16
br i1 %54, label %55, label %140
55: ; preds = %52
%56 = load i32, ptr %6, align 4
%57 = shl i32 1, %56
store i32 %57, ptr %11, align 4
%58 = load i32, ptr %11, align 4
%59 = sitofp i32 %58 to double
%60 = fdiv double 0x401921FB54442D18, %59
store double %60, ptr %12, align 8
%61 = load i32, ptr %8, align 4
%62 = icmp ne i32 %61, 0
%63 = zext i1 %62 to i64
%64 = select i1 %62, ptr @.str.8, ptr @.str.9
%65 = load i32, ptr %11, align 4
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %64, i32 noundef %65)
store i32 0, ptr %7, align 4
br label %67
67: ; preds = %114, %55
%68 = load i32, ptr %7, align 4
%69 = load i32, ptr %11, align 4
%70 = sdiv i32 %69, 2
%71 = sub nsw i32 %70, 1
%72 = icmp slt i32 %68, %71
br i1 %72, label %73, label %117
73: ; preds = %67
%74 = load i32, ptr %7, align 4
%75 = load i32, ptr %11, align 4
%76 = sdiv i32 %75, 4
%77 = icmp sgt i32 %74, %76
br i1 %77, label %78, label %83
78: ; preds = %73
%79 = load i32, ptr %11, align 4
%80 = sdiv i32 %79, 2
%81 = load i32, ptr %7, align 4
%82 = sub nsw i32 %80, %81
br label %85
83: ; preds = %73
%84 = load i32, ptr %7, align 4
br label %85
85: ; preds = %83, %78
%86 = phi i32 [ %82, %78 ], [ %84, %83 ]
store i32 %86, ptr %13, align 4
%87 = load i32, ptr %8, align 4
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %99
89: ; preds = %85
%90 = load i32, ptr %7, align 4
%91 = load i32, ptr %11, align 4
%92 = sdiv i32 %91, 4
%93 = icmp sge i32 %90, %92
br i1 %93, label %94, label %99
94: ; preds = %89
%95 = load i32, ptr %11, align 4
%96 = sdiv i32 %95, 4
%97 = load i32, ptr %7, align 4
%98 = sub nsw i32 %96, %97
store i32 %98, ptr %13, align 4
br label %99
99: ; preds = %94, %89, %85
%100 = load ptr, ptr %10, align 8
%101 = load i32, ptr %13, align 4
%102 = sitofp i32 %101 to double
%103 = load double, ptr %12, align 8
%104 = fmul double %102, %103
%105 = call double %100(double noundef %104)
%106 = load i32, ptr %9, align 4
%107 = call i32 @printval(double noundef %105, i32 noundef %106)
%108 = load i32, ptr %7, align 4
%109 = and i32 %108, 3
%110 = icmp eq i32 %109, 3
br i1 %110, label %111, label %113
111: ; preds = %99
%112 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %113
113: ; preds = %111, %99
br label %114
114: ; preds = %113
%115 = load i32, ptr %7, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %7, align 4
br label %67, !llvm.loop !6
117: ; preds = %67
%118 = load ptr, ptr %10, align 8
%119 = load i32, ptr %8, align 4
%120 = icmp ne i32 %119, 0
br i1 %120, label %121, label %129
121: ; preds = %117
%122 = load i32, ptr %11, align 4
%123 = sdiv i32 %122, 4
%124 = sub nsw i32 %123, 1
%125 = sub nsw i32 0, %124
%126 = sitofp i32 %125 to double
%127 = load double, ptr %12, align 8
%128 = fmul double %126, %127
br label %131
129: ; preds = %117
%130 = load double, ptr %12, align 8
br label %131
131: ; preds = %129, %121
%132 = phi double [ %128, %121 ], [ %130, %129 ]
%133 = call double %118(double noundef %132)
%134 = load i32, ptr %9, align 4
%135 = call i32 @printval(double noundef %133, i32 noundef %134)
%136 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
br label %137
137: ; preds = %131
%138 = load i32, ptr %6, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %6, align 4
br label %52, !llvm.loop !8
140: ; preds = %52
ret i32 0
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @strstr(ptr noundef, ptr noundef) #1
; Function Attrs: nounwind
declare double @sin(double noundef) #2
; Function Attrs: nounwind
declare double @cos(double noundef) #2
declare i32 @printf(ptr noundef, ...) #1
declare i32 @printval(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpm61bpuc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sin\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"fixed\00", align 1
@.str.2 = private unnamed_addr constant [46 x i8] c"/* This file was automatically generated. */\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"#define FFT_FLOAT %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [26 x i8] c"#include \22libavcodec/%s\22\0A\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"rdft.h\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"fft.h\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"%s(%i) = {\0A \00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"SINTABLE\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"COSTABLE\00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c"\0A \00", align 1
@.str.11 = private unnamed_addr constant [5 x i8] c"\0A};\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%14 = load i32, ptr %4, align 4
%15 = icmp sgt i32 %14, 1
br i1 %15, label %16, label %23
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i32 @strcmp(ptr noundef %19, ptr noundef @.str)
%21 = icmp ne i32 %20, 0
%22 = xor i1 %21, true
br label %23
23: ; preds = %16, %2
%24 = phi i1 [ false, %2 ], [ %22, %16 ]
%25 = zext i1 %24 to i32
store i32 %25, ptr %8, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp sgt i32 %26, 1
br i1 %27, label %28, label %34
28: ; preds = %23
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 1
%31 = load ptr, ptr %30, align 8
%32 = call i64 @strstr(ptr noundef %31, ptr noundef @.str.1)
%33 = icmp ne i64 %32, 0
br label %34
34: ; preds = %28, %23
%35 = phi i1 [ false, %23 ], [ %33, %28 ]
%36 = zext i1 %35 to i32
store i32 %36, ptr %9, align 4
%37 = load i32, ptr %8, align 4
%38 = icmp ne i32 %37, 0
%39 = zext i1 %38 to i64
%40 = select i1 %38, ptr @sin, ptr @cos
store ptr %40, ptr %10, align 8
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%42 = load i32, ptr %9, align 4
%43 = icmp ne i32 %42, 0
%44 = xor i1 %43, true
%45 = zext i1 %44 to i32
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %45)
%47 = load i32, ptr %8, align 4
%48 = icmp ne i32 %47, 0
%49 = zext i1 %48 to i64
%50 = select i1 %48, ptr @.str.5, ptr @.str.6
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %50)
store i32 4, ptr %6, align 4
%52 = load i32, ptr %6, align 4
%53 = icmp sle i32 %52, 16
br i1 %53, label %.lr.ph2, label %145
.lr.ph2: ; preds = %34
br label %54
54: ; preds = %.lr.ph2, %140
%55 = load i32, ptr %6, align 4
%56 = shl i32 1, %55
store i32 %56, ptr %11, align 4
%57 = load i32, ptr %11, align 4
%58 = sitofp i32 %57 to double
%59 = fdiv double 0x401921FB54442D18, %58
store double %59, ptr %12, align 8
%60 = load i32, ptr %8, align 4
%61 = icmp ne i32 %60, 0
%62 = zext i1 %61 to i64
%63 = select i1 %61, ptr @.str.8, ptr @.str.9
%64 = load i32, ptr %11, align 4
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %63, i32 noundef %64)
store i32 0, ptr %7, align 4
%66 = load i32, ptr %7, align 4
%67 = load i32, ptr %11, align 4
%68 = sdiv i32 %67, 2
%69 = sub nsw i32 %68, 1
%70 = icmp slt i32 %66, %69
br i1 %70, label %.lr.ph, label %120
.lr.ph: ; preds = %54
br label %71
71: ; preds = %.lr.ph, %112
%72 = load i32, ptr %7, align 4
%73 = load i32, ptr %11, align 4
%74 = sdiv i32 %73, 4
%75 = icmp sgt i32 %72, %74
br i1 %75, label %76, label %81
76: ; preds = %71
%77 = load i32, ptr %11, align 4
%78 = sdiv i32 %77, 2
%79 = load i32, ptr %7, align 4
%80 = sub nsw i32 %78, %79
br label %83
81: ; preds = %71
%82 = load i32, ptr %7, align 4
br label %83
83: ; preds = %81, %76
%84 = phi i32 [ %80, %76 ], [ %82, %81 ]
store i32 %84, ptr %13, align 4
%85 = load i32, ptr %8, align 4
%86 = icmp ne i32 %85, 0
br i1 %86, label %87, label %97
87: ; preds = %83
%88 = load i32, ptr %7, align 4
%89 = load i32, ptr %11, align 4
%90 = sdiv i32 %89, 4
%91 = icmp sge i32 %88, %90
br i1 %91, label %92, label %97
92: ; preds = %87
%93 = load i32, ptr %11, align 4
%94 = sdiv i32 %93, 4
%95 = load i32, ptr %7, align 4
%96 = sub nsw i32 %94, %95
store i32 %96, ptr %13, align 4
br label %97
97: ; preds = %92, %87, %83
%98 = load ptr, ptr %10, align 8
%99 = load i32, ptr %13, align 4
%100 = sitofp i32 %99 to double
%101 = load double, ptr %12, align 8
%102 = fmul double %100, %101
%103 = call double %98(double noundef %102)
%104 = load i32, ptr %9, align 4
%105 = call i32 @printval(double noundef %103, i32 noundef %104)
%106 = load i32, ptr %7, align 4
%107 = and i32 %106, 3
%108 = icmp eq i32 %107, 3
br i1 %108, label %109, label %111
109: ; preds = %97
%110 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %111
111: ; preds = %109, %97
br label %112
112: ; preds = %111
%113 = load i32, ptr %7, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %7, align 4
%115 = load i32, ptr %7, align 4
%116 = load i32, ptr %11, align 4
%117 = sdiv i32 %116, 2
%118 = sub nsw i32 %117, 1
%119 = icmp slt i32 %115, %118
br i1 %119, label %71, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %112
br label %120
120: ; preds = %._crit_edge, %54
%121 = load ptr, ptr %10, align 8
%122 = load i32, ptr %8, align 4
%123 = icmp ne i32 %122, 0
br i1 %123, label %124, label %132
124: ; preds = %120
%125 = load i32, ptr %11, align 4
%126 = sdiv i32 %125, 4
%127 = sub nsw i32 %126, 1
%128 = sub nsw i32 0, %127
%129 = sitofp i32 %128 to double
%130 = load double, ptr %12, align 8
%131 = fmul double %129, %130
br label %134
132: ; preds = %120
%133 = load double, ptr %12, align 8
br label %134
134: ; preds = %132, %124
%135 = phi double [ %131, %124 ], [ %133, %132 ]
%136 = call double %121(double noundef %135)
%137 = load i32, ptr %9, align 4
%138 = call i32 @printval(double noundef %136, i32 noundef %137)
%139 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
br label %140
140: ; preds = %134
%141 = load i32, ptr %6, align 4
%142 = add nsw i32 %141, 1
store i32 %142, ptr %6, align 4
%143 = load i32, ptr %6, align 4
%144 = icmp sle i32 %143, 16
br i1 %144, label %54, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %140
br label %145
145: ; preds = %._crit_edge3, %34
ret i32 0
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i64 @strstr(ptr noundef, ptr noundef) #1
; Function Attrs: nounwind
declare double @sin(double noundef) #2
; Function Attrs: nounwind
declare double @cos(double noundef) #2
declare i32 @printf(ptr noundef, ...) #1
declare i32 @printval(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpwhxg0mqa.c'
source_filename = "/tmp/tmpwhxg0mqa.c"
target datalayout = "e-m:e-p270: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/tmpwhxg0mqa.c"
target datalayout = "e-m:e-p270: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/tmpnx4er_ls.c'
source_filename = "/tmp/tmpnx4er_ls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"\1B(0-\1B(B\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @putLDCharCurUp() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnx4er_ls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"\1B(0-\1B(B\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @putLDCharCurUp() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpti56poc8.c'
source_filename = "/tmp/tmpti56poc8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__aeabi_memcpy8(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @memcpy(ptr noundef %7, ptr noundef %8, i64 noundef %9)
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpti56poc8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__aeabi_memcpy8(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @memcpy(ptr noundef %7, ptr noundef %8, i64 noundef %9)
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_vzswcbb.c'
source_filename = "/tmp/tmp_vzswcbb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @seas() #0 {
%1 = call i32 @mvaddch(i32 noundef 4, i32 noundef 1, i8 noundef signext 83)
%2 = call i32 @mvaddch(i32 noundef 6, i32 noundef 1, i8 noundef signext 69)
%3 = call i32 @mvaddch(i32 noundef 8, i32 noundef 1, i8 noundef signext 65)
%4 = call i32 @mvaddch(i32 noundef 10, i32 noundef 1, i8 noundef signext 83)
%5 = call i32 @mvaddch(i32 noundef 12, i32 noundef 1, i8 noundef signext 79)
%6 = call i32 @mvaddch(i32 noundef 14, i32 noundef 1, i8 noundef signext 78)
%7 = call i32 @mvaddch(i32 noundef 16, i32 noundef 1, i8 noundef signext 96)
%8 = call i32 @mvaddch(i32 noundef 18, i32 noundef 1, i8 noundef signext 83)
ret void
}
declare i32 @mvaddch(i32 noundef, i32 noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_vzswcbb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @seas() #0 {
%1 = call i32 @mvaddch(i32 noundef 4, i32 noundef 1, i8 noundef signext 83)
%2 = call i32 @mvaddch(i32 noundef 6, i32 noundef 1, i8 noundef signext 69)
%3 = call i32 @mvaddch(i32 noundef 8, i32 noundef 1, i8 noundef signext 65)
%4 = call i32 @mvaddch(i32 noundef 10, i32 noundef 1, i8 noundef signext 83)
%5 = call i32 @mvaddch(i32 noundef 12, i32 noundef 1, i8 noundef signext 79)
%6 = call i32 @mvaddch(i32 noundef 14, i32 noundef 1, i8 noundef signext 78)
%7 = call i32 @mvaddch(i32 noundef 16, i32 noundef 1, i8 noundef signext 96)
%8 = call i32 @mvaddch(i32 noundef 18, i32 noundef 1, i8 noundef signext 83)
ret void
}
declare i32 @mvaddch(i32 noundef, i32 noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl03imxue.c'
source_filename = "/tmp/tmpl03imxue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@VIDEO_SET_BLANK = 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/tmpl03imxue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@VIDEO_SET_BLANK = 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/tmp3cixhgdj.c'
source_filename = "/tmp/tmp3cixhgdj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"bad XA input to splint\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @splint(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, double noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store double %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store i32 0, ptr %13, align 4
%20 = load i32, ptr %10, align 4
%21 = sub nsw i32 %20, 1
store i32 %21, ptr %14, align 4
br label %22
22: ; preds = %43, %6
%23 = load i32, ptr %14, align 4
%24 = load i32, ptr %13, align 4
%25 = sub nsw i32 %23, %24
%26 = icmp sgt i32 %25, 1
br i1 %26, label %27, label %44
27: ; preds = %22
%28 = load i32, ptr %14, align 4
%29 = load i32, ptr %13, align 4
%30 = add nsw i32 %28, %29
%31 = sdiv i32 %30, 2
store i32 %31, ptr %15, align 4
%32 = load ptr, ptr %7, align 8
%33 = load i32, ptr %15, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, ptr %32, i64 %34
%36 = load double, ptr %35, align 8
%37 = load double, ptr %11, align 8
%38 = fcmp ogt double %36, %37
br i1 %38, label %39, label %41
39: ; preds = %27
%40 = load i32, ptr %15, align 4
store i32 %40, ptr %14, align 4
br label %43
41: ; preds = %27
%42 = load i32, ptr %15, align 4
store i32 %42, ptr %13, align 4
br label %43
43: ; preds = %41, %39
br label %22, !llvm.loop !6
44: ; preds = %22
%45 = load ptr, ptr %7, align 8
%46 = load i32, ptr %14, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, ptr %45, i64 %47
%49 = load double, ptr %48, align 8
%50 = load ptr, ptr %7, align 8
%51 = load i32, ptr %13, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds double, ptr %50, i64 %52
%54 = load double, ptr %53, align 8
%55 = fsub double %49, %54
store double %55, ptr %16, align 8
%56 = load double, ptr %16, align 8
%57 = fcmp oeq double %56, 0.000000e+00
br i1 %57, label %58, label %60
58: ; preds = %44
%59 = call i32 @printf(ptr noundef @.str)
br label %60
60: ; preds = %58, %44
%61 = load ptr, ptr %7, align 8
%62 = load i32, ptr %14, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, ptr %61, i64 %63
%65 = load double, ptr %64, align 8
%66 = load double, ptr %11, align 8
%67 = fsub double %65, %66
%68 = load double, ptr %16, align 8
%69 = fdiv double %67, %68
store double %69, ptr %17, align 8
%70 = load double, ptr %11, align 8
%71 = load ptr, ptr %7, align 8
%72 = load i32, ptr %13, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, ptr %71, i64 %73
%75 = load double, ptr %74, align 8
%76 = fsub double %70, %75
%77 = load double, ptr %16, align 8
%78 = fdiv double %76, %77
store double %78, ptr %18, align 8
%79 = load double, ptr %17, align 8
%80 = load ptr, ptr %8, align 8
%81 = load i32, ptr %13, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds double, ptr %80, i64 %82
%84 = load double, ptr %83, align 8
%85 = load double, ptr %18, align 8
%86 = load ptr, ptr %8, align 8
%87 = load i32, ptr %14, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds double, ptr %86, i64 %88
%90 = load double, ptr %89, align 8
%91 = fmul double %85, %90
%92 = call double @llvm.fmuladd.f64(double %79, double %84, double %91)
%93 = load double, ptr %17, align 8
%94 = load double, ptr %17, align 8
%95 = fmul double %93, %94
%96 = load double, ptr %17, align 8
%97 = load double, ptr %17, align 8
%98 = fneg double %97
%99 = call double @llvm.fmuladd.f64(double %95, double %96, double %98)
%100 = load ptr, ptr %9, align 8
%101 = load i32, ptr %13, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds double, ptr %100, i64 %102
%104 = load double, ptr %103, align 8
%105 = load double, ptr %18, align 8
%106 = load double, ptr %18, align 8
%107 = fmul double %105, %106
%108 = load double, ptr %18, align 8
%109 = load double, ptr %18, align 8
%110 = fneg double %109
%111 = call double @llvm.fmuladd.f64(double %107, double %108, double %110)
%112 = load ptr, ptr %9, align 8
%113 = load i32, ptr %14, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, ptr %112, i64 %114
%116 = load double, ptr %115, align 8
%117 = fmul double %111, %116
%118 = call double @llvm.fmuladd.f64(double %99, double %104, double %117)
%119 = load double, ptr %16, align 8
%120 = fmul double %118, %119
%121 = load double, ptr %16, align 8
%122 = fmul double %120, %121
%123 = fdiv double %122, 6.000000e+00
%124 = fadd double %92, %123
store double %124, ptr %19, align 8
%125 = load double, ptr %19, align 8
%126 = load ptr, ptr %12, align 8
store double %125, ptr %126, align 8
ret void
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3cixhgdj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"bad XA input to splint\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @splint(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, double noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store double %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store i32 0, ptr %13, align 4
%20 = load i32, ptr %10, align 4
%21 = sub nsw i32 %20, 1
store i32 %21, ptr %14, align 4
%22 = load i32, ptr %14, align 4
%23 = load i32, ptr %13, align 4
%24 = sub nsw i32 %22, %23
%25 = icmp sgt i32 %24, 1
br i1 %25, label %.lr.ph, label %47
.lr.ph: ; preds = %6
br label %26
26: ; preds = %.lr.ph, %42
%27 = load i32, ptr %14, align 4
%28 = load i32, ptr %13, align 4
%29 = add nsw i32 %27, %28
%30 = sdiv i32 %29, 2
store i32 %30, ptr %15, align 4
%31 = load ptr, ptr %7, align 8
%32 = load i32, ptr %15, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds double, ptr %31, i64 %33
%35 = load double, ptr %34, align 8
%36 = load double, ptr %11, align 8
%37 = fcmp ogt double %35, %36
br i1 %37, label %38, label %40
38: ; preds = %26
%39 = load i32, ptr %15, align 4
store i32 %39, ptr %14, align 4
br label %42
40: ; preds = %26
%41 = load i32, ptr %15, align 4
store i32 %41, ptr %13, align 4
br label %42
42: ; preds = %40, %38
%43 = load i32, ptr %14, align 4
%44 = load i32, ptr %13, align 4
%45 = sub nsw i32 %43, %44
%46 = icmp sgt i32 %45, 1
br i1 %46, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %47
47: ; preds = %._crit_edge, %6
%48 = load ptr, ptr %7, align 8
%49 = load i32, ptr %14, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds double, ptr %48, i64 %50
%52 = load double, ptr %51, align 8
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %13, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds double, ptr %53, i64 %55
%57 = load double, ptr %56, align 8
%58 = fsub double %52, %57
store double %58, ptr %16, align 8
%59 = load double, ptr %16, align 8
%60 = fcmp oeq double %59, 0.000000e+00
br i1 %60, label %61, label %63
61: ; preds = %47
%62 = call i32 @printf(ptr noundef @.str)
br label %63
63: ; preds = %61, %47
%64 = load ptr, ptr %7, align 8
%65 = load i32, ptr %14, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, ptr %64, i64 %66
%68 = load double, ptr %67, align 8
%69 = load double, ptr %11, align 8
%70 = fsub double %68, %69
%71 = load double, ptr %16, align 8
%72 = fdiv double %70, %71
store double %72, ptr %17, align 8
%73 = load double, ptr %11, align 8
%74 = load ptr, ptr %7, align 8
%75 = load i32, ptr %13, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %74, i64 %76
%78 = load double, ptr %77, align 8
%79 = fsub double %73, %78
%80 = load double, ptr %16, align 8
%81 = fdiv double %79, %80
store double %81, ptr %18, align 8
%82 = load double, ptr %17, align 8
%83 = load ptr, ptr %8, align 8
%84 = load i32, ptr %13, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds double, ptr %83, i64 %85
%87 = load double, ptr %86, align 8
%88 = load double, ptr %18, align 8
%89 = load ptr, ptr %8, align 8
%90 = load i32, ptr %14, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds double, ptr %89, i64 %91
%93 = load double, ptr %92, align 8
%94 = fmul double %88, %93
%95 = call double @llvm.fmuladd.f64(double %82, double %87, double %94)
%96 = load double, ptr %17, align 8
%97 = load double, ptr %17, align 8
%98 = fmul double %96, %97
%99 = load double, ptr %17, align 8
%100 = load double, ptr %17, align 8
%101 = fneg double %100
%102 = call double @llvm.fmuladd.f64(double %98, double %99, double %101)
%103 = load ptr, ptr %9, align 8
%104 = load i32, ptr %13, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds double, ptr %103, i64 %105
%107 = load double, ptr %106, align 8
%108 = load double, ptr %18, align 8
%109 = load double, ptr %18, align 8
%110 = fmul double %108, %109
%111 = load double, ptr %18, align 8
%112 = load double, ptr %18, align 8
%113 = fneg double %112
%114 = call double @llvm.fmuladd.f64(double %110, double %111, double %113)
%115 = load ptr, ptr %9, align 8
%116 = load i32, ptr %14, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds double, ptr %115, i64 %117
%119 = load double, ptr %118, align 8
%120 = fmul double %114, %119
%121 = call double @llvm.fmuladd.f64(double %102, double %107, double %120)
%122 = load double, ptr %16, align 8
%123 = fmul double %121, %122
%124 = load double, ptr %16, align 8
%125 = fmul double %123, %124
%126 = fdiv double %125, 6.000000e+00
%127 = fadd double %95, %126
store double %127, ptr %19, align 8
%128 = load double, ptr %19, align 8
%129 = load ptr, ptr %12, align 8
store double %128, ptr %129, align 8
ret void
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxbd_08cg.c'
source_filename = "/tmp/tmpxbd_08cg.c"
target datalayout = "e-m:e-p270: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/tmpxbd_08cg.c"
target datalayout = "e-m:e-p270: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/tmp87vo55_o.c'
source_filename = "/tmp/tmp87vo55_o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @superlu_malloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call i64 @malloc(i64 noundef %4)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
ret ptr %7
}
declare i64 @malloc(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp87vo55_o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @superlu_malloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call i64 @malloc(i64 noundef %4)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
ret ptr %7
}
declare i64 @malloc(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4u8vwvw8.c'
source_filename = "/tmp/tmp4u8vwvw8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nc_nvr_url_decode(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
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %6, align 8
br label %9
9: ; preds = %57, %2
%10 = load i32, ptr %4, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %4, align 4
%12 = icmp ne i32 %10, 0
br i1 %12, label %13, label %62
13: ; preds = %9
%14 = load ptr, ptr %6, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 43
br i1 %17, label %18, label %20
18: ; preds = %13
%19 = load ptr, ptr %5, align 8
store i8 32, ptr %19, align 1
br label %57
20: ; preds = %13
%21 = load ptr, ptr %6, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 37
br i1 %24, label %25, label %52
25: ; preds = %20
%26 = load i32, ptr %4, align 4
%27 = icmp sge i32 %26, 2
br i1 %27, label %28, label %52
28: ; preds = %25
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 1
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = call i64 @isxdigit(i32 noundef %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %52
35: ; preds = %28
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds i8, ptr %36, i64 2
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = call i64 @isxdigit(i32 noundef %39)
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %52
42: ; preds = %35
%43 = load ptr, ptr %6, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 1
%45 = call i64 @nc_nvr_htoi(ptr noundef %44)
%46 = trunc i64 %45 to i8
%47 = load ptr, ptr %5, align 8
store i8 %46, ptr %47, align 1
%48 = load ptr, ptr %6, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 2
store ptr %49, ptr %6, align 8
%50 = load i32, ptr %4, align 4
%51 = sub nsw i32 %50, 2
store i32 %51, ptr %4, align 4
br label %56
52: ; preds = %35, %28, %25, %20
%53 = load ptr, ptr %6, align 8
%54 = load i8, ptr %53, align 1
%55 = load ptr, ptr %5, align 8
store i8 %54, ptr %55, align 1
br label %56
56: ; preds = %52, %42
br label %57
57: ; preds = %56, %18
%58 = load ptr, ptr %6, align 8
%59 = getelementptr inbounds i8, ptr %58, i32 1
store ptr %59, ptr %6, align 8
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %5, align 8
br label %9, !llvm.loop !6
62: ; preds = %9
%63 = load ptr, ptr %5, align 8
store i8 0, ptr %63, align 1
%64 = load ptr, ptr %5, align 8
%65 = load ptr, ptr %3, align 8
%66 = ptrtoint ptr %64 to i64
%67 = ptrtoint ptr %65 to i64
%68 = sub i64 %66, %67
%69 = trunc i64 %68 to i32
ret i32 %69
}
declare i64 @isxdigit(i32 noundef) #1
declare i64 @nc_nvr_htoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp4u8vwvw8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nc_nvr_url_decode(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
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %6, align 8
%9 = load i32, ptr %4, align 4
%10 = add nsw i32 %9, -1
store i32 %10, ptr %4, align 4
%11 = icmp ne i32 %9, 0
br i1 %11, label %.lr.ph, label %64
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %56
%13 = load ptr, ptr %6, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 43
br i1 %16, label %17, label %19
17: ; preds = %12
%18 = load ptr, ptr %5, align 8
store i8 32, ptr %18, align 1
br label %56
19: ; preds = %12
%20 = load ptr, ptr %6, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 37
br i1 %23, label %24, label %51
24: ; preds = %19
%25 = load i32, ptr %4, align 4
%26 = icmp sge i32 %25, 2
br i1 %26, label %27, label %51
27: ; preds = %24
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 1
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = call i64 @isxdigit(i32 noundef %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %51
34: ; preds = %27
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds i8, ptr %35, i64 2
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = call i64 @isxdigit(i32 noundef %38)
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %51
41: ; preds = %34
%42 = load ptr, ptr %6, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 1
%44 = call i64 @nc_nvr_htoi(ptr noundef %43)
%45 = trunc i64 %44 to i8
%46 = load ptr, ptr %5, align 8
store i8 %45, ptr %46, align 1
%47 = load ptr, ptr %6, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 2
store ptr %48, ptr %6, align 8
%49 = load i32, ptr %4, align 4
%50 = sub nsw i32 %49, 2
store i32 %50, ptr %4, align 4
br label %55
51: ; preds = %34, %27, %24, %19
%52 = load ptr, ptr %6, align 8
%53 = load i8, ptr %52, align 1
%54 = load ptr, ptr %5, align 8
store i8 %53, ptr %54, align 1
br label %55
55: ; preds = %51, %41
br label %56
56: ; preds = %55, %17
%57 = load ptr, ptr %6, align 8
%58 = getelementptr inbounds i8, ptr %57, i32 1
store ptr %58, ptr %6, align 8
%59 = load ptr, ptr %5, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %5, align 8
%61 = load i32, ptr %4, align 4
%62 = add nsw i32 %61, -1
store i32 %62, ptr %4, align 4
%63 = icmp ne i32 %61, 0
br i1 %63, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %56
br label %64
64: ; preds = %._crit_edge, %2
%65 = load ptr, ptr %5, align 8
store i8 0, ptr %65, align 1
%66 = load ptr, ptr %5, align 8
%67 = load ptr, ptr %3, align 8
%68 = ptrtoint ptr %66 to i64
%69 = ptrtoint ptr %67 to i64
%70 = sub i64 %68, %69
%71 = trunc i64 %70 to i32
ret i32 %71
}
declare i64 @isxdigit(i32 noundef) #1
declare i64 @nc_nvr_htoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp0o7y8lj7.c'
source_filename = "/tmp/tmp0o7y8lj7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_XEvent_xunmap_serial(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
ret i64 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0o7y8lj7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_XEvent_xunmap_serial(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
ret i64 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp84n5qrab.c'
source_filename = "/tmp/tmp84n5qrab.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
br label %5
5: ; preds = %30, %0
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %6, 4
br i1 %7, label %8, label %33
8: ; preds = %5
store i32 1, ptr %3, align 4
br label %9
9: ; preds = %15, %8
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %18
13: ; preds = %9
%14 = call i32 @printf(ptr noundef @.str)
br label %15
15: ; preds = %13
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
br label %9, !llvm.loop !6
18: ; preds = %9
%19 = load i32, ptr %2, align 4
store i32 %19, ptr %4, align 4
br label %20
20: ; preds = %25, %18
%21 = load i32, ptr %4, align 4
%22 = icmp sle i32 %21, 4
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = call i32 @printf(ptr noundef @.str.1)
br label %25
25: ; preds = %23
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
br label %20, !llvm.loop !8
28: ; preds = %20
%29 = call i32 @printf(ptr noundef @.str.2)
br label %30
30: ; preds = %28
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %2, align 4
br label %5, !llvm.loop !9
33: ; preds = %5
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp84n5qrab.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp sle i32 %5, 4
br i1 %6, label %.lr.ph5, label %37
.lr.ph5: ; preds = %0
br label %7
7: ; preds = %.lr.ph5, %32
store i32 1, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %19
.lr.ph: ; preds = %7
br label %11
11: ; preds = %.lr.ph, %13
%12 = call i32 @printf(ptr noundef @.str)
br label %13
13: ; preds = %11
%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 = load i32, ptr %2, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %19
19: ; preds = %._crit_edge, %7
%20 = load i32, ptr %2, align 4
store i32 %20, ptr %4, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp sle i32 %21, 4
br i1 %22, label %.lr.ph2, label %30
.lr.ph2: ; preds = %19
br label %23
23: ; preds = %.lr.ph2, %25
%24 = call i32 @printf(ptr noundef @.str.1)
br label %25
25: ; preds = %23
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp sle i32 %28, 4
br i1 %29, label %23, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %25
br label %30
30: ; preds = %._crit_edge3, %19
%31 = call i32 @printf(ptr noundef @.str.2)
br label %32
32: ; preds = %30
%33 = load i32, ptr %2, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %2, align 4
%35 = load i32, ptr %2, align 4
%36 = icmp sle i32 %35, 4
br i1 %36, label %7, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %32
br label %37
37: ; preds = %._crit_edge6, %0
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpan5u215n.c'
source_filename = "/tmp/tmpan5u215n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [54 x i8] c"sysinst has not been properly ported to this platform\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @md_init() #0 {
%1 = call i32 @warnx(ptr noundef @.str)
ret void
}
declare i32 @warnx(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpan5u215n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [54 x i8] c"sysinst has not been properly ported to this platform\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @md_init() #0 {
%1 = call i32 @warnx(ptr noundef @.str)
ret void
}
declare i32 @warnx(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9xo_r7ut.c'
source_filename = "/tmp/tmp9xo_r7ut.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"argv[%i] = %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (...) @say_hello()
store i32 1, ptr %6, align 4
br label %8
8: ; preds = %20, %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 %23
12: ; preds = %8
%13 = load i32, ptr %6, align 4
%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 = call i32 @printf(ptr noundef @.str, i32 noundef %13, ptr noundef %18)
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 %8, !llvm.loop !6
23: ; preds = %8
ret i32 0
}
declare i32 @say_hello(...) #1
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9xo_r7ut.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"argv[%i] = %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (...) @say_hello()
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 %25
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %19
%12 = load i32, ptr %6, align 4
%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 @printf(ptr noundef @.str, i32 noundef %12, ptr noundef %17)
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 = load i32, ptr %4, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @say_hello(...) #1
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpt9yb4f3q.c'
source_filename = "/tmp/tmpt9yb4f3q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"n is one\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"n is two\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"n is three\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"n is not 123\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, 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 = %0
%6 = call i32 @printf(ptr noundef @.str)
br label %21
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 2
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 @printf(ptr noundef @.str.1)
br label %20
12: ; preds = %7
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 3
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = call i32 @printf(ptr noundef @.str.2)
br label %19
17: ; preds = %12
%18 = call i32 @printf(ptr noundef @.str.3)
br label %19
19: ; preds = %17, %15
br label %20
20: ; preds = %19, %10
br label %21
21: ; preds = %20, %5
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/tmpt9yb4f3q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"n is one\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"n is two\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"n is three\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"n is not 123\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, 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 = %0
%6 = call i32 @printf(ptr noundef @.str)
br label %21
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 2
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 @printf(ptr noundef @.str.1)
br label %20
12: ; preds = %7
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 3
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = call i32 @printf(ptr noundef @.str.2)
br label %19
17: ; preds = %12
%18 = call i32 @printf(ptr noundef @.str.3)
br label %19
19: ; preds = %17, %15
br label %20
20: ; preds = %19, %10
br label %21
21: ; preds = %20, %5
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/tmp3pizhnaj.c'
source_filename = "/tmp/tmp3pizhnaj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0xdb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isbdigit_0xdb() #0 {
%1 = call i64 @isbdigit(i32 noundef 219)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1100, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isbdigit(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/tmp3pizhnaj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0xdb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isbdigit_0xdb() #0 {
%1 = call i64 @isbdigit(i32 noundef 219)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1100, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isbdigit(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/tmpsfdfavee.c'
source_filename = "/tmp/tmpsfdfavee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_stream_si64(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = call i32 @_mm_stream_si64(ptr noundef %5, i64 noundef %6)
ret void
}
declare i32 @_mm_stream_si64(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/tmpsfdfavee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_stream_si64(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = call i32 @_mm_stream_si64(ptr noundef %5, i64 noundef %6)
ret void
}
declare i32 @_mm_stream_si64(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/tmp547f2cbp.c'
source_filename = "/tmp/tmp547f2cbp.c"
target datalayout = "e-m:e-p270: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 [56 x i8] c"%s [-d] [-n number of sentences] input_file.txt [...] \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printHelp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds ptr, ptr %4, i64 0
%6 = load ptr, ptr %5, align 8
%7 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %6)
ret void
}
declare i32 @fprintf(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/tmp547f2cbp.c"
target datalayout = "e-m:e-p270: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 [56 x i8] c"%s [-d] [-n number of sentences] input_file.txt [...] \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printHelp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds ptr, ptr %4, i64 0
%6 = load ptr, ptr %5, align 8
%7 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %6)
ret void
}
declare i32 @fprintf(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/tmpjwmuo_8h.c'
source_filename = "/tmp/tmpjwmuo_8h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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". ?\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @a_0_61() #0 {
%1 = call i32 @a_0_55(i32 noundef 37, ptr noundef @.str)
ret void
}
declare i32 @a_0_55(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjwmuo_8h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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". ?\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @a_0_61() #0 {
%1 = call i32 @a_0_55(i32 noundef 37, ptr noundef @.str)
ret void
}
declare i32 @a_0_55(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo1polasu.c'
source_filename = "/tmp/tmpo1polasu.c"
target datalayout = "e-m:e-p270: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.itimerval = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i64 }
@ITIMER_REAL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"setitimer(ITIMER_REAL, &timer, NULL)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @EnableAlarm(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.itimerval, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sle i32 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
br label %18
7: ; preds = %1
call void @llvm.memset.p0.i64(ptr align 8 %3, i8 0, i64 8, i1 false)
%8 = load i32, ptr %2, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds %struct.itimerval, ptr %3, i32 0, i32 0
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i32 0, i32 0
store i64 %9, ptr %11, align 8
%12 = load i32, ptr @ITIMER_REAL, align 4
%13 = call i32 @setitimer(i32 noundef %12, ptr noundef %3, ptr noundef null)
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %18
15: ; preds = %7
%16 = call i32 @perror(ptr noundef @.str)
%17 = call i32 @exit(i32 noundef 1) #4
unreachable
18: ; preds = %6, %7
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @setitimer(i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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/tmpo1polasu.c"
target datalayout = "e-m:e-p270: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.itimerval = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i64 }
@ITIMER_REAL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"setitimer(ITIMER_REAL, &timer, NULL)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @EnableAlarm(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.itimerval, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sle i32 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
br label %18
7: ; preds = %1
call void @llvm.memset.p0.i64(ptr align 8 %3, i8 0, i64 8, i1 false)
%8 = load i32, ptr %2, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds %struct.itimerval, ptr %3, i32 0, i32 0
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i32 0, i32 0
store i64 %9, ptr %11, align 8
%12 = load i32, ptr @ITIMER_REAL, align 4
%13 = call i32 @setitimer(i32 noundef %12, ptr noundef %3, ptr noundef null)
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %18
15: ; preds = %7
%16 = call i32 @perror(ptr noundef @.str)
%17 = call i32 @exit(i32 noundef 1) #4
unreachable
18: ; preds = %7, %6
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @setitimer(i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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/tmpglz71mve.c'
source_filename = "/tmp/tmpglz71mve.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"\E8\AF\B7\E8\BE\93\E5\85\A5\E4\B8\A4\E4\B8\AA\E6\95\B4\E6\95\B0\E3\80\82\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"\E6\95\B4\E6\95\B01\EF\BC\9A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"\E6\95\B4\E6\95\B02\EF\BC\9A\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"\E5\AE\83\E4\BB\AC\E7\9A\84\E4\B9\98\E7\A7\AF\E6\98\AF\EF\BC\9A%d\E3\80\82\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = call i32 @puts(ptr noundef @.str)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%8 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = mul nsw i32 %9, %10
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %11)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpglz71mve.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"\E8\AF\B7\E8\BE\93\E5\85\A5\E4\B8\A4\E4\B8\AA\E6\95\B4\E6\95\B0\E3\80\82\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"\E6\95\B4\E6\95\B01\EF\BC\9A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"\E6\95\B4\E6\95\B02\EF\BC\9A\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"\E5\AE\83\E4\BB\AC\E7\9A\84\E4\B9\98\E7\A7\AF\E6\98\AF\EF\BC\9A%d\E3\80\82\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = call i32 @puts(ptr noundef @.str)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%8 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = mul nsw i32 %9, %10
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %11)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmponikitmt.c'
source_filename = "/tmp/tmponikitmt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @emitname(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %3, align 4
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %3, align 4
br label %10
10: ; preds = %25, %1
%11 = load i32, ptr %3, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %22
13: ; preds = %10
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %3, align 4
%16 = sub nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %14, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 46
br label %22
22: ; preds = %13, %10
%23 = phi i1 [ false, %10 ], [ %21, %13 ]
br i1 %23, label %24, label %28
24: ; preds = %22
br label %25
25: ; preds = %24
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %3, align 4
br label %10, !llvm.loop !6
28: ; preds = %22
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 2
%31 = call i64 @Malloc(i32 noundef %30)
%32 = inttoptr i64 %31 to ptr
store ptr %32, ptr %5, align 8
store i32 0, ptr %4, align 4
br label %33
33: ; preds = %47, %28
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr %3, align 4
%36 = icmp sle i32 %34, %35
br i1 %36, label %37, label %50
37: ; preds = %33
%38 = load ptr, ptr %2, align 8
%39 = load i32, ptr %4, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %4, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
store i8 %42, ptr %46, align 1
br label %47
47: ; preds = %37
%48 = load i32, ptr %4, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %4, align 4
br label %33, !llvm.loop !8
50: ; preds = %33
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %3, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
store i8 106, ptr %54, align 1
%55 = load ptr, ptr %5, align 8
%56 = load i32, ptr %3, align 4
%57 = add nsw i32 %56, 1
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %55, i64 %58
store i8 0, ptr %59, align 1
%60 = load ptr, ptr %5, align 8
ret ptr %60
}
declare i32 @strlen(ptr noundef) #1
declare i64 @Malloc(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/tmponikitmt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @emitname(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %3, align 4
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %3, align 4
br label %10
10: ; preds = %25, %1
%11 = load i32, ptr %3, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %22
13: ; preds = %10
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %3, align 4
%16 = sub nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %14, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 46
br label %22
22: ; preds = %13, %10
%23 = phi i1 [ false, %10 ], [ %21, %13 ]
br i1 %23, label %24, label %28
24: ; preds = %22
br label %25
25: ; preds = %24
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %3, align 4
br label %10, !llvm.loop !6
28: ; preds = %22
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 2
%31 = call i64 @Malloc(i32 noundef %30)
%32 = inttoptr i64 %31 to ptr
store ptr %32, ptr %5, align 8
store i32 0, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = load i32, ptr %3, align 4
%35 = icmp sle i32 %33, %34
br i1 %35, label %.lr.ph, label %52
.lr.ph: ; preds = %28
br label %36
36: ; preds = %.lr.ph, %46
%37 = load ptr, ptr %2, align 8
%38 = load i32, ptr %4, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
store i8 %41, ptr %45, align 1
br label %46
46: ; preds = %36
%47 = load i32, ptr %4, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %4, align 4
%49 = load i32, ptr %4, align 4
%50 = load i32, ptr %3, align 4
%51 = icmp sle i32 %49, %50
br i1 %51, label %36, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %46
br label %52
52: ; preds = %._crit_edge, %28
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %3, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
store i8 106, ptr %56, align 1
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %3, align 4
%59 = add nsw i32 %58, 1
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %57, i64 %60
store i8 0, ptr %61, align 1
%62 = load ptr, ptr %5, align 8
ret ptr %62
}
declare i32 @strlen(ptr noundef) #1
declare i64 @Malloc(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/tmpwkkniraz.c'
source_filename = "/tmp/tmpwkkniraz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_un = type { i32, i32 }
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [10 x i8] c"/var/svd/\00", align 1
@errno = dso_local global i32 0, align 4
@ENOENT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"Error getting info about %s\00", align 1
@S_IRWXU = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IXGRP = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [21 x i8] c"Cannot create dir %s\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Error creating dir %s\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"Error: %s is not directory\00", align 1
@AF_UNIX = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [20 x i8] c"/var/svd/svd-socket\00", align 1
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [32 x i8] c"Error: can`t create socket (%d)\00", align 1
@.str.7 = private unnamed_addr constant [30 x i8] c"Error: can`t bind socket (%d)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @svd_if_srv_create(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca %struct.sockaddr_un, align 4
%7 = alloca %struct.stat, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = call i32 @stat(ptr noundef @.str, ptr noundef %7)
store i32 %9, ptr %8, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %36
11: ; preds = %2
%12 = load i32, ptr @errno, align 4
%13 = load i32, ptr @ENOENT, align 4
%14 = icmp ne i32 %12, %13
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = load ptr, ptr %5, align 8
%17 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %16, i32 noundef 256, ptr noundef @.str.1, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %74
18: ; preds = %11
%19 = load i32, ptr @S_IRWXU, align 4
%20 = load i32, ptr @S_IRGRP, align 4
%21 = or i32 %19, %20
%22 = load i32, ptr @S_IXGRP, align 4
%23 = or i32 %21, %22
%24 = call i64 @mkdir(ptr noundef @.str, i32 noundef %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %18
%27 = load ptr, ptr %5, align 8
%28 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %27, i32 noundef 256, ptr noundef @.str.2, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %74
29: ; preds = %18
%30 = call i32 @stat(ptr noundef @.str, ptr noundef %7)
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %29
%33 = load ptr, ptr %5, align 8
%34 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %33, i32 noundef 256, ptr noundef @.str.3, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %74
35: ; preds = %29
br label %36
36: ; preds = %35, %2
%37 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%38 = load i32, ptr %37, align 4
%39 = call i32 @S_ISDIR(i32 noundef %38)
%40 = icmp ne i32 %39, 0
br i1 %40, label %44, label %41
41: ; preds = %36
%42 = load ptr, ptr %5, align 8
%43 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %42, i32 noundef 256, ptr noundef @.str.4, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %74
44: ; preds = %36
%45 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8)
%46 = load i32, ptr @AF_UNIX, align 4
%47 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 1
store i32 %46, ptr %47, align 4
%48 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0
%49 = load i32, ptr %48, align 4
%50 = call i32 @strcpy(i32 noundef %49, ptr noundef @.str.5)
%51 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0
%52 = load i32, ptr %51, align 4
%53 = call i32 @unlink(i32 noundef %52)
%54 = load i32, ptr @AF_UNIX, align 4
%55 = load i32, ptr @SOCK_DGRAM, align 4
%56 = call i32 @socket(i32 noundef %54, i32 noundef %55, i32 noundef 0)
%57 = load ptr, ptr %4, align 8
store i32 %56, ptr %57, align 4
%58 = icmp eq i32 -1, %56
br i1 %58, label %59, label %63
59: ; preds = %44
%60 = load ptr, ptr %5, align 8
%61 = load i32, ptr @errno, align 4
%62 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %60, i32 noundef 256, ptr noundef @.str.6, i32 noundef %61)
store i32 -1, ptr %3, align 4
br label %74
63: ; preds = %44
%64 = load ptr, ptr %4, align 8
%65 = load i32, ptr %64, align 4
%66 = call i32 @SUN_LEN(ptr noundef %6)
%67 = call i32 @bind(i32 noundef %65, ptr noundef %6, i32 noundef %66)
%68 = icmp eq i32 -1, %67
br i1 %68, label %69, label %73
69: ; preds = %63
%70 = load ptr, ptr %5, align 8
%71 = load i32, ptr @errno, align 4
%72 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %70, i32 noundef 256, ptr noundef @.str.7, i32 noundef %71)
store i32 -1, ptr %3, align 4
br label %74
73: ; preds = %63
store i32 0, ptr %3, align 4
br label %74
74: ; preds = %73, %69, %59, %41, %32, %26, %15
%75 = load i32, ptr %3, align 4
ret i32 %75
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1
declare i64 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @S_ISDIR(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strcpy(i32 noundef, ptr noundef) #1
declare i32 @unlink(i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @SUN_LEN(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwkkniraz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_un = type { i32, i32 }
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [10 x i8] c"/var/svd/\00", align 1
@errno = dso_local global i32 0, align 4
@ENOENT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"Error getting info about %s\00", align 1
@S_IRWXU = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IXGRP = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [21 x i8] c"Cannot create dir %s\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Error creating dir %s\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"Error: %s is not directory\00", align 1
@AF_UNIX = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [20 x i8] c"/var/svd/svd-socket\00", align 1
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [32 x i8] c"Error: can`t create socket (%d)\00", align 1
@.str.7 = private unnamed_addr constant [30 x i8] c"Error: can`t bind socket (%d)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @svd_if_srv_create(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca %struct.sockaddr_un, align 4
%7 = alloca %struct.stat, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = call i32 @stat(ptr noundef @.str, ptr noundef %7)
store i32 %9, ptr %8, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %36
11: ; preds = %2
%12 = load i32, ptr @errno, align 4
%13 = load i32, ptr @ENOENT, align 4
%14 = icmp ne i32 %12, %13
br i1 %14, label %15, label %18
15: ; preds = %11
%16 = load ptr, ptr %5, align 8
%17 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %16, i32 noundef 256, ptr noundef @.str.1, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %74
18: ; preds = %11
%19 = load i32, ptr @S_IRWXU, align 4
%20 = load i32, ptr @S_IRGRP, align 4
%21 = or i32 %19, %20
%22 = load i32, ptr @S_IXGRP, align 4
%23 = or i32 %21, %22
%24 = call i64 @mkdir(ptr noundef @.str, i32 noundef %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %18
%27 = load ptr, ptr %5, align 8
%28 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %27, i32 noundef 256, ptr noundef @.str.2, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %74
29: ; preds = %18
%30 = call i32 @stat(ptr noundef @.str, ptr noundef %7)
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %29
%33 = load ptr, ptr %5, align 8
%34 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %33, i32 noundef 256, ptr noundef @.str.3, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %74
35: ; preds = %29
br label %36
36: ; preds = %35, %2
%37 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%38 = load i32, ptr %37, align 4
%39 = call i32 @S_ISDIR(i32 noundef %38)
%40 = icmp ne i32 %39, 0
br i1 %40, label %44, label %41
41: ; preds = %36
%42 = load ptr, ptr %5, align 8
%43 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %42, i32 noundef 256, ptr noundef @.str.4, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %74
44: ; preds = %36
%45 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8)
%46 = load i32, ptr @AF_UNIX, align 4
%47 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 1
store i32 %46, ptr %47, align 4
%48 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0
%49 = load i32, ptr %48, align 4
%50 = call i32 @strcpy(i32 noundef %49, ptr noundef @.str.5)
%51 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0
%52 = load i32, ptr %51, align 4
%53 = call i32 @unlink(i32 noundef %52)
%54 = load i32, ptr @AF_UNIX, align 4
%55 = load i32, ptr @SOCK_DGRAM, align 4
%56 = call i32 @socket(i32 noundef %54, i32 noundef %55, i32 noundef 0)
%57 = load ptr, ptr %4, align 8
store i32 %56, ptr %57, align 4
%58 = icmp eq i32 -1, %56
br i1 %58, label %59, label %63
59: ; preds = %44
%60 = load ptr, ptr %5, align 8
%61 = load i32, ptr @errno, align 4
%62 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %60, i32 noundef 256, ptr noundef @.str.6, i32 noundef %61)
store i32 -1, ptr %3, align 4
br label %74
63: ; preds = %44
%64 = load ptr, ptr %4, align 8
%65 = load i32, ptr %64, align 4
%66 = call i32 @SUN_LEN(ptr noundef %6)
%67 = call i32 @bind(i32 noundef %65, ptr noundef %6, i32 noundef %66)
%68 = icmp eq i32 -1, %67
br i1 %68, label %69, label %73
69: ; preds = %63
%70 = load ptr, ptr %5, align 8
%71 = load i32, ptr @errno, align 4
%72 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %70, i32 noundef 256, ptr noundef @.str.7, i32 noundef %71)
store i32 -1, ptr %3, align 4
br label %74
73: ; preds = %63
store i32 0, ptr %3, align 4
br label %74
74: ; preds = %73, %69, %59, %41, %32, %26, %15
%75 = load i32, ptr %3, align 4
ret i32 %75
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1
declare i64 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @S_ISDIR(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strcpy(i32 noundef, ptr noundef) #1
declare i32 @unlink(i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @SUN_LEN(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaiqgxsm4.c'
source_filename = "/tmp/tmpaiqgxsm4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @heap_free_Pz_N(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaiqgxsm4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @heap_free_Pz_N(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe085587g.c'
source_filename = "/tmp/tmpe085587g.c"
target datalayout = "e-m:e-p270: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/tmpe085587g.c"
target datalayout = "e-m:e-p270: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/tmpt8jm9c5k.c'
source_filename = "/tmp/tmpt8jm9c5k.c"
target datalayout = "e-m:e-p270: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.iovec = type { i32, ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @build_iovec(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr %12, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %5
br label %84
16: ; preds = %5
%17 = load ptr, ptr %7, align 8
%18 = load i32, ptr %17, align 4
store i32 %18, ptr %11, align 4
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %19, align 8
%21 = load i32, ptr %11, align 4
%22 = add nsw i32 %21, 2
%23 = sext i32 %22 to i64
%24 = mul i64 16, %23
%25 = trunc i64 %24 to i32
%26 = call ptr @realloc(ptr noundef %20, i32 noundef %25)
%27 = load ptr, ptr %6, align 8
store ptr %26, ptr %27, align 8
%28 = load ptr, ptr %6, align 8
%29 = load ptr, ptr %28, align 8
%30 = icmp eq ptr %29, null
br i1 %30, label %31, label %33
31: ; preds = %16
%32 = load ptr, ptr %7, align 8
store i32 -1, ptr %32, align 4
br label %84
33: ; preds = %16
%34 = load ptr, ptr %8, align 8
%35 = call ptr @strdup(ptr noundef %34)
%36 = load ptr, ptr %6, align 8
%37 = load ptr, ptr %36, align 8
%38 = load i32, ptr %11, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds %struct.iovec, ptr %37, i64 %39
%41 = getelementptr inbounds %struct.iovec, ptr %40, i32 0, i32 1
store ptr %35, ptr %41, align 8
%42 = load ptr, ptr %8, align 8
%43 = call i32 @strlen(ptr noundef %42)
%44 = add nsw i32 %43, 1
%45 = load ptr, ptr %6, align 8
%46 = load ptr, ptr %45, align 8
%47 = load i32, ptr %11, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds %struct.iovec, ptr %46, i64 %48
%50 = getelementptr inbounds %struct.iovec, ptr %49, i32 0, i32 0
store i32 %44, ptr %50, align 8
%51 = load i32, ptr %11, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %11, align 4
%53 = load ptr, ptr %9, align 8
%54 = load ptr, ptr %6, align 8
%55 = load ptr, ptr %54, align 8
%56 = load i32, ptr %11, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds %struct.iovec, ptr %55, i64 %57
%59 = getelementptr inbounds %struct.iovec, ptr %58, i32 0, i32 1
store ptr %53, ptr %59, align 8
%60 = load i64, ptr %10, align 8
%61 = icmp eq i64 %60, -1
br i1 %61, label %62, label %72
62: ; preds = %33
%63 = load ptr, ptr %9, align 8
%64 = icmp ne ptr %63, null
br i1 %64, label %65, label %70
65: ; preds = %62
%66 = load ptr, ptr %9, align 8
%67 = call i32 @strlen(ptr noundef %66)
%68 = add nsw i32 %67, 1
%69 = sext i32 %68 to i64
store i64 %69, ptr %10, align 8
br label %71
70: ; preds = %62
store i64 0, ptr %10, align 8
br label %71
71: ; preds = %70, %65
br label %72
72: ; preds = %71, %33
%73 = load i64, ptr %10, align 8
%74 = trunc i64 %73 to i32
%75 = load ptr, ptr %6, align 8
%76 = load ptr, ptr %75, align 8
%77 = load i32, ptr %11, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds %struct.iovec, ptr %76, i64 %78
%80 = getelementptr inbounds %struct.iovec, ptr %79, i32 0, i32 0
store i32 %74, ptr %80, align 8
%81 = load i32, ptr %11, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %11, align 4
%83 = load ptr, ptr %7, align 8
store i32 %82, ptr %83, align 4
br label %84
84: ; preds = %72, %31, %15
ret void
}
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt8jm9c5k.c"
target datalayout = "e-m:e-p270: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.iovec = type { i32, ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @build_iovec(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr %12, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %5
br label %84
16: ; preds = %5
%17 = load ptr, ptr %7, align 8
%18 = load i32, ptr %17, align 4
store i32 %18, ptr %11, align 4
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %19, align 8
%21 = load i32, ptr %11, align 4
%22 = add nsw i32 %21, 2
%23 = sext i32 %22 to i64
%24 = mul i64 16, %23
%25 = trunc i64 %24 to i32
%26 = call ptr @realloc(ptr noundef %20, i32 noundef %25)
%27 = load ptr, ptr %6, align 8
store ptr %26, ptr %27, align 8
%28 = load ptr, ptr %6, align 8
%29 = load ptr, ptr %28, align 8
%30 = icmp eq ptr %29, null
br i1 %30, label %31, label %33
31: ; preds = %16
%32 = load ptr, ptr %7, align 8
store i32 -1, ptr %32, align 4
br label %84
33: ; preds = %16
%34 = load ptr, ptr %8, align 8
%35 = call ptr @strdup(ptr noundef %34)
%36 = load ptr, ptr %6, align 8
%37 = load ptr, ptr %36, align 8
%38 = load i32, ptr %11, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds %struct.iovec, ptr %37, i64 %39
%41 = getelementptr inbounds %struct.iovec, ptr %40, i32 0, i32 1
store ptr %35, ptr %41, align 8
%42 = load ptr, ptr %8, align 8
%43 = call i32 @strlen(ptr noundef %42)
%44 = add nsw i32 %43, 1
%45 = load ptr, ptr %6, align 8
%46 = load ptr, ptr %45, align 8
%47 = load i32, ptr %11, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds %struct.iovec, ptr %46, i64 %48
%50 = getelementptr inbounds %struct.iovec, ptr %49, i32 0, i32 0
store i32 %44, ptr %50, align 8
%51 = load i32, ptr %11, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %11, align 4
%53 = load ptr, ptr %9, align 8
%54 = load ptr, ptr %6, align 8
%55 = load ptr, ptr %54, align 8
%56 = load i32, ptr %11, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds %struct.iovec, ptr %55, i64 %57
%59 = getelementptr inbounds %struct.iovec, ptr %58, i32 0, i32 1
store ptr %53, ptr %59, align 8
%60 = load i64, ptr %10, align 8
%61 = icmp eq i64 %60, -1
br i1 %61, label %62, label %72
62: ; preds = %33
%63 = load ptr, ptr %9, align 8
%64 = icmp ne ptr %63, null
br i1 %64, label %65, label %70
65: ; preds = %62
%66 = load ptr, ptr %9, align 8
%67 = call i32 @strlen(ptr noundef %66)
%68 = add nsw i32 %67, 1
%69 = sext i32 %68 to i64
store i64 %69, ptr %10, align 8
br label %71
70: ; preds = %62
store i64 0, ptr %10, align 8
br label %71
71: ; preds = %70, %65
br label %72
72: ; preds = %71, %33
%73 = load i64, ptr %10, align 8
%74 = trunc i64 %73 to i32
%75 = load ptr, ptr %6, align 8
%76 = load ptr, ptr %75, align 8
%77 = load i32, ptr %11, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds %struct.iovec, ptr %76, i64 %78
%80 = getelementptr inbounds %struct.iovec, ptr %79, i32 0, i32 0
store i32 %74, ptr %80, align 8
%81 = load i32, ptr %11, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %11, align 4
%83 = load ptr, ptr %7, align 8
store i32 %82, ptr %83, align 4
br label %84
84: ; preds = %72, %31, %15
ret void
}
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7jg3sj8u.c'
source_filename = "/tmp/tmp7jg3sj8u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EnhancedInsertionSort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 %10, 4
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 4, %17
%19 = trunc i64 %18 to i32
%20 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef %19)
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds i32, ptr %21, i64 0
%23 = load i32, ptr %22, align 4
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds i32, ptr %24, i64 0
store i32 %23, ptr %25, align 4
store i32 1, ptr %6, align 4
br label %26
26: ; preds = %61, %2
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %64
30: ; preds = %26
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %6, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = load i32, ptr %34, align 4
store i32 %35, ptr %7, align 4
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %7, align 4
%39 = call i32 @BSearchPos(ptr noundef %36, i32 noundef 0, i32 noundef %37, i32 noundef %38)
store i32 %39, ptr %8, align 4
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %8, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
%44 = getelementptr inbounds i32, ptr %43, i64 1
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %8, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
%49 = load i32, ptr %6, align 4
%50 = load i32, ptr %8, align 4
%51 = sub nsw i32 %49, %50
%52 = sext i32 %51 to i64
%53 = mul i64 4, %52
%54 = trunc i64 %53 to i32
%55 = call i32 @memmove(ptr noundef %44, ptr noundef %48, i32 noundef %54)
%56 = load i32, ptr %7, align 4
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %8, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %57, i64 %59
store i32 %56, ptr %60, align 4
br label %61
61: ; preds = %30
%62 = load i32, ptr %6, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %6, align 4
br label %26, !llvm.loop !6
64: ; preds = %26
%65 = load ptr, ptr %3, align 8
%66 = load ptr, ptr %5, align 8
%67 = load i32, ptr %4, align 4
%68 = sext i32 %67 to i64
%69 = mul i64 %68, 4
%70 = trunc i64 %69 to i32
%71 = call i32 @memcpy(ptr noundef %65, ptr noundef %66, i32 noundef %70)
%72 = load ptr, ptr %5, align 8
%73 = call i32 @free(ptr noundef %72)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @BSearchPos(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp7jg3sj8u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EnhancedInsertionSort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 %10, 4
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 4, %17
%19 = trunc i64 %18 to i32
%20 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef %19)
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds i32, ptr %21, i64 0
%23 = load i32, ptr %22, align 4
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds i32, ptr %24, i64 0
store i32 %23, ptr %25, align 4
store i32 1, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph, label %66
.lr.ph: ; preds = %2
br label %29
29: ; preds = %.lr.ph, %60
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %30, i64 %32
%34 = load i32, ptr %33, align 4
store i32 %34, ptr %7, align 4
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %6, align 4
%37 = load i32, ptr %7, align 4
%38 = call i32 @BSearchPos(ptr noundef %35, i32 noundef 0, i32 noundef %36, i32 noundef %37)
store i32 %38, ptr %8, align 4
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %8, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %39, i64 %41
%43 = getelementptr inbounds i32, ptr %42, i64 1
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %8, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
%48 = load i32, ptr %6, align 4
%49 = load i32, ptr %8, align 4
%50 = sub nsw i32 %48, %49
%51 = sext i32 %50 to i64
%52 = mul i64 4, %51
%53 = trunc i64 %52 to i32
%54 = call i32 @memmove(ptr noundef %43, ptr noundef %47, i32 noundef %53)
%55 = load i32, ptr %7, align 4
%56 = load ptr, ptr %5, align 8
%57 = load i32, ptr %8, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
store i32 %55, ptr %59, align 4
br label %60
60: ; preds = %29
%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 %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %60
br label %66
66: ; preds = %._crit_edge, %2
%67 = load ptr, ptr %3, align 8
%68 = load ptr, ptr %5, align 8
%69 = load i32, ptr %4, align 4
%70 = sext i32 %69 to i64
%71 = mul i64 %70, 4
%72 = trunc i64 %71 to i32
%73 = call i32 @memcpy(ptr noundef %67, ptr noundef %68, i32 noundef %72)
%74 = load ptr, ptr %5, align 8
%75 = call i32 @free(ptr noundef %74)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @BSearchPos(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpxfkfygfc.c'
source_filename = "/tmp/tmpxfkfygfc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @ell_int(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store double %0, ptr %2, align 8
store double 1.000000e+00, ptr %4, align 8
%9 = load double, ptr %2, align 8
%10 = load double, ptr %2, align 8
%11 = fneg double %9
%12 = call double @llvm.fmuladd.f64(double %11, double %10, double 1.000000e+00)
%13 = call double @sqrt(double noundef %12) #4
store double %13, ptr %5, align 8
store double 1.000000e+00, ptr %6, align 8
br label %14
14: ; preds = %19, %1
%15 = load double, ptr %6, align 8
%16 = call i32 @fabs(double noundef %15)
%17 = sitofp i32 %16 to double
%18 = fcmp ogt double %17, 1.000000e-15
br i1 %18, label %19, label %37
19: ; preds = %14
%20 = load double, ptr %4, align 8
%21 = load double, ptr %5, align 8
%22 = fadd double %20, %21
%23 = fdiv double %22, 2.000000e+00
store double %23, ptr %7, align 8
%24 = load double, ptr %4, align 8
%25 = load double, ptr %5, align 8
%26 = fmul double %24, %25
%27 = call double @sqrt(double noundef %26) #4
store double %27, ptr %8, align 8
%28 = load double, ptr %7, align 8
%29 = load double, ptr %8, align 8
%30 = fsub double %28, %29
%31 = load double, ptr %7, align 8
%32 = load double, ptr %8, align 8
%33 = fadd double %31, %32
%34 = fdiv double %30, %33
store double %34, ptr %6, align 8
%35 = load double, ptr %7, align 8
store double %35, ptr %4, align 8
%36 = load double, ptr %8, align 8
store double %36, ptr %5, align 8
br label %14, !llvm.loop !6
37: ; preds = %14
%38 = load double, ptr @M_PI, align 8
%39 = load double, ptr %8, align 8
%40 = load double, ptr %7, align 8
%41 = fadd double %39, %40
%42 = fdiv double %38, %41
store double %42, ptr %3, align 8
%43 = load double, ptr %3, align 8
ret double %43
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @fabs(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { "frame-pointer"="all" "no-trapping-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/tmpxfkfygfc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @ell_int(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store double %0, ptr %2, align 8
store double 1.000000e+00, ptr %4, align 8
%9 = load double, ptr %2, align 8
%10 = load double, ptr %2, align 8
%11 = fneg double %9
%12 = call double @llvm.fmuladd.f64(double %11, double %10, double 1.000000e+00)
%13 = call double @sqrt(double noundef %12) #4
store double %13, ptr %5, align 8
store double 1.000000e+00, ptr %6, align 8
%14 = load double, ptr %6, align 8
%15 = call i32 @fabs(double noundef %14)
%16 = sitofp i32 %15 to double
%17 = fcmp ogt double %16, 1.000000e-15
br i1 %17, label %.lr.ph, label %40
.lr.ph: ; preds = %1
br label %18
18: ; preds = %.lr.ph, %18
%19 = load double, ptr %4, align 8
%20 = load double, ptr %5, align 8
%21 = fadd double %19, %20
%22 = fdiv double %21, 2.000000e+00
store double %22, ptr %7, align 8
%23 = load double, ptr %4, align 8
%24 = load double, ptr %5, align 8
%25 = fmul double %23, %24
%26 = call double @sqrt(double noundef %25) #4
store double %26, ptr %8, align 8
%27 = load double, ptr %7, align 8
%28 = load double, ptr %8, align 8
%29 = fsub double %27, %28
%30 = load double, ptr %7, align 8
%31 = load double, ptr %8, align 8
%32 = fadd double %30, %31
%33 = fdiv double %29, %32
store double %33, ptr %6, align 8
%34 = load double, ptr %7, align 8
store double %34, ptr %4, align 8
%35 = load double, ptr %8, align 8
store double %35, ptr %5, align 8
%36 = load double, ptr %6, align 8
%37 = call i32 @fabs(double noundef %36)
%38 = sitofp i32 %37 to double
%39 = fcmp ogt double %38, 1.000000e-15
br i1 %39, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %40
40: ; preds = %._crit_edge, %1
%41 = load double, ptr @M_PI, align 8
%42 = load double, ptr %8, align 8
%43 = load double, ptr %7, align 8
%44 = fadd double %42, %43
%45 = fdiv double %41, %44
store double %45, ptr %3, align 8
%46 = load double, ptr %3, align 8
ret double %46
}
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @fabs(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { "frame-pointer"="all" "no-trapping-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/tmpkr4577np.c'
source_filename = "/tmp/tmpkr4577np.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shutdown_gra(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @exit(i32 noundef 0) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkr4577np.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shutdown_gra(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @exit(i32 noundef 0) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeiralckl.c'
source_filename = "/tmp/tmpeiralckl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp sgt i32 %8, %9
br i1 %10, label %11, label %24
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = call i32 @split(ptr noundef %12, i32 noundef %13, i32 noundef %14)
store i32 %15, ptr %7, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %7, align 4
%19 = sub nsw i32 %18, 1
call void @quicksort(ptr noundef %16, i32 noundef %17, i32 noundef %19)
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
%23 = load i32, ptr %6, align 4
call void @quicksort(ptr noundef %20, i32 noundef %22, i32 noundef %23)
br label %24
24: ; preds = %11, %3
ret void
}
declare i32 @split(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/tmpeiralckl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp sgt i32 %8, %9
br i1 %10, label %11, label %24
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = call i32 @split(ptr noundef %12, i32 noundef %13, i32 noundef %14)
store i32 %15, ptr %7, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %7, align 4
%19 = sub nsw i32 %18, 1
call void @quicksort(ptr noundef %16, i32 noundef %17, i32 noundef %19)
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
%23 = load i32, ptr %6, align 4
call void @quicksort(ptr noundef %20, i32 noundef %22, i32 noundef %23)
br label %24
24: ; preds = %11, %3
ret void
}
declare i32 @split(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/tmpjf1n476z.c'
source_filename = "/tmp/tmpjf1n476z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Scheduler: done!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_for_done(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [1024 x i8], align 16
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %23, %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @feof(ptr noundef %6)
%8 = icmp ne i32 %7, 0
%9 = xor i1 %8, true
br i1 %9, label %10, label %24
10: ; preds = %5
%11 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%12 = load ptr, ptr %2, align 8
%13 = call i32 @fgets(ptr noundef %11, i32 noundef 1024, ptr noundef %12)
%14 = load ptr, ptr %2, align 8
%15 = call i32 @feof(ptr noundef %14)
%16 = icmp ne i32 %15, 0
br i1 %16, label %23, label %17
17: ; preds = %10
%18 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%19 = call i32 @strcmp(ptr noundef %18, ptr noundef @.str)
%20 = icmp ne i32 %19, 0
%21 = xor i1 %20, true
%22 = zext i1 %21 to i32
store i32 %22, ptr %4, align 4
br label %23
23: ; preds = %17, %10
br label %5, !llvm.loop !6
24: ; preds = %5
%25 = load i32, ptr %4, align 4
ret i32 %25
}
declare i32 @feof(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjf1n476z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Scheduler: done!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_for_done(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [1024 x i8], align 16
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = call i32 @feof(ptr noundef %5)
%7 = icmp ne i32 %6, 0
%8 = xor i1 %7, true
br i1 %8, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %22
%10 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%11 = load ptr, ptr %2, align 8
%12 = call i32 @fgets(ptr noundef %10, i32 noundef 1024, ptr noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = call i32 @feof(ptr noundef %13)
%15 = icmp ne i32 %14, 0
br i1 %15, label %22, label %16
16: ; preds = %9
%17 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%18 = call i32 @strcmp(ptr noundef %17, ptr noundef @.str)
%19 = icmp ne i32 %18, 0
%20 = xor i1 %19, true
%21 = zext i1 %20 to i32
store i32 %21, ptr %4, align 4
br label %22
22: ; preds = %16, %9
%23 = load ptr, ptr %2, align 8
%24 = call i32 @feof(ptr noundef %23)
%25 = icmp ne i32 %24, 0
%26 = xor i1 %25, true
br i1 %26, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %1
%28 = load i32, ptr %4, align 4
ret i32 %28
}
declare i32 @feof(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8_dcmb5f.c'
source_filename = "/tmp/tmp8_dcmb5f.c"
target datalayout = "e-m:e-p270: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
@O_RDONLY = 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/tmp8_dcmb5f.c"
target datalayout = "e-m:e-p270: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
@O_RDONLY = 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/tmprdn90zqj.c'
source_filename = "/tmp/tmprdn90zqj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"Bbb:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @foo(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 2
%7 = icmp ne ptr %4, %6
%8 = zext i1 %7 to i32
ret i32 %8
}
declare ptr @foo(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprdn90zqj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"Bbb:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @foo(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 2
%7 = icmp ne ptr %4, %6
%8 = zext i1 %7 to i32
ret i32 %8
}
declare ptr @foo(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx8m1vomd.c'
source_filename = "/tmp/tmpx8m1vomd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @genBitSource(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call i64 @time(ptr noundef null)
%7 = trunc i64 %6 to i32
%8 = call i32 @srand(i32 noundef %7)
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %20, %2
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %23
13: ; preds = %9
%14 = call i32 (...) @rand()
%15 = srem i32 %14, 2
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
store i32 %15, ptr %19, align 4
br label %20
20: ; preds = %13
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
br label %9, !llvm.loop !6
23: ; preds = %9
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
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/tmpx8m1vomd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @genBitSource(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call i64 @time(ptr noundef null)
%7 = trunc i64 %6 to i32
%8 = call i32 @srand(i32 noundef %7)
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %19
%13 = call i32 (...) @rand()
%14 = srem i32 %13, 2
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
store i32 %14, ptr %18, align 4
br label %19
19: ; preds = %12
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
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/tmpqp3v4wxx.c'
source_filename = "/tmp/tmpqp3v4wxx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sleep(i64 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store i64 %0, ptr %3, align 8
%6 = call double (...) @clock()
store double %6, ptr %4, align 8
br label %7
7: ; preds = %12, %1
%8 = call double (...) @clock()
store double %8, ptr %5, align 8
%9 = fcmp oeq double %8, -1.000000e+00
br i1 %9, label %10, label %11
10: ; preds = %7
store i32 0, ptr %2, align 4
br label %23
11: ; preds = %7
br label %12
12: ; preds = %11
%13 = load double, ptr %5, align 8
%14 = load double, ptr %4, align 8
%15 = fsub double %13, %14
%16 = fmul double 1.000000e+03, %15
%17 = load double, ptr @CLOCKS_PER_SEC, align 8
%18 = fdiv double %16, %17
%19 = load i64, ptr %3, align 8
%20 = uitofp i64 %19 to double
%21 = fcmp olt double %18, %20
br i1 %21, label %7, label %22, !llvm.loop !6
22: ; preds = %12
store i32 1, ptr %2, align 4
br label %23
23: ; preds = %22, %10
%24 = load i32, ptr %2, align 4
ret i32 %24
}
declare double @clock(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqp3v4wxx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sleep(i64 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store i64 %0, ptr %3, align 8
%6 = call double (...) @clock()
store double %6, ptr %4, align 8
br label %7
7: ; preds = %12, %1
%8 = call double (...) @clock()
store double %8, ptr %5, align 8
%9 = fcmp oeq double %8, -1.000000e+00
br i1 %9, label %10, label %11
10: ; preds = %7
store i32 0, ptr %2, align 4
br label %23
11: ; preds = %7
br label %12
12: ; preds = %11
%13 = load double, ptr %5, align 8
%14 = load double, ptr %4, align 8
%15 = fsub double %13, %14
%16 = fmul double 1.000000e+03, %15
%17 = load double, ptr @CLOCKS_PER_SEC, align 8
%18 = fdiv double %16, %17
%19 = load i64, ptr %3, align 8
%20 = uitofp i64 %19 to double
%21 = fcmp olt double %18, %20
br i1 %21, label %7, label %22, !llvm.loop !6
22: ; preds = %12
store i32 1, ptr %2, align 4
br label %23
23: ; preds = %22, %10
%24 = load i32, ptr %2, align 4
ret i32 %24
}
declare double @clock(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpghi0m_5t.c'
source_filename = "/tmp/tmpghi0m_5t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i64 0, align 8
@INT_MIN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @parse_entire_int(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i64 @strlen(ptr noundef %9)
store i64 %10, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i64 @strtol(ptr noundef %12, ptr noundef %7, i32 noundef 10)
store i64 %13, ptr %8, align 8
%14 = load i64, ptr %8, align 8
%15 = load i64, ptr @INT_MAX, align 8
%16 = icmp sgt i64 %14, %15
br i1 %16, label %27, label %17
17: ; preds = %2
%18 = load i64, ptr %8, align 8
%19 = load i64, ptr @INT_MIN, align 8
%20 = icmp slt i64 %18, %19
br i1 %20, label %27, label %21
21: ; preds = %17
%22 = load ptr, ptr %7, align 8
%23 = load ptr, ptr %4, align 8
%24 = load i64, ptr %6, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = icmp ne ptr %22, %25
br i1 %26, label %27, label %28
27: ; preds = %21, %17, %2
store i8 0, ptr %3, align 1
br label %32
28: ; preds = %21
%29 = load i64, ptr %8, align 8
%30 = trunc i64 %29 to i32
%31 = load ptr, ptr %5, align 8
store i32 %30, ptr %31, align 4
store i8 1, ptr %3, align 1
br label %32
32: ; preds = %28, %27
%33 = load i8, ptr %3, align 1
ret i8 %33
}
declare i64 @strlen(ptr noundef) #1
declare i64 @strtol(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/tmpghi0m_5t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i64 0, align 8
@INT_MIN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @parse_entire_int(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i64 @strlen(ptr noundef %9)
store i64 %10, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i64 @strtol(ptr noundef %12, ptr noundef %7, i32 noundef 10)
store i64 %13, ptr %8, align 8
%14 = load i64, ptr %8, align 8
%15 = load i64, ptr @INT_MAX, align 8
%16 = icmp sgt i64 %14, %15
br i1 %16, label %27, label %17
17: ; preds = %2
%18 = load i64, ptr %8, align 8
%19 = load i64, ptr @INT_MIN, align 8
%20 = icmp slt i64 %18, %19
br i1 %20, label %27, label %21
21: ; preds = %17
%22 = load ptr, ptr %7, align 8
%23 = load ptr, ptr %4, align 8
%24 = load i64, ptr %6, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = icmp ne ptr %22, %25
br i1 %26, label %27, label %28
27: ; preds = %21, %17, %2
store i8 0, ptr %3, align 1
br label %32
28: ; preds = %21
%29 = load i64, ptr %8, align 8
%30 = trunc i64 %29 to i32
%31 = load ptr, ptr %5, align 8
store i32 %30, ptr %31, align 4
store i8 1, ptr %3, align 1
br label %32
32: ; preds = %28, %27
%33 = load i8, ptr %3, align 1
ret i8 %33
}
declare i64 @strlen(ptr noundef) #1
declare i64 @strtol(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/tmpvvc_yl47.c'
source_filename = "/tmp/tmpvvc_yl47.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
@llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @setup, ptr null }]
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setup() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @setvbuf(i32 noundef %1, i32 noundef 0, i32 noundef 2, i32 noundef 0)
%3 = load i32, ptr @stdin, align 4
%4 = call i32 @setvbuf(i32 noundef %3, i32 noundef 0, i32 noundef 2, i32 noundef 0)
ret void
}
declare i32 @setvbuf(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvvc_yl47.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
@llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @setup, ptr null }]
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setup() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @setvbuf(i32 noundef %1, i32 noundef 0, i32 noundef 2, i32 noundef 0)
%3 = load i32, ptr @stdin, align 4
%4 = call i32 @setvbuf(i32 noundef %3, i32 noundef 0, i32 noundef 2, i32 noundef 0)
ret void
}
declare i32 @setvbuf(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_8kp5fgi.c'
source_filename = "/tmp/tmp_8kp5fgi.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [9 x i8] c"%8s: %s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
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 slt i32 %8, 2
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @usage(ptr noundef %13)
%15 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %15, ptr %3, align 4
br label %83
16: ; preds = %2
%17 = load i32, ptr %4, align 4
%18 = icmp sge i32 %17, 3
br i1 %18, label %19, label %47
19: ; preds = %16
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 0
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 45
br i1 %26, label %27, label %47
27: ; preds = %19
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 1
%30 = load ptr, ptr %29, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 1
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 100
br i1 %34, label %35, label %47
35: ; preds = %27
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 1
%38 = load ptr, ptr %37, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 2
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %47
43: ; preds = %35
%44 = load i32, ptr %4, align 4
%45 = load ptr, ptr %5, align 8
%46 = call i32 @unhash(i32 noundef %44, ptr noundef %45)
store i32 %46, ptr %3, align 4
br label %83
47: ; preds = %35, %27, %19, %16
%48 = load i32, ptr %4, align 4
%49 = icmp eq i32 %48, 2
br i1 %49, label %50, label %57
50: ; preds = %47
%51 = load ptr, ptr %5, align 8
%52 = getelementptr inbounds ptr, ptr %51, i64 1
%53 = load ptr, ptr %52, align 8
%54 = call i32 @parse_arg(ptr noundef %53)
%55 = call ptr @inasehash_static(i32 noundef %54)
%56 = call i32 @puts(ptr noundef %55)
br label %81
57: ; preds = %47
store i32 1, ptr %6, align 4
br label %58
58: ; preds = %77, %57
%59 = load i32, ptr %6, align 4
%60 = load i32, ptr %4, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %62, label %80
62: ; preds = %58
%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 @parse_arg(ptr noundef %67)
%69 = call ptr @inasehash_static(i32 noundef %68)
store ptr %69, ptr %7, align 8
%70 = load ptr, ptr %5, align 8
%71 = load i32, ptr %6, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds ptr, ptr %70, i64 %72
%74 = load ptr, ptr %73, align 8
%75 = load ptr, ptr %7, align 8
%76 = call i32 @printf(ptr noundef @.str, ptr noundef %74, ptr noundef %75)
br label %77
77: ; preds = %62
%78 = load i32, ptr %6, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %6, align 4
br label %58, !llvm.loop !6
80: ; preds = %58
br label %81
81: ; preds = %80, %50
%82 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %82, ptr %3, align 4
br label %83
83: ; preds = %81, %43, %10
%84 = load i32, ptr %3, align 4
ret i32 %84
}
declare i32 @usage(ptr noundef) #1
declare i32 @unhash(i32 noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare ptr @inasehash_static(i32 noundef) #1
declare i32 @parse_arg(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_8kp5fgi.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [9 x i8] c"%8s: %s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
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 slt i32 %8, 2
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @usage(ptr noundef %13)
%15 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %15, ptr %3, align 4
br label %85
16: ; preds = %2
%17 = load i32, ptr %4, align 4
%18 = icmp sge i32 %17, 3
br i1 %18, label %19, label %47
19: ; preds = %16
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 0
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 45
br i1 %26, label %27, label %47
27: ; preds = %19
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 1
%30 = load ptr, ptr %29, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 1
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 100
br i1 %34, label %35, label %47
35: ; preds = %27
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 1
%38 = load ptr, ptr %37, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 2
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %47
43: ; preds = %35
%44 = load i32, ptr %4, align 4
%45 = load ptr, ptr %5, align 8
%46 = call i32 @unhash(i32 noundef %44, ptr noundef %45)
store i32 %46, ptr %3, align 4
br label %85
47: ; preds = %35, %27, %19, %16
%48 = load i32, ptr %4, align 4
%49 = icmp eq i32 %48, 2
br i1 %49, label %50, label %57
50: ; preds = %47
%51 = load ptr, ptr %5, align 8
%52 = getelementptr inbounds ptr, ptr %51, i64 1
%53 = load ptr, ptr %52, align 8
%54 = call i32 @parse_arg(ptr noundef %53)
%55 = call ptr @inasehash_static(i32 noundef %54)
%56 = call i32 @puts(ptr noundef %55)
br label %83
57: ; preds = %47
store i32 1, ptr %6, align 4
%58 = load i32, ptr %6, align 4
%59 = load i32, ptr %4, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %.lr.ph, label %82
.lr.ph: ; preds = %57
br label %61
61: ; preds = %.lr.ph, %76
%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 @parse_arg(ptr noundef %66)
%68 = call ptr @inasehash_static(i32 noundef %67)
store ptr %68, ptr %7, align 8
%69 = load ptr, ptr %5, align 8
%70 = load i32, ptr %6, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds ptr, ptr %69, i64 %71
%73 = load ptr, ptr %72, align 8
%74 = load ptr, ptr %7, align 8
%75 = call i32 @printf(ptr noundef @.str, ptr noundef %73, ptr noundef %74)
br label %76
76: ; preds = %61
%77 = load i32, ptr %6, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %6, align 4
%79 = load i32, ptr %6, align 4
%80 = load i32, ptr %4, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %61, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %76
br label %82
82: ; preds = %._crit_edge, %57
br label %83
83: ; preds = %82, %50
%84 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %84, ptr %3, align 4
br label %85
85: ; preds = %83, %43, %10
%86 = load i32, ptr %3, align 4
ret i32 %86
}
declare i32 @usage(ptr noundef) #1
declare i32 @unhash(i32 noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare ptr @inasehash_static(i32 noundef) #1
declare i32 @parse_arg(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkx34uiwb.c'
source_filename = "/tmp/tmpkx34uiwb.c"
target datalayout = "e-m:e-p270: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/tmpkx34uiwb.c"
target datalayout = "e-m:e-p270: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/tmp895jzeo2.c'
source_filename = "/tmp/tmp895jzeo2.c"
target datalayout = "e-m:e-p270: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/tmp895jzeo2.c"
target datalayout = "e-m:e-p270: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/tmpjwzp5twc.c'
source_filename = "/tmp/tmpjwzp5twc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Usage: %s <path_to_test>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
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 ne i32 %7, 2
br i1 %8, label %9, label %17
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %13)
%15 = load i32, ptr @EXIT_FAILURE, align 4
%16 = call i32 @exit(i32 noundef %15) #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_WRONLY, align 4
%22 = call i32 @open(ptr noundef %20, i32 noundef %21)
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp sge i32 %23, 0
br i1 %24, label %25, label %30
25: ; preds = %17
%26 = load i32, ptr %6, align 4
%27 = call i32 @close(i32 noundef %26)
%28 = load i32, ptr @EXIT_SUCCESS, align 4
%29 = call i32 @exit(i32 noundef %28) #3
unreachable
30: ; preds = %17
%31 = load i32, ptr @EXIT_FAILURE, align 4
%32 = call i32 @exit(i32 noundef %31) #3
unreachable
}
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 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjwzp5twc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Usage: %s <path_to_test>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
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 ne i32 %7, 2
br i1 %8, label %9, label %17
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %13)
%15 = load i32, ptr @EXIT_FAILURE, align 4
%16 = call i32 @exit(i32 noundef %15) #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_WRONLY, align 4
%22 = call i32 @open(ptr noundef %20, i32 noundef %21)
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp sge i32 %23, 0
br i1 %24, label %25, label %30
25: ; preds = %17
%26 = load i32, ptr %6, align 4
%27 = call i32 @close(i32 noundef %26)
%28 = load i32, ptr @EXIT_SUCCESS, align 4
%29 = call i32 @exit(i32 noundef %28) #3
unreachable
30: ; preds = %17
%31 = load i32, ptr @EXIT_FAILURE, align 4
%32 = call i32 @exit(i32 noundef %31) #3
unreachable
}
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 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp1lfb4yx.c'
source_filename = "/tmp/tmpp1lfb4yx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sys_audiodevnumbertoname(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca [1600 x i8], align 16
%10 = alloca [1600 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %4
%19 = load ptr, ptr %7, align 8
store i8 0, ptr %19, align 1
br label %64
20: ; preds = %4
%21 = getelementptr inbounds [1600 x i8], ptr %9, i64 0, i64 0
%22 = getelementptr inbounds [1600 x i8], ptr %10, i64 0, i64 0
%23 = call i32 @sys_get_audio_devs(ptr noundef %21, ptr noundef %11, ptr noundef %22, ptr noundef %12, ptr noundef %14, ptr noundef %15, i32 noundef 20, i32 noundef 80)
%24 = load i32, ptr %5, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %39
26: ; preds = %20
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %12, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %39
30: ; preds = %26
%31 = load ptr, ptr %7, align 8
%32 = getelementptr inbounds [1600 x i8], ptr %10, i64 0, i64 0
%33 = load i32, ptr %6, align 4
%34 = mul nsw i32 %33, 80
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %32, i64 %35
%37 = load i32, ptr %8, align 4
%38 = call i32 @strncpy(ptr noundef %31, ptr noundef %36, i32 noundef %37)
br label %58
39: ; preds = %26, %20
%40 = load i32, ptr %5, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %55, label %42
42: ; preds = %39
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr %11, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %55
46: ; preds = %42
%47 = load ptr, ptr %7, align 8
%48 = getelementptr inbounds [1600 x i8], ptr %9, i64 0, i64 0
%49 = load i32, ptr %6, align 4
%50 = mul nsw i32 %49, 80
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %48, i64 %51
%53 = load i32, ptr %8, align 4
%54 = call i32 @strncpy(ptr noundef %47, ptr noundef %52, i32 noundef %53)
br label %57
55: ; preds = %42, %39
%56 = load ptr, ptr %7, align 8
store i8 0, ptr %56, align 1
br label %57
57: ; preds = %55, %46
br label %58
58: ; preds = %57, %30
%59 = load ptr, ptr %7, align 8
%60 = load i32, ptr %8, align 4
%61 = sub nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %59, i64 %62
store i8 0, ptr %63, align 1
br label %64
64: ; preds = %58, %18
ret void
}
declare i32 @sys_get_audio_devs(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp1lfb4yx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sys_audiodevnumbertoname(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca [1600 x i8], align 16
%10 = alloca [1600 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %4
%19 = load ptr, ptr %7, align 8
store i8 0, ptr %19, align 1
br label %64
20: ; preds = %4
%21 = getelementptr inbounds [1600 x i8], ptr %9, i64 0, i64 0
%22 = getelementptr inbounds [1600 x i8], ptr %10, i64 0, i64 0
%23 = call i32 @sys_get_audio_devs(ptr noundef %21, ptr noundef %11, ptr noundef %22, ptr noundef %12, ptr noundef %14, ptr noundef %15, i32 noundef 20, i32 noundef 80)
%24 = load i32, ptr %5, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %39
26: ; preds = %20
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %12, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %39
30: ; preds = %26
%31 = load ptr, ptr %7, align 8
%32 = getelementptr inbounds [1600 x i8], ptr %10, i64 0, i64 0
%33 = load i32, ptr %6, align 4
%34 = mul nsw i32 %33, 80
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %32, i64 %35
%37 = load i32, ptr %8, align 4
%38 = call i32 @strncpy(ptr noundef %31, ptr noundef %36, i32 noundef %37)
br label %58
39: ; preds = %26, %20
%40 = load i32, ptr %5, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %55, label %42
42: ; preds = %39
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr %11, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %55
46: ; preds = %42
%47 = load ptr, ptr %7, align 8
%48 = getelementptr inbounds [1600 x i8], ptr %9, i64 0, i64 0
%49 = load i32, ptr %6, align 4
%50 = mul nsw i32 %49, 80
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %48, i64 %51
%53 = load i32, ptr %8, align 4
%54 = call i32 @strncpy(ptr noundef %47, ptr noundef %52, i32 noundef %53)
br label %57
55: ; preds = %42, %39
%56 = load ptr, ptr %7, align 8
store i8 0, ptr %56, align 1
br label %57
57: ; preds = %55, %46
br label %58
58: ; preds = %57, %30
%59 = load ptr, ptr %7, align 8
%60 = load i32, ptr %8, align 4
%61 = sub nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %59, i64 %62
store i8 0, ptr %63, align 1
br label %64
64: ; preds = %58, %18
ret void
}
declare i32 @sys_get_audio_devs(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk8n0cbco.c'
source_filename = "/tmp/tmpk8n0cbco.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rend_cmp_service_ids(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 @strcasecmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @strcasecmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk8n0cbco.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rend_cmp_service_ids(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 @strcasecmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @strcasecmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpepa4xfaz.c'
source_filename = "/tmp/tmpepa4xfaz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @puts(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i32, ptr @stdout, align 4
%6 = call i64 @fputs(ptr noundef %4, i32 noundef %5)
%7 = load i64, ptr @EOF, align 8
%8 = icmp eq i64 %6, %7
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load i64, ptr @EOF, align 8
%11 = trunc i64 %10 to i32
store i32 %11, ptr %2, align 4
br label %14
12: ; preds = %1
%13 = call i32 @putchar(i8 noundef signext 10)
store i32 %13, ptr %2, align 4
br label %14
14: ; preds = %12, %9
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i64 @fputs(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpepa4xfaz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @puts(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i32, ptr @stdout, align 4
%6 = call i64 @fputs(ptr noundef %4, i32 noundef %5)
%7 = load i64, ptr @EOF, align 8
%8 = icmp eq i64 %6, %7
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load i64, ptr @EOF, align 8
%11 = trunc i64 %10 to i32
store i32 %11, ptr %2, align 4
br label %14
12: ; preds = %1
%13 = call i32 @putchar(i8 noundef signext 10)
store i32 %13, ptr %2, align 4
br label %14
14: ; preds = %12, %9
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i64 @fputs(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0myiym89.c'
source_filename = "/tmp/tmp0myiym89.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getgrnam_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0myiym89.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getgrnam_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp72yqvwn5.c'
source_filename = "/tmp/tmp72yqvwn5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Play first(=1) or play second(=2)?\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Please give a valid input\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"Player's turn\0A\00", align 1
@.str.4 = private unnamed_addr constant [48 x i8] c"Enter the row and the column you want to put O\0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"\1B[2J\1B[1;1H\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"Please give me a valid box\0A\00", align 1
@.str.8 = private unnamed_addr constant [35 x i8] c"Please give me a box that is free\0A\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"You won\0A\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"Draw\0A\00", align 1
@.str.11 = private unnamed_addr constant [10 x i8] c"You lost\0A\00", align 1
@.str.12 = private unnamed_addr constant [48 x i8] c"Enter the row and the column you want to put X\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 -1, ptr %6, align 4
store i32 9, ptr %7, align 4
%11 = call ptr @malloc(i32 noundef 24)
store ptr %11, ptr %10, align 8
store i32 0, ptr %2, align 4
br label %12
12: ; preds = %21, %0
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %13, 3
br i1 %14, label %15, label %24
15: ; preds = %12
%16 = call ptr @malloc(i32 noundef 12)
%17 = load ptr, ptr %10, align 8
%18 = load i32, ptr %2, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
store ptr %16, ptr %20, align 8
br label %21
21: ; preds = %15
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %2, align 4
br label %12, !llvm.loop !6
24: ; preds = %12
store i32 0, ptr %2, align 4
br label %25
25: ; preds = %45, %24
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %26, 3
br i1 %27, label %28, label %48
28: ; preds = %25
store i32 0, ptr %3, align 4
br label %29
29: ; preds = %41, %28
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %30, 3
br i1 %31, label %32, label %44
32: ; preds = %29
%33 = load ptr, ptr %10, align 8
%34 = load i32, ptr %2, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds ptr, ptr %33, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = load i32, ptr %3, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
store i32 -1, ptr %40, align 4
br label %41
41: ; preds = %32
%42 = load i32, ptr %3, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %3, align 4
br label %29, !llvm.loop !8
44: ; preds = %29
br label %45
45: ; preds = %44
%46 = load i32, ptr %2, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %2, align 4
br label %25, !llvm.loop !9
48: ; preds = %25
br label %49
49: ; preds = %75, %48
%50 = load i32, ptr %6, align 4
%51 = icmp ne i32 %50, 1
br i1 %51, label %52, label %55
52: ; preds = %49
%53 = load i32, ptr %6, align 4
%54 = icmp ne i32 %53, 2
br label %55
55: ; preds = %52, %49
%56 = phi i1 [ false, %49 ], [ %54, %52 ]
br i1 %56, label %57, label %76
57: ; preds = %55
%58 = call i32 @printf(ptr noundef @.str)
%59 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %6)
%60 = load i32, ptr %6, align 4
%61 = icmp eq i32 %60, 1
br i1 %61, label %62, label %63
62: ; preds = %57
store i32 79, ptr %8, align 4
store i32 88, ptr %9, align 4
br label %63
63: ; preds = %62, %57
%64 = load i32, ptr %6, align 4
%65 = icmp eq i32 %64, 2
br i1 %65, label %66, label %67
66: ; preds = %63
store i32 88, ptr %8, align 4
store i32 79, ptr %9, align 4
br label %67
67: ; preds = %66, %63
%68 = load i32, ptr %6, align 4
%69 = icmp ne i32 %68, 1
br i1 %69, label %70, label %75
70: ; preds = %67
%71 = load i32, ptr %6, align 4
%72 = icmp ne i32 %71, 2
br i1 %72, label %73, label %75
73: ; preds = %70
%74 = call i32 @printf(ptr noundef @.str.2)
br label %75
75: ; preds = %73, %70, %67
br label %49, !llvm.loop !10
76: ; preds = %55
br label %77
77: ; preds = %371, %76
%78 = load i32, ptr %7, align 4
%79 = icmp sge i32 %78, 0
br i1 %79, label %80, label %372
80: ; preds = %77
%81 = load i32, ptr %6, align 4
%82 = icmp eq i32 %81, 1
br i1 %82, label %83, label %226
83: ; preds = %80
%84 = load ptr, ptr %10, align 8
%85 = call i32 @print_board(ptr noundef %84)
%86 = call i32 @printf(ptr noundef @.str.3)
%87 = call i32 @printf(ptr noundef @.str.4)
%88 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %4, ptr noundef %5)
%89 = call i32 @printf(ptr noundef @.str.6)
%90 = load i32, ptr %4, align 4
%91 = icmp slt i32 %90, 0
br i1 %91, label %101, label %92
92: ; preds = %83
%93 = load i32, ptr %4, align 4
%94 = icmp sge i32 %93, 3
br i1 %94, label %101, label %95
95: ; preds = %92
%96 = load i32, ptr %5, align 4
%97 = icmp slt i32 %96, 0
br i1 %97, label %101, label %98
98: ; preds = %95
%99 = load i32, ptr %5, align 4
%100 = icmp sge i32 %99, 3
br i1 %100, label %101, label %121
101: ; preds = %98, %95, %92, %83
br label %102
102: ; preds = %116, %101
%103 = load i32, ptr %4, align 4
%104 = icmp slt i32 %103, 0
br i1 %104, label %114, label %105
105: ; preds = %102
%106 = load i32, ptr %4, align 4
%107 = icmp sge i32 %106, 3
br i1 %107, label %114, label %108
108: ; preds = %105
%109 = load i32, ptr %5, align 4
%110 = icmp slt i32 %109, 0
br i1 %110, label %114, label %111
111: ; preds = %108
%112 = load i32, ptr %5, align 4
%113 = icmp sge i32 %112, 3
br label %114
114: ; preds = %111, %108, %105, %102
%115 = phi i1 [ true, %108 ], [ true, %105 ], [ true, %102 ], [ %113, %111 ]
br i1 %115, label %116, label %120
116: ; preds = %114
%117 = call i32 @printf(ptr noundef @.str.7)
%118 = call i32 @printf(ptr noundef @.str.4)
%119 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %4, ptr noundef %5)
br label %102, !llvm.loop !11
120: ; preds = %114
br label %121
121: ; preds = %120, %98
%122 = load ptr, ptr %10, align 8
%123 = load i32, ptr %4, 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 %5, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds i32, ptr %126, i64 %128
%130 = load i32, ptr %129, align 4
%131 = load i32, ptr %9, align 4
%132 = icmp eq i32 %130, %131
br i1 %132, label %145, label %133
133: ; preds = %121
%134 = load ptr, ptr %10, align 8
%135 = load i32, ptr %4, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds ptr, ptr %134, i64 %136
%138 = load ptr, ptr %137, align 8
%139 = load i32, ptr %5, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds i32, ptr %138, i64 %140
%142 = load i32, ptr %141, align 4
%143 = load i32, ptr %8, align 4
%144 = icmp eq i32 %142, %143
br i1 %144, label %145, label %177
145: ; preds = %133, %121
br label %146
146: ; preds = %172, %145
%147 = load ptr, ptr %10, align 8
%148 = load i32, ptr %4, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds ptr, ptr %147, i64 %149
%151 = load ptr, ptr %150, align 8
%152 = load i32, ptr %5, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds i32, ptr %151, i64 %153
%155 = load i32, ptr %154, align 4
%156 = load i32, ptr %9, align 4
%157 = icmp eq i32 %155, %156
br i1 %157, label %170, label %158
158: ; preds = %146
%159 = load ptr, ptr %10, align 8
%160 = load i32, ptr %4, align 4
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds ptr, ptr %159, i64 %161
%163 = load ptr, ptr %162, align 8
%164 = load i32, ptr %5, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds i32, ptr %163, i64 %165
%167 = load i32, ptr %166, align 4
%168 = load i32, ptr %8, align 4
%169 = icmp eq i32 %167, %168
br label %170
170: ; preds = %158, %146
%171 = phi i1 [ true, %146 ], [ %169, %158 ]
br i1 %171, label %172, label %176
172: ; preds = %170
%173 = call i32 @printf(ptr noundef @.str.8)
%174 = call i32 @printf(ptr noundef @.str.4)
%175 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %4, ptr noundef %5)
br label %146, !llvm.loop !12
176: ; preds = %170
br label %177
177: ; preds = %176, %133
%178 = load i32, ptr %8, align 4
%179 = load ptr, ptr %10, align 8
%180 = load i32, ptr %4, align 4
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds ptr, ptr %179, i64 %181
%183 = load ptr, ptr %182, align 8
%184 = load i32, ptr %5, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds i32, ptr %183, i64 %185
store i32 %178, ptr %186, align 4
%187 = load ptr, ptr %10, align 8
%188 = load i32, ptr %8, align 4
%189 = call i32 @check_win(ptr noundef %187, i32 noundef %188)
%190 = icmp eq i32 %189, 1
br i1 %190, label %191, label %195
191: ; preds = %177
%192 = load ptr, ptr %10, align 8
%193 = call i32 @print_board(ptr noundef %192)
%194 = call i32 @printf(ptr noundef @.str.9)
store i32 0, ptr %1, align 4
br label %372
195: ; preds = %177
%196 = load i32, ptr %7, align 4
%197 = sub nsw i32 %196, 1
store i32 %197, ptr %7, align 4
%198 = load i32, ptr %7, align 4
%199 = icmp eq i32 %198, 0
br i1 %199, label %200, label %209
200: ; preds = %195
%201 = load ptr, ptr %10, align 8
%202 = load i32, ptr %8, align 4
%203 = call i32 @check_win(ptr noundef %201, i32 noundef %202)
%204 = icmp eq i32 %203, 0
br i1 %204, label %205, label %209
205: ; preds = %200
%206 = load ptr, ptr %10, align 8
%207 = call i32 @print_board(ptr noundef %206)
%208 = call i32 @printf(ptr noundef @.str.10)
store i32 0, ptr %1, align 4
br label %372
209: ; preds = %200, %195
%210 = load ptr, ptr %10, align 8
%211 = load i32, ptr %9, align 4
%212 = load i32, ptr %8, align 4
%213 = load i32, ptr %9, align 4
%214 = call i32 @minimax(ptr noundef %210, i32 noundef %211, i32 noundef 0, i32 noundef %212, i32 noundef %213)
%215 = load ptr, ptr %10, align 8
%216 = load i32, ptr %9, align 4
%217 = call i32 @check_win(ptr noundef %215, i32 noundef %216)
%218 = icmp eq i32 %217, 1
br i1 %218, label %219, label %223
219: ; preds = %209
%220 = load ptr, ptr %10, align 8
%221 = call i32 @print_board(ptr noundef %220)
%222 = call i32 @printf(ptr noundef @.str.11)
store i32 0, ptr %1, align 4
br label %372
223: ; preds = %209
%224 = load i32, ptr %7, align 4
%225 = sub nsw i32 %224, 1
store i32 %225, ptr %7, align 4
br label %226
226: ; preds = %223, %80
%227 = load i32, ptr %6, align 4
%228 = icmp eq i32 %227, 2
br i1 %228, label %229, label %371
229: ; preds = %226
%230 = load ptr, ptr %10, align 8
%231 = load i32, ptr %9, align 4
%232 = load i32, ptr %8, align 4
%233 = load i32, ptr %9, align 4
%234 = call i32 @minimax(ptr noundef %230, i32 noundef %231, i32 noundef 0, i32 noundef %232, i32 noundef %233)
%235 = load ptr, ptr %10, align 8
%236 = load i32, ptr %9, align 4
%237 = call i32 @check_win(ptr noundef %235, i32 noundef %236)
%238 = icmp eq i32 %237, 1
br i1 %238, label %239, label %243
239: ; preds = %229
%240 = load ptr, ptr %10, align 8
%241 = call i32 @print_board(ptr noundef %240)
%242 = call i32 @printf(ptr noundef @.str.11)
store i32 0, ptr %1, align 4
br label %372
243: ; preds = %229
%244 = load i32, ptr %7, align 4
%245 = sub nsw i32 %244, 1
store i32 %245, ptr %7, align 4
%246 = load i32, ptr %7, align 4
%247 = icmp eq i32 %246, 0
br i1 %247, label %248, label %257
248: ; preds = %243
%249 = load ptr, ptr %10, align 8
%250 = load i32, ptr %9, align 4
%251 = call i32 @check_win(ptr noundef %249, i32 noundef %250)
%252 = icmp eq i32 %251, 0
br i1 %252, label %253, label %257
253: ; preds = %248
%254 = load ptr, ptr %10, align 8
%255 = call i32 @print_board(ptr noundef %254)
%256 = call i32 @printf(ptr noundef @.str.10)
store i32 0, ptr %1, align 4
br label %372
257: ; preds = %248, %243
%258 = load ptr, ptr %10, align 8
%259 = call i32 @print_board(ptr noundef %258)
%260 = call i32 @printf(ptr noundef @.str.3)
%261 = call i32 @printf(ptr noundef @.str.12)
%262 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %4, ptr noundef %5)
%263 = load i32, ptr %4, align 4
%264 = icmp slt i32 %263, 0
br i1 %264, label %274, label %265
265: ; preds = %257
%266 = load i32, ptr %4, align 4
%267 = icmp sge i32 %266, 3
br i1 %267, label %274, label %268
268: ; preds = %265
%269 = load i32, ptr %5, align 4
%270 = icmp slt i32 %269, 0
br i1 %270, label %274, label %271
271: ; preds = %268
%272 = load i32, ptr %5, align 4
%273 = icmp sge i32 %272, 3
br i1 %273, label %274, label %294
274: ; preds = %271, %268, %265, %257
br label %275
275: ; preds = %289, %274
%276 = load i32, ptr %4, align 4
%277 = icmp slt i32 %276, 0
br i1 %277, label %287, label %278
278: ; preds = %275
%279 = load i32, ptr %4, align 4
%280 = icmp sge i32 %279, 3
br i1 %280, label %287, label %281
281: ; preds = %278
%282 = load i32, ptr %5, align 4
%283 = icmp slt i32 %282, 0
br i1 %283, label %287, label %284
284: ; preds = %281
%285 = load i32, ptr %5, align 4
%286 = icmp sge i32 %285, 3
br label %287
287: ; preds = %284, %281, %278, %275
%288 = phi i1 [ true, %281 ], [ true, %278 ], [ true, %275 ], [ %286, %284 ]
br i1 %288, label %289, label %293
289: ; preds = %287
%290 = call i32 @printf(ptr noundef @.str.7)
%291 = call i32 @printf(ptr noundef @.str.12)
%292 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %4, ptr noundef %5)
br label %275, !llvm.loop !13
293: ; preds = %287
br label %294
294: ; preds = %293, %271
%295 = load ptr, ptr %10, align 8
%296 = load i32, ptr %4, align 4
%297 = sext i32 %296 to i64
%298 = getelementptr inbounds ptr, ptr %295, i64 %297
%299 = load ptr, ptr %298, align 8
%300 = load i32, ptr %5, align 4
%301 = sext i32 %300 to i64
%302 = getelementptr inbounds i32, ptr %299, i64 %301
%303 = load i32, ptr %302, align 4
%304 = load i32, ptr %9, align 4
%305 = icmp eq i32 %303, %304
br i1 %305, label %318, label %306
306: ; preds = %294
%307 = load ptr, ptr %10, align 8
%308 = load i32, ptr %4, align 4
%309 = sext i32 %308 to i64
%310 = getelementptr inbounds ptr, ptr %307, i64 %309
%311 = load ptr, ptr %310, align 8
%312 = load i32, ptr %5, align 4
%313 = sext i32 %312 to i64
%314 = getelementptr inbounds i32, ptr %311, i64 %313
%315 = load i32, ptr %314, align 4
%316 = load i32, ptr %8, align 4
%317 = icmp eq i32 %315, %316
br i1 %317, label %318, label %350
318: ; preds = %306, %294
br label %319
319: ; preds = %345, %318
%320 = load ptr, ptr %10, align 8
%321 = load i32, ptr %4, align 4
%322 = sext i32 %321 to i64
%323 = getelementptr inbounds ptr, ptr %320, i64 %322
%324 = load ptr, ptr %323, align 8
%325 = load i32, ptr %5, align 4
%326 = sext i32 %325 to i64
%327 = getelementptr inbounds i32, ptr %324, i64 %326
%328 = load i32, ptr %327, align 4
%329 = load i32, ptr %9, align 4
%330 = icmp eq i32 %328, %329
br i1 %330, label %343, label %331
331: ; preds = %319
%332 = load ptr, ptr %10, align 8
%333 = load i32, ptr %4, align 4
%334 = sext i32 %333 to i64
%335 = getelementptr inbounds ptr, ptr %332, i64 %334
%336 = load ptr, ptr %335, align 8
%337 = load i32, ptr %5, align 4
%338 = sext i32 %337 to i64
%339 = getelementptr inbounds i32, ptr %336, i64 %338
%340 = load i32, ptr %339, align 4
%341 = load i32, ptr %8, align 4
%342 = icmp eq i32 %340, %341
br label %343
343: ; preds = %331, %319
%344 = phi i1 [ true, %319 ], [ %342, %331 ]
br i1 %344, label %345, label %349
345: ; preds = %343
%346 = call i32 @printf(ptr noundef @.str.8)
%347 = call i32 @printf(ptr noundef @.str.12)
%348 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %4, ptr noundef %5)
br label %319, !llvm.loop !14
349: ; preds = %343
br label %350
350: ; preds = %349, %306
%351 = load i32, ptr %8, align 4
%352 = load ptr, ptr %10, align 8
%353 = load i32, ptr %4, align 4
%354 = sext i32 %353 to i64
%355 = getelementptr inbounds ptr, ptr %352, i64 %354
%356 = load ptr, ptr %355, align 8
%357 = load i32, ptr %5, align 4
%358 = sext i32 %357 to i64
%359 = getelementptr inbounds i32, ptr %356, i64 %358
store i32 %351, ptr %359, align 4
%360 = load ptr, ptr %10, align 8
%361 = load i32, ptr %8, align 4
%362 = call i32 @check_win(ptr noundef %360, i32 noundef %361)
%363 = icmp eq i32 %362, 1
br i1 %363, label %364, label %368
364: ; preds = %350
%365 = load ptr, ptr %10, align 8
%366 = call i32 @print_board(ptr noundef %365)
%367 = call i32 @printf(ptr noundef @.str.9)
store i32 0, ptr %1, align 4
br label %372
368: ; preds = %350
%369 = load i32, ptr %7, align 4
%370 = sub nsw i32 %369, 1
store i32 %370, ptr %7, align 4
br label %371
371: ; preds = %368, %226
br label %77, !llvm.loop !15
372: ; preds = %191, %205, %219, %239, %253, %364, %77
%373 = load i32, ptr %1, align 4
ret i32 %373
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @print_board(ptr noundef) #1
declare i32 @check_win(ptr noundef, i32 noundef) #1
declare i32 @minimax(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp72yqvwn5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Play first(=1) or play second(=2)?\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Please give a valid input\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"Player's turn\0A\00", align 1
@.str.4 = private unnamed_addr constant [48 x i8] c"Enter the row and the column you want to put O\0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"\1B[2J\1B[1;1H\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"Please give me a valid box\0A\00", align 1
@.str.8 = private unnamed_addr constant [35 x i8] c"Please give me a box that is free\0A\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"You won\0A\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"Draw\0A\00", align 1
@.str.11 = private unnamed_addr constant [10 x i8] c"You lost\0A\00", align 1
@.str.12 = private unnamed_addr constant [48 x i8] c"Enter the row and the column you want to put X\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 -1, ptr %6, align 4
store i32 9, ptr %7, align 4
%11 = call ptr @malloc(i32 noundef 24)
store ptr %11, ptr %10, align 8
store i32 0, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %12, 3
br i1 %13, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %20
%15 = call ptr @malloc(i32 noundef 12)
%16 = load ptr, ptr %10, align 8
%17 = load i32, ptr %2, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds ptr, ptr %16, i64 %18
store ptr %15, ptr %19, align 8
br label %20
20: ; preds = %14
%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, 3
br i1 %24, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %0
store i32 0, ptr %2, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %26, 3
br i1 %27, label %.lr.ph5, label %51
.lr.ph5: ; preds = %25
br label %28
28: ; preds = %.lr.ph5, %46
store i32 0, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %29, 3
br i1 %30, label %.lr.ph2, label %45
.lr.ph2: ; preds = %28
br label %31
31: ; preds = %.lr.ph2, %40
%32 = load ptr, ptr %10, align 8
%33 = load i32, ptr %2, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds ptr, ptr %32, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
store i32 -1, ptr %39, align 4
br label %40
40: ; preds = %31
%41 = load i32, ptr %3, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %3, align 4
%43 = load i32, ptr %3, align 4
%44 = icmp slt i32 %43, 3
br i1 %44, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %45
45: ; preds = %._crit_edge3, %28
br label %46
46: ; preds = %45
%47 = load i32, ptr %2, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %2, align 4
%49 = load i32, ptr %2, align 4
%50 = icmp slt i32 %49, 3
br i1 %50, label %28, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %46
br label %51
51: ; preds = %._crit_edge6, %25
br label %52
52: ; preds = %78, %51
%53 = load i32, ptr %6, align 4
%54 = icmp ne i32 %53, 1
br i1 %54, label %55, label %58
55: ; preds = %52
%56 = load i32, ptr %6, align 4
%57 = icmp ne i32 %56, 2
br label %58
58: ; preds = %55, %52
%59 = phi i1 [ false, %52 ], [ %57, %55 ]
br i1 %59, label %60, label %79
60: ; preds = %58
%61 = call i32 @printf(ptr noundef @.str)
%62 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %6)
%63 = load i32, ptr %6, align 4
%64 = icmp eq i32 %63, 1
br i1 %64, label %65, label %66
65: ; preds = %60
store i32 79, ptr %8, align 4
store i32 88, ptr %9, align 4
br label %66
66: ; preds = %65, %60
%67 = load i32, ptr %6, align 4
%68 = icmp eq i32 %67, 2
br i1 %68, label %69, label %70
69: ; preds = %66
store i32 88, ptr %8, align 4
store i32 79, ptr %9, align 4
br label %70
70: ; preds = %69, %66
%71 = load i32, ptr %6, align 4
%72 = icmp ne i32 %71, 1
br i1 %72, label %73, label %78
73: ; preds = %70
%74 = load i32, ptr %6, align 4
%75 = icmp ne i32 %74, 2
br i1 %75, label %76, label %78
76: ; preds = %73
%77 = call i32 @printf(ptr noundef @.str.2)
br label %78
78: ; preds = %76, %73, %70
br label %52, !llvm.loop !10
79: ; preds = %58
%80 = load i32, ptr %7, align 4
%81 = icmp sge i32 %80, 0
br i1 %81, label %.lr.ph8, label %.loopexit
.lr.ph8: ; preds = %79
br label %82
82: ; preds = %.lr.ph8, %373
%83 = load i32, ptr %6, align 4
%84 = icmp eq i32 %83, 1
br i1 %84, label %85, label %228
85: ; preds = %82
%86 = load ptr, ptr %10, align 8
%87 = call i32 @print_board(ptr noundef %86)
%88 = call i32 @printf(ptr noundef @.str.3)
%89 = call i32 @printf(ptr noundef @.str.4)
%90 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %4, ptr noundef %5)
%91 = call i32 @printf(ptr noundef @.str.6)
%92 = load i32, ptr %4, align 4
%93 = icmp slt i32 %92, 0
br i1 %93, label %103, label %94
94: ; preds = %85
%95 = load i32, ptr %4, align 4
%96 = icmp sge i32 %95, 3
br i1 %96, label %103, label %97
97: ; preds = %94
%98 = load i32, ptr %5, align 4
%99 = icmp slt i32 %98, 0
br i1 %99, label %103, label %100
100: ; preds = %97
%101 = load i32, ptr %5, align 4
%102 = icmp sge i32 %101, 3
br i1 %102, label %103, label %123
103: ; preds = %100, %97, %94, %85
br label %104
104: ; preds = %118, %103
%105 = load i32, ptr %4, align 4
%106 = icmp slt i32 %105, 0
br i1 %106, label %116, label %107
107: ; preds = %104
%108 = load i32, ptr %4, align 4
%109 = icmp sge i32 %108, 3
br i1 %109, label %116, label %110
110: ; preds = %107
%111 = load i32, ptr %5, align 4
%112 = icmp slt i32 %111, 0
br i1 %112, label %116, label %113
113: ; preds = %110
%114 = load i32, ptr %5, align 4
%115 = icmp sge i32 %114, 3
br label %116
116: ; preds = %113, %110, %107, %104
%117 = phi i1 [ true, %110 ], [ true, %107 ], [ true, %104 ], [ %115, %113 ]
br i1 %117, label %118, label %122
118: ; preds = %116
%119 = call i32 @printf(ptr noundef @.str.7)
%120 = call i32 @printf(ptr noundef @.str.4)
%121 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %4, ptr noundef %5)
br label %104, !llvm.loop !11
122: ; preds = %116
br label %123
123: ; preds = %122, %100
%124 = load ptr, ptr %10, align 8
%125 = load i32, ptr %4, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds ptr, ptr %124, i64 %126
%128 = load ptr, ptr %127, align 8
%129 = load i32, ptr %5, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i32, ptr %128, i64 %130
%132 = load i32, ptr %131, align 4
%133 = load i32, ptr %9, align 4
%134 = icmp eq i32 %132, %133
br i1 %134, label %147, label %135
135: ; preds = %123
%136 = load ptr, ptr %10, align 8
%137 = load i32, ptr %4, 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 %5, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds i32, ptr %140, i64 %142
%144 = load i32, ptr %143, align 4
%145 = load i32, ptr %8, align 4
%146 = icmp eq i32 %144, %145
br i1 %146, label %147, label %179
147: ; preds = %135, %123
br label %148
148: ; preds = %174, %147
%149 = load ptr, ptr %10, align 8
%150 = load i32, ptr %4, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds ptr, ptr %149, i64 %151
%153 = load ptr, ptr %152, align 8
%154 = load i32, ptr %5, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds i32, ptr %153, i64 %155
%157 = load i32, ptr %156, align 4
%158 = load i32, ptr %9, align 4
%159 = icmp eq i32 %157, %158
br i1 %159, label %172, label %160
160: ; preds = %148
%161 = load ptr, ptr %10, align 8
%162 = load i32, ptr %4, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds ptr, ptr %161, i64 %163
%165 = load ptr, ptr %164, align 8
%166 = load i32, ptr %5, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds i32, ptr %165, i64 %167
%169 = load i32, ptr %168, align 4
%170 = load i32, ptr %8, align 4
%171 = icmp eq i32 %169, %170
br label %172
172: ; preds = %160, %148
%173 = phi i1 [ true, %148 ], [ %171, %160 ]
br i1 %173, label %174, label %178
174: ; preds = %172
%175 = call i32 @printf(ptr noundef @.str.8)
%176 = call i32 @printf(ptr noundef @.str.4)
%177 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %4, ptr noundef %5)
br label %148, !llvm.loop !12
178: ; preds = %172
br label %179
179: ; preds = %178, %135
%180 = load i32, ptr %8, align 4
%181 = load ptr, ptr %10, align 8
%182 = load i32, ptr %4, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds ptr, ptr %181, i64 %183
%185 = load ptr, ptr %184, align 8
%186 = load i32, ptr %5, align 4
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds i32, ptr %185, i64 %187
store i32 %180, ptr %188, align 4
%189 = load ptr, ptr %10, align 8
%190 = load i32, ptr %8, align 4
%191 = call i32 @check_win(ptr noundef %189, i32 noundef %190)
%192 = icmp eq i32 %191, 1
br i1 %192, label %193, label %197
193: ; preds = %179
%194 = load ptr, ptr %10, align 8
%195 = call i32 @print_board(ptr noundef %194)
%196 = call i32 @printf(ptr noundef @.str.9)
store i32 0, ptr %1, align 4
br label %376
197: ; preds = %179
%198 = load i32, ptr %7, align 4
%199 = sub nsw i32 %198, 1
store i32 %199, ptr %7, align 4
%200 = load i32, ptr %7, align 4
%201 = icmp eq i32 %200, 0
br i1 %201, label %202, label %211
202: ; preds = %197
%203 = load ptr, ptr %10, align 8
%204 = load i32, ptr %8, align 4
%205 = call i32 @check_win(ptr noundef %203, i32 noundef %204)
%206 = icmp eq i32 %205, 0
br i1 %206, label %207, label %211
207: ; preds = %202
%208 = load ptr, ptr %10, align 8
%209 = call i32 @print_board(ptr noundef %208)
%210 = call i32 @printf(ptr noundef @.str.10)
store i32 0, ptr %1, align 4
br label %376
211: ; preds = %202, %197
%212 = load ptr, ptr %10, align 8
%213 = load i32, ptr %9, align 4
%214 = load i32, ptr %8, align 4
%215 = load i32, ptr %9, align 4
%216 = call i32 @minimax(ptr noundef %212, i32 noundef %213, i32 noundef 0, i32 noundef %214, i32 noundef %215)
%217 = load ptr, ptr %10, align 8
%218 = load i32, ptr %9, align 4
%219 = call i32 @check_win(ptr noundef %217, i32 noundef %218)
%220 = icmp eq i32 %219, 1
br i1 %220, label %221, label %225
221: ; preds = %211
%222 = load ptr, ptr %10, align 8
%223 = call i32 @print_board(ptr noundef %222)
%224 = call i32 @printf(ptr noundef @.str.11)
store i32 0, ptr %1, align 4
br label %376
225: ; preds = %211
%226 = load i32, ptr %7, align 4
%227 = sub nsw i32 %226, 1
store i32 %227, ptr %7, align 4
br label %228
228: ; preds = %225, %82
%229 = load i32, ptr %6, align 4
%230 = icmp eq i32 %229, 2
br i1 %230, label %231, label %373
231: ; preds = %228
%232 = load ptr, ptr %10, align 8
%233 = load i32, ptr %9, align 4
%234 = load i32, ptr %8, align 4
%235 = load i32, ptr %9, align 4
%236 = call i32 @minimax(ptr noundef %232, i32 noundef %233, i32 noundef 0, i32 noundef %234, i32 noundef %235)
%237 = load ptr, ptr %10, align 8
%238 = load i32, ptr %9, align 4
%239 = call i32 @check_win(ptr noundef %237, i32 noundef %238)
%240 = icmp eq i32 %239, 1
br i1 %240, label %241, label %245
241: ; preds = %231
%242 = load ptr, ptr %10, align 8
%243 = call i32 @print_board(ptr noundef %242)
%244 = call i32 @printf(ptr noundef @.str.11)
store i32 0, ptr %1, align 4
br label %376
245: ; preds = %231
%246 = load i32, ptr %7, align 4
%247 = sub nsw i32 %246, 1
store i32 %247, ptr %7, align 4
%248 = load i32, ptr %7, align 4
%249 = icmp eq i32 %248, 0
br i1 %249, label %250, label %259
250: ; preds = %245
%251 = load ptr, ptr %10, align 8
%252 = load i32, ptr %9, align 4
%253 = call i32 @check_win(ptr noundef %251, i32 noundef %252)
%254 = icmp eq i32 %253, 0
br i1 %254, label %255, label %259
255: ; preds = %250
%256 = load ptr, ptr %10, align 8
%257 = call i32 @print_board(ptr noundef %256)
%258 = call i32 @printf(ptr noundef @.str.10)
store i32 0, ptr %1, align 4
br label %376
259: ; preds = %250, %245
%260 = load ptr, ptr %10, align 8
%261 = call i32 @print_board(ptr noundef %260)
%262 = call i32 @printf(ptr noundef @.str.3)
%263 = call i32 @printf(ptr noundef @.str.12)
%264 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %4, ptr noundef %5)
%265 = load i32, ptr %4, align 4
%266 = icmp slt i32 %265, 0
br i1 %266, label %276, label %267
267: ; preds = %259
%268 = load i32, ptr %4, align 4
%269 = icmp sge i32 %268, 3
br i1 %269, label %276, label %270
270: ; preds = %267
%271 = load i32, ptr %5, align 4
%272 = icmp slt i32 %271, 0
br i1 %272, label %276, label %273
273: ; preds = %270
%274 = load i32, ptr %5, align 4
%275 = icmp sge i32 %274, 3
br i1 %275, label %276, label %296
276: ; preds = %273, %270, %267, %259
br label %277
277: ; preds = %291, %276
%278 = load i32, ptr %4, align 4
%279 = icmp slt i32 %278, 0
br i1 %279, label %289, label %280
280: ; preds = %277
%281 = load i32, ptr %4, align 4
%282 = icmp sge i32 %281, 3
br i1 %282, label %289, label %283
283: ; preds = %280
%284 = load i32, ptr %5, align 4
%285 = icmp slt i32 %284, 0
br i1 %285, label %289, label %286
286: ; preds = %283
%287 = load i32, ptr %5, align 4
%288 = icmp sge i32 %287, 3
br label %289
289: ; preds = %286, %283, %280, %277
%290 = phi i1 [ true, %283 ], [ true, %280 ], [ true, %277 ], [ %288, %286 ]
br i1 %290, label %291, label %295
291: ; preds = %289
%292 = call i32 @printf(ptr noundef @.str.7)
%293 = call i32 @printf(ptr noundef @.str.12)
%294 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %4, ptr noundef %5)
br label %277, !llvm.loop !13
295: ; preds = %289
br label %296
296: ; preds = %295, %273
%297 = load ptr, ptr %10, align 8
%298 = load i32, ptr %4, align 4
%299 = sext i32 %298 to i64
%300 = getelementptr inbounds ptr, ptr %297, i64 %299
%301 = load ptr, ptr %300, align 8
%302 = load i32, ptr %5, align 4
%303 = sext i32 %302 to i64
%304 = getelementptr inbounds i32, ptr %301, i64 %303
%305 = load i32, ptr %304, align 4
%306 = load i32, ptr %9, align 4
%307 = icmp eq i32 %305, %306
br i1 %307, label %320, label %308
308: ; preds = %296
%309 = load ptr, ptr %10, align 8
%310 = load i32, ptr %4, align 4
%311 = sext i32 %310 to i64
%312 = getelementptr inbounds ptr, ptr %309, i64 %311
%313 = load ptr, ptr %312, align 8
%314 = load i32, ptr %5, align 4
%315 = sext i32 %314 to i64
%316 = getelementptr inbounds i32, ptr %313, i64 %315
%317 = load i32, ptr %316, align 4
%318 = load i32, ptr %8, align 4
%319 = icmp eq i32 %317, %318
br i1 %319, label %320, label %352
320: ; preds = %308, %296
br label %321
321: ; preds = %347, %320
%322 = load ptr, ptr %10, align 8
%323 = load i32, ptr %4, align 4
%324 = sext i32 %323 to i64
%325 = getelementptr inbounds ptr, ptr %322, i64 %324
%326 = load ptr, ptr %325, align 8
%327 = load i32, ptr %5, align 4
%328 = sext i32 %327 to i64
%329 = getelementptr inbounds i32, ptr %326, i64 %328
%330 = load i32, ptr %329, align 4
%331 = load i32, ptr %9, align 4
%332 = icmp eq i32 %330, %331
br i1 %332, label %345, label %333
333: ; preds = %321
%334 = load ptr, ptr %10, align 8
%335 = load i32, ptr %4, align 4
%336 = sext i32 %335 to i64
%337 = getelementptr inbounds ptr, ptr %334, i64 %336
%338 = load ptr, ptr %337, align 8
%339 = load i32, ptr %5, align 4
%340 = sext i32 %339 to i64
%341 = getelementptr inbounds i32, ptr %338, i64 %340
%342 = load i32, ptr %341, align 4
%343 = load i32, ptr %8, align 4
%344 = icmp eq i32 %342, %343
br label %345
345: ; preds = %333, %321
%346 = phi i1 [ true, %321 ], [ %344, %333 ]
br i1 %346, label %347, label %351
347: ; preds = %345
%348 = call i32 @printf(ptr noundef @.str.8)
%349 = call i32 @printf(ptr noundef @.str.12)
%350 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %4, ptr noundef %5)
br label %321, !llvm.loop !14
351: ; preds = %345
br label %352
352: ; preds = %351, %308
%353 = load i32, ptr %8, align 4
%354 = load ptr, ptr %10, align 8
%355 = load i32, ptr %4, align 4
%356 = sext i32 %355 to i64
%357 = getelementptr inbounds ptr, ptr %354, i64 %356
%358 = load ptr, ptr %357, align 8
%359 = load i32, ptr %5, align 4
%360 = sext i32 %359 to i64
%361 = getelementptr inbounds i32, ptr %358, i64 %360
store i32 %353, ptr %361, align 4
%362 = load ptr, ptr %10, align 8
%363 = load i32, ptr %8, align 4
%364 = call i32 @check_win(ptr noundef %362, i32 noundef %363)
%365 = icmp eq i32 %364, 1
br i1 %365, label %366, label %370
366: ; preds = %352
%367 = load ptr, ptr %10, align 8
%368 = call i32 @print_board(ptr noundef %367)
%369 = call i32 @printf(ptr noundef @.str.9)
store i32 0, ptr %1, align 4
br label %376
370: ; preds = %352
%371 = load i32, ptr %7, align 4
%372 = sub nsw i32 %371, 1
store i32 %372, ptr %7, align 4
br label %373
373: ; preds = %370, %228
%374 = load i32, ptr %7, align 4
%375 = icmp sge i32 %374, 0
br i1 %375, label %82, label %..loopexit_crit_edge, !llvm.loop !15
..loopexit_crit_edge: ; preds = %373
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %79
br label %376
376: ; preds = %.loopexit, %366, %255, %241, %221, %207, %193
%377 = load i32, ptr %1, align 4
ret i32 %377
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @print_board(ptr noundef) #1
declare i32 @check_win(ptr noundef, i32 noundef) #1
declare i32 @minimax(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
|
; ModuleID = '/tmp/tmphzjx3jhi.c'
source_filename = "/tmp/tmphzjx3jhi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @fmsg(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(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/tmphzjx3jhi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @fmsg(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(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/tmprxmitmoc.c'
source_filename = "/tmp/tmprxmitmoc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%s %d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"Grid\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"Expected Grid, got %s\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [24 x i8] c"Expected id %d, got %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c"strlen(%s) is %zu, should be 9\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @load_puzzle(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [16 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%13 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %11, ptr noundef @.str, ptr noundef %12, ptr noundef %8)
%14 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%15 = call i64 @strcmp(ptr noundef @.str.1, ptr noundef %14)
%16 = icmp ne i64 0, %15
br i1 %16, label %17, label %22
17: ; preds = %3
%18 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %18)
%20 = load i32, ptr @EXIT_FAILURE, align 4
%21 = call i32 @exit(i32 noundef %20) #3
unreachable
22: ; preds = %3
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp ne i32 %23, %24
br i1 %25, label %26, label %32
26: ; preds = %22
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %8, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %27, i32 noundef %28)
%30 = load i32, ptr @EXIT_FAILURE, align 4
%31 = call i32 @exit(i32 noundef %30) #3
unreachable
32: ; preds = %22
store i32 0, ptr %9, align 4
br label %33
33: ; preds = %69, %32
%34 = load i32, ptr %9, align 4
%35 = icmp slt i32 %34, 9
br i1 %35, label %36, label %72
36: ; preds = %33
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%39 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %37, ptr noundef @.str.4, ptr noundef %38)
%40 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%41 = call i32 @strlen(ptr noundef %40)
%42 = icmp ne i32 %41, 9
br i1 %42, label %43, label %50
43: ; preds = %36
%44 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%45 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%46 = call i32 @strlen(ptr noundef %45)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %44, i32 noundef %46)
%48 = load i32, ptr @EXIT_FAILURE, align 4
%49 = call i32 @exit(i32 noundef %48) #3
unreachable
50: ; preds = %36
store i32 0, ptr %10, align 4
br label %51
51: ; preds = %65, %50
%52 = load i32, ptr %10, align 4
%53 = icmp slt i32 %52, 9
br i1 %53, label %54, label %68
54: ; preds = %51
%55 = load ptr, ptr %6, align 8
%56 = load i32, ptr %9, align 4
%57 = load i32, ptr %10, align 4
%58 = load i32, ptr %10, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 %59
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = sub nsw i32 %62, 48
%64 = call i32 @sudoku_put(ptr noundef %55, i32 noundef %56, i32 noundef %57, i32 noundef %63)
br label %65
65: ; preds = %54
%66 = load i32, ptr %10, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %10, align 4
br label %51, !llvm.loop !6
68: ; preds = %51
br label %69
69: ; preds = %68
%70 = load i32, ptr %9, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %9, align 4
br label %33, !llvm.loop !8
72: ; preds = %33
ret void
}
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strlen(ptr noundef) #1
declare i32 @sudoku_put(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprxmitmoc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%s %d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"Grid\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"Expected Grid, got %s\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [24 x i8] c"Expected id %d, got %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c"strlen(%s) is %zu, should be 9\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @load_puzzle(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [16 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%13 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %11, ptr noundef @.str, ptr noundef %12, ptr noundef %8)
%14 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%15 = call i64 @strcmp(ptr noundef @.str.1, ptr noundef %14)
%16 = icmp ne i64 0, %15
br i1 %16, label %17, label %22
17: ; preds = %3
%18 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %18)
%20 = load i32, ptr @EXIT_FAILURE, align 4
%21 = call i32 @exit(i32 noundef %20) #3
unreachable
22: ; preds = %3
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp ne i32 %23, %24
br i1 %25, label %26, label %32
26: ; preds = %22
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %8, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %27, i32 noundef %28)
%30 = load i32, ptr @EXIT_FAILURE, align 4
%31 = call i32 @exit(i32 noundef %30) #3
unreachable
32: ; preds = %22
store i32 0, ptr %9, align 4
%33 = load i32, ptr %9, align 4
%34 = icmp slt i32 %33, 9
br i1 %34, label %.lr.ph2, label %74
.lr.ph2: ; preds = %32
br label %35
35: ; preds = %.lr.ph2, %69
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%38 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %36, ptr noundef @.str.4, ptr noundef %37)
%39 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%40 = call i32 @strlen(ptr noundef %39)
%41 = icmp ne i32 %40, 9
br i1 %41, label %42, label %49
42: ; preds = %35
%43 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%44 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%45 = call i32 @strlen(ptr noundef %44)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %43, i32 noundef %45)
%47 = load i32, ptr @EXIT_FAILURE, align 4
%48 = call i32 @exit(i32 noundef %47) #3
unreachable
49: ; preds = %35
store i32 0, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 9
br i1 %51, label %.lr.ph, label %68
.lr.ph: ; preds = %49
br label %52
52: ; preds = %.lr.ph, %63
%53 = load ptr, ptr %6, align 8
%54 = load i32, ptr %9, align 4
%55 = load i32, ptr %10, align 4
%56 = load i32, ptr %10, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 %57
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = sub nsw i32 %60, 48
%62 = call i32 @sudoku_put(ptr noundef %53, i32 noundef %54, i32 noundef %55, i32 noundef %61)
br label %63
63: ; preds = %52
%64 = load i32, ptr %10, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %10, align 4
%66 = load i32, ptr %10, align 4
%67 = icmp slt i32 %66, 9
br i1 %67, label %52, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %63
br label %68
68: ; preds = %._crit_edge, %49
br label %69
69: ; preds = %68
%70 = load i32, ptr %9, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %9, align 4
%72 = load i32, ptr %9, align 4
%73 = icmp slt i32 %72, 9
br i1 %73, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %69
br label %74
74: ; preds = %._crit_edge3, %32
ret void
}
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strlen(ptr noundef) #1
declare i32 @sudoku_put(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpngq86r6i.c'
source_filename = "/tmp/tmpngq86r6i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @stdlib_base_floorf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @llvm.floor.f32(float %3)
ret float %4
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.floor.f32(float) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpngq86r6i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @stdlib_base_floorf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @llvm.floor.f32(float %3)
ret float %4
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.floor.f32(float) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq3d8ndjb.c'
source_filename = "/tmp/tmpq3d8ndjb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_strpos(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %8, %2
store i32 0, ptr %5, align 4
br label %10
10: ; preds = %31, %9
%11 = load i32, ptr %4, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %10
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br label %18
18: ; preds = %13, %10
%19 = phi i1 [ false, %10 ], [ %17, %13 ]
br i1 %19, label %20, label %38
20: ; preds = %18
%21 = load ptr, ptr %3, align 8
%22 = load i8, ptr %21, align 1
%23 = call i32 @isascii(i8 noundef signext %22)
%24 = icmp ne i32 %23, 0
br i1 %24, label %30, label %25
25: ; preds = %20
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %4, align 4
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %3, align 8
br label %30
30: ; preds = %25, %20
br label %31
31: ; preds = %30
%32 = load i32, ptr %4, align 4
%33 = add nsw i32 %32, -1
store i32 %33, ptr %4, align 4
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %5, align 4
%36 = load ptr, ptr %3, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %3, align 8
br label %10, !llvm.loop !6
38: ; preds = %18
%39 = load i32, ptr %4, align 4
%40 = icmp eq i32 %39, -1
%41 = zext i1 %40 to i32
%42 = load i32, ptr %5, align 4
%43 = sub nsw i32 %42, %41
store i32 %43, ptr %5, align 4
%44 = load i32, ptr %5, align 4
ret i32 %44
}
declare i32 @isascii(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq3d8ndjb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_strpos(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %8, %2
store i32 0, ptr %5, align 4
br label %10
10: ; preds = %31, %9
%11 = load i32, ptr %4, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %10
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br label %18
18: ; preds = %13, %10
%19 = phi i1 [ false, %10 ], [ %17, %13 ]
br i1 %19, label %20, label %38
20: ; preds = %18
%21 = load ptr, ptr %3, align 8
%22 = load i8, ptr %21, align 1
%23 = call i32 @isascii(i8 noundef signext %22)
%24 = icmp ne i32 %23, 0
br i1 %24, label %30, label %25
25: ; preds = %20
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %4, align 4
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %3, align 8
br label %30
30: ; preds = %25, %20
br label %31
31: ; preds = %30
%32 = load i32, ptr %4, align 4
%33 = add nsw i32 %32, -1
store i32 %33, ptr %4, align 4
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %5, align 4
%36 = load ptr, ptr %3, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %3, align 8
br label %10, !llvm.loop !6
38: ; preds = %18
%39 = load i32, ptr %4, align 4
%40 = icmp eq i32 %39, -1
%41 = zext i1 %40 to i32
%42 = load i32, ptr %5, align 4
%43 = sub nsw i32 %42, %41
store i32 %43, ptr %5, align 4
%44 = load i32, ptr %5, align 4
ret i32 %44
}
declare i32 @isascii(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpg5iht9cx.c'
source_filename = "/tmp/tmpg5iht9cx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dlist_root_swap_nodes(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp eq ptr %7, %8
br i1 %9, label %10, label %11
10: ; preds = %2
br label %37
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = call i32 @dlist_root_length(ptr noundef %12)
store i32 %13, ptr %5, align 4
br label %14
14: ; preds = %19, %11
%15 = load ptr, ptr %3, align 8
%16 = call i32 @dlist_root_empty(ptr noundef %15)
%17 = icmp ne i32 %16, 0
%18 = xor i1 %17, true
br i1 %18, label %19, label %24
19: ; preds = %14
%20 = load ptr, ptr %4, align 8
%21 = load ptr, ptr %3, align 8
%22 = call i32 @dlist_root_pop(ptr noundef %21)
%23 = call i32 @dlist_root_append(ptr noundef %20, i32 noundef %22)
br label %14, !llvm.loop !6
24: ; preds = %14
store i32 0, ptr %6, align 4
br label %25
25: ; preds = %34, %24
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %37
29: ; preds = %25
%30 = load ptr, ptr %3, align 8
%31 = load ptr, ptr %4, align 8
%32 = call i32 @dlist_root_pop(ptr noundef %31)
%33 = call i32 @dlist_root_append(ptr noundef %30, i32 noundef %32)
br label %34
34: ; preds = %29
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
br label %25, !llvm.loop !8
37: ; preds = %10, %25
ret void
}
declare i32 @dlist_root_length(ptr noundef) #1
declare i32 @dlist_root_empty(ptr noundef) #1
declare i32 @dlist_root_append(ptr noundef, i32 noundef) #1
declare i32 @dlist_root_pop(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpg5iht9cx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dlist_root_swap_nodes(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp eq ptr %7, %8
br i1 %9, label %10, label %11
10: ; preds = %2
br label %42
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = call i32 @dlist_root_length(ptr noundef %12)
store i32 %13, ptr %5, align 4
%14 = load ptr, ptr %3, align 8
%15 = call i32 @dlist_root_empty(ptr noundef %14)
%16 = icmp ne i32 %15, 0
%17 = xor i1 %16, true
br i1 %17, label %.lr.ph, label %27
.lr.ph: ; preds = %11
br label %18
18: ; preds = %.lr.ph, %18
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %3, align 8
%21 = call i32 @dlist_root_pop(ptr noundef %20)
%22 = call i32 @dlist_root_append(ptr noundef %19, i32 noundef %21)
%23 = load ptr, ptr %3, align 8
%24 = call i32 @dlist_root_empty(ptr noundef %23)
%25 = icmp ne i32 %24, 0
%26 = xor i1 %25, true
br i1 %26, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %27
27: ; preds = %._crit_edge, %11
store i32 0, ptr %6, align 4
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %27
br label %31
31: ; preds = %.lr.ph2, %36
%32 = load ptr, ptr %3, align 8
%33 = load ptr, ptr %4, align 8
%34 = call i32 @dlist_root_pop(ptr noundef %33)
%35 = call i32 @dlist_root_append(ptr noundef %32, i32 noundef %34)
br label %36
36: ; preds = %31
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %6, align 4
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %31, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %36
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %27
br label %42
42: ; preds = %.loopexit, %10
ret void
}
declare i32 @dlist_root_length(ptr noundef) #1
declare i32 @dlist_root_empty(ptr noundef) #1
declare i32 @dlist_root_append(ptr noundef, i32 noundef) #1
declare i32 @dlist_root_pop(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp62p2m2sv.c'
source_filename = "/tmp/tmp62p2m2sv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @text(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = mul i32 %11, 40
%13 = load i32, ptr %5, align 4
%14 = add i32 %12, %13
%15 = mul i32 %14, 2
store i32 %15, ptr %9, align 4
br label %16
16: ; preds = %20, %4
%17 = load ptr, ptr %7, align 8
%18 = load i8, ptr %17, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %20, label %33
20: ; preds = %16
%21 = load i32, ptr %8, align 4
%22 = shl i32 %21, 8
%23 = load ptr, ptr %7, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %7, align 8
%25 = load i8, ptr %23, align 1
%26 = sext i8 %25 to i32
%27 = or i32 %22, %26
store i32 %27, ptr %10, align 4
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %10, align 4
%30 = call i32 @poke(i32 noundef 47104, i32 noundef %28, i32 noundef %29)
%31 = load i32, ptr %9, align 4
%32 = add i32 %31, 2
store i32 %32, ptr %9, align 4
br label %16, !llvm.loop !6
33: ; preds = %16
ret void
}
declare i32 @poke(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/tmp62p2m2sv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @text(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = mul i32 %11, 40
%13 = load i32, ptr %5, align 4
%14 = add i32 %12, %13
%15 = mul i32 %14, 2
store i32 %15, ptr %9, align 4
%16 = load ptr, ptr %7, align 8
%17 = load i8, ptr %16, align 1
%18 = icmp ne i8 %17, 0
br i1 %18, label %.lr.ph, label %35
.lr.ph: ; preds = %4
br label %19
19: ; preds = %.lr.ph, %19
%20 = load i32, ptr %8, align 4
%21 = shl i32 %20, 8
%22 = load ptr, ptr %7, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %7, align 8
%24 = load i8, ptr %22, align 1
%25 = sext i8 %24 to i32
%26 = or i32 %21, %25
store i32 %26, ptr %10, align 4
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %10, align 4
%29 = call i32 @poke(i32 noundef 47104, i32 noundef %27, i32 noundef %28)
%30 = load i32, ptr %9, align 4
%31 = add i32 %30, 2
store i32 %31, ptr %9, align 4
%32 = load ptr, ptr %7, align 8
%33 = load i8, ptr %32, align 1
%34 = icmp ne i8 %33, 0
br i1 %34, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %35
35: ; preds = %._crit_edge, %4
ret void
}
declare i32 @poke(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 = '/tmp/tmpzcsb_ttm.c'
source_filename = "/tmp/tmpzcsb_ttm.c"
target datalayout = "e-m:e-p270: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/tmpzcsb_ttm.c"
target datalayout = "e-m:e-p270: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/tmp2tbd3gld.c'
source_filename = "/tmp/tmp2tbd3gld.c"
target datalayout = "e-m:e-p270: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/tmp2tbd3gld.c"
target datalayout = "e-m:e-p270: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/tmp2xw8bwhb.c'
source_filename = "/tmp/tmp2xw8bwhb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eImpar(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %11
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = sub nsw i32 %8, 1
%10 = call i32 @ePar(i32 noundef %9)
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %7, %6
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i32 @ePar(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/tmp2xw8bwhb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eImpar(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %11
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = sub nsw i32 %8, 1
%10 = call i32 @ePar(i32 noundef %9)
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %7, %6
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i32 @ePar(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/tmpdcmteigw.c'
source_filename = "/tmp/tmpdcmteigw.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdcmteigw.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqo2vksvy.c'
source_filename = "/tmp/tmpqo2vksvy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"Ten \00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"Eleven \00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"Twelve \00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"Thirteen \00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"Fourteen \00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"Fifteen \00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"Sixteen \00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"Seventeen \00", align 1
@.str.8 = private unnamed_addr constant [10 x i8] c"Eighteen \00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"Ninteen \00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"Twenty \00", align 1
@.str.11 = private unnamed_addr constant [8 x i8] c"Thirty \00", align 1
@.str.12 = private unnamed_addr constant [8 x i8] c"Fourty \00", align 1
@.str.13 = private unnamed_addr constant [7 x i8] c"Fifty \00", align 1
@.str.14 = private unnamed_addr constant [7 x i8] c"Sixty \00", align 1
@.str.15 = private unnamed_addr constant [9 x i8] c"Seventy \00", align 1
@.str.16 = private unnamed_addr constant [8 x i8] c"Eighty \00", align 1
@.str.17 = private unnamed_addr constant [7 x i8] c"Ninty \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_tens(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
switch i32 %5, label %64 [
i32 0, label %6
i32 1, label %9
i32 2, label %32
i32 3, label %36
i32 4, label %40
i32 5, label %44
i32 6, label %48
i32 7, label %52
i32 8, label %56
i32 9, label %60
]
6: ; preds = %2
%7 = load i32, ptr %4, align 4
%8 = call i32 @print_ones(i32 noundef %7)
br label %64
9: ; preds = %2
%10 = load i32, ptr %4, align 4
switch i32 %10, label %31 [
i32 0, label %11
i32 1, label %13
i32 2, label %15
i32 3, label %17
i32 4, label %19
i32 5, label %21
i32 6, label %23
i32 7, label %25
i32 8, label %27
i32 9, label %29
]
11: ; preds = %9
%12 = call i32 @printf(ptr noundef @.str)
br label %31
13: ; preds = %9
%14 = call i32 @printf(ptr noundef @.str.1)
br label %31
15: ; preds = %9
%16 = call i32 @printf(ptr noundef @.str.2)
br label %31
17: ; preds = %9
%18 = call i32 @printf(ptr noundef @.str.3)
br label %31
19: ; preds = %9
%20 = call i32 @printf(ptr noundef @.str.4)
br label %31
21: ; preds = %9
%22 = call i32 @printf(ptr noundef @.str.5)
br label %31
23: ; preds = %9
%24 = call i32 @printf(ptr noundef @.str.6)
br label %31
25: ; preds = %9
%26 = call i32 @printf(ptr noundef @.str.7)
br label %31
27: ; preds = %9
%28 = call i32 @printf(ptr noundef @.str.8)
br label %31
29: ; preds = %9
%30 = call i32 @printf(ptr noundef @.str.9)
br label %31
31: ; preds = %29, %9, %27, %25, %23, %21, %19, %17, %15, %13, %11
br label %64
32: ; preds = %2
%33 = call i32 @printf(ptr noundef @.str.10)
%34 = load i32, ptr %4, align 4
%35 = call i32 @print_ones(i32 noundef %34)
br label %64
36: ; preds = %2
%37 = call i32 @printf(ptr noundef @.str.11)
%38 = load i32, ptr %4, align 4
%39 = call i32 @print_ones(i32 noundef %38)
br label %64
40: ; preds = %2
%41 = call i32 @printf(ptr noundef @.str.12)
%42 = load i32, ptr %4, align 4
%43 = call i32 @print_ones(i32 noundef %42)
br label %64
44: ; preds = %2
%45 = call i32 @printf(ptr noundef @.str.13)
%46 = load i32, ptr %4, align 4
%47 = call i32 @print_ones(i32 noundef %46)
br label %64
48: ; preds = %2
%49 = call i32 @printf(ptr noundef @.str.14)
%50 = load i32, ptr %4, align 4
%51 = call i32 @print_ones(i32 noundef %50)
br label %64
52: ; preds = %2
%53 = call i32 @printf(ptr noundef @.str.15)
%54 = load i32, ptr %4, align 4
%55 = call i32 @print_ones(i32 noundef %54)
br label %64
56: ; preds = %2
%57 = call i32 @printf(ptr noundef @.str.16)
%58 = load i32, ptr %4, align 4
%59 = call i32 @print_ones(i32 noundef %58)
br label %64
60: ; preds = %2
%61 = call i32 @printf(ptr noundef @.str.17)
%62 = load i32, ptr %4, align 4
%63 = call i32 @print_ones(i32 noundef %62)
br label %64
64: ; preds = %60, %2, %56, %52, %48, %44, %40, %36, %32, %31, %6
ret void
}
declare i32 @print_ones(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqo2vksvy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"Ten \00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"Eleven \00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"Twelve \00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"Thirteen \00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"Fourteen \00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"Fifteen \00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"Sixteen \00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"Seventeen \00", align 1
@.str.8 = private unnamed_addr constant [10 x i8] c"Eighteen \00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"Ninteen \00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"Twenty \00", align 1
@.str.11 = private unnamed_addr constant [8 x i8] c"Thirty \00", align 1
@.str.12 = private unnamed_addr constant [8 x i8] c"Fourty \00", align 1
@.str.13 = private unnamed_addr constant [7 x i8] c"Fifty \00", align 1
@.str.14 = private unnamed_addr constant [7 x i8] c"Sixty \00", align 1
@.str.15 = private unnamed_addr constant [9 x i8] c"Seventy \00", align 1
@.str.16 = private unnamed_addr constant [8 x i8] c"Eighty \00", align 1
@.str.17 = private unnamed_addr constant [7 x i8] c"Ninty \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_tens(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
switch i32 %5, label %64 [
i32 0, label %6
i32 1, label %9
i32 2, label %32
i32 3, label %36
i32 4, label %40
i32 5, label %44
i32 6, label %48
i32 7, label %52
i32 8, label %56
i32 9, label %60
]
6: ; preds = %2
%7 = load i32, ptr %4, align 4
%8 = call i32 @print_ones(i32 noundef %7)
br label %64
9: ; preds = %2
%10 = load i32, ptr %4, align 4
switch i32 %10, label %31 [
i32 0, label %11
i32 1, label %13
i32 2, label %15
i32 3, label %17
i32 4, label %19
i32 5, label %21
i32 6, label %23
i32 7, label %25
i32 8, label %27
i32 9, label %29
]
11: ; preds = %9
%12 = call i32 @printf(ptr noundef @.str)
br label %31
13: ; preds = %9
%14 = call i32 @printf(ptr noundef @.str.1)
br label %31
15: ; preds = %9
%16 = call i32 @printf(ptr noundef @.str.2)
br label %31
17: ; preds = %9
%18 = call i32 @printf(ptr noundef @.str.3)
br label %31
19: ; preds = %9
%20 = call i32 @printf(ptr noundef @.str.4)
br label %31
21: ; preds = %9
%22 = call i32 @printf(ptr noundef @.str.5)
br label %31
23: ; preds = %9
%24 = call i32 @printf(ptr noundef @.str.6)
br label %31
25: ; preds = %9
%26 = call i32 @printf(ptr noundef @.str.7)
br label %31
27: ; preds = %9
%28 = call i32 @printf(ptr noundef @.str.8)
br label %31
29: ; preds = %9
%30 = call i32 @printf(ptr noundef @.str.9)
br label %31
31: ; preds = %29, %27, %25, %23, %21, %19, %17, %15, %13, %11, %9
br label %64
32: ; preds = %2
%33 = call i32 @printf(ptr noundef @.str.10)
%34 = load i32, ptr %4, align 4
%35 = call i32 @print_ones(i32 noundef %34)
br label %64
36: ; preds = %2
%37 = call i32 @printf(ptr noundef @.str.11)
%38 = load i32, ptr %4, align 4
%39 = call i32 @print_ones(i32 noundef %38)
br label %64
40: ; preds = %2
%41 = call i32 @printf(ptr noundef @.str.12)
%42 = load i32, ptr %4, align 4
%43 = call i32 @print_ones(i32 noundef %42)
br label %64
44: ; preds = %2
%45 = call i32 @printf(ptr noundef @.str.13)
%46 = load i32, ptr %4, align 4
%47 = call i32 @print_ones(i32 noundef %46)
br label %64
48: ; preds = %2
%49 = call i32 @printf(ptr noundef @.str.14)
%50 = load i32, ptr %4, align 4
%51 = call i32 @print_ones(i32 noundef %50)
br label %64
52: ; preds = %2
%53 = call i32 @printf(ptr noundef @.str.15)
%54 = load i32, ptr %4, align 4
%55 = call i32 @print_ones(i32 noundef %54)
br label %64
56: ; preds = %2
%57 = call i32 @printf(ptr noundef @.str.16)
%58 = load i32, ptr %4, align 4
%59 = call i32 @print_ones(i32 noundef %58)
br label %64
60: ; preds = %2
%61 = call i32 @printf(ptr noundef @.str.17)
%62 = load i32, ptr %4, align 4
%63 = call i32 @print_ones(i32 noundef %62)
br label %64
64: ; preds = %60, %56, %52, %48, %44, %40, %36, %32, %31, %6, %2
ret void
}
declare i32 @print_ones(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprtlnnoi3.c'
source_filename = "/tmp/tmprtlnnoi3.c"
target datalayout = "e-m:e-p270: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/tmprtlnnoi3.c"
target datalayout = "e-m:e-p270: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/tmpyxmlax8x.c'
source_filename = "/tmp/tmpyxmlax8x.c"
target datalayout = "e-m:e-p270: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_BITMAP_8_BY_13 = dso_local global i32 0, align 4
@GL_COLOR_BUFFER_BIT = 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/tmpyxmlax8x.c"
target datalayout = "e-m:e-p270: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_BITMAP_8_BY_13 = dso_local global i32 0, align 4
@GL_COLOR_BUFFER_BIT = 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/tmpac5cxxc6.c'
source_filename = "/tmp/tmpac5cxxc6.c"
target datalayout = "e-m:e-p270: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/tmpac5cxxc6.c"
target datalayout = "e-m:e-p270: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/tmp3ojwk7p3.c'
source_filename = "/tmp/tmp3ojwk7p3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c",\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @imagesFromFile(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca [100 x i8], align 16
%14 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%15 = load ptr, ptr %6, align 8
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str)
store ptr %16, ptr %12, align 8
%17 = load ptr, ptr %12, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %4
store i32 1, ptr %5, align 4
br label %64
20: ; preds = %4
store ptr null, ptr %14, align 8
store i32 0, ptr %10, align 4
br label %21
21: ; preds = %60, %20
%22 = load i32, ptr %10, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %30
25: ; preds = %21
%26 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0
%27 = load ptr, ptr %12, align 8
%28 = call ptr @fgets(ptr noundef %26, i32 noundef 100, ptr noundef %27)
%29 = icmp ne ptr %28, null
br label %30
30: ; preds = %25, %21
%31 = phi i1 [ false, %21 ], [ %29, %25 ]
br i1 %31, label %32, label %63
32: ; preds = %30
%33 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0
%34 = call ptr @strtok(ptr noundef %33, ptr noundef @.str.1)
store ptr %34, ptr %14, align 8
store i32 0, ptr %11, align 4
br label %35
35: ; preds = %56, %32
%36 = load i32, ptr %11, align 4
%37 = load i32, ptr %9, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %42
39: ; preds = %35
%40 = load ptr, ptr %14, align 8
%41 = icmp ne ptr %40, null
br label %42
42: ; preds = %39, %35
%43 = phi i1 [ false, %35 ], [ %41, %39 ]
br i1 %43, label %44, label %59
44: ; preds = %42
%45 = load ptr, ptr %14, align 8
%46 = call double @atof(ptr noundef %45)
%47 = load ptr, ptr %7, align 8
%48 = load i32, ptr %10, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds ptr, ptr %47, i64 %49
%51 = load ptr, ptr %50, align 8
%52 = load i32, ptr %11, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds double, ptr %51, i64 %53
store double %46, ptr %54, align 8
%55 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1)
store ptr %55, ptr %14, align 8
br label %56
56: ; preds = %44
%57 = load i32, ptr %11, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %11, align 4
br label %35, !llvm.loop !6
59: ; preds = %42
br label %60
60: ; preds = %59
%61 = load i32, ptr %10, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %10, align 4
br label %21, !llvm.loop !8
63: ; preds = %30
store i32 0, ptr %5, align 4
br label %64
64: ; preds = %63, %19
%65 = load i32, ptr %5, align 4
ret i32 %65
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare double @atof(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp3ojwk7p3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c",\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @imagesFromFile(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca [100 x i8], align 16
%14 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%15 = load ptr, ptr %6, align 8
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str)
store ptr %16, ptr %12, align 8
%17 = load ptr, ptr %12, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %4
store i32 1, ptr %5, align 4
br label %64
20: ; preds = %4
store ptr null, ptr %14, align 8
store i32 0, ptr %10, align 4
br label %21
21: ; preds = %60, %20
%22 = load i32, ptr %10, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %30
25: ; preds = %21
%26 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0
%27 = load ptr, ptr %12, align 8
%28 = call ptr @fgets(ptr noundef %26, i32 noundef 100, ptr noundef %27)
%29 = icmp ne ptr %28, null
br label %30
30: ; preds = %25, %21
%31 = phi i1 [ false, %21 ], [ %29, %25 ]
br i1 %31, label %32, label %63
32: ; preds = %30
%33 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0
%34 = call ptr @strtok(ptr noundef %33, ptr noundef @.str.1)
store ptr %34, ptr %14, align 8
store i32 0, ptr %11, align 4
br label %35
35: ; preds = %56, %32
%36 = load i32, ptr %11, align 4
%37 = load i32, ptr %9, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %42
39: ; preds = %35
%40 = load ptr, ptr %14, align 8
%41 = icmp ne ptr %40, null
br label %42
42: ; preds = %39, %35
%43 = phi i1 [ false, %35 ], [ %41, %39 ]
br i1 %43, label %44, label %59
44: ; preds = %42
%45 = load ptr, ptr %14, align 8
%46 = call double @atof(ptr noundef %45)
%47 = load ptr, ptr %7, align 8
%48 = load i32, ptr %10, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds ptr, ptr %47, i64 %49
%51 = load ptr, ptr %50, align 8
%52 = load i32, ptr %11, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds double, ptr %51, i64 %53
store double %46, ptr %54, align 8
%55 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1)
store ptr %55, ptr %14, align 8
br label %56
56: ; preds = %44
%57 = load i32, ptr %11, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %11, align 4
br label %35, !llvm.loop !6
59: ; preds = %42
br label %60
60: ; preds = %59
%61 = load i32, ptr %10, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %10, align 4
br label %21, !llvm.loop !8
63: ; preds = %30
store i32 0, ptr %5, align 4
br label %64
64: ; preds = %63, %19
%65 = load i32, ptr %5, align 4
ret i32 %65
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare double @atof(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp_lqhs26y.c'
source_filename = "/tmp/tmp_lqhs26y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_copy_object(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = getelementptr i8, ptr %7, i64 8
store ptr %8, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = getelementptr i8, ptr %9, i64 8
store ptr %10, ptr %5, align 8
%11 = load i64, ptr %6, align 8
%12 = sub i64 %11, 8
store i64 %12, ptr %6, align 8
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %5, align 8
%15 = load i64, ptr %6, align 8
%16 = call i32 @memcpy(ptr noundef %13, ptr noundef %14, i64 noundef %15)
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_lqhs26y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_copy_object(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = getelementptr i8, ptr %7, i64 8
store ptr %8, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = getelementptr i8, ptr %9, i64 8
store ptr %10, ptr %5, align 8
%11 = load i64, ptr %6, align 8
%12 = sub i64 %11, 8
store i64 %12, ptr %6, align 8
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %5, align 8
%15 = load i64, ptr %6, align 8
%16 = call i32 @memcpy(ptr noundef %13, ptr noundef %14, i64 noundef %15)
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplp8hb5vq.c'
source_filename = "/tmp/tmplp8hb5vq.c"
target datalayout = "e-m:e-p270: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/tmplp8hb5vq.c"
target datalayout = "e-m:e-p270: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/tmpcadiw4bh.c'
source_filename = "/tmp/tmpcadiw4bh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u(b%03u\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c",%u,%u)\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"_AT24Cxx_Write iDoRemoteFunc ret = %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @_ucRcAT24Cxx_Write(ptr noundef %0, i8 noundef zeroext %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store i32 %2, ptr %7, align 4
%11 = call ptr @malloc(i32 noundef 512)
store ptr %11, ptr %10, align 8
%12 = load ptr, ptr %10, align 8
%13 = load i32, ptr %7, align 4
%14 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str, i8 noundef zeroext -24, i32 noundef %13)
store i32 %14, ptr %8, align 4
%15 = load ptr, ptr %10, align 8
%16 = load i32, ptr %8, align 4
%17 = zext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %7, align 4
%21 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i32 noundef %20)
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %8, align 4
%24 = add i32 %23, %22
store i32 %24, ptr %8, align 4
%25 = load ptr, ptr %10, align 8
%26 = load i32, ptr %8, align 4
%27 = zext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %6, align 1
%30 = load i32, ptr %7, align 4
%31 = call i32 @sprintf(ptr noundef %28, ptr noundef @.str.1, i8 noundef zeroext %29, i32 noundef %30)
%32 = load i32, ptr %8, align 4
%33 = add i32 %32, %31
store i32 %33, ptr %8, align 4
%34 = load ptr, ptr %10, align 8
%35 = load i32, ptr %8, align 4
%36 = call i32 @iDoRemoteFunc(ptr noundef %34, i32 noundef %35, i32 noundef 10)
store i32 %36, ptr %9, align 4
%37 = load ptr, ptr %10, align 8
%38 = call i32 @free(ptr noundef %37)
%39 = load i32, ptr %9, align 4
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %3
%42 = load i32, ptr %9, align 4
%43 = call i32 @vWriteLogTxt(ptr noundef @.str.2, i32 noundef %42)
store i8 1, ptr %4, align 1
br label %46
44: ; preds = %3
%45 = call zeroext i8 @iGetParaInt(i32 noundef 0)
store i8 %45, ptr %4, align 1
br label %46
46: ; preds = %44, %41
%47 = load i8, ptr %4, align 1
ret i8 %47
}
declare ptr @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @iDoRemoteFunc(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @vWriteLogTxt(ptr noundef, i32 noundef) #1
declare zeroext i8 @iGetParaInt(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/tmpcadiw4bh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u(b%03u\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c",%u,%u)\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"_AT24Cxx_Write iDoRemoteFunc ret = %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @_ucRcAT24Cxx_Write(ptr noundef %0, i8 noundef zeroext %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store i32 %2, ptr %7, align 4
%11 = call ptr @malloc(i32 noundef 512)
store ptr %11, ptr %10, align 8
%12 = load ptr, ptr %10, align 8
%13 = load i32, ptr %7, align 4
%14 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str, i8 noundef zeroext -24, i32 noundef %13)
store i32 %14, ptr %8, align 4
%15 = load ptr, ptr %10, align 8
%16 = load i32, ptr %8, align 4
%17 = zext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %7, align 4
%21 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i32 noundef %20)
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %8, align 4
%24 = add i32 %23, %22
store i32 %24, ptr %8, align 4
%25 = load ptr, ptr %10, align 8
%26 = load i32, ptr %8, align 4
%27 = zext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %6, align 1
%30 = load i32, ptr %7, align 4
%31 = call i32 @sprintf(ptr noundef %28, ptr noundef @.str.1, i8 noundef zeroext %29, i32 noundef %30)
%32 = load i32, ptr %8, align 4
%33 = add i32 %32, %31
store i32 %33, ptr %8, align 4
%34 = load ptr, ptr %10, align 8
%35 = load i32, ptr %8, align 4
%36 = call i32 @iDoRemoteFunc(ptr noundef %34, i32 noundef %35, i32 noundef 10)
store i32 %36, ptr %9, align 4
%37 = load ptr, ptr %10, align 8
%38 = call i32 @free(ptr noundef %37)
%39 = load i32, ptr %9, align 4
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %3
%42 = load i32, ptr %9, align 4
%43 = call i32 @vWriteLogTxt(ptr noundef @.str.2, i32 noundef %42)
store i8 1, ptr %4, align 1
br label %46
44: ; preds = %3
%45 = call zeroext i8 @iGetParaInt(i32 noundef 0)
store i8 %45, ptr %4, align 1
br label %46
46: ; preds = %44, %41
%47 = load i8, ptr %4, align 1
ret i8 %47
}
declare ptr @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @iDoRemoteFunc(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @vWriteLogTxt(ptr noundef, i32 noundef) #1
declare zeroext i8 @iGetParaInt(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/tmp1p_8l9tg.c'
source_filename = "/tmp/tmp1p_8l9tg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 -50, ptr %7, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %7, align 4
%11 = add nsw i32 %9, %10
store i32 %11, ptr %8, align 4
br label %12
12: ; preds = %18, %2
%13 = load i32, ptr %6, align 4
%14 = icmp sle i32 %13, 100
br i1 %14, label %15, label %26
15: ; preds = %12
%16 = load i32, ptr %8, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
br label %18
18: ; preds = %15
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %23, %24
store i32 %25, ptr %8, align 4
br label %12, !llvm.loop !6
26: ; preds = %12
%27 = load i32, ptr %3, align 4
ret i32 %27
}
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/tmp1p_8l9tg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 -50, ptr %7, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %7, align 4
%11 = add nsw i32 %9, %10
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp sle i32 %12, 100
br i1 %13, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %17
%15 = load i32, ptr %8, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %14
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %22, %23
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp sle i32 %25, 100
br i1 %26, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %27
27: ; preds = %._crit_edge, %2
%28 = load i32, ptr %3, align 4
ret i32 %28
}
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/tmplgpk4avb.c'
source_filename = "/tmp/tmplgpk4avb.c"
target datalayout = "e-m:e-p270: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/tmplgpk4avb.c"
target datalayout = "e-m:e-p270: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/tmp4d44hzdx.c'
source_filename = "/tmp/tmp4d44hzdx.c"
target datalayout = "e-m:e-p270: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/tmp4d44hzdx.c"
target datalayout = "e-m:e-p270: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/tmpxa6trzas.c'
source_filename = "/tmp/tmpxa6trzas.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"String '%s' symbol '%c'\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Input string:\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Input char: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [50 x i8] c"Symbol '%c' occurs %d time(s) in getting string.\0A\00", align 1
@.str.5 = private unnamed_addr constant [37 x i8] c"Getting string has vovel letter(s).\0A\00", align 1
@.str.6 = private unnamed_addr constant [46 x i8] c"Getting string doesn't have vovel letter(s).\0A\00", align 1
@.str.7 = private unnamed_addr constant [33 x i8] c"The most frequent vowel is not.\0A\00", align 1
@.str.8 = private unnamed_addr constant [46 x i8] c"The most frequent vowel in a string is '%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 i8, align 1
%7 = alloca [80 x i8], align 16
%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 sgt i32 %9, 2
br i1 %10, label %11, label %24
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %8, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 2
%17 = load ptr, ptr %16, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
%19 = load i8, ptr %18, align 1
store i8 %19, ptr %6, align 1
%20 = load ptr, ptr %8, align 8
%21 = load i8, ptr %6, align 1
%22 = sext i8 %21 to i32
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %20, i32 noundef %22)
br label %31
24: ; preds = %2
%25 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0
store ptr %25, ptr %8, align 8
%26 = call i32 @puts(ptr noundef @.str.1)
%27 = load ptr, ptr %8, align 8
%28 = call i32 @gets(ptr noundef %27)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%30 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %6)
br label %31
31: ; preds = %24, %11
%32 = load i8, ptr %6, align 1
%33 = sext i8 %32 to i32
%34 = load ptr, ptr %8, align 8
%35 = load i8, ptr %6, align 1
%36 = call i32 @countChr(ptr noundef %34, i8 noundef signext %35)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %33, i32 noundef %36)
%38 = load ptr, ptr %8, align 8
%39 = call i64 @isVovelInStr(ptr noundef %38)
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %31
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %45
43: ; preds = %31
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %45
45: ; preds = %43, %41
%46 = load ptr, ptr %8, align 8
%47 = call signext i8 @mostFrequentVowel(ptr noundef %46)
store i8 %47, ptr %6, align 1
%48 = load i8, ptr %6, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %53
51: ; preds = %45
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %57
53: ; preds = %45
%54 = load i8, ptr %6, align 1
%55 = sext i8 %54 to i32
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %55)
br label %57
57: ; preds = %53, %51
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @puts(ptr noundef) #1
declare i32 @gets(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @countChr(ptr noundef, i8 noundef signext) #1
declare i64 @isVovelInStr(ptr noundef) #1
declare signext i8 @mostFrequentVowel(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxa6trzas.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"String '%s' symbol '%c'\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Input string:\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Input char: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [50 x i8] c"Symbol '%c' occurs %d time(s) in getting string.\0A\00", align 1
@.str.5 = private unnamed_addr constant [37 x i8] c"Getting string has vovel letter(s).\0A\00", align 1
@.str.6 = private unnamed_addr constant [46 x i8] c"Getting string doesn't have vovel letter(s).\0A\00", align 1
@.str.7 = private unnamed_addr constant [33 x i8] c"The most frequent vowel is not.\0A\00", align 1
@.str.8 = private unnamed_addr constant [46 x i8] c"The most frequent vowel in a string is '%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 i8, align 1
%7 = alloca [80 x i8], align 16
%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 sgt i32 %9, 2
br i1 %10, label %11, label %24
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %8, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 2
%17 = load ptr, ptr %16, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
%19 = load i8, ptr %18, align 1
store i8 %19, ptr %6, align 1
%20 = load ptr, ptr %8, align 8
%21 = load i8, ptr %6, align 1
%22 = sext i8 %21 to i32
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %20, i32 noundef %22)
br label %31
24: ; preds = %2
%25 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0
store ptr %25, ptr %8, align 8
%26 = call i32 @puts(ptr noundef @.str.1)
%27 = load ptr, ptr %8, align 8
%28 = call i32 @gets(ptr noundef %27)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%30 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %6)
br label %31
31: ; preds = %24, %11
%32 = load i8, ptr %6, align 1
%33 = sext i8 %32 to i32
%34 = load ptr, ptr %8, align 8
%35 = load i8, ptr %6, align 1
%36 = call i32 @countChr(ptr noundef %34, i8 noundef signext %35)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %33, i32 noundef %36)
%38 = load ptr, ptr %8, align 8
%39 = call i64 @isVovelInStr(ptr noundef %38)
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %31
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %45
43: ; preds = %31
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %45
45: ; preds = %43, %41
%46 = load ptr, ptr %8, align 8
%47 = call signext i8 @mostFrequentVowel(ptr noundef %46)
store i8 %47, ptr %6, align 1
%48 = load i8, ptr %6, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %53
51: ; preds = %45
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %57
53: ; preds = %45
%54 = load i8, ptr %6, align 1
%55 = sext i8 %54 to i32
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %55)
br label %57
57: ; preds = %53, %51
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @puts(ptr noundef) #1
declare i32 @gets(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @countChr(ptr noundef, i8 noundef signext) #1
declare i64 @isVovelInStr(ptr noundef) #1
declare signext i8 @mostFrequentVowel(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy_enexee.c'
source_filename = "/tmp/tmpy_enexee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_valid_integer(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 sgt i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 4000
br label %8
8: ; preds = %5, %1
%9 = phi i1 [ false, %1 ], [ %7, %5 ]
%10 = zext i1 %9 to i32
ret i32 %10
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy_enexee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_valid_integer(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 sgt i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 4000
br label %8
8: ; preds = %5, %1
%9 = phi i1 [ false, %1 ], [ %7, %5 ]
%10 = zext i1 %9 to i32
ret i32 %10
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp55mpt5_8.c'
source_filename = "/tmp/tmp55mpt5_8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32 }
%struct.ifreq = type { i32, ptr }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"ens33\00", align 1
@IFNAMSIZ = dso_local global i32 0, align 4
@SIOCGIFADDR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"ioctl\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_ip() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca %struct.sockaddr_in, align 4
%4 = alloca %struct.ifreq, align 8
%5 = load i32, ptr @AF_INET, align 4
%6 = load i32, ptr @SOCK_DGRAM, align 4
%7 = call i32 @socket(i32 noundef %5, i32 noundef %6, i32 noundef 0)
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 @perror(ptr noundef @.str)
store ptr null, ptr %1, align 8
br label %41
12: ; preds = %0
%13 = getelementptr inbounds %struct.ifreq, ptr %4, i32 0, i32 1
%14 = load ptr, ptr %13, align 8
%15 = load i32, ptr @IFNAMSIZ, align 4
%16 = call i32 @strncpy(ptr noundef %14, ptr noundef @.str.1, i32 noundef %15)
%17 = getelementptr inbounds %struct.ifreq, ptr %4, i32 0, i32 1
%18 = load ptr, ptr %17, align 8
%19 = load i32, ptr @IFNAMSIZ, align 4
%20 = sub nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i64, ptr %18, i64 %21
store i64 0, ptr %22, align 8
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr @SIOCGIFADDR, align 4
%25 = call i64 @ioctl(i32 noundef %23, i32 noundef %24, ptr noundef %4)
%26 = icmp slt i64 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %12
%28 = call i32 @perror(ptr noundef @.str.2)
store ptr null, ptr %1, align 8
br label %41
29: ; preds = %12
%30 = getelementptr inbounds %struct.ifreq, ptr %4, i32 0, i32 0
%31 = call i32 @memcpy(ptr noundef %3, ptr noundef %30, i32 noundef 4)
%32 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0
%33 = load i32, ptr %32, align 4
%34 = call ptr @inet_ntoa(i32 noundef %33)
%35 = icmp ne ptr %34, null
br i1 %35, label %36, label %40
36: ; preds = %29
%37 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0
%38 = load i32, ptr %37, align 4
%39 = call ptr @inet_ntoa(i32 noundef %38)
store ptr %39, ptr %1, align 8
br label %41
40: ; preds = %29
store ptr @.str.3, ptr %1, align 8
br label %41
41: ; preds = %40, %36, %27, %10
%42 = load ptr, ptr %1, align 8
ret ptr %42
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @inet_ntoa(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/tmp55mpt5_8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32 }
%struct.ifreq = type { i32, ptr }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"ens33\00", align 1
@IFNAMSIZ = dso_local global i32 0, align 4
@SIOCGIFADDR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"ioctl\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_ip() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca %struct.sockaddr_in, align 4
%4 = alloca %struct.ifreq, align 8
%5 = load i32, ptr @AF_INET, align 4
%6 = load i32, ptr @SOCK_DGRAM, align 4
%7 = call i32 @socket(i32 noundef %5, i32 noundef %6, i32 noundef 0)
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 @perror(ptr noundef @.str)
store ptr null, ptr %1, align 8
br label %41
12: ; preds = %0
%13 = getelementptr inbounds %struct.ifreq, ptr %4, i32 0, i32 1
%14 = load ptr, ptr %13, align 8
%15 = load i32, ptr @IFNAMSIZ, align 4
%16 = call i32 @strncpy(ptr noundef %14, ptr noundef @.str.1, i32 noundef %15)
%17 = getelementptr inbounds %struct.ifreq, ptr %4, i32 0, i32 1
%18 = load ptr, ptr %17, align 8
%19 = load i32, ptr @IFNAMSIZ, align 4
%20 = sub nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i64, ptr %18, i64 %21
store i64 0, ptr %22, align 8
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr @SIOCGIFADDR, align 4
%25 = call i64 @ioctl(i32 noundef %23, i32 noundef %24, ptr noundef %4)
%26 = icmp slt i64 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %12
%28 = call i32 @perror(ptr noundef @.str.2)
store ptr null, ptr %1, align 8
br label %41
29: ; preds = %12
%30 = getelementptr inbounds %struct.ifreq, ptr %4, i32 0, i32 0
%31 = call i32 @memcpy(ptr noundef %3, ptr noundef %30, i32 noundef 4)
%32 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0
%33 = load i32, ptr %32, align 4
%34 = call ptr @inet_ntoa(i32 noundef %33)
%35 = icmp ne ptr %34, null
br i1 %35, label %36, label %40
36: ; preds = %29
%37 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0
%38 = load i32, ptr %37, align 4
%39 = call ptr @inet_ntoa(i32 noundef %38)
store ptr %39, ptr %1, align 8
br label %41
40: ; preds = %29
store ptr @.str.3, ptr %1, align 8
br label %41
41: ; preds = %40, %36, %27, %10
%42 = load ptr, ptr %1, align 8
ret ptr %42
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @inet_ntoa(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.