llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpekotzgwv.c'
source_filename = "/tmp/tmpekotzgwv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [45 x i8] c"asterisk -rx \22module reload librtp-comcerto\22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @libamg_comcerto_rtp_reload() #0 {
%1 = call i32 @system(ptr noundef @.str)
ret i32 %1
}
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpekotzgwv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [45 x i8] c"asterisk -rx \22module reload librtp-comcerto\22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @libamg_comcerto_rtp_reload() #0 {
%1 = call i32 @system(ptr noundef @.str)
ret i32 %1
}
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp20p4iw7x.c'
source_filename = "/tmp/tmp20p4iw7x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.semiPrimesQ = private unnamed_addr constant [201 x i32] [i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 1, i32 0, i32 0, i32 0, i32 1, i32 0, i32 0, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 1, i32 0, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 0, i32 0, i32 1, i32 1, i32 1, i32 0, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 0, i32 1, i32 1, i32 1, i32 1, i32 0, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 0, i32 1, i32 1, i32 1, i32 0, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 0, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1], align 16
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"YES\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"NO\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [201 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.semiPrimesQ, i64 804, i1 false)
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %21, %0
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %24
11: ; preds = %7
%12 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [201 x i32], ptr %2, i64 0, i64 %14
%16 = load i32, ptr %15, align 4
%17 = icmp ne i32 %16, 0
%18 = zext i1 %17 to i64
%19 = select i1 %17, ptr @.str.2, ptr @.str.3
%20 = call i32 @printf(ptr noundef @.str.1, ptr noundef %19)
br label %21
21: ; preds = %11
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %7, !llvm.loop !6
24: ; preds = %7
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @printf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp20p4iw7x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.semiPrimesQ = private unnamed_addr constant [201 x i32] [i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 1, i32 0, i32 0, i32 0, i32 1, i32 0, i32 0, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 1, i32 0, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 0, i32 0, i32 1, i32 1, i32 1, i32 0, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 0, i32 1, i32 1, i32 1, i32 1, i32 0, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 0, i32 1, i32 1, i32 1, i32 0, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 0, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1], align 16
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"YES\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"NO\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [201 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.semiPrimesQ, i64 804, i1 false)
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %20
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [201 x i32], ptr %2, i64 0, i64 %13
%15 = load i32, ptr %14, align 4
%16 = icmp ne i32 %15, 0
%17 = zext i1 %16 to i64
%18 = select i1 %16, ptr @.str.2, ptr @.str.3
%19 = call i32 @printf(ptr noundef @.str.1, ptr noundef %18)
br label %20
20: ; preds = %10
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %0
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @printf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2mjo2dgk.c'
source_filename = "/tmp/tmp2mjo2dgk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @header()
%3 = call i32 (...) @main_float()
%4 = call i32 (...) @main_double()
%5 = load i32, ptr @stdout, align 4
%6 = call i64 @ferror(i32 noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %0
%9 = load i32, ptr @stdout, align 4
%10 = call i64 @fclose(i32 noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8, %0
store i32 1, ptr %1, align 4
br label %14
13: ; preds = %8
store i32 0, ptr %1, align 4
br label %14
14: ; preds = %13, %12
%15 = load i32, ptr %1, align 4
ret i32 %15
}
declare i32 @header(...) #1
declare i32 @main_float(...) #1
declare i32 @main_double(...) #1
declare i64 @ferror(i32 noundef) #1
declare i64 @fclose(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/tmp2mjo2dgk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @header()
%3 = call i32 (...) @main_float()
%4 = call i32 (...) @main_double()
%5 = load i32, ptr @stdout, align 4
%6 = call i64 @ferror(i32 noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %0
%9 = load i32, ptr @stdout, align 4
%10 = call i64 @fclose(i32 noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8, %0
store i32 1, ptr %1, align 4
br label %14
13: ; preds = %8
store i32 0, ptr %1, align 4
br label %14
14: ; preds = %13, %12
%15 = load i32, ptr %1, align 4
ret i32 %15
}
declare i32 @header(...) #1
declare i32 @main_float(...) #1
declare i32 @main_double(...) #1
declare i64 @ferror(i32 noundef) #1
declare i64 @fclose(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/tmp7hk91ccc.c'
source_filename = "/tmp/tmp7hk91ccc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rDictionaryLarger(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 0, ptr %3, align 4
br label %42
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %11
store i32 1, ptr %3, align 4
br label %42
17: ; preds = %11
br label %18
18: ; preds = %17
%19 = load ptr, ptr %5, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = load ptr, ptr %4, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp sgt i32 %21, %24
br i1 %25, label %26, label %27
26: ; preds = %18
store i32 1, ptr %3, align 4
br label %42
27: ; preds = %18
%28 = load ptr, ptr %5, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = load ptr, ptr %4, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp slt i32 %30, %33
br i1 %34, label %35, label %36
35: ; preds = %27
store i32 0, ptr %3, align 4
br label %42
36: ; preds = %27
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 1
%41 = call i32 @rDictionaryLarger(ptr noundef %38, ptr noundef %40)
store i32 %41, ptr %3, align 4
br label %42
42: ; preds = %36, %35, %26, %16, %10
%43 = load i32, ptr %3, align 4
ret i32 %43
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7hk91ccc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rDictionaryLarger(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 0, ptr %3, align 4
br label %42
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %11
store i32 1, ptr %3, align 4
br label %42
17: ; preds = %11
br label %18
18: ; preds = %17
%19 = load ptr, ptr %5, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = load ptr, ptr %4, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp sgt i32 %21, %24
br i1 %25, label %26, label %27
26: ; preds = %18
store i32 1, ptr %3, align 4
br label %42
27: ; preds = %18
%28 = load ptr, ptr %5, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = load ptr, ptr %4, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp slt i32 %30, %33
br i1 %34, label %35, label %36
35: ; preds = %27
store i32 0, ptr %3, align 4
br label %42
36: ; preds = %27
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 1
%41 = call i32 @rDictionaryLarger(ptr noundef %38, ptr noundef %40)
store i32 %41, ptr %3, align 4
br label %42
42: ; preds = %36, %35, %26, %16, %10
%43 = load i32, ptr %3, align 4
ret i32 %43
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw5mnvdos.c'
source_filename = "/tmp/tmpw5mnvdos.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" *dest=tmp%s;\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c" dest++;\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Save(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw5mnvdos.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" *dest=tmp%s;\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c" dest++;\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Save(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfsihfcmr.c'
source_filename = "/tmp/tmpfsihfcmr.c"
target datalayout = "e-m:e-p270: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/tmpfsihfcmr.c"
target datalayout = "e-m:e-p270: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/tmpl532jmfr.c'
source_filename = "/tmp/tmpl532jmfr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_islower.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"islower should be 0 for 2\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_islower_0x32() #0 {
%1 = call i64 @islower(i32 noundef 50)
%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 255, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @islower(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/tmpl532jmfr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_islower.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"islower should be 0 for 2\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_islower_0x32() #0 {
%1 = call i64 @islower(i32 noundef 50)
%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 255, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @islower(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/tmp6mh6kie3.c'
source_filename = "/tmp/tmp6mh6kie3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @exit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @syscall(i32 noundef 93, i32 noundef %3, i32 noundef 0, i32 noundef 0)
br label %5
5: ; preds = %1, %5
br label %5
}
declare i32 @syscall(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6mh6kie3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @exit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @syscall(i32 noundef 93, i32 noundef %3, i32 noundef 0, i32 noundef 0)
br label %5
5: ; preds = %5, %1
br label %5
}
declare i32 @syscall(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1eycmbxy.c'
source_filename = "/tmp/tmp1eycmbxy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENODEV = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @close(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 @ENODEV, align 4
store i32 %4, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1eycmbxy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENODEV = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @close(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 @ENODEV, align 4
store i32 %4, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfnzx3h9o.c'
source_filename = "/tmp/tmpfnzx3h9o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scale(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #0 {
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
store i32 %0, ptr %10, align 4
store ptr %1, ptr %11, align 8
store i32 %2, ptr %12, align 4
store ptr %3, ptr %13, align 8
store i32 %4, ptr %14, align 4
store i32 %5, ptr %15, align 4
store i32 %6, ptr %16, align 4
store i32 %7, ptr %17, align 4
store i32 %8, ptr %18, align 4
%19 = load i32, ptr %10, align 4
switch i32 %19, label %70 [
i32 202, label %20
i32 2, label %20
i32 203, label %30
i32 204, label %40
i32 303, label %50
i32 3, label %50
i32 404, label %60
i32 4, label %60
]
20: ; preds = %9, %9
%21 = load ptr, ptr %11, align 8
%22 = load i32, ptr %12, align 4
%23 = load ptr, ptr %13, align 8
%24 = load i32, ptr %14, align 4
%25 = load i32, ptr %15, align 4
%26 = load i32, ptr %16, align 4
%27 = load i32, ptr %17, align 4
%28 = load i32, ptr %18, align 4
%29 = call i32 @scale2x(ptr noundef %21, i32 noundef %22, ptr noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28)
br label %70
30: ; preds = %9
%31 = load ptr, ptr %11, align 8
%32 = load i32, ptr %12, align 4
%33 = load ptr, ptr %13, align 8
%34 = load i32, ptr %14, align 4
%35 = load i32, ptr %15, align 4
%36 = load i32, ptr %16, align 4
%37 = load i32, ptr %17, align 4
%38 = load i32, ptr %18, align 4
%39 = call i32 @scale2x3(ptr noundef %31, i32 noundef %32, ptr noundef %33, i32 noundef %34, i32 noundef %35, i32 noundef %36, i32 noundef %37, i32 noundef %38)
br label %70
40: ; preds = %9
%41 = load ptr, ptr %11, align 8
%42 = load i32, ptr %12, align 4
%43 = load ptr, ptr %13, align 8
%44 = load i32, ptr %14, align 4
%45 = load i32, ptr %15, align 4
%46 = load i32, ptr %16, align 4
%47 = load i32, ptr %17, align 4
%48 = load i32, ptr %18, align 4
%49 = call i32 @scale2x4(ptr noundef %41, i32 noundef %42, ptr noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %48)
br label %70
50: ; preds = %9, %9
%51 = load ptr, ptr %11, align 8
%52 = load i32, ptr %12, align 4
%53 = load ptr, ptr %13, align 8
%54 = load i32, ptr %14, align 4
%55 = load i32, ptr %15, align 4
%56 = load i32, ptr %16, align 4
%57 = load i32, ptr %17, align 4
%58 = load i32, ptr %18, align 4
%59 = call i32 @scale3x(ptr noundef %51, i32 noundef %52, ptr noundef %53, i32 noundef %54, i32 noundef %55, i32 noundef %56, i32 noundef %57, i32 noundef %58)
br label %70
60: ; preds = %9, %9
%61 = load ptr, ptr %11, align 8
%62 = load i32, ptr %12, align 4
%63 = load ptr, ptr %13, align 8
%64 = load i32, ptr %14, align 4
%65 = load i32, ptr %15, align 4
%66 = load i32, ptr %16, align 4
%67 = load i32, ptr %17, align 4
%68 = load i32, ptr %18, align 4
%69 = call i32 @scale4x(ptr noundef %61, i32 noundef %62, ptr noundef %63, i32 noundef %64, i32 noundef %65, i32 noundef %66, i32 noundef %67, i32 noundef %68)
br label %70
70: ; preds = %9, %60, %50, %40, %30, %20
ret void
}
declare i32 @scale2x(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @scale2x3(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @scale2x4(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @scale3x(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @scale4x(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfnzx3h9o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scale(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #0 {
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
store i32 %0, ptr %10, align 4
store ptr %1, ptr %11, align 8
store i32 %2, ptr %12, align 4
store ptr %3, ptr %13, align 8
store i32 %4, ptr %14, align 4
store i32 %5, ptr %15, align 4
store i32 %6, ptr %16, align 4
store i32 %7, ptr %17, align 4
store i32 %8, ptr %18, align 4
%19 = load i32, ptr %10, align 4
switch i32 %19, label %70 [
i32 202, label %20
i32 2, label %20
i32 203, label %30
i32 204, label %40
i32 303, label %50
i32 3, label %50
i32 404, label %60
i32 4, label %60
]
20: ; preds = %9, %9
%21 = load ptr, ptr %11, align 8
%22 = load i32, ptr %12, align 4
%23 = load ptr, ptr %13, align 8
%24 = load i32, ptr %14, align 4
%25 = load i32, ptr %15, align 4
%26 = load i32, ptr %16, align 4
%27 = load i32, ptr %17, align 4
%28 = load i32, ptr %18, align 4
%29 = call i32 @scale2x(ptr noundef %21, i32 noundef %22, ptr noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28)
br label %70
30: ; preds = %9
%31 = load ptr, ptr %11, align 8
%32 = load i32, ptr %12, align 4
%33 = load ptr, ptr %13, align 8
%34 = load i32, ptr %14, align 4
%35 = load i32, ptr %15, align 4
%36 = load i32, ptr %16, align 4
%37 = load i32, ptr %17, align 4
%38 = load i32, ptr %18, align 4
%39 = call i32 @scale2x3(ptr noundef %31, i32 noundef %32, ptr noundef %33, i32 noundef %34, i32 noundef %35, i32 noundef %36, i32 noundef %37, i32 noundef %38)
br label %70
40: ; preds = %9
%41 = load ptr, ptr %11, align 8
%42 = load i32, ptr %12, align 4
%43 = load ptr, ptr %13, align 8
%44 = load i32, ptr %14, align 4
%45 = load i32, ptr %15, align 4
%46 = load i32, ptr %16, align 4
%47 = load i32, ptr %17, align 4
%48 = load i32, ptr %18, align 4
%49 = call i32 @scale2x4(ptr noundef %41, i32 noundef %42, ptr noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %48)
br label %70
50: ; preds = %9, %9
%51 = load ptr, ptr %11, align 8
%52 = load i32, ptr %12, align 4
%53 = load ptr, ptr %13, align 8
%54 = load i32, ptr %14, align 4
%55 = load i32, ptr %15, align 4
%56 = load i32, ptr %16, align 4
%57 = load i32, ptr %17, align 4
%58 = load i32, ptr %18, align 4
%59 = call i32 @scale3x(ptr noundef %51, i32 noundef %52, ptr noundef %53, i32 noundef %54, i32 noundef %55, i32 noundef %56, i32 noundef %57, i32 noundef %58)
br label %70
60: ; preds = %9, %9
%61 = load ptr, ptr %11, align 8
%62 = load i32, ptr %12, align 4
%63 = load ptr, ptr %13, align 8
%64 = load i32, ptr %14, align 4
%65 = load i32, ptr %15, align 4
%66 = load i32, ptr %16, align 4
%67 = load i32, ptr %17, align 4
%68 = load i32, ptr %18, align 4
%69 = call i32 @scale4x(ptr noundef %61, i32 noundef %62, ptr noundef %63, i32 noundef %64, i32 noundef %65, i32 noundef %66, i32 noundef %67, i32 noundef %68)
br label %70
70: ; preds = %60, %50, %40, %30, %20, %9
ret void
}
declare i32 @scale2x(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @scale2x3(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @scale2x4(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @scale3x(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @scale4x(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptr_pe07c.c'
source_filename = "/tmp/tmptr_pe07c.c"
target datalayout = "e-m:e-p270: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 [21 x i8] c"Not an argument: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_arg(ptr noundef %0, i8 noundef signext %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 45
br i1 %12, label %13, label %18
13: ; preds = %3
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %5, align 8
%16 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %15)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %3
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 1
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 45
br i1 %23, label %24, label %33
24: ; preds = %18
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 1
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = load i8, ptr %6, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %28, %30
br i1 %31, label %32, label %33
32: ; preds = %24
store i32 1, ptr %4, align 4
br label %42
33: ; preds = %24, %18
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 2
%36 = load ptr, ptr %7, align 8
%37 = call i32 @strcmp(ptr noundef %35, ptr noundef %36)
%38 = icmp ne i32 %37, 0
br i1 %38, label %40, label %39
39: ; preds = %33
store i32 1, ptr %4, align 4
br label %42
40: ; preds = %33
br label %41
41: ; preds = %40
store i32 0, ptr %4, align 4
br label %42
42: ; preds = %41, %39, %32
%43 = load i32, ptr %4, align 4
ret i32 %43
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
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" }
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/tmptr_pe07c.c"
target datalayout = "e-m:e-p270: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 [21 x i8] c"Not an argument: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_arg(ptr noundef %0, i8 noundef signext %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 45
br i1 %12, label %13, label %18
13: ; preds = %3
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %5, align 8
%16 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %15)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %3
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 1
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 45
br i1 %23, label %24, label %33
24: ; preds = %18
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 1
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = load i8, ptr %6, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %28, %30
br i1 %31, label %32, label %33
32: ; preds = %24
store i32 1, ptr %4, align 4
br label %42
33: ; preds = %24, %18
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 2
%36 = load ptr, ptr %7, align 8
%37 = call i32 @strcmp(ptr noundef %35, ptr noundef %36)
%38 = icmp ne i32 %37, 0
br i1 %38, label %40, label %39
39: ; preds = %33
store i32 1, ptr %4, align 4
br label %42
40: ; preds = %33
br label %41
41: ; preds = %40
store i32 0, ptr %4, align 4
br label %42
42: ; preds = %41, %39, %32
%43 = load i32, ptr %4, align 4
ret i32 %43
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
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" }
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/tmpx3c_rour.c'
source_filename = "/tmp/tmpx3c_rour.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wctype(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @__infer_nondet_int()
ret i32 %3
}
declare i32 @__infer_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx3c_rour.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wctype(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @__infer_nondet_int()
ret i32 %3
}
declare i32 @__infer_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaidr9zx6.c'
source_filename = "/tmp/tmpaidr9zx6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [15 x i8], align 1
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 1, ptr %6, align 4
store i32 2, ptr %7, align 4
store i32 3, ptr %8, align 4
store i32 4, ptr %9, align 4
store i32 5, ptr %10, align 4
store i32 9, ptr %11, align 4
store i32 10, ptr %12, align 4
store i32 49, ptr %13, align 4
store i32 50, ptr %14, align 4
store i32 99, ptr %15, align 4
store i32 100, ptr %16, align 4
%17 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%18 = call i32 @scanf(ptr noundef @.str, ptr noundef %17)
%19 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%20 = call i32 @strlen(ptr noundef %19)
store i32 %20, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %21
21: ; preds = %283, %0
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %25, label %286
25: ; preds = %21
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 73
br i1 %31, label %32, label %52
32: ; preds = %25
%33 = load i32, ptr %4, align 4
%34 = sub nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 73
br i1 %39, label %40, label %52
40: ; preds = %32
%41 = load i32, ptr %4, align 4
%42 = add nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %52
48: ; preds = %40
%49 = load i32, ptr %5, align 4
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %49, %50
store i32 %51, ptr %5, align 4
br label %52
52: ; preds = %48, %40, %32, %25
%53 = load i32, ptr %4, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 73
br i1 %58, label %59, label %87
59: ; preds = %52
%60 = load i32, ptr %4, align 4
%61 = sub nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %62
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp ne i32 %65, 73
br i1 %66, label %67, label %87
67: ; preds = %59
%68 = load i32, ptr %4, align 4
%69 = add nsw i32 %68, 1
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %70
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp eq i32 %73, 73
br i1 %74, label %75, label %87
75: ; preds = %67
%76 = load i32, ptr %4, align 4
%77 = add nsw i32 %76, 2
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %78
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %87
83: ; preds = %75
%84 = load i32, ptr %5, align 4
%85 = load i32, ptr %7, align 4
%86 = add nsw i32 %84, %85
store i32 %86, ptr %5, align 4
br label %87
87: ; preds = %83, %75, %67, %59, %52
%88 = load i32, ptr %4, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %89
%91 = load i8, ptr %90, align 1
%92 = sext i8 %91 to i32
%93 = icmp eq i32 %92, 73
br i1 %93, label %94, label %130
94: ; preds = %87
%95 = load i32, ptr %4, align 4
%96 = sub nsw i32 %95, 1
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %97
%99 = load i8, ptr %98, align 1
%100 = sext i8 %99 to i32
%101 = icmp ne i32 %100, 73
br i1 %101, label %102, label %130
102: ; preds = %94
%103 = load i32, ptr %4, align 4
%104 = add nsw i32 %103, 1
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %105
%107 = load i8, ptr %106, align 1
%108 = sext i8 %107 to i32
%109 = icmp eq i32 %108, 73
br i1 %109, label %110, label %130
110: ; preds = %102
%111 = load i32, ptr %4, align 4
%112 = add nsw i32 %111, 2
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %113
%115 = load i8, ptr %114, align 1
%116 = sext i8 %115 to i32
%117 = icmp eq i32 %116, 73
br i1 %117, label %118, label %130
118: ; preds = %110
%119 = load i32, ptr %4, align 4
%120 = add nsw i32 %119, 3
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %121
%123 = load i8, ptr %122, align 1
%124 = sext i8 %123 to i32
%125 = icmp eq i32 %124, 0
br i1 %125, label %126, label %130
126: ; preds = %118
%127 = load i32, ptr %5, align 4
%128 = load i32, ptr %8, align 4
%129 = add nsw i32 %127, %128
store i32 %129, ptr %5, align 4
br label %130
130: ; preds = %126, %118, %110, %102, %94, %87
%131 = load i32, ptr %4, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %132
%134 = load i8, ptr %133, align 1
%135 = sext i8 %134 to i32
%136 = icmp eq i32 %135, 86
br i1 %136, label %137, label %149
137: ; preds = %130
%138 = load i32, ptr %4, align 4
%139 = sub nsw i32 %138, 1
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %140
%142 = load i8, ptr %141, align 1
%143 = sext i8 %142 to i32
%144 = icmp ne i32 %143, 73
br i1 %144, label %145, label %149
145: ; preds = %137
%146 = load i32, ptr %5, align 4
%147 = load i32, ptr %10, align 4
%148 = add nsw i32 %146, %147
store i32 %148, ptr %5, align 4
br label %149
149: ; preds = %145, %137, %130
%150 = load i32, ptr %4, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %151
%153 = load i8, ptr %152, align 1
%154 = sext i8 %153 to i32
%155 = icmp eq i32 %154, 86
br i1 %155, label %156, label %168
156: ; preds = %149
%157 = load i32, ptr %4, align 4
%158 = sub nsw i32 %157, 1
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %159
%161 = load i8, ptr %160, align 1
%162 = sext i8 %161 to i32
%163 = icmp eq i32 %162, 73
br i1 %163, label %164, label %168
164: ; preds = %156
%165 = load i32, ptr %5, align 4
%166 = load i32, ptr %9, align 4
%167 = add nsw i32 %165, %166
store i32 %167, ptr %5, align 4
br label %168
168: ; preds = %164, %156, %149
%169 = load i32, ptr %4, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %170
%172 = load i8, ptr %171, align 1
%173 = sext i8 %172 to i32
%174 = icmp eq i32 %173, 88
br i1 %174, label %175, label %187
175: ; preds = %168
%176 = load i32, ptr %4, align 4
%177 = sub nsw i32 %176, 1
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %178
%180 = load i8, ptr %179, align 1
%181 = sext i8 %180 to i32
%182 = icmp ne i32 %181, 73
br i1 %182, label %183, label %187
183: ; preds = %175
%184 = load i32, ptr %5, align 4
%185 = load i32, ptr %12, align 4
%186 = add nsw i32 %184, %185
store i32 %186, ptr %5, align 4
br label %187
187: ; preds = %183, %175, %168
%188 = load i32, ptr %4, align 4
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %189
%191 = load i8, ptr %190, align 1
%192 = sext i8 %191 to i32
%193 = icmp eq i32 %192, 88
br i1 %193, label %194, label %206
194: ; preds = %187
%195 = load i32, ptr %4, align 4
%196 = sub nsw i32 %195, 1
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %197
%199 = load i8, ptr %198, align 1
%200 = sext i8 %199 to i32
%201 = icmp eq i32 %200, 73
br i1 %201, label %202, label %206
202: ; preds = %194
%203 = load i32, ptr %5, align 4
%204 = load i32, ptr %11, align 4
%205 = add nsw i32 %203, %204
store i32 %205, ptr %5, align 4
br label %206
206: ; preds = %202, %194, %187
%207 = load i32, ptr %4, align 4
%208 = sext i32 %207 to i64
%209 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %208
%210 = load i8, ptr %209, align 1
%211 = sext i8 %210 to i32
%212 = icmp eq i32 %211, 76
br i1 %212, label %213, label %225
213: ; preds = %206
%214 = load i32, ptr %4, align 4
%215 = sub nsw i32 %214, 1
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %216
%218 = load i8, ptr %217, align 1
%219 = sext i8 %218 to i32
%220 = icmp ne i32 %219, 73
br i1 %220, label %221, label %225
221: ; preds = %213
%222 = load i32, ptr %5, align 4
%223 = load i32, ptr %14, align 4
%224 = add nsw i32 %222, %223
store i32 %224, ptr %5, align 4
br label %225
225: ; preds = %221, %213, %206
%226 = load i32, ptr %4, align 4
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %227
%229 = load i8, ptr %228, align 1
%230 = sext i8 %229 to i32
%231 = icmp eq i32 %230, 76
br i1 %231, label %232, label %244
232: ; preds = %225
%233 = load i32, ptr %4, align 4
%234 = sub nsw i32 %233, 1
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %235
%237 = load i8, ptr %236, align 1
%238 = sext i8 %237 to i32
%239 = icmp eq i32 %238, 73
br i1 %239, label %240, label %244
240: ; preds = %232
%241 = load i32, ptr %5, align 4
%242 = load i32, ptr %13, align 4
%243 = add nsw i32 %241, %242
store i32 %243, ptr %5, align 4
br label %244
244: ; preds = %240, %232, %225
%245 = load i32, ptr %4, align 4
%246 = sext i32 %245 to i64
%247 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %246
%248 = load i8, ptr %247, align 1
%249 = sext i8 %248 to i32
%250 = icmp eq i32 %249, 67
br i1 %250, label %251, label %263
251: ; preds = %244
%252 = load i32, ptr %4, align 4
%253 = sub nsw i32 %252, 1
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %254
%256 = load i8, ptr %255, align 1
%257 = sext i8 %256 to i32
%258 = icmp ne i32 %257, 73
br i1 %258, label %259, label %263
259: ; preds = %251
%260 = load i32, ptr %5, align 4
%261 = load i32, ptr %16, align 4
%262 = add nsw i32 %260, %261
store i32 %262, ptr %5, align 4
br label %263
263: ; preds = %259, %251, %244
%264 = load i32, ptr %4, align 4
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %265
%267 = load i8, ptr %266, align 1
%268 = sext i8 %267 to i32
%269 = icmp eq i32 %268, 67
br i1 %269, label %270, label %282
270: ; preds = %263
%271 = load i32, ptr %4, align 4
%272 = sub nsw i32 %271, 1
%273 = sext i32 %272 to i64
%274 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %273
%275 = load i8, ptr %274, align 1
%276 = sext i8 %275 to i32
%277 = icmp eq i32 %276, 73
br i1 %277, label %278, label %282
278: ; preds = %270
%279 = load i32, ptr %5, align 4
%280 = load i32, ptr %15, align 4
%281 = add nsw i32 %279, %280
store i32 %281, ptr %5, align 4
br label %282
282: ; preds = %278, %270, %263
br label %283
283: ; preds = %282
%284 = load i32, ptr %4, align 4
%285 = add nsw i32 %284, 1
store i32 %285, ptr %4, align 4
br label %21, !llvm.loop !6
286: ; preds = %21
%287 = load i32, ptr %5, align 4
%288 = call i32 @printf(ptr noundef @.str.1, i32 noundef %287)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaidr9zx6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [15 x i8], align 1
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 1, ptr %6, align 4
store i32 2, ptr %7, align 4
store i32 3, ptr %8, align 4
store i32 4, ptr %9, align 4
store i32 5, ptr %10, align 4
store i32 9, ptr %11, align 4
store i32 10, ptr %12, align 4
store i32 49, ptr %13, align 4
store i32 50, ptr %14, align 4
store i32 99, ptr %15, align 4
store i32 100, ptr %16, align 4
%17 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%18 = call i32 @scanf(ptr noundef @.str, ptr noundef %17)
%19 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 0
%20 = call i32 @strlen(ptr noundef %19)
store i32 %20, ptr %3, align 4
store i32 0, ptr %4, align 4
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %.lr.ph, label %288
.lr.ph: ; preds = %0
br label %24
24: ; preds = %.lr.ph, %282
%25 = load i32, ptr %4, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 73
br i1 %30, label %31, label %51
31: ; preds = %24
%32 = load i32, ptr %4, align 4
%33 = sub nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 73
br i1 %38, label %39, label %51
39: ; preds = %31
%40 = load i32, ptr %4, align 4
%41 = add nsw i32 %40, 1
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %51
47: ; preds = %39
%48 = load i32, ptr %5, align 4
%49 = load i32, ptr %6, align 4
%50 = add nsw i32 %48, %49
store i32 %50, ptr %5, align 4
br label %51
51: ; preds = %47, %39, %31, %24
%52 = load i32, ptr %4, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %53
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 73
br i1 %57, label %58, label %86
58: ; preds = %51
%59 = load i32, ptr %4, align 4
%60 = sub nsw i32 %59, 1
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp ne i32 %64, 73
br i1 %65, label %66, label %86
66: ; preds = %58
%67 = load i32, ptr %4, align 4
%68 = add nsw i32 %67, 1
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 73
br i1 %73, label %74, label %86
74: ; preds = %66
%75 = load i32, ptr %4, align 4
%76 = add nsw i32 %75, 2
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %77
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = icmp eq i32 %80, 0
br i1 %81, label %82, label %86
82: ; preds = %74
%83 = load i32, ptr %5, align 4
%84 = load i32, ptr %7, align 4
%85 = add nsw i32 %83, %84
store i32 %85, ptr %5, align 4
br label %86
86: ; preds = %82, %74, %66, %58, %51
%87 = load i32, ptr %4, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %88
%90 = load i8, ptr %89, align 1
%91 = sext i8 %90 to i32
%92 = icmp eq i32 %91, 73
br i1 %92, label %93, label %129
93: ; preds = %86
%94 = load i32, ptr %4, align 4
%95 = sub nsw i32 %94, 1
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %96
%98 = load i8, ptr %97, align 1
%99 = sext i8 %98 to i32
%100 = icmp ne i32 %99, 73
br i1 %100, label %101, label %129
101: ; preds = %93
%102 = load i32, ptr %4, align 4
%103 = add nsw i32 %102, 1
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %104
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp eq i32 %107, 73
br i1 %108, label %109, label %129
109: ; preds = %101
%110 = load i32, ptr %4, align 4
%111 = add nsw i32 %110, 2
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %112
%114 = load i8, ptr %113, align 1
%115 = sext i8 %114 to i32
%116 = icmp eq i32 %115, 73
br i1 %116, label %117, label %129
117: ; preds = %109
%118 = load i32, ptr %4, align 4
%119 = add nsw i32 %118, 3
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %120
%122 = load i8, ptr %121, align 1
%123 = sext i8 %122 to i32
%124 = icmp eq i32 %123, 0
br i1 %124, label %125, label %129
125: ; preds = %117
%126 = load i32, ptr %5, align 4
%127 = load i32, ptr %8, align 4
%128 = add nsw i32 %126, %127
store i32 %128, ptr %5, align 4
br label %129
129: ; preds = %125, %117, %109, %101, %93, %86
%130 = load i32, ptr %4, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %131
%133 = load i8, ptr %132, align 1
%134 = sext i8 %133 to i32
%135 = icmp eq i32 %134, 86
br i1 %135, label %136, label %148
136: ; preds = %129
%137 = load i32, ptr %4, align 4
%138 = sub nsw i32 %137, 1
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %139
%141 = load i8, ptr %140, align 1
%142 = sext i8 %141 to i32
%143 = icmp ne i32 %142, 73
br i1 %143, label %144, label %148
144: ; preds = %136
%145 = load i32, ptr %5, align 4
%146 = load i32, ptr %10, align 4
%147 = add nsw i32 %145, %146
store i32 %147, ptr %5, align 4
br label %148
148: ; preds = %144, %136, %129
%149 = load i32, ptr %4, align 4
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %150
%152 = load i8, ptr %151, align 1
%153 = sext i8 %152 to i32
%154 = icmp eq i32 %153, 86
br i1 %154, label %155, label %167
155: ; preds = %148
%156 = load i32, ptr %4, align 4
%157 = sub nsw i32 %156, 1
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %158
%160 = load i8, ptr %159, align 1
%161 = sext i8 %160 to i32
%162 = icmp eq i32 %161, 73
br i1 %162, label %163, label %167
163: ; preds = %155
%164 = load i32, ptr %5, align 4
%165 = load i32, ptr %9, align 4
%166 = add nsw i32 %164, %165
store i32 %166, ptr %5, align 4
br label %167
167: ; preds = %163, %155, %148
%168 = load i32, ptr %4, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %169
%171 = load i8, ptr %170, align 1
%172 = sext i8 %171 to i32
%173 = icmp eq i32 %172, 88
br i1 %173, label %174, label %186
174: ; preds = %167
%175 = load i32, ptr %4, align 4
%176 = sub nsw i32 %175, 1
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %177
%179 = load i8, ptr %178, align 1
%180 = sext i8 %179 to i32
%181 = icmp ne i32 %180, 73
br i1 %181, label %182, label %186
182: ; preds = %174
%183 = load i32, ptr %5, align 4
%184 = load i32, ptr %12, align 4
%185 = add nsw i32 %183, %184
store i32 %185, ptr %5, align 4
br label %186
186: ; preds = %182, %174, %167
%187 = load i32, ptr %4, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %188
%190 = load i8, ptr %189, align 1
%191 = sext i8 %190 to i32
%192 = icmp eq i32 %191, 88
br i1 %192, label %193, label %205
193: ; preds = %186
%194 = load i32, ptr %4, align 4
%195 = sub nsw i32 %194, 1
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %196
%198 = load i8, ptr %197, align 1
%199 = sext i8 %198 to i32
%200 = icmp eq i32 %199, 73
br i1 %200, label %201, label %205
201: ; preds = %193
%202 = load i32, ptr %5, align 4
%203 = load i32, ptr %11, align 4
%204 = add nsw i32 %202, %203
store i32 %204, ptr %5, align 4
br label %205
205: ; preds = %201, %193, %186
%206 = load i32, ptr %4, align 4
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %207
%209 = load i8, ptr %208, align 1
%210 = sext i8 %209 to i32
%211 = icmp eq i32 %210, 76
br i1 %211, label %212, label %224
212: ; preds = %205
%213 = load i32, ptr %4, align 4
%214 = sub nsw i32 %213, 1
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %215
%217 = load i8, ptr %216, align 1
%218 = sext i8 %217 to i32
%219 = icmp ne i32 %218, 73
br i1 %219, label %220, label %224
220: ; preds = %212
%221 = load i32, ptr %5, align 4
%222 = load i32, ptr %14, align 4
%223 = add nsw i32 %221, %222
store i32 %223, ptr %5, align 4
br label %224
224: ; preds = %220, %212, %205
%225 = load i32, ptr %4, align 4
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %226
%228 = load i8, ptr %227, align 1
%229 = sext i8 %228 to i32
%230 = icmp eq i32 %229, 76
br i1 %230, label %231, label %243
231: ; preds = %224
%232 = load i32, ptr %4, align 4
%233 = sub nsw i32 %232, 1
%234 = sext i32 %233 to i64
%235 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %234
%236 = load i8, ptr %235, align 1
%237 = sext i8 %236 to i32
%238 = icmp eq i32 %237, 73
br i1 %238, label %239, label %243
239: ; preds = %231
%240 = load i32, ptr %5, align 4
%241 = load i32, ptr %13, align 4
%242 = add nsw i32 %240, %241
store i32 %242, ptr %5, align 4
br label %243
243: ; preds = %239, %231, %224
%244 = load i32, ptr %4, align 4
%245 = sext i32 %244 to i64
%246 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %245
%247 = load i8, ptr %246, align 1
%248 = sext i8 %247 to i32
%249 = icmp eq i32 %248, 67
br i1 %249, label %250, label %262
250: ; preds = %243
%251 = load i32, ptr %4, align 4
%252 = sub nsw i32 %251, 1
%253 = sext i32 %252 to i64
%254 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %253
%255 = load i8, ptr %254, align 1
%256 = sext i8 %255 to i32
%257 = icmp ne i32 %256, 73
br i1 %257, label %258, label %262
258: ; preds = %250
%259 = load i32, ptr %5, align 4
%260 = load i32, ptr %16, align 4
%261 = add nsw i32 %259, %260
store i32 %261, ptr %5, align 4
br label %262
262: ; preds = %258, %250, %243
%263 = load i32, ptr %4, align 4
%264 = sext i32 %263 to i64
%265 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %264
%266 = load i8, ptr %265, align 1
%267 = sext i8 %266 to i32
%268 = icmp eq i32 %267, 67
br i1 %268, label %269, label %281
269: ; preds = %262
%270 = load i32, ptr %4, align 4
%271 = sub nsw i32 %270, 1
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds [15 x i8], ptr %2, i64 0, i64 %272
%274 = load i8, ptr %273, align 1
%275 = sext i8 %274 to i32
%276 = icmp eq i32 %275, 73
br i1 %276, label %277, label %281
277: ; preds = %269
%278 = load i32, ptr %5, align 4
%279 = load i32, ptr %15, align 4
%280 = add nsw i32 %278, %279
store i32 %280, ptr %5, align 4
br label %281
281: ; preds = %277, %269, %262
br label %282
282: ; preds = %281
%283 = load i32, ptr %4, align 4
%284 = add nsw i32 %283, 1
store i32 %284, ptr %4, align 4
%285 = load i32, ptr %4, align 4
%286 = load i32, ptr %3, align 4
%287 = icmp sle i32 %285, %286
br i1 %287, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %282
br label %288
288: ; preds = %._crit_edge, %0
%289 = load i32, ptr %5, align 4
%290 = call i32 @printf(ptr noundef @.str.1, i32 noundef %289)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpsnvremqy.c'
source_filename = "/tmp/tmpsnvremqy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
@EWOULDBLOCK = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"%s: write: %s (%s:%d)\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"warning\00", align 1
@.str.2 = private unnamed_addr constant [131 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/hnw/rlogd/refs/heads/master/src/common.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @writen(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 0, ptr %8, align 8
br label %10
10: ; preds = %52, %30, %3
%11 = load i64, ptr %8, align 8
%12 = load i64, ptr %7, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %14, label %53
14: ; preds = %10
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %6, align 8
%17 = ptrtoint ptr %16 to i64
%18 = load i64, ptr %8, align 8
%19 = add i64 %17, %18
%20 = load i64, ptr %7, align 8
%21 = load i64, ptr %8, align 8
%22 = sub i64 %20, %21
%23 = call i32 @write(i32 noundef %15, i64 noundef %19, i64 noundef %22)
store i32 %23, ptr %9, align 4
%24 = load i32, ptr %9, align 4
%25 = icmp eq i32 %24, -1
br i1 %25, label %26, label %47
26: ; preds = %14
%27 = load i64, ptr @errno, align 8
%28 = load i64, ptr @EINTR, align 8
%29 = icmp eq i64 %27, %28
br i1 %29, label %30, label %31
30: ; preds = %26
br label %10, !llvm.loop !6
31: ; preds = %26
%32 = load i64, ptr @errno, align 8
%33 = load i64, ptr @EAGAIN, align 8
%34 = icmp eq i64 %32, %33
br i1 %34, label %39, label %35
35: ; preds = %31
%36 = load i64, ptr @errno, align 8
%37 = load i64, ptr @EWOULDBLOCK, align 8
%38 = icmp eq i64 %36, %37
br i1 %38, label %39, label %42
39: ; preds = %35, %31
%40 = load i64, ptr %8, align 8
%41 = trunc i64 %40 to i32
store i32 %41, ptr %4, align 4
br label %56
42: ; preds = %35
%43 = load i32, ptr @stderr, align 4
%44 = load i64, ptr @errno, align 8
%45 = call ptr @strerror(i64 noundef %44)
%46 = call i32 @fprintf(i32 noundef %43, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %45, ptr noundef @.str.2, i32 noundef 403)
store i32 -1, ptr %4, align 4
br label %56
47: ; preds = %14
%48 = load i32, ptr %9, align 4
%49 = sext i32 %48 to i64
%50 = load i64, ptr %8, align 8
%51 = add i64 %50, %49
store i64 %51, ptr %8, align 8
br label %52
52: ; preds = %47
br label %10, !llvm.loop !6
53: ; preds = %10
%54 = load i64, ptr %8, align 8
%55 = trunc i64 %54 to i32
store i32 %55, ptr %4, align 4
br label %56
56: ; preds = %53, %42, %39
%57 = load i32, ptr %4, align 4
ret i32 %57
}
declare i32 @write(i32 noundef, i64 noundef, i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strerror(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsnvremqy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
@EWOULDBLOCK = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"%s: write: %s (%s:%d)\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"warning\00", align 1
@.str.2 = private unnamed_addr constant [131 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/hnw/rlogd/refs/heads/master/src/common.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @writen(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 0, ptr %8, align 8
%10 = load i64, ptr %8, align 8
%11 = load i64, ptr %7, align 8
%12 = icmp ult i64 %10, %11
br i1 %12, label %.lr.ph, label %55
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %.backedge
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %6, align 8
%16 = ptrtoint ptr %15 to i64
%17 = load i64, ptr %8, align 8
%18 = add i64 %16, %17
%19 = load i64, ptr %7, align 8
%20 = load i64, ptr %8, align 8
%21 = sub i64 %19, %20
%22 = call i32 @write(i32 noundef %14, i64 noundef %18, i64 noundef %21)
store i32 %22, ptr %9, align 4
%23 = load i32, ptr %9, align 4
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %49
25: ; preds = %13
%26 = load i64, ptr @errno, align 8
%27 = load i64, ptr @EINTR, align 8
%28 = icmp eq i64 %26, %27
br i1 %28, label %29, label %33
29: ; preds = %25
br label %.backedge
.backedge: ; preds = %29, %54
%30 = load i64, ptr %8, align 8
%31 = load i64, ptr %7, align 8
%32 = icmp ult i64 %30, %31
br i1 %32, label %13, label %._crit_edge, !llvm.loop !6
33: ; preds = %25
%34 = load i64, ptr @errno, align 8
%35 = load i64, ptr @EAGAIN, align 8
%36 = icmp eq i64 %34, %35
br i1 %36, label %41, label %37
37: ; preds = %33
%38 = load i64, ptr @errno, align 8
%39 = load i64, ptr @EWOULDBLOCK, align 8
%40 = icmp eq i64 %38, %39
br i1 %40, label %41, label %44
41: ; preds = %37, %33
%42 = load i64, ptr %8, align 8
%43 = trunc i64 %42 to i32
store i32 %43, ptr %4, align 4
br label %58
44: ; preds = %37
%45 = load i32, ptr @stderr, align 4
%46 = load i64, ptr @errno, align 8
%47 = call ptr @strerror(i64 noundef %46)
%48 = call i32 @fprintf(i32 noundef %45, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %47, ptr noundef @.str.2, i32 noundef 403)
store i32 -1, ptr %4, align 4
br label %58
49: ; preds = %13
%50 = load i32, ptr %9, align 4
%51 = sext i32 %50 to i64
%52 = load i64, ptr %8, align 8
%53 = add i64 %52, %51
store i64 %53, ptr %8, align 8
br label %54
54: ; preds = %49
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %55
55: ; preds = %._crit_edge, %3
%56 = load i64, ptr %8, align 8
%57 = trunc i64 %56 to i32
store i32 %57, ptr %4, align 4
br label %58
58: ; preds = %55, %44, %41
%59 = load i32, ptr %4, align 4
ret i32 %59
}
declare i32 @write(i32 noundef, i64 noundef, i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strerror(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpv11oweit.c'
source_filename = "/tmp/tmpv11oweit.c"
target datalayout = "e-m:e-p270: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/tmpv11oweit.c"
target datalayout = "e-m:e-p270: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/tmp4mjyypkd.c'
source_filename = "/tmp/tmp4mjyypkd.c"
target datalayout = "e-m:e-p270: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/tmp4mjyypkd.c"
target datalayout = "e-m:e-p270: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/tmpgpa3yz2m.c'
source_filename = "/tmp/tmpgpa3yz2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%li\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"cocacola\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = call ptr @malloc(i32 noundef 10)
store ptr %6, ptr %5, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 8)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 1)
store ptr @.str.1, ptr %5, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 1)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 8)
%12 = load ptr, ptr %5, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %12)
ret void
}
declare ptr @malloc(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/tmpgpa3yz2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%li\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"cocacola\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = call ptr @malloc(i32 noundef 10)
store ptr %6, ptr %5, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 8)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 1)
store ptr @.str.1, ptr %5, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 1)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 8)
%12 = load ptr, ptr %5, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %12)
ret void
}
declare ptr @malloc(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/tmpk57wmcf1.c'
source_filename = "/tmp/tmpk57wmcf1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"\0A%d\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"\0A%.3f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [64 x float], align 16
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store float 0.000000e+00, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %39, %0
%9 = call i64 @scanf(ptr noundef @.str, ptr noundef %3)
%10 = load i64, ptr @EOF, align 8
%11 = icmp ne i64 %9, %10
br i1 %11, label %12, label %40
12: ; preds = %8
store i32 1, ptr %7, align 4
store i32 0, ptr %6, align 4
br label %13
13: ; preds = %26, %12
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %29
17: ; preds = %13
%18 = load float, ptr %3, align 4
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %20
%22 = load float, ptr %21, align 4
%23 = fcmp oeq float %18, %22
br i1 %23, label %24, label %25
24: ; preds = %17
store i32 0, ptr %7, align 4
br label %29
25: ; preds = %17
br label %26
26: ; preds = %25
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
br label %13, !llvm.loop !6
29: ; preds = %24, %13
%30 = load i32, ptr %7, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %39
32: ; preds = %29
%33 = load float, ptr %3, align 4
%34 = load i32, ptr %5, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %35
store float %33, ptr %36, align 4
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %5, align 4
br label %39
39: ; preds = %32, %29
br label %8, !llvm.loop !8
40: ; preds = %8
%41 = load i32, ptr %5, align 4
%42 = sitofp i32 %41 to float
%43 = call i32 @printf(ptr noundef @.str.1, float noundef %42)
store i32 0, ptr %6, align 4
br label %44
44: ; preds = %56, %40
%45 = load i32, ptr %6, align 4
%46 = load i32, ptr %5, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %48, label %59
48: ; preds = %44
%49 = load float, ptr %4, align 4
%50 = load i32, ptr %6, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %51
%53 = load float, ptr %52, align 4
%54 = call float @fmod(float noundef %53, i32 noundef 5)
%55 = fadd float %49, %54
store float %55, ptr %4, align 4
br label %56
56: ; preds = %48
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %6, align 4
br label %44, !llvm.loop !9
59: ; preds = %44
%60 = load float, ptr %4, align 4
%61 = call i32 @printf(ptr noundef @.str.2, float noundef %60)
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
declare float @fmod(float 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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk57wmcf1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"\0A%d\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"\0A%.3f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [64 x float], align 16
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store float 0.000000e+00, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = call i64 @scanf(ptr noundef @.str, ptr noundef %3)
%9 = load i64, ptr @EOF, align 8
%10 = icmp ne i64 %8, %9
br i1 %10, label %.lr.ph1, label %44
.lr.ph1: ; preds = %0
br label %11
11: ; preds = %.lr.ph1, %40
store i32 1, ptr %7, align 4
store i32 0, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %11
br label %15
15: ; preds = %.lr.ph, %24
%16 = load float, ptr %3, align 4
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %18
%20 = load float, ptr %19, align 4
%21 = fcmp oeq float %16, %20
br i1 %21, label %22, label %23
22: ; preds = %15
store i32 0, ptr %7, align 4
br label %30
23: ; preds = %15
br label %24
24: ; preds = %23
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %15, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %24
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %11
br label %30
30: ; preds = %.loopexit, %22
%31 = load i32, ptr %7, align 4
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %40
33: ; preds = %30
%34 = load float, ptr %3, align 4
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %36
store float %34, ptr %37, align 4
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %5, align 4
br label %40
40: ; preds = %33, %30
%41 = call i64 @scanf(ptr noundef @.str, ptr noundef %3)
%42 = load i64, ptr @EOF, align 8
%43 = icmp ne i64 %41, %42
br i1 %43, label %11, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %40
br label %44
44: ; preds = %._crit_edge, %0
%45 = load i32, ptr %5, align 4
%46 = sitofp i32 %45 to float
%47 = call i32 @printf(ptr noundef @.str.1, float noundef %46)
store i32 0, ptr %6, align 4
%48 = load i32, ptr %6, align 4
%49 = load i32, ptr %5, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %.lr.ph3, label %65
.lr.ph3: ; preds = %44
br label %51
51: ; preds = %.lr.ph3, %59
%52 = load float, ptr %4, align 4
%53 = load i32, ptr %6, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [64 x float], ptr %2, i64 0, i64 %54
%56 = load float, ptr %55, align 4
%57 = call float @fmod(float noundef %56, i32 noundef 5)
%58 = fadd float %52, %57
store float %58, ptr %4, align 4
br label %59
59: ; preds = %51
%60 = load i32, ptr %6, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %6, align 4
%62 = load i32, ptr %6, align 4
%63 = load i32, ptr %5, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %51, label %._crit_edge4, !llvm.loop !9
._crit_edge4: ; preds = %59
br label %65
65: ; preds = %._crit_edge4, %44
%66 = load float, ptr %4, align 4
%67 = call i32 @printf(ptr noundef @.str.2, float noundef %66)
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
declare float @fmod(float 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}
|
; ModuleID = '/tmp/tmpr1tqv6ai.c'
source_filename = "/tmp/tmpr1tqv6ai.c"
target datalayout = "e-m:e-p270: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/tmpr1tqv6ai.c"
target datalayout = "e-m:e-p270: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/tmp88_tayy_.c'
source_filename = "/tmp/tmp88_tayy_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGUSR1 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_setpgid_child() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = load i32, ptr @SIGUSR1, align 4
%5 = call i32 @signal_setup(i32 noundef %4)
%6 = call i64 (...) @fork()
store i64 %6, ptr %2, align 8
%7 = load i64, ptr %2, align 8
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %17
9: ; preds = %0
%10 = call i64 (...) @setsid()
%11 = call i64 (...) @getpid()
%12 = icmp eq i64 %10, %11
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load i32, ptr @SIGUSR1, align 4
%16 = call i32 @wait_for_signal(i32 noundef %15)
store i32 0, ptr %1, align 4
br label %87
17: ; preds = %0
%18 = call i64 (...) @fork()
store i64 %18, ptr %3, align 8
%19 = load i64, ptr %3, align 8
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %30
21: ; preds = %17
%22 = call i64 (...) @getppid()
%23 = load i32, ptr @SIGUSR1, align 4
%24 = call i32 @kill(i64 noundef %22, i32 noundef %23)
%25 = call i64 (...) @getppid()
%26 = call i32 @setpgid(i64 noundef %25, i64 noundef 0)
%27 = call i32 @assert(i32 noundef %26)
%28 = load i32, ptr @SIGUSR1, align 4
%29 = call i32 @wait_for_signal(i32 noundef %28)
store i32 0, ptr %1, align 4
br label %87
30: ; preds = %17
br label %31
31: ; preds = %36, %30
%32 = load i64, ptr %2, align 8
%33 = call i64 @getsid(i64 noundef %32)
%34 = load i64, ptr %2, align 8
%35 = icmp ne i64 %33, %34
br i1 %35, label %36, label %38
36: ; preds = %31
%37 = call i32 (...) @sched_yield()
br label %31, !llvm.loop !6
38: ; preds = %31
%39 = load i32, ptr @SIGUSR1, align 4
%40 = call i32 @wait_for_signal(i32 noundef %39)
%41 = load i64, ptr %3, align 8
%42 = load i64, ptr %3, align 8
%43 = call i32 @setpgid(i64 noundef %41, i64 noundef %42)
%44 = icmp ne i32 %43, 0
%45 = xor i1 %44, true
%46 = zext i1 %45 to i32
%47 = call i32 @assert(i32 noundef %46)
%48 = load i64, ptr %3, align 8
%49 = call i64 @getpgid(i64 noundef %48)
%50 = load i64, ptr %3, align 8
%51 = icmp eq i64 %49, %50
%52 = zext i1 %51 to i32
%53 = call i32 @assert(i32 noundef %52)
%54 = load i64, ptr %3, align 8
%55 = call i64 @getpgid(i64 noundef 0)
%56 = call i32 @setpgid(i64 noundef %54, i64 noundef %55)
%57 = icmp ne i32 %56, 0
%58 = xor i1 %57, true
%59 = zext i1 %58 to i32
%60 = call i32 @assert(i32 noundef %59)
%61 = load i64, ptr %3, align 8
%62 = call i64 @getpgid(i64 noundef %61)
%63 = call i64 @getpgid(i64 noundef 0)
%64 = icmp eq i64 %62, %63
%65 = zext i1 %64 to i32
%66 = call i32 @assert(i32 noundef %65)
%67 = load i64, ptr %3, align 8
%68 = load i64, ptr %2, align 8
%69 = call i32 @setpgid(i64 noundef %67, i64 noundef %68)
%70 = call i32 @assert(i32 noundef %69)
%71 = load i64, ptr %3, align 8
%72 = call i64 @getpgid(i64 noundef %71)
%73 = call i64 @getpgid(i64 noundef 0)
%74 = icmp eq i64 %72, %73
%75 = zext i1 %74 to i32
%76 = call i32 @assert(i32 noundef %75)
%77 = load i64, ptr %2, align 8
%78 = load i32, ptr @SIGUSR1, align 4
%79 = call i32 @kill(i64 noundef %77, i32 noundef %78)
%80 = load i64, ptr %3, align 8
%81 = load i32, ptr @SIGUSR1, align 4
%82 = call i32 @kill(i64 noundef %80, i32 noundef %81)
%83 = load i64, ptr %2, align 8
%84 = call i32 @wait_for_child_exit(i64 noundef %83, i32 noundef 0)
%85 = load i64, ptr %3, align 8
%86 = call i32 @wait_for_child_exit(i64 noundef %85, i32 noundef 0)
store i32 0, ptr %1, align 4
br label %87
87: ; preds = %38, %21, %9
%88 = load i32, ptr %1, align 4
ret i32 %88
}
declare i32 @signal_setup(i32 noundef) #1
declare i64 @fork(...) #1
declare i32 @assert(i32 noundef) #1
declare i64 @setsid(...) #1
declare i64 @getpid(...) #1
declare i32 @wait_for_signal(i32 noundef) #1
declare i32 @kill(i64 noundef, i32 noundef) #1
declare i64 @getppid(...) #1
declare i32 @setpgid(i64 noundef, i64 noundef) #1
declare i64 @getsid(i64 noundef) #1
declare i32 @sched_yield(...) #1
declare i64 @getpgid(i64 noundef) #1
declare i32 @wait_for_child_exit(i64 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/tmp88_tayy_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGUSR1 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_setpgid_child() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = load i32, ptr @SIGUSR1, align 4
%5 = call i32 @signal_setup(i32 noundef %4)
%6 = call i64 (...) @fork()
store i64 %6, ptr %2, align 8
%7 = load i64, ptr %2, align 8
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %17
9: ; preds = %0
%10 = call i64 (...) @setsid()
%11 = call i64 (...) @getpid()
%12 = icmp eq i64 %10, %11
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load i32, ptr @SIGUSR1, align 4
%16 = call i32 @wait_for_signal(i32 noundef %15)
store i32 0, ptr %1, align 4
br label %90
17: ; preds = %0
%18 = call i64 (...) @fork()
store i64 %18, ptr %3, align 8
%19 = load i64, ptr %3, align 8
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %30
21: ; preds = %17
%22 = call i64 (...) @getppid()
%23 = load i32, ptr @SIGUSR1, align 4
%24 = call i32 @kill(i64 noundef %22, i32 noundef %23)
%25 = call i64 (...) @getppid()
%26 = call i32 @setpgid(i64 noundef %25, i64 noundef 0)
%27 = call i32 @assert(i32 noundef %26)
%28 = load i32, ptr @SIGUSR1, align 4
%29 = call i32 @wait_for_signal(i32 noundef %28)
store i32 0, ptr %1, align 4
br label %90
30: ; preds = %17
%31 = load i64, ptr %2, align 8
%32 = call i64 @getsid(i64 noundef %31)
%33 = load i64, ptr %2, align 8
%34 = icmp ne i64 %32, %33
br i1 %34, label %.lr.ph, label %41
.lr.ph: ; preds = %30
br label %35
35: ; preds = %.lr.ph, %35
%36 = call i32 (...) @sched_yield()
%37 = load i64, ptr %2, align 8
%38 = call i64 @getsid(i64 noundef %37)
%39 = load i64, ptr %2, align 8
%40 = icmp ne i64 %38, %39
br i1 %40, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %41
41: ; preds = %._crit_edge, %30
%42 = load i32, ptr @SIGUSR1, align 4
%43 = call i32 @wait_for_signal(i32 noundef %42)
%44 = load i64, ptr %3, align 8
%45 = load i64, ptr %3, align 8
%46 = call i32 @setpgid(i64 noundef %44, i64 noundef %45)
%47 = icmp ne i32 %46, 0
%48 = xor i1 %47, true
%49 = zext i1 %48 to i32
%50 = call i32 @assert(i32 noundef %49)
%51 = load i64, ptr %3, align 8
%52 = call i64 @getpgid(i64 noundef %51)
%53 = load i64, ptr %3, align 8
%54 = icmp eq i64 %52, %53
%55 = zext i1 %54 to i32
%56 = call i32 @assert(i32 noundef %55)
%57 = load i64, ptr %3, align 8
%58 = call i64 @getpgid(i64 noundef 0)
%59 = call i32 @setpgid(i64 noundef %57, i64 noundef %58)
%60 = icmp ne i32 %59, 0
%61 = xor i1 %60, true
%62 = zext i1 %61 to i32
%63 = call i32 @assert(i32 noundef %62)
%64 = load i64, ptr %3, align 8
%65 = call i64 @getpgid(i64 noundef %64)
%66 = call i64 @getpgid(i64 noundef 0)
%67 = icmp eq i64 %65, %66
%68 = zext i1 %67 to i32
%69 = call i32 @assert(i32 noundef %68)
%70 = load i64, ptr %3, align 8
%71 = load i64, ptr %2, align 8
%72 = call i32 @setpgid(i64 noundef %70, i64 noundef %71)
%73 = call i32 @assert(i32 noundef %72)
%74 = load i64, ptr %3, align 8
%75 = call i64 @getpgid(i64 noundef %74)
%76 = call i64 @getpgid(i64 noundef 0)
%77 = icmp eq i64 %75, %76
%78 = zext i1 %77 to i32
%79 = call i32 @assert(i32 noundef %78)
%80 = load i64, ptr %2, align 8
%81 = load i32, ptr @SIGUSR1, align 4
%82 = call i32 @kill(i64 noundef %80, i32 noundef %81)
%83 = load i64, ptr %3, align 8
%84 = load i32, ptr @SIGUSR1, align 4
%85 = call i32 @kill(i64 noundef %83, i32 noundef %84)
%86 = load i64, ptr %2, align 8
%87 = call i32 @wait_for_child_exit(i64 noundef %86, i32 noundef 0)
%88 = load i64, ptr %3, align 8
%89 = call i32 @wait_for_child_exit(i64 noundef %88, i32 noundef 0)
store i32 0, ptr %1, align 4
br label %90
90: ; preds = %41, %21, %9
%91 = load i32, ptr %1, align 4
ret i32 %91
}
declare i32 @signal_setup(i32 noundef) #1
declare i64 @fork(...) #1
declare i32 @assert(i32 noundef) #1
declare i64 @setsid(...) #1
declare i64 @getpid(...) #1
declare i32 @wait_for_signal(i32 noundef) #1
declare i32 @kill(i64 noundef, i32 noundef) #1
declare i64 @getppid(...) #1
declare i32 @setpgid(i64 noundef, i64 noundef) #1
declare i64 @getsid(i64 noundef) #1
declare i32 @sched_yield(...) #1
declare i64 @getpgid(i64 noundef) #1
declare i32 @wait_for_child_exit(i64 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/tmpt531m9ko.c'
source_filename = "/tmp/tmpt531m9ko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
@errno = 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/tmpt531m9ko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
@errno = 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/tmpj_yt97ae.c'
source_filename = "/tmp/tmpj_yt97ae.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @emulate_latency(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = trunc i64 %4 to i32
%6 = sitofp i32 %5 to float
%7 = fmul float %6, 0x3FEA83A840000000
%8 = fdiv float %7, 0x3FF3333340000000
%9 = fptosi float %8 to i32
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @emulate_latency_ns(i32 noundef %10)
ret void
}
declare i32 @emulate_latency_ns(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/tmpj_yt97ae.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @emulate_latency(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = trunc i64 %4 to i32
%6 = sitofp i32 %5 to float
%7 = fmul float %6, 0x3FEA83A840000000
%8 = fdiv float %7, 0x3FF3333340000000
%9 = fptosi float %8 to i32
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @emulate_latency_ns(i32 noundef %10)
ret void
}
declare i32 @emulate_latency_ns(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/tmpk5qp42kd.c'
source_filename = "/tmp/tmpk5qp42kd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parsestring(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i64 @strstr(ptr noundef %7, ptr noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %24
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %5, align 8
%14 = call i64 @strstr(ptr noundef %12, ptr noundef %13)
%15 = load ptr, ptr %4, align 8
%16 = call i64 @strchr(ptr noundef %15, i8 noundef signext 34)
%17 = icmp slt i64 %14, %16
br i1 %17, label %18, label %23
18: ; preds = %11
%19 = call i32 @line2string(ptr noundef %4)
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %4, align 8
%22 = call i32 @strcpy(ptr noundef %20, ptr noundef %21)
br label %23
23: ; preds = %18, %11
br label %24
24: ; preds = %23, %3
ret void
}
declare i64 @strstr(ptr noundef, ptr noundef) #1
declare i64 @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @line2string(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk5qp42kd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parsestring(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i64 @strstr(ptr noundef %7, ptr noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %24
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %5, align 8
%14 = call i64 @strstr(ptr noundef %12, ptr noundef %13)
%15 = load ptr, ptr %4, align 8
%16 = call i64 @strchr(ptr noundef %15, i8 noundef signext 34)
%17 = icmp slt i64 %14, %16
br i1 %17, label %18, label %23
18: ; preds = %11
%19 = call i32 @line2string(ptr noundef %4)
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %4, align 8
%22 = call i32 @strcpy(ptr noundef %20, ptr noundef %21)
br label %23
23: ; preds = %18, %11
br label %24
24: ; preds = %23, %3
ret void
}
declare i64 @strstr(ptr noundef, ptr noundef) #1
declare i64 @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @line2string(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6jpih52j.c'
source_filename = "/tmp/tmp6jpih52j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"HTTP/1.0 501 Not Implemented\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Content-type: text/plain\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [38 x i8] c"That command is not yet implemented\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cannot_do(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call ptr @fdopen(i32 noundef %4, ptr noundef @.str)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @fprintf(ptr noundef %6, ptr noundef @.str.1)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @fprintf(ptr noundef %8, ptr noundef @.str.2)
%10 = load ptr, ptr %3, align 8
%11 = call i32 @fprintf(ptr noundef %10, ptr noundef @.str.3)
%12 = load ptr, ptr %3, align 8
%13 = call i32 @fprintf(ptr noundef %12, ptr noundef @.str.4)
%14 = load ptr, ptr %3, align 8
%15 = call i32 @fclose(ptr noundef %14)
ret void
}
declare ptr @fdopen(i32 noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6jpih52j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"HTTP/1.0 501 Not Implemented\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Content-type: text/plain\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [38 x i8] c"That command is not yet implemented\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cannot_do(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call ptr @fdopen(i32 noundef %4, ptr noundef @.str)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @fprintf(ptr noundef %6, ptr noundef @.str.1)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @fprintf(ptr noundef %8, ptr noundef @.str.2)
%10 = load ptr, ptr %3, align 8
%11 = call i32 @fprintf(ptr noundef %10, ptr noundef @.str.3)
%12 = load ptr, ptr %3, align 8
%13 = call i32 @fprintf(ptr noundef %12, ptr noundef @.str.4)
%14 = load ptr, ptr %3, align 8
%15 = call i32 @fclose(ptr noundef %14)
ret void
}
declare ptr @fdopen(i32 noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp9nmsmhj.c'
source_filename = "/tmp/tmpp9nmsmhj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @treatBoundary(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = add nsw i32 %13, 2
store i32 %14, ptr %12, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %10, align 4
br label %15
15: ; preds = %37, %4
%16 = load i32, ptr %10, align 4
%17 = load i32, ptr %12, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %40
19: ; preds = %15
store i32 0, ptr %9, align 4
br label %20
20: ; preds = %33, %19
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %12, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %36
24: ; preds = %20
%25 = load ptr, ptr %5, align 8
%26 = load ptr, ptr %6, align 8
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %8, align 4
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %10, align 4
%31 = load i32, ptr %11, align 4
%32 = call i32 @boundaryCell(ptr noundef %25, ptr noundef %26, ptr noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %31)
br label %33
33: ; preds = %24
%34 = load i32, ptr %9, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %9, align 4
br label %20, !llvm.loop !6
36: ; preds = %20
br label %37
37: ; preds = %36
%38 = load i32, ptr %10, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %10, align 4
br label %15, !llvm.loop !8
40: ; preds = %15
store i32 1, ptr %11, align 4
br label %41
41: ; preds = %109, %40
%42 = load i32, ptr %11, align 4
%43 = load i32, ptr %8, align 4
%44 = icmp sle i32 %42, %43
br i1 %44, label %45, label %112
45: ; preds = %41
store i32 0, ptr %10, align 4
store i32 0, ptr %9, align 4
br label %46
46: ; preds = %59, %45
%47 = load i32, ptr %9, align 4
%48 = load i32, ptr %12, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %50, label %62
50: ; preds = %46
%51 = load ptr, ptr %5, align 8
%52 = load ptr, ptr %6, align 8
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %8, align 4
%55 = load i32, ptr %9, align 4
%56 = load i32, ptr %10, align 4
%57 = load i32, ptr %11, align 4
%58 = call i32 @boundaryCell(ptr noundef %51, ptr noundef %52, ptr noundef %53, i32 noundef %54, i32 noundef %55, i32 noundef %56, i32 noundef %57)
br label %59
59: ; preds = %50
%60 = load i32, ptr %9, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %9, align 4
br label %46, !llvm.loop !9
62: ; preds = %46
store i32 1, ptr %10, align 4
br label %63
63: ; preds = %86, %62
%64 = load i32, ptr %10, align 4
%65 = load i32, ptr %8, align 4
%66 = icmp sle i32 %64, %65
br i1 %66, label %67, label %89
67: ; preds = %63
store i32 0, ptr %9, align 4
%68 = load ptr, ptr %5, align 8
%69 = load ptr, ptr %6, align 8
%70 = load ptr, ptr %7, align 8
%71 = load i32, ptr %8, align 4
%72 = load i32, ptr %9, align 4
%73 = load i32, ptr %10, align 4
%74 = load i32, ptr %11, align 4
%75 = call i32 @boundaryCell(ptr noundef %68, ptr noundef %69, ptr noundef %70, i32 noundef %71, i32 noundef %72, i32 noundef %73, i32 noundef %74)
%76 = load i32, ptr %8, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %9, align 4
%78 = load ptr, ptr %5, align 8
%79 = load ptr, ptr %6, align 8
%80 = load ptr, ptr %7, align 8
%81 = load i32, ptr %8, align 4
%82 = load i32, ptr %9, align 4
%83 = load i32, ptr %10, align 4
%84 = load i32, ptr %11, align 4
%85 = call i32 @boundaryCell(ptr noundef %78, ptr noundef %79, ptr noundef %80, i32 noundef %81, i32 noundef %82, i32 noundef %83, i32 noundef %84)
br label %86
86: ; preds = %67
%87 = load i32, ptr %10, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %10, align 4
br label %63, !llvm.loop !10
89: ; preds = %63
%90 = load i32, ptr %8, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %10, align 4
store i32 0, ptr %9, align 4
br label %92
92: ; preds = %105, %89
%93 = load i32, ptr %9, align 4
%94 = load i32, ptr %12, align 4
%95 = icmp slt i32 %93, %94
br i1 %95, label %96, label %108
96: ; preds = %92
%97 = load ptr, ptr %5, align 8
%98 = load ptr, ptr %6, align 8
%99 = load ptr, ptr %7, align 8
%100 = load i32, ptr %8, align 4
%101 = load i32, ptr %9, align 4
%102 = load i32, ptr %10, align 4
%103 = load i32, ptr %11, align 4
%104 = call i32 @boundaryCell(ptr noundef %97, ptr noundef %98, ptr noundef %99, i32 noundef %100, i32 noundef %101, i32 noundef %102, i32 noundef %103)
br label %105
105: ; preds = %96
%106 = load i32, ptr %9, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %9, align 4
br label %92, !llvm.loop !11
108: ; preds = %92
br label %109
109: ; preds = %108
%110 = load i32, ptr %11, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %11, align 4
br label %41, !llvm.loop !12
112: ; preds = %41
%113 = load i32, ptr %8, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %11, align 4
store i32 0, ptr %10, align 4
br label %115
115: ; preds = %137, %112
%116 = load i32, ptr %10, align 4
%117 = load i32, ptr %12, align 4
%118 = icmp slt i32 %116, %117
br i1 %118, label %119, label %140
119: ; preds = %115
store i32 0, ptr %9, align 4
br label %120
120: ; preds = %133, %119
%121 = load i32, ptr %9, align 4
%122 = load i32, ptr %12, align 4
%123 = icmp slt i32 %121, %122
br i1 %123, label %124, label %136
124: ; preds = %120
%125 = load ptr, ptr %5, align 8
%126 = load ptr, ptr %6, align 8
%127 = load ptr, ptr %7, align 8
%128 = load i32, ptr %8, align 4
%129 = load i32, ptr %9, align 4
%130 = load i32, ptr %10, align 4
%131 = load i32, ptr %11, align 4
%132 = call i32 @boundaryCell(ptr noundef %125, ptr noundef %126, ptr noundef %127, i32 noundef %128, i32 noundef %129, i32 noundef %130, i32 noundef %131)
br label %133
133: ; preds = %124
%134 = load i32, ptr %9, align 4
%135 = add nsw i32 %134, 1
store i32 %135, ptr %9, align 4
br label %120, !llvm.loop !13
136: ; preds = %120
br label %137
137: ; preds = %136
%138 = load i32, ptr %10, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %10, align 4
br label %115, !llvm.loop !14
140: ; preds = %115
ret void
}
declare i32 @boundaryCell(ptr noundef, ptr noundef, 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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp9nmsmhj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @treatBoundary(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = add nsw i32 %13, 2
store i32 %14, ptr %12, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %10, align 4
%15 = load i32, ptr %10, align 4
%16 = load i32, ptr %12, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph2, label %44
.lr.ph2: ; preds = %4
br label %18
18: ; preds = %.lr.ph2, %38
store i32 0, ptr %9, align 4
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %12, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %37
.lr.ph: ; preds = %18
br label %22
22: ; preds = %.lr.ph, %31
%23 = load ptr, ptr %5, align 8
%24 = load ptr, ptr %6, align 8
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %10, align 4
%29 = load i32, ptr %11, align 4
%30 = call i32 @boundaryCell(ptr noundef %23, ptr noundef %24, ptr noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29)
br label %31
31: ; preds = %22
%32 = load i32, ptr %9, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %9, align 4
%34 = load i32, ptr %9, align 4
%35 = load i32, ptr %12, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %18
br label %38
38: ; preds = %37
%39 = load i32, ptr %10, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %10, align 4
%41 = load i32, ptr %10, align 4
%42 = load i32, ptr %12, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %18, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %38
br label %44
44: ; preds = %._crit_edge3, %4
store i32 1, ptr %11, align 4
%45 = load i32, ptr %11, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp sle i32 %45, %46
br i1 %47, label %.lr.ph14, label %124
.lr.ph14: ; preds = %44
br label %48
48: ; preds = %.lr.ph14, %118
store i32 0, ptr %10, align 4
store i32 0, ptr %9, align 4
%49 = load i32, ptr %9, align 4
%50 = load i32, ptr %12, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %.lr.ph5, label %67
.lr.ph5: ; preds = %48
br label %52
52: ; preds = %.lr.ph5, %61
%53 = load ptr, ptr %5, align 8
%54 = load ptr, ptr %6, align 8
%55 = load ptr, ptr %7, align 8
%56 = load i32, ptr %8, align 4
%57 = load i32, ptr %9, align 4
%58 = load i32, ptr %10, align 4
%59 = load i32, ptr %11, align 4
%60 = call i32 @boundaryCell(ptr noundef %53, ptr noundef %54, ptr noundef %55, i32 noundef %56, i32 noundef %57, i32 noundef %58, i32 noundef %59)
br label %61
61: ; preds = %52
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %9, align 4
%64 = load i32, ptr %9, align 4
%65 = load i32, ptr %12, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %52, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %61
br label %67
67: ; preds = %._crit_edge6, %48
store i32 1, ptr %10, align 4
%68 = load i32, ptr %10, align 4
%69 = load i32, ptr %8, align 4
%70 = icmp sle i32 %68, %69
br i1 %70, label %.lr.ph8, label %96
.lr.ph8: ; preds = %67
br label %71
71: ; preds = %.lr.ph8, %90
store i32 0, ptr %9, align 4
%72 = load ptr, ptr %5, align 8
%73 = load ptr, ptr %6, align 8
%74 = load ptr, ptr %7, align 8
%75 = load i32, ptr %8, align 4
%76 = load i32, ptr %9, align 4
%77 = load i32, ptr %10, align 4
%78 = load i32, ptr %11, align 4
%79 = call i32 @boundaryCell(ptr noundef %72, ptr noundef %73, ptr noundef %74, i32 noundef %75, i32 noundef %76, i32 noundef %77, i32 noundef %78)
%80 = load i32, ptr %8, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %9, align 4
%82 = load ptr, ptr %5, align 8
%83 = load ptr, ptr %6, align 8
%84 = load ptr, ptr %7, align 8
%85 = load i32, ptr %8, align 4
%86 = load i32, ptr %9, align 4
%87 = load i32, ptr %10, align 4
%88 = load i32, ptr %11, align 4
%89 = call i32 @boundaryCell(ptr noundef %82, ptr noundef %83, ptr noundef %84, i32 noundef %85, i32 noundef %86, i32 noundef %87, i32 noundef %88)
br label %90
90: ; preds = %71
%91 = load i32, ptr %10, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %10, align 4
%93 = load i32, ptr %10, align 4
%94 = load i32, ptr %8, align 4
%95 = icmp sle i32 %93, %94
br i1 %95, label %71, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %90
br label %96
96: ; preds = %._crit_edge9, %67
%97 = load i32, ptr %8, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %10, align 4
store i32 0, ptr %9, align 4
%99 = load i32, ptr %9, align 4
%100 = load i32, ptr %12, align 4
%101 = icmp slt i32 %99, %100
br i1 %101, label %.lr.ph11, label %117
.lr.ph11: ; preds = %96
br label %102
102: ; preds = %.lr.ph11, %111
%103 = load ptr, ptr %5, align 8
%104 = load ptr, ptr %6, align 8
%105 = load ptr, ptr %7, align 8
%106 = load i32, ptr %8, align 4
%107 = load i32, ptr %9, align 4
%108 = load i32, ptr %10, align 4
%109 = load i32, ptr %11, align 4
%110 = call i32 @boundaryCell(ptr noundef %103, ptr noundef %104, ptr noundef %105, i32 noundef %106, i32 noundef %107, i32 noundef %108, i32 noundef %109)
br label %111
111: ; preds = %102
%112 = load i32, ptr %9, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %9, align 4
%114 = load i32, ptr %9, align 4
%115 = load i32, ptr %12, align 4
%116 = icmp slt i32 %114, %115
br i1 %116, label %102, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %111
br label %117
117: ; preds = %._crit_edge12, %96
br label %118
118: ; preds = %117
%119 = load i32, ptr %11, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %11, align 4
%121 = load i32, ptr %11, align 4
%122 = load i32, ptr %8, align 4
%123 = icmp sle i32 %121, %122
br i1 %123, label %48, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %118
br label %124
124: ; preds = %._crit_edge15, %44
%125 = load i32, ptr %8, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr %11, align 4
store i32 0, ptr %10, align 4
%127 = load i32, ptr %10, align 4
%128 = load i32, ptr %12, align 4
%129 = icmp slt i32 %127, %128
br i1 %129, label %.lr.ph20, label %156
.lr.ph20: ; preds = %124
br label %130
130: ; preds = %.lr.ph20, %150
store i32 0, ptr %9, align 4
%131 = load i32, ptr %9, align 4
%132 = load i32, ptr %12, align 4
%133 = icmp slt i32 %131, %132
br i1 %133, label %.lr.ph17, label %149
.lr.ph17: ; preds = %130
br label %134
134: ; preds = %.lr.ph17, %143
%135 = load ptr, ptr %5, align 8
%136 = load ptr, ptr %6, align 8
%137 = load ptr, ptr %7, align 8
%138 = load i32, ptr %8, align 4
%139 = load i32, ptr %9, align 4
%140 = load i32, ptr %10, align 4
%141 = load i32, ptr %11, align 4
%142 = call i32 @boundaryCell(ptr noundef %135, ptr noundef %136, ptr noundef %137, i32 noundef %138, i32 noundef %139, i32 noundef %140, i32 noundef %141)
br label %143
143: ; preds = %134
%144 = load i32, ptr %9, align 4
%145 = add nsw i32 %144, 1
store i32 %145, ptr %9, align 4
%146 = load i32, ptr %9, align 4
%147 = load i32, ptr %12, align 4
%148 = icmp slt i32 %146, %147
br i1 %148, label %134, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %143
br label %149
149: ; preds = %._crit_edge18, %130
br label %150
150: ; preds = %149
%151 = load i32, ptr %10, align 4
%152 = add nsw i32 %151, 1
store i32 %152, ptr %10, align 4
%153 = load i32, ptr %10, align 4
%154 = load i32, ptr %12, align 4
%155 = icmp slt i32 %153, %154
br i1 %155, label %130, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %150
br label %156
156: ; preds = %._crit_edge21, %124
ret void
}
declare i32 @boundaryCell(ptr noundef, ptr noundef, 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}
|
; ModuleID = '/tmp/tmpbzm5pqfq.c'
source_filename = "/tmp/tmpbzm5pqfq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc_pieces() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
store i8 0, ptr %1, align 1
br label %3
3: ; preds = %25, %0
%4 = load i8, ptr %1, align 1
%5 = sext i8 %4 to i32
%6 = icmp slt i32 %5, 10
br i1 %6, label %7, label %28
7: ; preds = %3
store i8 0, ptr %2, align 1
br label %8
8: ; preds = %21, %7
%9 = load i8, ptr %2, align 1
%10 = sext i8 %9 to i32
%11 = icmp slt i32 %10, 50
br i1 %11, label %12, label %24
12: ; preds = %8
%13 = load i8, ptr %1, align 1
%14 = load i8, ptr %2, align 1
%15 = call i32 @calc_six_rotations(i8 noundef signext %13, i8 noundef signext %14)
%16 = load i8, ptr %1, align 1
%17 = call i32 @flip_piece(i8 noundef signext %16)
%18 = load i8, ptr %1, align 1
%19 = load i8, ptr %2, align 1
%20 = call i32 @calc_six_rotations(i8 noundef signext %18, i8 noundef signext %19)
br label %21
21: ; preds = %12
%22 = load i8, ptr %2, align 1
%23 = add i8 %22, 1
store i8 %23, ptr %2, align 1
br label %8, !llvm.loop !6
24: ; preds = %8
br label %25
25: ; preds = %24
%26 = load i8, ptr %1, align 1
%27 = add i8 %26, 1
store i8 %27, ptr %1, align 1
br label %3, !llvm.loop !8
28: ; preds = %3
ret void
}
declare i32 @calc_six_rotations(i8 noundef signext, i8 noundef signext) #1
declare i32 @flip_piece(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbzm5pqfq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc_pieces() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
store i8 0, ptr %1, align 1
%3 = load i8, ptr %1, align 1
%4 = sext i8 %3 to i32
%5 = icmp slt i32 %4, 10
br i1 %5, label %.lr.ph2, label %32
.lr.ph2: ; preds = %0
br label %6
6: ; preds = %.lr.ph2, %26
store i8 0, ptr %2, align 1
%7 = load i8, ptr %2, align 1
%8 = sext i8 %7 to i32
%9 = icmp slt i32 %8, 50
br i1 %9, label %.lr.ph, label %25
.lr.ph: ; preds = %6
br label %10
10: ; preds = %.lr.ph, %19
%11 = load i8, ptr %1, align 1
%12 = load i8, ptr %2, align 1
%13 = call i32 @calc_six_rotations(i8 noundef signext %11, i8 noundef signext %12)
%14 = load i8, ptr %1, align 1
%15 = call i32 @flip_piece(i8 noundef signext %14)
%16 = load i8, ptr %1, align 1
%17 = load i8, ptr %2, align 1
%18 = call i32 @calc_six_rotations(i8 noundef signext %16, i8 noundef signext %17)
br label %19
19: ; preds = %10
%20 = load i8, ptr %2, align 1
%21 = add i8 %20, 1
store i8 %21, ptr %2, align 1
%22 = load i8, ptr %2, align 1
%23 = sext i8 %22 to i32
%24 = icmp slt i32 %23, 50
br i1 %24, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %6
br label %26
26: ; preds = %25
%27 = load i8, ptr %1, align 1
%28 = add i8 %27, 1
store i8 %28, ptr %1, align 1
%29 = load i8, ptr %1, align 1
%30 = sext i8 %29 to i32
%31 = icmp slt i32 %30, 10
br i1 %31, label %6, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %26
br label %32
32: ; preds = %._crit_edge3, %0
ret void
}
declare i32 @calc_six_rotations(i8 noundef signext, i8 noundef signext) #1
declare i32 @flip_piece(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp3tflivj7.c'
source_filename = "/tmp/tmp3tflivj7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dswap(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load ptr, ptr %7, align 8
%12 = getelementptr inbounds double, ptr %11, i32 1
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %9, align 8
%14 = getelementptr inbounds double, ptr %13, i32 1
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %9, align 8
%17 = call i32 @BLAS_dswap(ptr noundef %6, ptr noundef %15, ptr noundef %8, ptr noundef %16, ptr noundef %10)
ret void
}
declare i32 @BLAS_dswap(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3tflivj7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dswap(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load ptr, ptr %7, align 8
%12 = getelementptr inbounds double, ptr %11, i32 1
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %9, align 8
%14 = getelementptr inbounds double, ptr %13, i32 1
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %9, align 8
%17 = call i32 @BLAS_dswap(ptr noundef %6, ptr noundef %15, ptr noundef %8, ptr noundef %16, ptr noundef %10)
ret void
}
declare i32 @BLAS_dswap(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdtw06lga.c'
source_filename = "/tmp/tmpdtw06lga.c"
target datalayout = "e-m:e-p270: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/tmpdtw06lga.c"
target datalayout = "e-m:e-p270: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/tmp4969omot.c'
source_filename = "/tmp/tmp4969omot.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @waitFrame(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %10
10: ; preds = %30, %3
%11 = load i32, ptr %5, align 4
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %8, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %8, align 4
%18 = sub nsw i32 %16, %17
%19 = call i32 @recv(i32 noundef %11, ptr noundef %15, i32 noundef %18, i32 noundef 0)
store i32 %19, ptr %9, align 4
%20 = load i32, ptr %9, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %10
%23 = load i32, ptr %9, align 4
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %26
25: ; preds = %22, %10
store i32 -1, ptr %4, align 4
br label %45
26: ; preds = %22
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, %27
store i32 %29, ptr %8, align 4
br label %30
30: ; preds = %26
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %8, align 4
%33 = sub nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %31, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 36
br i1 %38, label %10, label %39, !llvm.loop !6
39: ; preds = %30
%40 = load ptr, ptr %6, align 8
%41 = load i32, ptr %8, align 4
%42 = sub nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %40, i64 %43
store i8 0, ptr %44, align 1
store i32 0, ptr %4, align 4
br label %45
45: ; preds = %39, %25
%46 = load i32, ptr %4, align 4
ret i32 %46
}
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4969omot.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @waitFrame(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %10
10: ; preds = %30, %3
%11 = load i32, ptr %5, align 4
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %8, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %8, align 4
%18 = sub nsw i32 %16, %17
%19 = call i32 @recv(i32 noundef %11, ptr noundef %15, i32 noundef %18, i32 noundef 0)
store i32 %19, ptr %9, align 4
%20 = load i32, ptr %9, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %10
%23 = load i32, ptr %9, align 4
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %26
25: ; preds = %22, %10
store i32 -1, ptr %4, align 4
br label %45
26: ; preds = %22
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, %27
store i32 %29, ptr %8, align 4
br label %30
30: ; preds = %26
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %8, align 4
%33 = sub nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %31, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 36
br i1 %38, label %10, label %39, !llvm.loop !6
39: ; preds = %30
%40 = load ptr, ptr %6, align 8
%41 = load i32, ptr %8, align 4
%42 = sub nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %40, i64 %43
store i8 0, ptr %44, align 1
store i32 0, ptr %4, align 4
br label %45
45: ; preds = %39, %25
%46 = load i32, ptr %4, align 4
ret i32 %46
}
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpblawws8u.c'
source_filename = "/tmp/tmpblawws8u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @f(i32 noundef 1)
%4 = call i32 @f(i32 noundef 1)
%5 = call i32 @g(i32 noundef 1)
%6 = call i32 @g(i32 noundef 1)
%7 = call i32 @h(i32 noundef 1)
%8 = call i32 @h(i32 noundef 1)
ret void
}
declare i32 @f(i32 noundef) #1
declare i32 @g(i32 noundef) #1
declare i32 @h(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/tmpblawws8u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @f(i32 noundef 1)
%4 = call i32 @f(i32 noundef 1)
%5 = call i32 @g(i32 noundef 1)
%6 = call i32 @g(i32 noundef 1)
%7 = call i32 @h(i32 noundef 1)
%8 = call i32 @h(i32 noundef 1)
ret void
}
declare i32 @f(i32 noundef) #1
declare i32 @g(i32 noundef) #1
declare i32 @h(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/tmpb9ftbxxr.c'
source_filename = "/tmp/tmpb9ftbxxr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" %10d, %x has %d 1s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %7
7: ; preds = %36, %0
%8 = load i32, ptr %2, align 4
%9 = icmp ult i32 %8, 10
br i1 %9, label %10, label %39
10: ; preds = %7
%11 = call i32 (...) @random()
store i32 %11, ptr %6, align 4
store i32 1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %3, align 4
br label %12
12: ; preds = %26, %10
%13 = load i32, ptr %3, align 4
%14 = icmp ult i32 %13, 32
br i1 %14, label %15, label %29
15: ; preds = %12
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %4, align 4
%18 = and i32 %16, %17
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = load i32, ptr %5, align 4
%22 = add i32 %21, 1
store i32 %22, ptr %5, align 4
br label %23
23: ; preds = %20, %15
%24 = load i32, ptr %4, align 4
%25 = shl i32 %24, 1
store i32 %25, ptr %4, align 4
br label %26
26: ; preds = %23
%27 = load i32, ptr %3, align 4
%28 = add i32 %27, 1
store i32 %28, ptr %3, align 4
br label %12, !llvm.loop !6
29: ; preds = %12
%30 = load i32, ptr %6, align 4
%31 = call i32 @printabit(i32 noundef %30)
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %5, align 4
%35 = call i32 @printf(ptr noundef @.str, i32 noundef %32, i32 noundef %33, i32 noundef %34)
br label %36
36: ; preds = %29
%37 = load i32, ptr %2, align 4
%38 = add i32 %37, 1
store i32 %38, ptr %2, align 4
br label %7, !llvm.loop !8
39: ; preds = %7
%40 = load i32, ptr %1, align 4
ret i32 %40
}
declare i32 @random(...) #1
declare i32 @printabit(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb9ftbxxr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" %10d, %x has %d 1s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp ult i32 %7, 10
br i1 %8, label %.lr.ph2, label %41
.lr.ph2: ; preds = %0
br label %9
9: ; preds = %.lr.ph2, %36
%10 = call i32 (...) @random()
store i32 %10, ptr %6, align 4
store i32 1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp ult i32 %11, 32
br i1 %12, label %.lr.ph, label %29
.lr.ph: ; preds = %9
br label %13
13: ; preds = %.lr.ph, %24
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = and i32 %14, %15
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load i32, ptr %5, align 4
%20 = add i32 %19, 1
store i32 %20, ptr %5, align 4
br label %21
21: ; preds = %18, %13
%22 = load i32, ptr %4, align 4
%23 = shl i32 %22, 1
store i32 %23, ptr %4, align 4
br label %24
24: ; preds = %21
%25 = load i32, ptr %3, align 4
%26 = add i32 %25, 1
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp ult i32 %27, 32
br i1 %28, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %9
%30 = load i32, ptr %6, align 4
%31 = call i32 @printabit(i32 noundef %30)
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %5, align 4
%35 = call i32 @printf(ptr noundef @.str, i32 noundef %32, i32 noundef %33, i32 noundef %34)
br label %36
36: ; preds = %29
%37 = load i32, ptr %2, align 4
%38 = add i32 %37, 1
store i32 %38, ptr %2, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp ult i32 %39, 10
br i1 %40, label %9, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %36
br label %41
41: ; preds = %._crit_edge3, %0
%42 = load i32, ptr %1, align 4
ret i32 %42
}
declare i32 @random(...) #1
declare i32 @printabit(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqqaiiwga.c'
source_filename = "/tmp/tmpqqaiiwga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT16_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"%5d %.10e %.10e %.10e %.10e\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 double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%8 = load i32, ptr @INT16_MAX, align 4
store i32 %8, ptr %3, align 4
store double 0.000000e+00, ptr %4, align 8
store double 0.000000e+00, ptr %5, align 8
store double 0.000000e+00, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
store i32 1, ptr %2, align 4
br label %9
9: ; preds = %45, %0
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp sle i32 %10, %11
br i1 %12, label %13, label %48
13: ; preds = %9
%14 = load i32, ptr %2, align 4
%15 = sitofp i32 %14 to double
%16 = fdiv double 1.000000e+00, %15
%17 = load double, ptr %4, align 8
%18 = fadd double %17, %16
store double %18, ptr %4, align 8
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %2, align 4
%21 = sub nsw i32 %19, %20
%22 = add nsw i32 %21, 1
%23 = sitofp i32 %22 to double
%24 = fdiv double 1.000000e+00, %23
%25 = load double, ptr %5, align 8
%26 = fadd double %25, %24
store double %26, ptr %5, align 8
%27 = load double, ptr %4, align 8
%28 = load i32, ptr %2, align 4
%29 = call double @log(i32 noundef %28)
%30 = fsub double %27, %29
store double %30, ptr %6, align 8
%31 = load double, ptr %5, align 8
%32 = load i32, ptr %2, align 4
%33 = call double @log(i32 noundef %32)
%34 = fsub double %31, %33
store double %34, ptr %7, align 8
%35 = load i32, ptr %2, align 4
%36 = load double, ptr %6, align 8
%37 = load double, ptr %7, align 8
%38 = load double, ptr %6, align 8
%39 = fsub double %38, 0x3FE2788CFC6FB619
%40 = call double @llvm.fabs.f64(double %39)
%41 = load double, ptr %7, align 8
%42 = fsub double %41, 0x3FE2788CFC6FB619
%43 = call double @llvm.fabs.f64(double %42)
%44 = call i32 @printf(ptr noundef @.str, i32 noundef %35, double noundef %36, double noundef %37, double noundef %40, double noundef %43)
br label %45
45: ; preds = %13
%46 = load i32, ptr %2, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %2, align 4
br label %9, !llvm.loop !6
48: ; preds = %9
ret i32 0
}
declare double @log(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, double noundef, double noundef, double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(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/tmpqqaiiwga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT16_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"%5d %.10e %.10e %.10e %.10e\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 double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%8 = load i32, ptr @INT16_MAX, align 4
store i32 %8, ptr %3, align 4
store double 0.000000e+00, ptr %4, align 8
store double 0.000000e+00, ptr %5, align 8
store double 0.000000e+00, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
store i32 1, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %.lr.ph, label %50
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %44
%13 = load i32, ptr %2, align 4
%14 = sitofp i32 %13 to double
%15 = fdiv double 1.000000e+00, %14
%16 = load double, ptr %4, align 8
%17 = fadd double %16, %15
store double %17, ptr %4, align 8
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %2, align 4
%20 = sub nsw i32 %18, %19
%21 = add nsw i32 %20, 1
%22 = sitofp i32 %21 to double
%23 = fdiv double 1.000000e+00, %22
%24 = load double, ptr %5, align 8
%25 = fadd double %24, %23
store double %25, ptr %5, align 8
%26 = load double, ptr %4, align 8
%27 = load i32, ptr %2, align 4
%28 = call double @log(i32 noundef %27)
%29 = fsub double %26, %28
store double %29, ptr %6, align 8
%30 = load double, ptr %5, align 8
%31 = load i32, ptr %2, align 4
%32 = call double @log(i32 noundef %31)
%33 = fsub double %30, %32
store double %33, ptr %7, align 8
%34 = load i32, ptr %2, align 4
%35 = load double, ptr %6, align 8
%36 = load double, ptr %7, align 8
%37 = load double, ptr %6, align 8
%38 = fsub double %37, 0x3FE2788CFC6FB619
%39 = call double @llvm.fabs.f64(double %38)
%40 = load double, ptr %7, align 8
%41 = fsub double %40, 0x3FE2788CFC6FB619
%42 = call double @llvm.fabs.f64(double %41)
%43 = call i32 @printf(ptr noundef @.str, i32 noundef %34, double noundef %35, double noundef %36, double noundef %39, double noundef %42)
br label %44
44: ; preds = %12
%45 = load i32, ptr %2, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %2, align 4
%47 = load i32, ptr %2, align 4
%48 = load i32, ptr %3, align 4
%49 = icmp sle i32 %47, %48
br i1 %49, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %50
50: ; preds = %._crit_edge, %0
ret i32 0
}
declare double @log(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, double noundef, double noundef, double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(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/tmpiiuzkbp_.c'
source_filename = "/tmp/tmpiiuzkbp_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rng_flt() #0 {
%1 = call i64 (...) @rng_dbl()
%2 = sitofp i64 %1 to float
ret float %2
}
declare i64 @rng_dbl(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiiuzkbp_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rng_flt() #0 {
%1 = call i64 (...) @rng_dbl()
%2 = sitofp i64 %1 to float
ret float %2
}
declare i64 @rng_dbl(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv3pcctls.c'
source_filename = "/tmp/tmpv3pcctls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"\0ANext palindrome is:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"1 \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"0 \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @generateNextPalindrome(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 i32 @printf(ptr noundef @.str)
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call i64 @ifAll9s(ptr noundef %7, i32 noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %24
11: ; preds = %2
%12 = call i32 @printf(ptr noundef @.str.1)
store i32 1, ptr %5, align 4
br label %13
13: ; preds = %19, %11
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %22
17: ; preds = %13
%18 = call i32 @printf(ptr noundef @.str.2)
br label %19
19: ; preds = %17
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
br label %13, !llvm.loop !6
22: ; preds = %13
%23 = call i32 @printf(ptr noundef @.str.3)
br label %31
24: ; preds = %2
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %4, align 4
%27 = call i32 @generateNextPalindromeUtil(ptr noundef %25, i32 noundef %26)
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %4, align 4
%30 = call i32 @printArray(ptr noundef %28, i32 noundef %29)
br label %31
31: ; preds = %24, %22
ret void
}
declare i32 @printf(ptr noundef) #1
declare i64 @ifAll9s(ptr noundef, i32 noundef) #1
declare i32 @generateNextPalindromeUtil(ptr noundef, i32 noundef) #1
declare i32 @printArray(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/tmpv3pcctls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"\0ANext palindrome is:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"1 \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"0 \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @generateNextPalindrome(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 i32 @printf(ptr noundef @.str)
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call i64 @ifAll9s(ptr noundef %7, i32 noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %26
11: ; preds = %2
%12 = call i32 @printf(ptr noundef @.str.1)
store i32 1, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %24
.lr.ph: ; preds = %11
br label %16
16: ; preds = %.lr.ph, %18
%17 = call i32 @printf(ptr noundef @.str.2)
br label %18
18: ; preds = %16
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %11
%25 = call i32 @printf(ptr noundef @.str.3)
br label %33
26: ; preds = %2
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %4, align 4
%29 = call i32 @generateNextPalindromeUtil(ptr noundef %27, i32 noundef %28)
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr %4, align 4
%32 = call i32 @printArray(ptr noundef %30, i32 noundef %31)
br label %33
33: ; preds = %26, %24
ret void
}
declare i32 @printf(ptr noundef) #1
declare i64 @ifAll9s(ptr noundef, i32 noundef) #1
declare i32 @generateNextPalindromeUtil(ptr noundef, i32 noundef) #1
declare i32 @printArray(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/tmpghxseg_h.c'
source_filename = "/tmp/tmpghxseg_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"0 \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"00 \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [101 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = getelementptr inbounds [101 x i8], ptr %2, i64 0, i64 0
%9 = load i32, ptr @stdin, align 4
%10 = call i32 @fgets(ptr noundef %8, i32 noundef 101, i32 noundef %9)
%11 = getelementptr inbounds [101 x i8], ptr %2, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %3, align 4
store i8 -1, ptr %4, align 1
store i32 0, ptr %5, align 4
br label %14
14: ; preds = %59, %0
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %62
18: ; preds = %14
store i32 6, ptr %6, align 4
br label %19
19: ; preds = %55, %18
%20 = load i32, ptr %6, align 4
%21 = icmp sge i32 %20, 0
br i1 %21, label %22, label %58
22: ; preds = %19
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [101 x i8], ptr %2, i64 0, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = load i32, ptr %6, align 4
%29 = shl i32 1, %28
%30 = and i32 %27, %29
%31 = load i32, ptr %6, align 4
%32 = ashr i32 %30, %31
store i32 %32, ptr %7, align 4
%33 = load i32, ptr %7, align 4
%34 = load i8, ptr %4, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %33, %35
br i1 %36, label %37, label %53
37: ; preds = %22
%38 = load i8, ptr %4, align 1
%39 = sext i8 %38 to i32
%40 = icmp ne i32 %39, -1
br i1 %40, label %41, label %43
41: ; preds = %37
%42 = call i32 @printf(ptr noundef @.str)
br label %43
43: ; preds = %41, %37
%44 = load i32, ptr %7, align 4
%45 = trunc i32 %44 to i8
store i8 %45, ptr %4, align 1
%46 = load i32, ptr %7, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %43
%49 = call i32 @printf(ptr noundef @.str.1)
br label %52
50: ; preds = %43
%51 = call i32 @printf(ptr noundef @.str.2)
br label %52
52: ; preds = %50, %48
br label %53
53: ; preds = %52, %22
%54 = call i32 @printf(ptr noundef @.str.3)
br label %55
55: ; preds = %53
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, -1
store i32 %57, ptr %6, align 4
br label %19, !llvm.loop !6
58: ; preds = %19
br label %59
59: ; preds = %58
%60 = load i32, ptr %5, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %5, align 4
br label %14, !llvm.loop !8
62: ; preds = %14
ret i32 0
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpghxseg_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"0 \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"00 \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [101 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = getelementptr inbounds [101 x i8], ptr %2, i64 0, i64 0
%9 = load i32, ptr @stdin, align 4
%10 = call i32 @fgets(ptr noundef %8, i32 noundef 101, i32 noundef %9)
%11 = getelementptr inbounds [101 x i8], ptr %2, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
%13 = sub nsw i32 %12, 1
store i32 %13, ptr %3, align 4
store i8 -1, ptr %4, align 1
store i32 0, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph2, label %65
.lr.ph2: ; preds = %0
br label %17
17: ; preds = %.lr.ph2, %59
store i32 6, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp sge i32 %18, 0
br i1 %19, label %.lr.ph, label %58
.lr.ph: ; preds = %17
br label %20
20: ; preds = %.lr.ph, %53
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [101 x i8], ptr %2, i64 0, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = load i32, ptr %6, align 4
%27 = shl i32 1, %26
%28 = and i32 %25, %27
%29 = load i32, ptr %6, align 4
%30 = ashr i32 %28, %29
store i32 %30, ptr %7, align 4
%31 = load i32, ptr %7, align 4
%32 = load i8, ptr %4, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %31, %33
br i1 %34, label %35, label %51
35: ; preds = %20
%36 = load i8, ptr %4, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, -1
br i1 %38, label %39, label %41
39: ; preds = %35
%40 = call i32 @printf(ptr noundef @.str)
br label %41
41: ; preds = %39, %35
%42 = load i32, ptr %7, align 4
%43 = trunc i32 %42 to i8
store i8 %43, ptr %4, align 1
%44 = load i32, ptr %7, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %41
%47 = call i32 @printf(ptr noundef @.str.1)
br label %50
48: ; preds = %41
%49 = call i32 @printf(ptr noundef @.str.2)
br label %50
50: ; preds = %48, %46
br label %51
51: ; preds = %50, %20
%52 = call i32 @printf(ptr noundef @.str.3)
br label %53
53: ; preds = %51
%54 = load i32, ptr %6, align 4
%55 = add nsw i32 %54, -1
store i32 %55, ptr %6, align 4
%56 = load i32, ptr %6, align 4
%57 = icmp sge i32 %56, 0
br i1 %57, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %58
58: ; preds = %._crit_edge, %17
br label %59
59: ; preds = %58
%60 = load i32, ptr %5, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %5, align 4
%62 = load i32, ptr %5, align 4
%63 = load i32, ptr %3, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %17, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %59
br label %65
65: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpgjng5nsv.c'
source_filename = "/tmp/tmpgjng5nsv.c"
target datalayout = "e-m:e-p270: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/tmpgjng5nsv.c"
target datalayout = "e-m:e-p270: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/tmp4ezu4ah6.c'
source_filename = "/tmp/tmp4ezu4ah6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.vector = private unnamed_addr constant [22 x i32] [i32 1, i32 12, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 5, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 15, i32 18, i32 7], align 16
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [22 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.vector, i64 88, i1 false)
%3 = getelementptr inbounds [22 x i32], ptr %2, i64 0, i64 0
%4 = call i32 @find_duplicates(ptr noundef %3, i32 noundef 22)
%5 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %5
}
; 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 @find_duplicates(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4ezu4ah6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.vector = private unnamed_addr constant [22 x i32] [i32 1, i32 12, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 5, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 15, i32 18, i32 7], align 16
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [22 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.vector, i64 88, i1 false)
%3 = getelementptr inbounds [22 x i32], ptr %2, i64 0, i64 0
%4 = call i32 @find_duplicates(ptr noundef %3, i32 noundef 22)
%5 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %5
}
; 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 @find_duplicates(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfsfb5k8b.c'
source_filename = "/tmp/tmpfsfb5k8b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"error: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @assertTrue(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
%10 = call i32 @exit(i32 noundef 0) #3
unreachable
11: ; preds = %2
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfsfb5k8b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"error: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @assertTrue(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
%10 = call i32 @exit(i32 noundef 0) #3
unreachable
11: ; preds = %2
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkqty47u1.c'
source_filename = "/tmp/tmpkqty47u1.c"
target datalayout = "e-m:e-p270: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/tmpkqty47u1.c"
target datalayout = "e-m:e-p270: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/tmp1lbebef3.c'
source_filename = "/tmp/tmp1lbebef3.c"
target datalayout = "e-m:e-p270: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/tmp1lbebef3.c"
target datalayout = "e-m:e-p270: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/tmp6839ik_2.c'
source_filename = "/tmp/tmp6839ik_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6839ik_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0f000gws.c'
source_filename = "/tmp/tmp0f000gws.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.days = private unnamed_addr constant [12 x i32] [i32 31, i32 28, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
@.str = private unnamed_addr constant [23 x i8] c"Month %2d has %d days\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [12 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.days, i64 48, i1 false)
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %16, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 12
br i1 %6, label %7, label %19
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 1
%10 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 0
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %14)
br label %16
16: ; preds = %7
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
br label %4, !llvm.loop !6
19: ; preds = %4
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0f000gws.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.days = private unnamed_addr constant [12 x i32] [i32 31, i32 28, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16
@.str = private unnamed_addr constant [23 x i8] c"Month %2d has %d days\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [12 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.days, i64 48, i1 false)
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 12
br i1 %5, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %15
%7 = load i32, ptr %3, align 4
%8 = add nsw i32 %7, 1
%9 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 0
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i32, ptr %9, i64 %11
%13 = load i32, ptr %12, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %13)
br label %15
15: ; preds = %6
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 12
br i1 %19, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %0
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkvdmek8f.c'
source_filename = "/tmp/tmpkvdmek8f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"Hello.\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"World\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [17 x i8] c" == Hello.World\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c" == Hello.\0A\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c" == World\0A\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c" == \0A\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.8 = private unnamed_addr constant [7 x i8] c" == a\0A\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"ab\00", align 1
@.str.10 = private unnamed_addr constant [9 x i8] c" == ba \0A\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"abc\00", align 1
@.str.12 = private unnamed_addr constant [9 x i8] c" == cba\0A\00", align 1
@.str.13 = private unnamed_addr constant [10 x i8] c"%ld == 1\0A\00", align 1
@.str.14 = private unnamed_addr constant [10 x i8] c"%ld == 0\0A\00", align 1
@.str.15 = private unnamed_addr constant [9 x i8] c"%c == H\0A\00", align 1
@.str.16 = private unnamed_addr constant [7 x i8] c" == b\0A\00", align 1
@.str.17 = private unnamed_addr constant [8 x i8] c" == bc\0A\00", align 1
@.str.18 = private unnamed_addr constant [7 x i8] c" == A\0A\00", align 1
@.str.19 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@.str.20 = private unnamed_addr constant [8 x i8] c" == Ab\0A\00", align 1
@.str.21 = private unnamed_addr constant [3 x i8] c"bc\00", align 1
@.str.22 = private unnamed_addr constant [9 x i8] c" == Abc\0A\00", align 1
@.str.23 = private unnamed_addr constant [3 x i8] c"aa\00", align 1
@.str.24 = private unnamed_addr constant [4 x i8] c"aaa\00", align 1
@.str.25 = private unnamed_addr constant [4 x i8] c"bbb\00", align 1
@.str.26 = private unnamed_addr constant [7 x i8] c" == 0\0A\00", align 1
@.str.27 = private unnamed_addr constant [8 x i8] c" == 10\0A\00", align 1
@.str.28 = private unnamed_addr constant [9 x i8] c" == -10\0A\00", align 1
@.str.29 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.30 = private unnamed_addr constant [11 x i8] c"%ld == 10\0A\00", align 1
@.str.31 = private unnamed_addr constant [3 x i8] c"10\00", align 1
@.str.32 = private unnamed_addr constant [12 x i8] c"%ld == +10\0A\00", align 1
@.str.33 = private unnamed_addr constant [4 x i8] c"+10\00", align 1
@.str.34 = private unnamed_addr constant [12 x i8] c"%ld == -10\0A\00", align 1
@.str.35 = private unnamed_addr constant [4 x i8] c"-10\00", align 1
@.str.36 = private unnamed_addr constant [9 x i8] c" == 0.0\0A\00", align 1
@.str.37 = private unnamed_addr constant [12 x i8] c" == 10.123\0A\00", align 1
@.str.38 = private unnamed_addr constant [11 x i8] c" = -10.34\0A\00", align 1
@.str.39 = private unnamed_addr constant [9 x i8] c"%d == 0\0A\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%7 = call ptr @create_string_len(i32 noundef 0)
store ptr %7, ptr %2, align 8
%8 = call ptr @create_string_copy(ptr noundef @.str)
store ptr %8, ptr %3, align 8
%9 = call ptr @create_string_copy(ptr noundef @.str.1)
store ptr %9, ptr %4, align 8
%10 = call ptr @create_string_len(i32 noundef 0)
store ptr %10, ptr %5, align 8
%11 = call ptr @create_string_copy(ptr noundef @.str.2)
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i32 @_prim_string_concat(ptr noundef %12, ptr noundef %13)
%15 = call i32 @_prim_string_print(i32 noundef %14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @_prim_string_concat(ptr noundef %17, ptr noundef %18)
%20 = call i32 @_prim_string_print(i32 noundef %19)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %4, align 8
%24 = call i32 @_prim_string_concat(ptr noundef %22, ptr noundef %23)
%25 = call i32 @_prim_string_print(i32 noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%27 = load ptr, ptr %3, align 8
%28 = load ptr, ptr %6, align 8
%29 = call i32 @_prim_string_concat(ptr noundef %27, ptr noundef %28)
%30 = call i32 @_prim_string_print(i32 noundef %29)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%32 = load ptr, ptr %6, align 8
%33 = load ptr, ptr %4, align 8
%34 = call i32 @_prim_string_concat(ptr noundef %32, ptr noundef %33)
%35 = call i32 @_prim_string_print(i32 noundef %34)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%37 = load ptr, ptr %5, align 8
%38 = load ptr, ptr %6, align 8
%39 = call i32 @_prim_string_concat(ptr noundef %37, ptr noundef %38)
%40 = call i32 @_prim_string_print(i32 noundef %39)
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%42 = load ptr, ptr %5, align 8
%43 = load ptr, ptr %6, align 8
%44 = call i32 @_prim_string_concat(ptr noundef %42, ptr noundef %43)
%45 = call i32 @_prim_string_print(i32 noundef %44)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%47 = call ptr @create_string_copy(ptr noundef @.str.2)
%48 = call i32 @_prim_string_reverse(ptr noundef %47)
%49 = call i32 @_prim_string_print(i32 noundef %48)
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%51 = call ptr @create_string_copy(ptr noundef @.str.7)
%52 = call i32 @_prim_string_reverse(ptr noundef %51)
%53 = call i32 @_prim_string_print(i32 noundef %52)
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%55 = call ptr @create_string_copy(ptr noundef @.str.9)
%56 = call i32 @_prim_string_reverse(ptr noundef %55)
%57 = call i32 @_prim_string_print(i32 noundef %56)
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%59 = call ptr @create_string_copy(ptr noundef @.str.11)
%60 = call i32 @_prim_string_reverse(ptr noundef %59)
%61 = call i32 @_prim_string_print(i32 noundef %60)
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%63 = load ptr, ptr %3, align 8
%64 = load ptr, ptr %3, align 8
%65 = call i32 @_prim_string_eq(ptr noundef %63, ptr noundef %64)
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %65)
%67 = load ptr, ptr %4, align 8
%68 = load ptr, ptr %4, align 8
%69 = call i32 @_prim_string_eq(ptr noundef %67, ptr noundef %68)
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %69)
%71 = load ptr, ptr %5, align 8
%72 = load ptr, ptr %5, align 8
%73 = call i32 @_prim_string_eq(ptr noundef %71, ptr noundef %72)
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %73)
%75 = load ptr, ptr %6, align 8
%76 = load ptr, ptr %6, align 8
%77 = call i32 @_prim_string_eq(ptr noundef %75, ptr noundef %76)
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %77)
%79 = load ptr, ptr %5, align 8
%80 = load ptr, ptr %6, align 8
%81 = call i32 @_prim_string_eq(ptr noundef %79, ptr noundef %80)
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %81)
%83 = load ptr, ptr %3, align 8
%84 = load ptr, ptr %4, align 8
%85 = call i32 @_prim_string_eq(ptr noundef %83, ptr noundef %84)
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %85)
%87 = load ptr, ptr %5, align 8
%88 = load ptr, ptr %3, align 8
%89 = call i32 @_prim_string_eq(ptr noundef %87, ptr noundef %88)
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %89)
%91 = load ptr, ptr %3, align 8
%92 = call i64 @_prim_string_head(ptr noundef %91)
%93 = trunc i64 %92 to i8
%94 = sext i8 %93 to i32
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %94)
%96 = call ptr @create_string_copy(ptr noundef @.str.7)
%97 = call i32 @_prim_string_tail(ptr noundef %96)
%98 = call i32 @_prim_string_print(i32 noundef %97)
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%100 = call ptr @create_string_copy(ptr noundef @.str.9)
%101 = call i32 @_prim_string_tail(ptr noundef %100)
%102 = call i32 @_prim_string_print(i32 noundef %101)
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
%104 = call ptr @create_string_copy(ptr noundef @.str.11)
%105 = call i32 @_prim_string_tail(ptr noundef %104)
%106 = call i32 @_prim_string_print(i32 noundef %105)
%107 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
%108 = load ptr, ptr %5, align 8
%109 = call i32 @_prim_string_cons(i32 noundef 65, ptr noundef %108)
%110 = call i32 @_prim_string_print(i32 noundef %109)
%111 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
%112 = call ptr @create_string_copy(ptr noundef @.str.19)
%113 = call i32 @_prim_string_cons(i32 noundef 65, ptr noundef %112)
%114 = call i32 @_prim_string_print(i32 noundef %113)
%115 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
%116 = call ptr @create_string_copy(ptr noundef @.str.21)
%117 = call i32 @_prim_string_cons(i32 noundef 65, ptr noundef %116)
%118 = call i32 @_prim_string_print(i32 noundef %117)
%119 = call i32 (ptr, ...) @printf(ptr noundef @.str.22)
%120 = call ptr @create_string_copy(ptr noundef @.str.2)
%121 = call ptr @create_string_copy(ptr noundef @.str.2)
%122 = call i32 @_prim_string_lt(ptr noundef %120, ptr noundef %121)
%123 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %122)
%124 = call ptr @create_string_copy(ptr noundef @.str.2)
%125 = call ptr @create_string_copy(ptr noundef @.str.7)
%126 = call i32 @_prim_string_lt(ptr noundef %124, ptr noundef %125)
%127 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %126)
%128 = call ptr @create_string_copy(ptr noundef @.str.7)
%129 = call ptr @create_string_copy(ptr noundef @.str.7)
%130 = call i32 @_prim_string_lt(ptr noundef %128, ptr noundef %129)
%131 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %130)
%132 = call ptr @create_string_copy(ptr noundef @.str.7)
%133 = call ptr @create_string_copy(ptr noundef @.str.23)
%134 = call i32 @_prim_string_lt(ptr noundef %132, ptr noundef %133)
%135 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %134)
%136 = call ptr @create_string_copy(ptr noundef @.str.23)
%137 = call ptr @create_string_copy(ptr noundef @.str.9)
%138 = call i32 @_prim_string_lt(ptr noundef %136, ptr noundef %137)
%139 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %138)
%140 = call ptr @create_string_copy(ptr noundef @.str.23)
%141 = call ptr @create_string_copy(ptr noundef @.str.9)
%142 = call i32 @_prim_string_lt(ptr noundef %140, ptr noundef %141)
%143 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %142)
%144 = call ptr @create_string_copy(ptr noundef @.str.24)
%145 = call ptr @create_string_copy(ptr noundef @.str.9)
%146 = call i32 @_prim_string_lt(ptr noundef %144, ptr noundef %145)
%147 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %146)
%148 = call ptr @create_string_copy(ptr noundef @.str.24)
%149 = call ptr @create_string_copy(ptr noundef @.str.2)
%150 = call i32 @_prim_string_lt(ptr noundef %148, ptr noundef %149)
%151 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %150)
%152 = call ptr @create_string_copy(ptr noundef @.str.25)
%153 = call ptr @create_string_copy(ptr noundef @.str.24)
%154 = call i32 @_prim_string_lt(ptr noundef %152, ptr noundef %153)
%155 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %154)
%156 = call i32 @_prim_int_str(i32 noundef 0)
%157 = call i32 @_prim_string_print(i32 noundef %156)
%158 = call i32 (ptr, ...) @printf(ptr noundef @.str.26)
%159 = call i32 @_prim_int_str(i32 noundef 10)
%160 = call i32 @_prim_string_print(i32 noundef %159)
%161 = call i32 (ptr, ...) @printf(ptr noundef @.str.27)
%162 = call i32 @_prim_int_str(i32 noundef -10)
%163 = call i32 @_prim_string_print(i32 noundef %162)
%164 = call i32 (ptr, ...) @printf(ptr noundef @.str.28)
%165 = call ptr @create_string_copy(ptr noundef @.str.29)
%166 = call i32 @_prim_str_int(ptr noundef %165)
%167 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %166)
%168 = call ptr @create_string_copy(ptr noundef @.str.31)
%169 = call i32 @_prim_str_int(ptr noundef %168)
%170 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, i32 noundef %169)
%171 = call ptr @create_string_copy(ptr noundef @.str.33)
%172 = call i32 @_prim_str_int(ptr noundef %171)
%173 = call i32 (ptr, ...) @printf(ptr noundef @.str.32, i32 noundef %172)
%174 = call ptr @create_string_copy(ptr noundef @.str.35)
%175 = call i32 @_prim_str_int(ptr noundef %174)
%176 = call i32 (ptr, ...) @printf(ptr noundef @.str.34, i32 noundef %175)
%177 = call i32 @_prim_float_string(double noundef 0.000000e+00)
%178 = call i32 @_prim_string_print(i32 noundef %177)
%179 = call i32 (ptr, ...) @printf(ptr noundef @.str.36)
%180 = call i32 @_prim_float_string(double noundef 1.012300e+01)
%181 = call i32 @_prim_string_print(i32 noundef %180)
%182 = call i32 (ptr, ...) @printf(ptr noundef @.str.37)
%183 = call i32 @_prim_float_string(double noundef -1.034000e+01)
%184 = call i32 @_prim_string_print(i32 noundef %183)
%185 = call i32 (ptr, ...) @printf(ptr noundef @.str.38)
%186 = load i32, ptr @stdin, align 4
%187 = call i32 @feof(i32 noundef %186)
%188 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, i32 noundef %187)
ret i32 0
}
declare ptr @create_string_len(i32 noundef) #1
declare ptr @create_string_copy(ptr noundef) #1
declare i32 @_prim_string_print(i32 noundef) #1
declare i32 @_prim_string_concat(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @_prim_string_reverse(ptr noundef) #1
declare i32 @_prim_string_eq(ptr noundef, ptr noundef) #1
declare i64 @_prim_string_head(ptr noundef) #1
declare i32 @_prim_string_tail(ptr noundef) #1
declare i32 @_prim_string_cons(i32 noundef, ptr noundef) #1
declare i32 @_prim_string_lt(ptr noundef, ptr noundef) #1
declare i32 @_prim_int_str(i32 noundef) #1
declare i32 @_prim_str_int(ptr noundef) #1
declare i32 @_prim_float_string(double noundef) #1
declare i32 @feof(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/tmpkvdmek8f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"Hello.\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"World\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [17 x i8] c" == Hello.World\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c" == Hello.\0A\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c" == World\0A\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c" == \0A\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.8 = private unnamed_addr constant [7 x i8] c" == a\0A\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"ab\00", align 1
@.str.10 = private unnamed_addr constant [9 x i8] c" == ba \0A\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"abc\00", align 1
@.str.12 = private unnamed_addr constant [9 x i8] c" == cba\0A\00", align 1
@.str.13 = private unnamed_addr constant [10 x i8] c"%ld == 1\0A\00", align 1
@.str.14 = private unnamed_addr constant [10 x i8] c"%ld == 0\0A\00", align 1
@.str.15 = private unnamed_addr constant [9 x i8] c"%c == H\0A\00", align 1
@.str.16 = private unnamed_addr constant [7 x i8] c" == b\0A\00", align 1
@.str.17 = private unnamed_addr constant [8 x i8] c" == bc\0A\00", align 1
@.str.18 = private unnamed_addr constant [7 x i8] c" == A\0A\00", align 1
@.str.19 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@.str.20 = private unnamed_addr constant [8 x i8] c" == Ab\0A\00", align 1
@.str.21 = private unnamed_addr constant [3 x i8] c"bc\00", align 1
@.str.22 = private unnamed_addr constant [9 x i8] c" == Abc\0A\00", align 1
@.str.23 = private unnamed_addr constant [3 x i8] c"aa\00", align 1
@.str.24 = private unnamed_addr constant [4 x i8] c"aaa\00", align 1
@.str.25 = private unnamed_addr constant [4 x i8] c"bbb\00", align 1
@.str.26 = private unnamed_addr constant [7 x i8] c" == 0\0A\00", align 1
@.str.27 = private unnamed_addr constant [8 x i8] c" == 10\0A\00", align 1
@.str.28 = private unnamed_addr constant [9 x i8] c" == -10\0A\00", align 1
@.str.29 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.30 = private unnamed_addr constant [11 x i8] c"%ld == 10\0A\00", align 1
@.str.31 = private unnamed_addr constant [3 x i8] c"10\00", align 1
@.str.32 = private unnamed_addr constant [12 x i8] c"%ld == +10\0A\00", align 1
@.str.33 = private unnamed_addr constant [4 x i8] c"+10\00", align 1
@.str.34 = private unnamed_addr constant [12 x i8] c"%ld == -10\0A\00", align 1
@.str.35 = private unnamed_addr constant [4 x i8] c"-10\00", align 1
@.str.36 = private unnamed_addr constant [9 x i8] c" == 0.0\0A\00", align 1
@.str.37 = private unnamed_addr constant [12 x i8] c" == 10.123\0A\00", align 1
@.str.38 = private unnamed_addr constant [11 x i8] c" = -10.34\0A\00", align 1
@.str.39 = private unnamed_addr constant [9 x i8] c"%d == 0\0A\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%7 = call ptr @create_string_len(i32 noundef 0)
store ptr %7, ptr %2, align 8
%8 = call ptr @create_string_copy(ptr noundef @.str)
store ptr %8, ptr %3, align 8
%9 = call ptr @create_string_copy(ptr noundef @.str.1)
store ptr %9, ptr %4, align 8
%10 = call ptr @create_string_len(i32 noundef 0)
store ptr %10, ptr %5, align 8
%11 = call ptr @create_string_copy(ptr noundef @.str.2)
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %4, align 8
%14 = call i32 @_prim_string_concat(ptr noundef %12, ptr noundef %13)
%15 = call i32 @_prim_string_print(i32 noundef %14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @_prim_string_concat(ptr noundef %17, ptr noundef %18)
%20 = call i32 @_prim_string_print(i32 noundef %19)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %4, align 8
%24 = call i32 @_prim_string_concat(ptr noundef %22, ptr noundef %23)
%25 = call i32 @_prim_string_print(i32 noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%27 = load ptr, ptr %3, align 8
%28 = load ptr, ptr %6, align 8
%29 = call i32 @_prim_string_concat(ptr noundef %27, ptr noundef %28)
%30 = call i32 @_prim_string_print(i32 noundef %29)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%32 = load ptr, ptr %6, align 8
%33 = load ptr, ptr %4, align 8
%34 = call i32 @_prim_string_concat(ptr noundef %32, ptr noundef %33)
%35 = call i32 @_prim_string_print(i32 noundef %34)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%37 = load ptr, ptr %5, align 8
%38 = load ptr, ptr %6, align 8
%39 = call i32 @_prim_string_concat(ptr noundef %37, ptr noundef %38)
%40 = call i32 @_prim_string_print(i32 noundef %39)
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%42 = load ptr, ptr %5, align 8
%43 = load ptr, ptr %6, align 8
%44 = call i32 @_prim_string_concat(ptr noundef %42, ptr noundef %43)
%45 = call i32 @_prim_string_print(i32 noundef %44)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%47 = call ptr @create_string_copy(ptr noundef @.str.2)
%48 = call i32 @_prim_string_reverse(ptr noundef %47)
%49 = call i32 @_prim_string_print(i32 noundef %48)
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%51 = call ptr @create_string_copy(ptr noundef @.str.7)
%52 = call i32 @_prim_string_reverse(ptr noundef %51)
%53 = call i32 @_prim_string_print(i32 noundef %52)
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%55 = call ptr @create_string_copy(ptr noundef @.str.9)
%56 = call i32 @_prim_string_reverse(ptr noundef %55)
%57 = call i32 @_prim_string_print(i32 noundef %56)
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%59 = call ptr @create_string_copy(ptr noundef @.str.11)
%60 = call i32 @_prim_string_reverse(ptr noundef %59)
%61 = call i32 @_prim_string_print(i32 noundef %60)
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%63 = load ptr, ptr %3, align 8
%64 = load ptr, ptr %3, align 8
%65 = call i32 @_prim_string_eq(ptr noundef %63, ptr noundef %64)
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %65)
%67 = load ptr, ptr %4, align 8
%68 = load ptr, ptr %4, align 8
%69 = call i32 @_prim_string_eq(ptr noundef %67, ptr noundef %68)
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %69)
%71 = load ptr, ptr %5, align 8
%72 = load ptr, ptr %5, align 8
%73 = call i32 @_prim_string_eq(ptr noundef %71, ptr noundef %72)
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %73)
%75 = load ptr, ptr %6, align 8
%76 = load ptr, ptr %6, align 8
%77 = call i32 @_prim_string_eq(ptr noundef %75, ptr noundef %76)
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %77)
%79 = load ptr, ptr %5, align 8
%80 = load ptr, ptr %6, align 8
%81 = call i32 @_prim_string_eq(ptr noundef %79, ptr noundef %80)
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %81)
%83 = load ptr, ptr %3, align 8
%84 = load ptr, ptr %4, align 8
%85 = call i32 @_prim_string_eq(ptr noundef %83, ptr noundef %84)
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %85)
%87 = load ptr, ptr %5, align 8
%88 = load ptr, ptr %3, align 8
%89 = call i32 @_prim_string_eq(ptr noundef %87, ptr noundef %88)
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %89)
%91 = load ptr, ptr %3, align 8
%92 = call i64 @_prim_string_head(ptr noundef %91)
%93 = trunc i64 %92 to i8
%94 = sext i8 %93 to i32
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %94)
%96 = call ptr @create_string_copy(ptr noundef @.str.7)
%97 = call i32 @_prim_string_tail(ptr noundef %96)
%98 = call i32 @_prim_string_print(i32 noundef %97)
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%100 = call ptr @create_string_copy(ptr noundef @.str.9)
%101 = call i32 @_prim_string_tail(ptr noundef %100)
%102 = call i32 @_prim_string_print(i32 noundef %101)
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
%104 = call ptr @create_string_copy(ptr noundef @.str.11)
%105 = call i32 @_prim_string_tail(ptr noundef %104)
%106 = call i32 @_prim_string_print(i32 noundef %105)
%107 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
%108 = load ptr, ptr %5, align 8
%109 = call i32 @_prim_string_cons(i32 noundef 65, ptr noundef %108)
%110 = call i32 @_prim_string_print(i32 noundef %109)
%111 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
%112 = call ptr @create_string_copy(ptr noundef @.str.19)
%113 = call i32 @_prim_string_cons(i32 noundef 65, ptr noundef %112)
%114 = call i32 @_prim_string_print(i32 noundef %113)
%115 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
%116 = call ptr @create_string_copy(ptr noundef @.str.21)
%117 = call i32 @_prim_string_cons(i32 noundef 65, ptr noundef %116)
%118 = call i32 @_prim_string_print(i32 noundef %117)
%119 = call i32 (ptr, ...) @printf(ptr noundef @.str.22)
%120 = call ptr @create_string_copy(ptr noundef @.str.2)
%121 = call ptr @create_string_copy(ptr noundef @.str.2)
%122 = call i32 @_prim_string_lt(ptr noundef %120, ptr noundef %121)
%123 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %122)
%124 = call ptr @create_string_copy(ptr noundef @.str.2)
%125 = call ptr @create_string_copy(ptr noundef @.str.7)
%126 = call i32 @_prim_string_lt(ptr noundef %124, ptr noundef %125)
%127 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %126)
%128 = call ptr @create_string_copy(ptr noundef @.str.7)
%129 = call ptr @create_string_copy(ptr noundef @.str.7)
%130 = call i32 @_prim_string_lt(ptr noundef %128, ptr noundef %129)
%131 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %130)
%132 = call ptr @create_string_copy(ptr noundef @.str.7)
%133 = call ptr @create_string_copy(ptr noundef @.str.23)
%134 = call i32 @_prim_string_lt(ptr noundef %132, ptr noundef %133)
%135 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %134)
%136 = call ptr @create_string_copy(ptr noundef @.str.23)
%137 = call ptr @create_string_copy(ptr noundef @.str.9)
%138 = call i32 @_prim_string_lt(ptr noundef %136, ptr noundef %137)
%139 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %138)
%140 = call ptr @create_string_copy(ptr noundef @.str.23)
%141 = call ptr @create_string_copy(ptr noundef @.str.9)
%142 = call i32 @_prim_string_lt(ptr noundef %140, ptr noundef %141)
%143 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %142)
%144 = call ptr @create_string_copy(ptr noundef @.str.24)
%145 = call ptr @create_string_copy(ptr noundef @.str.9)
%146 = call i32 @_prim_string_lt(ptr noundef %144, ptr noundef %145)
%147 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %146)
%148 = call ptr @create_string_copy(ptr noundef @.str.24)
%149 = call ptr @create_string_copy(ptr noundef @.str.2)
%150 = call i32 @_prim_string_lt(ptr noundef %148, ptr noundef %149)
%151 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %150)
%152 = call ptr @create_string_copy(ptr noundef @.str.25)
%153 = call ptr @create_string_copy(ptr noundef @.str.24)
%154 = call i32 @_prim_string_lt(ptr noundef %152, ptr noundef %153)
%155 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %154)
%156 = call i32 @_prim_int_str(i32 noundef 0)
%157 = call i32 @_prim_string_print(i32 noundef %156)
%158 = call i32 (ptr, ...) @printf(ptr noundef @.str.26)
%159 = call i32 @_prim_int_str(i32 noundef 10)
%160 = call i32 @_prim_string_print(i32 noundef %159)
%161 = call i32 (ptr, ...) @printf(ptr noundef @.str.27)
%162 = call i32 @_prim_int_str(i32 noundef -10)
%163 = call i32 @_prim_string_print(i32 noundef %162)
%164 = call i32 (ptr, ...) @printf(ptr noundef @.str.28)
%165 = call ptr @create_string_copy(ptr noundef @.str.29)
%166 = call i32 @_prim_str_int(ptr noundef %165)
%167 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %166)
%168 = call ptr @create_string_copy(ptr noundef @.str.31)
%169 = call i32 @_prim_str_int(ptr noundef %168)
%170 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, i32 noundef %169)
%171 = call ptr @create_string_copy(ptr noundef @.str.33)
%172 = call i32 @_prim_str_int(ptr noundef %171)
%173 = call i32 (ptr, ...) @printf(ptr noundef @.str.32, i32 noundef %172)
%174 = call ptr @create_string_copy(ptr noundef @.str.35)
%175 = call i32 @_prim_str_int(ptr noundef %174)
%176 = call i32 (ptr, ...) @printf(ptr noundef @.str.34, i32 noundef %175)
%177 = call i32 @_prim_float_string(double noundef 0.000000e+00)
%178 = call i32 @_prim_string_print(i32 noundef %177)
%179 = call i32 (ptr, ...) @printf(ptr noundef @.str.36)
%180 = call i32 @_prim_float_string(double noundef 1.012300e+01)
%181 = call i32 @_prim_string_print(i32 noundef %180)
%182 = call i32 (ptr, ...) @printf(ptr noundef @.str.37)
%183 = call i32 @_prim_float_string(double noundef -1.034000e+01)
%184 = call i32 @_prim_string_print(i32 noundef %183)
%185 = call i32 (ptr, ...) @printf(ptr noundef @.str.38)
%186 = load i32, ptr @stdin, align 4
%187 = call i32 @feof(i32 noundef %186)
%188 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, i32 noundef %187)
ret i32 0
}
declare ptr @create_string_len(i32 noundef) #1
declare ptr @create_string_copy(ptr noundef) #1
declare i32 @_prim_string_print(i32 noundef) #1
declare i32 @_prim_string_concat(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @_prim_string_reverse(ptr noundef) #1
declare i32 @_prim_string_eq(ptr noundef, ptr noundef) #1
declare i64 @_prim_string_head(ptr noundef) #1
declare i32 @_prim_string_tail(ptr noundef) #1
declare i32 @_prim_string_cons(i32 noundef, ptr noundef) #1
declare i32 @_prim_string_lt(ptr noundef, ptr noundef) #1
declare i32 @_prim_int_str(i32 noundef) #1
declare i32 @_prim_str_int(ptr noundef) #1
declare i32 @_prim_float_string(double noundef) #1
declare i32 @feof(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/tmpei8ih1qj.c'
source_filename = "/tmp/tmpei8ih1qj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 @numA(i32 noundef 10)
store i32 %8, ptr %6, align 4
%9 = call i32 @numB(i32 noundef 20)
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = add nsw i32 %10, %11
ret i32 %12
}
declare i32 @numA(i32 noundef) #1
declare i32 @numB(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/tmpei8ih1qj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 @numA(i32 noundef 10)
store i32 %8, ptr %6, align 4
%9 = call i32 @numB(i32 noundef 20)
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = add nsw i32 %10, %11
ret i32 %12
}
declare i32 @numA(i32 noundef) #1
declare i32 @numB(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/tmpzwqjjqq2.c'
source_filename = "/tmp/tmpzwqjjqq2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"(\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c")\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"]\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"[\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"!\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"~\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"+\00", align 1
@.str.10 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.11 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.12 = private unnamed_addr constant [2 x i8] c"&\00", align 1
@.str.13 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.14 = private unnamed_addr constant [2 x i8] c"%\00", align 1
@.str.15 = private unnamed_addr constant [2 x i8] c"<\00", align 1
@.str.16 = private unnamed_addr constant [2 x i8] c">\00", align 1
@.str.17 = private unnamed_addr constant [2 x i8] c"=\00", align 1
@.str.18 = private unnamed_addr constant [2 x i8] c"|\00", align 1
@.str.19 = private unnamed_addr constant [2 x i8] c"^\00", align 1
@.str.20 = private unnamed_addr constant [2 x i8] c"?\00", align 1
@.str.21 = private unnamed_addr constant [2 x i8] c":\00", align 1
@.str.22 = private unnamed_addr constant [2 x i8] c";\00", align 1
@.str.23 = private unnamed_addr constant [2 x i8] c"'\00", align 1
@.str.24 = private unnamed_addr constant [2 x i8] c"\22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @extract_token(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = getelementptr inbounds i8, ptr %4, i64 0
%6 = load i8, ptr %5, align 1
%7 = sext i8 %6 to i32
switch i32 %7, label %33 [
i32 123, label %8
i32 125, label %9
i32 40, label %10
i32 41, label %11
i32 93, label %12
i32 91, label %13
i32 46, label %14
i32 33, label %15
i32 126, label %16
i32 43, label %17
i32 45, label %18
i32 42, label %19
i32 38, label %20
i32 47, label %21
i32 37, label %22
i32 60, label %23
i32 62, label %24
i32 61, label %25
i32 124, label %26
i32 94, label %27
i32 63, label %28
i32 58, label %29
i32 59, label %30
i32 39, label %31
i32 34, label %32
]
8: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %36
9: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %36
10: ; preds = %1
store ptr @.str.2, ptr %2, align 8
br label %36
11: ; preds = %1
store ptr @.str.3, ptr %2, align 8
br label %36
12: ; preds = %1
store ptr @.str.4, ptr %2, align 8
br label %36
13: ; preds = %1
store ptr @.str.5, ptr %2, align 8
br label %36
14: ; preds = %1
store ptr @.str.6, ptr %2, align 8
br label %36
15: ; preds = %1
store ptr @.str.7, ptr %2, align 8
br label %36
16: ; preds = %1
store ptr @.str.8, ptr %2, align 8
br label %36
17: ; preds = %1
store ptr @.str.9, ptr %2, align 8
br label %36
18: ; preds = %1
store ptr @.str.10, ptr %2, align 8
br label %36
19: ; preds = %1
store ptr @.str.11, ptr %2, align 8
br label %36
20: ; preds = %1
store ptr @.str.12, ptr %2, align 8
br label %36
21: ; preds = %1
store ptr @.str.13, ptr %2, align 8
br label %36
22: ; preds = %1
store ptr @.str.14, ptr %2, align 8
br label %36
23: ; preds = %1
store ptr @.str.15, ptr %2, align 8
br label %36
24: ; preds = %1
store ptr @.str.16, ptr %2, align 8
br label %36
25: ; preds = %1
store ptr @.str.17, ptr %2, align 8
br label %36
26: ; preds = %1
store ptr @.str.18, ptr %2, align 8
br label %36
27: ; preds = %1
store ptr @.str.19, ptr %2, align 8
br label %36
28: ; preds = %1
store ptr @.str.20, ptr %2, align 8
br label %36
29: ; preds = %1
store ptr @.str.21, ptr %2, align 8
br label %36
30: ; preds = %1
store ptr @.str.22, ptr %2, align 8
br label %36
31: ; preds = %1
store ptr @.str.23, ptr %2, align 8
br label %36
32: ; preds = %1
store ptr @.str.24, ptr %2, align 8
br label %36
33: ; preds = %1
%34 = load ptr, ptr %3, align 8
%35 = call ptr @return_keyword(ptr noundef %34)
store ptr %35, ptr %2, align 8
br label %36
36: ; preds = %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8
%37 = load ptr, ptr %2, align 8
ret ptr %37
}
declare ptr @return_keyword(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzwqjjqq2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"(\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c")\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"]\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"[\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"!\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"~\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"+\00", align 1
@.str.10 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.11 = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.12 = private unnamed_addr constant [2 x i8] c"&\00", align 1
@.str.13 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.14 = private unnamed_addr constant [2 x i8] c"%\00", align 1
@.str.15 = private unnamed_addr constant [2 x i8] c"<\00", align 1
@.str.16 = private unnamed_addr constant [2 x i8] c">\00", align 1
@.str.17 = private unnamed_addr constant [2 x i8] c"=\00", align 1
@.str.18 = private unnamed_addr constant [2 x i8] c"|\00", align 1
@.str.19 = private unnamed_addr constant [2 x i8] c"^\00", align 1
@.str.20 = private unnamed_addr constant [2 x i8] c"?\00", align 1
@.str.21 = private unnamed_addr constant [2 x i8] c":\00", align 1
@.str.22 = private unnamed_addr constant [2 x i8] c";\00", align 1
@.str.23 = private unnamed_addr constant [2 x i8] c"'\00", align 1
@.str.24 = private unnamed_addr constant [2 x i8] c"\22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @extract_token(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = getelementptr inbounds i8, ptr %4, i64 0
%6 = load i8, ptr %5, align 1
%7 = sext i8 %6 to i32
switch i32 %7, label %33 [
i32 123, label %8
i32 125, label %9
i32 40, label %10
i32 41, label %11
i32 93, label %12
i32 91, label %13
i32 46, label %14
i32 33, label %15
i32 126, label %16
i32 43, label %17
i32 45, label %18
i32 42, label %19
i32 38, label %20
i32 47, label %21
i32 37, label %22
i32 60, label %23
i32 62, label %24
i32 61, label %25
i32 124, label %26
i32 94, label %27
i32 63, label %28
i32 58, label %29
i32 59, label %30
i32 39, label %31
i32 34, label %32
]
8: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %36
9: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %36
10: ; preds = %1
store ptr @.str.2, ptr %2, align 8
br label %36
11: ; preds = %1
store ptr @.str.3, ptr %2, align 8
br label %36
12: ; preds = %1
store ptr @.str.4, ptr %2, align 8
br label %36
13: ; preds = %1
store ptr @.str.5, ptr %2, align 8
br label %36
14: ; preds = %1
store ptr @.str.6, ptr %2, align 8
br label %36
15: ; preds = %1
store ptr @.str.7, ptr %2, align 8
br label %36
16: ; preds = %1
store ptr @.str.8, ptr %2, align 8
br label %36
17: ; preds = %1
store ptr @.str.9, ptr %2, align 8
br label %36
18: ; preds = %1
store ptr @.str.10, ptr %2, align 8
br label %36
19: ; preds = %1
store ptr @.str.11, ptr %2, align 8
br label %36
20: ; preds = %1
store ptr @.str.12, ptr %2, align 8
br label %36
21: ; preds = %1
store ptr @.str.13, ptr %2, align 8
br label %36
22: ; preds = %1
store ptr @.str.14, ptr %2, align 8
br label %36
23: ; preds = %1
store ptr @.str.15, ptr %2, align 8
br label %36
24: ; preds = %1
store ptr @.str.16, ptr %2, align 8
br label %36
25: ; preds = %1
store ptr @.str.17, ptr %2, align 8
br label %36
26: ; preds = %1
store ptr @.str.18, ptr %2, align 8
br label %36
27: ; preds = %1
store ptr @.str.19, ptr %2, align 8
br label %36
28: ; preds = %1
store ptr @.str.20, ptr %2, align 8
br label %36
29: ; preds = %1
store ptr @.str.21, ptr %2, align 8
br label %36
30: ; preds = %1
store ptr @.str.22, ptr %2, align 8
br label %36
31: ; preds = %1
store ptr @.str.23, ptr %2, align 8
br label %36
32: ; preds = %1
store ptr @.str.24, ptr %2, align 8
br label %36
33: ; preds = %1
%34 = load ptr, ptr %3, align 8
%35 = call ptr @return_keyword(ptr noundef %34)
store ptr %35, ptr %2, align 8
br label %36
36: ; preds = %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8
%37 = load ptr, ptr %2, align 8
ret ptr %37
}
declare ptr @return_keyword(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe43_fsys.c'
source_filename = "/tmp/tmpe43_fsys.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 (...) @kalkulator()
ret void
}
declare i32 @kalkulator(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe43_fsys.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 (...) @kalkulator()
ret void
}
declare i32 @kalkulator(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp21gr3xcm.c'
source_filename = "/tmp/tmp21gr3xcm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_violation(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i16, align 2
%9 = alloca i8, align 1
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %7, align 8
br label %12
12: ; preds = %83, %2
%13 = load ptr, ptr %4, align 8
%14 = load i8, ptr %13, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %16, label %86
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = load i8, ptr %17, align 1
store i8 %18, ptr %9, align 1
%19 = load i8, ptr %9, align 1
%20 = call i32 @count_highbits(i8 noundef zeroext %19)
store i32 %20, ptr %10, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %43
23: ; preds = %16
%24 = load ptr, ptr %4, align 8
store ptr %24, ptr %7, align 8
%25 = load i8, ptr %9, align 1
%26 = load i32, ptr %10, align 4
%27 = call zeroext i16 @get_lower_bits(i8 noundef zeroext %25, i32 noundef %26)
store i16 %27, ptr %8, align 2
%28 = load i32, ptr %10, align 4
%29 = icmp sgt i32 %28, 4
br i1 %29, label %33, label %30
30: ; preds = %23
%31 = load i32, ptr %10, align 4
%32 = icmp eq i32 %31, 1
br i1 %32, label %33, label %35
33: ; preds = %30, %23
%34 = load ptr, ptr %7, align 8
store ptr %34, ptr %3, align 8
br label %93
35: ; preds = %30
%36 = load i32, ptr %10, align 4
%37 = icmp sgt i32 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %35
%39 = load i32, ptr %10, align 4
%40 = sub nsw i32 %39, 1
store i32 %40, ptr %6, align 4
br label %41
41: ; preds = %38, %35
br label %42
42: ; preds = %41
br label %63
43: ; preds = %16
%44 = load i32, ptr %10, align 4
%45 = icmp ne i32 %44, 1
br i1 %45, label %46, label %48
46: ; preds = %43
%47 = load ptr, ptr %7, align 8
store ptr %47, ptr %3, align 8
br label %93
48: ; preds = %43
%49 = load i16, ptr %8, align 2
%50 = zext i16 %49 to i32
%51 = shl i32 %50, 6
%52 = trunc i32 %51 to i16
store i16 %52, ptr %8, align 2
%53 = load i8, ptr %9, align 1
%54 = load i32, ptr %10, align 4
%55 = call zeroext i16 @get_lower_bits(i8 noundef zeroext %53, i32 noundef %54)
%56 = zext i16 %55 to i32
%57 = load i16, ptr %8, align 2
%58 = zext i16 %57 to i32
%59 = add nsw i32 %58, %56
%60 = trunc i32 %59 to i16
store i16 %60, ptr %8, align 2
%61 = load i32, ptr %6, align 4
%62 = add nsw i32 %61, -1
store i32 %62, ptr %6, align 4
br label %63
63: ; preds = %48, %42
%64 = load i32, ptr %6, align 4
%65 = icmp eq i32 %64, 0
br i1 %65, label %66, label %83
66: ; preds = %63
%67 = load i16, ptr %8, align 2
%68 = call i64 @is_not_printable(i16 noundef zeroext %67)
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %72
70: ; preds = %66
%71 = load ptr, ptr %7, align 8
store ptr %71, ptr %3, align 8
br label %93
72: ; preds = %66
%73 = load i32, ptr %5, align 4
%74 = icmp ne i32 %73, 0
br i1 %74, label %75, label %81
75: ; preds = %72
%76 = load i16, ptr %8, align 2
%77 = zext i16 %76 to i32
%78 = icmp eq i32 %77, 35
br i1 %78, label %79, label %81
79: ; preds = %75
%80 = load ptr, ptr %7, align 8
store ptr %80, ptr %3, align 8
br label %93
81: ; preds = %75, %72
br label %82
82: ; preds = %81
br label %83
83: ; preds = %82, %63
%84 = load ptr, ptr %4, align 8
%85 = getelementptr inbounds i8, ptr %84, i32 1
store ptr %85, ptr %4, align 8
br label %12, !llvm.loop !6
86: ; preds = %12
%87 = load i32, ptr %6, align 4
%88 = icmp eq i32 %87, 0
br i1 %88, label %89, label %91
89: ; preds = %86
%90 = load ptr, ptr %4, align 8
store ptr %90, ptr %3, align 8
br label %93
91: ; preds = %86
%92 = load ptr, ptr %7, align 8
store ptr %92, ptr %3, align 8
br label %93
93: ; preds = %91, %89, %79, %70, %46, %33
%94 = load ptr, ptr %3, align 8
ret ptr %94
}
declare i32 @count_highbits(i8 noundef zeroext) #1
declare zeroext i16 @get_lower_bits(i8 noundef zeroext, i32 noundef) #1
declare i64 @is_not_printable(i16 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp21gr3xcm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_violation(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i16, align 2
%9 = alloca i8, align 1
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %.lr.ph, label %88
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %82
%16 = load ptr, ptr %4, align 8
%17 = load i8, ptr %16, align 1
store i8 %17, ptr %9, align 1
%18 = load i8, ptr %9, align 1
%19 = call i32 @count_highbits(i8 noundef zeroext %18)
store i32 %19, ptr %10, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %42
22: ; preds = %15
%23 = load ptr, ptr %4, align 8
store ptr %23, ptr %7, align 8
%24 = load i8, ptr %9, align 1
%25 = load i32, ptr %10, align 4
%26 = call zeroext i16 @get_lower_bits(i8 noundef zeroext %24, i32 noundef %25)
store i16 %26, ptr %8, align 2
%27 = load i32, ptr %10, align 4
%28 = icmp sgt i32 %27, 4
br i1 %28, label %32, label %29
29: ; preds = %22
%30 = load i32, ptr %10, align 4
%31 = icmp eq i32 %30, 1
br i1 %31, label %32, label %34
32: ; preds = %29, %22
%33 = load ptr, ptr %7, align 8
store ptr %33, ptr %3, align 8
br label %95
34: ; preds = %29
%35 = load i32, ptr %10, align 4
%36 = icmp sgt i32 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %34
%38 = load i32, ptr %10, align 4
%39 = sub nsw i32 %38, 1
store i32 %39, ptr %6, align 4
br label %40
40: ; preds = %37, %34
br label %41
41: ; preds = %40
br label %62
42: ; preds = %15
%43 = load i32, ptr %10, align 4
%44 = icmp ne i32 %43, 1
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = load ptr, ptr %7, align 8
store ptr %46, ptr %3, align 8
br label %95
47: ; preds = %42
%48 = load i16, ptr %8, align 2
%49 = zext i16 %48 to i32
%50 = shl i32 %49, 6
%51 = trunc i32 %50 to i16
store i16 %51, ptr %8, align 2
%52 = load i8, ptr %9, align 1
%53 = load i32, ptr %10, align 4
%54 = call zeroext i16 @get_lower_bits(i8 noundef zeroext %52, i32 noundef %53)
%55 = zext i16 %54 to i32
%56 = load i16, ptr %8, align 2
%57 = zext i16 %56 to i32
%58 = add nsw i32 %57, %55
%59 = trunc i32 %58 to i16
store i16 %59, ptr %8, align 2
%60 = load i32, ptr %6, align 4
%61 = add nsw i32 %60, -1
store i32 %61, ptr %6, align 4
br label %62
62: ; preds = %47, %41
%63 = load i32, ptr %6, align 4
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %82
65: ; preds = %62
%66 = load i16, ptr %8, align 2
%67 = call i64 @is_not_printable(i16 noundef zeroext %66)
%68 = icmp ne i64 %67, 0
br i1 %68, label %69, label %71
69: ; preds = %65
%70 = load ptr, ptr %7, align 8
store ptr %70, ptr %3, align 8
br label %95
71: ; preds = %65
%72 = load i32, ptr %5, align 4
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %80
74: ; preds = %71
%75 = load i16, ptr %8, align 2
%76 = zext i16 %75 to i32
%77 = icmp eq i32 %76, 35
br i1 %77, label %78, label %80
78: ; preds = %74
%79 = load ptr, ptr %7, align 8
store ptr %79, ptr %3, align 8
br label %95
80: ; preds = %74, %71
br label %81
81: ; preds = %80
br label %82
82: ; preds = %81, %62
%83 = load ptr, ptr %4, align 8
%84 = getelementptr inbounds i8, ptr %83, i32 1
store ptr %84, ptr %4, align 8
%85 = load ptr, ptr %4, align 8
%86 = load i8, ptr %85, align 1
%87 = icmp ne i8 %86, 0
br i1 %87, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %82
br label %88
88: ; preds = %._crit_edge, %2
%89 = load i32, ptr %6, align 4
%90 = icmp eq i32 %89, 0
br i1 %90, label %91, label %93
91: ; preds = %88
%92 = load ptr, ptr %4, align 8
store ptr %92, ptr %3, align 8
br label %95
93: ; preds = %88
%94 = load ptr, ptr %7, align 8
store ptr %94, ptr %3, align 8
br label %95
95: ; preds = %93, %91, %78, %69, %45, %32
%96 = load ptr, ptr %3, align 8
ret ptr %96
}
declare i32 @count_highbits(i8 noundef zeroext) #1
declare zeroext i16 @get_lower_bits(i8 noundef zeroext, i32 noundef) #1
declare i64 @is_not_printable(i16 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjkdk0doe.c'
source_filename = "/tmp/tmpjkdk0doe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Digite o inicio do intervalo: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c" %Lf\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"Digite o final do intervalo: \00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"int: %Lf\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 x86_fp80, align 16
%7 = alloca x86_fp80, align 16
%8 = alloca x86_fp80, align 16
%9 = alloca x86_fp80, align 16
%10 = alloca x86_fp80, align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store x86_fp80 0xK3FE189705F4136B4A800, ptr %6, align 16
store x86_fp80 0xK00000000000000000000, ptr %7, align 16
store x86_fp80 0xK00000000000000000000, ptr %10, align 16
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9)
%15 = load x86_fp80, ptr %8, align 16
store x86_fp80 %15, ptr %7, align 16
br label %16
16: ; preds = %20, %2
%17 = load x86_fp80, ptr %7, align 16
%18 = load x86_fp80, ptr %9, align 16
%19 = fcmp ole x86_fp80 %17, %18
br i1 %19, label %20, label %30
20: ; preds = %16
%21 = load x86_fp80, ptr %6, align 16
%22 = load x86_fp80, ptr %7, align 16
%23 = fadd x86_fp80 %22, %21
store x86_fp80 %23, ptr %7, align 16
%24 = load x86_fp80, ptr %6, align 16
%25 = fmul x86_fp80 %24, 0xK40008000000000000000
%26 = load x86_fp80, ptr %7, align 16
%27 = call x86_fp80 @pow(x86_fp80 noundef %26, i32 noundef 3)
%28 = load x86_fp80, ptr %10, align 16
%29 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %25, x86_fp80 %27, x86_fp80 %28)
store x86_fp80 %29, ptr %10, align 16
br label %16, !llvm.loop !6
30: ; preds = %16
%31 = load x86_fp80, ptr %10, align 16
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, x86_fp80 noundef %31)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare x86_fp80 @pow(x86_fp80 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #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/tmpjkdk0doe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Digite o inicio do intervalo: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c" %Lf\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"Digite o final do intervalo: \00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"int: %Lf\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 x86_fp80, align 16
%7 = alloca x86_fp80, align 16
%8 = alloca x86_fp80, align 16
%9 = alloca x86_fp80, align 16
%10 = alloca x86_fp80, align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store x86_fp80 0xK3FE189705F4136B4A800, ptr %6, align 16
store x86_fp80 0xK00000000000000000000, ptr %7, align 16
store x86_fp80 0xK00000000000000000000, ptr %10, align 16
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9)
%15 = load x86_fp80, ptr %8, align 16
store x86_fp80 %15, ptr %7, align 16
%16 = load x86_fp80, ptr %7, align 16
%17 = load x86_fp80, ptr %9, align 16
%18 = fcmp ole x86_fp80 %16, %17
br i1 %18, label %.lr.ph, label %32
.lr.ph: ; preds = %2
br label %19
19: ; preds = %.lr.ph, %19
%20 = load x86_fp80, ptr %6, align 16
%21 = load x86_fp80, ptr %7, align 16
%22 = fadd x86_fp80 %21, %20
store x86_fp80 %22, ptr %7, align 16
%23 = load x86_fp80, ptr %6, align 16
%24 = fmul x86_fp80 %23, 0xK40008000000000000000
%25 = load x86_fp80, ptr %7, align 16
%26 = call x86_fp80 @pow(x86_fp80 noundef %25, i32 noundef 3)
%27 = load x86_fp80, ptr %10, align 16
%28 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %24, x86_fp80 %26, x86_fp80 %27)
store x86_fp80 %28, ptr %10, align 16
%29 = load x86_fp80, ptr %7, align 16
%30 = load x86_fp80, ptr %9, align 16
%31 = fcmp ole x86_fp80 %29, %30
br i1 %31, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %32
32: ; preds = %._crit_edge, %2
%33 = load x86_fp80, ptr %10, align 16
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, x86_fp80 noundef %33)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare x86_fp80 @pow(x86_fp80 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #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/tmpgn7ey156.c'
source_filename = "/tmp/tmpgn7ey156.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%llu\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 ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 20, ptr %2, align 4
%8 = call ptr @llvm.stacksave()
store ptr %8, ptr %3, align 8
%9 = alloca i32, i64 20, align 16
%10 = alloca i32, i64 20, align 16
store i32 0, ptr %4, align 4
br label %11
11: ; preds = %26, %0
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %12, 20
br i1 %13, label %14, label %29
14: ; preds = %11
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %10, i64 %18
store i32 %16, ptr %19, align 4
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 20
%22 = add nsw i32 %21, 1
%23 = load i32, ptr %4, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %9, i64 %24
store i32 %22, ptr %25, align 4
br label %26
26: ; preds = %14
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %4, align 4
br label %11, !llvm.loop !6
29: ; preds = %11
store i32 0, ptr %4, align 4
br label %30
30: ; preds = %75, %29
%31 = load i32, ptr %4, align 4
%32 = icmp slt i32 %31, 20
br i1 %32, label %33, label %78
33: ; preds = %30
store i32 0, ptr %5, align 4
br label %34
34: ; preds = %71, %33
%35 = load i32, ptr %5, align 4
%36 = icmp slt i32 %35, 20
br i1 %36, label %37, label %74
37: ; preds = %34
%38 = load i32, ptr %4, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %10, i64 %39
%41 = load i32, ptr %40, align 4
%42 = icmp ne i32 %41, 1
br i1 %42, label %43, label %70
43: ; preds = %37
%44 = load i32, ptr %5, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %9, i64 %45
%47 = load i32, ptr %46, align 4
%48 = load i32, ptr %4, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %10, i64 %49
%51 = load i32, ptr %50, align 4
%52 = srem i32 %47, %51
%53 = icmp ne i32 %52, 0
br i1 %53, label %70, label %54
54: ; preds = %43
%55 = load i32, ptr %5, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %9, i64 %56
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %4, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %10, i64 %60
%62 = load i32, ptr %61, align 4
%63 = sdiv i32 %58, %62
%64 = load i32, ptr %5, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %9, i64 %65
store i32 %63, ptr %66, align 4
%67 = load i32, ptr %4, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %10, i64 %68
store i32 1, ptr %69, align 4
br label %70
70: ; preds = %54, %43, %37
br label %71
71: ; preds = %70
%72 = load i32, ptr %5, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %5, align 4
br label %34, !llvm.loop !8
74: ; preds = %34
br label %75
75: ; preds = %74
%76 = load i32, ptr %4, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %4, align 4
br label %30, !llvm.loop !9
78: ; preds = %30
store i64 1, ptr %6, align 8
store i64 1, ptr %7, align 8
store i32 0, ptr %4, align 4
br label %79
79: ; preds = %97, %78
%80 = load i32, ptr %4, align 4
%81 = icmp slt i32 %80, 20
br i1 %81, label %82, label %100
82: ; preds = %79
%83 = load i32, ptr %4, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i32, ptr %9, i64 %84
%86 = load i32, ptr %85, align 4
%87 = sext i32 %86 to i64
%88 = load i64, ptr %6, align 8
%89 = mul i64 %88, %87
store i64 %89, ptr %6, align 8
%90 = load i32, ptr %4, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i32, ptr %10, i64 %91
%93 = load i32, ptr %92, align 4
%94 = sext i32 %93 to i64
%95 = load i64, ptr %7, align 8
%96 = mul i64 %95, %94
store i64 %96, ptr %7, align 8
br label %97
97: ; preds = %82
%98 = load i32, ptr %4, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %4, align 4
br label %79, !llvm.loop !10
100: ; preds = %79
%101 = load i64, ptr %6, align 8
%102 = load i64, ptr %7, align 8
%103 = udiv i64 %101, %102
%104 = call i32 @printf(ptr noundef @.str, i64 noundef %103)
store i32 0, ptr %1, align 4
%105 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %105)
%106 = load i32, ptr %1, align 4
ret i32 %106
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printf(ptr noundef, i64 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgn7ey156.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%llu\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 ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 20, ptr %2, align 4
%8 = call ptr @llvm.stacksave()
store ptr %8, ptr %3, align 8
%9 = alloca i32, i64 20, align 16
%10 = alloca i32, i64 20, align 16
store i32 0, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 20
br i1 %12, label %.lr.ph, label %30
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %25
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %10, i64 %17
store i32 %15, ptr %18, align 4
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 20
%21 = add nsw i32 %20, 1
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %9, i64 %23
store i32 %21, ptr %24, align 4
br label %25
25: ; preds = %13
%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 slt i32 %28, 20
br i1 %29, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %0
store i32 0, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp slt i32 %31, 20
br i1 %32, label %.lr.ph5, label %81
.lr.ph5: ; preds = %30
br label %33
33: ; preds = %.lr.ph5, %76
store i32 0, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp slt i32 %34, 20
br i1 %35, label %.lr.ph2, label %75
.lr.ph2: ; preds = %33
br label %36
36: ; preds = %.lr.ph2, %70
%37 = load i32, ptr %4, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %10, i64 %38
%40 = load i32, ptr %39, align 4
%41 = icmp ne i32 %40, 1
br i1 %41, label %42, label %69
42: ; preds = %36
%43 = load i32, ptr %5, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %9, i64 %44
%46 = load i32, ptr %45, align 4
%47 = load i32, ptr %4, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %10, i64 %48
%50 = load i32, ptr %49, align 4
%51 = srem i32 %46, %50
%52 = icmp ne i32 %51, 0
br i1 %52, label %69, label %53
53: ; preds = %42
%54 = load i32, ptr %5, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %9, i64 %55
%57 = load i32, ptr %56, align 4
%58 = load i32, ptr %4, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %10, i64 %59
%61 = load i32, ptr %60, align 4
%62 = sdiv i32 %57, %61
%63 = load i32, ptr %5, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %9, i64 %64
store i32 %62, ptr %65, align 4
%66 = load i32, ptr %4, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %10, i64 %67
store i32 1, ptr %68, align 4
br label %69
69: ; preds = %53, %42, %36
br label %70
70: ; preds = %69
%71 = load i32, ptr %5, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %5, align 4
%73 = load i32, ptr %5, align 4
%74 = icmp slt i32 %73, 20
br i1 %74, label %36, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %70
br label %75
75: ; preds = %._crit_edge3, %33
br label %76
76: ; preds = %75
%77 = load i32, ptr %4, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %4, align 4
%79 = load i32, ptr %4, align 4
%80 = icmp slt i32 %79, 20
br i1 %80, label %33, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %76
br label %81
81: ; preds = %._crit_edge6, %30
store i64 1, ptr %6, align 8
store i64 1, ptr %7, align 8
store i32 0, ptr %4, align 4
%82 = load i32, ptr %4, align 4
%83 = icmp slt i32 %82, 20
br i1 %83, label %.lr.ph8, label %104
.lr.ph8: ; preds = %81
br label %84
84: ; preds = %.lr.ph8, %99
%85 = load i32, ptr %4, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i32, ptr %9, i64 %86
%88 = load i32, ptr %87, align 4
%89 = sext i32 %88 to i64
%90 = load i64, ptr %6, align 8
%91 = mul i64 %90, %89
store i64 %91, ptr %6, align 8
%92 = load i32, ptr %4, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i32, ptr %10, i64 %93
%95 = load i32, ptr %94, align 4
%96 = sext i32 %95 to i64
%97 = load i64, ptr %7, align 8
%98 = mul i64 %97, %96
store i64 %98, ptr %7, align 8
br label %99
99: ; preds = %84
%100 = load i32, ptr %4, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %4, align 4
%102 = load i32, ptr %4, align 4
%103 = icmp slt i32 %102, 20
br i1 %103, label %84, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %99
br label %104
104: ; preds = %._crit_edge9, %81
%105 = load i64, ptr %6, align 8
%106 = load i64, ptr %7, align 8
%107 = udiv i64 %105, %106
%108 = call i32 @printf(ptr noundef @.str, i64 noundef %107)
store i32 0, ptr %1, align 4
%109 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %109)
%110 = load i32, ptr %1, align 4
ret i32 %110
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printf(ptr noundef, i64 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp8qmas7df.c'
source_filename = "/tmp/tmp8qmas7df.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_half_m2_times_quadratic(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %11, %1
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %5, %6
br i1 %7, label %8, label %14
8: ; preds = %4
%9 = load i32, ptr %3, align 4
%10 = call i32 @do_n_times(i32 noundef %9)
br label %11
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %4, !llvm.loop !6
14: ; preds = %4
ret void
}
declare i32 @do_n_times(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/tmp8qmas7df.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_half_m2_times_quadratic(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %4, %5
br i1 %6, label %.lr.ph, label %16
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %10
%8 = load i32, ptr %3, align 4
%9 = call i32 @do_n_times(i32 noundef %8)
br label %10
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %16
16: ; preds = %._crit_edge, %1
ret void
}
declare i32 @do_n_times(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/tmpaflvcjnq.c'
source_filename = "/tmp/tmpaflvcjnq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Declined incoming command\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_declined_incoming() #0 {
%1 = call i32 @print_verbose(ptr noundef @.str)
ret void
}
declare i32 @print_verbose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaflvcjnq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Declined incoming command\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_declined_incoming() #0 {
%1 = call i32 @print_verbose(ptr noundef @.str)
ret void
}
declare i32 @print_verbose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptjgat_lc.c'
source_filename = "/tmp/tmptjgat_lc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f%f\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"MEDIA = %.5f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%6 = load float, ptr %2, align 4
%7 = fpext float %6 to double
%8 = load float, ptr %3, align 4
%9 = fpext float %8 to double
%10 = fmul double %9, 7.500000e+00
%11 = call double @llvm.fmuladd.f64(double %7, double 3.500000e+00, double %10)
%12 = fdiv double %11, 1.100000e+01
%13 = fptrunc double %12 to float
store float %13, ptr %4, align 4
%14 = load float, ptr %4, align 4
%15 = call i32 @printf(ptr noundef @.str.1, float noundef %14)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptjgat_lc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f%f\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"MEDIA = %.5f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%6 = load float, ptr %2, align 4
%7 = fpext float %6 to double
%8 = load float, ptr %3, align 4
%9 = fpext float %8 to double
%10 = fmul double %9, 7.500000e+00
%11 = call double @llvm.fmuladd.f64(double %7, double 3.500000e+00, double %10)
%12 = fdiv double %11, 1.100000e+01
%13 = fptrunc double %12 to float
store float %13, ptr %4, align 4
%14 = load float, ptr %4, align 4
%15 = call i32 @printf(ptr noundef @.str.1, float noundef %14)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmjox3hbn.c'
source_filename = "/tmp/tmpmjox3hbn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @blinkT() #0 {
%1 = call i32 (...) @blinkdash()
%2 = call i32 @sleep(double noundef 1.500000e+00)
ret i32 0
}
declare i32 @blinkdash(...) #1
declare i32 @sleep(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmjox3hbn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @blinkT() #0 {
%1 = call i32 (...) @blinkdash()
%2 = call i32 @sleep(double noundef 1.500000e+00)
ret i32 0
}
declare i32 @blinkdash(...) #1
declare i32 @sleep(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph9qoi75r.c'
source_filename = "/tmp/tmph9qoi75r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NYI\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setgrent() #0 {
%1 = call i32 @assert(i32 noundef 0)
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph9qoi75r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NYI\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setgrent() #0 {
%1 = call i32 @assert(i32 noundef 0)
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplyg62bgv.c'
source_filename = "/tmp/tmplyg62bgv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StartWindow() #0 {
%1 = alloca i32, align 4
%2 = call i64 (...) @StartGL()
%3 = icmp ne i64 %2, 0
br i1 %3, label %4, label %5
4: ; preds = %0
store i32 -1, ptr %1, align 4
br label %16
5: ; preds = %0
%6 = call i64 @CreateShaders(i32 noundef 0)
%7 = icmp ne i64 %6, 0
br i1 %7, label %14, label %8
8: ; preds = %5
%9 = call i64 @CreateShaders(i32 noundef 1)
%10 = icmp ne i64 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %8
%12 = call i64 @CreateShaders(i32 noundef 2)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %11, %8, %5
store i32 -1, ptr %1, align 4
br label %16
15: ; preds = %11
store i32 0, ptr %1, align 4
br label %16
16: ; preds = %15, %14, %4
%17 = load i32, ptr %1, align 4
ret i32 %17
}
declare i64 @StartGL(...) #1
declare i64 @CreateShaders(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/tmplyg62bgv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StartWindow() #0 {
%1 = alloca i32, align 4
%2 = call i64 (...) @StartGL()
%3 = icmp ne i64 %2, 0
br i1 %3, label %4, label %5
4: ; preds = %0
store i32 -1, ptr %1, align 4
br label %16
5: ; preds = %0
%6 = call i64 @CreateShaders(i32 noundef 0)
%7 = icmp ne i64 %6, 0
br i1 %7, label %14, label %8
8: ; preds = %5
%9 = call i64 @CreateShaders(i32 noundef 1)
%10 = icmp ne i64 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %8
%12 = call i64 @CreateShaders(i32 noundef 2)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %11, %8, %5
store i32 -1, ptr %1, align 4
br label %16
15: ; preds = %11
store i32 0, ptr %1, align 4
br label %16
16: ; preds = %15, %14, %4
%17 = load i32, ptr %1, align 4
ret i32 %17
}
declare i64 @StartGL(...) #1
declare i64 @CreateShaders(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/tmponvrjkm5.c'
source_filename = "/tmp/tmponvrjkm5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @square_dgemm(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
%38 = alloca i32, align 4
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca i32, align 4
%44 = alloca i32, align 4
%45 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%46 = load i32, ptr %5, align 4
%47 = srem i32 %46, 16
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %53
49: ; preds = %4
%50 = load i32, ptr %5, align 4
%51 = sdiv i32 %50, 16
store i32 %51, ptr %16, align 4
%52 = load i32, ptr %5, align 4
store i32 %52, ptr %9, align 4
br label %61
53: ; preds = %4
%54 = load i32, ptr %5, align 4
%55 = sdiv i32 %54, 16
%56 = add nsw i32 %55, 1
%57 = mul nsw i32 %56, 16
store i32 %57, ptr %9, align 4
%58 = load i32, ptr %5, align 4
%59 = sdiv i32 %58, 16
%60 = add nsw i32 %59, 1
store i32 %60, ptr %16, align 4
br label %61
61: ; preds = %53, %49
%62 = load i32, ptr %9, align 4
%63 = srem i32 %62, 128
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %68
65: ; preds = %61
%66 = load i32, ptr %9, align 4
%67 = sdiv i32 %66, 128
store i32 %67, ptr %17, align 4
store i32 8, ptr %18, align 4
br label %75
68: ; preds = %61
%69 = load i32, ptr %9, align 4
%70 = sdiv i32 %69, 128
%71 = add nsw i32 %70, 1
store i32 %71, ptr %17, align 4
%72 = load i32, ptr %9, align 4
%73 = srem i32 %72, 128
%74 = sdiv i32 %73, 16
store i32 %74, ptr %18, align 4
br label %75
75: ; preds = %68, %65
%76 = load i32, ptr %9, align 4
%77 = load i32, ptr %9, align 4
%78 = mul nsw i32 %76, %77
%79 = sext i32 %78 to i64
%80 = mul i64 %79, 8
%81 = trunc i64 %80 to i32
%82 = call i64 @_mm_malloc(i32 noundef %81, i32 noundef 64)
%83 = inttoptr i64 %82 to ptr
store ptr %83, ptr %19, align 8
%84 = load i32, ptr %9, align 4
%85 = load i32, ptr %9, align 4
%86 = mul nsw i32 %84, %85
%87 = sext i32 %86 to i64
%88 = mul i64 %87, 8
%89 = trunc i64 %88 to i32
%90 = call i64 @_mm_malloc(i32 noundef %89, i32 noundef 64)
%91 = inttoptr i64 %90 to ptr
store ptr %91, ptr %20, align 8
%92 = load i32, ptr %9, align 4
%93 = load i32, ptr %9, align 4
%94 = mul nsw i32 %92, %93
%95 = sext i32 %94 to i64
%96 = mul i64 %95, 8
%97 = trunc i64 %96 to i32
%98 = call i64 @_mm_malloc(i32 noundef %97, i32 noundef 64)
%99 = inttoptr i64 %98 to ptr
store ptr %99, ptr %21, align 8
%100 = load i32, ptr %5, align 4
%101 = load i32, ptr %16, align 4
%102 = load ptr, ptr %6, align 8
%103 = load ptr, ptr %19, align 8
%104 = call i32 @row_to_block(i32 noundef %100, i32 noundef %101, ptr noundef %102, ptr noundef %103)
%105 = load i32, ptr %5, align 4
%106 = load i32, ptr %16, align 4
%107 = load ptr, ptr %7, align 8
%108 = load ptr, ptr %20, align 8
%109 = call i32 @row_to_block_transpose(i32 noundef %105, i32 noundef %106, ptr noundef %107, ptr noundef %108)
%110 = load i32, ptr %5, align 4
%111 = load i32, ptr %16, align 4
%112 = load ptr, ptr %8, align 8
%113 = load ptr, ptr %21, align 8
%114 = call i32 @row_to_block(i32 noundef %110, i32 noundef %111, ptr noundef %112, ptr noundef %113)
store i32 0, ptr %15, align 4
br label %115
115: ; preds = %186, %75
%116 = load i32, ptr %15, align 4
%117 = load i32, ptr %17, align 4
%118 = sub nsw i32 %117, 1
%119 = icmp slt i32 %116, %118
br i1 %119, label %120, label %189
120: ; preds = %115
store i32 0, ptr %14, align 4
br label %121
121: ; preds = %182, %120
%122 = load i32, ptr %14, align 4
%123 = load i32, ptr %17, align 4
%124 = sub nsw i32 %123, 1
%125 = icmp slt i32 %122, %124
br i1 %125, label %126, label %185
126: ; preds = %121
store i32 0, ptr %13, align 4
br label %127
127: ; preds = %178, %126
%128 = load i32, ptr %13, align 4
%129 = load i32, ptr %17, align 4
%130 = sub nsw i32 %129, 1
%131 = icmp slt i32 %128, %130
br i1 %131, label %132, label %181
132: ; preds = %127
store i32 0, ptr %12, align 4
br label %133
133: ; preds = %174, %132
%134 = load i32, ptr %12, align 4
%135 = icmp slt i32 %134, 8
br i1 %135, label %136, label %177
136: ; preds = %133
%137 = load i32, ptr %15, align 4
%138 = mul nsw i32 %137, 8
%139 = load i32, ptr %12, align 4
%140 = add nsw i32 %138, %139
store i32 %140, ptr %22, align 4
store i32 0, ptr %11, align 4
br label %141
141: ; preds = %170, %136
%142 = load i32, ptr %11, align 4
%143 = icmp slt i32 %142, 8
br i1 %143, label %144, label %173
144: ; preds = %141
%145 = load i32, ptr %14, align 4
%146 = mul nsw i32 %145, 8
%147 = load i32, ptr %11, align 4
%148 = add nsw i32 %146, %147
store i32 %148, ptr %23, align 4
store i32 0, ptr %10, align 4
br label %149
149: ; preds = %166, %144
%150 = load i32, ptr %10, align 4
%151 = icmp slt i32 %150, 8
br i1 %151, label %152, label %169
152: ; preds = %149
%153 = load i32, ptr %13, align 4
%154 = mul nsw i32 %153, 8
%155 = load i32, ptr %10, align 4
%156 = add nsw i32 %154, %155
store i32 %156, ptr %24, align 4
%157 = load i32, ptr %5, align 4
%158 = load i32, ptr %16, align 4
%159 = load ptr, ptr %19, align 8
%160 = load ptr, ptr %20, align 8
%161 = load ptr, ptr %21, align 8
%162 = load i32, ptr %24, align 4
%163 = load i32, ptr %23, align 4
%164 = load i32, ptr %22, align 4
%165 = call i32 @do_block(i32 noundef %157, i32 noundef %158, ptr noundef %159, ptr noundef %160, ptr noundef %161, i32 noundef %162, i32 noundef %163, i32 noundef %164)
br label %166
166: ; preds = %152
%167 = load i32, ptr %10, align 4
%168 = add nsw i32 %167, 1
store i32 %168, ptr %10, align 4
br label %149, !llvm.loop !6
169: ; preds = %149
br label %170
170: ; preds = %169
%171 = load i32, ptr %11, align 4
%172 = add nsw i32 %171, 1
store i32 %172, ptr %11, align 4
br label %141, !llvm.loop !8
173: ; preds = %141
br label %174
174: ; preds = %173
%175 = load i32, ptr %12, align 4
%176 = add nsw i32 %175, 1
store i32 %176, ptr %12, align 4
br label %133, !llvm.loop !9
177: ; preds = %133
br label %178
178: ; preds = %177
%179 = load i32, ptr %13, align 4
%180 = add nsw i32 %179, 1
store i32 %180, ptr %13, align 4
br label %127, !llvm.loop !10
181: ; preds = %127
br label %182
182: ; preds = %181
%183 = load i32, ptr %14, align 4
%184 = add nsw i32 %183, 1
store i32 %184, ptr %14, align 4
br label %121, !llvm.loop !11
185: ; preds = %121
br label %186
186: ; preds = %185
%187 = load i32, ptr %15, align 4
%188 = add nsw i32 %187, 1
store i32 %188, ptr %15, align 4
br label %115, !llvm.loop !12
189: ; preds = %115
%190 = load i32, ptr %17, align 4
%191 = sub nsw i32 %190, 1
store i32 %191, ptr %15, align 4
store i32 0, ptr %14, align 4
br label %192
192: ; preds = %254, %189
%193 = load i32, ptr %14, align 4
%194 = load i32, ptr %17, align 4
%195 = sub nsw i32 %194, 1
%196 = icmp slt i32 %193, %195
br i1 %196, label %197, label %257
197: ; preds = %192
store i32 0, ptr %13, align 4
br label %198
198: ; preds = %250, %197
%199 = load i32, ptr %13, align 4
%200 = load i32, ptr %17, align 4
%201 = sub nsw i32 %200, 1
%202 = icmp slt i32 %199, %201
br i1 %202, label %203, label %253
203: ; preds = %198
store i32 0, ptr %12, align 4
br label %204
204: ; preds = %246, %203
%205 = load i32, ptr %12, align 4
%206 = load i32, ptr %18, align 4
%207 = icmp slt i32 %205, %206
br i1 %207, label %208, label %249
208: ; preds = %204
%209 = load i32, ptr %15, align 4
%210 = mul nsw i32 %209, 8
%211 = load i32, ptr %12, align 4
%212 = add nsw i32 %210, %211
store i32 %212, ptr %25, align 4
store i32 0, ptr %11, align 4
br label %213
213: ; preds = %242, %208
%214 = load i32, ptr %11, align 4
%215 = icmp slt i32 %214, 8
br i1 %215, label %216, label %245
216: ; preds = %213
%217 = load i32, ptr %14, align 4
%218 = mul nsw i32 %217, 8
%219 = load i32, ptr %11, align 4
%220 = add nsw i32 %218, %219
store i32 %220, ptr %26, align 4
store i32 0, ptr %10, align 4
br label %221
221: ; preds = %238, %216
%222 = load i32, ptr %10, align 4
%223 = icmp slt i32 %222, 8
br i1 %223, label %224, label %241
224: ; preds = %221
%225 = load i32, ptr %13, align 4
%226 = mul nsw i32 %225, 8
%227 = load i32, ptr %10, align 4
%228 = add nsw i32 %226, %227
store i32 %228, ptr %27, align 4
%229 = load i32, ptr %5, align 4
%230 = load i32, ptr %16, align 4
%231 = load ptr, ptr %19, align 8
%232 = load ptr, ptr %20, align 8
%233 = load ptr, ptr %21, align 8
%234 = load i32, ptr %27, align 4
%235 = load i32, ptr %26, align 4
%236 = load i32, ptr %25, align 4
%237 = call i32 @do_block(i32 noundef %229, i32 noundef %230, ptr noundef %231, ptr noundef %232, ptr noundef %233, i32 noundef %234, i32 noundef %235, i32 noundef %236)
br label %238
238: ; preds = %224
%239 = load i32, ptr %10, align 4
%240 = add nsw i32 %239, 1
store i32 %240, ptr %10, align 4
br label %221, !llvm.loop !13
241: ; preds = %221
br label %242
242: ; preds = %241
%243 = load i32, ptr %11, align 4
%244 = add nsw i32 %243, 1
store i32 %244, ptr %11, align 4
br label %213, !llvm.loop !14
245: ; preds = %213
br label %246
246: ; preds = %245
%247 = load i32, ptr %12, align 4
%248 = add nsw i32 %247, 1
store i32 %248, ptr %12, align 4
br label %204, !llvm.loop !15
249: ; preds = %204
br label %250
250: ; preds = %249
%251 = load i32, ptr %13, align 4
%252 = add nsw i32 %251, 1
store i32 %252, ptr %13, align 4
br label %198, !llvm.loop !16
253: ; preds = %198
br label %254
254: ; preds = %253
%255 = load i32, ptr %14, align 4
%256 = add nsw i32 %255, 1
store i32 %256, ptr %14, align 4
br label %192, !llvm.loop !17
257: ; preds = %192
%258 = load i32, ptr %17, align 4
%259 = sub nsw i32 %258, 1
store i32 %259, ptr %14, align 4
store i32 0, ptr %15, align 4
br label %260
260: ; preds = %322, %257
%261 = load i32, ptr %15, align 4
%262 = load i32, ptr %17, align 4
%263 = sub nsw i32 %262, 1
%264 = icmp slt i32 %261, %263
br i1 %264, label %265, label %325
265: ; preds = %260
store i32 0, ptr %13, align 4
br label %266
266: ; preds = %318, %265
%267 = load i32, ptr %13, align 4
%268 = load i32, ptr %17, align 4
%269 = sub nsw i32 %268, 1
%270 = icmp slt i32 %267, %269
br i1 %270, label %271, label %321
271: ; preds = %266
store i32 0, ptr %12, align 4
br label %272
272: ; preds = %314, %271
%273 = load i32, ptr %12, align 4
%274 = icmp slt i32 %273, 8
br i1 %274, label %275, label %317
275: ; preds = %272
%276 = load i32, ptr %15, align 4
%277 = mul nsw i32 %276, 8
%278 = load i32, ptr %12, align 4
%279 = add nsw i32 %277, %278
store i32 %279, ptr %28, align 4
store i32 0, ptr %11, align 4
br label %280
280: ; preds = %310, %275
%281 = load i32, ptr %11, align 4
%282 = load i32, ptr %18, align 4
%283 = icmp slt i32 %281, %282
br i1 %283, label %284, label %313
284: ; preds = %280
%285 = load i32, ptr %14, align 4
%286 = mul nsw i32 %285, 8
%287 = load i32, ptr %11, align 4
%288 = add nsw i32 %286, %287
store i32 %288, ptr %29, align 4
store i32 0, ptr %10, align 4
br label %289
289: ; preds = %306, %284
%290 = load i32, ptr %10, align 4
%291 = icmp slt i32 %290, 8
br i1 %291, label %292, label %309
292: ; preds = %289
%293 = load i32, ptr %13, align 4
%294 = mul nsw i32 %293, 8
%295 = load i32, ptr %10, align 4
%296 = add nsw i32 %294, %295
store i32 %296, ptr %30, align 4
%297 = load i32, ptr %5, align 4
%298 = load i32, ptr %16, align 4
%299 = load ptr, ptr %19, align 8
%300 = load ptr, ptr %20, align 8
%301 = load ptr, ptr %21, align 8
%302 = load i32, ptr %30, align 4
%303 = load i32, ptr %29, align 4
%304 = load i32, ptr %28, align 4
%305 = call i32 @do_block(i32 noundef %297, i32 noundef %298, ptr noundef %299, ptr noundef %300, ptr noundef %301, i32 noundef %302, i32 noundef %303, i32 noundef %304)
br label %306
306: ; preds = %292
%307 = load i32, ptr %10, align 4
%308 = add nsw i32 %307, 1
store i32 %308, ptr %10, align 4
br label %289, !llvm.loop !18
309: ; preds = %289
br label %310
310: ; preds = %309
%311 = load i32, ptr %11, align 4
%312 = add nsw i32 %311, 1
store i32 %312, ptr %11, align 4
br label %280, !llvm.loop !19
313: ; preds = %280
br label %314
314: ; preds = %313
%315 = load i32, ptr %12, align 4
%316 = add nsw i32 %315, 1
store i32 %316, ptr %12, align 4
br label %272, !llvm.loop !20
317: ; preds = %272
br label %318
318: ; preds = %317
%319 = load i32, ptr %13, align 4
%320 = add nsw i32 %319, 1
store i32 %320, ptr %13, align 4
br label %266, !llvm.loop !21
321: ; preds = %266
br label %322
322: ; preds = %321
%323 = load i32, ptr %15, align 4
%324 = add nsw i32 %323, 1
store i32 %324, ptr %15, align 4
br label %260, !llvm.loop !22
325: ; preds = %260
%326 = load i32, ptr %17, align 4
%327 = sub nsw i32 %326, 1
store i32 %327, ptr %13, align 4
store i32 0, ptr %15, align 4
br label %328
328: ; preds = %390, %325
%329 = load i32, ptr %15, align 4
%330 = load i32, ptr %17, align 4
%331 = sub nsw i32 %330, 1
%332 = icmp slt i32 %329, %331
br i1 %332, label %333, label %393
333: ; preds = %328
store i32 0, ptr %14, align 4
br label %334
334: ; preds = %386, %333
%335 = load i32, ptr %14, align 4
%336 = load i32, ptr %17, align 4
%337 = sub nsw i32 %336, 1
%338 = icmp slt i32 %335, %337
br i1 %338, label %339, label %389
339: ; preds = %334
store i32 0, ptr %12, align 4
br label %340
340: ; preds = %382, %339
%341 = load i32, ptr %12, align 4
%342 = icmp slt i32 %341, 8
br i1 %342, label %343, label %385
343: ; preds = %340
%344 = load i32, ptr %15, align 4
%345 = mul nsw i32 %344, 8
%346 = load i32, ptr %12, align 4
%347 = add nsw i32 %345, %346
store i32 %347, ptr %31, align 4
store i32 0, ptr %11, align 4
br label %348
348: ; preds = %378, %343
%349 = load i32, ptr %11, align 4
%350 = icmp slt i32 %349, 8
br i1 %350, label %351, label %381
351: ; preds = %348
%352 = load i32, ptr %14, align 4
%353 = mul nsw i32 %352, 8
%354 = load i32, ptr %11, align 4
%355 = add nsw i32 %353, %354
store i32 %355, ptr %32, align 4
store i32 0, ptr %10, align 4
br label %356
356: ; preds = %374, %351
%357 = load i32, ptr %10, align 4
%358 = load i32, ptr %18, align 4
%359 = icmp slt i32 %357, %358
br i1 %359, label %360, label %377
360: ; preds = %356
%361 = load i32, ptr %13, align 4
%362 = mul nsw i32 %361, 8
%363 = load i32, ptr %10, align 4
%364 = add nsw i32 %362, %363
store i32 %364, ptr %33, align 4
%365 = load i32, ptr %5, align 4
%366 = load i32, ptr %16, align 4
%367 = load ptr, ptr %19, align 8
%368 = load ptr, ptr %20, align 8
%369 = load ptr, ptr %21, align 8
%370 = load i32, ptr %33, align 4
%371 = load i32, ptr %32, align 4
%372 = load i32, ptr %31, align 4
%373 = call i32 @do_block(i32 noundef %365, i32 noundef %366, ptr noundef %367, ptr noundef %368, ptr noundef %369, i32 noundef %370, i32 noundef %371, i32 noundef %372)
br label %374
374: ; preds = %360
%375 = load i32, ptr %10, align 4
%376 = add nsw i32 %375, 1
store i32 %376, ptr %10, align 4
br label %356, !llvm.loop !23
377: ; preds = %356
br label %378
378: ; preds = %377
%379 = load i32, ptr %11, align 4
%380 = add nsw i32 %379, 1
store i32 %380, ptr %11, align 4
br label %348, !llvm.loop !24
381: ; preds = %348
br label %382
382: ; preds = %381
%383 = load i32, ptr %12, align 4
%384 = add nsw i32 %383, 1
store i32 %384, ptr %12, align 4
br label %340, !llvm.loop !25
385: ; preds = %340
br label %386
386: ; preds = %385
%387 = load i32, ptr %14, align 4
%388 = add nsw i32 %387, 1
store i32 %388, ptr %14, align 4
br label %334, !llvm.loop !26
389: ; preds = %334
br label %390
390: ; preds = %389
%391 = load i32, ptr %15, align 4
%392 = add nsw i32 %391, 1
store i32 %392, ptr %15, align 4
br label %328, !llvm.loop !27
393: ; preds = %328
%394 = load i32, ptr %17, align 4
%395 = sub nsw i32 %394, 1
store i32 %395, ptr %14, align 4
%396 = load i32, ptr %17, align 4
%397 = sub nsw i32 %396, 1
store i32 %397, ptr %15, align 4
store i32 0, ptr %13, align 4
br label %398
398: ; preds = %451, %393
%399 = load i32, ptr %13, align 4
%400 = load i32, ptr %17, align 4
%401 = sub nsw i32 %400, 1
%402 = icmp slt i32 %399, %401
br i1 %402, label %403, label %454
403: ; preds = %398
store i32 0, ptr %12, align 4
br label %404
404: ; preds = %447, %403
%405 = load i32, ptr %12, align 4
%406 = load i32, ptr %18, align 4
%407 = icmp slt i32 %405, %406
br i1 %407, label %408, label %450
408: ; preds = %404
%409 = load i32, ptr %15, align 4
%410 = mul nsw i32 %409, 8
%411 = load i32, ptr %12, align 4
%412 = add nsw i32 %410, %411
store i32 %412, ptr %34, align 4
store i32 0, ptr %11, align 4
br label %413
413: ; preds = %443, %408
%414 = load i32, ptr %11, align 4
%415 = load i32, ptr %18, align 4
%416 = icmp slt i32 %414, %415
br i1 %416, label %417, label %446
417: ; preds = %413
%418 = load i32, ptr %14, align 4
%419 = mul nsw i32 %418, 8
%420 = load i32, ptr %11, align 4
%421 = add nsw i32 %419, %420
store i32 %421, ptr %35, align 4
store i32 0, ptr %10, align 4
br label %422
422: ; preds = %439, %417
%423 = load i32, ptr %10, align 4
%424 = icmp slt i32 %423, 8
br i1 %424, label %425, label %442
425: ; preds = %422
%426 = load i32, ptr %13, align 4
%427 = mul nsw i32 %426, 8
%428 = load i32, ptr %10, align 4
%429 = add nsw i32 %427, %428
store i32 %429, ptr %36, align 4
%430 = load i32, ptr %5, align 4
%431 = load i32, ptr %16, align 4
%432 = load ptr, ptr %19, align 8
%433 = load ptr, ptr %20, align 8
%434 = load ptr, ptr %21, align 8
%435 = load i32, ptr %36, align 4
%436 = load i32, ptr %35, align 4
%437 = load i32, ptr %34, align 4
%438 = call i32 @do_block(i32 noundef %430, i32 noundef %431, ptr noundef %432, ptr noundef %433, ptr noundef %434, i32 noundef %435, i32 noundef %436, i32 noundef %437)
br label %439
439: ; preds = %425
%440 = load i32, ptr %10, align 4
%441 = add nsw i32 %440, 1
store i32 %441, ptr %10, align 4
br label %422, !llvm.loop !28
442: ; preds = %422
br label %443
443: ; preds = %442
%444 = load i32, ptr %11, align 4
%445 = add nsw i32 %444, 1
store i32 %445, ptr %11, align 4
br label %413, !llvm.loop !29
446: ; preds = %413
br label %447
447: ; preds = %446
%448 = load i32, ptr %12, align 4
%449 = add nsw i32 %448, 1
store i32 %449, ptr %12, align 4
br label %404, !llvm.loop !30
450: ; preds = %404
br label %451
451: ; preds = %450
%452 = load i32, ptr %13, align 4
%453 = add nsw i32 %452, 1
store i32 %453, ptr %13, align 4
br label %398, !llvm.loop !31
454: ; preds = %398
%455 = load i32, ptr %17, align 4
%456 = sub nsw i32 %455, 1
store i32 %456, ptr %13, align 4
%457 = load i32, ptr %17, align 4
%458 = sub nsw i32 %457, 1
store i32 %458, ptr %15, align 4
store i32 0, ptr %14, align 4
br label %459
459: ; preds = %512, %454
%460 = load i32, ptr %14, align 4
%461 = load i32, ptr %17, align 4
%462 = sub nsw i32 %461, 1
%463 = icmp slt i32 %460, %462
br i1 %463, label %464, label %515
464: ; preds = %459
store i32 0, ptr %12, align 4
br label %465
465: ; preds = %508, %464
%466 = load i32, ptr %12, align 4
%467 = load i32, ptr %18, align 4
%468 = icmp slt i32 %466, %467
br i1 %468, label %469, label %511
469: ; preds = %465
%470 = load i32, ptr %15, align 4
%471 = mul nsw i32 %470, 8
%472 = load i32, ptr %12, align 4
%473 = add nsw i32 %471, %472
store i32 %473, ptr %37, align 4
store i32 0, ptr %11, align 4
br label %474
474: ; preds = %504, %469
%475 = load i32, ptr %11, align 4
%476 = icmp slt i32 %475, 8
br i1 %476, label %477, label %507
477: ; preds = %474
%478 = load i32, ptr %14, align 4
%479 = mul nsw i32 %478, 8
%480 = load i32, ptr %11, align 4
%481 = add nsw i32 %479, %480
store i32 %481, ptr %38, align 4
store i32 0, ptr %10, align 4
br label %482
482: ; preds = %500, %477
%483 = load i32, ptr %10, align 4
%484 = load i32, ptr %18, align 4
%485 = icmp slt i32 %483, %484
br i1 %485, label %486, label %503
486: ; preds = %482
%487 = load i32, ptr %13, align 4
%488 = mul nsw i32 %487, 8
%489 = load i32, ptr %10, align 4
%490 = add nsw i32 %488, %489
store i32 %490, ptr %39, align 4
%491 = load i32, ptr %5, align 4
%492 = load i32, ptr %16, align 4
%493 = load ptr, ptr %19, align 8
%494 = load ptr, ptr %20, align 8
%495 = load ptr, ptr %21, align 8
%496 = load i32, ptr %39, align 4
%497 = load i32, ptr %38, align 4
%498 = load i32, ptr %37, align 4
%499 = call i32 @do_block(i32 noundef %491, i32 noundef %492, ptr noundef %493, ptr noundef %494, ptr noundef %495, i32 noundef %496, i32 noundef %497, i32 noundef %498)
br label %500
500: ; preds = %486
%501 = load i32, ptr %10, align 4
%502 = add nsw i32 %501, 1
store i32 %502, ptr %10, align 4
br label %482, !llvm.loop !32
503: ; preds = %482
br label %504
504: ; preds = %503
%505 = load i32, ptr %11, align 4
%506 = add nsw i32 %505, 1
store i32 %506, ptr %11, align 4
br label %474, !llvm.loop !33
507: ; preds = %474
br label %508
508: ; preds = %507
%509 = load i32, ptr %12, align 4
%510 = add nsw i32 %509, 1
store i32 %510, ptr %12, align 4
br label %465, !llvm.loop !34
511: ; preds = %465
br label %512
512: ; preds = %511
%513 = load i32, ptr %14, align 4
%514 = add nsw i32 %513, 1
store i32 %514, ptr %14, align 4
br label %459, !llvm.loop !35
515: ; preds = %459
%516 = load i32, ptr %17, align 4
%517 = sub nsw i32 %516, 1
store i32 %517, ptr %14, align 4
%518 = load i32, ptr %17, align 4
%519 = sub nsw i32 %518, 1
store i32 %519, ptr %13, align 4
store i32 0, ptr %15, align 4
br label %520
520: ; preds = %573, %515
%521 = load i32, ptr %15, align 4
%522 = load i32, ptr %17, align 4
%523 = sub nsw i32 %522, 1
%524 = icmp slt i32 %521, %523
br i1 %524, label %525, label %576
525: ; preds = %520
store i32 0, ptr %12, align 4
br label %526
526: ; preds = %569, %525
%527 = load i32, ptr %12, align 4
%528 = icmp slt i32 %527, 8
br i1 %528, label %529, label %572
529: ; preds = %526
%530 = load i32, ptr %15, align 4
%531 = mul nsw i32 %530, 8
%532 = load i32, ptr %12, align 4
%533 = add nsw i32 %531, %532
store i32 %533, ptr %40, align 4
store i32 0, ptr %11, align 4
br label %534
534: ; preds = %565, %529
%535 = load i32, ptr %11, align 4
%536 = load i32, ptr %18, align 4
%537 = icmp slt i32 %535, %536
br i1 %537, label %538, label %568
538: ; preds = %534
%539 = load i32, ptr %14, align 4
%540 = mul nsw i32 %539, 8
%541 = load i32, ptr %11, align 4
%542 = add nsw i32 %540, %541
store i32 %542, ptr %41, align 4
store i32 0, ptr %10, align 4
br label %543
543: ; preds = %561, %538
%544 = load i32, ptr %10, align 4
%545 = load i32, ptr %18, align 4
%546 = icmp slt i32 %544, %545
br i1 %546, label %547, label %564
547: ; preds = %543
%548 = load i32, ptr %13, align 4
%549 = mul nsw i32 %548, 8
%550 = load i32, ptr %10, align 4
%551 = add nsw i32 %549, %550
store i32 %551, ptr %42, align 4
%552 = load i32, ptr %5, align 4
%553 = load i32, ptr %16, align 4
%554 = load ptr, ptr %19, align 8
%555 = load ptr, ptr %20, align 8
%556 = load ptr, ptr %21, align 8
%557 = load i32, ptr %42, align 4
%558 = load i32, ptr %41, align 4
%559 = load i32, ptr %40, align 4
%560 = call i32 @do_block(i32 noundef %552, i32 noundef %553, ptr noundef %554, ptr noundef %555, ptr noundef %556, i32 noundef %557, i32 noundef %558, i32 noundef %559)
br label %561
561: ; preds = %547
%562 = load i32, ptr %10, align 4
%563 = add nsw i32 %562, 1
store i32 %563, ptr %10, align 4
br label %543, !llvm.loop !36
564: ; preds = %543
br label %565
565: ; preds = %564
%566 = load i32, ptr %11, align 4
%567 = add nsw i32 %566, 1
store i32 %567, ptr %11, align 4
br label %534, !llvm.loop !37
568: ; preds = %534
br label %569
569: ; preds = %568
%570 = load i32, ptr %12, align 4
%571 = add nsw i32 %570, 1
store i32 %571, ptr %12, align 4
br label %526, !llvm.loop !38
572: ; preds = %526
br label %573
573: ; preds = %572
%574 = load i32, ptr %15, align 4
%575 = add nsw i32 %574, 1
store i32 %575, ptr %15, align 4
br label %520, !llvm.loop !39
576: ; preds = %520
%577 = load i32, ptr %17, align 4
%578 = sub nsw i32 %577, 1
store i32 %578, ptr %14, align 4
%579 = load i32, ptr %17, align 4
%580 = sub nsw i32 %579, 1
store i32 %580, ptr %14, align 4
%581 = load i32, ptr %17, align 4
%582 = sub nsw i32 %581, 1
store i32 %582, ptr %13, align 4
store i32 0, ptr %12, align 4
br label %583
583: ; preds = %627, %576
%584 = load i32, ptr %12, align 4
%585 = load i32, ptr %18, align 4
%586 = icmp slt i32 %584, %585
br i1 %586, label %587, label %630
587: ; preds = %583
%588 = load i32, ptr %15, align 4
%589 = mul nsw i32 %588, 8
%590 = load i32, ptr %12, align 4
%591 = add nsw i32 %589, %590
store i32 %591, ptr %43, align 4
store i32 0, ptr %11, align 4
br label %592
592: ; preds = %623, %587
%593 = load i32, ptr %11, align 4
%594 = load i32, ptr %18, align 4
%595 = icmp slt i32 %593, %594
br i1 %595, label %596, label %626
596: ; preds = %592
%597 = load i32, ptr %14, align 4
%598 = mul nsw i32 %597, 8
%599 = load i32, ptr %11, align 4
%600 = add nsw i32 %598, %599
store i32 %600, ptr %44, align 4
store i32 0, ptr %10, align 4
br label %601
601: ; preds = %619, %596
%602 = load i32, ptr %10, align 4
%603 = load i32, ptr %18, align 4
%604 = icmp slt i32 %602, %603
br i1 %604, label %605, label %622
605: ; preds = %601
%606 = load i32, ptr %13, align 4
%607 = mul nsw i32 %606, 8
%608 = load i32, ptr %10, align 4
%609 = add nsw i32 %607, %608
store i32 %609, ptr %45, align 4
%610 = load i32, ptr %5, align 4
%611 = load i32, ptr %16, align 4
%612 = load ptr, ptr %19, align 8
%613 = load ptr, ptr %20, align 8
%614 = load ptr, ptr %21, align 8
%615 = load i32, ptr %45, align 4
%616 = load i32, ptr %44, align 4
%617 = load i32, ptr %43, align 4
%618 = call i32 @do_block(i32 noundef %610, i32 noundef %611, ptr noundef %612, ptr noundef %613, ptr noundef %614, i32 noundef %615, i32 noundef %616, i32 noundef %617)
br label %619
619: ; preds = %605
%620 = load i32, ptr %10, align 4
%621 = add nsw i32 %620, 1
store i32 %621, ptr %10, align 4
br label %601, !llvm.loop !40
622: ; preds = %601
br label %623
623: ; preds = %622
%624 = load i32, ptr %11, align 4
%625 = add nsw i32 %624, 1
store i32 %625, ptr %11, align 4
br label %592, !llvm.loop !41
626: ; preds = %592
br label %627
627: ; preds = %626
%628 = load i32, ptr %12, align 4
%629 = add nsw i32 %628, 1
store i32 %629, ptr %12, align 4
br label %583, !llvm.loop !42
630: ; preds = %583
%631 = load i32, ptr %5, align 4
%632 = load i32, ptr %16, align 4
%633 = load ptr, ptr %8, align 8
%634 = load ptr, ptr %21, align 8
%635 = call i32 @block_to_row(i32 noundef %631, i32 noundef %632, ptr noundef %633, ptr noundef %634)
ret void
}
declare i64 @_mm_malloc(i32 noundef, i32 noundef) #1
declare i32 @row_to_block(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @row_to_block_transpose(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @do_block(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @block_to_row(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
!29 = distinct !{!29, !7}
!30 = distinct !{!30, !7}
!31 = distinct !{!31, !7}
!32 = distinct !{!32, !7}
!33 = distinct !{!33, !7}
!34 = distinct !{!34, !7}
!35 = distinct !{!35, !7}
!36 = distinct !{!36, !7}
!37 = distinct !{!37, !7}
!38 = distinct !{!38, !7}
!39 = distinct !{!39, !7}
!40 = distinct !{!40, !7}
!41 = distinct !{!41, !7}
!42 = distinct !{!42, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmponvrjkm5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @square_dgemm(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca i32, align 4
%37 = alloca i32, align 4
%38 = alloca i32, align 4
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca i32, align 4
%44 = alloca i32, align 4
%45 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%46 = load i32, ptr %5, align 4
%47 = srem i32 %46, 16
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %53
49: ; preds = %4
%50 = load i32, ptr %5, align 4
%51 = sdiv i32 %50, 16
store i32 %51, ptr %16, align 4
%52 = load i32, ptr %5, align 4
store i32 %52, ptr %9, align 4
br label %61
53: ; preds = %4
%54 = load i32, ptr %5, align 4
%55 = sdiv i32 %54, 16
%56 = add nsw i32 %55, 1
%57 = mul nsw i32 %56, 16
store i32 %57, ptr %9, align 4
%58 = load i32, ptr %5, align 4
%59 = sdiv i32 %58, 16
%60 = add nsw i32 %59, 1
store i32 %60, ptr %16, align 4
br label %61
61: ; preds = %53, %49
%62 = load i32, ptr %9, align 4
%63 = srem i32 %62, 128
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %68
65: ; preds = %61
%66 = load i32, ptr %9, align 4
%67 = sdiv i32 %66, 128
store i32 %67, ptr %17, align 4
store i32 8, ptr %18, align 4
br label %75
68: ; preds = %61
%69 = load i32, ptr %9, align 4
%70 = sdiv i32 %69, 128
%71 = add nsw i32 %70, 1
store i32 %71, ptr %17, align 4
%72 = load i32, ptr %9, align 4
%73 = srem i32 %72, 128
%74 = sdiv i32 %73, 16
store i32 %74, ptr %18, align 4
br label %75
75: ; preds = %68, %65
%76 = load i32, ptr %9, align 4
%77 = load i32, ptr %9, align 4
%78 = mul nsw i32 %76, %77
%79 = sext i32 %78 to i64
%80 = mul i64 %79, 8
%81 = trunc i64 %80 to i32
%82 = call i64 @_mm_malloc(i32 noundef %81, i32 noundef 64)
%83 = inttoptr i64 %82 to ptr
store ptr %83, ptr %19, align 8
%84 = load i32, ptr %9, align 4
%85 = load i32, ptr %9, align 4
%86 = mul nsw i32 %84, %85
%87 = sext i32 %86 to i64
%88 = mul i64 %87, 8
%89 = trunc i64 %88 to i32
%90 = call i64 @_mm_malloc(i32 noundef %89, i32 noundef 64)
%91 = inttoptr i64 %90 to ptr
store ptr %91, ptr %20, align 8
%92 = load i32, ptr %9, align 4
%93 = load i32, ptr %9, align 4
%94 = mul nsw i32 %92, %93
%95 = sext i32 %94 to i64
%96 = mul i64 %95, 8
%97 = trunc i64 %96 to i32
%98 = call i64 @_mm_malloc(i32 noundef %97, i32 noundef 64)
%99 = inttoptr i64 %98 to ptr
store ptr %99, ptr %21, align 8
%100 = load i32, ptr %5, align 4
%101 = load i32, ptr %16, align 4
%102 = load ptr, ptr %6, align 8
%103 = load ptr, ptr %19, align 8
%104 = call i32 @row_to_block(i32 noundef %100, i32 noundef %101, ptr noundef %102, ptr noundef %103)
%105 = load i32, ptr %5, align 4
%106 = load i32, ptr %16, align 4
%107 = load ptr, ptr %7, align 8
%108 = load ptr, ptr %20, align 8
%109 = call i32 @row_to_block_transpose(i32 noundef %105, i32 noundef %106, ptr noundef %107, ptr noundef %108)
%110 = load i32, ptr %5, align 4
%111 = load i32, ptr %16, align 4
%112 = load ptr, ptr %8, align 8
%113 = load ptr, ptr %21, align 8
%114 = call i32 @row_to_block(i32 noundef %110, i32 noundef %111, ptr noundef %112, ptr noundef %113)
store i32 0, ptr %15, align 4
%115 = load i32, ptr %15, align 4
%116 = load i32, ptr %17, align 4
%117 = sub nsw i32 %116, 1
%118 = icmp slt i32 %115, %117
br i1 %118, label %.lr.ph14, label %201
.lr.ph14: ; preds = %75
br label %119
119: ; preds = %.lr.ph14, %194
store i32 0, ptr %14, align 4
%120 = load i32, ptr %14, align 4
%121 = load i32, ptr %17, align 4
%122 = sub nsw i32 %121, 1
%123 = icmp slt i32 %120, %122
br i1 %123, label %.lr.ph11, label %193
.lr.ph11: ; preds = %119
br label %124
124: ; preds = %.lr.ph11, %186
store i32 0, ptr %13, align 4
%125 = load i32, ptr %13, align 4
%126 = load i32, ptr %17, align 4
%127 = sub nsw i32 %126, 1
%128 = icmp slt i32 %125, %127
br i1 %128, label %.lr.ph8, label %185
.lr.ph8: ; preds = %124
br label %129
129: ; preds = %.lr.ph8, %178
store i32 0, ptr %12, align 4
%130 = load i32, ptr %12, align 4
%131 = icmp slt i32 %130, 8
br i1 %131, label %.lr.ph5, label %177
.lr.ph5: ; preds = %129
br label %132
132: ; preds = %.lr.ph5, %172
%133 = load i32, ptr %15, align 4
%134 = mul nsw i32 %133, 8
%135 = load i32, ptr %12, align 4
%136 = add nsw i32 %134, %135
store i32 %136, ptr %22, align 4
store i32 0, ptr %11, align 4
%137 = load i32, ptr %11, align 4
%138 = icmp slt i32 %137, 8
br i1 %138, label %.lr.ph2, label %171
.lr.ph2: ; preds = %132
br label %139
139: ; preds = %.lr.ph2, %166
%140 = load i32, ptr %14, align 4
%141 = mul nsw i32 %140, 8
%142 = load i32, ptr %11, align 4
%143 = add nsw i32 %141, %142
store i32 %143, ptr %23, align 4
store i32 0, ptr %10, align 4
%144 = load i32, ptr %10, align 4
%145 = icmp slt i32 %144, 8
br i1 %145, label %.lr.ph, label %165
.lr.ph: ; preds = %139
br label %146
146: ; preds = %.lr.ph, %160
%147 = load i32, ptr %13, align 4
%148 = mul nsw i32 %147, 8
%149 = load i32, ptr %10, align 4
%150 = add nsw i32 %148, %149
store i32 %150, ptr %24, align 4
%151 = load i32, ptr %5, align 4
%152 = load i32, ptr %16, align 4
%153 = load ptr, ptr %19, align 8
%154 = load ptr, ptr %20, align 8
%155 = load ptr, ptr %21, align 8
%156 = load i32, ptr %24, align 4
%157 = load i32, ptr %23, align 4
%158 = load i32, ptr %22, align 4
%159 = call i32 @do_block(i32 noundef %151, i32 noundef %152, ptr noundef %153, ptr noundef %154, ptr noundef %155, i32 noundef %156, i32 noundef %157, i32 noundef %158)
br label %160
160: ; preds = %146
%161 = load i32, ptr %10, align 4
%162 = add nsw i32 %161, 1
store i32 %162, ptr %10, align 4
%163 = load i32, ptr %10, align 4
%164 = icmp slt i32 %163, 8
br i1 %164, label %146, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %160
br label %165
165: ; preds = %._crit_edge, %139
br label %166
166: ; preds = %165
%167 = load i32, ptr %11, align 4
%168 = add nsw i32 %167, 1
store i32 %168, ptr %11, align 4
%169 = load i32, ptr %11, align 4
%170 = icmp slt i32 %169, 8
br i1 %170, label %139, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %166
br label %171
171: ; preds = %._crit_edge3, %132
br label %172
172: ; preds = %171
%173 = load i32, ptr %12, align 4
%174 = add nsw i32 %173, 1
store i32 %174, ptr %12, align 4
%175 = load i32, ptr %12, align 4
%176 = icmp slt i32 %175, 8
br i1 %176, label %132, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %172
br label %177
177: ; preds = %._crit_edge6, %129
br label %178
178: ; preds = %177
%179 = load i32, ptr %13, align 4
%180 = add nsw i32 %179, 1
store i32 %180, ptr %13, align 4
%181 = load i32, ptr %13, align 4
%182 = load i32, ptr %17, align 4
%183 = sub nsw i32 %182, 1
%184 = icmp slt i32 %181, %183
br i1 %184, label %129, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %178
br label %185
185: ; preds = %._crit_edge9, %124
br label %186
186: ; preds = %185
%187 = load i32, ptr %14, align 4
%188 = add nsw i32 %187, 1
store i32 %188, ptr %14, align 4
%189 = load i32, ptr %14, align 4
%190 = load i32, ptr %17, align 4
%191 = sub nsw i32 %190, 1
%192 = icmp slt i32 %189, %191
br i1 %192, label %124, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %186
br label %193
193: ; preds = %._crit_edge12, %119
br label %194
194: ; preds = %193
%195 = load i32, ptr %15, align 4
%196 = add nsw i32 %195, 1
store i32 %196, ptr %15, align 4
%197 = load i32, ptr %15, align 4
%198 = load i32, ptr %17, align 4
%199 = sub nsw i32 %198, 1
%200 = icmp slt i32 %197, %199
br i1 %200, label %119, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %194
br label %201
201: ; preds = %._crit_edge15, %75
%202 = load i32, ptr %17, align 4
%203 = sub nsw i32 %202, 1
store i32 %203, ptr %15, align 4
store i32 0, ptr %14, align 4
%204 = load i32, ptr %14, align 4
%205 = load i32, ptr %17, align 4
%206 = sub nsw i32 %205, 1
%207 = icmp slt i32 %204, %206
br i1 %207, label %.lr.ph29, label %279
.lr.ph29: ; preds = %201
br label %208
208: ; preds = %.lr.ph29, %272
store i32 0, ptr %13, align 4
%209 = load i32, ptr %13, align 4
%210 = load i32, ptr %17, align 4
%211 = sub nsw i32 %210, 1
%212 = icmp slt i32 %209, %211
br i1 %212, label %.lr.ph26, label %271
.lr.ph26: ; preds = %208
br label %213
213: ; preds = %.lr.ph26, %264
store i32 0, ptr %12, align 4
%214 = load i32, ptr %12, align 4
%215 = load i32, ptr %18, align 4
%216 = icmp slt i32 %214, %215
br i1 %216, label %.lr.ph23, label %263
.lr.ph23: ; preds = %213
br label %217
217: ; preds = %.lr.ph23, %257
%218 = load i32, ptr %15, align 4
%219 = mul nsw i32 %218, 8
%220 = load i32, ptr %12, align 4
%221 = add nsw i32 %219, %220
store i32 %221, ptr %25, align 4
store i32 0, ptr %11, align 4
%222 = load i32, ptr %11, align 4
%223 = icmp slt i32 %222, 8
br i1 %223, label %.lr.ph20, label %256
.lr.ph20: ; preds = %217
br label %224
224: ; preds = %.lr.ph20, %251
%225 = load i32, ptr %14, align 4
%226 = mul nsw i32 %225, 8
%227 = load i32, ptr %11, align 4
%228 = add nsw i32 %226, %227
store i32 %228, ptr %26, align 4
store i32 0, ptr %10, align 4
%229 = load i32, ptr %10, align 4
%230 = icmp slt i32 %229, 8
br i1 %230, label %.lr.ph17, label %250
.lr.ph17: ; preds = %224
br label %231
231: ; preds = %.lr.ph17, %245
%232 = load i32, ptr %13, align 4
%233 = mul nsw i32 %232, 8
%234 = load i32, ptr %10, align 4
%235 = add nsw i32 %233, %234
store i32 %235, ptr %27, align 4
%236 = load i32, ptr %5, align 4
%237 = load i32, ptr %16, align 4
%238 = load ptr, ptr %19, align 8
%239 = load ptr, ptr %20, align 8
%240 = load ptr, ptr %21, align 8
%241 = load i32, ptr %27, align 4
%242 = load i32, ptr %26, align 4
%243 = load i32, ptr %25, align 4
%244 = call i32 @do_block(i32 noundef %236, i32 noundef %237, ptr noundef %238, ptr noundef %239, ptr noundef %240, i32 noundef %241, i32 noundef %242, i32 noundef %243)
br label %245
245: ; preds = %231
%246 = load i32, ptr %10, align 4
%247 = add nsw i32 %246, 1
store i32 %247, ptr %10, align 4
%248 = load i32, ptr %10, align 4
%249 = icmp slt i32 %248, 8
br i1 %249, label %231, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %245
br label %250
250: ; preds = %._crit_edge18, %224
br label %251
251: ; preds = %250
%252 = load i32, ptr %11, align 4
%253 = add nsw i32 %252, 1
store i32 %253, ptr %11, align 4
%254 = load i32, ptr %11, align 4
%255 = icmp slt i32 %254, 8
br i1 %255, label %224, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %251
br label %256
256: ; preds = %._crit_edge21, %217
br label %257
257: ; preds = %256
%258 = load i32, ptr %12, align 4
%259 = add nsw i32 %258, 1
store i32 %259, ptr %12, align 4
%260 = load i32, ptr %12, align 4
%261 = load i32, ptr %18, align 4
%262 = icmp slt i32 %260, %261
br i1 %262, label %217, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %257
br label %263
263: ; preds = %._crit_edge24, %213
br label %264
264: ; preds = %263
%265 = load i32, ptr %13, align 4
%266 = add nsw i32 %265, 1
store i32 %266, ptr %13, align 4
%267 = load i32, ptr %13, align 4
%268 = load i32, ptr %17, align 4
%269 = sub nsw i32 %268, 1
%270 = icmp slt i32 %267, %269
br i1 %270, label %213, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %264
br label %271
271: ; preds = %._crit_edge27, %208
br label %272
272: ; preds = %271
%273 = load i32, ptr %14, align 4
%274 = add nsw i32 %273, 1
store i32 %274, ptr %14, align 4
%275 = load i32, ptr %14, align 4
%276 = load i32, ptr %17, align 4
%277 = sub nsw i32 %276, 1
%278 = icmp slt i32 %275, %277
br i1 %278, label %208, label %._crit_edge30, !llvm.loop !17
._crit_edge30: ; preds = %272
br label %279
279: ; preds = %._crit_edge30, %201
%280 = load i32, ptr %17, align 4
%281 = sub nsw i32 %280, 1
store i32 %281, ptr %14, align 4
store i32 0, ptr %15, align 4
%282 = load i32, ptr %15, align 4
%283 = load i32, ptr %17, align 4
%284 = sub nsw i32 %283, 1
%285 = icmp slt i32 %282, %284
br i1 %285, label %.lr.ph44, label %357
.lr.ph44: ; preds = %279
br label %286
286: ; preds = %.lr.ph44, %350
store i32 0, ptr %13, align 4
%287 = load i32, ptr %13, align 4
%288 = load i32, ptr %17, align 4
%289 = sub nsw i32 %288, 1
%290 = icmp slt i32 %287, %289
br i1 %290, label %.lr.ph41, label %349
.lr.ph41: ; preds = %286
br label %291
291: ; preds = %.lr.ph41, %342
store i32 0, ptr %12, align 4
%292 = load i32, ptr %12, align 4
%293 = icmp slt i32 %292, 8
br i1 %293, label %.lr.ph38, label %341
.lr.ph38: ; preds = %291
br label %294
294: ; preds = %.lr.ph38, %336
%295 = load i32, ptr %15, align 4
%296 = mul nsw i32 %295, 8
%297 = load i32, ptr %12, align 4
%298 = add nsw i32 %296, %297
store i32 %298, ptr %28, align 4
store i32 0, ptr %11, align 4
%299 = load i32, ptr %11, align 4
%300 = load i32, ptr %18, align 4
%301 = icmp slt i32 %299, %300
br i1 %301, label %.lr.ph35, label %335
.lr.ph35: ; preds = %294
br label %302
302: ; preds = %.lr.ph35, %329
%303 = load i32, ptr %14, align 4
%304 = mul nsw i32 %303, 8
%305 = load i32, ptr %11, align 4
%306 = add nsw i32 %304, %305
store i32 %306, ptr %29, align 4
store i32 0, ptr %10, align 4
%307 = load i32, ptr %10, align 4
%308 = icmp slt i32 %307, 8
br i1 %308, label %.lr.ph32, label %328
.lr.ph32: ; preds = %302
br label %309
309: ; preds = %.lr.ph32, %323
%310 = load i32, ptr %13, align 4
%311 = mul nsw i32 %310, 8
%312 = load i32, ptr %10, align 4
%313 = add nsw i32 %311, %312
store i32 %313, ptr %30, align 4
%314 = load i32, ptr %5, align 4
%315 = load i32, ptr %16, align 4
%316 = load ptr, ptr %19, align 8
%317 = load ptr, ptr %20, align 8
%318 = load ptr, ptr %21, align 8
%319 = load i32, ptr %30, align 4
%320 = load i32, ptr %29, align 4
%321 = load i32, ptr %28, align 4
%322 = call i32 @do_block(i32 noundef %314, i32 noundef %315, ptr noundef %316, ptr noundef %317, ptr noundef %318, i32 noundef %319, i32 noundef %320, i32 noundef %321)
br label %323
323: ; preds = %309
%324 = load i32, ptr %10, align 4
%325 = add nsw i32 %324, 1
store i32 %325, ptr %10, align 4
%326 = load i32, ptr %10, align 4
%327 = icmp slt i32 %326, 8
br i1 %327, label %309, label %._crit_edge33, !llvm.loop !18
._crit_edge33: ; preds = %323
br label %328
328: ; preds = %._crit_edge33, %302
br label %329
329: ; preds = %328
%330 = load i32, ptr %11, align 4
%331 = add nsw i32 %330, 1
store i32 %331, ptr %11, align 4
%332 = load i32, ptr %11, align 4
%333 = load i32, ptr %18, align 4
%334 = icmp slt i32 %332, %333
br i1 %334, label %302, label %._crit_edge36, !llvm.loop !19
._crit_edge36: ; preds = %329
br label %335
335: ; preds = %._crit_edge36, %294
br label %336
336: ; preds = %335
%337 = load i32, ptr %12, align 4
%338 = add nsw i32 %337, 1
store i32 %338, ptr %12, align 4
%339 = load i32, ptr %12, align 4
%340 = icmp slt i32 %339, 8
br i1 %340, label %294, label %._crit_edge39, !llvm.loop !20
._crit_edge39: ; preds = %336
br label %341
341: ; preds = %._crit_edge39, %291
br label %342
342: ; preds = %341
%343 = load i32, ptr %13, align 4
%344 = add nsw i32 %343, 1
store i32 %344, ptr %13, align 4
%345 = load i32, ptr %13, align 4
%346 = load i32, ptr %17, align 4
%347 = sub nsw i32 %346, 1
%348 = icmp slt i32 %345, %347
br i1 %348, label %291, label %._crit_edge42, !llvm.loop !21
._crit_edge42: ; preds = %342
br label %349
349: ; preds = %._crit_edge42, %286
br label %350
350: ; preds = %349
%351 = load i32, ptr %15, align 4
%352 = add nsw i32 %351, 1
store i32 %352, ptr %15, align 4
%353 = load i32, ptr %15, align 4
%354 = load i32, ptr %17, align 4
%355 = sub nsw i32 %354, 1
%356 = icmp slt i32 %353, %355
br i1 %356, label %286, label %._crit_edge45, !llvm.loop !22
._crit_edge45: ; preds = %350
br label %357
357: ; preds = %._crit_edge45, %279
%358 = load i32, ptr %17, align 4
%359 = sub nsw i32 %358, 1
store i32 %359, ptr %13, align 4
store i32 0, ptr %15, align 4
%360 = load i32, ptr %15, align 4
%361 = load i32, ptr %17, align 4
%362 = sub nsw i32 %361, 1
%363 = icmp slt i32 %360, %362
br i1 %363, label %.lr.ph59, label %435
.lr.ph59: ; preds = %357
br label %364
364: ; preds = %.lr.ph59, %428
store i32 0, ptr %14, align 4
%365 = load i32, ptr %14, align 4
%366 = load i32, ptr %17, align 4
%367 = sub nsw i32 %366, 1
%368 = icmp slt i32 %365, %367
br i1 %368, label %.lr.ph56, label %427
.lr.ph56: ; preds = %364
br label %369
369: ; preds = %.lr.ph56, %420
store i32 0, ptr %12, align 4
%370 = load i32, ptr %12, align 4
%371 = icmp slt i32 %370, 8
br i1 %371, label %.lr.ph53, label %419
.lr.ph53: ; preds = %369
br label %372
372: ; preds = %.lr.ph53, %414
%373 = load i32, ptr %15, align 4
%374 = mul nsw i32 %373, 8
%375 = load i32, ptr %12, align 4
%376 = add nsw i32 %374, %375
store i32 %376, ptr %31, align 4
store i32 0, ptr %11, align 4
%377 = load i32, ptr %11, align 4
%378 = icmp slt i32 %377, 8
br i1 %378, label %.lr.ph50, label %413
.lr.ph50: ; preds = %372
br label %379
379: ; preds = %.lr.ph50, %408
%380 = load i32, ptr %14, align 4
%381 = mul nsw i32 %380, 8
%382 = load i32, ptr %11, align 4
%383 = add nsw i32 %381, %382
store i32 %383, ptr %32, align 4
store i32 0, ptr %10, align 4
%384 = load i32, ptr %10, align 4
%385 = load i32, ptr %18, align 4
%386 = icmp slt i32 %384, %385
br i1 %386, label %.lr.ph47, label %407
.lr.ph47: ; preds = %379
br label %387
387: ; preds = %.lr.ph47, %401
%388 = load i32, ptr %13, align 4
%389 = mul nsw i32 %388, 8
%390 = load i32, ptr %10, align 4
%391 = add nsw i32 %389, %390
store i32 %391, ptr %33, align 4
%392 = load i32, ptr %5, align 4
%393 = load i32, ptr %16, align 4
%394 = load ptr, ptr %19, align 8
%395 = load ptr, ptr %20, align 8
%396 = load ptr, ptr %21, align 8
%397 = load i32, ptr %33, align 4
%398 = load i32, ptr %32, align 4
%399 = load i32, ptr %31, align 4
%400 = call i32 @do_block(i32 noundef %392, i32 noundef %393, ptr noundef %394, ptr noundef %395, ptr noundef %396, i32 noundef %397, i32 noundef %398, i32 noundef %399)
br label %401
401: ; preds = %387
%402 = load i32, ptr %10, align 4
%403 = add nsw i32 %402, 1
store i32 %403, ptr %10, align 4
%404 = load i32, ptr %10, align 4
%405 = load i32, ptr %18, align 4
%406 = icmp slt i32 %404, %405
br i1 %406, label %387, label %._crit_edge48, !llvm.loop !23
._crit_edge48: ; preds = %401
br label %407
407: ; preds = %._crit_edge48, %379
br label %408
408: ; preds = %407
%409 = load i32, ptr %11, align 4
%410 = add nsw i32 %409, 1
store i32 %410, ptr %11, align 4
%411 = load i32, ptr %11, align 4
%412 = icmp slt i32 %411, 8
br i1 %412, label %379, label %._crit_edge51, !llvm.loop !24
._crit_edge51: ; preds = %408
br label %413
413: ; preds = %._crit_edge51, %372
br label %414
414: ; preds = %413
%415 = load i32, ptr %12, align 4
%416 = add nsw i32 %415, 1
store i32 %416, ptr %12, align 4
%417 = load i32, ptr %12, align 4
%418 = icmp slt i32 %417, 8
br i1 %418, label %372, label %._crit_edge54, !llvm.loop !25
._crit_edge54: ; preds = %414
br label %419
419: ; preds = %._crit_edge54, %369
br label %420
420: ; preds = %419
%421 = load i32, ptr %14, align 4
%422 = add nsw i32 %421, 1
store i32 %422, ptr %14, align 4
%423 = load i32, ptr %14, align 4
%424 = load i32, ptr %17, align 4
%425 = sub nsw i32 %424, 1
%426 = icmp slt i32 %423, %425
br i1 %426, label %369, label %._crit_edge57, !llvm.loop !26
._crit_edge57: ; preds = %420
br label %427
427: ; preds = %._crit_edge57, %364
br label %428
428: ; preds = %427
%429 = load i32, ptr %15, align 4
%430 = add nsw i32 %429, 1
store i32 %430, ptr %15, align 4
%431 = load i32, ptr %15, align 4
%432 = load i32, ptr %17, align 4
%433 = sub nsw i32 %432, 1
%434 = icmp slt i32 %431, %433
br i1 %434, label %364, label %._crit_edge60, !llvm.loop !27
._crit_edge60: ; preds = %428
br label %435
435: ; preds = %._crit_edge60, %357
%436 = load i32, ptr %17, align 4
%437 = sub nsw i32 %436, 1
store i32 %437, ptr %14, align 4
%438 = load i32, ptr %17, align 4
%439 = sub nsw i32 %438, 1
store i32 %439, ptr %15, align 4
store i32 0, ptr %13, align 4
%440 = load i32, ptr %13, align 4
%441 = load i32, ptr %17, align 4
%442 = sub nsw i32 %441, 1
%443 = icmp slt i32 %440, %442
br i1 %443, label %.lr.ph71, label %504
.lr.ph71: ; preds = %435
br label %444
444: ; preds = %.lr.ph71, %497
store i32 0, ptr %12, align 4
%445 = load i32, ptr %12, align 4
%446 = load i32, ptr %18, align 4
%447 = icmp slt i32 %445, %446
br i1 %447, label %.lr.ph68, label %496
.lr.ph68: ; preds = %444
br label %448
448: ; preds = %.lr.ph68, %490
%449 = load i32, ptr %15, align 4
%450 = mul nsw i32 %449, 8
%451 = load i32, ptr %12, align 4
%452 = add nsw i32 %450, %451
store i32 %452, ptr %34, align 4
store i32 0, ptr %11, align 4
%453 = load i32, ptr %11, align 4
%454 = load i32, ptr %18, align 4
%455 = icmp slt i32 %453, %454
br i1 %455, label %.lr.ph65, label %489
.lr.ph65: ; preds = %448
br label %456
456: ; preds = %.lr.ph65, %483
%457 = load i32, ptr %14, align 4
%458 = mul nsw i32 %457, 8
%459 = load i32, ptr %11, align 4
%460 = add nsw i32 %458, %459
store i32 %460, ptr %35, align 4
store i32 0, ptr %10, align 4
%461 = load i32, ptr %10, align 4
%462 = icmp slt i32 %461, 8
br i1 %462, label %.lr.ph62, label %482
.lr.ph62: ; preds = %456
br label %463
463: ; preds = %.lr.ph62, %477
%464 = load i32, ptr %13, align 4
%465 = mul nsw i32 %464, 8
%466 = load i32, ptr %10, align 4
%467 = add nsw i32 %465, %466
store i32 %467, ptr %36, align 4
%468 = load i32, ptr %5, align 4
%469 = load i32, ptr %16, align 4
%470 = load ptr, ptr %19, align 8
%471 = load ptr, ptr %20, align 8
%472 = load ptr, ptr %21, align 8
%473 = load i32, ptr %36, align 4
%474 = load i32, ptr %35, align 4
%475 = load i32, ptr %34, align 4
%476 = call i32 @do_block(i32 noundef %468, i32 noundef %469, ptr noundef %470, ptr noundef %471, ptr noundef %472, i32 noundef %473, i32 noundef %474, i32 noundef %475)
br label %477
477: ; preds = %463
%478 = load i32, ptr %10, align 4
%479 = add nsw i32 %478, 1
store i32 %479, ptr %10, align 4
%480 = load i32, ptr %10, align 4
%481 = icmp slt i32 %480, 8
br i1 %481, label %463, label %._crit_edge63, !llvm.loop !28
._crit_edge63: ; preds = %477
br label %482
482: ; preds = %._crit_edge63, %456
br label %483
483: ; preds = %482
%484 = load i32, ptr %11, align 4
%485 = add nsw i32 %484, 1
store i32 %485, ptr %11, align 4
%486 = load i32, ptr %11, align 4
%487 = load i32, ptr %18, align 4
%488 = icmp slt i32 %486, %487
br i1 %488, label %456, label %._crit_edge66, !llvm.loop !29
._crit_edge66: ; preds = %483
br label %489
489: ; preds = %._crit_edge66, %448
br label %490
490: ; preds = %489
%491 = load i32, ptr %12, align 4
%492 = add nsw i32 %491, 1
store i32 %492, ptr %12, align 4
%493 = load i32, ptr %12, align 4
%494 = load i32, ptr %18, align 4
%495 = icmp slt i32 %493, %494
br i1 %495, label %448, label %._crit_edge69, !llvm.loop !30
._crit_edge69: ; preds = %490
br label %496
496: ; preds = %._crit_edge69, %444
br label %497
497: ; preds = %496
%498 = load i32, ptr %13, align 4
%499 = add nsw i32 %498, 1
store i32 %499, ptr %13, align 4
%500 = load i32, ptr %13, align 4
%501 = load i32, ptr %17, align 4
%502 = sub nsw i32 %501, 1
%503 = icmp slt i32 %500, %502
br i1 %503, label %444, label %._crit_edge72, !llvm.loop !31
._crit_edge72: ; preds = %497
br label %504
504: ; preds = %._crit_edge72, %435
%505 = load i32, ptr %17, align 4
%506 = sub nsw i32 %505, 1
store i32 %506, ptr %13, align 4
%507 = load i32, ptr %17, align 4
%508 = sub nsw i32 %507, 1
store i32 %508, ptr %15, align 4
store i32 0, ptr %14, align 4
%509 = load i32, ptr %14, align 4
%510 = load i32, ptr %17, align 4
%511 = sub nsw i32 %510, 1
%512 = icmp slt i32 %509, %511
br i1 %512, label %.lr.ph83, label %573
.lr.ph83: ; preds = %504
br label %513
513: ; preds = %.lr.ph83, %566
store i32 0, ptr %12, align 4
%514 = load i32, ptr %12, align 4
%515 = load i32, ptr %18, align 4
%516 = icmp slt i32 %514, %515
br i1 %516, label %.lr.ph80, label %565
.lr.ph80: ; preds = %513
br label %517
517: ; preds = %.lr.ph80, %559
%518 = load i32, ptr %15, align 4
%519 = mul nsw i32 %518, 8
%520 = load i32, ptr %12, align 4
%521 = add nsw i32 %519, %520
store i32 %521, ptr %37, align 4
store i32 0, ptr %11, align 4
%522 = load i32, ptr %11, align 4
%523 = icmp slt i32 %522, 8
br i1 %523, label %.lr.ph77, label %558
.lr.ph77: ; preds = %517
br label %524
524: ; preds = %.lr.ph77, %553
%525 = load i32, ptr %14, align 4
%526 = mul nsw i32 %525, 8
%527 = load i32, ptr %11, align 4
%528 = add nsw i32 %526, %527
store i32 %528, ptr %38, align 4
store i32 0, ptr %10, align 4
%529 = load i32, ptr %10, align 4
%530 = load i32, ptr %18, align 4
%531 = icmp slt i32 %529, %530
br i1 %531, label %.lr.ph74, label %552
.lr.ph74: ; preds = %524
br label %532
532: ; preds = %.lr.ph74, %546
%533 = load i32, ptr %13, align 4
%534 = mul nsw i32 %533, 8
%535 = load i32, ptr %10, align 4
%536 = add nsw i32 %534, %535
store i32 %536, ptr %39, align 4
%537 = load i32, ptr %5, align 4
%538 = load i32, ptr %16, align 4
%539 = load ptr, ptr %19, align 8
%540 = load ptr, ptr %20, align 8
%541 = load ptr, ptr %21, align 8
%542 = load i32, ptr %39, align 4
%543 = load i32, ptr %38, align 4
%544 = load i32, ptr %37, align 4
%545 = call i32 @do_block(i32 noundef %537, i32 noundef %538, ptr noundef %539, ptr noundef %540, ptr noundef %541, i32 noundef %542, i32 noundef %543, i32 noundef %544)
br label %546
546: ; preds = %532
%547 = load i32, ptr %10, align 4
%548 = add nsw i32 %547, 1
store i32 %548, ptr %10, align 4
%549 = load i32, ptr %10, align 4
%550 = load i32, ptr %18, align 4
%551 = icmp slt i32 %549, %550
br i1 %551, label %532, label %._crit_edge75, !llvm.loop !32
._crit_edge75: ; preds = %546
br label %552
552: ; preds = %._crit_edge75, %524
br label %553
553: ; preds = %552
%554 = load i32, ptr %11, align 4
%555 = add nsw i32 %554, 1
store i32 %555, ptr %11, align 4
%556 = load i32, ptr %11, align 4
%557 = icmp slt i32 %556, 8
br i1 %557, label %524, label %._crit_edge78, !llvm.loop !33
._crit_edge78: ; preds = %553
br label %558
558: ; preds = %._crit_edge78, %517
br label %559
559: ; preds = %558
%560 = load i32, ptr %12, align 4
%561 = add nsw i32 %560, 1
store i32 %561, ptr %12, align 4
%562 = load i32, ptr %12, align 4
%563 = load i32, ptr %18, align 4
%564 = icmp slt i32 %562, %563
br i1 %564, label %517, label %._crit_edge81, !llvm.loop !34
._crit_edge81: ; preds = %559
br label %565
565: ; preds = %._crit_edge81, %513
br label %566
566: ; preds = %565
%567 = load i32, ptr %14, align 4
%568 = add nsw i32 %567, 1
store i32 %568, ptr %14, align 4
%569 = load i32, ptr %14, align 4
%570 = load i32, ptr %17, align 4
%571 = sub nsw i32 %570, 1
%572 = icmp slt i32 %569, %571
br i1 %572, label %513, label %._crit_edge84, !llvm.loop !35
._crit_edge84: ; preds = %566
br label %573
573: ; preds = %._crit_edge84, %504
%574 = load i32, ptr %17, align 4
%575 = sub nsw i32 %574, 1
store i32 %575, ptr %14, align 4
%576 = load i32, ptr %17, align 4
%577 = sub nsw i32 %576, 1
store i32 %577, ptr %13, align 4
store i32 0, ptr %15, align 4
%578 = load i32, ptr %15, align 4
%579 = load i32, ptr %17, align 4
%580 = sub nsw i32 %579, 1
%581 = icmp slt i32 %578, %580
br i1 %581, label %.lr.ph95, label %642
.lr.ph95: ; preds = %573
br label %582
582: ; preds = %.lr.ph95, %635
store i32 0, ptr %12, align 4
%583 = load i32, ptr %12, align 4
%584 = icmp slt i32 %583, 8
br i1 %584, label %.lr.ph92, label %634
.lr.ph92: ; preds = %582
br label %585
585: ; preds = %.lr.ph92, %629
%586 = load i32, ptr %15, align 4
%587 = mul nsw i32 %586, 8
%588 = load i32, ptr %12, align 4
%589 = add nsw i32 %587, %588
store i32 %589, ptr %40, align 4
store i32 0, ptr %11, align 4
%590 = load i32, ptr %11, align 4
%591 = load i32, ptr %18, align 4
%592 = icmp slt i32 %590, %591
br i1 %592, label %.lr.ph89, label %628
.lr.ph89: ; preds = %585
br label %593
593: ; preds = %.lr.ph89, %622
%594 = load i32, ptr %14, align 4
%595 = mul nsw i32 %594, 8
%596 = load i32, ptr %11, align 4
%597 = add nsw i32 %595, %596
store i32 %597, ptr %41, align 4
store i32 0, ptr %10, align 4
%598 = load i32, ptr %10, align 4
%599 = load i32, ptr %18, align 4
%600 = icmp slt i32 %598, %599
br i1 %600, label %.lr.ph86, label %621
.lr.ph86: ; preds = %593
br label %601
601: ; preds = %.lr.ph86, %615
%602 = load i32, ptr %13, align 4
%603 = mul nsw i32 %602, 8
%604 = load i32, ptr %10, align 4
%605 = add nsw i32 %603, %604
store i32 %605, ptr %42, align 4
%606 = load i32, ptr %5, align 4
%607 = load i32, ptr %16, align 4
%608 = load ptr, ptr %19, align 8
%609 = load ptr, ptr %20, align 8
%610 = load ptr, ptr %21, align 8
%611 = load i32, ptr %42, align 4
%612 = load i32, ptr %41, align 4
%613 = load i32, ptr %40, align 4
%614 = call i32 @do_block(i32 noundef %606, i32 noundef %607, ptr noundef %608, ptr noundef %609, ptr noundef %610, i32 noundef %611, i32 noundef %612, i32 noundef %613)
br label %615
615: ; preds = %601
%616 = load i32, ptr %10, align 4
%617 = add nsw i32 %616, 1
store i32 %617, ptr %10, align 4
%618 = load i32, ptr %10, align 4
%619 = load i32, ptr %18, align 4
%620 = icmp slt i32 %618, %619
br i1 %620, label %601, label %._crit_edge87, !llvm.loop !36
._crit_edge87: ; preds = %615
br label %621
621: ; preds = %._crit_edge87, %593
br label %622
622: ; preds = %621
%623 = load i32, ptr %11, align 4
%624 = add nsw i32 %623, 1
store i32 %624, ptr %11, align 4
%625 = load i32, ptr %11, align 4
%626 = load i32, ptr %18, align 4
%627 = icmp slt i32 %625, %626
br i1 %627, label %593, label %._crit_edge90, !llvm.loop !37
._crit_edge90: ; preds = %622
br label %628
628: ; preds = %._crit_edge90, %585
br label %629
629: ; preds = %628
%630 = load i32, ptr %12, align 4
%631 = add nsw i32 %630, 1
store i32 %631, ptr %12, align 4
%632 = load i32, ptr %12, align 4
%633 = icmp slt i32 %632, 8
br i1 %633, label %585, label %._crit_edge93, !llvm.loop !38
._crit_edge93: ; preds = %629
br label %634
634: ; preds = %._crit_edge93, %582
br label %635
635: ; preds = %634
%636 = load i32, ptr %15, align 4
%637 = add nsw i32 %636, 1
store i32 %637, ptr %15, align 4
%638 = load i32, ptr %15, align 4
%639 = load i32, ptr %17, align 4
%640 = sub nsw i32 %639, 1
%641 = icmp slt i32 %638, %640
br i1 %641, label %582, label %._crit_edge96, !llvm.loop !39
._crit_edge96: ; preds = %635
br label %642
642: ; preds = %._crit_edge96, %573
%643 = load i32, ptr %17, align 4
%644 = sub nsw i32 %643, 1
store i32 %644, ptr %14, align 4
%645 = load i32, ptr %17, align 4
%646 = sub nsw i32 %645, 1
store i32 %646, ptr %14, align 4
%647 = load i32, ptr %17, align 4
%648 = sub nsw i32 %647, 1
store i32 %648, ptr %13, align 4
store i32 0, ptr %12, align 4
%649 = load i32, ptr %12, align 4
%650 = load i32, ptr %18, align 4
%651 = icmp slt i32 %649, %650
br i1 %651, label %.lr.ph104, label %702
.lr.ph104: ; preds = %642
br label %652
652: ; preds = %.lr.ph104, %696
%653 = load i32, ptr %15, align 4
%654 = mul nsw i32 %653, 8
%655 = load i32, ptr %12, align 4
%656 = add nsw i32 %654, %655
store i32 %656, ptr %43, align 4
store i32 0, ptr %11, align 4
%657 = load i32, ptr %11, align 4
%658 = load i32, ptr %18, align 4
%659 = icmp slt i32 %657, %658
br i1 %659, label %.lr.ph101, label %695
.lr.ph101: ; preds = %652
br label %660
660: ; preds = %.lr.ph101, %689
%661 = load i32, ptr %14, align 4
%662 = mul nsw i32 %661, 8
%663 = load i32, ptr %11, align 4
%664 = add nsw i32 %662, %663
store i32 %664, ptr %44, align 4
store i32 0, ptr %10, align 4
%665 = load i32, ptr %10, align 4
%666 = load i32, ptr %18, align 4
%667 = icmp slt i32 %665, %666
br i1 %667, label %.lr.ph98, label %688
.lr.ph98: ; preds = %660
br label %668
668: ; preds = %.lr.ph98, %682
%669 = load i32, ptr %13, align 4
%670 = mul nsw i32 %669, 8
%671 = load i32, ptr %10, align 4
%672 = add nsw i32 %670, %671
store i32 %672, ptr %45, align 4
%673 = load i32, ptr %5, align 4
%674 = load i32, ptr %16, align 4
%675 = load ptr, ptr %19, align 8
%676 = load ptr, ptr %20, align 8
%677 = load ptr, ptr %21, align 8
%678 = load i32, ptr %45, align 4
%679 = load i32, ptr %44, align 4
%680 = load i32, ptr %43, align 4
%681 = call i32 @do_block(i32 noundef %673, i32 noundef %674, ptr noundef %675, ptr noundef %676, ptr noundef %677, i32 noundef %678, i32 noundef %679, i32 noundef %680)
br label %682
682: ; preds = %668
%683 = load i32, ptr %10, align 4
%684 = add nsw i32 %683, 1
store i32 %684, ptr %10, align 4
%685 = load i32, ptr %10, align 4
%686 = load i32, ptr %18, align 4
%687 = icmp slt i32 %685, %686
br i1 %687, label %668, label %._crit_edge99, !llvm.loop !40
._crit_edge99: ; preds = %682
br label %688
688: ; preds = %._crit_edge99, %660
br label %689
689: ; preds = %688
%690 = load i32, ptr %11, align 4
%691 = add nsw i32 %690, 1
store i32 %691, ptr %11, align 4
%692 = load i32, ptr %11, align 4
%693 = load i32, ptr %18, align 4
%694 = icmp slt i32 %692, %693
br i1 %694, label %660, label %._crit_edge102, !llvm.loop !41
._crit_edge102: ; preds = %689
br label %695
695: ; preds = %._crit_edge102, %652
br label %696
696: ; preds = %695
%697 = load i32, ptr %12, align 4
%698 = add nsw i32 %697, 1
store i32 %698, ptr %12, align 4
%699 = load i32, ptr %12, align 4
%700 = load i32, ptr %18, align 4
%701 = icmp slt i32 %699, %700
br i1 %701, label %652, label %._crit_edge105, !llvm.loop !42
._crit_edge105: ; preds = %696
br label %702
702: ; preds = %._crit_edge105, %642
%703 = load i32, ptr %5, align 4
%704 = load i32, ptr %16, align 4
%705 = load ptr, ptr %8, align 8
%706 = load ptr, ptr %21, align 8
%707 = call i32 @block_to_row(i32 noundef %703, i32 noundef %704, ptr noundef %705, ptr noundef %706)
ret void
}
declare i64 @_mm_malloc(i32 noundef, i32 noundef) #1
declare i32 @row_to_block(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @row_to_block_transpose(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @do_block(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @block_to_row(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
!27 = distinct !{!27, !7}
!28 = distinct !{!28, !7}
!29 = distinct !{!29, !7}
!30 = distinct !{!30, !7}
!31 = distinct !{!31, !7}
!32 = distinct !{!32, !7}
!33 = distinct !{!33, !7}
!34 = distinct !{!34, !7}
!35 = distinct !{!35, !7}
!36 = distinct !{!36, !7}
!37 = distinct !{!37, !7}
!38 = distinct !{!38, !7}
!39 = distinct !{!39, !7}
!40 = distinct !{!40, !7}
!41 = distinct !{!41, !7}
!42 = distinct !{!42, !7}
|
; ModuleID = '/tmp/tmpnr47va6a.c'
source_filename = "/tmp/tmpnr47va6a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dd if=/dev/urandom of=%s count=%d bs=4096 status=none\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_to_disk(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [1024 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call i32 @snprintf(ptr noundef %6, i32 noundef 1024, ptr noundef @.str, ptr noundef %7, i32 noundef %8)
%10 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%11 = call i64 @system(ptr noundef %10)
%12 = icmp eq i64 %11, 0
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
ret void
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnr47va6a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dd if=/dev/urandom of=%s count=%d bs=4096 status=none\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_to_disk(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [1024 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call i32 @snprintf(ptr noundef %6, i32 noundef 1024, ptr noundef @.str, ptr noundef %7, i32 noundef %8)
%10 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%11 = call i64 @system(ptr noundef %10)
%12 = icmp eq i64 %11, 0
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
ret void
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjqcqj2ba.c'
source_filename = "/tmp/tmpjqcqj2ba.c"
target datalayout = "e-m:e-p270: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/tmpjqcqj2ba.c"
target datalayout = "e-m:e-p270: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/tmp9fnq4wb6.c'
source_filename = "/tmp/tmp9fnq4wb6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @IncompleteGamma(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca [6 x double], align 16
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
%22 = load double, ptr %6, align 8
store double %22, ptr %9, align 8
%23 = load double, ptr %7, align 8
store double %23, ptr %10, align 8
store double 1.000000e-10, ptr %11, align 8
store double 0x4C63E9E4E4C2F344, ptr %12, align 8
store double 0.000000e+00, ptr %14, align 8
store double 0.000000e+00, ptr %15, align 8
store double 0.000000e+00, ptr %16, align 8
store double 0.000000e+00, ptr %17, align 8
store double 0.000000e+00, ptr %18, align 8
store double 0.000000e+00, ptr %19, align 8
store double 0.000000e+00, ptr %20, align 8
%24 = load double, ptr %5, align 8
%25 = fcmp oeq double %24, 0.000000e+00
br i1 %25, label %26, label %27
26: ; preds = %3
store double 0.000000e+00, ptr %4, align 8
br label %205
27: ; preds = %3
%28 = load double, ptr %5, align 8
%29 = fcmp olt double %28, 0.000000e+00
br i1 %29, label %33, label %30
30: ; preds = %27
%31 = load double, ptr %9, align 8
%32 = fcmp ole double %31, 0.000000e+00
br i1 %32, label %33, label %34
33: ; preds = %30, %27
store double -1.000000e+00, ptr %4, align 8
br label %205
34: ; preds = %30
%35 = load double, ptr %9, align 8
%36 = load double, ptr %5, align 8
%37 = call double @log(double noundef %36) #3
%38 = load double, ptr %5, align 8
%39 = fneg double %38
%40 = call double @llvm.fmuladd.f64(double %35, double %37, double %39)
%41 = load double, ptr %10, align 8
%42 = fsub double %40, %41
%43 = call double @exp(double noundef %42) #3
store double %43, ptr %13, align 8
%44 = load double, ptr %5, align 8
%45 = fcmp ogt double %44, 1.000000e+00
br i1 %45, label %46, label %51
46: ; preds = %34
%47 = load double, ptr %5, align 8
%48 = load double, ptr %9, align 8
%49 = fcmp oge double %47, %48
br i1 %49, label %50, label %51
50: ; preds = %46
br label %74
51: ; preds = %46, %34
store double 1.000000e+00, ptr %14, align 8
store double 1.000000e+00, ptr %20, align 8
%52 = load double, ptr %9, align 8
store double %52, ptr %15, align 8
br label %53
53: ; preds = %67, %51
%54 = load double, ptr %15, align 8
%55 = fadd double %54, 1.000000e+00
store double %55, ptr %15, align 8
%56 = load double, ptr %5, align 8
%57 = load double, ptr %15, align 8
%58 = fdiv double %56, %57
%59 = load double, ptr %20, align 8
%60 = fmul double %59, %58
store double %60, ptr %20, align 8
%61 = load double, ptr %20, align 8
%62 = load double, ptr %14, align 8
%63 = fadd double %62, %61
store double %63, ptr %14, align 8
%64 = load double, ptr %20, align 8
%65 = load double, ptr %11, align 8
%66 = fcmp ogt double %64, %65
br i1 %66, label %67, label %68
67: ; preds = %53
br label %53
68: ; preds = %53
%69 = load double, ptr %13, align 8
%70 = load double, ptr %9, align 8
%71 = fdiv double %69, %70
%72 = load double, ptr %14, align 8
%73 = fmul double %72, %71
store double %73, ptr %14, align 8
br label %203
74: ; preds = %50
%75 = load double, ptr %9, align 8
%76 = fsub double 1.000000e+00, %75
store double %76, ptr %16, align 8
%77 = load double, ptr %16, align 8
%78 = load double, ptr %5, align 8
%79 = fadd double %77, %78
%80 = fadd double %79, 1.000000e+00
store double %80, ptr %17, align 8
store double 0.000000e+00, ptr %20, align 8
%81 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 0
store double 1.000000e+00, ptr %81, align 16
%82 = load double, ptr %5, align 8
%83 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 1
store double %82, ptr %83, align 8
%84 = load double, ptr %5, align 8
%85 = fadd double %84, 1.000000e+00
%86 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 2
store double %85, ptr %86, align 16
%87 = load double, ptr %5, align 8
%88 = load double, ptr %17, align 8
%89 = fmul double %87, %88
%90 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 3
store double %89, ptr %90, align 8
%91 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 2
%92 = load double, ptr %91, align 16
%93 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 3
%94 = load double, ptr %93, align 8
%95 = fdiv double %92, %94
store double %95, ptr %14, align 8
br label %96
96: ; preds = %197, %182, %74
%97 = load double, ptr %16, align 8
%98 = fadd double %97, 1.000000e+00
store double %98, ptr %16, align 8
%99 = load double, ptr %17, align 8
%100 = fadd double %99, 2.000000e+00
store double %100, ptr %17, align 8
%101 = load double, ptr %20, align 8
%102 = fadd double %101, 1.000000e+00
store double %102, ptr %20, align 8
%103 = load double, ptr %16, align 8
%104 = load double, ptr %20, align 8
%105 = fmul double %103, %104
store double %105, ptr %18, align 8
store i32 0, ptr %8, align 4
br label %106
106: ; preds = %128, %96
%107 = load i32, ptr %8, align 4
%108 = icmp slt i32 %107, 2
br i1 %108, label %109, label %131
109: ; preds = %106
%110 = load double, ptr %17, align 8
%111 = load i32, ptr %8, align 4
%112 = add nsw i32 %111, 2
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 %113
%115 = load double, ptr %114, align 8
%116 = load double, ptr %18, align 8
%117 = load i32, ptr %8, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 %118
%120 = load double, ptr %119, align 8
%121 = fmul double %116, %120
%122 = fneg double %121
%123 = call double @llvm.fmuladd.f64(double %110, double %115, double %122)
%124 = load i32, ptr %8, align 4
%125 = add nsw i32 %124, 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 %126
store double %123, ptr %127, align 8
br label %128
128: ; preds = %109
%129 = load i32, ptr %8, align 4
%130 = add nsw i32 %129, 1
store i32 %130, ptr %8, align 4
br label %106, !llvm.loop !6
131: ; preds = %106
%132 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 5
%133 = load double, ptr %132, align 8
%134 = fcmp oeq double %133, 0.000000e+00
br i1 %134, label %135, label %136
135: ; preds = %131
br label %160
136: ; preds = %131
%137 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 4
%138 = load double, ptr %137, align 16
%139 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 5
%140 = load double, ptr %139, align 8
%141 = fdiv double %138, %140
store double %141, ptr %15, align 8
%142 = load double, ptr %14, align 8
%143 = load double, ptr %15, align 8
%144 = fsub double %142, %143
%145 = call double @llvm.fabs.f64(double %144)
store double %145, ptr %19, align 8
%146 = load double, ptr %19, align 8
%147 = load double, ptr %11, align 8
%148 = fcmp ogt double %146, %147
br i1 %148, label %149, label %150
149: ; preds = %136
br label %158
150: ; preds = %136
%151 = load double, ptr %19, align 8
%152 = load double, ptr %11, align 8
%153 = load double, ptr %15, align 8
%154 = fmul double %152, %153
%155 = fcmp ole double %151, %154
br i1 %155, label %156, label %157
156: ; preds = %150
br label %198
157: ; preds = %150
br label %158
158: ; preds = %157, %149
%159 = load double, ptr %15, align 8
store double %159, ptr %14, align 8
br label %160
160: ; preds = %158, %135
store i32 0, ptr %8, align 4
br label %161
161: ; preds = %173, %160
%162 = load i32, ptr %8, align 4
%163 = icmp slt i32 %162, 4
br i1 %163, label %164, label %176
164: ; preds = %161
%165 = load i32, ptr %8, align 4
%166 = add nsw i32 %165, 2
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 %167
%169 = load double, ptr %168, align 8
%170 = load i32, ptr %8, align 4
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 %171
store double %169, ptr %172, align 8
br label %173
173: ; preds = %164
%174 = load i32, ptr %8, align 4
%175 = add nsw i32 %174, 1
store i32 %175, ptr %8, align 4
br label %161, !llvm.loop !8
176: ; preds = %161
%177 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 4
%178 = load double, ptr %177, align 16
%179 = call double @llvm.fabs.f64(double %178)
%180 = load double, ptr %12, align 8
%181 = fcmp olt double %179, %180
br i1 %181, label %182, label %183
182: ; preds = %176
br label %96
183: ; preds = %176
store i32 0, ptr %8, align 4
br label %184
184: ; preds = %194, %183
%185 = load i32, ptr %8, align 4
%186 = icmp slt i32 %185, 4
br i1 %186, label %187, label %197
187: ; preds = %184
%188 = load double, ptr %12, align 8
%189 = load i32, ptr %8, align 4
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 %190
%192 = load double, ptr %191, align 8
%193 = fdiv double %192, %188
store double %193, ptr %191, align 8
br label %194
194: ; preds = %187
%195 = load i32, ptr %8, align 4
%196 = add nsw i32 %195, 1
store i32 %196, ptr %8, align 4
br label %184, !llvm.loop !9
197: ; preds = %184
br label %96
198: ; preds = %156
%199 = load double, ptr %13, align 8
%200 = load double, ptr %14, align 8
%201 = fneg double %199
%202 = call double @llvm.fmuladd.f64(double %201, double %200, double 1.000000e+00)
store double %202, ptr %14, align 8
br label %203
203: ; preds = %198, %68
%204 = load double, ptr %14, align 8
store double %204, ptr %4, align 8
br label %205
205: ; preds = %203, %33, %26
%206 = load double, ptr %4, align 8
ret double %206
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9fnq4wb6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @IncompleteGamma(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca [6 x double], align 16
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
%22 = load double, ptr %6, align 8
store double %22, ptr %9, align 8
%23 = load double, ptr %7, align 8
store double %23, ptr %10, align 8
store double 1.000000e-10, ptr %11, align 8
store double 0x4C63E9E4E4C2F344, ptr %12, align 8
store double 0.000000e+00, ptr %14, align 8
store double 0.000000e+00, ptr %15, align 8
store double 0.000000e+00, ptr %16, align 8
store double 0.000000e+00, ptr %17, align 8
store double 0.000000e+00, ptr %18, align 8
store double 0.000000e+00, ptr %19, align 8
store double 0.000000e+00, ptr %20, align 8
%24 = load double, ptr %5, align 8
%25 = fcmp oeq double %24, 0.000000e+00
br i1 %25, label %26, label %27
26: ; preds = %3
store double 0.000000e+00, ptr %4, align 8
br label %207
27: ; preds = %3
%28 = load double, ptr %5, align 8
%29 = fcmp olt double %28, 0.000000e+00
br i1 %29, label %33, label %30
30: ; preds = %27
%31 = load double, ptr %9, align 8
%32 = fcmp ole double %31, 0.000000e+00
br i1 %32, label %33, label %34
33: ; preds = %30, %27
store double -1.000000e+00, ptr %4, align 8
br label %207
34: ; preds = %30
%35 = load double, ptr %9, align 8
%36 = load double, ptr %5, align 8
%37 = call double @log(double noundef %36) #3
%38 = load double, ptr %5, align 8
%39 = fneg double %38
%40 = call double @llvm.fmuladd.f64(double %35, double %37, double %39)
%41 = load double, ptr %10, align 8
%42 = fsub double %40, %41
%43 = call double @exp(double noundef %42) #3
store double %43, ptr %13, align 8
%44 = load double, ptr %5, align 8
%45 = fcmp ogt double %44, 1.000000e+00
br i1 %45, label %46, label %51
46: ; preds = %34
%47 = load double, ptr %5, align 8
%48 = load double, ptr %9, align 8
%49 = fcmp oge double %47, %48
br i1 %49, label %50, label %51
50: ; preds = %46
br label %73
51: ; preds = %46, %34
store double 1.000000e+00, ptr %14, align 8
store double 1.000000e+00, ptr %20, align 8
%52 = load double, ptr %9, align 8
store double %52, ptr %15, align 8
br label %53
53: ; preds = %53, %51
%54 = load double, ptr %15, align 8
%55 = fadd double %54, 1.000000e+00
store double %55, ptr %15, align 8
%56 = load double, ptr %5, align 8
%57 = load double, ptr %15, align 8
%58 = fdiv double %56, %57
%59 = load double, ptr %20, align 8
%60 = fmul double %59, %58
store double %60, ptr %20, align 8
%61 = load double, ptr %20, align 8
%62 = load double, ptr %14, align 8
%63 = fadd double %62, %61
store double %63, ptr %14, align 8
%64 = load double, ptr %20, align 8
%65 = load double, ptr %11, align 8
%66 = fcmp ogt double %64, %65
br i1 %66, label %53, label %67
67: ; preds = %53
%68 = load double, ptr %13, align 8
%69 = load double, ptr %9, align 8
%70 = fdiv double %68, %69
%71 = load double, ptr %14, align 8
%72 = fmul double %71, %70
store double %72, ptr %14, align 8
br label %205
73: ; preds = %50
%74 = load double, ptr %9, align 8
%75 = fsub double 1.000000e+00, %74
store double %75, ptr %16, align 8
%76 = load double, ptr %16, align 8
%77 = load double, ptr %5, align 8
%78 = fadd double %76, %77
%79 = fadd double %78, 1.000000e+00
store double %79, ptr %17, align 8
store double 0.000000e+00, ptr %20, align 8
%80 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 0
store double 1.000000e+00, ptr %80, align 16
%81 = load double, ptr %5, align 8
%82 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 1
store double %81, ptr %82, align 8
%83 = load double, ptr %5, align 8
%84 = fadd double %83, 1.000000e+00
%85 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 2
store double %84, ptr %85, align 16
%86 = load double, ptr %5, align 8
%87 = load double, ptr %17, align 8
%88 = fmul double %86, %87
%89 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 3
store double %88, ptr %89, align 8
%90 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 2
%91 = load double, ptr %90, align 16
%92 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 3
%93 = load double, ptr %92, align 8
%94 = fdiv double %91, %93
store double %94, ptr %14, align 8
br label %95
95: ; preds = %.backedge, %73
%96 = load double, ptr %16, align 8
%97 = fadd double %96, 1.000000e+00
store double %97, ptr %16, align 8
%98 = load double, ptr %17, align 8
%99 = fadd double %98, 2.000000e+00
store double %99, ptr %17, align 8
%100 = load double, ptr %20, align 8
%101 = fadd double %100, 1.000000e+00
store double %101, ptr %20, align 8
%102 = load double, ptr %16, align 8
%103 = load double, ptr %20, align 8
%104 = fmul double %102, %103
store double %104, ptr %18, align 8
store i32 0, ptr %8, align 4
%105 = load i32, ptr %8, align 4
%106 = icmp slt i32 %105, 2
br i1 %106, label %.lr.ph, label %131
.lr.ph: ; preds = %95
br label %107
107: ; preds = %.lr.ph, %126
%108 = load double, ptr %17, align 8
%109 = load i32, ptr %8, align 4
%110 = add nsw i32 %109, 2
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 %111
%113 = load double, ptr %112, align 8
%114 = load double, ptr %18, align 8
%115 = load i32, ptr %8, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 %116
%118 = load double, ptr %117, align 8
%119 = fmul double %114, %118
%120 = fneg double %119
%121 = call double @llvm.fmuladd.f64(double %108, double %113, double %120)
%122 = load i32, ptr %8, align 4
%123 = add nsw i32 %122, 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 %124
store double %121, ptr %125, align 8
br label %126
126: ; preds = %107
%127 = load i32, ptr %8, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %8, align 4
%129 = load i32, ptr %8, align 4
%130 = icmp slt i32 %129, 2
br i1 %130, label %107, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %126
br label %131
131: ; preds = %._crit_edge, %95
%132 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 5
%133 = load double, ptr %132, align 8
%134 = fcmp oeq double %133, 0.000000e+00
br i1 %134, label %135, label %136
135: ; preds = %131
br label %160
136: ; preds = %131
%137 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 4
%138 = load double, ptr %137, align 16
%139 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 5
%140 = load double, ptr %139, align 8
%141 = fdiv double %138, %140
store double %141, ptr %15, align 8
%142 = load double, ptr %14, align 8
%143 = load double, ptr %15, align 8
%144 = fsub double %142, %143
%145 = call double @llvm.fabs.f64(double %144)
store double %145, ptr %19, align 8
%146 = load double, ptr %19, align 8
%147 = load double, ptr %11, align 8
%148 = fcmp ogt double %146, %147
br i1 %148, label %149, label %150
149: ; preds = %136
br label %158
150: ; preds = %136
%151 = load double, ptr %19, align 8
%152 = load double, ptr %11, align 8
%153 = load double, ptr %15, align 8
%154 = fmul double %152, %153
%155 = fcmp ole double %151, %154
br i1 %155, label %156, label %157
156: ; preds = %150
br label %200
157: ; preds = %150
br label %158
158: ; preds = %157, %149
%159 = load double, ptr %15, align 8
store double %159, ptr %14, align 8
br label %160
160: ; preds = %158, %135
store i32 0, ptr %8, align 4
%161 = load i32, ptr %8, align 4
%162 = icmp slt i32 %161, 4
br i1 %162, label %.lr.ph2, label %177
.lr.ph2: ; preds = %160
br label %163
163: ; preds = %.lr.ph2, %172
%164 = load i32, ptr %8, align 4
%165 = add nsw i32 %164, 2
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 %166
%168 = load double, ptr %167, align 8
%169 = load i32, ptr %8, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 %170
store double %168, ptr %171, align 8
br label %172
172: ; preds = %163
%173 = load i32, ptr %8, align 4
%174 = add nsw i32 %173, 1
store i32 %174, ptr %8, align 4
%175 = load i32, ptr %8, align 4
%176 = icmp slt i32 %175, 4
br i1 %176, label %163, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %172
br label %177
177: ; preds = %._crit_edge3, %160
%178 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 4
%179 = load double, ptr %178, align 16
%180 = call double @llvm.fabs.f64(double %179)
%181 = load double, ptr %12, align 8
%182 = fcmp olt double %180, %181
br i1 %182, label %183, label %184
183: ; preds = %177
br label %.backedge
.backedge: ; preds = %183, %199
br label %95
184: ; preds = %177
store i32 0, ptr %8, align 4
%185 = load i32, ptr %8, align 4
%186 = icmp slt i32 %185, 4
br i1 %186, label %.lr.ph5, label %199
.lr.ph5: ; preds = %184
br label %187
187: ; preds = %.lr.ph5, %194
%188 = load double, ptr %12, align 8
%189 = load i32, ptr %8, align 4
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds [6 x double], ptr %21, i64 0, i64 %190
%192 = load double, ptr %191, align 8
%193 = fdiv double %192, %188
store double %193, ptr %191, align 8
br label %194
194: ; preds = %187
%195 = load i32, ptr %8, align 4
%196 = add nsw i32 %195, 1
store i32 %196, ptr %8, align 4
%197 = load i32, ptr %8, align 4
%198 = icmp slt i32 %197, 4
br i1 %198, label %187, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %194
br label %199
199: ; preds = %._crit_edge6, %184
br label %.backedge
200: ; preds = %156
%201 = load double, ptr %13, align 8
%202 = load double, ptr %14, align 8
%203 = fneg double %201
%204 = call double @llvm.fmuladd.f64(double %203, double %202, double 1.000000e+00)
store double %204, ptr %14, align 8
br label %205
205: ; preds = %200, %67
%206 = load double, ptr %14, align 8
store double %206, ptr %4, align 8
br label %207
207: ; preds = %205, %33, %26
%208 = load double, ptr %4, align 8
ret double %208
}
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmprjm9_si3.c'
source_filename = "/tmp/tmprjm9_si3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_init(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i64 @strlen(ptr noundef %5)
store i64 %6, ptr %4, align 8
%7 = load i64, ptr %4, align 8
%8 = call ptr @calloc(i32 noundef 1, i64 noundef %7)
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 0
store i8 0, ptr %10, align 1
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %2, align 8
%13 = load i64, ptr %4, align 8
%14 = call i32 @strncpy(ptr noundef %11, ptr noundef %12, i64 noundef %13)
%15 = load ptr, ptr %3, align 8
ret ptr %15
}
declare i64 @strlen(ptr noundef) #1
declare ptr @calloc(i32 noundef, i64 noundef) #1
declare i32 @strncpy(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/tmprjm9_si3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_init(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i64 @strlen(ptr noundef %5)
store i64 %6, ptr %4, align 8
%7 = load i64, ptr %4, align 8
%8 = call ptr @calloc(i32 noundef 1, i64 noundef %7)
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 0
store i8 0, ptr %10, align 1
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %2, align 8
%13 = load i64, ptr %4, align 8
%14 = call i32 @strncpy(ptr noundef %11, ptr noundef %12, i64 noundef %13)
%15 = load ptr, ptr %3, align 8
ret ptr %15
}
declare i64 @strlen(ptr noundef) #1
declare ptr @calloc(i32 noundef, i64 noundef) #1
declare i32 @strncpy(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/tmpopwpxbcd.c'
source_filename = "/tmp/tmpopwpxbcd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FCGX_ShutdownPending() #0 {
%1 = call i32 (...) @OS_ShutdownPending()
ret void
}
declare i32 @OS_ShutdownPending(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpopwpxbcd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FCGX_ShutdownPending() #0 {
%1 = call i32 (...) @OS_ShutdownPending()
ret void
}
declare i32 @OS_ShutdownPending(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpopqwb9uf.c'
source_filename = "/tmp/tmpopqwb9uf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Usage: ./webclient [URL]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printHelp() #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/tmpopqwb9uf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Usage: ./webclient [URL]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printHelp() #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/tmprf52utea.c'
source_filename = "/tmp/tmprf52utea.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
br label %6
6: ; preds = %38, %0
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, -1
store i32 %8, ptr %2, align 4
%9 = icmp ne i32 %7, 0
br i1 %9, label %10, label %39
10: ; preds = %6
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%12 = load i32, ptr %3, align 4
store i32 %12, ptr %4, align 4
br label %13
13: ; preds = %22, %10
%14 = load i32, ptr %4, align 4
%15 = icmp sge i32 %14, 0
br i1 %15, label %16, label %25
16: ; preds = %13
%17 = load i32, ptr %4, align 4
%18 = srem i32 %17, 3
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %16
br label %25
21: ; preds = %16
br label %22
22: ; preds = %21
%23 = load i32, ptr %4, align 4
%24 = sub nsw i32 %23, 5
store i32 %24, ptr %4, align 4
br label %13, !llvm.loop !6
25: ; preds = %20, %13
%26 = load i32, ptr %4, align 4
%27 = icmp sge i32 %26, 0
br i1 %27, label %28, label %36
28: ; preds = %25
%29 = load i32, ptr %4, align 4
%30 = call i32 @p(i8 noundef signext 53, i32 noundef %29)
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %4, align 4
%33 = sub nsw i32 %31, %32
%34 = call i32 @p(i8 noundef signext 51, i32 noundef %33)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %38
36: ; preds = %25
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef -1)
br label %38
38: ; preds = %36, %28
br label %6, !llvm.loop !8
39: ; preds = %6
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @p(i8 noundef signext, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprf52utea.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, -1
store i32 %7, ptr %2, align 4
%8 = icmp ne i32 %6, 0
br i1 %8, label %.lr.ph1, label %42
.lr.ph1: ; preds = %0
br label %9
9: ; preds = %.lr.ph1, %38
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%11 = load i32, ptr %3, align 4
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp sge i32 %12, 0
br i1 %13, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %9
br label %14
14: ; preds = %.lr.ph, %20
%15 = load i32, ptr %4, align 4
%16 = srem i32 %15, 3
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %14
br label %25
19: ; preds = %14
br label %20
20: ; preds = %19
%21 = load i32, ptr %4, align 4
%22 = sub nsw i32 %21, 5
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp sge i32 %23, 0
br i1 %24, label %14, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %20
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %9
br label %25
25: ; preds = %.loopexit, %18
%26 = load i32, ptr %4, align 4
%27 = icmp sge i32 %26, 0
br i1 %27, label %28, label %36
28: ; preds = %25
%29 = load i32, ptr %4, align 4
%30 = call i32 @p(i8 noundef signext 53, i32 noundef %29)
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %4, align 4
%33 = sub nsw i32 %31, %32
%34 = call i32 @p(i8 noundef signext 51, i32 noundef %33)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %38
36: ; preds = %25
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef -1)
br label %38
38: ; preds = %36, %28
%39 = load i32, ptr %2, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %2, align 4
%41 = icmp ne i32 %39, 0
br i1 %41, label %9, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %38
br label %42
42: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @p(i8 noundef signext, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp6ra8ouc4.c'
source_filename = "/tmp/tmp6ra8ouc4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"/dev/sound/dsp0 write error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @play_file(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [4096 x i8], align 16
%10 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr @SEEK_SET, align 4
%13 = call i32 @fseek(ptr noundef %11, i32 noundef 44, i32 noundef %12)
br label %14
14: ; preds = %43, %2
%15 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%16 = load ptr, ptr %4, align 8
%17 = call i32 @fread(ptr noundef %15, i32 noundef 1, i32 noundef 4096, ptr noundef %16)
store i32 %17, ptr %6, align 4
%18 = icmp sgt i32 %17, 0
br i1 %18, label %19, label %44
19: ; preds = %14
%20 = load i32, ptr %6, align 4
store i32 %20, ptr %7, align 4
%21 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
store ptr %21, ptr %10, align 8
br label %22
22: ; preds = %35, %19
%23 = load i32, ptr %7, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %43
25: ; preds = %22
%26 = load i32, ptr %3, align 4
%27 = load ptr, ptr %10, align 8
%28 = load i32, ptr %7, align 4
%29 = call i32 @write(i32 noundef %26, ptr noundef %27, i32 noundef %28)
store i32 %29, ptr %8, align 4
%30 = icmp slt i32 %29, 0
br i1 %30, label %31, label %35
31: ; preds = %25
%32 = call i32 @perror(ptr noundef @.str)
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
br label %35
35: ; preds = %31, %25
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %7, align 4
%38 = sub nsw i32 %37, %36
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %8, align 4
%40 = load ptr, ptr %10, align 8
%41 = sext i32 %39 to i64
%42 = getelementptr inbounds i8, ptr %40, i64 %41
store ptr %42, ptr %10, align 8
br label %22, !llvm.loop !6
43: ; preds = %22
br label %14, !llvm.loop !8
44: ; preds = %14
%45 = load i32, ptr %3, align 4
%46 = call i32 @write(i32 noundef %45, ptr noundef null, i32 noundef 0)
%47 = load i32, ptr %5, align 4
ret i32 %47
}
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6ra8ouc4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"/dev/sound/dsp0 write error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @play_file(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [4096 x i8], align 16
%10 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr @SEEK_SET, align 4
%13 = call i32 @fseek(ptr noundef %11, i32 noundef 44, i32 noundef %12)
%14 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%15 = load ptr, ptr %4, align 8
%16 = call i32 @fread(ptr noundef %14, i32 noundef 1, i32 noundef 4096, ptr noundef %15)
store i32 %16, ptr %6, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %.lr.ph2, label %47
.lr.ph2: ; preds = %2
br label %18
18: ; preds = %.lr.ph2, %43
%19 = load i32, ptr %6, align 4
store i32 %19, ptr %7, align 4
%20 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
store ptr %20, ptr %10, align 8
%21 = load i32, ptr %7, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %.lr.ph, label %43
.lr.ph: ; preds = %18
br label %23
23: ; preds = %.lr.ph, %33
%24 = load i32, ptr %3, align 4
%25 = load ptr, ptr %10, align 8
%26 = load i32, ptr %7, align 4
%27 = call i32 @write(i32 noundef %24, ptr noundef %25, i32 noundef %26)
store i32 %27, ptr %8, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %33
29: ; preds = %23
%30 = call i32 @perror(ptr noundef @.str)
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
br label %33
33: ; preds = %29, %23
%34 = load i32, ptr %8, align 4
%35 = load i32, ptr %7, align 4
%36 = sub nsw i32 %35, %34
store i32 %36, ptr %7, align 4
%37 = load i32, ptr %8, align 4
%38 = load ptr, ptr %10, align 8
%39 = sext i32 %37 to i64
%40 = getelementptr inbounds i8, ptr %38, i64 %39
store ptr %40, ptr %10, align 8
%41 = load i32, ptr %7, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %43
43: ; preds = %._crit_edge, %18
%44 = load ptr, ptr %4, align 8
%45 = call i32 @fread(ptr noundef %14, i32 noundef 1, i32 noundef 4096, ptr noundef %44)
store i32 %45, ptr %6, align 4
%46 = icmp sgt i32 %45, 0
br i1 %46, label %18, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %43
br label %47
47: ; preds = %._crit_edge3, %2
%48 = load i32, ptr %3, align 4
%49 = call i32 @write(i32 noundef %48, ptr noundef null, i32 noundef 0)
%50 = load i32, ptr %5, align 4
ret i32 %50
}
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpi7auyslv.c'
source_filename = "/tmp/tmpi7auyslv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\0AHello from test code!\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Create a linked list...\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"\0ADeque Interface Test Begin!\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"\0A\0ABag Interface Test Begin!\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"\0ATest Finished!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @printf(ptr noundef @.str.1)
%9 = call ptr (...) @createLinkedList()
store ptr %9, ptr %6, align 8
%10 = call i32 @printf(ptr noundef @.str.2)
%11 = load ptr, ptr %6, align 8
%12 = call i32 @addFrontListTest(ptr noundef %11)
%13 = load ptr, ptr %6, align 8
%14 = call i32 @addBackListTest(ptr noundef %13)
%15 = load ptr, ptr %6, align 8
%16 = call i32 @frontListTest(ptr noundef %15)
%17 = load ptr, ptr %6, align 8
%18 = call i32 @backListTest(ptr noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = call i32 @removeFrontListTest(ptr noundef %19)
%21 = load ptr, ptr %6, align 8
%22 = call i32 @removeBackListTest(ptr noundef %21)
%23 = load ptr, ptr %6, align 8
%24 = call i32 @emptyTest(ptr noundef %23)
%25 = call i32 @printf(ptr noundef @.str.3)
%26 = load ptr, ptr %6, align 8
%27 = call i32 @bagInterfaceTest(ptr noundef %26)
%28 = load ptr, ptr %6, align 8
%29 = call i32 @deleteLinkedList(ptr noundef %28)
%30 = call i32 @printf(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare ptr @createLinkedList(...) #1
declare i32 @addFrontListTest(ptr noundef) #1
declare i32 @addBackListTest(ptr noundef) #1
declare i32 @frontListTest(ptr noundef) #1
declare i32 @backListTest(ptr noundef) #1
declare i32 @removeFrontListTest(ptr noundef) #1
declare i32 @removeBackListTest(ptr noundef) #1
declare i32 @emptyTest(ptr noundef) #1
declare i32 @bagInterfaceTest(ptr noundef) #1
declare i32 @deleteLinkedList(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi7auyslv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\0AHello from test code!\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Create a linked list...\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"\0ADeque Interface Test Begin!\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"\0A\0ABag Interface Test Begin!\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"\0ATest Finished!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @printf(ptr noundef @.str.1)
%9 = call ptr (...) @createLinkedList()
store ptr %9, ptr %6, align 8
%10 = call i32 @printf(ptr noundef @.str.2)
%11 = load ptr, ptr %6, align 8
%12 = call i32 @addFrontListTest(ptr noundef %11)
%13 = load ptr, ptr %6, align 8
%14 = call i32 @addBackListTest(ptr noundef %13)
%15 = load ptr, ptr %6, align 8
%16 = call i32 @frontListTest(ptr noundef %15)
%17 = load ptr, ptr %6, align 8
%18 = call i32 @backListTest(ptr noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = call i32 @removeFrontListTest(ptr noundef %19)
%21 = load ptr, ptr %6, align 8
%22 = call i32 @removeBackListTest(ptr noundef %21)
%23 = load ptr, ptr %6, align 8
%24 = call i32 @emptyTest(ptr noundef %23)
%25 = call i32 @printf(ptr noundef @.str.3)
%26 = load ptr, ptr %6, align 8
%27 = call i32 @bagInterfaceTest(ptr noundef %26)
%28 = load ptr, ptr %6, align 8
%29 = call i32 @deleteLinkedList(ptr noundef %28)
%30 = call i32 @printf(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare ptr @createLinkedList(...) #1
declare i32 @addFrontListTest(ptr noundef) #1
declare i32 @addBackListTest(ptr noundef) #1
declare i32 @frontListTest(ptr noundef) #1
declare i32 @backListTest(ptr noundef) #1
declare i32 @removeFrontListTest(ptr noundef) #1
declare i32 @removeBackListTest(ptr noundef) #1
declare i32 @emptyTest(ptr noundef) #1
declare i32 @bagInterfaceTest(ptr noundef) #1
declare i32 @deleteLinkedList(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyivncix3.c'
source_filename = "/tmp/tmpyivncix3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [8 x i8], align 1
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
%4 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 8)
%6 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
%7 = call i64 @memcmp(ptr noundef %2, ptr noundef %6, i32 noundef 8)
%8 = icmp eq i64 %7, 0
%9 = zext i1 %8 to i64
%10 = select i1 %8, i32 0, i32 1
ret i32 %10
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @memcmp(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/tmpyivncix3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [8 x i8], align 1
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
%4 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 8)
%6 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
%7 = call i64 @memcmp(ptr noundef %2, ptr noundef %6, i32 noundef 8)
%8 = icmp eq i64 %7, 0
%9 = zext i1 %8 to i64
%10 = select i1 %8, i32 0, i32 1
ret i32 %10
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @memcmp(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/tmpbq5g7g3h.c'
source_filename = "/tmp/tmpbq5g7g3h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0x1c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0x1c() #0 {
%1 = call i64 @isgraph(i32 noundef 28)
%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 145, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isgraph(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/tmpbq5g7g3h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isgraph.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0x1c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isgraph_0x1c() #0 {
%1 = call i64 @isgraph(i32 noundef 28)
%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 145, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isgraph(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/tmpd0g0am37.c'
source_filename = "/tmp/tmpd0g0am37.c"
target datalayout = "e-m:e-p270: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.next_fast_fft_size.fft_size = private unnamed_addr constant [245 x i32] [i32 60, i32 64, i32 72, i32 75, i32 80, i32 100, i32 120, i32 125, i32 128, i32 135, i32 144, i32 150, i32 160, i32 180, i32 200, i32 225, i32 240, i32 256, i32 300, i32 320, i32 375, i32 400, i32 405, i32 432, i32 500, i32 512, i32 540, i32 576, i32 625, i32 640, i32 648, i32 720, i32 768, i32 800, i32 810, i32 864, i32 900, i32 960, i32 1000, i32 1080, i32 1152, i32 1200, i32 1280, i32 1296, i32 1350, i32 1440, i32 1500, i32 1600, i32 1620, i32 1728, i32 1800, i32 1920, i32 2000, i32 2025, i32 2160, i32 2304, i32 2400, i32 2560, i32 2700, i32 2880, i32 3000, i32 3200, i32 3375, i32 3600, i32 3840, i32 4000, i32 4050, i32 4320, i32 4500, i32 4800, i32 5120, i32 5184, i32 5400, i32 5625, i32 6000, i32 6400, i32 6480, i32 6912, i32 7200, i32 7500, i32 8000, i32 8100, i32 8640, i32 8748, i32 9000, i32 9375, i32 9600, i32 10000, i32 10368, i32 10800, i32 10935, i32 11520, i32 12500, i32 12960, i32 13500, i32 13824, i32 14400, i32 14580, i32 15000, i32 15625, i32 16000, i32 16200, i32 17280, i32 18000, i32 19200, i32 19440, i32 20000, i32 20736, i32 21600, i32 23040, i32 24000, i32 24300, i32 25920, i32 27000, i32 28800, i32 30000, i32 30375, i32 32000, i32 32400, i32 34560, i32 36000, i32 38400, i32 40000, i32 40500, i32 43200, i32 45000, i32 46080, i32 48000, i32 50000, i32 50625, i32 51840, i32 54000, i32 57600, i32 60000, i32 62500, i32 64000, i32 67500, i32 72000, i32 72900, i32 75000, i32 80000, i32 84375, i32 90000, i32 96000, i32 97200, i32 100000, i32 103680, i32 104976, i32 112500, i32 120000, i32 125000, i32 129600, i32 131220, i32 140625, i32 150000, i32 160000, i32 162000, i32 164025, i32 174960, i32 187500, i32 200000, i32 202500, i32 207360, i32 216000, i32 218700, i32 234375, i32 250000, i32 259200, i32 270000, i32 273375, i32 291600, i32 312500, i32 324000, i32 337500, i32 345600, i32 360000, i32 364500, i32 390625, i32 405000, i32 421875, i32 432000, i32 450000, i32 455625, i32 486000, i32 518400, i32 540000, i32 562500, i32 576000, i32 607500, i32 648000, i32 675000, i32 703125, i32 720000, i32 759375, i32 781250, i32 800000, i32 810000, i32 843750, i32 864000, i32 900000, i32 937500, i32 1000000, i32 1012500, i32 1080000, i32 1125000, i32 1171875, i32 1200000, i32 1250000, i32 1265625, i32 1280000, i32 1350000, i32 1406250, i32 1440000, i32 1500000, i32 1562500, i32 1600000, i32 1687500, i32 1875000, i32 2000000, i32 2109375, i32 2250000, i32 2343750, i32 2400000, i32 2500000, i32 2531250, i32 2812500, i32 3125000, i32 3200000, i32 3515625, i32 3750000, i32 3906250, i32 4000000, i32 4100625, i32 4687500, i32 5000000, i32 5062500, i32 5184000, i32 5400000, i32 5467500, i32 5859375, i32 6250000, i32 6328125, i32 6480000, i32 6561000, i32 6635520], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @next_fast_fft_size(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [245 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.next_fast_fft_size.fft_size, i64 980, i1 false)
store i32 245, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %23, %1
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 245
br i1 %9, label %10, label %26
10: ; preds = %7
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [245 x i32], ptr %4, i64 0, i64 %12
%14 = load i32, ptr %13, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp sge i32 %14, %15
br i1 %16, label %17, label %22
17: ; preds = %10
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [245 x i32], ptr %4, i64 0, i64 %19
%21 = load i32, ptr %20, align 4
store i32 %21, ptr %2, align 4
br label %29
22: ; preds = %10
br label %23
23: ; preds = %22
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
br label %7, !llvm.loop !6
26: ; preds = %7
%27 = load i32, ptr %3, align 4
%28 = call i32 @next_composite(i32 noundef %27)
store i32 %28, ptr %2, align 4
br label %29
29: ; preds = %26, %17
%30 = load i32, ptr %2, align 4
ret i32 %30
}
; 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 @next_composite(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd0g0am37.c"
target datalayout = "e-m:e-p270: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.next_fast_fft_size.fft_size = private unnamed_addr constant [245 x i32] [i32 60, i32 64, i32 72, i32 75, i32 80, i32 100, i32 120, i32 125, i32 128, i32 135, i32 144, i32 150, i32 160, i32 180, i32 200, i32 225, i32 240, i32 256, i32 300, i32 320, i32 375, i32 400, i32 405, i32 432, i32 500, i32 512, i32 540, i32 576, i32 625, i32 640, i32 648, i32 720, i32 768, i32 800, i32 810, i32 864, i32 900, i32 960, i32 1000, i32 1080, i32 1152, i32 1200, i32 1280, i32 1296, i32 1350, i32 1440, i32 1500, i32 1600, i32 1620, i32 1728, i32 1800, i32 1920, i32 2000, i32 2025, i32 2160, i32 2304, i32 2400, i32 2560, i32 2700, i32 2880, i32 3000, i32 3200, i32 3375, i32 3600, i32 3840, i32 4000, i32 4050, i32 4320, i32 4500, i32 4800, i32 5120, i32 5184, i32 5400, i32 5625, i32 6000, i32 6400, i32 6480, i32 6912, i32 7200, i32 7500, i32 8000, i32 8100, i32 8640, i32 8748, i32 9000, i32 9375, i32 9600, i32 10000, i32 10368, i32 10800, i32 10935, i32 11520, i32 12500, i32 12960, i32 13500, i32 13824, i32 14400, i32 14580, i32 15000, i32 15625, i32 16000, i32 16200, i32 17280, i32 18000, i32 19200, i32 19440, i32 20000, i32 20736, i32 21600, i32 23040, i32 24000, i32 24300, i32 25920, i32 27000, i32 28800, i32 30000, i32 30375, i32 32000, i32 32400, i32 34560, i32 36000, i32 38400, i32 40000, i32 40500, i32 43200, i32 45000, i32 46080, i32 48000, i32 50000, i32 50625, i32 51840, i32 54000, i32 57600, i32 60000, i32 62500, i32 64000, i32 67500, i32 72000, i32 72900, i32 75000, i32 80000, i32 84375, i32 90000, i32 96000, i32 97200, i32 100000, i32 103680, i32 104976, i32 112500, i32 120000, i32 125000, i32 129600, i32 131220, i32 140625, i32 150000, i32 160000, i32 162000, i32 164025, i32 174960, i32 187500, i32 200000, i32 202500, i32 207360, i32 216000, i32 218700, i32 234375, i32 250000, i32 259200, i32 270000, i32 273375, i32 291600, i32 312500, i32 324000, i32 337500, i32 345600, i32 360000, i32 364500, i32 390625, i32 405000, i32 421875, i32 432000, i32 450000, i32 455625, i32 486000, i32 518400, i32 540000, i32 562500, i32 576000, i32 607500, i32 648000, i32 675000, i32 703125, i32 720000, i32 759375, i32 781250, i32 800000, i32 810000, i32 843750, i32 864000, i32 900000, i32 937500, i32 1000000, i32 1012500, i32 1080000, i32 1125000, i32 1171875, i32 1200000, i32 1250000, i32 1265625, i32 1280000, i32 1350000, i32 1406250, i32 1440000, i32 1500000, i32 1562500, i32 1600000, i32 1687500, i32 1875000, i32 2000000, i32 2109375, i32 2250000, i32 2343750, i32 2400000, i32 2500000, i32 2531250, i32 2812500, i32 3125000, i32 3200000, i32 3515625, i32 3750000, i32 3906250, i32 4000000, i32 4100625, i32 4687500, i32 5000000, i32 5062500, i32 5184000, i32 5400000, i32 5467500, i32 5859375, i32 6250000, i32 6328125, i32 6480000, i32 6561000, i32 6635520], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @next_fast_fft_size(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [245 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.next_fast_fft_size.fft_size, i64 980, i1 false)
store i32 245, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = icmp slt i32 %7, 245
br i1 %8, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %22
%10 = load i32, ptr %6, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [245 x i32], ptr %4, i64 0, i64 %11
%13 = load i32, ptr %12, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp sge i32 %13, %14
br i1 %15, label %16, label %21
16: ; preds = %9
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [245 x i32], ptr %4, i64 0, i64 %18
%20 = load i32, ptr %19, align 4
store i32 %20, ptr %2, align 4
br label %30
21: ; preds = %9
br label %22
22: ; preds = %21
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp slt i32 %25, 245
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 %3, align 4
%29 = call i32 @next_composite(i32 noundef %28)
store i32 %29, ptr %2, align 4
br label %30
30: ; preds = %27, %16
%31 = load i32, ptr %2, align 4
ret i32 %31
}
; 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 @next_composite(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5ke6nk7j.c'
source_filename = "/tmp/tmp5ke6nk7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Line2IntField(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %9, align 4
br label %11
11: ; preds = %29, %3
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %9, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 32
br i1 %18, label %27, label %19
19: ; preds = %11
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %9, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 9
br label %27
27: ; preds = %19, %11
%28 = phi i1 [ true, %11 ], [ %26, %19 ]
br i1 %28, label %29, label %32
29: ; preds = %27
%30 = load i32, ptr %9, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %9, align 4
br label %11, !llvm.loop !6
32: ; preds = %27
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %9, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
store ptr %36, ptr %10, align 8
store i32 0, ptr %8, align 4
br label %37
37: ; preds = %93, %32
%38 = load i32, ptr %8, align 4
%39 = load i32, ptr %7, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %96
41: ; preds = %37
%42 = load ptr, ptr %10, align 8
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %53
46: ; preds = %41
%47 = load ptr, ptr %10, align 8
%48 = call i32 @atoi(ptr noundef %47)
%49 = load ptr, ptr %6, align 8
%50 = load i32, ptr %8, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %49, i64 %51
store i32 %48, ptr %52, align 4
br label %55
53: ; preds = %41
%54 = load i32, ptr %8, align 4
store i32 %54, ptr %4, align 4
br label %98
55: ; preds = %46
br label %56
56: ; preds = %73, %55
%57 = load ptr, ptr %10, align 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp ne i32 %59, 32
br i1 %60, label %61, label %71
61: ; preds = %56
%62 = load ptr, ptr %10, align 8
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp ne i32 %64, 9
br i1 %65, label %66, label %71
66: ; preds = %61
%67 = load ptr, ptr %10, align 8
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp ne i32 %69, 0
br label %71
71: ; preds = %66, %61, %56
%72 = phi i1 [ false, %61 ], [ false, %56 ], [ %70, %66 ]
br i1 %72, label %73, label %76
73: ; preds = %71
%74 = load ptr, ptr %10, align 8
%75 = getelementptr inbounds i8, ptr %74, i32 1
store ptr %75, ptr %10, align 8
br label %56, !llvm.loop !8
76: ; preds = %71
br label %77
77: ; preds = %89, %76
%78 = load ptr, ptr %10, align 8
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = icmp eq i32 %80, 32
br i1 %81, label %87, label %82
82: ; preds = %77
%83 = load ptr, ptr %10, align 8
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = icmp eq i32 %85, 9
br label %87
87: ; preds = %82, %77
%88 = phi i1 [ true, %77 ], [ %86, %82 ]
br i1 %88, label %89, label %92
89: ; preds = %87
%90 = load ptr, ptr %10, align 8
%91 = getelementptr inbounds i8, ptr %90, i32 1
store ptr %91, ptr %10, align 8
br label %77, !llvm.loop !9
92: ; preds = %87
br label %93
93: ; preds = %92
%94 = load i32, ptr %8, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %8, align 4
br label %37, !llvm.loop !10
96: ; preds = %37
%97 = load i32, ptr %8, align 4
store i32 %97, ptr %4, align 4
br label %98
98: ; preds = %96, %53
%99 = load i32, ptr %4, align 4
ret i32 %99
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5ke6nk7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Line2IntField(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %9, align 4
br label %11
11: ; preds = %29, %3
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %9, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 32
br i1 %18, label %27, label %19
19: ; preds = %11
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %9, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 9
br label %27
27: ; preds = %19, %11
%28 = phi i1 [ true, %11 ], [ %26, %19 ]
br i1 %28, label %29, label %32
29: ; preds = %27
%30 = load i32, ptr %9, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %9, align 4
br label %11, !llvm.loop !6
32: ; preds = %27
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %9, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
store ptr %36, ptr %10, align 8
store i32 0, ptr %8, align 4
%37 = load i32, ptr %8, align 4
%38 = load i32, ptr %7, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %.lr.ph, label %98
.lr.ph: ; preds = %32
br label %40
40: ; preds = %.lr.ph, %92
%41 = load ptr, ptr %10, align 8
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %52
45: ; preds = %40
%46 = load ptr, ptr %10, align 8
%47 = call i32 @atoi(ptr noundef %46)
%48 = load ptr, ptr %6, align 8
%49 = load i32, ptr %8, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
store i32 %47, ptr %51, align 4
br label %54
52: ; preds = %40
%53 = load i32, ptr %8, align 4
store i32 %53, ptr %4, align 4
br label %100
54: ; preds = %45
br label %55
55: ; preds = %72, %54
%56 = load ptr, ptr %10, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp ne i32 %58, 32
br i1 %59, label %60, label %70
60: ; preds = %55
%61 = load ptr, ptr %10, align 8
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = icmp ne i32 %63, 9
br i1 %64, label %65, label %70
65: ; preds = %60
%66 = load ptr, ptr %10, align 8
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
%69 = icmp ne i32 %68, 0
br label %70
70: ; preds = %65, %60, %55
%71 = phi i1 [ false, %60 ], [ false, %55 ], [ %69, %65 ]
br i1 %71, label %72, label %75
72: ; preds = %70
%73 = load ptr, ptr %10, align 8
%74 = getelementptr inbounds i8, ptr %73, i32 1
store ptr %74, ptr %10, align 8
br label %55, !llvm.loop !8
75: ; preds = %70
br label %76
76: ; preds = %88, %75
%77 = load ptr, ptr %10, align 8
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp eq i32 %79, 32
br i1 %80, label %86, label %81
81: ; preds = %76
%82 = load ptr, ptr %10, align 8
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = icmp eq i32 %84, 9
br label %86
86: ; preds = %81, %76
%87 = phi i1 [ true, %76 ], [ %85, %81 ]
br i1 %87, label %88, label %91
88: ; preds = %86
%89 = load ptr, ptr %10, align 8
%90 = getelementptr inbounds i8, ptr %89, i32 1
store ptr %90, ptr %10, align 8
br label %76, !llvm.loop !9
91: ; preds = %86
br label %92
92: ; preds = %91
%93 = load i32, ptr %8, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %8, align 4
%95 = load i32, ptr %8, align 4
%96 = load i32, ptr %7, align 4
%97 = icmp slt i32 %95, %96
br i1 %97, label %40, label %._crit_edge, !llvm.loop !10
._crit_edge: ; preds = %92
br label %98
98: ; preds = %._crit_edge, %32
%99 = load i32, ptr %8, align 4
store i32 %99, ptr %4, align 4
br label %100
100: ; preds = %98, %52
%101 = load i32, ptr %4, align 4
ret i32 %101
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp0b9r5m57.c'
source_filename = "/tmp/tmp0b9r5m57.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [4 x i8] c"0.1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_eml_version() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
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/tmp0b9r5m57.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [4 x i8] c"0.1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_eml_version() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
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/tmph904j3gk.c'
source_filename = "/tmp/tmph904j3gk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"%10s = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_fun(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @printf(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/tmph904j3gk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"%10s = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_fun(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @printf(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/tmptuq9xawe.c'
source_filename = "/tmp/tmptuq9xawe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BrokenFunction() #0 {
%1 = alloca [128 x i8], align 16
%2 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @gets(ptr noundef %2)
%4 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 0
%5 = call ptr @strdup(ptr noundef %4)
ret ptr %5
}
declare i32 @gets(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptuq9xawe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BrokenFunction() #0 {
%1 = alloca [128 x i8], align 16
%2 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @gets(ptr noundef %2)
%4 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 0
%5 = call ptr @strdup(ptr noundef %4)
ret ptr %5
}
declare i32 @gets(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpggxukk_x.c'
source_filename = "/tmp/tmpggxukk_x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Expected string, got boolean\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mdea_boolean_node_get_string(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %6, align 8
%8 = call i32 @mdea_error(ptr noundef %7, ptr noundef @.str)
ret i32 -1
}
declare i32 @mdea_error(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/tmpggxukk_x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Expected string, got boolean\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mdea_boolean_node_get_string(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %6, align 8
%8 = call i32 @mdea_error(ptr noundef %7, ptr noundef @.str)
ret i32 -1
}
declare i32 @mdea_error(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/tmpbnnhg602.c'
source_filename = "/tmp/tmpbnnhg602.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"doing dirty works!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_dirty_work() #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/tmpbnnhg602.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"doing dirty works!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_dirty_work() #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/tmpx4j_5394.c'
source_filename = "/tmp/tmpx4j_5394.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"total_N is %8.4f\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 ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca double, align 8
store i32 0, ptr %1, align 4
store i32 10, ptr %5, align 4
store i32 10, ptr %6, align 4
store i32 10, ptr %7, align 4
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, 1
%17 = zext i32 %16 to i64
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %8, align 8
%19 = alloca double, i64 %17, align 16
store i64 %17, ptr %9, align 8
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
%22 = zext i32 %21 to i64
%23 = alloca double, i64 %22, align 16
store i64 %22, ptr %10, align 8
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
%26 = zext i32 %25 to i64
%27 = alloca double, i64 %26, align 16
store i64 %26, ptr %11, align 8
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
%30 = zext i32 %29 to i64
%31 = alloca double, i64 %30, align 16
store i64 %30, ptr %12, align 8
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %32, 1
%34 = zext i32 %33 to i64
%35 = alloca double, i64 %34, align 16
store i64 %34, ptr %13, align 8
%36 = getelementptr inbounds double, ptr %31, i64 1
store double 0x3FF0AAAAAAAAAAAB, ptr %36, align 8
%37 = getelementptr inbounds double, ptr %27, i64 1
store double 0x3FF0AAAAAAAAAAAB, ptr %37, align 8
%38 = getelementptr inbounds double, ptr %31, i64 2
store double 0x3FF0AAAAAAAAAAAB, ptr %38, align 16
%39 = getelementptr inbounds double, ptr %27, i64 2
store double 0x3FF0AAAAAAAAAAAB, ptr %39, align 16
%40 = getelementptr inbounds double, ptr %31, i64 3
store double 7.500000e-01, ptr %40, align 8
%41 = getelementptr inbounds double, ptr %27, i64 3
store double 7.500000e-01, ptr %41, align 8
%42 = load i32, ptr %6, align 4
%43 = sub nsw i32 %42, 2
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, ptr %31, i64 %44
store double 7.500000e-01, ptr %45, align 8
%46 = load i32, ptr %5, align 4
%47 = sub nsw i32 %46, 2
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds double, ptr %27, i64 %48
store double 7.500000e-01, ptr %49, align 8
%50 = load i32, ptr %6, align 4
%51 = sub nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds double, ptr %31, i64 %52
store double 0x3FF0AAAAAAAAAAAB, ptr %53, align 8
%54 = load i32, ptr %5, align 4
%55 = sub nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds double, ptr %27, i64 %56
store double 0x3FF0AAAAAAAAAAAB, ptr %57, align 8
%58 = load i32, ptr %6, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double, ptr %31, i64 %59
store double 0x3FF0AAAAAAAAAAAB, ptr %60, align 8
%61 = load i32, ptr %5, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %27, i64 %62
store double 0x3FF0AAAAAAAAAAAB, ptr %63, align 8
%64 = load i32, ptr %7, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds double, ptr %35, i64 %65
store double 0x3FDD555555555555, ptr %66, align 8
%67 = getelementptr inbounds double, ptr %35, i64 1
store double 0x3FDD555555555555, ptr %67, align 8
%68 = load i32, ptr %7, align 4
%69 = sub nsw i32 %68, 1
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds double, ptr %35, i64 %70
store double 8.750000e-01, ptr %71, align 8
%72 = getelementptr inbounds double, ptr %35, i64 2
store double 8.750000e-01, ptr %72, align 16
%73 = load i32, ptr %7, align 4
%74 = sub nsw i32 %73, 2
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %35, i64 %75
store double 0x3FFAAAAAAAAAAAAB, ptr %76, align 8
%77 = getelementptr inbounds double, ptr %35, i64 3
store double 0x3FFAAAAAAAAAAAAB, ptr %77, align 8
store i32 4, ptr %2, align 4
br label %78
78: ; preds = %87, %0
%79 = load i32, ptr %2, align 4
%80 = load i32, ptr %5, align 4
%81 = sub nsw i32 %80, 3
%82 = icmp sle i32 %79, %81
br i1 %82, label %83, label %90
83: ; preds = %78
%84 = load i32, ptr %2, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds double, ptr %27, i64 %85
store double 1.000000e+00, ptr %86, align 8
br label %87
87: ; preds = %83
%88 = load i32, ptr %2, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %2, align 4
br label %78, !llvm.loop !6
90: ; preds = %78
store i32 4, ptr %2, align 4
br label %91
91: ; preds = %100, %90
%92 = load i32, ptr %2, align 4
%93 = load i32, ptr %6, align 4
%94 = sub nsw i32 %93, 3
%95 = icmp sle i32 %92, %94
br i1 %95, label %96, label %103
96: ; preds = %91
%97 = load i32, ptr %2, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds double, ptr %31, i64 %98
store double 1.000000e+00, ptr %99, align 8
br label %100
100: ; preds = %96
%101 = load i32, ptr %2, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %2, align 4
br label %91, !llvm.loop !8
103: ; preds = %91
store i32 4, ptr %2, align 4
br label %104
104: ; preds = %122, %103
%105 = load i32, ptr %2, align 4
%106 = load i32, ptr %5, align 4
%107 = sub nsw i32 %106, 3
%108 = icmp sle i32 %105, %107
br i1 %108, label %109, label %125
109: ; preds = %104
%110 = load i32, ptr %2, align 4
%111 = srem i32 %110, 2
%112 = icmp eq i32 %111, 0
br i1 %112, label %113, label %117
113: ; preds = %109
%114 = load i32, ptr %2, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds double, ptr %35, i64 %115
store double 0x3FF5555555555555, ptr %116, align 8
br label %121
117: ; preds = %109
%118 = load i32, ptr %2, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds double, ptr %35, i64 %119
store double 0x3FE5555555555555, ptr %120, align 8
br label %121
121: ; preds = %117, %113
br label %122
122: ; preds = %121
%123 = load i32, ptr %2, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %2, align 4
br label %104, !llvm.loop !9
125: ; preds = %104
store double 0.000000e+00, ptr %14, align 8
store i32 1, ptr %2, align 4
br label %126
126: ; preds = %141, %125
%127 = load i32, ptr %2, align 4
%128 = load i32, ptr %5, align 4
%129 = add nsw i32 %128, 1
%130 = icmp slt i32 %127, %129
br i1 %130, label %131, label %144
131: ; preds = %126
%132 = load i32, ptr %2, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds double, ptr %19, i64 %133
store double 0.000000e+00, ptr %134, align 8
%135 = load double, ptr %14, align 8
%136 = load i32, ptr %2, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds double, ptr %27, i64 %137
%139 = load double, ptr %138, align 8
%140 = fadd double %135, %139
store double %140, ptr %14, align 8
br label %141
141: ; preds = %131
%142 = load i32, ptr %2, align 4
%143 = add nsw i32 %142, 1
store i32 %143, ptr %2, align 4
br label %126, !llvm.loop !10
144: ; preds = %126
%145 = load double, ptr %14, align 8
%146 = call i32 @printf(ptr noundef @.str, double noundef %145)
%147 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %147)
%148 = load i32, ptr %1, align 4
ret i32 %148
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printf(ptr noundef, double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx4j_5394.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"total_N is %8.4f\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 ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca double, align 8
store i32 0, ptr %1, align 4
store i32 10, ptr %5, align 4
store i32 10, ptr %6, align 4
store i32 10, ptr %7, align 4
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, 1
%17 = zext i32 %16 to i64
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %8, align 8
%19 = alloca double, i64 %17, align 16
store i64 %17, ptr %9, align 8
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
%22 = zext i32 %21 to i64
%23 = alloca double, i64 %22, align 16
store i64 %22, ptr %10, align 8
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
%26 = zext i32 %25 to i64
%27 = alloca double, i64 %26, align 16
store i64 %26, ptr %11, align 8
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
%30 = zext i32 %29 to i64
%31 = alloca double, i64 %30, align 16
store i64 %30, ptr %12, align 8
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %32, 1
%34 = zext i32 %33 to i64
%35 = alloca double, i64 %34, align 16
store i64 %34, ptr %13, align 8
%36 = getelementptr inbounds double, ptr %31, i64 1
store double 0x3FF0AAAAAAAAAAAB, ptr %36, align 8
%37 = getelementptr inbounds double, ptr %27, i64 1
store double 0x3FF0AAAAAAAAAAAB, ptr %37, align 8
%38 = getelementptr inbounds double, ptr %31, i64 2
store double 0x3FF0AAAAAAAAAAAB, ptr %38, align 16
%39 = getelementptr inbounds double, ptr %27, i64 2
store double 0x3FF0AAAAAAAAAAAB, ptr %39, align 16
%40 = getelementptr inbounds double, ptr %31, i64 3
store double 7.500000e-01, ptr %40, align 8
%41 = getelementptr inbounds double, ptr %27, i64 3
store double 7.500000e-01, ptr %41, align 8
%42 = load i32, ptr %6, align 4
%43 = sub nsw i32 %42, 2
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, ptr %31, i64 %44
store double 7.500000e-01, ptr %45, align 8
%46 = load i32, ptr %5, align 4
%47 = sub nsw i32 %46, 2
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds double, ptr %27, i64 %48
store double 7.500000e-01, ptr %49, align 8
%50 = load i32, ptr %6, align 4
%51 = sub nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds double, ptr %31, i64 %52
store double 0x3FF0AAAAAAAAAAAB, ptr %53, align 8
%54 = load i32, ptr %5, align 4
%55 = sub nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds double, ptr %27, i64 %56
store double 0x3FF0AAAAAAAAAAAB, ptr %57, align 8
%58 = load i32, ptr %6, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double, ptr %31, i64 %59
store double 0x3FF0AAAAAAAAAAAB, ptr %60, align 8
%61 = load i32, ptr %5, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %27, i64 %62
store double 0x3FF0AAAAAAAAAAAB, ptr %63, align 8
%64 = load i32, ptr %7, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds double, ptr %35, i64 %65
store double 0x3FDD555555555555, ptr %66, align 8
%67 = getelementptr inbounds double, ptr %35, i64 1
store double 0x3FDD555555555555, ptr %67, align 8
%68 = load i32, ptr %7, align 4
%69 = sub nsw i32 %68, 1
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds double, ptr %35, i64 %70
store double 8.750000e-01, ptr %71, align 8
%72 = getelementptr inbounds double, ptr %35, i64 2
store double 8.750000e-01, ptr %72, align 16
%73 = load i32, ptr %7, align 4
%74 = sub nsw i32 %73, 2
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %35, i64 %75
store double 0x3FFAAAAAAAAAAAAB, ptr %76, align 8
%77 = getelementptr inbounds double, ptr %35, i64 3
store double 0x3FFAAAAAAAAAAAAB, ptr %77, align 8
store i32 4, ptr %2, align 4
%78 = load i32, ptr %2, align 4
%79 = load i32, ptr %5, align 4
%80 = sub nsw i32 %79, 3
%81 = icmp sle i32 %78, %80
br i1 %81, label %.lr.ph, label %93
.lr.ph: ; preds = %0
br label %82
82: ; preds = %.lr.ph, %86
%83 = load i32, ptr %2, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds double, ptr %27, i64 %84
store double 1.000000e+00, ptr %85, align 8
br label %86
86: ; preds = %82
%87 = load i32, ptr %2, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %2, align 4
%89 = load i32, ptr %2, align 4
%90 = load i32, ptr %5, align 4
%91 = sub nsw i32 %90, 3
%92 = icmp sle i32 %89, %91
br i1 %92, label %82, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %86
br label %93
93: ; preds = %._crit_edge, %0
store i32 4, ptr %2, align 4
%94 = load i32, ptr %2, align 4
%95 = load i32, ptr %6, align 4
%96 = sub nsw i32 %95, 3
%97 = icmp sle i32 %94, %96
br i1 %97, label %.lr.ph2, label %109
.lr.ph2: ; preds = %93
br label %98
98: ; preds = %.lr.ph2, %102
%99 = load i32, ptr %2, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds double, ptr %31, i64 %100
store double 1.000000e+00, ptr %101, align 8
br label %102
102: ; preds = %98
%103 = load i32, ptr %2, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %2, align 4
%105 = load i32, ptr %2, align 4
%106 = load i32, ptr %6, align 4
%107 = sub nsw i32 %106, 3
%108 = icmp sle i32 %105, %107
br i1 %108, label %98, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %102
br label %109
109: ; preds = %._crit_edge3, %93
store i32 4, ptr %2, align 4
%110 = load i32, ptr %2, align 4
%111 = load i32, ptr %5, align 4
%112 = sub nsw i32 %111, 3
%113 = icmp sle i32 %110, %112
br i1 %113, label %.lr.ph5, label %134
.lr.ph5: ; preds = %109
br label %114
114: ; preds = %.lr.ph5, %127
%115 = load i32, ptr %2, align 4
%116 = srem i32 %115, 2
%117 = icmp eq i32 %116, 0
br i1 %117, label %118, label %122
118: ; preds = %114
%119 = load i32, ptr %2, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds double, ptr %35, i64 %120
store double 0x3FF5555555555555, ptr %121, align 8
br label %126
122: ; preds = %114
%123 = load i32, ptr %2, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds double, ptr %35, i64 %124
store double 0x3FE5555555555555, ptr %125, align 8
br label %126
126: ; preds = %122, %118
br label %127
127: ; preds = %126
%128 = load i32, ptr %2, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %2, align 4
%130 = load i32, ptr %2, align 4
%131 = load i32, ptr %5, align 4
%132 = sub nsw i32 %131, 3
%133 = icmp sle i32 %130, %132
br i1 %133, label %114, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %127
br label %134
134: ; preds = %._crit_edge6, %109
store double 0.000000e+00, ptr %14, align 8
store i32 1, ptr %2, align 4
%135 = load i32, ptr %2, align 4
%136 = load i32, ptr %5, align 4
%137 = add nsw i32 %136, 1
%138 = icmp slt i32 %135, %137
br i1 %138, label %.lr.ph8, label %156
.lr.ph8: ; preds = %134
br label %139
139: ; preds = %.lr.ph8, %149
%140 = load i32, ptr %2, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds double, ptr %19, i64 %141
store double 0.000000e+00, ptr %142, align 8
%143 = load double, ptr %14, align 8
%144 = load i32, ptr %2, align 4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds double, ptr %27, i64 %145
%147 = load double, ptr %146, align 8
%148 = fadd double %143, %147
store double %148, ptr %14, align 8
br label %149
149: ; preds = %139
%150 = load i32, ptr %2, align 4
%151 = add nsw i32 %150, 1
store i32 %151, ptr %2, align 4
%152 = load i32, ptr %2, align 4
%153 = load i32, ptr %5, align 4
%154 = add nsw i32 %153, 1
%155 = icmp slt i32 %152, %154
br i1 %155, label %139, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %149
br label %156
156: ; preds = %._crit_edge9, %134
%157 = load double, ptr %14, align 8
%158 = call i32 @printf(ptr noundef @.str, double noundef %157)
%159 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %159)
%160 = load i32, ptr %1, align 4
ret i32 %160
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printf(ptr noundef, double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpolx1vh3f.c'
source_filename = "/tmp/tmpolx1vh3f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @insertionSort(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 1, ptr %6, align 4
br label %9
9: ; preds = %56, %2
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %59
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %6, align 4
%20 = sub nsw i32 %19, 1
store i32 %20, ptr %7, align 4
br label %21
21: ; preds = %34, %13
%22 = load i32, ptr %7, align 4
%23 = icmp sgt i32 %22, -1
br i1 %23, label %24, label %32
24: ; preds = %21
%25 = load i32, ptr %8, align 4
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %7, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
%30 = load i32, ptr %29, align 4
%31 = icmp slt i32 %25, %30
br label %32
32: ; preds = %24, %21
%33 = phi i1 [ false, %21 ], [ %31, %24 ]
br i1 %33, label %34, label %49
34: ; preds = %32
%35 = load i32, ptr %5, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %5, align 4
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %7, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
%41 = load i32, ptr %40, align 4
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %7, align 4
%44 = add nsw i32 %43, 1
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %42, i64 %45
store i32 %41, ptr %46, align 4
%47 = load i32, ptr %7, align 4
%48 = sub nsw i32 %47, 1
store i32 %48, ptr %7, align 4
br label %21, !llvm.loop !6
49: ; preds = %32
%50 = load i32, ptr %8, align 4
%51 = load ptr, ptr %4, align 8
%52 = load i32, ptr %7, align 4
%53 = add nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %51, i64 %54
store i32 %50, ptr %55, align 4
br label %56
56: ; preds = %49
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %6, align 4
br label %9, !llvm.loop !8
59: ; preds = %9
%60 = load i32, ptr %5, align 4
%61 = call i32 @printf(ptr noundef @.str, i32 noundef %60)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpolx1vh3f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @insertionSort(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 1, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %61
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %55
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %8, align 4
%18 = load i32, ptr %6, align 4
%19 = sub nsw i32 %18, 1
store i32 %19, ptr %7, align 4
br label %20
20: ; preds = %33, %12
%21 = load i32, ptr %7, align 4
%22 = icmp sgt i32 %21, -1
br i1 %22, label %23, label %31
23: ; preds = %20
%24 = load i32, ptr %8, align 4
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = load i32, ptr %28, align 4
%30 = icmp slt i32 %24, %29
br label %31
31: ; preds = %23, %20
%32 = phi i1 [ false, %20 ], [ %30, %23 ]
br i1 %32, label %33, label %48
33: ; preds = %31
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %5, align 4
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %7, align 4
%43 = add nsw i32 %42, 1
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %41, i64 %44
store i32 %40, ptr %45, align 4
%46 = load i32, ptr %7, align 4
%47 = sub nsw i32 %46, 1
store i32 %47, ptr %7, align 4
br label %20, !llvm.loop !6
48: ; preds = %31
%49 = load i32, ptr %8, align 4
%50 = load ptr, ptr %4, align 8
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, 1
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %50, i64 %53
store i32 %49, ptr %54, align 4
br label %55
55: ; preds = %48
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %6, align 4
%58 = load i32, ptr %6, align 4
%59 = load i32, ptr %3, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %12, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %55
br label %61
61: ; preds = %._crit_edge, %2
%62 = load i32, ptr %5, align 4
%63 = call i32 @printf(ptr noundef @.str, i32 noundef %62)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp7m0o3mo7.c'
source_filename = "/tmp/tmp7m0o3mo7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @sim_time() #0 {
%1 = call i64 (...) @clock()
ret i64 %1
}
declare i64 @clock(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7m0o3mo7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @sim_time() #0 {
%1 = call i64 (...) @clock()
ret i64 %1
}
declare i64 @clock(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpovx_0165.c'
source_filename = "/tmp/tmpovx_0165.c"
target datalayout = "e-m:e-p270: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 [70 x i8] c"\0A\0A------------------------------ END ------------------------------\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @footer() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
ret void
}
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/tmpovx_0165.c"
target datalayout = "e-m:e-p270: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 [70 x i8] c"\0A\0A------------------------------ END ------------------------------\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @footer() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
ret void
}
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/tmp6_81viiz.c'
source_filename = "/tmp/tmp6_81viiz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @t2() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %2, ptr %3, align 8
%4 = load i32, ptr %2, align 4
store i32 %4, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %5, %6
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = load ptr, ptr %3, align 8
store i32 3, ptr %10, align 4
%11 = load i32, ptr %1, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp eq i32 %11, %12
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = icmp eq ptr %16, %2
%18 = zext i1 %17 to i32
%19 = call i32 @assert(i32 noundef %18)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6_81viiz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @t2() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %2, ptr %3, align 8
%4 = load i32, ptr %2, align 4
store i32 %4, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %5, %6
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = load ptr, ptr %3, align 8
store i32 3, ptr %10, align 4
%11 = load i32, ptr %1, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp eq i32 %11, %12
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = icmp eq ptr %16, %2
%18 = zext i1 %17 to i32
%19 = call i32 @assert(i32 noundef %18)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbauzm0wj.c'
source_filename = "/tmp/tmpbauzm0wj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @update(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%12 = load i32, ptr %6, align 4
%13 = sub nsw i32 %12, 1
%14 = ashr i32 %13, 1
store i32 %14, ptr %11, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp sgt i32 %15, 0
br i1 %16, label %17, label %36
17: ; preds = %5
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds double, ptr %18, i64 %20
%22 = load double, ptr %21, align 8
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %11, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %23, i64 %25
%27 = load double, ptr %26, align 8
%28 = fcmp olt double %22, %27
br i1 %28, label %29, label %36
29: ; preds = %17
%30 = load i32, ptr %6, align 4
%31 = load ptr, ptr %7, align 8
%32 = load ptr, ptr %8, align 8
%33 = load ptr, ptr %9, align 8
%34 = load i32, ptr %10, align 4
%35 = call i32 @percolate_up(i32 noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33, i32 noundef %34)
br label %43
36: ; preds = %17, %5
%37 = load i32, ptr %6, align 4
%38 = load ptr, ptr %7, align 8
%39 = load ptr, ptr %8, align 8
%40 = load ptr, ptr %9, align 8
%41 = load i32, ptr %10, align 4
%42 = call i32 @percolate_down(i32 noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, i32 noundef %41)
br label %43
43: ; preds = %36, %29
ret void
}
declare i32 @percolate_up(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @percolate_down(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbauzm0wj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @update(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%12 = load i32, ptr %6, align 4
%13 = sub nsw i32 %12, 1
%14 = ashr i32 %13, 1
store i32 %14, ptr %11, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp sgt i32 %15, 0
br i1 %16, label %17, label %36
17: ; preds = %5
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds double, ptr %18, i64 %20
%22 = load double, ptr %21, align 8
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %11, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %23, i64 %25
%27 = load double, ptr %26, align 8
%28 = fcmp olt double %22, %27
br i1 %28, label %29, label %36
29: ; preds = %17
%30 = load i32, ptr %6, align 4
%31 = load ptr, ptr %7, align 8
%32 = load ptr, ptr %8, align 8
%33 = load ptr, ptr %9, align 8
%34 = load i32, ptr %10, align 4
%35 = call i32 @percolate_up(i32 noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33, i32 noundef %34)
br label %43
36: ; preds = %17, %5
%37 = load i32, ptr %6, align 4
%38 = load ptr, ptr %7, align 8
%39 = load ptr, ptr %8, align 8
%40 = load ptr, ptr %9, align 8
%41 = load i32, ptr %10, align 4
%42 = call i32 @percolate_down(i32 noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, i32 noundef %41)
br label %43
43: ; preds = %36, %29
ret void
}
declare i32 @percolate_up(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @percolate_down(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbmf4172h.c'
source_filename = "/tmp/tmpbmf4172h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atapio_software_reset(i16 noundef zeroext %0) #0 {
%2 = alloca i16, align 2
%3 = alloca i32, align 4
store i16 %0, ptr %2, align 2
%4 = load i16, ptr %2, align 2
%5 = call i32 @out_byte(i16 noundef zeroext %4, i32 noundef 4)
%6 = load i16, ptr %2, align 2
%7 = call i32 @out_byte(i16 noundef zeroext %6, i32 noundef 0)
store i32 0, ptr %3, align 4
br label %8
8: ; preds = %14, %1
%9 = load i32, ptr %3, align 4
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %8
%12 = load i16, ptr %2, align 2
%13 = call i32 @in_byte(i16 noundef zeroext %12)
br label %14
14: ; preds = %11
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
br label %8, !llvm.loop !6
17: ; preds = %8
%18 = load i16, ptr %2, align 2
%19 = call i32 @atapio_wait_for_rdy(i16 noundef zeroext %18)
ret void
}
declare i32 @out_byte(i16 noundef zeroext, i32 noundef) #1
declare i32 @in_byte(i16 noundef zeroext) #1
declare i32 @atapio_wait_for_rdy(i16 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbmf4172h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atapio_software_reset(i16 noundef zeroext %0) #0 {
%2 = alloca i16, align 2
%3 = alloca i32, align 4
store i16 %0, ptr %2, align 2
%4 = load i16, ptr %2, align 2
%5 = call i32 @out_byte(i16 noundef zeroext %4, i32 noundef 4)
%6 = load i16, ptr %2, align 2
%7 = call i32 @out_byte(i16 noundef zeroext %6, i32 noundef 0)
store i32 0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sgt i32 %8, 0
br i1 %9, label %.lr.ph, label %18
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %13
%11 = load i16, ptr %2, align 2
%12 = call i32 @in_byte(i16 noundef zeroext %11)
br label %13
13: ; preds = %10
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %1
%19 = load i16, ptr %2, align 2
%20 = call i32 @atapio_wait_for_rdy(i16 noundef zeroext %19)
ret void
}
declare i32 @out_byte(i16 noundef zeroext, i32 noundef) #1
declare i32 @in_byte(i16 noundef zeroext) #1
declare i32 @atapio_wait_for_rdy(i16 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9m7op1i7.c'
source_filename = "/tmp/tmp9m7op1i7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readf(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %10, align 8
%12 = load i64, ptr %7, align 8
store i64 %12, ptr %8, align 8
br label %13
13: ; preds = %29, %3
%14 = load i64, ptr %8, align 8
%15 = icmp ugt i64 %14, 0
br i1 %15, label %16, label %38
16: ; preds = %13
%17 = load i32, ptr %5, align 4
%18 = load ptr, ptr %10, align 8
%19 = load i64, ptr %8, align 8
%20 = call i32 @read(i32 noundef %17, ptr noundef %18, i64 noundef %19)
store i32 %20, ptr %9, align 4
%21 = load i32, ptr %9, align 4
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %24
23: ; preds = %16
store i32 -1, ptr %4, align 4
br label %43
24: ; preds = %16
%25 = load i32, ptr %9, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %24
br label %38
28: ; preds = %24
br label %29
29: ; preds = %28
%30 = load i32, ptr %9, align 4
%31 = sext i32 %30 to i64
%32 = load i64, ptr %8, align 8
%33 = sub i64 %32, %31
store i64 %33, ptr %8, align 8
%34 = load i32, ptr %9, align 4
%35 = load ptr, ptr %10, align 8
%36 = sext i32 %34 to i64
%37 = getelementptr inbounds i8, ptr %35, i64 %36
store ptr %37, ptr %10, align 8
br label %13, !llvm.loop !6
38: ; preds = %27, %13
%39 = load i64, ptr %7, align 8
%40 = load i64, ptr %8, align 8
%41 = sub i64 %39, %40
%42 = trunc i64 %41 to i32
store i32 %42, ptr %4, align 4
br label %43
43: ; preds = %38, %23
%44 = load i32, ptr %4, align 4
ret i32 %44
}
declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9m7op1i7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readf(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %10, align 8
%12 = load i64, ptr %7, align 8
store i64 %12, ptr %8, align 8
%13 = load i64, ptr %8, align 8
%14 = icmp ugt i64 %13, 0
br i1 %14, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %28
%16 = load i32, ptr %5, align 4
%17 = load ptr, ptr %10, align 8
%18 = load i64, ptr %8, align 8
%19 = call i32 @read(i32 noundef %16, ptr noundef %17, i64 noundef %18)
store i32 %19, ptr %9, align 4
%20 = load i32, ptr %9, align 4
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %23
22: ; preds = %15
store i32 -1, ptr %4, align 4
br label %44
23: ; preds = %15
%24 = load i32, ptr %9, align 4
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %23
br label %39
27: ; preds = %23
br label %28
28: ; preds = %27
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = load i64, ptr %8, align 8
%32 = sub i64 %31, %30
store i64 %32, ptr %8, align 8
%33 = load i32, ptr %9, align 4
%34 = load ptr, ptr %10, align 8
%35 = sext i32 %33 to i64
%36 = getelementptr inbounds i8, ptr %34, i64 %35
store ptr %36, ptr %10, align 8
%37 = load i64, ptr %8, align 8
%38 = icmp ugt i64 %37, 0
br i1 %38, label %15, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %28
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %39
39: ; preds = %.loopexit, %26
%40 = load i64, ptr %7, align 8
%41 = load i64, ptr %8, align 8
%42 = sub i64 %40, %41
%43 = trunc i64 %42 to i32
store i32 %43, ptr %4, align 4
br label %44
44: ; preds = %39, %22
%45 = load i32, ptr %4, align 4
ret i32 %45
}
declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmppw_9o95v.c'
source_filename = "/tmp/tmppw_9o95v.c"
target datalayout = "e-m:e-p270: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/tmppw_9o95v.c"
target datalayout = "e-m:e-p270: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/tmpw56ae4f4.c'
source_filename = "/tmp/tmpw56ae4f4.c"
target datalayout = "e-m:e-p270: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 { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"Error al crear socket\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"Error en el bind\00", align 1
@SIGCHLD = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [18 x i8] c"Eror en el listen\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"Error en select\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"Error en el accept\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"Cliente nuevo aceptado\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 %struct.sockaddr_in, align 4
%7 = alloca %struct.sockaddr_in, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [10 x i32], align 16
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = 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 5001, ptr %11, align 4
store i32 0, ptr %14, align 4
%17 = load i32, ptr @AF_INET, align 4
%18 = load i32, ptr @SOCK_STREAM, align 4
%19 = call i32 @socket(i32 noundef %17, i32 noundef %18, i32 noundef 0)
store i32 %19, ptr %8, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %2
%22 = call i32 @perror(ptr noundef @.str)
br label %23
23: ; preds = %21, %2
%24 = call i32 @memset(ptr noundef %6, i32 noundef 48, i32 noundef 12)
%25 = load i32, ptr @AF_INET, align 4
%26 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store i32 %25, ptr %26, align 4
%27 = load i32, ptr %11, align 4
%28 = call i32 @htons(i32 noundef %27)
%29 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
store i32 %28, ptr %29, align 4
%30 = load i32, ptr @INADDR_ANY, align 4
%31 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
%32 = getelementptr inbounds %struct.TYPE_2__, ptr %31, i32 0, i32 0
store i32 %30, ptr %32, align 4
store i32 12, ptr %10, align 4
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %10, align 4
%35 = call i64 @bind(i32 noundef %33, ptr noundef %6, i32 noundef %34)
%36 = icmp slt i64 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %23
%38 = call i32 @perror(ptr noundef @.str.1)
br label %39
39: ; preds = %37, %23
%40 = load i32, ptr @SIGCHLD, align 4
%41 = load i32, ptr @SIG_IGN, align 4
%42 = call i32 @signal(i32 noundef %40, i32 noundef %41)
%43 = load i32, ptr %8, align 4
%44 = call i64 @listen(i32 noundef %43, i32 noundef 10)
%45 = icmp slt i64 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %39
%47 = call i32 @perror(ptr noundef @.str.2)
br label %48
48: ; preds = %46, %39
br label %49
49: ; preds = %48, %136
%50 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 0
%51 = call i32 @limpia(ptr noundef %50, ptr noundef %14)
%52 = call i32 @FD_ZERO(ptr noundef %16)
%53 = load i32, ptr %8, align 4
%54 = call i32 @FD_SET(i32 noundef %53, ptr noundef %16)
store i32 0, ptr %12, align 4
br label %55
55: ; preds = %65, %49
%56 = load i32, ptr %12, align 4
%57 = load i32, ptr %14, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %59, label %68
59: ; preds = %55
%60 = load i32, ptr %12, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %61
%63 = load i32, ptr %62, align 4
%64 = call i32 @FD_SET(i32 noundef %63, ptr noundef %16)
br label %65
65: ; preds = %59
%66 = load i32, ptr %12, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %12, align 4
br label %55, !llvm.loop !6
68: ; preds = %55
%69 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 0
%70 = load i32, ptr %14, align 4
%71 = call i32 @maximoDescriptor(ptr noundef %69, i32 noundef %70)
store i32 %71, ptr %15, align 4
%72 = load i32, ptr %15, align 4
%73 = load i32, ptr %8, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %75, label %77
75: ; preds = %68
%76 = load i32, ptr %8, align 4
store i32 %76, ptr %15, align 4
br label %77
77: ; preds = %75, %68
%78 = load i32, ptr %15, align 4
%79 = add nsw i32 %78, 1
%80 = call i64 @select(i32 noundef %79, ptr noundef %16, ptr noundef null, ptr noundef null, ptr noundef null)
%81 = icmp slt i64 %80, 0
br i1 %81, label %82, label %85
82: ; preds = %77
%83 = call i32 @perror(ptr noundef @.str.3)
%84 = call i32 @exit(i32 noundef 1) #3
unreachable
85: ; preds = %77
store i32 0, ptr %12, align 4
br label %86
86: ; preds = %104, %85
%87 = load i32, ptr %12, align 4
%88 = load i32, ptr %14, align 4
%89 = icmp slt i32 %87, %88
br i1 %89, label %90, label %107
90: ; preds = %86
%91 = load i32, ptr %12, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %92
%94 = load i32, ptr %93, align 4
%95 = call i64 @FD_ISSET(i32 noundef %94, ptr noundef %16)
%96 = icmp ne i64 %95, 0
br i1 %96, label %97, label %103
97: ; preds = %90
%98 = load i32, ptr %12, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %99
%101 = load i32, ptr %100, align 4
%102 = call i32 @procesar(i32 noundef %101, ptr noundef %14)
br label %103
103: ; preds = %97, %90
br label %104
104: ; preds = %103
%105 = load i32, ptr %12, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %12, align 4
br label %86, !llvm.loop !8
107: ; preds = %86
%108 = load i32, ptr %8, align 4
%109 = call i64 @FD_ISSET(i32 noundef %108, ptr noundef %16)
%110 = icmp ne i64 %109, 0
br i1 %110, label %111, label %136
111: ; preds = %107
%112 = load i32, ptr %8, align 4
%113 = call i32 @accept(i32 noundef %112, ptr noundef %7, ptr noundef %10)
%114 = load i32, ptr %14, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %115
store i32 %113, ptr %116, align 4
%117 = icmp slt i32 %113, 0
br i1 %117, label %118, label %120
118: ; preds = %111
%119 = call i32 @perror(ptr noundef @.str.4)
br label %120
120: ; preds = %118, %111
%121 = load i32, ptr %14, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %14, align 4
%123 = load i32, ptr %14, align 4
%124 = icmp sge i32 %123, 10
br i1 %124, label %125, label %134
125: ; preds = %120
%126 = load i32, ptr %14, align 4
%127 = sub nsw i32 %126, 1
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %128
%130 = load i32, ptr %129, align 4
%131 = call i32 @close(i32 noundef %130)
%132 = load i32, ptr %14, align 4
%133 = add nsw i32 %132, -1
store i32 %133, ptr %14, align 4
br label %134
134: ; preds = %125, %120
%135 = call i32 @printf(ptr noundef @.str.5)
br label %136
136: ; preds = %134, %107
br label %49
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @signal(i32 noundef, i32 noundef) #1
declare i64 @listen(i32 noundef, i32 noundef) #1
declare i32 @limpia(ptr noundef, ptr noundef) #1
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @maximoDescriptor(ptr noundef, i32 noundef) #1
declare i64 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @procesar(i32 noundef, ptr noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw56ae4f4.c"
target datalayout = "e-m:e-p270: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 { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"Error al crear socket\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"Error en el bind\00", align 1
@SIGCHLD = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [18 x i8] c"Eror en el listen\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"Error en select\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"Error en el accept\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"Cliente nuevo aceptado\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 %struct.sockaddr_in, align 4
%7 = alloca %struct.sockaddr_in, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [10 x i32], align 16
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = 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 5001, ptr %11, align 4
store i32 0, ptr %14, align 4
%17 = load i32, ptr @AF_INET, align 4
%18 = load i32, ptr @SOCK_STREAM, align 4
%19 = call i32 @socket(i32 noundef %17, i32 noundef %18, i32 noundef 0)
store i32 %19, ptr %8, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %2
%22 = call i32 @perror(ptr noundef @.str)
br label %23
23: ; preds = %21, %2
%24 = call i32 @memset(ptr noundef %6, i32 noundef 48, i32 noundef 12)
%25 = load i32, ptr @AF_INET, align 4
%26 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store i32 %25, ptr %26, align 4
%27 = load i32, ptr %11, align 4
%28 = call i32 @htons(i32 noundef %27)
%29 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
store i32 %28, ptr %29, align 4
%30 = load i32, ptr @INADDR_ANY, align 4
%31 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
%32 = getelementptr inbounds %struct.TYPE_2__, ptr %31, i32 0, i32 0
store i32 %30, ptr %32, align 4
store i32 12, ptr %10, align 4
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %10, align 4
%35 = call i64 @bind(i32 noundef %33, ptr noundef %6, i32 noundef %34)
%36 = icmp slt i64 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %23
%38 = call i32 @perror(ptr noundef @.str.1)
br label %39
39: ; preds = %37, %23
%40 = load i32, ptr @SIGCHLD, align 4
%41 = load i32, ptr @SIG_IGN, align 4
%42 = call i32 @signal(i32 noundef %40, i32 noundef %41)
%43 = load i32, ptr %8, align 4
%44 = call i64 @listen(i32 noundef %43, i32 noundef 10)
%45 = icmp slt i64 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %39
%47 = call i32 @perror(ptr noundef @.str.2)
br label %48
48: ; preds = %46, %39
br label %49
49: ; preds = %140, %48
%50 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 0
%51 = call i32 @limpia(ptr noundef %50, ptr noundef %14)
%52 = call i32 @FD_ZERO(ptr noundef %16)
%53 = load i32, ptr %8, align 4
%54 = call i32 @FD_SET(i32 noundef %53, ptr noundef %16)
store i32 0, ptr %12, align 4
%55 = load i32, ptr %12, align 4
%56 = load i32, ptr %14, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %.lr.ph, label %70
.lr.ph: ; preds = %49
br label %58
58: ; preds = %.lr.ph, %64
%59 = load i32, ptr %12, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %60
%62 = load i32, ptr %61, align 4
%63 = call i32 @FD_SET(i32 noundef %62, ptr noundef %16)
br label %64
64: ; preds = %58
%65 = load i32, ptr %12, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %12, align 4
%67 = load i32, ptr %12, align 4
%68 = load i32, ptr %14, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %58, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %64
br label %70
70: ; preds = %._crit_edge, %49
%71 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 0
%72 = load i32, ptr %14, align 4
%73 = call i32 @maximoDescriptor(ptr noundef %71, i32 noundef %72)
store i32 %73, ptr %15, align 4
%74 = load i32, ptr %15, align 4
%75 = load i32, ptr %8, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %77, label %79
77: ; preds = %70
%78 = load i32, ptr %8, align 4
store i32 %78, ptr %15, align 4
br label %79
79: ; preds = %77, %70
%80 = load i32, ptr %15, align 4
%81 = add nsw i32 %80, 1
%82 = call i64 @select(i32 noundef %81, ptr noundef %16, ptr noundef null, ptr noundef null, ptr noundef null)
%83 = icmp slt i64 %82, 0
br i1 %83, label %84, label %87
84: ; preds = %79
%85 = call i32 @perror(ptr noundef @.str.3)
%86 = call i32 @exit(i32 noundef 1) #3
unreachable
87: ; preds = %79
store i32 0, ptr %12, align 4
%88 = load i32, ptr %12, align 4
%89 = load i32, ptr %14, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %.lr.ph2, label %111
.lr.ph2: ; preds = %87
br label %91
91: ; preds = %.lr.ph2, %105
%92 = load i32, ptr %12, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %93
%95 = load i32, ptr %94, align 4
%96 = call i64 @FD_ISSET(i32 noundef %95, ptr noundef %16)
%97 = icmp ne i64 %96, 0
br i1 %97, label %98, label %104
98: ; preds = %91
%99 = load i32, ptr %12, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %100
%102 = load i32, ptr %101, align 4
%103 = call i32 @procesar(i32 noundef %102, ptr noundef %14)
br label %104
104: ; preds = %98, %91
br label %105
105: ; preds = %104
%106 = load i32, ptr %12, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %12, align 4
%108 = load i32, ptr %12, align 4
%109 = load i32, ptr %14, align 4
%110 = icmp slt i32 %108, %109
br i1 %110, label %91, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %105
br label %111
111: ; preds = %._crit_edge3, %87
%112 = load i32, ptr %8, align 4
%113 = call i64 @FD_ISSET(i32 noundef %112, ptr noundef %16)
%114 = icmp ne i64 %113, 0
br i1 %114, label %115, label %140
115: ; preds = %111
%116 = load i32, ptr %8, align 4
%117 = call i32 @accept(i32 noundef %116, ptr noundef %7, ptr noundef %10)
%118 = load i32, ptr %14, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %119
store i32 %117, ptr %120, align 4
%121 = icmp slt i32 %117, 0
br i1 %121, label %122, label %124
122: ; preds = %115
%123 = call i32 @perror(ptr noundef @.str.4)
br label %124
124: ; preds = %122, %115
%125 = load i32, ptr %14, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr %14, align 4
%127 = load i32, ptr %14, align 4
%128 = icmp sge i32 %127, 10
br i1 %128, label %129, label %138
129: ; preds = %124
%130 = load i32, ptr %14, align 4
%131 = sub nsw i32 %130, 1
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %132
%134 = load i32, ptr %133, align 4
%135 = call i32 @close(i32 noundef %134)
%136 = load i32, ptr %14, align 4
%137 = add nsw i32 %136, -1
store i32 %137, ptr %14, align 4
br label %138
138: ; preds = %129, %124
%139 = call i32 @printf(ptr noundef @.str.5)
br label %140
140: ; preds = %138, %111
br label %49
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @signal(i32 noundef, i32 noundef) #1
declare i64 @listen(i32 noundef, i32 noundef) #1
declare i32 @limpia(ptr noundef, ptr noundef) #1
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @maximoDescriptor(ptr noundef, i32 noundef) #1
declare i64 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @procesar(i32 noundef, ptr noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmptqemgpnz.c'
source_filename = "/tmp/tmptqemgpnz.c"
target datalayout = "e-m:e-p270: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/tmptqemgpnz.c"
target datalayout = "e-m:e-p270: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/tmpkvkpluho.c'
source_filename = "/tmp/tmpkvkpluho.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %7, %0
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%6 = icmp eq i32 %5, 2
br i1 %6, label %7, label %13
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = mul nsw i32 %8, %9
%11 = sub nsw i32 %10, 1
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11)
br label %4, !llvm.loop !6
13: ; preds = %4
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkvkpluho.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%5 = icmp eq i32 %4, 2
br i1 %5, label %.lr.ph, label %14
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %6
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = mul nsw i32 %7, %8
%10 = sub nsw i32 %9, 1
%11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%13 = icmp eq i32 %12, 2
br i1 %13, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %14
14: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp69yzhilp.c'
source_filename = "/tmp/tmp69yzhilp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d, \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printDynArr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %14, %1
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @sizeDynArr(ptr noundef %6)
%8 = icmp slt i32 %5, %7
br i1 %8, label %9, label %17
9: ; preds = %4
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %3, align 4
%12 = call i32 @getDynArr(ptr noundef %10, i32 noundef %11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12)
br label %14
14: ; preds = %9
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
br label %4, !llvm.loop !6
17: ; preds = %4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @sizeDynArr(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getDynArr(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/tmp69yzhilp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d, \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printDynArr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = call i32 @sizeDynArr(ptr noundef %5)
%7 = icmp slt i32 %4, %6
br i1 %7, label %.lr.ph, label %20
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %13
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = call i32 @getDynArr(ptr noundef %9, i32 noundef %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11)
br label %13
13: ; preds = %8
%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 ptr, ptr %2, align 8
%18 = call i32 @sizeDynArr(ptr noundef %17)
%19 = icmp slt i32 %16, %18
br i1 %19, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %20
20: ; preds = %._crit_edge, %1
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @sizeDynArr(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getDynArr(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/tmpsi7o__2m.c'
source_filename = "/tmp/tmpsi7o__2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"barrelfish\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ec_gethostname(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strcpy(ptr noundef %7, ptr noundef @.str)
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
ret i32 %10
}
declare i32 @strcpy(ptr noundef, 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/tmpsi7o__2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"barrelfish\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ec_gethostname(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strcpy(ptr noundef %7, ptr noundef @.str)
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
ret i32 %10
}
declare i32 @strcpy(ptr noundef, 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/tmp48o0amlw.c'
source_filename = "/tmp/tmp48o0amlw.c"
target datalayout = "e-m:e-p270: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/tmp48o0amlw.c"
target datalayout = "e-m:e-p270: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/tmp7deovfqn.c'
source_filename = "/tmp/tmp7deovfqn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @number_of_bits_in_int(i32 noundef %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %1
%9 = load i32, ptr %4, align 4
%10 = call signext i8 @number_of_bits_in_uint(i32 noundef %9)
%11 = sext i8 %10 to i32
%12 = sub nsw i32 32, %11
%13 = trunc i32 %12 to i8
store i8 %13, ptr %2, align 1
br label %17
14: ; preds = %1
%15 = load i32, ptr %4, align 4
%16 = call signext i8 @number_of_bits_in_uint(i32 noundef %15)
store i8 %16, ptr %2, align 1
br label %17
17: ; preds = %14, %8
%18 = load i8, ptr %2, align 1
ret i8 %18
}
declare signext i8 @number_of_bits_in_uint(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/tmp7deovfqn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @number_of_bits_in_int(i32 noundef %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %1
%9 = load i32, ptr %4, align 4
%10 = call signext i8 @number_of_bits_in_uint(i32 noundef %9)
%11 = sext i8 %10 to i32
%12 = sub nsw i32 32, %11
%13 = trunc i32 %12 to i8
store i8 %13, ptr %2, align 1
br label %17
14: ; preds = %1
%15 = load i32, ptr %4, align 4
%16 = call signext i8 @number_of_bits_in_uint(i32 noundef %15)
store i8 %16, ptr %2, align 1
br label %17
17: ; preds = %14, %8
%18 = load i8, ptr %2, align 1
ret i8 %18
}
declare signext i8 @number_of_bits_in_uint(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_syjxhts.c'
source_filename = "/tmp/tmp_syjxhts.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.stat, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 42, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i32 @fstat(i32 noundef %4, ptr noundef %2)
ret i32 0
}
declare i32 @fstat(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/tmp_syjxhts.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.stat, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 42, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i32 @fstat(i32 noundef %4, ptr noundef %2)
ret i32 0
}
declare i32 @fstat(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/tmph3fraa8o.c'
source_filename = "/tmp/tmph3fraa8o.c"
target datalayout = "e-m:e-p270: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/tmph3fraa8o.c"
target datalayout = "e-m:e-p270: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/tmp0r8gvj9s.c'
source_filename = "/tmp/tmp0r8gvj9s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sudirr_destroy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %6, label %5
5: ; preds = %1
br label %9
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @free(ptr noundef %7)
br label %9
9: ; preds = %6, %5
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/tmp0r8gvj9s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sudirr_destroy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %6, label %5
5: ; preds = %1
br label %9
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @free(ptr noundef %7)
br label %9
9: ; preds = %6, %5
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/tmpo6rf_s_2.c'
source_filename = "/tmp/tmpo6rf_s_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"-s\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Usage: ln oldfile newfile\00", align 1
@.str.2 = private unnamed_addr constant [42 x i8] c" ln -s symlinkcontents symlinkfile\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 4
br i1 %7, label %8, label %22
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i32 @strcmp(ptr noundef %11, ptr noundef @.str)
%13 = icmp ne i32 %12, 0
br i1 %13, label %22, label %14
14: ; preds = %8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 2
%17 = load ptr, ptr %16, align 8
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 3
%20 = load ptr, ptr %19, align 8
%21 = call i32 @dosymlink(ptr noundef %17, ptr noundef %20)
br label %37
22: ; preds = %8, %2
%23 = load i32, ptr %4, align 4
%24 = icmp eq i32 %23, 3
br i1 %24, label %25, label %33
25: ; preds = %22
%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 2
%31 = load ptr, ptr %30, align 8
%32 = call i32 @dohardlink(ptr noundef %28, ptr noundef %31)
br label %36
33: ; preds = %22
%34 = call i32 @warnx(ptr noundef @.str.1)
%35 = call i32 @errx(i32 noundef 1, ptr noundef @.str.2)
br label %36
36: ; preds = %33, %25
br label %37
37: ; preds = %36, %14
ret i32 0
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @dosymlink(ptr noundef, ptr noundef) #1
declare i32 @dohardlink(ptr noundef, ptr noundef) #1
declare i32 @warnx(ptr noundef) #1
declare i32 @errx(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/tmpo6rf_s_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"-s\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Usage: ln oldfile newfile\00", align 1
@.str.2 = private unnamed_addr constant [42 x i8] c" ln -s symlinkcontents symlinkfile\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 4
br i1 %7, label %8, label %22
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i32 @strcmp(ptr noundef %11, ptr noundef @.str)
%13 = icmp ne i32 %12, 0
br i1 %13, label %22, label %14
14: ; preds = %8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 2
%17 = load ptr, ptr %16, align 8
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 3
%20 = load ptr, ptr %19, align 8
%21 = call i32 @dosymlink(ptr noundef %17, ptr noundef %20)
br label %37
22: ; preds = %8, %2
%23 = load i32, ptr %4, align 4
%24 = icmp eq i32 %23, 3
br i1 %24, label %25, label %33
25: ; preds = %22
%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 2
%31 = load ptr, ptr %30, align 8
%32 = call i32 @dohardlink(ptr noundef %28, ptr noundef %31)
br label %36
33: ; preds = %22
%34 = call i32 @warnx(ptr noundef @.str.1)
%35 = call i32 @errx(i32 noundef 1, ptr noundef @.str.2)
br label %36
36: ; preds = %33, %25
br label %37
37: ; preds = %36, %14
ret i32 0
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @dosymlink(ptr noundef, ptr noundef) #1
declare i32 @dohardlink(ptr noundef, ptr noundef) #1
declare i32 @warnx(ptr noundef) #1
declare i32 @errx(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/tmpo0jmhafx.c'
source_filename = "/tmp/tmpo0jmhafx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hookup_free_userdata(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/tmpo0jmhafx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hookup_free_userdata(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/tmplen5gamx.c'
source_filename = "/tmp/tmplen5gamx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.str = private unnamed_addr constant [1024 x i8] c"0123456789abcdef\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [10 x i8] c"fseek.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@SEEK_CUR = dso_local global i32 0, align 4
@SEEK_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [1024 x i8], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.str, i64 1024, i1 false)
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %0
store i32 -1, ptr %1, align 4
br label %47
8: ; preds = %0
%9 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%10 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @strlen(ptr noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = call i32 @fwrite(ptr noundef %9, i32 noundef %11, i32 noundef 1, ptr noundef %12)
%14 = load ptr, ptr %2, align 8
%15 = call i32 @fclose(ptr noundef %14)
%16 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.2)
store ptr %16, ptr %2, align 8
%17 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%18 = load ptr, ptr %2, align 8
%19 = call ptr @fgets(ptr noundef %17, i32 noundef 1024, ptr noundef %18)
%20 = call i32 @printf(ptr noundef @.str.3, ptr noundef %19)
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr @SEEK_SET, align 4
%23 = call i32 @fseek(ptr noundef %21, i32 noundef 11, i32 noundef %22)
%24 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%25 = load ptr, ptr %2, align 8
%26 = call ptr @fgets(ptr noundef %24, i32 noundef 1024, ptr noundef %25)
%27 = call i32 @printf(ptr noundef @.str.3, ptr noundef %26)
%28 = load ptr, ptr %2, align 8
%29 = load i32, ptr @SEEK_SET, align 4
%30 = call i32 @fseek(ptr noundef %28, i32 noundef 5, i32 noundef %29)
%31 = load ptr, ptr %2, align 8
%32 = load i32, ptr @SEEK_CUR, align 4
%33 = call i32 @fseek(ptr noundef %31, i32 noundef 5, i32 noundef %32)
%34 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%35 = load ptr, ptr %2, align 8
%36 = call ptr @fgets(ptr noundef %34, i32 noundef 1024, ptr noundef %35)
%37 = call i32 @printf(ptr noundef @.str.3, ptr noundef %36)
%38 = load ptr, ptr %2, align 8
%39 = load i32, ptr @SEEK_END, align 4
%40 = call i32 @fseek(ptr noundef %38, i32 noundef -5, i32 noundef %39)
%41 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%42 = load ptr, ptr %2, align 8
%43 = call ptr @fgets(ptr noundef %41, i32 noundef 1024, ptr noundef %42)
%44 = call i32 @printf(ptr noundef @.str.3, ptr noundef %43)
%45 = load ptr, ptr %2, align 8
%46 = call i32 @fclose(ptr noundef %45)
store i32 0, ptr %1, align 4
br label %47
47: ; preds = %8, %7
%48 = load i32, ptr %1, align 4
ret i32 %48
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplen5gamx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.str = private unnamed_addr constant [1024 x i8] c"0123456789abcdef\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [10 x i8] c"fseek.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@SEEK_CUR = dso_local global i32 0, align 4
@SEEK_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [1024 x i8], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.str, i64 1024, i1 false)
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %0
store i32 -1, ptr %1, align 4
br label %47
8: ; preds = %0
%9 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%10 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @strlen(ptr noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = call i32 @fwrite(ptr noundef %9, i32 noundef %11, i32 noundef 1, ptr noundef %12)
%14 = load ptr, ptr %2, align 8
%15 = call i32 @fclose(ptr noundef %14)
%16 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.2)
store ptr %16, ptr %2, align 8
%17 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%18 = load ptr, ptr %2, align 8
%19 = call ptr @fgets(ptr noundef %17, i32 noundef 1024, ptr noundef %18)
%20 = call i32 @printf(ptr noundef @.str.3, ptr noundef %19)
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr @SEEK_SET, align 4
%23 = call i32 @fseek(ptr noundef %21, i32 noundef 11, i32 noundef %22)
%24 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%25 = load ptr, ptr %2, align 8
%26 = call ptr @fgets(ptr noundef %24, i32 noundef 1024, ptr noundef %25)
%27 = call i32 @printf(ptr noundef @.str.3, ptr noundef %26)
%28 = load ptr, ptr %2, align 8
%29 = load i32, ptr @SEEK_SET, align 4
%30 = call i32 @fseek(ptr noundef %28, i32 noundef 5, i32 noundef %29)
%31 = load ptr, ptr %2, align 8
%32 = load i32, ptr @SEEK_CUR, align 4
%33 = call i32 @fseek(ptr noundef %31, i32 noundef 5, i32 noundef %32)
%34 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%35 = load ptr, ptr %2, align 8
%36 = call ptr @fgets(ptr noundef %34, i32 noundef 1024, ptr noundef %35)
%37 = call i32 @printf(ptr noundef @.str.3, ptr noundef %36)
%38 = load ptr, ptr %2, align 8
%39 = load i32, ptr @SEEK_END, align 4
%40 = call i32 @fseek(ptr noundef %38, i32 noundef -5, i32 noundef %39)
%41 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%42 = load ptr, ptr %2, align 8
%43 = call ptr @fgets(ptr noundef %41, i32 noundef 1024, ptr noundef %42)
%44 = call i32 @printf(ptr noundef @.str.3, ptr noundef %43)
%45 = load ptr, ptr %2, align 8
%46 = call i32 @fclose(ptr noundef %45)
store i32 0, ptr %1, align 4
br label %47
47: ; preds = %8, %7
%48 = load i32, ptr %1, align 4
ret i32 %48
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwdjsskbv.c'
source_filename = "/tmp/tmpwdjsskbv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"usage: hostsblock file\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@stdin = dso_local global ptr null, align 8
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"error opening filter list\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"0\09%s\0A\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"error reading filter list\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [257 x i8], align 16
%8 = alloca [254 x i8], align 16
%9 = 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
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 254, i1 false)
%10 = load i32, ptr %4, align 4
%11 = icmp sgt i32 %10, 2
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fputs(ptr noundef @.str, i32 noundef %13)
store i32 1, ptr %3, align 4
br label %68
15: ; preds = %2
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %16, 2
br i1 %17, label %24, label %18
18: ; preds = %15
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i32 @strncmp(ptr noundef %21, ptr noundef @.str.1, i32 noundef 2)
%23 = icmp ne i32 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %18, %15
%25 = load ptr, ptr @stdin, align 8
store ptr %25, ptr %6, align 8
br label %31
26: ; preds = %18
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 1
%29 = load ptr, ptr %28, align 8
%30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str.2)
store ptr %30, ptr %6, align 8
br label %31
31: ; preds = %26, %24
%32 = load ptr, ptr %6, align 8
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %36
34: ; preds = %31
%35 = call i32 @perror(ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %68
36: ; preds = %31
br label %37
37: ; preds = %36, %60
%38 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0
%39 = load ptr, ptr %6, align 8
%40 = call ptr @fgets(ptr noundef %38, i32 noundef 257, ptr noundef %39)
store ptr %40, ptr %9, align 8
%41 = load ptr, ptr %9, align 8
%42 = icmp eq ptr %41, null
br i1 %42, label %51, label %43
43: ; preds = %37
%44 = load ptr, ptr %6, align 8
%45 = call i64 @feof(ptr noundef %44)
%46 = icmp ne i64 %45, 0
br i1 %46, label %51, label %47
47: ; preds = %43
%48 = load ptr, ptr %6, align 8
%49 = call i64 @ferror(ptr noundef %48)
%50 = icmp ne i64 %49, 0
br i1 %50, label %51, label %52
51: ; preds = %47, %43, %37
br label %61
52: ; preds = %47
%53 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0
%54 = getelementptr inbounds [254 x i8], ptr %8, i64 0, i64 0
%55 = call i32 @get_domain(ptr noundef %53, ptr noundef %54)
%56 = icmp ne i32 %55, 0
br i1 %56, label %60, label %57
57: ; preds = %52
%58 = getelementptr inbounds [254 x i8], ptr %8, i64 0, i64 0
%59 = call i32 @printf(ptr noundef @.str.4, ptr noundef %58)
br label %60
60: ; preds = %57, %52
br label %37
61: ; preds = %51
%62 = load ptr, ptr %6, align 8
%63 = call i64 @ferror(ptr noundef %62)
%64 = icmp ne i64 %63, 0
br i1 %64, label %65, label %67
65: ; preds = %61
%66 = call i32 @perror(ptr noundef @.str.5)
store i32 1, ptr %3, align 4
br label %68
67: ; preds = %61
store i32 0, ptr %3, align 4
br label %68
68: ; preds = %67, %65, %34, %12
%69 = load i32, ptr %3, align 4
ret i32 %69
}
; 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 @fputs(ptr noundef, i32 noundef) #2
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @perror(ptr noundef) #2
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare i64 @feof(ptr noundef) #2
declare i64 @ferror(ptr noundef) #2
declare i32 @get_domain(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwdjsskbv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"usage: hostsblock file\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@stdin = dso_local global ptr null, align 8
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"error opening filter list\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"0\09%s\0A\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"error reading filter list\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [257 x i8], align 16
%8 = alloca [254 x i8], align 16
%9 = 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
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 254, i1 false)
%10 = load i32, ptr %4, align 4
%11 = icmp sgt i32 %10, 2
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fputs(ptr noundef @.str, i32 noundef %13)
store i32 1, ptr %3, align 4
br label %71
15: ; preds = %2
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %16, 2
br i1 %17, label %24, label %18
18: ; preds = %15
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i32 @strncmp(ptr noundef %21, ptr noundef @.str.1, i32 noundef 2)
%23 = icmp ne i32 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %18, %15
%25 = load ptr, ptr @stdin, align 8
store ptr %25, ptr %6, align 8
br label %31
26: ; preds = %18
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 1
%29 = load ptr, ptr %28, align 8
%30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str.2)
store ptr %30, ptr %6, align 8
br label %31
31: ; preds = %26, %24
%32 = load ptr, ptr %6, align 8
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %36
34: ; preds = %31
%35 = call i32 @perror(ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %71
36: ; preds = %31
%37 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0
%38 = load ptr, ptr %6, align 8
%39 = call ptr @fgets(ptr noundef %37, i32 noundef 257, ptr noundef %38)
store ptr %39, ptr %9, align 8
%40 = load ptr, ptr %9, align 8
%41 = icmp eq ptr %40, null
br i1 %41, label %50, label %.lr.ph
.lr.ph: ; preds = %36
br label %42
42: ; preds = %.lr.ph, %59
%43 = load ptr, ptr %6, align 8
%44 = call i64 @feof(ptr noundef %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %._crit_edge1, label %46
46: ; preds = %42
%47 = load ptr, ptr %6, align 8
%48 = call i64 @ferror(ptr noundef %47)
%49 = icmp ne i64 %48, 0
br i1 %49, label %._crit_edge, label %51
._crit_edge: ; preds = %46
br label %50
._crit_edge1: ; preds = %42
br label %50
._crit_edge2: ; preds = %59
br label %50
50: ; preds = %._crit_edge2, %._crit_edge1, %._crit_edge, %36
br label %64
51: ; preds = %46
%52 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0
%53 = getelementptr inbounds [254 x i8], ptr %8, i64 0, i64 0
%54 = call i32 @get_domain(ptr noundef %52, ptr noundef %53)
%55 = icmp ne i32 %54, 0
br i1 %55, label %59, label %56
56: ; preds = %51
%57 = getelementptr inbounds [254 x i8], ptr %8, i64 0, i64 0
%58 = call i32 @printf(ptr noundef @.str.4, ptr noundef %57)
br label %59
59: ; preds = %56, %51
%60 = load ptr, ptr %6, align 8
%61 = call ptr @fgets(ptr noundef %37, i32 noundef 257, ptr noundef %60)
store ptr %61, ptr %9, align 8
%62 = load ptr, ptr %9, align 8
%63 = icmp eq ptr %62, null
br i1 %63, label %._crit_edge2, label %42
64: ; preds = %50
%65 = load ptr, ptr %6, align 8
%66 = call i64 @ferror(ptr noundef %65)
%67 = icmp ne i64 %66, 0
br i1 %67, label %68, label %70
68: ; preds = %64
%69 = call i32 @perror(ptr noundef @.str.5)
store i32 1, ptr %3, align 4
br label %71
70: ; preds = %64
store i32 0, ptr %3, align 4
br label %71
71: ; preds = %70, %68, %34, %12
%72 = load i32, ptr %3, align 4
ret i32 %72
}
; 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 @fputs(ptr noundef, i32 noundef) #2
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @perror(ptr noundef) #2
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare i64 @feof(ptr noundef) #2
declare i64 @ferror(ptr noundef) #2
declare i32 @get_domain(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_z3zje_w.c'
source_filename = "/tmp/tmp_z3zje_w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PullFirstWord.FirstWord = internal global [40 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [11 x i8] c" ,=+-*^\09\0A/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @PullFirstWord(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strcspn(ptr noundef %5, ptr noundef @.str)
store i32 %6, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %20, %1
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %23
11: ; preds = %7
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [40 x i8], ptr @PullFirstWord.FirstWord, i64 0, i64 %18
store i8 %16, ptr %19, align 1
br label %20
20: ; preds = %11
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %7, !llvm.loop !6
23: ; preds = %7
%24 = load i32, ptr %3, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [40 x i8], ptr @PullFirstWord.FirstWord, i64 0, i64 %25
store i8 0, ptr %26, align 1
ret ptr @PullFirstWord.FirstWord
}
declare i32 @strcspn(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_z3zje_w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PullFirstWord.FirstWord = internal global [40 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [11 x i8] c" ,=+-*^\09\0A/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @PullFirstWord(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strcspn(ptr noundef %5, ptr noundef @.str)
store i32 %6, ptr %4, align 4
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %25
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %19
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [40 x i8], ptr @PullFirstWord.FirstWord, i64 0, i64 %17
store i8 %15, ptr %18, align 1
br label %19
19: ; preds = %10
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %1
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [40 x i8], ptr @PullFirstWord.FirstWord, i64 0, i64 %27
store i8 0, ptr %28, align 1
ret ptr @PullFirstWord.FirstWord
}
declare i32 @strcspn(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/tmp2d1u9q5e.c'
source_filename = "/tmp/tmp2d1u9q5e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"Digite o valor da posicao %d do vetor : \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Posicao %d - Valor %d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @imprime_par() #0 {
%1 = alloca [10 x i32], align 16
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %14, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 10
br i1 %5, label %6, label %17
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 1
%9 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %8)
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %11
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %12)
br label %14
14: ; preds = %6
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
br label %3, !llvm.loop !6
17: ; preds = %3
store i32 0, ptr %2, align 4
br label %18
18: ; preds = %28, %17
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %19, 10
br i1 %20, label %21, label %31
21: ; preds = %18
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %22, i32 noundef %26)
br label %28
28: ; preds = %21
%29 = load i32, ptr %2, align 4
%30 = add nsw i32 %29, 2
store i32 %30, ptr %2, align 4
br label %18, !llvm.loop !8
31: ; preds = %18
ret void
}
declare i32 @printf(ptr noundef, i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2d1u9q5e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"Digite o valor da posicao %d do vetor : \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Posicao %d - Valor %d \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @imprime_par() #0 {
%1 = alloca [10 x i32], align 16
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 10
br i1 %4, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %13
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, 1
%8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %10
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %11)
br label %13
13: ; preds = %5
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 10
br i1 %17, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
store i32 0, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %19, 10
br i1 %20, label %.lr.ph2, label %33
.lr.ph2: ; preds = %18
br label %21
21: ; preds = %.lr.ph2, %28
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %22, i32 noundef %26)
br label %28
28: ; preds = %21
%29 = load i32, ptr %2, align 4
%30 = add nsw i32 %29, 2
store i32 %30, ptr %2, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp slt i32 %31, 10
br i1 %32, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %28
br label %33
33: ; preds = %._crit_edge3, %18
ret void
}
declare i32 @printf(ptr noundef, i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp0nortd5n.c'
source_filename = "/tmp/tmp0nortd5n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"(%0.3f,%0.3f)\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"INF\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%12 = load float, ptr %2, align 4
%13 = load float, ptr %3, align 4
%14 = fmul float %12, %13
%15 = load float, ptr %4, align 4
%16 = load float, ptr %5, align 4
%17 = fsub float %15, %16
%18 = fmul float %14, %17
%19 = load float, ptr %3, align 4
%20 = load float, ptr %4, align 4
%21 = load float, ptr %2, align 4
%22 = load float, ptr %5, align 4
%23 = fmul float %21, %22
%24 = fneg float %23
%25 = call float @llvm.fmuladd.f32(float %19, float %20, float %24)
%26 = fdiv float %18, %25
store float %26, ptr %6, align 4
%27 = load float, ptr %4, align 4
%28 = load float, ptr %5, align 4
%29 = fmul float %27, %28
%30 = load float, ptr %2, align 4
%31 = load float, ptr %3, align 4
%32 = fsub float %30, %31
%33 = fmul float %29, %32
%34 = load float, ptr %2, align 4
%35 = load float, ptr %5, align 4
%36 = load float, ptr %3, align 4
%37 = load float, ptr %4, align 4
%38 = fmul float %36, %37
%39 = fneg float %38
%40 = call float @llvm.fmuladd.f32(float %34, float %35, float %39)
%41 = fdiv float %33, %40
store float %41, ptr %7, align 4
%42 = load float, ptr %3, align 4
%43 = load float, ptr %4, align 4
%44 = fmul float %42, %43
%45 = load float, ptr %2, align 4
%46 = load float, ptr %5, align 4
%47 = fmul float %45, %46
%48 = fcmp une float %44, %47
br i1 %48, label %49, label %55
49: ; preds = %0
%50 = load float, ptr %6, align 4
%51 = fpext float %50 to double
%52 = load float, ptr %7, align 4
%53 = fpext float %52 to double
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %51, double noundef %53)
br label %66
55: ; preds = %0
%56 = load float, ptr %3, align 4
%57 = load float, ptr %4, align 4
%58 = fmul float %56, %57
%59 = load float, ptr %2, align 4
%60 = load float, ptr %5, align 4
%61 = fmul float %59, %60
%62 = fcmp oeq float %58, %61
br i1 %62, label %63, label %65
63: ; preds = %55
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %65
65: ; preds = %63, %55
br label %66
66: ; preds = %65, %49
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0nortd5n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"(%0.3f,%0.3f)\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"INF\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%12 = load float, ptr %2, align 4
%13 = load float, ptr %3, align 4
%14 = fmul float %12, %13
%15 = load float, ptr %4, align 4
%16 = load float, ptr %5, align 4
%17 = fsub float %15, %16
%18 = fmul float %14, %17
%19 = load float, ptr %3, align 4
%20 = load float, ptr %4, align 4
%21 = load float, ptr %2, align 4
%22 = load float, ptr %5, align 4
%23 = fmul float %21, %22
%24 = fneg float %23
%25 = call float @llvm.fmuladd.f32(float %19, float %20, float %24)
%26 = fdiv float %18, %25
store float %26, ptr %6, align 4
%27 = load float, ptr %4, align 4
%28 = load float, ptr %5, align 4
%29 = fmul float %27, %28
%30 = load float, ptr %2, align 4
%31 = load float, ptr %3, align 4
%32 = fsub float %30, %31
%33 = fmul float %29, %32
%34 = load float, ptr %2, align 4
%35 = load float, ptr %5, align 4
%36 = load float, ptr %3, align 4
%37 = load float, ptr %4, align 4
%38 = fmul float %36, %37
%39 = fneg float %38
%40 = call float @llvm.fmuladd.f32(float %34, float %35, float %39)
%41 = fdiv float %33, %40
store float %41, ptr %7, align 4
%42 = load float, ptr %3, align 4
%43 = load float, ptr %4, align 4
%44 = fmul float %42, %43
%45 = load float, ptr %2, align 4
%46 = load float, ptr %5, align 4
%47 = fmul float %45, %46
%48 = fcmp une float %44, %47
br i1 %48, label %49, label %55
49: ; preds = %0
%50 = load float, ptr %6, align 4
%51 = fpext float %50 to double
%52 = load float, ptr %7, align 4
%53 = fpext float %52 to double
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %51, double noundef %53)
br label %66
55: ; preds = %0
%56 = load float, ptr %3, align 4
%57 = load float, ptr %4, align 4
%58 = fmul float %56, %57
%59 = load float, ptr %2, align 4
%60 = load float, ptr %5, align 4
%61 = fmul float %59, %60
%62 = fcmp oeq float %58, %61
br i1 %62, label %63, label %65
63: ; preds = %55
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %65
65: ; preds = %63, %55
br label %66
66: ; preds = %65, %49
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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.