llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmphgmvm3od.c'
source_filename = "/tmp/tmphgmvm3od.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @funct_one()
%7 = call i32 (...) @funct_two()
ret i32 0
}
declare i32 @funct_one(...) #1
declare i32 @funct_two(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphgmvm3od.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @funct_one()
%7 = call i32 (...) @funct_two()
ret i32 0
}
declare i32 @funct_one(...) #1
declare i32 @funct_two(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplqh0dfig.c'
source_filename = "/tmp/tmplqh0dfig.c"
target datalayout = "e-m:e-p270: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.anon = type { i32, [3 x i32] }
@__const.main_main.a = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 3], align 4
@__const.main_main.b = private unnamed_addr constant %struct.anon { i32 1927, [3 x i32] [i32 5, i32 4, i32 9] }, align 4
@.str = private unnamed_addr constant [7 x i8] c"a= %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"x = %d bogomips %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main_main() #0 {
%1 = alloca [3 x i32], align 4
%2 = alloca %struct.anon, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 @__const.main_main.a, i64 12, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main_main.b, i64 16, i1 false)
%5 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 2
%6 = load i32, ptr %5, align 4
%7 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %6)
store i32 3, ptr %3, align 4
store i32 3, ptr %3, align 4
%8 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 0
%9 = getelementptr inbounds %struct.anon, ptr %2, i32 0, i32 1
%10 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 0
%11 = load i32, ptr %3, align 4
%12 = call i32 @x(ptr noundef %8, ptr noundef %10, i32 noundef %11)
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %13, i32 noundef %14)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #2
declare i32 @x(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmplqh0dfig.c"
target datalayout = "e-m:e-p270: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.anon = type { i32, [3 x i32] }
@__const.main_main.a = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 3], align 4
@__const.main_main.b = private unnamed_addr constant %struct.anon { i32 1927, [3 x i32] [i32 5, i32 4, i32 9] }, align 4
@.str = private unnamed_addr constant [7 x i8] c"a= %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"x = %d bogomips %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main_main() #0 {
%1 = alloca [3 x i32], align 4
%2 = alloca %struct.anon, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %1, ptr align 4 @__const.main_main.a, i64 12, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main_main.b, i64 16, i1 false)
%5 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 2
%6 = load i32, ptr %5, align 4
%7 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %6)
store i32 3, ptr %3, align 4
store i32 3, ptr %3, align 4
%8 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 0
%9 = getelementptr inbounds %struct.anon, ptr %2, i32 0, i32 1
%10 = getelementptr inbounds [3 x i32], ptr %9, i64 0, i64 0
%11 = load i32, ptr %3, align 4
%12 = call i32 @x(ptr noundef %8, ptr noundef %10, i32 noundef %11)
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %13, i32 noundef %14)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #2
declare i32 @x(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmpmk1z6r37.c'
source_filename = "/tmp/tmpmk1z6r37.c"
target datalayout = "e-m:e-p270: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/tmpmk1z6r37.c"
target datalayout = "e-m:e-p270: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/tmp1i82wppv.c'
source_filename = "/tmp/tmp1i82wppv.c"
target datalayout = "e-m:e-p270: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/tmp1i82wppv.c"
target datalayout = "e-m:e-p270: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/tmp0fwdaagk.c'
source_filename = "/tmp/tmp0fwdaagk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"color = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call ptr (...) @GetInstance()
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @SetColor(ptr noundef %5, i32 noundef 1)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @GetColor(ptr noundef %7)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
%11 = call i32 @ReleaseInstance(ptr noundef %2)
%12 = load ptr, ptr %2, align 8
%13 = icmp eq ptr %12, null
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
ret i32 0
}
declare ptr @GetInstance(...) #1
declare i32 @SetColor(ptr noundef, i32 noundef) #1
declare i32 @GetColor(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @ReleaseInstance(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0fwdaagk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"color = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call ptr (...) @GetInstance()
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @SetColor(ptr noundef %5, i32 noundef 1)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @GetColor(ptr noundef %7)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
%11 = call i32 @ReleaseInstance(ptr noundef %2)
%12 = load ptr, ptr %2, align 8
%13 = icmp eq ptr %12, null
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
ret i32 0
}
declare ptr @GetInstance(...) #1
declare i32 @SetColor(ptr noundef, i32 noundef) #1
declare i32 @GetColor(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @ReleaseInstance(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9yl4rbih.c'
source_filename = "/tmp/tmp9yl4rbih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 \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 @loop_dump(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
br label %6
6: ; preds = %16, %2
%7 = load i64, ptr %5, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp ult i64 %7, %8
br i1 %9, label %10, label %19
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %5, align 8
%13 = getelementptr inbounds double, ptr %11, i64 %12
%14 = load double, ptr %13, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %14)
br label %16
16: ; preds = %10
%17 = load i64, ptr %5, align 8
%18 = add i64 %17, 1
store i64 %18, ptr %5, align 8
br label %6, !llvm.loop !6
19: ; preds = %6
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9yl4rbih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 \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 @loop_dump(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = load i64, ptr %4, align 8
%8 = icmp ult i64 %6, %7
br i1 %8, label %.lr.ph, label %21
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %15
%10 = load ptr, ptr %3, align 8
%11 = load i64, ptr %5, align 8
%12 = getelementptr inbounds double, ptr %10, i64 %11
%13 = load double, ptr %12, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %13)
br label %15
15: ; preds = %9
%16 = load i64, ptr %5, align 8
%17 = add i64 %16, 1
store i64 %17, ptr %5, align 8
%18 = load i64, ptr %5, align 8
%19 = load i64, ptr %4, align 8
%20 = icmp ult i64 %18, %19
br i1 %20, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %21
21: ; preds = %._crit_edge, %2
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbztbeqtr.c'
source_filename = "/tmp/tmpbztbeqtr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_line(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 ptr, ptr %4, align 8
%8 = call ptr @fgets(ptr noundef %6, i32 noundef 1000, ptr noundef %7)
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 1, ptr %3, align 4
br label %18
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = call i32 @strlen(ptr noundef %13)
%15 = sub nsw i32 %14, 1
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %12, i64 %16
store i8 0, ptr %17, align 1
store i32 0, ptr %3, align 4
br label %18
18: ; preds = %11, %10
%19 = load i32, ptr %3, align 4
ret i32 %19
}
declare ptr @fgets(ptr noundef, i32 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/tmpbztbeqtr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_line(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 ptr, ptr %4, align 8
%8 = call ptr @fgets(ptr noundef %6, i32 noundef 1000, ptr noundef %7)
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 1, ptr %3, align 4
br label %18
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = call i32 @strlen(ptr noundef %13)
%15 = sub nsw i32 %14, 1
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %12, i64 %16
store i8 0, ptr %17, align 1
store i32 0, ptr %3, align 4
br label %18
18: ; preds = %11, %10
%19 = load i32, ptr %3, align 4
ret i32 %19
}
declare ptr @fgets(ptr noundef, i32 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/tmpm29yxfsw.c'
source_filename = "/tmp/tmpm29yxfsw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @popcnt64(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
store i32 %4, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = and i64 %6, 6148914691236517205
%8 = load i32, ptr %3, align 4
%9 = ashr i32 %8, 1
%10 = sext i32 %9 to i64
%11 = and i64 %10, 6148914691236517205
%12 = add nsw i64 %7, %11
%13 = trunc i64 %12 to i32
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = and i64 %15, 3689348814741910323
%17 = load i32, ptr %3, align 4
%18 = ashr i32 %17, 2
%19 = sext i32 %18 to i64
%20 = and i64 %19, 3689348814741910323
%21 = add nsw i64 %16, %20
%22 = trunc i64 %21 to i32
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = sext i32 %23 to i64
%25 = and i64 %24, 1085102592571150095
%26 = load i32, ptr %3, align 4
%27 = ashr i32 %26, 4
%28 = sext i32 %27 to i64
%29 = and i64 %28, 1085102592571150095
%30 = add nsw i64 %25, %29
%31 = trunc i64 %30 to i32
store i32 %31, ptr %3, align 4
%32 = load i32, ptr %3, align 4
%33 = sext i32 %32 to i64
%34 = and i64 %33, 71777214294589695
%35 = load i32, ptr %3, align 4
%36 = ashr i32 %35, 8
%37 = sext i32 %36 to i64
%38 = and i64 %37, 71777214294589695
%39 = add nsw i64 %34, %38
%40 = trunc i64 %39 to i32
store i32 %40, ptr %3, align 4
%41 = load i32, ptr %3, align 4
%42 = sext i32 %41 to i64
%43 = and i64 %42, 281470681808895
%44 = load i32, ptr %3, align 4
%45 = ashr i32 %44, 16
%46 = sext i32 %45 to i64
%47 = and i64 %46, 281470681808895
%48 = add nsw i64 %43, %47
%49 = trunc i64 %48 to i32
store i32 %49, ptr %3, align 4
%50 = load i32, ptr %3, align 4
%51 = and i32 %50, -1
%52 = load i32, ptr %3, align 4
%53 = ashr i32 %52, 32
%54 = and i32 %53, -1
%55 = add i32 %51, %54
store i32 %55, ptr %3, align 4
%56 = load i32, ptr %3, align 4
ret i32 %56
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm29yxfsw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @popcnt64(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
store i32 %4, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = and i64 %6, 6148914691236517205
%8 = load i32, ptr %3, align 4
%9 = ashr i32 %8, 1
%10 = sext i32 %9 to i64
%11 = and i64 %10, 6148914691236517205
%12 = add nsw i64 %7, %11
%13 = trunc i64 %12 to i32
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = and i64 %15, 3689348814741910323
%17 = load i32, ptr %3, align 4
%18 = ashr i32 %17, 2
%19 = sext i32 %18 to i64
%20 = and i64 %19, 3689348814741910323
%21 = add nsw i64 %16, %20
%22 = trunc i64 %21 to i32
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = sext i32 %23 to i64
%25 = and i64 %24, 1085102592571150095
%26 = load i32, ptr %3, align 4
%27 = ashr i32 %26, 4
%28 = sext i32 %27 to i64
%29 = and i64 %28, 1085102592571150095
%30 = add nsw i64 %25, %29
%31 = trunc i64 %30 to i32
store i32 %31, ptr %3, align 4
%32 = load i32, ptr %3, align 4
%33 = sext i32 %32 to i64
%34 = and i64 %33, 71777214294589695
%35 = load i32, ptr %3, align 4
%36 = ashr i32 %35, 8
%37 = sext i32 %36 to i64
%38 = and i64 %37, 71777214294589695
%39 = add nsw i64 %34, %38
%40 = trunc i64 %39 to i32
store i32 %40, ptr %3, align 4
%41 = load i32, ptr %3, align 4
%42 = sext i32 %41 to i64
%43 = and i64 %42, 281470681808895
%44 = load i32, ptr %3, align 4
%45 = ashr i32 %44, 16
%46 = sext i32 %45 to i64
%47 = and i64 %46, 281470681808895
%48 = add nsw i64 %43, %47
%49 = trunc i64 %48 to i32
store i32 %49, ptr %3, align 4
%50 = load i32, ptr %3, align 4
%51 = and i32 %50, -1
%52 = load i32, ptr %3, align 4
%53 = ashr i32 %52, 32
%54 = and i32 %53, -1
%55 = add i32 %51, %54
store i32 %55, ptr %3, align 4
%56 = load i32, ptr %3, align 4
ret i32 %56
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyvrasu7j.c'
source_filename = "/tmp/tmpyvrasu7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_line(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [512 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr null, ptr %6, align 8
store i64 0, ptr %7, align 8
br label %11
11: ; preds = %60, %2
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%14 = call ptr @get_line(ptr noundef %12, ptr noundef %13, i32 noundef 512)
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %62
16: ; preds = %11
%17 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%18 = call i64 @strlen(ptr noundef %17)
store i64 %18, ptr %8, align 8
%19 = load i64, ptr %8, align 8
%20 = icmp ugt i64 %19, 0
br i1 %20, label %21, label %28
21: ; preds = %16
%22 = load i64, ptr %8, align 8
%23 = sub i64 %22, 1
%24 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 10
br label %28
28: ; preds = %21, %16
%29 = phi i1 [ false, %16 ], [ %27, %21 ]
%30 = zext i1 %29 to i32
store i32 %30, ptr %9, align 4
%31 = load i64, ptr %7, align 8
%32 = load i64, ptr %8, align 8
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = sub i64 %32, %34
%36 = add i64 %31, %35
store i64 %36, ptr %10, align 8
%37 = load ptr, ptr %4, align 8
%38 = load i64, ptr %10, align 8
%39 = add i64 %38, 1
%40 = call ptr @realloc(ptr noundef %37, i64 noundef %39)
store ptr %40, ptr %6, align 8
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %43
42: ; preds = %28
br label %62
43: ; preds = %28
%44 = load i32, ptr %9, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %50
46: ; preds = %43
%47 = load i64, ptr %8, align 8
%48 = add i64 %47, -1
store i64 %48, ptr %8, align 8
%49 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 %48
store i8 0, ptr %49, align 1
br label %50
50: ; preds = %46, %43
%51 = load ptr, ptr %6, align 8
store ptr %51, ptr %4, align 8
%52 = load ptr, ptr %4, align 8
%53 = load i64, ptr %7, align 8
%54 = getelementptr inbounds i8, ptr %52, i64 %53
%55 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%56 = call i32 @strcpy(ptr noundef %54, ptr noundef %55)
%57 = load i32, ptr %9, align 4
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %60
59: ; preds = %50
br label %62
60: ; preds = %50
%61 = load i64, ptr %10, align 8
store i64 %61, ptr %7, align 8
br label %11, !llvm.loop !6
62: ; preds = %59, %42, %11
%63 = load ptr, ptr %6, align 8
%64 = icmp eq ptr %63, null
br i1 %64, label %65, label %68
65: ; preds = %62
%66 = load ptr, ptr %4, align 8
%67 = call i32 @free(ptr noundef %66)
store ptr null, ptr %4, align 8
br label %68
68: ; preds = %65, %62
%69 = load ptr, ptr %4, align 8
ret ptr %69
}
declare ptr @get_line(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyvrasu7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_line(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [512 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr null, ptr %6, align 8
store i64 0, ptr %7, align 8
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%13 = call ptr @get_line(ptr noundef %11, ptr noundef %12, i32 noundef 512)
%14 = icmp ne ptr %13, null
br i1 %14, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %59
%16 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%17 = call i64 @strlen(ptr noundef %16)
store i64 %17, ptr %8, align 8
%18 = load i64, ptr %8, align 8
%19 = icmp ugt i64 %18, 0
br i1 %19, label %20, label %27
20: ; preds = %15
%21 = load i64, ptr %8, align 8
%22 = sub i64 %21, 1
%23 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 10
br label %27
27: ; preds = %20, %15
%28 = phi i1 [ false, %15 ], [ %26, %20 ]
%29 = zext i1 %28 to i32
store i32 %29, ptr %9, align 4
%30 = load i64, ptr %7, align 8
%31 = load i64, ptr %8, align 8
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = sub i64 %31, %33
%35 = add i64 %30, %34
store i64 %35, ptr %10, align 8
%36 = load ptr, ptr %4, align 8
%37 = load i64, ptr %10, align 8
%38 = add i64 %37, 1
%39 = call ptr @realloc(ptr noundef %36, i64 noundef %38)
store ptr %39, ptr %6, align 8
%40 = icmp eq ptr %39, null
br i1 %40, label %41, label %42
41: ; preds = %27
br label %64
42: ; preds = %27
%43 = load i32, ptr %9, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %49
45: ; preds = %42
%46 = load i64, ptr %8, align 8
%47 = add i64 %46, -1
store i64 %47, ptr %8, align 8
%48 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 %47
store i8 0, ptr %48, align 1
br label %49
49: ; preds = %45, %42
%50 = load ptr, ptr %6, align 8
store ptr %50, ptr %4, align 8
%51 = load ptr, ptr %4, align 8
%52 = load i64, ptr %7, align 8
%53 = getelementptr inbounds i8, ptr %51, i64 %52
%54 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0
%55 = call i32 @strcpy(ptr noundef %53, ptr noundef %54)
%56 = load i32, ptr %9, align 4
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %59
58: ; preds = %49
br label %64
59: ; preds = %49
%60 = load i64, ptr %10, align 8
store i64 %60, ptr %7, align 8
%61 = load ptr, ptr %3, align 8
%62 = call ptr @get_line(ptr noundef %61, ptr noundef %12, i32 noundef 512)
%63 = icmp ne ptr %62, null
br i1 %63, label %15, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %59
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %64
64: ; preds = %.loopexit, %58, %41
%65 = load ptr, ptr %6, align 8
%66 = icmp eq ptr %65, null
br i1 %66, label %67, label %70
67: ; preds = %64
%68 = load ptr, ptr %4, align 8
%69 = call i32 @free(ptr noundef %68)
store ptr null, ptr %4, align 8
br label %70
70: ; preds = %67, %64
%71 = load ptr, ptr %4, align 8
ret ptr %71
}
declare ptr @get_line(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc44g2qwm.c'
source_filename = "/tmp/tmpc44g2qwm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @leastInterval(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [26 x i32], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 104, i1 false)
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %13
13: ; preds = %70, %3
%14 = load i32, ptr %10, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %73
17: ; preds = %13
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %10, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = sub nsw i32 %23, 65
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [26 x i32], ptr %7, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %26, align 4
%29 = load i32, ptr %8, align 4
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %10, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = sub nsw i32 %35, 65
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [26 x i32], ptr %7, i64 0, i64 %37
%39 = load i32, ptr %38, align 4
%40 = icmp eq i32 %29, %39
br i1 %40, label %41, label %44
41: ; preds = %17
%42 = load i32, ptr %9, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %9, align 4
br label %69
44: ; preds = %17
%45 = load i32, ptr %8, align 4
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr %10, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = sub nsw i32 %51, 65
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [26 x i32], ptr %7, i64 0, i64 %53
%55 = load i32, ptr %54, align 4
%56 = icmp slt i32 %45, %55
br i1 %56, label %57, label %68
57: ; preds = %44
%58 = load ptr, ptr %4, align 8
%59 = load i32, ptr %10, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = sub nsw i32 %63, 65
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [26 x i32], ptr %7, i64 0, i64 %65
%67 = load i32, ptr %66, align 4
store i32 %67, ptr %8, align 4
store i32 1, ptr %9, align 4
br label %68
68: ; preds = %57, %44
br label %69
69: ; preds = %68, %41
br label %70
70: ; preds = %69
%71 = load i32, ptr %10, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %10, align 4
br label %13, !llvm.loop !6
73: ; preds = %13
%74 = load i32, ptr %8, align 4
%75 = sub nsw i32 %74, 1
%76 = load i32, ptr %6, align 4
%77 = load i32, ptr %9, align 4
%78 = sub nsw i32 %76, %77
%79 = add nsw i32 %78, 1
%80 = mul nsw i32 %75, %79
store i32 %80, ptr %11, align 4
%81 = load i32, ptr %5, align 4
%82 = load i32, ptr %8, align 4
%83 = load i32, ptr %9, align 4
%84 = mul nsw i32 %82, %83
%85 = sub nsw i32 %81, %84
store i32 %85, ptr %12, align 4
%86 = load i32, ptr %5, align 4
%87 = load i32, ptr %11, align 4
%88 = load i32, ptr %12, align 4
%89 = sub nsw i32 %87, %88
%90 = call i32 @max(i32 noundef 0, i32 noundef %89)
%91 = add nsw i32 %86, %90
ret i32 %91
}
; 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 @max(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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc44g2qwm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @leastInterval(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [26 x i32], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 104, i1 false)
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%13 = load i32, ptr %10, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %75
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %69
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %10, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = sub nsw i32 %22, 65
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [26 x i32], ptr %7, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %25, align 4
%28 = load i32, ptr %8, align 4
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %10, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = sub nsw i32 %34, 65
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [26 x i32], ptr %7, i64 0, i64 %36
%38 = load i32, ptr %37, align 4
%39 = icmp eq i32 %28, %38
br i1 %39, label %40, label %43
40: ; preds = %16
%41 = load i32, ptr %9, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %9, align 4
br label %68
43: ; preds = %16
%44 = load i32, ptr %8, align 4
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %10, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = sub nsw i32 %50, 65
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [26 x i32], ptr %7, i64 0, i64 %52
%54 = load i32, ptr %53, align 4
%55 = icmp slt i32 %44, %54
br i1 %55, label %56, label %67
56: ; preds = %43
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %10, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = sub nsw i32 %62, 65
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [26 x i32], ptr %7, i64 0, i64 %64
%66 = load i32, ptr %65, align 4
store i32 %66, ptr %8, align 4
store i32 1, ptr %9, align 4
br label %67
67: ; preds = %56, %43
br label %68
68: ; preds = %67, %40
br label %69
69: ; preds = %68
%70 = load i32, ptr %10, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %10, align 4
%72 = load i32, ptr %10, align 4
%73 = load i32, ptr %5, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %69
br label %75
75: ; preds = %._crit_edge, %3
%76 = load i32, ptr %8, align 4
%77 = sub nsw i32 %76, 1
%78 = load i32, ptr %6, align 4
%79 = load i32, ptr %9, align 4
%80 = sub nsw i32 %78, %79
%81 = add nsw i32 %80, 1
%82 = mul nsw i32 %77, %81
store i32 %82, ptr %11, align 4
%83 = load i32, ptr %5, align 4
%84 = load i32, ptr %8, align 4
%85 = load i32, ptr %9, align 4
%86 = mul nsw i32 %84, %85
%87 = sub nsw i32 %83, %86
store i32 %87, ptr %12, align 4
%88 = load i32, ptr %5, align 4
%89 = load i32, ptr %11, align 4
%90 = load i32, ptr %12, align 4
%91 = sub nsw i32 %89, %90
%92 = call i32 @max(i32 noundef 0, i32 noundef %91)
%93 = add nsw i32 %88, %92
ret i32 %93
}
; 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 @max(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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0viyc42r.c'
source_filename = "/tmp/tmp0viyc42r.c"
target datalayout = "e-m:e-p270: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/tmp0viyc42r.c"
target datalayout = "e-m:e-p270: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/tmpnpaaohic.c'
source_filename = "/tmp/tmpnpaaohic.c"
target datalayout = "e-m:e-p270: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/tmpnpaaohic.c"
target datalayout = "e-m:e-p270: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/tmpkb23a6ji.c'
source_filename = "/tmp/tmpkb23a6ji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcm2nums(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = mul nsw i32 %5, %6
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @gcd2nums(i32 noundef %8, i32 noundef %9)
%11 = sdiv i32 %7, %10
ret i32 %11
}
declare i32 @gcd2nums(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/tmpkb23a6ji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcm2nums(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = mul nsw i32 %5, %6
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @gcd2nums(i32 noundef %8, i32 noundef %9)
%11 = sdiv i32 %7, %10
ret i32 %11
}
declare i32 @gcd2nums(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/tmpunj2f2yf.c'
source_filename = "/tmp/tmpunj2f2yf.c"
target datalayout = "e-m:e-p270: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 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"usage: %s IN_FILE OUT_FILE\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"unable to open input file for reading\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"unable to retrieve information\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"not a regular file: %s\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@MAP_PRIVATE = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.4 = private unnamed_addr constant [15 x i8] c"unable to mmap\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_EXCL = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [39 x i8] c"unable to open output file for writing\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"error while writing\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.stat, align 4
%9 = alloca i32, align 4
%10 = 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
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 3
br i1 %12, label %13, label %20
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17)
%19 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %19, ptr %3, align 4
br label %98
20: ; preds = %2
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr @O_RDONLY, align 4
%25 = call i32 (ptr, i32, ...) @open(ptr noundef %23, i32 noundef %24)
store i32 %25, ptr %6, align 4
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %30
27: ; preds = %20
%28 = call i32 @perror(ptr noundef @.str.1)
%29 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %29, ptr %3, align 4
br label %98
30: ; preds = %20
%31 = load i32, ptr %6, align 4
%32 = call i32 @fstat(i32 noundef %31, ptr noundef %8)
%33 = icmp eq i32 %32, -1
br i1 %33, label %34, label %37
34: ; preds = %30
%35 = call i32 @perror(ptr noundef @.str.2)
%36 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %36, ptr %3, align 4
br label %98
37: ; preds = %30
%38 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%39 = load i32, ptr %38, align 4
%40 = call i32 @S_ISREG(i32 noundef %39)
%41 = icmp ne i32 %40, 0
br i1 %41, label %49, label %42
42: ; preds = %37
%43 = load i32, ptr @stderr, align 4
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 1
%46 = load ptr, ptr %45, align 8
%47 = call i32 @fprintf(i32 noundef %43, ptr noundef @.str.3, ptr noundef %46)
%48 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %48, ptr %3, align 4
br label %98
49: ; preds = %37
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr @SEEK_END, align 4
%52 = call i32 @lseek(i32 noundef %50, i32 noundef 0, i32 noundef %51)
store i32 %52, ptr %9, align 4
%53 = load i32, ptr %6, align 4
%54 = load i32, ptr @SEEK_SET, align 4
%55 = call i32 @lseek(i32 noundef %53, i32 noundef 0, i32 noundef %54)
%56 = load i32, ptr %9, align 4
%57 = load i32, ptr @PROT_READ, align 4
%58 = load i32, ptr @MAP_PRIVATE, align 4
%59 = load i32, ptr %6, align 4
%60 = call ptr @mmap(ptr noundef null, i32 noundef %56, i32 noundef %57, i32 noundef %58, i32 noundef %59, i32 noundef 0)
store ptr %60, ptr %10, align 8
%61 = load ptr, ptr @MAP_FAILED, align 8
%62 = icmp eq ptr %60, %61
br i1 %62, label %63, label %66
63: ; preds = %49
%64 = call i32 @perror(ptr noundef @.str.4)
%65 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %65, ptr %3, align 4
br label %98
66: ; preds = %49
%67 = load ptr, ptr %5, align 8
%68 = getelementptr inbounds ptr, ptr %67, i64 2
%69 = load ptr, ptr %68, align 8
%70 = load i32, ptr @O_WRONLY, align 4
%71 = load i32, ptr @O_CREAT, align 4
%72 = or i32 %70, %71
%73 = load i32, ptr @O_EXCL, align 4
%74 = or i32 %72, %73
%75 = call i32 (ptr, i32, ...) @open(ptr noundef %69, i32 noundef %74, i32 noundef 420)
store i32 %75, ptr %7, align 4
%76 = icmp eq i32 %75, -1
br i1 %76, label %77, label %80
77: ; preds = %66
%78 = call i32 @perror(ptr noundef @.str.5)
%79 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %79, ptr %3, align 4
br label %98
80: ; preds = %66
%81 = load i32, ptr %7, align 4
%82 = load ptr, ptr %10, align 8
%83 = load i32, ptr %9, align 4
%84 = call i32 @write(i32 noundef %81, ptr noundef %82, i32 noundef %83)
%85 = icmp eq i32 %84, -1
br i1 %85, label %86, label %89
86: ; preds = %80
%87 = call i32 @perror(ptr noundef @.str.6)
%88 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %88, ptr %3, align 4
br label %98
89: ; preds = %80
%90 = load ptr, ptr %10, align 8
%91 = load i32, ptr %9, align 4
%92 = call i32 @munmap(ptr noundef %90, i32 noundef %91)
%93 = load i32, ptr %6, align 4
%94 = call i32 @close(i32 noundef %93)
%95 = load i32, ptr %7, align 4
%96 = call i32 @close(i32 noundef %95)
%97 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %97, ptr %3, align 4
br label %98
98: ; preds = %89, %86, %77, %63, %42, %34, %27, %13
%99 = load i32, ptr %3, align 4
ret i32 %99
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, ...) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare i32 @S_ISREG(i32 noundef) #1
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @munmap(ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpunj2f2yf.c"
target datalayout = "e-m:e-p270: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 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"usage: %s IN_FILE OUT_FILE\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"unable to open input file for reading\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"unable to retrieve information\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"not a regular file: %s\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@MAP_PRIVATE = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.4 = private unnamed_addr constant [15 x i8] c"unable to mmap\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_EXCL = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [39 x i8] c"unable to open output file for writing\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"error while writing\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.stat, align 4
%9 = alloca i32, align 4
%10 = 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
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 3
br i1 %12, label %13, label %20
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17)
%19 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %19, ptr %3, align 4
br label %98
20: ; preds = %2
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr @O_RDONLY, align 4
%25 = call i32 (ptr, i32, ...) @open(ptr noundef %23, i32 noundef %24)
store i32 %25, ptr %6, align 4
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %30
27: ; preds = %20
%28 = call i32 @perror(ptr noundef @.str.1)
%29 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %29, ptr %3, align 4
br label %98
30: ; preds = %20
%31 = load i32, ptr %6, align 4
%32 = call i32 @fstat(i32 noundef %31, ptr noundef %8)
%33 = icmp eq i32 %32, -1
br i1 %33, label %34, label %37
34: ; preds = %30
%35 = call i32 @perror(ptr noundef @.str.2)
%36 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %36, ptr %3, align 4
br label %98
37: ; preds = %30
%38 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%39 = load i32, ptr %38, align 4
%40 = call i32 @S_ISREG(i32 noundef %39)
%41 = icmp ne i32 %40, 0
br i1 %41, label %49, label %42
42: ; preds = %37
%43 = load i32, ptr @stderr, align 4
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 1
%46 = load ptr, ptr %45, align 8
%47 = call i32 @fprintf(i32 noundef %43, ptr noundef @.str.3, ptr noundef %46)
%48 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %48, ptr %3, align 4
br label %98
49: ; preds = %37
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr @SEEK_END, align 4
%52 = call i32 @lseek(i32 noundef %50, i32 noundef 0, i32 noundef %51)
store i32 %52, ptr %9, align 4
%53 = load i32, ptr %6, align 4
%54 = load i32, ptr @SEEK_SET, align 4
%55 = call i32 @lseek(i32 noundef %53, i32 noundef 0, i32 noundef %54)
%56 = load i32, ptr %9, align 4
%57 = load i32, ptr @PROT_READ, align 4
%58 = load i32, ptr @MAP_PRIVATE, align 4
%59 = load i32, ptr %6, align 4
%60 = call ptr @mmap(ptr noundef null, i32 noundef %56, i32 noundef %57, i32 noundef %58, i32 noundef %59, i32 noundef 0)
store ptr %60, ptr %10, align 8
%61 = load ptr, ptr @MAP_FAILED, align 8
%62 = icmp eq ptr %60, %61
br i1 %62, label %63, label %66
63: ; preds = %49
%64 = call i32 @perror(ptr noundef @.str.4)
%65 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %65, ptr %3, align 4
br label %98
66: ; preds = %49
%67 = load ptr, ptr %5, align 8
%68 = getelementptr inbounds ptr, ptr %67, i64 2
%69 = load ptr, ptr %68, align 8
%70 = load i32, ptr @O_WRONLY, align 4
%71 = load i32, ptr @O_CREAT, align 4
%72 = or i32 %70, %71
%73 = load i32, ptr @O_EXCL, align 4
%74 = or i32 %72, %73
%75 = call i32 (ptr, i32, ...) @open(ptr noundef %69, i32 noundef %74, i32 noundef 420)
store i32 %75, ptr %7, align 4
%76 = icmp eq i32 %75, -1
br i1 %76, label %77, label %80
77: ; preds = %66
%78 = call i32 @perror(ptr noundef @.str.5)
%79 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %79, ptr %3, align 4
br label %98
80: ; preds = %66
%81 = load i32, ptr %7, align 4
%82 = load ptr, ptr %10, align 8
%83 = load i32, ptr %9, align 4
%84 = call i32 @write(i32 noundef %81, ptr noundef %82, i32 noundef %83)
%85 = icmp eq i32 %84, -1
br i1 %85, label %86, label %89
86: ; preds = %80
%87 = call i32 @perror(ptr noundef @.str.6)
%88 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %88, ptr %3, align 4
br label %98
89: ; preds = %80
%90 = load ptr, ptr %10, align 8
%91 = load i32, ptr %9, align 4
%92 = call i32 @munmap(ptr noundef %90, i32 noundef %91)
%93 = load i32, ptr %6, align 4
%94 = call i32 @close(i32 noundef %93)
%95 = load i32, ptr %7, align 4
%96 = call i32 @close(i32 noundef %95)
%97 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %97, ptr %3, align 4
br label %98
98: ; preds = %89, %86, %77, %63, %42, %34, %27, %13
%99 = load i32, ptr %3, align 4
ret i32 %99
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, ...) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare i32 @S_ISREG(i32 noundef) #1
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @munmap(ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo81pjapo.c'
source_filename = "/tmp/tmpo81pjapo.c"
target datalayout = "e-m:e-p270: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/tmpo81pjapo.c"
target datalayout = "e-m:e-p270: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/tmpleqz2w47.c'
source_filename = "/tmp/tmpleqz2w47.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"adss\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Bad Fork!\00", align 1
@STDIN_FILENO = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [7 x i8] c"python\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"meu_script.py\00", align 1
@__const.main.argv = private unnamed_addr constant [3 x ptr] [ptr @.str.2, ptr @.str.3, ptr null], align 16
@.str.4 = private unnamed_addr constant [9 x i8] c"Bad Exec\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.7 = private unnamed_addr constant [26 x i8] c"Minha terra tem palmeiras\00", align 1
@.str.8 = private unnamed_addr constant [20 x i8] c"Onde canta o sabi\C3\A1\00", align 1
@.str.9 = private unnamed_addr constant [7 x i8] c"<3 SOs\00", align 1
@.str.10 = private unnamed_addr constant [30 x i8] c"Filho terminou com status %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [2 x i32], align 4
%5 = alloca [3 x ptr], align 16
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%8 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%9 = call i32 @pipe(ptr noundef %8)
%10 = call i32 (...) @fork()
store i32 %10, ptr %3, align 4
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %15
12: ; preds = %0
%13 = call i32 @perror(ptr noundef @.str.1)
%14 = call i32 @exit(i32 noundef 1) #4
unreachable
15: ; preds = %0
%16 = load i32, ptr %3, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %36
18: ; preds = %15
%19 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%20 = load i32, ptr %19, align 4
%21 = load i32, ptr @STDIN_FILENO, align 4
%22 = call i32 @dup2(i32 noundef %20, i32 noundef %21)
%23 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1
%24 = load i32, ptr %23, align 4
%25 = call i32 @close(i32 noundef %24)
%26 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%27 = load i32, ptr %26, align 4
%28 = call i32 @close(i32 noundef %27)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.argv, i64 24, i1 false)
%29 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 0
%30 = call i64 @execvp(ptr noundef @.str.2, ptr noundef %29)
%31 = icmp slt i64 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %18
%33 = call i32 @perror(ptr noundef @.str.4)
%34 = call i32 @exit(i32 noundef 1) #4
unreachable
35: ; preds = %18
br label %58
36: ; preds = %15
%37 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%38 = load i32, ptr %37, align 4
%39 = call i32 @close(i32 noundef %38)
%40 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1
%41 = load i32, ptr %40, align 4
%42 = call ptr @fdopen(i32 noundef %41, ptr noundef @.str.5)
store ptr %42, ptr %6, align 8
%43 = load ptr, ptr %6, align 8
%44 = call i32 @fprintf(ptr noundef %43, ptr noundef @.str.6, ptr noundef @.str.7)
%45 = load ptr, ptr %6, align 8
%46 = call i32 @fprintf(ptr noundef %45, ptr noundef @.str.6, ptr noundef @.str.8)
%47 = load ptr, ptr %6, align 8
%48 = call i32 @fprintf(ptr noundef %47, ptr noundef @.str.6, ptr noundef @.str.9)
%49 = load ptr, ptr %6, align 8
%50 = call i32 @fclose(ptr noundef %49)
%51 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1
%52 = load i32, ptr %51, align 4
%53 = call i32 @close(i32 noundef %52)
%54 = load i32, ptr %3, align 4
%55 = call i32 @waitpid(i32 noundef %54, ptr noundef %7, i32 noundef 0)
%56 = load i32, ptr %7, align 4
%57 = call i32 @printf(ptr noundef @.str.10, i32 noundef %56)
br label %58
58: ; preds = %36, %35
%59 = load i32, ptr %1, align 4
ret i32 %59
}
declare i32 @pipe(ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
; 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) #3
declare i64 @execvp(ptr noundef, ptr noundef) #1
declare ptr @fdopen(i32 noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpleqz2w47.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"adss\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Bad Fork!\00", align 1
@STDIN_FILENO = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [7 x i8] c"python\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"meu_script.py\00", align 1
@__const.main.argv = private unnamed_addr constant [3 x ptr] [ptr @.str.2, ptr @.str.3, ptr null], align 16
@.str.4 = private unnamed_addr constant [9 x i8] c"Bad Exec\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.7 = private unnamed_addr constant [26 x i8] c"Minha terra tem palmeiras\00", align 1
@.str.8 = private unnamed_addr constant [20 x i8] c"Onde canta o sabi\C3\A1\00", align 1
@.str.9 = private unnamed_addr constant [7 x i8] c"<3 SOs\00", align 1
@.str.10 = private unnamed_addr constant [30 x i8] c"Filho terminou com status %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [2 x i32], align 4
%5 = alloca [3 x ptr], align 16
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%8 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%9 = call i32 @pipe(ptr noundef %8)
%10 = call i32 (...) @fork()
store i32 %10, ptr %3, align 4
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %15
12: ; preds = %0
%13 = call i32 @perror(ptr noundef @.str.1)
%14 = call i32 @exit(i32 noundef 1) #4
unreachable
15: ; preds = %0
%16 = load i32, ptr %3, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %36
18: ; preds = %15
%19 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%20 = load i32, ptr %19, align 4
%21 = load i32, ptr @STDIN_FILENO, align 4
%22 = call i32 @dup2(i32 noundef %20, i32 noundef %21)
%23 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1
%24 = load i32, ptr %23, align 4
%25 = call i32 @close(i32 noundef %24)
%26 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%27 = load i32, ptr %26, align 4
%28 = call i32 @close(i32 noundef %27)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.argv, i64 24, i1 false)
%29 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 0
%30 = call i64 @execvp(ptr noundef @.str.2, ptr noundef %29)
%31 = icmp slt i64 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %18
%33 = call i32 @perror(ptr noundef @.str.4)
%34 = call i32 @exit(i32 noundef 1) #4
unreachable
35: ; preds = %18
br label %58
36: ; preds = %15
%37 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%38 = load i32, ptr %37, align 4
%39 = call i32 @close(i32 noundef %38)
%40 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1
%41 = load i32, ptr %40, align 4
%42 = call ptr @fdopen(i32 noundef %41, ptr noundef @.str.5)
store ptr %42, ptr %6, align 8
%43 = load ptr, ptr %6, align 8
%44 = call i32 @fprintf(ptr noundef %43, ptr noundef @.str.6, ptr noundef @.str.7)
%45 = load ptr, ptr %6, align 8
%46 = call i32 @fprintf(ptr noundef %45, ptr noundef @.str.6, ptr noundef @.str.8)
%47 = load ptr, ptr %6, align 8
%48 = call i32 @fprintf(ptr noundef %47, ptr noundef @.str.6, ptr noundef @.str.9)
%49 = load ptr, ptr %6, align 8
%50 = call i32 @fclose(ptr noundef %49)
%51 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1
%52 = load i32, ptr %51, align 4
%53 = call i32 @close(i32 noundef %52)
%54 = load i32, ptr %3, align 4
%55 = call i32 @waitpid(i32 noundef %54, ptr noundef %7, i32 noundef 0)
%56 = load i32, ptr %7, align 4
%57 = call i32 @printf(ptr noundef @.str.10, i32 noundef %56)
br label %58
58: ; preds = %36, %35
%59 = load i32, ptr %1, align 4
ret i32 %59
}
declare i32 @pipe(ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
; 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) #3
declare i64 @execvp(ptr noundef, ptr noundef) #1
declare ptr @fdopen(i32 noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe2pxz5gr.c'
source_filename = "/tmp/tmpe2pxz5gr.c"
target datalayout = "e-m:e-p270: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/tmpe2pxz5gr.c"
target datalayout = "e-m:e-p270: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/tmpn6rnj34p.c'
source_filename = "/tmp/tmpn6rnj34p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [101 x i8] c"qjhztuoyfrxnpzmvxadzqgcmbteytrbzhchsmrtrwppfaxzblxanohjdgwghnlgzfbrdcsgadtisyvopvcbhuxkcbxhejfpxmgzl\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"sz: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strangePrinter(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6)
ret i32 0
}
declare i32 @strangePrinter(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn6rnj34p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [101 x i8] c"qjhztuoyfrxnpzmvxadzqgcmbteytrbzhchsmrtrwppfaxzblxanohjdgwghnlgzfbrdcsgadtisyvopvcbhuxkcbxhejfpxmgzl\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"sz: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strangePrinter(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6)
ret i32 0
}
declare i32 @strangePrinter(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"}
|
; ModuleID = '/tmp/tmp339z8odu.c'
source_filename = "/tmp/tmp339z8odu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"DirExists\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @wBasDirExists() #0 {
%1 = call i32 @wNotYet(ptr noundef @.str)
%2 = call i32 @wPushNumber(i32 noundef 0)
ret void
}
declare i32 @wNotYet(ptr noundef) #1
declare i32 @wPushNumber(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/tmp339z8odu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"DirExists\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @wBasDirExists() #0 {
%1 = call i32 @wNotYet(ptr noundef @.str)
%2 = call i32 @wPushNumber(i32 noundef 0)
ret void
}
declare i32 @wNotYet(ptr noundef) #1
declare i32 @wPushNumber(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/tmpmxllckba.c'
source_filename = "/tmp/tmpmxllckba.c"
target datalayout = "e-m:e-p270: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/tmpmxllckba.c"
target datalayout = "e-m:e-p270: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/tmp8hg238m2.c'
source_filename = "/tmp/tmp8hg238m2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d_cosh(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load double, ptr %3, align 8
%5 = call double @cosh(double noundef %4) #2
ret double %5
}
; Function Attrs: nounwind
declare double @cosh(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8hg238m2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d_cosh(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load double, ptr %3, align 8
%5 = call double @cosh(double noundef %4) #2
ret double %5
}
; Function Attrs: nounwind
declare double @cosh(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpii2jxpka.c'
source_filename = "/tmp/tmpii2jxpka.c"
target datalayout = "e-m:e-p270: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/tmpii2jxpka.c"
target datalayout = "e-m:e-p270: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/tmpqksb0yo7.c'
source_filename = "/tmp/tmpqksb0yo7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ParseFilename(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = sub nsw i32 %13, 1
store i32 %14, ptr %8, align 4
br label %15
15: ; preds = %28, %3
%16 = load i32, ptr %8, align 4
%17 = icmp sge i32 %16, 0
br i1 %17, label %18, label %31
18: ; preds = %15
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %8, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 47
br i1 %25, label %26, label %27
26: ; preds = %18
br label %31
27: ; preds = %18
br label %28
28: ; preds = %27
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, -1
store i32 %30, ptr %8, align 4
br label %15, !llvm.loop !6
31: ; preds = %26, %15
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %9, align 4
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %9, align 4
%36 = sub nsw i32 %34, %35
store i32 %36, ptr %10, align 4
%37 = load ptr, ptr %6, align 8
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %9, align 4
%40 = call i32 @strncpy(ptr noundef %37, ptr noundef %38, i32 noundef %39)
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %9, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
store i8 0, ptr %44, align 1
%45 = load ptr, ptr %5, align 8
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
%50 = load i32, ptr %10, align 4
%51 = call i32 @strncpy(ptr noundef %45, ptr noundef %49, i32 noundef %50)
%52 = load ptr, ptr %5, align 8
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
store i8 0, ptr %55, align 1
%56 = load ptr, ptr %6, align 8
%57 = call i32 @normalizePathname(ptr noundef %56)
ret i32 %57
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @normalizePathname(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpqksb0yo7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ParseFilename(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = sub nsw i32 %13, 1
store i32 %14, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp sge i32 %15, 0
br i1 %16, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %17
17: ; preds = %.lr.ph, %27
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %8, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 47
br i1 %24, label %25, label %26
25: ; preds = %17
br label %32
26: ; preds = %17
br label %27
27: ; preds = %26
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = icmp sge i32 %30, 0
br i1 %31, label %17, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %27
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %32
32: ; preds = %.loopexit, %25
%33 = load i32, ptr %8, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %9, align 4
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %9, align 4
%37 = sub nsw i32 %35, %36
store i32 %37, ptr %10, align 4
%38 = load ptr, ptr %6, align 8
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %9, align 4
%41 = call i32 @strncpy(ptr noundef %38, ptr noundef %39, i32 noundef %40)
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
store i8 0, ptr %45, align 1
%46 = load ptr, ptr %5, align 8
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %9, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i32, ptr %10, align 4
%52 = call i32 @strncpy(ptr noundef %46, ptr noundef %50, i32 noundef %51)
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %10, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
store i8 0, ptr %56, align 1
%57 = load ptr, ptr %6, align 8
%58 = call i32 @normalizePathname(ptr noundef %57)
ret i32 %58
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @normalizePathname(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp907uk_22.c'
source_filename = "/tmp/tmp907uk_22.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @convert_int16_to_double(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %22, %3
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %25
12: ; preds = %8
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds double, ptr %13, i64 %15
%17 = load double, ptr %16, align 8
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds double, ptr %18, i64 %20
store double %17, ptr %21, align 8
br label %22
22: ; preds = %12
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
br label %8, !llvm.loop !6
25: ; preds = %8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp907uk_22.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @convert_int16_to_double(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %27
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %21
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %7, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds double, ptr %12, i64 %14
%16 = load double, ptr %15, align 8
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds double, ptr %17, i64 %19
store double %16, ptr %20, align 8
br label %21
21: ; preds = %11
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %3
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpu9tviojg.c'
source_filename = "/tmp/tmpu9tviojg.c"
target datalayout = "e-m:e-p270: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/tmpu9tviojg.c"
target datalayout = "e-m:e-p270: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/tmpu838i1v9.c'
source_filename = "/tmp/tmpu838i1v9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @copymem(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%8 = call i32 (...) @getLocationOfCurrent()
%9 = add nsw i32 %8, 16
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %4, align 8
%13 = alloca i8, i64 %11, align 16
store i64 %11, ptr %5, align 8
%14 = load ptr, ptr %2, align 8
%15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str)
store ptr %15, ptr %6, align 8
%16 = load i32, ptr %3, align 4
%17 = call i32 @dread(ptr noundef %13, i32 noundef 0, i32 noundef %16)
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = load ptr, ptr %6, align 8
%20 = call i32 @fwrite(ptr noundef %13, i32 noundef %18, i32 noundef 1, ptr noundef %19)
%21 = load ptr, ptr %6, align 8
%22 = call i32 @fclose(ptr noundef %21)
%23 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %23)
ret void
}
declare i32 @getLocationOfCurrent(...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @dread(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu838i1v9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @copymem(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%8 = call i32 (...) @getLocationOfCurrent()
%9 = add nsw i32 %8, 16
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %4, align 8
%13 = alloca i8, i64 %11, align 16
store i64 %11, ptr %5, align 8
%14 = load ptr, ptr %2, align 8
%15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str)
store ptr %15, ptr %6, align 8
%16 = load i32, ptr %3, align 4
%17 = call i32 @dread(ptr noundef %13, i32 noundef 0, i32 noundef %16)
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = load ptr, ptr %6, align 8
%20 = call i32 @fwrite(ptr noundef %13, i32 noundef %18, i32 noundef 1, ptr noundef %19)
%21 = load ptr, ptr %6, align 8
%22 = call i32 @fclose(ptr noundef %21)
%23 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %23)
ret void
}
declare i32 @getLocationOfCurrent(...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @dread(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy_r43z__.c'
source_filename = "/tmp/tmpy_r43z__.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @setnoblock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @F_GETFL, align 4
%6 = call i32 @fcntl(i32 noundef %4, i32 noundef %5, i32 noundef 0)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr @O_NONBLOCK, align 4
%8 = load i32, ptr %3, align 4
%9 = or i32 %8, %7
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr @F_SETFL, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 @fcntl(i32 noundef %10, i32 noundef %11, i32 noundef %12)
ret i32 %13
}
declare i32 @fcntl(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/tmpy_r43z__.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @setnoblock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @F_GETFL, align 4
%6 = call i32 @fcntl(i32 noundef %4, i32 noundef %5, i32 noundef 0)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr @O_NONBLOCK, align 4
%8 = load i32, ptr %3, align 4
%9 = or i32 %8, %7
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr @F_SETFL, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 @fcntl(i32 noundef %10, i32 noundef %11, i32 noundef %12)
ret i32 %13
}
declare i32 @fcntl(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/tmpznl6z6tx.c'
source_filename = "/tmp/tmpznl6z6tx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"looping %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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %6, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 10
br i1 %5, label %6, label %11
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %2, align 4
br label %3, !llvm.loop !6
11: ; preds = %3
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpznl6z6tx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"looping %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
store i32 0, ptr %1, 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 %12
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %5
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 10
br i1 %11, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %5
br label %12
12: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmppvvk3we_.c'
source_filename = "/tmp/tmppvvk3we_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@cdfgam.K1 = internal global i32 1, align 4
@cdfgam.K5 = internal global double 5.000000e-01, align 8
@cdfgam.K6 = internal global double 5.000000e+00, align 8
@cdfgam.xx = internal global double 0.000000e+00, align 8
@cdfgam.fx = internal global double 0.000000e+00, align 8
@cdfgam.xscale = internal global double 0.000000e+00, align 8
@cdfgam.cum = internal global double 0.000000e+00, align 8
@cdfgam.ccum = internal global double 0.000000e+00, align 8
@cdfgam.pq = internal global double 0.000000e+00, align 8
@cdfgam.porq = internal global double 0.000000e+00, align 8
@cdfgam.ierr = internal global i32 0, align 4
@cdfgam.qhi = internal global i64 0, align 8
@cdfgam.qleft = internal global i64 0, align 8
@cdfgam.qporq = internal global i64 0, align 8
@cdfgam.T2 = internal global double 0.000000e+00, align 8
@cdfgam.T3 = internal global double 0.000000e+00, align 8
@cdfgam.T4 = internal global double 0.000000e+00, align 8
@cdfgam.T7 = internal global double 0.000000e+00, align 8
@cdfgam.T8 = internal global double 0.000000e+00, align 8
@cdfgam.T9 = internal global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cdfgam(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store ptr %6, ptr %15, align 8
store ptr %7, ptr %16, align 8
%17 = load ptr, ptr %9, align 8
%18 = load i32, ptr %17, align 4
%19 = icmp slt i32 %18, 1
br i1 %19, label %25, label %20
20: ; preds = %8
%21 = load ptr, ptr %9, align 8
%22 = load i32, ptr %21, align 4
%23 = icmp sgt i32 %22, 4
br i1 %23, label %25, label %24
24: ; preds = %20
br label %36
25: ; preds = %20, %8
%26 = load ptr, ptr %9, align 8
%27 = load i32, ptr %26, align 4
%28 = icmp slt i32 %27, 1
br i1 %28, label %30, label %29
29: ; preds = %25
br label %32
30: ; preds = %25
%31 = load ptr, ptr %16, align 8
store double 1.000000e+00, ptr %31, align 8
br label %34
32: ; preds = %29
%33 = load ptr, ptr %16, align 8
store double 4.000000e+00, ptr %33, align 8
br label %34
34: ; preds = %32, %30
%35 = load ptr, ptr %15, align 8
store i32 -1, ptr %35, align 4
br label %324
36: ; preds = %24
%37 = load ptr, ptr %9, align 8
%38 = load i32, ptr %37, align 4
%39 = icmp eq i32 %38, 1
br i1 %39, label %40, label %41
40: ; preds = %36
br label %61
41: ; preds = %36
%42 = load ptr, ptr %10, align 8
%43 = load double, ptr %42, align 8
%44 = fcmp olt double %43, 0.000000e+00
br i1 %44, label %50, label %45
45: ; preds = %41
%46 = load ptr, ptr %10, align 8
%47 = load double, ptr %46, align 8
%48 = fcmp ogt double %47, 1.000000e+00
br i1 %48, label %50, label %49
49: ; preds = %45
br label %62
50: ; preds = %45, %41
%51 = load ptr, ptr %10, align 8
%52 = load double, ptr %51, align 8
%53 = fcmp olt double %52, 0.000000e+00
br i1 %53, label %55, label %54
54: ; preds = %50
br label %57
55: ; preds = %50
%56 = load ptr, ptr %16, align 8
store double 0.000000e+00, ptr %56, align 8
br label %59
57: ; preds = %54
%58 = load ptr, ptr %16, align 8
store double 1.000000e+00, ptr %58, align 8
br label %59
59: ; preds = %57, %55
%60 = load ptr, ptr %15, align 8
store i32 -2, ptr %60, align 4
br label %324
61: ; preds = %40
br label %62
62: ; preds = %61, %49
%63 = load ptr, ptr %9, align 8
%64 = load i32, ptr %63, align 4
%65 = icmp eq i32 %64, 1
br i1 %65, label %66, label %67
66: ; preds = %62
br label %87
67: ; preds = %62
%68 = load ptr, ptr %11, align 8
%69 = load double, ptr %68, align 8
%70 = fcmp ole double %69, 0.000000e+00
br i1 %70, label %76, label %71
71: ; preds = %67
%72 = load ptr, ptr %11, align 8
%73 = load double, ptr %72, align 8
%74 = fcmp ogt double %73, 1.000000e+00
br i1 %74, label %76, label %75
75: ; preds = %71
br label %88
76: ; preds = %71, %67
%77 = load ptr, ptr %11, align 8
%78 = load double, ptr %77, align 8
%79 = fcmp ole double %78, 0.000000e+00
br i1 %79, label %81, label %80
80: ; preds = %76
br label %83
81: ; preds = %76
%82 = load ptr, ptr %16, align 8
store double 0.000000e+00, ptr %82, align 8
br label %85
83: ; preds = %80
%84 = load ptr, ptr %16, align 8
store double 1.000000e+00, ptr %84, align 8
br label %85
85: ; preds = %83, %81
%86 = load ptr, ptr %15, align 8
store i32 -3, ptr %86, align 4
br label %324
87: ; preds = %66
br label %88
88: ; preds = %87, %75
%89 = load ptr, ptr %9, align 8
%90 = load i32, ptr %89, align 4
%91 = icmp eq i32 %90, 2
br i1 %91, label %92, label %93
92: ; preds = %88
br label %101
93: ; preds = %88
%94 = load ptr, ptr %12, align 8
%95 = load double, ptr %94, align 8
%96 = fcmp olt double %95, 0.000000e+00
br i1 %96, label %98, label %97
97: ; preds = %93
br label %102
98: ; preds = %93
%99 = load ptr, ptr %16, align 8
store double 0.000000e+00, ptr %99, align 8
%100 = load ptr, ptr %15, align 8
store i32 -4, ptr %100, align 4
br label %324
101: ; preds = %92
br label %102
102: ; preds = %101, %97
%103 = load ptr, ptr %9, align 8
%104 = load i32, ptr %103, align 4
%105 = icmp eq i32 %104, 3
br i1 %105, label %106, label %107
106: ; preds = %102
br label %115
107: ; preds = %102
%108 = load ptr, ptr %13, align 8
%109 = load double, ptr %108, align 8
%110 = fcmp ole double %109, 0.000000e+00
br i1 %110, label %112, label %111
111: ; preds = %107
br label %116
112: ; preds = %107
%113 = load ptr, ptr %16, align 8
store double 0.000000e+00, ptr %113, align 8
%114 = load ptr, ptr %15, align 8
store i32 -5, ptr %114, align 4
br label %324
115: ; preds = %106
br label %116
116: ; preds = %115, %111
%117 = load ptr, ptr %9, align 8
%118 = load i32, ptr %117, align 4
%119 = icmp eq i32 %118, 4
br i1 %119, label %120, label %121
120: ; preds = %116
br label %129
121: ; preds = %116
%122 = load ptr, ptr %14, align 8
%123 = load double, ptr %122, align 8
%124 = fcmp ole double %123, 0.000000e+00
br i1 %124, label %126, label %125
125: ; preds = %121
br label %130
126: ; preds = %121
%127 = load ptr, ptr %16, align 8
store double 0.000000e+00, ptr %127, align 8
%128 = load ptr, ptr %15, align 8
store i32 -6, ptr %128, align 4
br label %324
129: ; preds = %120
br label %130
130: ; preds = %129, %125
%131 = load ptr, ptr %9, align 8
%132 = load i32, ptr %131, align 4
%133 = icmp eq i32 %132, 1
br i1 %133, label %134, label %135
134: ; preds = %130
br label %159
135: ; preds = %130
%136 = load ptr, ptr %10, align 8
%137 = load double, ptr %136, align 8
%138 = load ptr, ptr %11, align 8
%139 = load double, ptr %138, align 8
%140 = fadd double %137, %139
store double %140, ptr @cdfgam.pq, align 8
%141 = load double, ptr @cdfgam.pq, align 8
%142 = fsub double %141, 5.000000e-01
%143 = fsub double %142, 5.000000e-01
%144 = call double @llvm.fabs.f64(double %143)
%145 = call double @spmpar(ptr noundef @cdfgam.K1)
%146 = fmul double 3.000000e+00, %145
%147 = fcmp ogt double %144, %146
br i1 %147, label %149, label %148
148: ; preds = %135
br label %160
149: ; preds = %135
%150 = load double, ptr @cdfgam.pq, align 8
%151 = fcmp olt double %150, 0.000000e+00
br i1 %151, label %153, label %152
152: ; preds = %149
br label %155
153: ; preds = %149
%154 = load ptr, ptr %16, align 8
store double 0.000000e+00, ptr %154, align 8
br label %157
155: ; preds = %152
%156 = load ptr, ptr %16, align 8
store double 1.000000e+00, ptr %156, align 8
br label %157
157: ; preds = %155, %153
%158 = load ptr, ptr %15, align 8
store i32 3, ptr %158, align 4
br label %324
159: ; preds = %134
br label %160
160: ; preds = %159, %148
%161 = load ptr, ptr %9, align 8
%162 = load i32, ptr %161, align 4
%163 = icmp eq i32 %162, 1
br i1 %163, label %164, label %165
164: ; preds = %160
br label %182
165: ; preds = %160
%166 = load ptr, ptr %10, align 8
%167 = load double, ptr %166, align 8
%168 = load ptr, ptr %11, align 8
%169 = load double, ptr %168, align 8
%170 = fcmp ole double %167, %169
%171 = zext i1 %170 to i32
%172 = sext i32 %171 to i64
store i64 %172, ptr @cdfgam.qporq, align 8
%173 = load i64, ptr @cdfgam.qporq, align 8
%174 = icmp ne i64 %173, 0
br i1 %174, label %176, label %175
175: ; preds = %165
br label %179
176: ; preds = %165
%177 = load ptr, ptr %10, align 8
%178 = load double, ptr %177, align 8
store double %178, ptr @cdfgam.porq, align 8
br label %183
179: ; preds = %175
%180 = load ptr, ptr %11, align 8
%181 = load double, ptr %180, align 8
store double %181, ptr @cdfgam.porq, align 8
br label %182
182: ; preds = %179, %164
br label %183
183: ; preds = %182, %176
%184 = load ptr, ptr %9, align 8
%185 = load i32, ptr %184, align 4
%186 = icmp eq i32 1, %185
br i1 %186, label %187, label %203
187: ; preds = %183
%188 = load ptr, ptr %15, align 8
store i32 0, ptr %188, align 4
%189 = load ptr, ptr %12, align 8
%190 = load double, ptr %189, align 8
%191 = load ptr, ptr %14, align 8
%192 = load double, ptr %191, align 8
%193 = fmul double %190, %192
store double %193, ptr @cdfgam.xscale, align 8
%194 = load ptr, ptr %13, align 8
%195 = load ptr, ptr %10, align 8
%196 = load ptr, ptr %11, align 8
%197 = call i32 @cumgam(ptr noundef @cdfgam.xscale, ptr noundef %194, ptr noundef %195, ptr noundef %196)
%198 = load double, ptr @cdfgam.porq, align 8
%199 = fcmp ogt double %198, 1.500000e+00
br i1 %199, label %200, label %202
200: ; preds = %187
%201 = load ptr, ptr %15, align 8
store i32 10, ptr %201, align 4
br label %202
202: ; preds = %200, %187
br label %323
203: ; preds = %183
%204 = load ptr, ptr %9, align 8
%205 = load i32, ptr %204, align 4
%206 = icmp eq i32 2, %205
br i1 %206, label %207, label %225
207: ; preds = %203
store double -1.000000e+00, ptr @cdfgam.T2, align 8
%208 = load ptr, ptr %13, align 8
%209 = load ptr, ptr %10, align 8
%210 = load ptr, ptr %11, align 8
%211 = call i32 @gaminv(ptr noundef %208, ptr noundef @cdfgam.xx, ptr noundef @cdfgam.T2, ptr noundef %209, ptr noundef %210, ptr noundef @cdfgam.ierr)
%212 = load i32, ptr @cdfgam.ierr, align 4
%213 = sitofp i32 %212 to double
%214 = fcmp olt double %213, 0.000000e+00
br i1 %214, label %215, label %217
215: ; preds = %207
%216 = load ptr, ptr %15, align 8
store i32 10, ptr %216, align 4
br label %324
217: ; preds = %207
%218 = load double, ptr @cdfgam.xx, align 8
%219 = load ptr, ptr %14, align 8
%220 = load double, ptr %219, align 8
%221 = fdiv double %218, %220
%222 = load ptr, ptr %12, align 8
store double %221, ptr %222, align 8
%223 = load ptr, ptr %15, align 8
store i32 0, ptr %223, align 4
br label %224
224: ; preds = %217
br label %322
225: ; preds = %203
%226 = load ptr, ptr %9, align 8
%227 = load i32, ptr %226, align 4
%228 = icmp eq i32 3, %227
br i1 %228, label %229, label %298
229: ; preds = %225
%230 = load ptr, ptr %13, align 8
store double 5.000000e+00, ptr %230, align 8
%231 = load ptr, ptr %12, align 8
%232 = load double, ptr %231, align 8
%233 = load ptr, ptr %14, align 8
%234 = load double, ptr %233, align 8
%235 = fmul double %232, %234
store double %235, ptr @cdfgam.xscale, align 8
store double 1.000000e-300, ptr @cdfgam.T3, align 8
store double 1.000000e+300, ptr @cdfgam.T4, align 8
store double 1.000000e-50, ptr @cdfgam.T7, align 8
store double 1.000000e-08, ptr @cdfgam.T8, align 8
%236 = call i32 @dstinv(ptr noundef @cdfgam.T3, ptr noundef @cdfgam.T4, ptr noundef @cdfgam.K5, ptr noundef @cdfgam.K5, ptr noundef @cdfgam.K6, ptr noundef @cdfgam.T7, ptr noundef @cdfgam.T8)
%237 = load ptr, ptr %15, align 8
store i32 0, ptr %237, align 4
%238 = load ptr, ptr %15, align 8
%239 = load ptr, ptr %13, align 8
%240 = call i32 @dinvr(ptr noundef %238, ptr noundef %239, ptr noundef @cdfgam.fx, ptr noundef @cdfgam.qleft, ptr noundef @cdfgam.qhi)
br label %241
241: ; preds = %277, %229
%242 = load ptr, ptr %15, align 8
%243 = load i32, ptr %242, align 4
%244 = icmp eq i32 %243, 1
br i1 %244, label %246, label %245
245: ; preds = %241
br label %281
246: ; preds = %241
%247 = load ptr, ptr %13, align 8
%248 = call i32 @cumgam(ptr noundef @cdfgam.xscale, ptr noundef %247, ptr noundef @cdfgam.cum, ptr noundef @cdfgam.ccum)
%249 = load i64, ptr @cdfgam.qporq, align 8
%250 = icmp ne i64 %249, 0
br i1 %250, label %252, label %251
251: ; preds = %246
br label %257
252: ; preds = %246
%253 = load double, ptr @cdfgam.cum, align 8
%254 = load ptr, ptr %10, align 8
%255 = load double, ptr %254, align 8
%256 = fsub double %253, %255
store double %256, ptr @cdfgam.fx, align 8
br label %262
257: ; preds = %251
%258 = load double, ptr @cdfgam.ccum, align 8
%259 = load ptr, ptr %11, align 8
%260 = load double, ptr %259, align 8
%261 = fsub double %258, %260
store double %261, ptr @cdfgam.fx, align 8
br label %262
262: ; preds = %257, %252
%263 = load i64, ptr @cdfgam.qporq, align 8
%264 = icmp ne i64 %263, 0
br i1 %264, label %265, label %268
265: ; preds = %262
%266 = load double, ptr @cdfgam.cum, align 8
%267 = fcmp ogt double %266, 1.500000e+00
br i1 %267, label %275, label %268
268: ; preds = %265, %262
%269 = load i64, ptr @cdfgam.qporq, align 8
%270 = icmp ne i64 %269, 0
br i1 %270, label %274, label %271
271: ; preds = %268
%272 = load double, ptr @cdfgam.ccum, align 8
%273 = fcmp ogt double %272, 1.500000e+00
br i1 %273, label %275, label %274
274: ; preds = %271, %268
br label %277
275: ; preds = %271, %265
%276 = load ptr, ptr %15, align 8
store i32 10, ptr %276, align 4
br label %324
277: ; preds = %274
%278 = load ptr, ptr %15, align 8
%279 = load ptr, ptr %13, align 8
%280 = call i32 @dinvr(ptr noundef %278, ptr noundef %279, ptr noundef @cdfgam.fx, ptr noundef @cdfgam.qleft, ptr noundef @cdfgam.qhi)
br label %241
281: ; preds = %245
%282 = load ptr, ptr %15, align 8
%283 = load i32, ptr %282, align 4
%284 = icmp eq i32 %283, -1
br i1 %284, label %286, label %285
285: ; preds = %281
br label %296
286: ; preds = %281
%287 = load i64, ptr @cdfgam.qleft, align 8
%288 = icmp ne i64 %287, 0
br i1 %288, label %290, label %289
289: ; preds = %286
br label %293
290: ; preds = %286
%291 = load ptr, ptr %15, align 8
store i32 1, ptr %291, align 4
%292 = load ptr, ptr %16, align 8
store double 1.000000e-300, ptr %292, align 8
br label %297
293: ; preds = %289
%294 = load ptr, ptr %15, align 8
store i32 2, ptr %294, align 4
%295 = load ptr, ptr %16, align 8
store double 1.000000e+300, ptr %295, align 8
br label %296
296: ; preds = %293, %285
br label %297
297: ; preds = %296, %290
br label %321
298: ; preds = %225
%299 = load ptr, ptr %9, align 8
%300 = load i32, ptr %299, align 4
%301 = icmp eq i32 4, %300
br i1 %301, label %302, label %320
302: ; preds = %298
store double -1.000000e+00, ptr @cdfgam.T9, align 8
%303 = load ptr, ptr %13, align 8
%304 = load ptr, ptr %10, align 8
%305 = load ptr, ptr %11, align 8
%306 = call i32 @gaminv(ptr noundef %303, ptr noundef @cdfgam.xx, ptr noundef @cdfgam.T9, ptr noundef %304, ptr noundef %305, ptr noundef @cdfgam.ierr)
%307 = load i32, ptr @cdfgam.ierr, align 4
%308 = sitofp i32 %307 to double
%309 = fcmp olt double %308, 0.000000e+00
br i1 %309, label %310, label %312
310: ; preds = %302
%311 = load ptr, ptr %15, align 8
store i32 10, ptr %311, align 4
br label %324
312: ; preds = %302
%313 = load double, ptr @cdfgam.xx, align 8
%314 = load ptr, ptr %12, align 8
%315 = load double, ptr %314, align 8
%316 = fdiv double %313, %315
%317 = load ptr, ptr %14, align 8
store double %316, ptr %317, align 8
%318 = load ptr, ptr %15, align 8
store i32 0, ptr %318, align 4
br label %319
319: ; preds = %312
br label %320
320: ; preds = %319, %298
br label %321
321: ; preds = %320, %297
br label %322
322: ; preds = %321, %224
br label %323
323: ; preds = %322, %202
br label %324
324: ; preds = %323, %310, %275, %215, %157, %126, %112, %98, %85, %59, %34
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare double @spmpar(ptr noundef) #2
declare i32 @cumgam(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @gaminv(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @dstinv(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @dinvr(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppvvk3we_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@cdfgam.K1 = internal global i32 1, align 4
@cdfgam.K5 = internal global double 5.000000e-01, align 8
@cdfgam.K6 = internal global double 5.000000e+00, align 8
@cdfgam.xx = internal global double 0.000000e+00, align 8
@cdfgam.fx = internal global double 0.000000e+00, align 8
@cdfgam.xscale = internal global double 0.000000e+00, align 8
@cdfgam.cum = internal global double 0.000000e+00, align 8
@cdfgam.ccum = internal global double 0.000000e+00, align 8
@cdfgam.pq = internal global double 0.000000e+00, align 8
@cdfgam.porq = internal global double 0.000000e+00, align 8
@cdfgam.ierr = internal global i32 0, align 4
@cdfgam.qhi = internal global i64 0, align 8
@cdfgam.qleft = internal global i64 0, align 8
@cdfgam.qporq = internal global i64 0, align 8
@cdfgam.T2 = internal global double 0.000000e+00, align 8
@cdfgam.T3 = internal global double 0.000000e+00, align 8
@cdfgam.T4 = internal global double 0.000000e+00, align 8
@cdfgam.T7 = internal global double 0.000000e+00, align 8
@cdfgam.T8 = internal global double 0.000000e+00, align 8
@cdfgam.T9 = internal global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cdfgam(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store ptr %6, ptr %15, align 8
store ptr %7, ptr %16, align 8
%17 = load ptr, ptr %9, align 8
%18 = load i32, ptr %17, align 4
%19 = icmp slt i32 %18, 1
br i1 %19, label %25, label %20
20: ; preds = %8
%21 = load ptr, ptr %9, align 8
%22 = load i32, ptr %21, align 4
%23 = icmp sgt i32 %22, 4
br i1 %23, label %25, label %24
24: ; preds = %20
br label %36
25: ; preds = %20, %8
%26 = load ptr, ptr %9, align 8
%27 = load i32, ptr %26, align 4
%28 = icmp slt i32 %27, 1
br i1 %28, label %30, label %29
29: ; preds = %25
br label %32
30: ; preds = %25
%31 = load ptr, ptr %16, align 8
store double 1.000000e+00, ptr %31, align 8
br label %34
32: ; preds = %29
%33 = load ptr, ptr %16, align 8
store double 4.000000e+00, ptr %33, align 8
br label %34
34: ; preds = %32, %30
%35 = load ptr, ptr %15, align 8
store i32 -1, ptr %35, align 4
br label %326
36: ; preds = %24
%37 = load ptr, ptr %9, align 8
%38 = load i32, ptr %37, align 4
%39 = icmp eq i32 %38, 1
br i1 %39, label %40, label %41
40: ; preds = %36
br label %61
41: ; preds = %36
%42 = load ptr, ptr %10, align 8
%43 = load double, ptr %42, align 8
%44 = fcmp olt double %43, 0.000000e+00
br i1 %44, label %50, label %45
45: ; preds = %41
%46 = load ptr, ptr %10, align 8
%47 = load double, ptr %46, align 8
%48 = fcmp ogt double %47, 1.000000e+00
br i1 %48, label %50, label %49
49: ; preds = %45
br label %62
50: ; preds = %45, %41
%51 = load ptr, ptr %10, align 8
%52 = load double, ptr %51, align 8
%53 = fcmp olt double %52, 0.000000e+00
br i1 %53, label %55, label %54
54: ; preds = %50
br label %57
55: ; preds = %50
%56 = load ptr, ptr %16, align 8
store double 0.000000e+00, ptr %56, align 8
br label %59
57: ; preds = %54
%58 = load ptr, ptr %16, align 8
store double 1.000000e+00, ptr %58, align 8
br label %59
59: ; preds = %57, %55
%60 = load ptr, ptr %15, align 8
store i32 -2, ptr %60, align 4
br label %326
61: ; preds = %40
br label %62
62: ; preds = %61, %49
%63 = load ptr, ptr %9, align 8
%64 = load i32, ptr %63, align 4
%65 = icmp eq i32 %64, 1
br i1 %65, label %66, label %67
66: ; preds = %62
br label %87
67: ; preds = %62
%68 = load ptr, ptr %11, align 8
%69 = load double, ptr %68, align 8
%70 = fcmp ole double %69, 0.000000e+00
br i1 %70, label %76, label %71
71: ; preds = %67
%72 = load ptr, ptr %11, align 8
%73 = load double, ptr %72, align 8
%74 = fcmp ogt double %73, 1.000000e+00
br i1 %74, label %76, label %75
75: ; preds = %71
br label %88
76: ; preds = %71, %67
%77 = load ptr, ptr %11, align 8
%78 = load double, ptr %77, align 8
%79 = fcmp ole double %78, 0.000000e+00
br i1 %79, label %81, label %80
80: ; preds = %76
br label %83
81: ; preds = %76
%82 = load ptr, ptr %16, align 8
store double 0.000000e+00, ptr %82, align 8
br label %85
83: ; preds = %80
%84 = load ptr, ptr %16, align 8
store double 1.000000e+00, ptr %84, align 8
br label %85
85: ; preds = %83, %81
%86 = load ptr, ptr %15, align 8
store i32 -3, ptr %86, align 4
br label %326
87: ; preds = %66
br label %88
88: ; preds = %87, %75
%89 = load ptr, ptr %9, align 8
%90 = load i32, ptr %89, align 4
%91 = icmp eq i32 %90, 2
br i1 %91, label %92, label %93
92: ; preds = %88
br label %101
93: ; preds = %88
%94 = load ptr, ptr %12, align 8
%95 = load double, ptr %94, align 8
%96 = fcmp olt double %95, 0.000000e+00
br i1 %96, label %98, label %97
97: ; preds = %93
br label %102
98: ; preds = %93
%99 = load ptr, ptr %16, align 8
store double 0.000000e+00, ptr %99, align 8
%100 = load ptr, ptr %15, align 8
store i32 -4, ptr %100, align 4
br label %326
101: ; preds = %92
br label %102
102: ; preds = %101, %97
%103 = load ptr, ptr %9, align 8
%104 = load i32, ptr %103, align 4
%105 = icmp eq i32 %104, 3
br i1 %105, label %106, label %107
106: ; preds = %102
br label %115
107: ; preds = %102
%108 = load ptr, ptr %13, align 8
%109 = load double, ptr %108, align 8
%110 = fcmp ole double %109, 0.000000e+00
br i1 %110, label %112, label %111
111: ; preds = %107
br label %116
112: ; preds = %107
%113 = load ptr, ptr %16, align 8
store double 0.000000e+00, ptr %113, align 8
%114 = load ptr, ptr %15, align 8
store i32 -5, ptr %114, align 4
br label %326
115: ; preds = %106
br label %116
116: ; preds = %115, %111
%117 = load ptr, ptr %9, align 8
%118 = load i32, ptr %117, align 4
%119 = icmp eq i32 %118, 4
br i1 %119, label %120, label %121
120: ; preds = %116
br label %129
121: ; preds = %116
%122 = load ptr, ptr %14, align 8
%123 = load double, ptr %122, align 8
%124 = fcmp ole double %123, 0.000000e+00
br i1 %124, label %126, label %125
125: ; preds = %121
br label %130
126: ; preds = %121
%127 = load ptr, ptr %16, align 8
store double 0.000000e+00, ptr %127, align 8
%128 = load ptr, ptr %15, align 8
store i32 -6, ptr %128, align 4
br label %326
129: ; preds = %120
br label %130
130: ; preds = %129, %125
%131 = load ptr, ptr %9, align 8
%132 = load i32, ptr %131, align 4
%133 = icmp eq i32 %132, 1
br i1 %133, label %134, label %135
134: ; preds = %130
br label %159
135: ; preds = %130
%136 = load ptr, ptr %10, align 8
%137 = load double, ptr %136, align 8
%138 = load ptr, ptr %11, align 8
%139 = load double, ptr %138, align 8
%140 = fadd double %137, %139
store double %140, ptr @cdfgam.pq, align 8
%141 = load double, ptr @cdfgam.pq, align 8
%142 = fsub double %141, 5.000000e-01
%143 = fsub double %142, 5.000000e-01
%144 = call double @llvm.fabs.f64(double %143)
%145 = call double @spmpar(ptr noundef @cdfgam.K1)
%146 = fmul double 3.000000e+00, %145
%147 = fcmp ogt double %144, %146
br i1 %147, label %149, label %148
148: ; preds = %135
br label %160
149: ; preds = %135
%150 = load double, ptr @cdfgam.pq, align 8
%151 = fcmp olt double %150, 0.000000e+00
br i1 %151, label %153, label %152
152: ; preds = %149
br label %155
153: ; preds = %149
%154 = load ptr, ptr %16, align 8
store double 0.000000e+00, ptr %154, align 8
br label %157
155: ; preds = %152
%156 = load ptr, ptr %16, align 8
store double 1.000000e+00, ptr %156, align 8
br label %157
157: ; preds = %155, %153
%158 = load ptr, ptr %15, align 8
store i32 3, ptr %158, align 4
br label %326
159: ; preds = %134
br label %160
160: ; preds = %159, %148
%161 = load ptr, ptr %9, align 8
%162 = load i32, ptr %161, align 4
%163 = icmp eq i32 %162, 1
br i1 %163, label %164, label %165
164: ; preds = %160
br label %182
165: ; preds = %160
%166 = load ptr, ptr %10, align 8
%167 = load double, ptr %166, align 8
%168 = load ptr, ptr %11, align 8
%169 = load double, ptr %168, align 8
%170 = fcmp ole double %167, %169
%171 = zext i1 %170 to i32
%172 = sext i32 %171 to i64
store i64 %172, ptr @cdfgam.qporq, align 8
%173 = load i64, ptr @cdfgam.qporq, align 8
%174 = icmp ne i64 %173, 0
br i1 %174, label %176, label %175
175: ; preds = %165
br label %179
176: ; preds = %165
%177 = load ptr, ptr %10, align 8
%178 = load double, ptr %177, align 8
store double %178, ptr @cdfgam.porq, align 8
br label %183
179: ; preds = %175
%180 = load ptr, ptr %11, align 8
%181 = load double, ptr %180, align 8
store double %181, ptr @cdfgam.porq, align 8
br label %182
182: ; preds = %179, %164
br label %183
183: ; preds = %182, %176
%184 = load ptr, ptr %9, align 8
%185 = load i32, ptr %184, align 4
%186 = icmp eq i32 1, %185
br i1 %186, label %187, label %203
187: ; preds = %183
%188 = load ptr, ptr %15, align 8
store i32 0, ptr %188, align 4
%189 = load ptr, ptr %12, align 8
%190 = load double, ptr %189, align 8
%191 = load ptr, ptr %14, align 8
%192 = load double, ptr %191, align 8
%193 = fmul double %190, %192
store double %193, ptr @cdfgam.xscale, align 8
%194 = load ptr, ptr %13, align 8
%195 = load ptr, ptr %10, align 8
%196 = load ptr, ptr %11, align 8
%197 = call i32 @cumgam(ptr noundef @cdfgam.xscale, ptr noundef %194, ptr noundef %195, ptr noundef %196)
%198 = load double, ptr @cdfgam.porq, align 8
%199 = fcmp ogt double %198, 1.500000e+00
br i1 %199, label %200, label %202
200: ; preds = %187
%201 = load ptr, ptr %15, align 8
store i32 10, ptr %201, align 4
br label %202
202: ; preds = %200, %187
br label %325
203: ; preds = %183
%204 = load ptr, ptr %9, align 8
%205 = load i32, ptr %204, align 4
%206 = icmp eq i32 2, %205
br i1 %206, label %207, label %225
207: ; preds = %203
store double -1.000000e+00, ptr @cdfgam.T2, align 8
%208 = load ptr, ptr %13, align 8
%209 = load ptr, ptr %10, align 8
%210 = load ptr, ptr %11, align 8
%211 = call i32 @gaminv(ptr noundef %208, ptr noundef @cdfgam.xx, ptr noundef @cdfgam.T2, ptr noundef %209, ptr noundef %210, ptr noundef @cdfgam.ierr)
%212 = load i32, ptr @cdfgam.ierr, align 4
%213 = sitofp i32 %212 to double
%214 = fcmp olt double %213, 0.000000e+00
br i1 %214, label %215, label %217
215: ; preds = %207
%216 = load ptr, ptr %15, align 8
store i32 10, ptr %216, align 4
br label %326
217: ; preds = %207
%218 = load double, ptr @cdfgam.xx, align 8
%219 = load ptr, ptr %14, align 8
%220 = load double, ptr %219, align 8
%221 = fdiv double %218, %220
%222 = load ptr, ptr %12, align 8
store double %221, ptr %222, align 8
%223 = load ptr, ptr %15, align 8
store i32 0, ptr %223, align 4
br label %224
224: ; preds = %217
br label %324
225: ; preds = %203
%226 = load ptr, ptr %9, align 8
%227 = load i32, ptr %226, align 4
%228 = icmp eq i32 3, %227
br i1 %228, label %229, label %300
229: ; preds = %225
%230 = load ptr, ptr %13, align 8
store double 5.000000e+00, ptr %230, align 8
%231 = load ptr, ptr %12, align 8
%232 = load double, ptr %231, align 8
%233 = load ptr, ptr %14, align 8
%234 = load double, ptr %233, align 8
%235 = fmul double %232, %234
store double %235, ptr @cdfgam.xscale, align 8
store double 1.000000e-300, ptr @cdfgam.T3, align 8
store double 1.000000e+300, ptr @cdfgam.T4, align 8
store double 1.000000e-50, ptr @cdfgam.T7, align 8
store double 1.000000e-08, ptr @cdfgam.T8, align 8
%236 = call i32 @dstinv(ptr noundef @cdfgam.T3, ptr noundef @cdfgam.T4, ptr noundef @cdfgam.K5, ptr noundef @cdfgam.K5, ptr noundef @cdfgam.K6, ptr noundef @cdfgam.T7, ptr noundef @cdfgam.T8)
%237 = load ptr, ptr %15, align 8
store i32 0, ptr %237, align 4
%238 = load ptr, ptr %15, align 8
%239 = load ptr, ptr %13, align 8
%240 = call i32 @dinvr(ptr noundef %238, ptr noundef %239, ptr noundef @cdfgam.fx, ptr noundef @cdfgam.qleft, ptr noundef @cdfgam.qhi)
%241 = load ptr, ptr %15, align 8
%242 = load i32, ptr %241, align 4
%243 = icmp eq i32 %242, 1
br i1 %243, label %.lr.ph, label %244
.lr.ph: ; preds = %229
br label %245
._crit_edge: ; preds = %276
br label %244
244: ; preds = %._crit_edge, %229
br label %283
245: ; preds = %.lr.ph, %276
%246 = load ptr, ptr %13, align 8
%247 = call i32 @cumgam(ptr noundef @cdfgam.xscale, ptr noundef %246, ptr noundef @cdfgam.cum, ptr noundef @cdfgam.ccum)
%248 = load i64, ptr @cdfgam.qporq, align 8
%249 = icmp ne i64 %248, 0
br i1 %249, label %251, label %250
250: ; preds = %245
br label %256
251: ; preds = %245
%252 = load double, ptr @cdfgam.cum, align 8
%253 = load ptr, ptr %10, align 8
%254 = load double, ptr %253, align 8
%255 = fsub double %252, %254
store double %255, ptr @cdfgam.fx, align 8
br label %261
256: ; preds = %250
%257 = load double, ptr @cdfgam.ccum, align 8
%258 = load ptr, ptr %11, align 8
%259 = load double, ptr %258, align 8
%260 = fsub double %257, %259
store double %260, ptr @cdfgam.fx, align 8
br label %261
261: ; preds = %256, %251
%262 = load i64, ptr @cdfgam.qporq, align 8
%263 = icmp ne i64 %262, 0
br i1 %263, label %264, label %267
264: ; preds = %261
%265 = load double, ptr @cdfgam.cum, align 8
%266 = fcmp ogt double %265, 1.500000e+00
br i1 %266, label %274, label %267
267: ; preds = %264, %261
%268 = load i64, ptr @cdfgam.qporq, align 8
%269 = icmp ne i64 %268, 0
br i1 %269, label %273, label %270
270: ; preds = %267
%271 = load double, ptr @cdfgam.ccum, align 8
%272 = fcmp ogt double %271, 1.500000e+00
br i1 %272, label %274, label %273
273: ; preds = %270, %267
br label %276
274: ; preds = %270, %264
%275 = load ptr, ptr %15, align 8
store i32 10, ptr %275, align 4
br label %326
276: ; preds = %273
%277 = load ptr, ptr %15, align 8
%278 = load ptr, ptr %13, align 8
%279 = call i32 @dinvr(ptr noundef %277, ptr noundef %278, ptr noundef @cdfgam.fx, ptr noundef @cdfgam.qleft, ptr noundef @cdfgam.qhi)
%280 = load ptr, ptr %15, align 8
%281 = load i32, ptr %280, align 4
%282 = icmp eq i32 %281, 1
br i1 %282, label %245, label %._crit_edge
283: ; preds = %244
%284 = load ptr, ptr %15, align 8
%285 = load i32, ptr %284, align 4
%286 = icmp eq i32 %285, -1
br i1 %286, label %288, label %287
287: ; preds = %283
br label %298
288: ; preds = %283
%289 = load i64, ptr @cdfgam.qleft, align 8
%290 = icmp ne i64 %289, 0
br i1 %290, label %292, label %291
291: ; preds = %288
br label %295
292: ; preds = %288
%293 = load ptr, ptr %15, align 8
store i32 1, ptr %293, align 4
%294 = load ptr, ptr %16, align 8
store double 1.000000e-300, ptr %294, align 8
br label %299
295: ; preds = %291
%296 = load ptr, ptr %15, align 8
store i32 2, ptr %296, align 4
%297 = load ptr, ptr %16, align 8
store double 1.000000e+300, ptr %297, align 8
br label %298
298: ; preds = %295, %287
br label %299
299: ; preds = %298, %292
br label %323
300: ; preds = %225
%301 = load ptr, ptr %9, align 8
%302 = load i32, ptr %301, align 4
%303 = icmp eq i32 4, %302
br i1 %303, label %304, label %322
304: ; preds = %300
store double -1.000000e+00, ptr @cdfgam.T9, align 8
%305 = load ptr, ptr %13, align 8
%306 = load ptr, ptr %10, align 8
%307 = load ptr, ptr %11, align 8
%308 = call i32 @gaminv(ptr noundef %305, ptr noundef @cdfgam.xx, ptr noundef @cdfgam.T9, ptr noundef %306, ptr noundef %307, ptr noundef @cdfgam.ierr)
%309 = load i32, ptr @cdfgam.ierr, align 4
%310 = sitofp i32 %309 to double
%311 = fcmp olt double %310, 0.000000e+00
br i1 %311, label %312, label %314
312: ; preds = %304
%313 = load ptr, ptr %15, align 8
store i32 10, ptr %313, align 4
br label %326
314: ; preds = %304
%315 = load double, ptr @cdfgam.xx, align 8
%316 = load ptr, ptr %12, align 8
%317 = load double, ptr %316, align 8
%318 = fdiv double %315, %317
%319 = load ptr, ptr %14, align 8
store double %318, ptr %319, align 8
%320 = load ptr, ptr %15, align 8
store i32 0, ptr %320, align 4
br label %321
321: ; preds = %314
br label %322
322: ; preds = %321, %300
br label %323
323: ; preds = %322, %299
br label %324
324: ; preds = %323, %224
br label %325
325: ; preds = %324, %202
br label %326
326: ; preds = %325, %312, %274, %215, %157, %126, %112, %98, %85, %59, %34
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare double @spmpar(ptr noundef) #2
declare i32 @cumgam(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @gaminv(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @dstinv(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @dinvr(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_bfx2ts4.c'
source_filename = "/tmp/tmp_bfx2ts4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numTrees(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 1
%9 = sext i32 %8 to i64
%10 = mul i64 4, %9
%11 = trunc i64 %10 to i32
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %14
14: ; preds = %23, %1
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %26
18: ; preds = %14
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
store i32 0, ptr %22, align 4
br label %23
23: ; preds = %18
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %14, !llvm.loop !6
26: ; preds = %14
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds i32, ptr %27, i64 0
store i32 1, ptr %28, align 4
%29 = load ptr, ptr %3, align 8
%30 = getelementptr inbounds i32, ptr %29, i64 1
store i32 1, ptr %30, align 4
store i32 2, ptr %5, align 4
br label %31
31: ; preds = %66, %26
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp sle i32 %32, %33
br i1 %34, label %35, label %69
35: ; preds = %31
store i32 0, ptr %6, align 4
br label %36
36: ; preds = %62, %35
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %5, align 4
%39 = sub nsw i32 %38, 1
%40 = icmp sle i32 %37, %39
br i1 %40, label %41, label %65
41: ; preds = %36
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = load ptr, ptr %3, align 8
%48 = load i32, ptr %5, align 4
%49 = load i32, ptr %6, align 4
%50 = sub nsw i32 %48, %49
%51 = sub nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %47, i64 %52
%54 = load i32, ptr %53, align 4
%55 = mul nsw i32 %46, %54
%56 = load ptr, ptr %3, align 8
%57 = load i32, ptr %5, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
%60 = load i32, ptr %59, align 4
%61 = add nsw i32 %60, %55
store i32 %61, ptr %59, align 4
br label %62
62: ; preds = %41
%63 = load i32, ptr %6, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %6, align 4
br label %36, !llvm.loop !8
65: ; preds = %36
br label %66
66: ; preds = %65
%67 = load i32, ptr %5, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %5, align 4
br label %31, !llvm.loop !9
69: ; preds = %31
%70 = load ptr, ptr %3, align 8
%71 = load i32, ptr %2, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
%74 = load i32, ptr %73, align 4
ret i32 %74
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_bfx2ts4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numTrees(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 1
%9 = sext i32 %8 to i64
%10 = mul i64 4, %9
%11 = trunc i64 %10 to i32
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %3, align 8
store i32 0, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %28
.lr.ph: ; preds = %1
br label %17
17: ; preds = %.lr.ph, %22
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
store i32 0, ptr %21, align 4
br label %22
22: ; preds = %17
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %1
%29 = load ptr, ptr %3, align 8
%30 = getelementptr inbounds i32, ptr %29, i64 0
store i32 1, ptr %30, align 4
%31 = load ptr, ptr %3, align 8
%32 = getelementptr inbounds i32, ptr %31, i64 1
store i32 1, ptr %32, align 4
store i32 2, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = load i32, ptr %2, align 4
%35 = icmp sle i32 %33, %34
br i1 %35, label %.lr.ph5, label %76
.lr.ph5: ; preds = %28
br label %36
36: ; preds = %.lr.ph5, %70
store i32 0, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %5, align 4
%39 = sub nsw i32 %38, 1
%40 = icmp sle i32 %37, %39
br i1 %40, label %.lr.ph2, label %69
.lr.ph2: ; preds = %36
br label %41
41: ; preds = %.lr.ph2, %62
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = load ptr, ptr %3, align 8
%48 = load i32, ptr %5, align 4
%49 = load i32, ptr %6, align 4
%50 = sub nsw i32 %48, %49
%51 = sub nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %47, i64 %52
%54 = load i32, ptr %53, align 4
%55 = mul nsw i32 %46, %54
%56 = load ptr, ptr %3, align 8
%57 = load i32, ptr %5, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
%60 = load i32, ptr %59, align 4
%61 = add nsw i32 %60, %55
store i32 %61, ptr %59, align 4
br label %62
62: ; preds = %41
%63 = load i32, ptr %6, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %6, align 4
%65 = load i32, ptr %6, align 4
%66 = load i32, ptr %5, align 4
%67 = sub nsw i32 %66, 1
%68 = icmp sle i32 %65, %67
br i1 %68, label %41, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %69
69: ; preds = %._crit_edge3, %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 = load i32, ptr %2, align 4
%75 = icmp sle i32 %73, %74
br i1 %75, label %36, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %70
br label %76
76: ; preds = %._crit_edge6, %28
%77 = load ptr, ptr %3, align 8
%78 = load i32, ptr %2, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %77, i64 %79
%81 = load i32, ptr %80, align 4
ret i32 %81
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpzx1hac5b.c'
source_filename = "/tmp/tmpzx1hac5b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@stdin = dso_local global ptr null, align 8
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"fopen\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"read\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_file(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [1024 x i8], align 16
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strcmp(ptr noundef @.str, ptr noundef %7)
%9 = icmp ne i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %1
%11 = load ptr, ptr @stdin, align 8
store ptr %11, ptr %4, align 8
br label %15
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str.1)
store ptr %14, ptr %4, align 8
br label %15
15: ; preds = %12, %10
%16 = load ptr, ptr %4, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %20, label %18
18: ; preds = %15
%19 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %2, align 4
br label %37
20: ; preds = %15
%21 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%22 = load ptr, ptr %4, align 8
%23 = call i64 @fread(ptr noundef %21, i32 noundef 1, i32 noundef 1024, ptr noundef %22)
store i64 %23, ptr %6, align 8
%24 = load ptr, ptr %4, align 8
%25 = call i64 @ferror(ptr noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %31
27: ; preds = %20
%28 = call i32 @perror(ptr noundef @.str.3)
%29 = load ptr, ptr %4, align 8
%30 = call i32 @fclose(ptr noundef %29)
store i32 1, ptr %2, align 4
br label %37
31: ; preds = %20
%32 = load ptr, ptr %4, align 8
%33 = call i32 @fclose(ptr noundef %32)
%34 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%35 = load i64, ptr %6, align 8
%36 = call i32 @parse_buffer(ptr noundef %34, i64 noundef %35)
store i32 %36, ptr %2, align 4
br label %37
37: ; preds = %31, %27, %18
%38 = load i32, ptr %2, align 4
ret i32 %38
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @ferror(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @parse_buffer(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/tmpzx1hac5b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@stdin = dso_local global ptr null, align 8
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"fopen\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"read\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_file(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [1024 x i8], align 16
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strcmp(ptr noundef @.str, ptr noundef %7)
%9 = icmp ne i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %1
%11 = load ptr, ptr @stdin, align 8
store ptr %11, ptr %4, align 8
br label %15
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str.1)
store ptr %14, ptr %4, align 8
br label %15
15: ; preds = %12, %10
%16 = load ptr, ptr %4, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %20, label %18
18: ; preds = %15
%19 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %2, align 4
br label %37
20: ; preds = %15
%21 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%22 = load ptr, ptr %4, align 8
%23 = call i64 @fread(ptr noundef %21, i32 noundef 1, i32 noundef 1024, ptr noundef %22)
store i64 %23, ptr %6, align 8
%24 = load ptr, ptr %4, align 8
%25 = call i64 @ferror(ptr noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %31
27: ; preds = %20
%28 = call i32 @perror(ptr noundef @.str.3)
%29 = load ptr, ptr %4, align 8
%30 = call i32 @fclose(ptr noundef %29)
store i32 1, ptr %2, align 4
br label %37
31: ; preds = %20
%32 = load ptr, ptr %4, align 8
%33 = call i32 @fclose(ptr noundef %32)
%34 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%35 = load i64, ptr %6, align 8
%36 = call i32 @parse_buffer(ptr noundef %34, i64 noundef %35)
store i32 %36, ptr %2, align 4
br label %37
37: ; preds = %31, %27, %18
%38 = load i32, ptr %2, align 4
ret i32 %38
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @ferror(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @parse_buffer(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/tmp8tu4kyqs.c'
source_filename = "/tmp/tmp8tu4kyqs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sexpr_nil() #0 {
%1 = call ptr (...) @sexpr_new()
ret ptr %1
}
declare ptr @sexpr_new(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8tu4kyqs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sexpr_nil() #0 {
%1 = call ptr (...) @sexpr_new()
ret ptr %1
}
declare ptr @sexpr_new(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkk6v9eab.c'
source_filename = "/tmp/tmpkk6v9eab.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@foofunc.a = internal global i32 10, align 4
@foofunc.b = internal global i32 20, align 4
@foofunc.a.1 = internal global i32 4424, align 4
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foofunc() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %10, %0
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 5
br i1 %4, label %5, label %13
5: ; preds = %2
%6 = load i32, ptr @foofunc.a.1, align 4
%7 = add nsw i32 %6, 1
store i32 %7, ptr @foofunc.a.1, align 4
%8 = load i32, ptr @foofunc.a.1, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
br label %10
10: ; preds = %5
%11 = load i32, ptr %1, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %1, align 4
br label %2, !llvm.loop !6
13: ; preds = %2
%14 = load i32, ptr @foofunc.b, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr @foofunc.b, align 4
%16 = load i32, ptr @foofunc.a, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr @foofunc.a, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
%19 = load i32, ptr @foofunc.b, align 4
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %19)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkk6v9eab.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@foofunc.a = internal global i32 10, align 4
@foofunc.b = internal global i32 20, align 4
@foofunc.a.1 = internal global i32 4424, align 4
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foofunc() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp slt i32 %2, 5
br i1 %3, label %.lr.ph, label %14
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %9
%5 = load i32, ptr @foofunc.a.1, align 4
%6 = add nsw i32 %5, 1
store i32 %6, ptr @foofunc.a.1, align 4
%7 = load i32, ptr @foofunc.a.1, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
br label %9
9: ; preds = %4
%10 = load i32, ptr %1, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %1, align 4
%12 = load i32, ptr %1, align 4
%13 = icmp slt i32 %12, 5
br i1 %13, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %14
14: ; preds = %._crit_edge, %0
%15 = load i32, ptr @foofunc.b, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr @foofunc.b, align 4
%17 = load i32, ptr @foofunc.a, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr @foofunc.a, align 4
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %17)
%20 = load i32, ptr @foofunc.b, align 4
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %20)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpp6eocpg1.c'
source_filename = "/tmp/tmpp6eocpg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rdp_disconnect() #0 {
%1 = call i32 (...) @sec_disconnect()
ret void
}
declare i32 @sec_disconnect(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp6eocpg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rdp_disconnect() #0 {
%1 = call i32 (...) @sec_disconnect()
ret void
}
declare i32 @sec_disconnect(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq8bwgoq9.c'
source_filename = "/tmp/tmpq8bwgoq9.c"
target datalayout = "e-m:e-p270: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/tmpq8bwgoq9.c"
target datalayout = "e-m:e-p270: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/tmpr4zbs516.c'
source_filename = "/tmp/tmpr4zbs516.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_putstr(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 = %12, %1
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %6, 1
store i32 %7, ptr %3, align 4
%8 = sext i32 %6 to i64
%9 = getelementptr inbounds i8, ptr %5, i64 %8
%10 = load i8, ptr %9, align 1
%11 = icmp ne i8 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %4
br label %4, !llvm.loop !6
13: ; preds = %4
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %3, align 4
%16 = call i32 @write(i32 noundef 1, ptr noundef %14, i32 noundef %15)
ret i32 %16
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr4zbs516.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_putstr(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 = %4, %1
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %6, 1
store i32 %7, ptr %3, align 4
%8 = sext i32 %6 to i64
%9 = getelementptr inbounds i8, ptr %5, i64 %8
%10 = load i8, ptr %9, align 1
%11 = icmp ne i8 %10, 0
br i1 %11, label %4, label %12, !llvm.loop !6
12: ; preds = %4
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = call i32 @write(i32 noundef 1, ptr noundef %13, i32 noundef %14)
ret i32 %15
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpiu1bgww0.c'
source_filename = "/tmp/tmpiu1bgww0.c"
target datalayout = "e-m:e-p270: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/tmpiu1bgww0.c"
target datalayout = "e-m:e-p270: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/tmp3tncv8eg.c'
source_filename = "/tmp/tmp3tncv8eg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stb__sbgrowf(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %9, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %21
12: ; preds = %3
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %13, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 -2
%16 = getelementptr inbounds i32, ptr %15, i64 0
%17 = load i32, ptr %16, align 4
%18 = mul nsw i32 2, %17
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %18, %19
br label %24
21: ; preds = %3
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
br label %24
24: ; preds = %21, %12
%25 = phi i32 [ %20, %12 ], [ %23, %21 ]
store i32 %25, ptr %7, align 4
%26 = load ptr, ptr %4, align 8
%27 = load ptr, ptr %26, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %33
29: ; preds = %24
%30 = load ptr, ptr %4, align 8
%31 = load ptr, ptr %30, align 8
%32 = getelementptr inbounds i32, ptr %31, i64 -2
br label %34
33: ; preds = %24
br label %34
34: ; preds = %33, %29
%35 = phi ptr [ %32, %29 ], [ null, %33 ]
%36 = load i32, ptr %6, align 4
%37 = load i32, ptr %7, align 4
%38 = mul nsw i32 %36, %37
%39 = sext i32 %38 to i64
%40 = add i64 %39, 8
%41 = trunc i64 %40 to i32
%42 = call ptr @realloc(ptr noundef %35, i32 noundef %41)
store ptr %42, ptr %8, align 8
%43 = load ptr, ptr %8, align 8
%44 = call i32 @assert(ptr noundef %43)
%45 = load ptr, ptr %8, align 8
%46 = icmp ne ptr %45, null
br i1 %46, label %47, label %63
47: ; preds = %34
%48 = load ptr, ptr %4, align 8
%49 = load ptr, ptr %48, align 8
%50 = icmp ne ptr %49, null
br i1 %50, label %54, label %51
51: ; preds = %47
%52 = load ptr, ptr %8, align 8
%53 = getelementptr inbounds i32, ptr %52, i64 1
store i32 0, ptr %53, align 4
br label %54
54: ; preds = %51, %47
%55 = load ptr, ptr %8, align 8
%56 = getelementptr inbounds i32, ptr %55, i64 2
%57 = load ptr, ptr %4, align 8
store ptr %56, ptr %57, align 8
%58 = load i32, ptr %7, align 4
%59 = load ptr, ptr %4, align 8
%60 = load ptr, ptr %59, align 8
%61 = getelementptr inbounds i32, ptr %60, i64 -2
%62 = getelementptr inbounds i32, ptr %61, i64 0
store i32 %58, ptr %62, align 4
br label %63
63: ; preds = %54, %34
ret void
}
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @assert(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3tncv8eg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stb__sbgrowf(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %9, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %21
12: ; preds = %3
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %13, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 -2
%16 = getelementptr inbounds i32, ptr %15, i64 0
%17 = load i32, ptr %16, align 4
%18 = mul nsw i32 2, %17
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %18, %19
br label %24
21: ; preds = %3
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
br label %24
24: ; preds = %21, %12
%25 = phi i32 [ %20, %12 ], [ %23, %21 ]
store i32 %25, ptr %7, align 4
%26 = load ptr, ptr %4, align 8
%27 = load ptr, ptr %26, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %33
29: ; preds = %24
%30 = load ptr, ptr %4, align 8
%31 = load ptr, ptr %30, align 8
%32 = getelementptr inbounds i32, ptr %31, i64 -2
br label %34
33: ; preds = %24
br label %34
34: ; preds = %33, %29
%35 = phi ptr [ %32, %29 ], [ null, %33 ]
%36 = load i32, ptr %6, align 4
%37 = load i32, ptr %7, align 4
%38 = mul nsw i32 %36, %37
%39 = sext i32 %38 to i64
%40 = add i64 %39, 8
%41 = trunc i64 %40 to i32
%42 = call ptr @realloc(ptr noundef %35, i32 noundef %41)
store ptr %42, ptr %8, align 8
%43 = load ptr, ptr %8, align 8
%44 = call i32 @assert(ptr noundef %43)
%45 = load ptr, ptr %8, align 8
%46 = icmp ne ptr %45, null
br i1 %46, label %47, label %63
47: ; preds = %34
%48 = load ptr, ptr %4, align 8
%49 = load ptr, ptr %48, align 8
%50 = icmp ne ptr %49, null
br i1 %50, label %54, label %51
51: ; preds = %47
%52 = load ptr, ptr %8, align 8
%53 = getelementptr inbounds i32, ptr %52, i64 1
store i32 0, ptr %53, align 4
br label %54
54: ; preds = %51, %47
%55 = load ptr, ptr %8, align 8
%56 = getelementptr inbounds i32, ptr %55, i64 2
%57 = load ptr, ptr %4, align 8
store ptr %56, ptr %57, align 8
%58 = load i32, ptr %7, align 4
%59 = load ptr, ptr %4, align 8
%60 = load ptr, ptr %59, align 8
%61 = getelementptr inbounds i32, ptr %60, i64 -2
%62 = getelementptr inbounds i32, ptr %61, i64 0
store i32 %58, ptr %62, align 4
br label %63
63: ; preds = %54, %34
ret void
}
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @assert(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4qsizfc1.c'
source_filename = "/tmp/tmp4qsizfc1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"4\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"6\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"24\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"120\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"720\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"5040\00", align 1
@.str.8 = private unnamed_addr constant [7 x i8] c"362880\00", align 1
@.str.9 = private unnamed_addr constant [8 x i8] c"3628800\00", align 1
@.str.10 = private unnamed_addr constant [9 x i8] c"39916800\00", align 1
@.str.11 = private unnamed_addr constant [10 x i8] c"479001600\00", align 1
@.str.12 = private unnamed_addr constant [11 x i8] c"6227020800\00", align 1
@.str.13 = private unnamed_addr constant [12 x i8] c"87178291200\00", align 1
@.str.14 = private unnamed_addr constant [14 x i8] c"1307674368000\00", align 1
@.str.15 = private unnamed_addr constant [15 x i8] c"20922789888000\00", align 1
@.str.16 = private unnamed_addr constant [16 x i8] c"355687428096000\00", align 1
@.str.17 = private unnamed_addr constant [17 x i8] c"6402373705728000\00", align 1
@.str.18 = private unnamed_addr constant [19 x i8] c"121645100408832000\00", align 1
@.str.19 = private unnamed_addr constant [20 x i8] c"2432902008176640000\00", align 1
@.str.20 = private unnamed_addr constant [21 x i8] c"51090942171709440000\00", align 1
@.str.21 = private unnamed_addr constant [23 x i8] c"1124000727777607680000\00", align 1
@.str.22 = private unnamed_addr constant [24 x i8] c"25852016738884976640000\00", align 1
@.str.23 = private unnamed_addr constant [25 x i8] c"620448401733239439360000\00", align 1
@.str.24 = private unnamed_addr constant [27 x i8] c"15511210043330985984000000\00", align 1
@.str.25 = private unnamed_addr constant [28 x i8] c"403291461126605635584000000\00", align 1
@.str.26 = private unnamed_addr constant [30 x i8] c"10888869450418352160768000000\00", align 1
@.str.27 = private unnamed_addr constant [31 x i8] c"304888344611713860501504000000\00", align 1
@.str.28 = private unnamed_addr constant [32 x i8] c"8841761993739701954543616000000\00", align 1
@.str.29 = private unnamed_addr constant [34 x i8] c"265252859812191058636308480000000\00", align 1
@.str.30 = private unnamed_addr constant [35 x i8] c"8222838654177922817725562880000000\00", align 1
@.str.31 = private unnamed_addr constant [37 x i8] c"263130836933693530167218012160000000\00", align 1
@.str.32 = private unnamed_addr constant [38 x i8] c"8683317618811886495518194401280000000\00", align 1
@.str.33 = private unnamed_addr constant [40 x i8] c"295232799039604140847618609643520000000\00", align 1
@.str.34 = private unnamed_addr constant [42 x i8] c"10333147966386144929666651337523200000000\00", align 1
@.str.35 = private unnamed_addr constant [43 x i8] c"371993326789901217467999448150835200000000\00", align 1
@.str.36 = private unnamed_addr constant [45 x i8] c"13763753091226345046315979581580902400000000\00", align 1
@.str.37 = private unnamed_addr constant [46 x i8] c"523022617466601111760007224100074291200000000\00", align 1
@.str.38 = private unnamed_addr constant [48 x i8] c"20397882081197443358640281739902897356800000000\00", align 1
@.str.39 = private unnamed_addr constant [49 x i8] c"815915283247897734345611269596115894272000000000\00", align 1
@.str.40 = private unnamed_addr constant [51 x i8] c"33452526613163807108170062053440751665152000000000\00", align 1
@.str.41 = private unnamed_addr constant [53 x i8] c"1405006117752879898543142606244511569936384000000000\00", align 1
@.str.42 = private unnamed_addr constant [54 x i8] c"60415263063373835637355132068513997507264512000000000\00", align 1
@.str.43 = private unnamed_addr constant [56 x i8] c"2658271574788448768043625811014615890319638528000000000\00", align 1
@.str.44 = private unnamed_addr constant [58 x i8] c"119622220865480194561963161495657715064383733760000000000\00", align 1
@.str.45 = private unnamed_addr constant [59 x i8] c"5502622159812088949850305428800254892961651752960000000000\00", align 1
@.str.46 = private unnamed_addr constant [61 x i8] c"258623241511168180642964355153611979969197632389120000000000\00", align 1
@.str.47 = private unnamed_addr constant [63 x i8] c"12413915592536072670862289047373375038521486354677760000000000\00", align 1
@.str.48 = private unnamed_addr constant [64 x i8] c"608281864034267560872252163321295376887552831379210240000000000\00", align 1
@.str.49 = private unnamed_addr constant [66 x i8] c"30414093201713378043612608166064768844377641568960512000000000000\00", align 1
@.str.50 = private unnamed_addr constant [68 x i8] c"1551118753287382280224243016469303211063259720016986112000000000000\00", align 1
@.str.51 = private unnamed_addr constant [69 x i8] c"80658175170943878571660636856403766975289505440883277824000000000000\00", align 1
@.str.52 = private unnamed_addr constant [71 x i8] c"4274883284060025564298013753389399649690343788366813724672000000000000\00", align 1
@.str.53 = private unnamed_addr constant [73 x i8] c"230843697339241380472092742683027581083278564571807941132288000000000000\00", align 1
@.str.54 = private unnamed_addr constant [75 x i8] c"12696403353658275925965100847566516959580321051449436762275840000000000000\00", align 1
@.str.55 = private unnamed_addr constant [76 x i8] c"710998587804863451854045647463724949736497978881168458687447040000000000000\00", align 1
@.str.56 = private unnamed_addr constant [78 x i8] c"40526919504877216755680601905432322134980384796226602145184481280000000000000\00", align 1
@.str.57 = private unnamed_addr constant [80 x i8] c"2350561331282878571829474910515074683828862318181142924420699914240000000000000\00", align 1
@.str.58 = private unnamed_addr constant [82 x i8] c"138683118545689835737939019720389406345902876772687432540821294940160000000000000\00", align 1
@.str.59 = private unnamed_addr constant [83 x i8] c"8320987112741390144276341183223364380754172606361245952449277696409600000000000000\00", align 1
@.str.60 = private unnamed_addr constant [85 x i8] c"507580213877224798800856812176625227226004528988036003099405939480985600000000000000\00", align 1
@.str.61 = private unnamed_addr constant [87 x i8] c"31469973260387937525653122354950764088012280797258232192163168247821107200000000000000\00", align 1
@.str.62 = private unnamed_addr constant [89 x i8] c"1982608315404440064116146708361898137544773690227268628106279599612729753600000000000000\00", align 1
@.str.63 = private unnamed_addr constant [91 x i8] c"126886932185884164103433389335161480802865516174545192198801894375214704230400000000000000\00", align 1
@.str.64 = private unnamed_addr constant [92 x i8] c"8247650592082470666723170306785496252186258551345437492922123134388955774976000000000000000\00", align 1
@.str.65 = private unnamed_addr constant [94 x i8] c"544344939077443064003729240247842752644293064388798874532860126869671081148416000000000000000\00", align 1
@.str.66 = private unnamed_addr constant [96 x i8] c"36471110918188685288249859096605464427167635314049524593701628500267962436943872000000000000000\00", align 1
@.str.67 = private unnamed_addr constant [98 x i8] c"2480035542436830599600990418569171581047399201355367672371710738018221445712183296000000000000000\00", align 1
@.str.68 = private unnamed_addr constant [100 x i8] c"171122452428141311372468338881272839092270544893520369393648040923257279754140647424000000000000000\00", align 1
@.str.69 = private unnamed_addr constant [102 x i8] c"11978571669969891796072783721689098736458938142546425857555362864628009582789845319680000000000000000\00", align 1
@.str.70 = private unnamed_addr constant [103 x i8] c"850478588567862317521167644239926010288584608120796235886430763388588680378079017697280000000000000000\00", align 1
@.str.71 = private unnamed_addr constant [105 x i8] c"61234458376886086861524070385274672740778091784697328983823014963978384987221689274204160000000000000000\00", align 1
@.str.72 = private unnamed_addr constant [107 x i8] c"4470115461512684340891257138125051110076800700282905015819080092370422104067183317016903680000000000000000\00", align 1
@.str.73 = private unnamed_addr constant [109 x i8] c"330788544151938641225953028221253782145683251820934971170611926835411235700971565459250872320000000000000000\00", align 1
@.str.74 = private unnamed_addr constant [111 x i8] c"24809140811395398091946477116594033660926243886570122837795894512655842677572867409443815424000000000000000000\00", align 1
@.str.75 = private unnamed_addr constant [113 x i8] c"1885494701666050254987932260861146558230394535379329335672487982961844043495537923117729972224000000000000000000\00", align 1
@.str.76 = private unnamed_addr constant [115 x i8] c"145183092028285869634070784086308284983740379224208358846781574688061991349156420080065207861248000000000000000000\00", align 1
@.str.77 = private unnamed_addr constant [117 x i8] c"11324281178206297831457521158732046228731749579488251990048962825668835325234200766245086213177344000000000000000000\00", align 1
@.str.78 = private unnamed_addr constant [118 x i8] c"894618213078297528685144171539831652069808216779571907213868063227837990693501860533361810841010176000000000000000000\00", align 1
@.str.79 = private unnamed_addr constant [120 x i8] c"71569457046263802294811533723186532165584657342365752577109445058227039255480148842668944867280814080000000000000000000\00", align 1
@.str.80 = private unnamed_addr constant [122 x i8] c"5797126020747367985879734231578109105412357244731625958745865049716390179693892056256184534249745940480000000000000000000\00", align 1
@.str.81 = private unnamed_addr constant [124 x i8] c"475364333701284174842138206989404946643813294067993328617160934076743994734899148613007131808479167119360000000000000000000\00", align 1
@.str.82 = private unnamed_addr constant [126 x i8] c"39455239697206586511897471180120610571436503407643446275224357528369751562996629334879591940103770870906880000000000000000000\00", align 1
@.str.83 = private unnamed_addr constant [128 x i8] c"3314240134565353266999387579130131288000666286242049487118846032383059131291716864129885722968716753156177920000000000000000000\00", align 1
@.str.84 = private unnamed_addr constant [130 x i8] c"281710411438055027694947944226061159480056634330574206405101912752560026159795933451040286452340924018275123200000000000000000000\00", align 1
@.str.85 = private unnamed_addr constant [132 x i8] c"24227095383672732381765523203441259715284870552429381750838764496720162249742450276789464634901319465571660595200000000000000000000\00", align 1
@.str.86 = private unnamed_addr constant [134 x i8] c"2107757298379527717213600518699389595229783738061356212322972511214654115727593174080683423236414793504734471782400000000000000000000\00", align 1
@.str.87 = private unnamed_addr constant [136 x i8] c"185482642257398439114796845645546284380220968949399346684421580986889562184028199319100141244804501828416633516851200000000000000000000\00", align 1
@.str.88 = private unnamed_addr constant [138 x i8] c"16507955160908461081216919262453619309839666236496541854913520707833171034378509739399912570787600662729080382999756800000000000000000000\00", align 1
@.str.89 = private unnamed_addr constant [140 x i8] c"1485715964481761497309522733620825737885569961284688766942216863704985393094065876545992131370884059645617234469978112000000000000000000000\00", align 1
@.str.90 = private unnamed_addr constant [142 x i8] c"135200152767840296255166568759495142147586866476906677791741734597153670771559994765685283954750449427751168336768008192000000000000000000000\00", align 1
@.str.91 = private unnamed_addr constant [144 x i8] c"12438414054641307255475324325873553077577991715875414356840239582938137710983519518443046123837041347353107486982656753664000000000000000000000\00", align 1
@.str.92 = private unnamed_addr constant [146 x i8] c"1156772507081641574759205162306240436214753229576413535186142281213246807121467315215203289516844845303838996289387078090752000000000000000000000\00", align 1
@.str.93 = private unnamed_addr constant [148 x i8] c"108736615665674308027365285256786601004186803580182872307497374434045199869417927630229109214583415458560865651202385340530688000000000000000000000\00", align 1
@.str.94 = private unnamed_addr constant [150 x i8] c"10329978488239059262599702099394727095397746340117372869212250571234293987594703124871765375385424468563282236864226607350415360000000000000000000000\00", align 1
@.str.95 = private unnamed_addr constant [151 x i8] c"991677934870949689209571401541893801158183648651267795444376054838492222809091499987689476037000748982075094738965754305639874560000000000000000000000\00", align 1
@.str.96 = private unnamed_addr constant [153 x i8] c"96192759682482119853328425949563698712343813919172976158104477319333745612481875498805879175589072651261284189679678167647067832320000000000000000000000\00", align 1
@.str.97 = private unnamed_addr constant [155 x i8] c"9426890448883247745626185743057242473809693764078951663494238777294707070023223798882976159207729119823605850588608460429412647567360000000000000000000000\00", align 1
@.str.98 = private unnamed_addr constant [157 x i8] c"933262154439441526816992388562667004907159682643816214685929638952175999932299156089414639761565182862536979208272237582511852109168640000000000000000000000\00", align 1
@.str.99 = private unnamed_addr constant [159 x i8] c"93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000\00", align 1
@.str.100 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [101 x i32], align 16
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
br label %6
6: ; preds = %10, %0
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %17
10: ; preds = %6
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %12
%14 = call i32 @scanf(ptr noundef @.str, ptr noundef %13)
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %4, align 4
br label %6, !llvm.loop !6
17: ; preds = %6
store i32 0, ptr %4, align 4
br label %18
18: ; preds = %832, %17
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %835
22: ; preds = %18
%23 = load i32, ptr %4, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %22
%29 = call i32 @printf(ptr noundef @.str.1)
br label %30
30: ; preds = %28, %22
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
%35 = icmp eq i32 %34, 1
br i1 %35, label %36, label %38
36: ; preds = %30
%37 = call i32 @printf(ptr noundef @.str.1)
br label %38
38: ; preds = %36, %30
%39 = load i32, ptr %4, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %40
%42 = load i32, ptr %41, align 4
%43 = icmp eq i32 %42, 2
br i1 %43, label %44, label %46
44: ; preds = %38
%45 = call i32 @printf(ptr noundef @.str.2)
br label %46
46: ; preds = %44, %38
%47 = load i32, ptr %4, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %48
%50 = load i32, ptr %49, align 4
%51 = icmp eq i32 %50, 3
br i1 %51, label %52, label %54
52: ; preds = %46
%53 = call i32 @printf(ptr noundef @.str.3)
br label %54
54: ; preds = %52, %46
%55 = load i32, ptr %4, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %56
%58 = load i32, ptr %57, align 4
%59 = icmp eq i32 %58, 4
br i1 %59, label %60, label %62
60: ; preds = %54
%61 = call i32 @printf(ptr noundef @.str.4)
br label %62
62: ; preds = %60, %54
%63 = load i32, ptr %4, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %64
%66 = load i32, ptr %65, align 4
%67 = icmp eq i32 %66, 5
br i1 %67, label %68, label %70
68: ; preds = %62
%69 = call i32 @printf(ptr noundef @.str.5)
br label %70
70: ; preds = %68, %62
%71 = load i32, ptr %4, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %72
%74 = load i32, ptr %73, align 4
%75 = icmp eq i32 %74, 6
br i1 %75, label %76, label %78
76: ; preds = %70
%77 = call i32 @printf(ptr noundef @.str.6)
br label %78
78: ; preds = %76, %70
%79 = load i32, ptr %4, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %80
%82 = load i32, ptr %81, align 4
%83 = icmp eq i32 %82, 7
br i1 %83, label %84, label %86
84: ; preds = %78
%85 = call i32 @printf(ptr noundef @.str.7)
br label %86
86: ; preds = %84, %78
%87 = load i32, ptr %4, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %88
%90 = load i32, ptr %89, align 4
%91 = icmp eq i32 %90, 8
br i1 %91, label %92, label %94
92: ; preds = %86
%93 = call i32 @printf(ptr noundef @.str.8)
br label %94
94: ; preds = %92, %86
%95 = load i32, ptr %4, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %96
%98 = load i32, ptr %97, align 4
%99 = icmp eq i32 %98, 10
br i1 %99, label %100, label %102
100: ; preds = %94
%101 = call i32 @printf(ptr noundef @.str.9)
br label %102
102: ; preds = %100, %94
%103 = load i32, ptr %4, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %104
%106 = load i32, ptr %105, align 4
%107 = icmp eq i32 %106, 9
br i1 %107, label %108, label %110
108: ; preds = %102
%109 = call i32 @printf(ptr noundef @.str.8)
br label %110
110: ; preds = %108, %102
%111 = load i32, ptr %4, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %112
%114 = load i32, ptr %113, align 4
%115 = icmp eq i32 %114, 11
br i1 %115, label %116, label %118
116: ; preds = %110
%117 = call i32 @printf(ptr noundef @.str.10)
br label %118
118: ; preds = %116, %110
%119 = load i32, ptr %4, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %120
%122 = load i32, ptr %121, align 4
%123 = icmp eq i32 %122, 12
br i1 %123, label %124, label %126
124: ; preds = %118
%125 = call i32 @printf(ptr noundef @.str.11)
br label %126
126: ; preds = %124, %118
%127 = load i32, ptr %4, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %128
%130 = load i32, ptr %129, align 4
%131 = icmp eq i32 %130, 13
br i1 %131, label %132, label %134
132: ; preds = %126
%133 = call i32 @printf(ptr noundef @.str.12)
br label %134
134: ; preds = %132, %126
%135 = load i32, ptr %4, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %136
%138 = load i32, ptr %137, align 4
%139 = icmp eq i32 %138, 14
br i1 %139, label %140, label %142
140: ; preds = %134
%141 = call i32 @printf(ptr noundef @.str.13)
br label %142
142: ; preds = %140, %134
%143 = load i32, ptr %4, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %144
%146 = load i32, ptr %145, align 4
%147 = icmp eq i32 %146, 15
br i1 %147, label %148, label %150
148: ; preds = %142
%149 = call i32 @printf(ptr noundef @.str.14)
br label %150
150: ; preds = %148, %142
%151 = load i32, ptr %4, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %152
%154 = load i32, ptr %153, align 4
%155 = icmp eq i32 %154, 16
br i1 %155, label %156, label %158
156: ; preds = %150
%157 = call i32 @printf(ptr noundef @.str.15)
br label %158
158: ; preds = %156, %150
%159 = load i32, ptr %4, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %160
%162 = load i32, ptr %161, align 4
%163 = icmp eq i32 %162, 17
br i1 %163, label %164, label %166
164: ; preds = %158
%165 = call i32 @printf(ptr noundef @.str.16)
br label %166
166: ; preds = %164, %158
%167 = load i32, ptr %4, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %168
%170 = load i32, ptr %169, align 4
%171 = icmp eq i32 %170, 18
br i1 %171, label %172, label %174
172: ; preds = %166
%173 = call i32 @printf(ptr noundef @.str.17)
br label %174
174: ; preds = %172, %166
%175 = load i32, ptr %4, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %176
%178 = load i32, ptr %177, align 4
%179 = icmp eq i32 %178, 19
br i1 %179, label %180, label %182
180: ; preds = %174
%181 = call i32 @printf(ptr noundef @.str.18)
br label %182
182: ; preds = %180, %174
%183 = load i32, ptr %4, align 4
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %184
%186 = load i32, ptr %185, align 4
%187 = icmp eq i32 %186, 20
br i1 %187, label %188, label %190
188: ; preds = %182
%189 = call i32 @printf(ptr noundef @.str.19)
br label %190
190: ; preds = %188, %182
%191 = load i32, ptr %4, align 4
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %192
%194 = load i32, ptr %193, align 4
%195 = icmp eq i32 %194, 21
br i1 %195, label %196, label %198
196: ; preds = %190
%197 = call i32 @printf(ptr noundef @.str.20)
br label %198
198: ; preds = %196, %190
%199 = load i32, ptr %4, align 4
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %200
%202 = load i32, ptr %201, align 4
%203 = icmp eq i32 %202, 22
br i1 %203, label %204, label %206
204: ; preds = %198
%205 = call i32 @printf(ptr noundef @.str.21)
br label %206
206: ; preds = %204, %198
%207 = load i32, ptr %4, align 4
%208 = sext i32 %207 to i64
%209 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %208
%210 = load i32, ptr %209, align 4
%211 = icmp eq i32 %210, 23
br i1 %211, label %212, label %214
212: ; preds = %206
%213 = call i32 @printf(ptr noundef @.str.22)
br label %214
214: ; preds = %212, %206
%215 = load i32, ptr %4, align 4
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %216
%218 = load i32, ptr %217, align 4
%219 = icmp eq i32 %218, 24
br i1 %219, label %220, label %222
220: ; preds = %214
%221 = call i32 @printf(ptr noundef @.str.23)
br label %222
222: ; preds = %220, %214
%223 = load i32, ptr %4, align 4
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %224
%226 = load i32, ptr %225, align 4
%227 = icmp eq i32 %226, 25
br i1 %227, label %228, label %230
228: ; preds = %222
%229 = call i32 @printf(ptr noundef @.str.24)
br label %230
230: ; preds = %228, %222
%231 = load i32, ptr %4, align 4
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %232
%234 = load i32, ptr %233, align 4
%235 = icmp eq i32 %234, 26
br i1 %235, label %236, label %238
236: ; preds = %230
%237 = call i32 @printf(ptr noundef @.str.25)
br label %238
238: ; preds = %236, %230
%239 = load i32, ptr %4, align 4
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %240
%242 = load i32, ptr %241, align 4
%243 = icmp eq i32 %242, 27
br i1 %243, label %244, label %246
244: ; preds = %238
%245 = call i32 @printf(ptr noundef @.str.26)
br label %246
246: ; preds = %244, %238
%247 = load i32, ptr %4, align 4
%248 = sext i32 %247 to i64
%249 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %248
%250 = load i32, ptr %249, align 4
%251 = icmp eq i32 %250, 28
br i1 %251, label %252, label %254
252: ; preds = %246
%253 = call i32 @printf(ptr noundef @.str.27)
br label %254
254: ; preds = %252, %246
%255 = load i32, ptr %4, align 4
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %256
%258 = load i32, ptr %257, align 4
%259 = icmp eq i32 %258, 29
br i1 %259, label %260, label %262
260: ; preds = %254
%261 = call i32 @printf(ptr noundef @.str.28)
br label %262
262: ; preds = %260, %254
%263 = load i32, ptr %4, align 4
%264 = sext i32 %263 to i64
%265 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %264
%266 = load i32, ptr %265, align 4
%267 = icmp eq i32 %266, 30
br i1 %267, label %268, label %270
268: ; preds = %262
%269 = call i32 @printf(ptr noundef @.str.29)
br label %270
270: ; preds = %268, %262
%271 = load i32, ptr %4, align 4
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %272
%274 = load i32, ptr %273, align 4
%275 = icmp eq i32 %274, 31
br i1 %275, label %276, label %278
276: ; preds = %270
%277 = call i32 @printf(ptr noundef @.str.30)
br label %278
278: ; preds = %276, %270
%279 = load i32, ptr %4, align 4
%280 = sext i32 %279 to i64
%281 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %280
%282 = load i32, ptr %281, align 4
%283 = icmp eq i32 %282, 32
br i1 %283, label %284, label %286
284: ; preds = %278
%285 = call i32 @printf(ptr noundef @.str.31)
br label %286
286: ; preds = %284, %278
%287 = load i32, ptr %4, align 4
%288 = sext i32 %287 to i64
%289 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %288
%290 = load i32, ptr %289, align 4
%291 = icmp eq i32 %290, 33
br i1 %291, label %292, label %294
292: ; preds = %286
%293 = call i32 @printf(ptr noundef @.str.32)
br label %294
294: ; preds = %292, %286
%295 = load i32, ptr %4, align 4
%296 = sext i32 %295 to i64
%297 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %296
%298 = load i32, ptr %297, align 4
%299 = icmp eq i32 %298, 34
br i1 %299, label %300, label %302
300: ; preds = %294
%301 = call i32 @printf(ptr noundef @.str.33)
br label %302
302: ; preds = %300, %294
%303 = load i32, ptr %4, align 4
%304 = sext i32 %303 to i64
%305 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %304
%306 = load i32, ptr %305, align 4
%307 = icmp eq i32 %306, 35
br i1 %307, label %308, label %310
308: ; preds = %302
%309 = call i32 @printf(ptr noundef @.str.34)
br label %310
310: ; preds = %308, %302
%311 = load i32, ptr %4, align 4
%312 = sext i32 %311 to i64
%313 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %312
%314 = load i32, ptr %313, align 4
%315 = icmp eq i32 %314, 36
br i1 %315, label %316, label %318
316: ; preds = %310
%317 = call i32 @printf(ptr noundef @.str.35)
br label %318
318: ; preds = %316, %310
%319 = load i32, ptr %4, align 4
%320 = sext i32 %319 to i64
%321 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %320
%322 = load i32, ptr %321, align 4
%323 = icmp eq i32 %322, 37
br i1 %323, label %324, label %326
324: ; preds = %318
%325 = call i32 @printf(ptr noundef @.str.36)
br label %326
326: ; preds = %324, %318
%327 = load i32, ptr %4, align 4
%328 = sext i32 %327 to i64
%329 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %328
%330 = load i32, ptr %329, align 4
%331 = icmp eq i32 %330, 38
br i1 %331, label %332, label %334
332: ; preds = %326
%333 = call i32 @printf(ptr noundef @.str.37)
br label %334
334: ; preds = %332, %326
%335 = load i32, ptr %4, align 4
%336 = sext i32 %335 to i64
%337 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %336
%338 = load i32, ptr %337, align 4
%339 = icmp eq i32 %338, 39
br i1 %339, label %340, label %342
340: ; preds = %334
%341 = call i32 @printf(ptr noundef @.str.38)
br label %342
342: ; preds = %340, %334
%343 = load i32, ptr %4, align 4
%344 = sext i32 %343 to i64
%345 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %344
%346 = load i32, ptr %345, align 4
%347 = icmp eq i32 %346, 40
br i1 %347, label %348, label %350
348: ; preds = %342
%349 = call i32 @printf(ptr noundef @.str.39)
br label %350
350: ; preds = %348, %342
%351 = load i32, ptr %4, align 4
%352 = sext i32 %351 to i64
%353 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %352
%354 = load i32, ptr %353, align 4
%355 = icmp eq i32 %354, 41
br i1 %355, label %356, label %358
356: ; preds = %350
%357 = call i32 @printf(ptr noundef @.str.40)
br label %358
358: ; preds = %356, %350
%359 = load i32, ptr %4, align 4
%360 = sext i32 %359 to i64
%361 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %360
%362 = load i32, ptr %361, align 4
%363 = icmp eq i32 %362, 42
br i1 %363, label %364, label %366
364: ; preds = %358
%365 = call i32 @printf(ptr noundef @.str.41)
br label %366
366: ; preds = %364, %358
%367 = load i32, ptr %4, align 4
%368 = sext i32 %367 to i64
%369 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %368
%370 = load i32, ptr %369, align 4
%371 = icmp eq i32 %370, 43
br i1 %371, label %372, label %374
372: ; preds = %366
%373 = call i32 @printf(ptr noundef @.str.42)
br label %374
374: ; preds = %372, %366
%375 = load i32, ptr %4, align 4
%376 = sext i32 %375 to i64
%377 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %376
%378 = load i32, ptr %377, align 4
%379 = icmp eq i32 %378, 44
br i1 %379, label %380, label %382
380: ; preds = %374
%381 = call i32 @printf(ptr noundef @.str.43)
br label %382
382: ; preds = %380, %374
%383 = load i32, ptr %4, align 4
%384 = sext i32 %383 to i64
%385 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %384
%386 = load i32, ptr %385, align 4
%387 = icmp eq i32 %386, 45
br i1 %387, label %388, label %390
388: ; preds = %382
%389 = call i32 @printf(ptr noundef @.str.44)
br label %390
390: ; preds = %388, %382
%391 = load i32, ptr %4, align 4
%392 = sext i32 %391 to i64
%393 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %392
%394 = load i32, ptr %393, align 4
%395 = icmp eq i32 %394, 46
br i1 %395, label %396, label %398
396: ; preds = %390
%397 = call i32 @printf(ptr noundef @.str.45)
br label %398
398: ; preds = %396, %390
%399 = load i32, ptr %4, align 4
%400 = sext i32 %399 to i64
%401 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %400
%402 = load i32, ptr %401, align 4
%403 = icmp eq i32 %402, 47
br i1 %403, label %404, label %406
404: ; preds = %398
%405 = call i32 @printf(ptr noundef @.str.46)
br label %406
406: ; preds = %404, %398
%407 = load i32, ptr %4, align 4
%408 = sext i32 %407 to i64
%409 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %408
%410 = load i32, ptr %409, align 4
%411 = icmp eq i32 %410, 48
br i1 %411, label %412, label %414
412: ; preds = %406
%413 = call i32 @printf(ptr noundef @.str.47)
br label %414
414: ; preds = %412, %406
%415 = load i32, ptr %4, align 4
%416 = sext i32 %415 to i64
%417 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %416
%418 = load i32, ptr %417, align 4
%419 = icmp eq i32 %418, 49
br i1 %419, label %420, label %422
420: ; preds = %414
%421 = call i32 @printf(ptr noundef @.str.48)
br label %422
422: ; preds = %420, %414
%423 = load i32, ptr %4, align 4
%424 = sext i32 %423 to i64
%425 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %424
%426 = load i32, ptr %425, align 4
%427 = icmp eq i32 %426, 50
br i1 %427, label %428, label %430
428: ; preds = %422
%429 = call i32 @printf(ptr noundef @.str.49)
br label %430
430: ; preds = %428, %422
%431 = load i32, ptr %4, align 4
%432 = sext i32 %431 to i64
%433 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %432
%434 = load i32, ptr %433, align 4
%435 = icmp eq i32 %434, 51
br i1 %435, label %436, label %438
436: ; preds = %430
%437 = call i32 @printf(ptr noundef @.str.50)
br label %438
438: ; preds = %436, %430
%439 = load i32, ptr %4, align 4
%440 = sext i32 %439 to i64
%441 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %440
%442 = load i32, ptr %441, align 4
%443 = icmp eq i32 %442, 52
br i1 %443, label %444, label %446
444: ; preds = %438
%445 = call i32 @printf(ptr noundef @.str.51)
br label %446
446: ; preds = %444, %438
%447 = load i32, ptr %4, align 4
%448 = sext i32 %447 to i64
%449 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %448
%450 = load i32, ptr %449, align 4
%451 = icmp eq i32 %450, 53
br i1 %451, label %452, label %454
452: ; preds = %446
%453 = call i32 @printf(ptr noundef @.str.52)
br label %454
454: ; preds = %452, %446
%455 = load i32, ptr %4, align 4
%456 = sext i32 %455 to i64
%457 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %456
%458 = load i32, ptr %457, align 4
%459 = icmp eq i32 %458, 54
br i1 %459, label %460, label %462
460: ; preds = %454
%461 = call i32 @printf(ptr noundef @.str.53)
br label %462
462: ; preds = %460, %454
%463 = load i32, ptr %4, align 4
%464 = sext i32 %463 to i64
%465 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %464
%466 = load i32, ptr %465, align 4
%467 = icmp eq i32 %466, 55
br i1 %467, label %468, label %470
468: ; preds = %462
%469 = call i32 @printf(ptr noundef @.str.54)
br label %470
470: ; preds = %468, %462
%471 = load i32, ptr %4, align 4
%472 = sext i32 %471 to i64
%473 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %472
%474 = load i32, ptr %473, align 4
%475 = icmp eq i32 %474, 56
br i1 %475, label %476, label %478
476: ; preds = %470
%477 = call i32 @printf(ptr noundef @.str.55)
br label %478
478: ; preds = %476, %470
%479 = load i32, ptr %4, align 4
%480 = sext i32 %479 to i64
%481 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %480
%482 = load i32, ptr %481, align 4
%483 = icmp eq i32 %482, 57
br i1 %483, label %484, label %486
484: ; preds = %478
%485 = call i32 @printf(ptr noundef @.str.56)
br label %486
486: ; preds = %484, %478
%487 = load i32, ptr %4, align 4
%488 = sext i32 %487 to i64
%489 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %488
%490 = load i32, ptr %489, align 4
%491 = icmp eq i32 %490, 58
br i1 %491, label %492, label %494
492: ; preds = %486
%493 = call i32 @printf(ptr noundef @.str.57)
br label %494
494: ; preds = %492, %486
%495 = load i32, ptr %4, align 4
%496 = sext i32 %495 to i64
%497 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %496
%498 = load i32, ptr %497, align 4
%499 = icmp eq i32 %498, 59
br i1 %499, label %500, label %502
500: ; preds = %494
%501 = call i32 @printf(ptr noundef @.str.58)
br label %502
502: ; preds = %500, %494
%503 = load i32, ptr %4, align 4
%504 = sext i32 %503 to i64
%505 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %504
%506 = load i32, ptr %505, align 4
%507 = icmp eq i32 %506, 60
br i1 %507, label %508, label %510
508: ; preds = %502
%509 = call i32 @printf(ptr noundef @.str.59)
br label %510
510: ; preds = %508, %502
%511 = load i32, ptr %4, align 4
%512 = sext i32 %511 to i64
%513 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %512
%514 = load i32, ptr %513, align 4
%515 = icmp eq i32 %514, 61
br i1 %515, label %516, label %518
516: ; preds = %510
%517 = call i32 @printf(ptr noundef @.str.60)
br label %518
518: ; preds = %516, %510
%519 = load i32, ptr %4, align 4
%520 = sext i32 %519 to i64
%521 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %520
%522 = load i32, ptr %521, align 4
%523 = icmp eq i32 %522, 62
br i1 %523, label %524, label %526
524: ; preds = %518
%525 = call i32 @printf(ptr noundef @.str.61)
br label %526
526: ; preds = %524, %518
%527 = load i32, ptr %4, align 4
%528 = sext i32 %527 to i64
%529 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %528
%530 = load i32, ptr %529, align 4
%531 = icmp eq i32 %530, 63
br i1 %531, label %532, label %534
532: ; preds = %526
%533 = call i32 @printf(ptr noundef @.str.62)
br label %534
534: ; preds = %532, %526
%535 = load i32, ptr %4, align 4
%536 = sext i32 %535 to i64
%537 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %536
%538 = load i32, ptr %537, align 4
%539 = icmp eq i32 %538, 64
br i1 %539, label %540, label %542
540: ; preds = %534
%541 = call i32 @printf(ptr noundef @.str.63)
br label %542
542: ; preds = %540, %534
%543 = load i32, ptr %4, align 4
%544 = sext i32 %543 to i64
%545 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %544
%546 = load i32, ptr %545, align 4
%547 = icmp eq i32 %546, 65
br i1 %547, label %548, label %550
548: ; preds = %542
%549 = call i32 @printf(ptr noundef @.str.64)
br label %550
550: ; preds = %548, %542
%551 = load i32, ptr %4, align 4
%552 = sext i32 %551 to i64
%553 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %552
%554 = load i32, ptr %553, align 4
%555 = icmp eq i32 %554, 66
br i1 %555, label %556, label %558
556: ; preds = %550
%557 = call i32 @printf(ptr noundef @.str.65)
br label %558
558: ; preds = %556, %550
%559 = load i32, ptr %4, align 4
%560 = sext i32 %559 to i64
%561 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %560
%562 = load i32, ptr %561, align 4
%563 = icmp eq i32 %562, 67
br i1 %563, label %564, label %566
564: ; preds = %558
%565 = call i32 @printf(ptr noundef @.str.66)
br label %566
566: ; preds = %564, %558
%567 = load i32, ptr %4, align 4
%568 = sext i32 %567 to i64
%569 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %568
%570 = load i32, ptr %569, align 4
%571 = icmp eq i32 %570, 68
br i1 %571, label %572, label %574
572: ; preds = %566
%573 = call i32 @printf(ptr noundef @.str.67)
br label %574
574: ; preds = %572, %566
%575 = load i32, ptr %4, align 4
%576 = sext i32 %575 to i64
%577 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %576
%578 = load i32, ptr %577, align 4
%579 = icmp eq i32 %578, 69
br i1 %579, label %580, label %582
580: ; preds = %574
%581 = call i32 @printf(ptr noundef @.str.68)
br label %582
582: ; preds = %580, %574
%583 = load i32, ptr %4, align 4
%584 = sext i32 %583 to i64
%585 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %584
%586 = load i32, ptr %585, align 4
%587 = icmp eq i32 %586, 70
br i1 %587, label %588, label %590
588: ; preds = %582
%589 = call i32 @printf(ptr noundef @.str.69)
br label %590
590: ; preds = %588, %582
%591 = load i32, ptr %4, align 4
%592 = sext i32 %591 to i64
%593 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %592
%594 = load i32, ptr %593, align 4
%595 = icmp eq i32 %594, 71
br i1 %595, label %596, label %598
596: ; preds = %590
%597 = call i32 @printf(ptr noundef @.str.70)
br label %598
598: ; preds = %596, %590
%599 = load i32, ptr %4, align 4
%600 = sext i32 %599 to i64
%601 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %600
%602 = load i32, ptr %601, align 4
%603 = icmp eq i32 %602, 72
br i1 %603, label %604, label %606
604: ; preds = %598
%605 = call i32 @printf(ptr noundef @.str.71)
br label %606
606: ; preds = %604, %598
%607 = load i32, ptr %4, align 4
%608 = sext i32 %607 to i64
%609 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %608
%610 = load i32, ptr %609, align 4
%611 = icmp eq i32 %610, 73
br i1 %611, label %612, label %614
612: ; preds = %606
%613 = call i32 @printf(ptr noundef @.str.72)
br label %614
614: ; preds = %612, %606
%615 = load i32, ptr %4, align 4
%616 = sext i32 %615 to i64
%617 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %616
%618 = load i32, ptr %617, align 4
%619 = icmp eq i32 %618, 74
br i1 %619, label %620, label %622
620: ; preds = %614
%621 = call i32 @printf(ptr noundef @.str.73)
br label %622
622: ; preds = %620, %614
%623 = load i32, ptr %4, align 4
%624 = sext i32 %623 to i64
%625 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %624
%626 = load i32, ptr %625, align 4
%627 = icmp eq i32 %626, 75
br i1 %627, label %628, label %630
628: ; preds = %622
%629 = call i32 @printf(ptr noundef @.str.74)
br label %630
630: ; preds = %628, %622
%631 = load i32, ptr %4, align 4
%632 = sext i32 %631 to i64
%633 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %632
%634 = load i32, ptr %633, align 4
%635 = icmp eq i32 %634, 76
br i1 %635, label %636, label %638
636: ; preds = %630
%637 = call i32 @printf(ptr noundef @.str.75)
br label %638
638: ; preds = %636, %630
%639 = load i32, ptr %4, align 4
%640 = sext i32 %639 to i64
%641 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %640
%642 = load i32, ptr %641, align 4
%643 = icmp eq i32 %642, 77
br i1 %643, label %644, label %646
644: ; preds = %638
%645 = call i32 @printf(ptr noundef @.str.76)
br label %646
646: ; preds = %644, %638
%647 = load i32, ptr %4, align 4
%648 = sext i32 %647 to i64
%649 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %648
%650 = load i32, ptr %649, align 4
%651 = icmp eq i32 %650, 78
br i1 %651, label %652, label %654
652: ; preds = %646
%653 = call i32 @printf(ptr noundef @.str.77)
br label %654
654: ; preds = %652, %646
%655 = load i32, ptr %4, align 4
%656 = sext i32 %655 to i64
%657 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %656
%658 = load i32, ptr %657, align 4
%659 = icmp eq i32 %658, 79
br i1 %659, label %660, label %662
660: ; preds = %654
%661 = call i32 @printf(ptr noundef @.str.78)
br label %662
662: ; preds = %660, %654
%663 = load i32, ptr %4, align 4
%664 = sext i32 %663 to i64
%665 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %664
%666 = load i32, ptr %665, align 4
%667 = icmp eq i32 %666, 80
br i1 %667, label %668, label %670
668: ; preds = %662
%669 = call i32 @printf(ptr noundef @.str.79)
br label %670
670: ; preds = %668, %662
%671 = load i32, ptr %4, align 4
%672 = sext i32 %671 to i64
%673 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %672
%674 = load i32, ptr %673, align 4
%675 = icmp eq i32 %674, 81
br i1 %675, label %676, label %678
676: ; preds = %670
%677 = call i32 @printf(ptr noundef @.str.80)
br label %678
678: ; preds = %676, %670
%679 = load i32, ptr %4, align 4
%680 = sext i32 %679 to i64
%681 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %680
%682 = load i32, ptr %681, align 4
%683 = icmp eq i32 %682, 82
br i1 %683, label %684, label %686
684: ; preds = %678
%685 = call i32 @printf(ptr noundef @.str.81)
br label %686
686: ; preds = %684, %678
%687 = load i32, ptr %4, align 4
%688 = sext i32 %687 to i64
%689 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %688
%690 = load i32, ptr %689, align 4
%691 = icmp eq i32 %690, 83
br i1 %691, label %692, label %694
692: ; preds = %686
%693 = call i32 @printf(ptr noundef @.str.82)
br label %694
694: ; preds = %692, %686
%695 = load i32, ptr %4, align 4
%696 = sext i32 %695 to i64
%697 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %696
%698 = load i32, ptr %697, align 4
%699 = icmp eq i32 %698, 84
br i1 %699, label %700, label %702
700: ; preds = %694
%701 = call i32 @printf(ptr noundef @.str.83)
br label %702
702: ; preds = %700, %694
%703 = load i32, ptr %4, align 4
%704 = sext i32 %703 to i64
%705 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %704
%706 = load i32, ptr %705, align 4
%707 = icmp eq i32 %706, 85
br i1 %707, label %708, label %710
708: ; preds = %702
%709 = call i32 @printf(ptr noundef @.str.84)
br label %710
710: ; preds = %708, %702
%711 = load i32, ptr %4, align 4
%712 = sext i32 %711 to i64
%713 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %712
%714 = load i32, ptr %713, align 4
%715 = icmp eq i32 %714, 86
br i1 %715, label %716, label %718
716: ; preds = %710
%717 = call i32 @printf(ptr noundef @.str.85)
br label %718
718: ; preds = %716, %710
%719 = load i32, ptr %4, align 4
%720 = sext i32 %719 to i64
%721 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %720
%722 = load i32, ptr %721, align 4
%723 = icmp eq i32 %722, 87
br i1 %723, label %724, label %726
724: ; preds = %718
%725 = call i32 @printf(ptr noundef @.str.86)
br label %726
726: ; preds = %724, %718
%727 = load i32, ptr %4, align 4
%728 = sext i32 %727 to i64
%729 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %728
%730 = load i32, ptr %729, align 4
%731 = icmp eq i32 %730, 88
br i1 %731, label %732, label %734
732: ; preds = %726
%733 = call i32 @printf(ptr noundef @.str.87)
br label %734
734: ; preds = %732, %726
%735 = load i32, ptr %4, align 4
%736 = sext i32 %735 to i64
%737 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %736
%738 = load i32, ptr %737, align 4
%739 = icmp eq i32 %738, 89
br i1 %739, label %740, label %742
740: ; preds = %734
%741 = call i32 @printf(ptr noundef @.str.88)
br label %742
742: ; preds = %740, %734
%743 = load i32, ptr %4, align 4
%744 = sext i32 %743 to i64
%745 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %744
%746 = load i32, ptr %745, align 4
%747 = icmp eq i32 %746, 90
br i1 %747, label %748, label %750
748: ; preds = %742
%749 = call i32 @printf(ptr noundef @.str.89)
br label %750
750: ; preds = %748, %742
%751 = load i32, ptr %4, align 4
%752 = sext i32 %751 to i64
%753 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %752
%754 = load i32, ptr %753, align 4
%755 = icmp eq i32 %754, 91
br i1 %755, label %756, label %758
756: ; preds = %750
%757 = call i32 @printf(ptr noundef @.str.90)
br label %758
758: ; preds = %756, %750
%759 = load i32, ptr %4, align 4
%760 = sext i32 %759 to i64
%761 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %760
%762 = load i32, ptr %761, align 4
%763 = icmp eq i32 %762, 92
br i1 %763, label %764, label %766
764: ; preds = %758
%765 = call i32 @printf(ptr noundef @.str.91)
br label %766
766: ; preds = %764, %758
%767 = load i32, ptr %4, align 4
%768 = sext i32 %767 to i64
%769 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %768
%770 = load i32, ptr %769, align 4
%771 = icmp eq i32 %770, 93
br i1 %771, label %772, label %774
772: ; preds = %766
%773 = call i32 @printf(ptr noundef @.str.92)
br label %774
774: ; preds = %772, %766
%775 = load i32, ptr %4, align 4
%776 = sext i32 %775 to i64
%777 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %776
%778 = load i32, ptr %777, align 4
%779 = icmp eq i32 %778, 94
br i1 %779, label %780, label %782
780: ; preds = %774
%781 = call i32 @printf(ptr noundef @.str.93)
br label %782
782: ; preds = %780, %774
%783 = load i32, ptr %4, align 4
%784 = sext i32 %783 to i64
%785 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %784
%786 = load i32, ptr %785, align 4
%787 = icmp eq i32 %786, 95
br i1 %787, label %788, label %790
788: ; preds = %782
%789 = call i32 @printf(ptr noundef @.str.94)
br label %790
790: ; preds = %788, %782
%791 = load i32, ptr %4, align 4
%792 = sext i32 %791 to i64
%793 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %792
%794 = load i32, ptr %793, align 4
%795 = icmp eq i32 %794, 96
br i1 %795, label %796, label %798
796: ; preds = %790
%797 = call i32 @printf(ptr noundef @.str.95)
br label %798
798: ; preds = %796, %790
%799 = load i32, ptr %4, align 4
%800 = sext i32 %799 to i64
%801 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %800
%802 = load i32, ptr %801, align 4
%803 = icmp eq i32 %802, 97
br i1 %803, label %804, label %806
804: ; preds = %798
%805 = call i32 @printf(ptr noundef @.str.96)
br label %806
806: ; preds = %804, %798
%807 = load i32, ptr %4, align 4
%808 = sext i32 %807 to i64
%809 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %808
%810 = load i32, ptr %809, align 4
%811 = icmp eq i32 %810, 98
br i1 %811, label %812, label %814
812: ; preds = %806
%813 = call i32 @printf(ptr noundef @.str.97)
br label %814
814: ; preds = %812, %806
%815 = load i32, ptr %4, align 4
%816 = sext i32 %815 to i64
%817 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %816
%818 = load i32, ptr %817, align 4
%819 = icmp eq i32 %818, 99
br i1 %819, label %820, label %822
820: ; preds = %814
%821 = call i32 @printf(ptr noundef @.str.98)
br label %822
822: ; preds = %820, %814
%823 = load i32, ptr %4, align 4
%824 = sext i32 %823 to i64
%825 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %824
%826 = load i32, ptr %825, align 4
%827 = icmp eq i32 %826, 100
br i1 %827, label %828, label %830
828: ; preds = %822
%829 = call i32 @printf(ptr noundef @.str.99)
br label %830
830: ; preds = %828, %822
%831 = call i32 @printf(ptr noundef @.str.100)
br label %832
832: ; preds = %830
%833 = load i32, ptr %4, align 4
%834 = add nsw i32 %833, 1
store i32 %834, ptr %4, align 4
br label %18, !llvm.loop !8
835: ; preds = %18
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4qsizfc1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"4\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"6\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"24\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"120\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"720\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"5040\00", align 1
@.str.8 = private unnamed_addr constant [7 x i8] c"362880\00", align 1
@.str.9 = private unnamed_addr constant [8 x i8] c"3628800\00", align 1
@.str.10 = private unnamed_addr constant [9 x i8] c"39916800\00", align 1
@.str.11 = private unnamed_addr constant [10 x i8] c"479001600\00", align 1
@.str.12 = private unnamed_addr constant [11 x i8] c"6227020800\00", align 1
@.str.13 = private unnamed_addr constant [12 x i8] c"87178291200\00", align 1
@.str.14 = private unnamed_addr constant [14 x i8] c"1307674368000\00", align 1
@.str.15 = private unnamed_addr constant [15 x i8] c"20922789888000\00", align 1
@.str.16 = private unnamed_addr constant [16 x i8] c"355687428096000\00", align 1
@.str.17 = private unnamed_addr constant [17 x i8] c"6402373705728000\00", align 1
@.str.18 = private unnamed_addr constant [19 x i8] c"121645100408832000\00", align 1
@.str.19 = private unnamed_addr constant [20 x i8] c"2432902008176640000\00", align 1
@.str.20 = private unnamed_addr constant [21 x i8] c"51090942171709440000\00", align 1
@.str.21 = private unnamed_addr constant [23 x i8] c"1124000727777607680000\00", align 1
@.str.22 = private unnamed_addr constant [24 x i8] c"25852016738884976640000\00", align 1
@.str.23 = private unnamed_addr constant [25 x i8] c"620448401733239439360000\00", align 1
@.str.24 = private unnamed_addr constant [27 x i8] c"15511210043330985984000000\00", align 1
@.str.25 = private unnamed_addr constant [28 x i8] c"403291461126605635584000000\00", align 1
@.str.26 = private unnamed_addr constant [30 x i8] c"10888869450418352160768000000\00", align 1
@.str.27 = private unnamed_addr constant [31 x i8] c"304888344611713860501504000000\00", align 1
@.str.28 = private unnamed_addr constant [32 x i8] c"8841761993739701954543616000000\00", align 1
@.str.29 = private unnamed_addr constant [34 x i8] c"265252859812191058636308480000000\00", align 1
@.str.30 = private unnamed_addr constant [35 x i8] c"8222838654177922817725562880000000\00", align 1
@.str.31 = private unnamed_addr constant [37 x i8] c"263130836933693530167218012160000000\00", align 1
@.str.32 = private unnamed_addr constant [38 x i8] c"8683317618811886495518194401280000000\00", align 1
@.str.33 = private unnamed_addr constant [40 x i8] c"295232799039604140847618609643520000000\00", align 1
@.str.34 = private unnamed_addr constant [42 x i8] c"10333147966386144929666651337523200000000\00", align 1
@.str.35 = private unnamed_addr constant [43 x i8] c"371993326789901217467999448150835200000000\00", align 1
@.str.36 = private unnamed_addr constant [45 x i8] c"13763753091226345046315979581580902400000000\00", align 1
@.str.37 = private unnamed_addr constant [46 x i8] c"523022617466601111760007224100074291200000000\00", align 1
@.str.38 = private unnamed_addr constant [48 x i8] c"20397882081197443358640281739902897356800000000\00", align 1
@.str.39 = private unnamed_addr constant [49 x i8] c"815915283247897734345611269596115894272000000000\00", align 1
@.str.40 = private unnamed_addr constant [51 x i8] c"33452526613163807108170062053440751665152000000000\00", align 1
@.str.41 = private unnamed_addr constant [53 x i8] c"1405006117752879898543142606244511569936384000000000\00", align 1
@.str.42 = private unnamed_addr constant [54 x i8] c"60415263063373835637355132068513997507264512000000000\00", align 1
@.str.43 = private unnamed_addr constant [56 x i8] c"2658271574788448768043625811014615890319638528000000000\00", align 1
@.str.44 = private unnamed_addr constant [58 x i8] c"119622220865480194561963161495657715064383733760000000000\00", align 1
@.str.45 = private unnamed_addr constant [59 x i8] c"5502622159812088949850305428800254892961651752960000000000\00", align 1
@.str.46 = private unnamed_addr constant [61 x i8] c"258623241511168180642964355153611979969197632389120000000000\00", align 1
@.str.47 = private unnamed_addr constant [63 x i8] c"12413915592536072670862289047373375038521486354677760000000000\00", align 1
@.str.48 = private unnamed_addr constant [64 x i8] c"608281864034267560872252163321295376887552831379210240000000000\00", align 1
@.str.49 = private unnamed_addr constant [66 x i8] c"30414093201713378043612608166064768844377641568960512000000000000\00", align 1
@.str.50 = private unnamed_addr constant [68 x i8] c"1551118753287382280224243016469303211063259720016986112000000000000\00", align 1
@.str.51 = private unnamed_addr constant [69 x i8] c"80658175170943878571660636856403766975289505440883277824000000000000\00", align 1
@.str.52 = private unnamed_addr constant [71 x i8] c"4274883284060025564298013753389399649690343788366813724672000000000000\00", align 1
@.str.53 = private unnamed_addr constant [73 x i8] c"230843697339241380472092742683027581083278564571807941132288000000000000\00", align 1
@.str.54 = private unnamed_addr constant [75 x i8] c"12696403353658275925965100847566516959580321051449436762275840000000000000\00", align 1
@.str.55 = private unnamed_addr constant [76 x i8] c"710998587804863451854045647463724949736497978881168458687447040000000000000\00", align 1
@.str.56 = private unnamed_addr constant [78 x i8] c"40526919504877216755680601905432322134980384796226602145184481280000000000000\00", align 1
@.str.57 = private unnamed_addr constant [80 x i8] c"2350561331282878571829474910515074683828862318181142924420699914240000000000000\00", align 1
@.str.58 = private unnamed_addr constant [82 x i8] c"138683118545689835737939019720389406345902876772687432540821294940160000000000000\00", align 1
@.str.59 = private unnamed_addr constant [83 x i8] c"8320987112741390144276341183223364380754172606361245952449277696409600000000000000\00", align 1
@.str.60 = private unnamed_addr constant [85 x i8] c"507580213877224798800856812176625227226004528988036003099405939480985600000000000000\00", align 1
@.str.61 = private unnamed_addr constant [87 x i8] c"31469973260387937525653122354950764088012280797258232192163168247821107200000000000000\00", align 1
@.str.62 = private unnamed_addr constant [89 x i8] c"1982608315404440064116146708361898137544773690227268628106279599612729753600000000000000\00", align 1
@.str.63 = private unnamed_addr constant [91 x i8] c"126886932185884164103433389335161480802865516174545192198801894375214704230400000000000000\00", align 1
@.str.64 = private unnamed_addr constant [92 x i8] c"8247650592082470666723170306785496252186258551345437492922123134388955774976000000000000000\00", align 1
@.str.65 = private unnamed_addr constant [94 x i8] c"544344939077443064003729240247842752644293064388798874532860126869671081148416000000000000000\00", align 1
@.str.66 = private unnamed_addr constant [96 x i8] c"36471110918188685288249859096605464427167635314049524593701628500267962436943872000000000000000\00", align 1
@.str.67 = private unnamed_addr constant [98 x i8] c"2480035542436830599600990418569171581047399201355367672371710738018221445712183296000000000000000\00", align 1
@.str.68 = private unnamed_addr constant [100 x i8] c"171122452428141311372468338881272839092270544893520369393648040923257279754140647424000000000000000\00", align 1
@.str.69 = private unnamed_addr constant [102 x i8] c"11978571669969891796072783721689098736458938142546425857555362864628009582789845319680000000000000000\00", align 1
@.str.70 = private unnamed_addr constant [103 x i8] c"850478588567862317521167644239926010288584608120796235886430763388588680378079017697280000000000000000\00", align 1
@.str.71 = private unnamed_addr constant [105 x i8] c"61234458376886086861524070385274672740778091784697328983823014963978384987221689274204160000000000000000\00", align 1
@.str.72 = private unnamed_addr constant [107 x i8] c"4470115461512684340891257138125051110076800700282905015819080092370422104067183317016903680000000000000000\00", align 1
@.str.73 = private unnamed_addr constant [109 x i8] c"330788544151938641225953028221253782145683251820934971170611926835411235700971565459250872320000000000000000\00", align 1
@.str.74 = private unnamed_addr constant [111 x i8] c"24809140811395398091946477116594033660926243886570122837795894512655842677572867409443815424000000000000000000\00", align 1
@.str.75 = private unnamed_addr constant [113 x i8] c"1885494701666050254987932260861146558230394535379329335672487982961844043495537923117729972224000000000000000000\00", align 1
@.str.76 = private unnamed_addr constant [115 x i8] c"145183092028285869634070784086308284983740379224208358846781574688061991349156420080065207861248000000000000000000\00", align 1
@.str.77 = private unnamed_addr constant [117 x i8] c"11324281178206297831457521158732046228731749579488251990048962825668835325234200766245086213177344000000000000000000\00", align 1
@.str.78 = private unnamed_addr constant [118 x i8] c"894618213078297528685144171539831652069808216779571907213868063227837990693501860533361810841010176000000000000000000\00", align 1
@.str.79 = private unnamed_addr constant [120 x i8] c"71569457046263802294811533723186532165584657342365752577109445058227039255480148842668944867280814080000000000000000000\00", align 1
@.str.80 = private unnamed_addr constant [122 x i8] c"5797126020747367985879734231578109105412357244731625958745865049716390179693892056256184534249745940480000000000000000000\00", align 1
@.str.81 = private unnamed_addr constant [124 x i8] c"475364333701284174842138206989404946643813294067993328617160934076743994734899148613007131808479167119360000000000000000000\00", align 1
@.str.82 = private unnamed_addr constant [126 x i8] c"39455239697206586511897471180120610571436503407643446275224357528369751562996629334879591940103770870906880000000000000000000\00", align 1
@.str.83 = private unnamed_addr constant [128 x i8] c"3314240134565353266999387579130131288000666286242049487118846032383059131291716864129885722968716753156177920000000000000000000\00", align 1
@.str.84 = private unnamed_addr constant [130 x i8] c"281710411438055027694947944226061159480056634330574206405101912752560026159795933451040286452340924018275123200000000000000000000\00", align 1
@.str.85 = private unnamed_addr constant [132 x i8] c"24227095383672732381765523203441259715284870552429381750838764496720162249742450276789464634901319465571660595200000000000000000000\00", align 1
@.str.86 = private unnamed_addr constant [134 x i8] c"2107757298379527717213600518699389595229783738061356212322972511214654115727593174080683423236414793504734471782400000000000000000000\00", align 1
@.str.87 = private unnamed_addr constant [136 x i8] c"185482642257398439114796845645546284380220968949399346684421580986889562184028199319100141244804501828416633516851200000000000000000000\00", align 1
@.str.88 = private unnamed_addr constant [138 x i8] c"16507955160908461081216919262453619309839666236496541854913520707833171034378509739399912570787600662729080382999756800000000000000000000\00", align 1
@.str.89 = private unnamed_addr constant [140 x i8] c"1485715964481761497309522733620825737885569961284688766942216863704985393094065876545992131370884059645617234469978112000000000000000000000\00", align 1
@.str.90 = private unnamed_addr constant [142 x i8] c"135200152767840296255166568759495142147586866476906677791741734597153670771559994765685283954750449427751168336768008192000000000000000000000\00", align 1
@.str.91 = private unnamed_addr constant [144 x i8] c"12438414054641307255475324325873553077577991715875414356840239582938137710983519518443046123837041347353107486982656753664000000000000000000000\00", align 1
@.str.92 = private unnamed_addr constant [146 x i8] c"1156772507081641574759205162306240436214753229576413535186142281213246807121467315215203289516844845303838996289387078090752000000000000000000000\00", align 1
@.str.93 = private unnamed_addr constant [148 x i8] c"108736615665674308027365285256786601004186803580182872307497374434045199869417927630229109214583415458560865651202385340530688000000000000000000000\00", align 1
@.str.94 = private unnamed_addr constant [150 x i8] c"10329978488239059262599702099394727095397746340117372869212250571234293987594703124871765375385424468563282236864226607350415360000000000000000000000\00", align 1
@.str.95 = private unnamed_addr constant [151 x i8] c"991677934870949689209571401541893801158183648651267795444376054838492222809091499987689476037000748982075094738965754305639874560000000000000000000000\00", align 1
@.str.96 = private unnamed_addr constant [153 x i8] c"96192759682482119853328425949563698712343813919172976158104477319333745612481875498805879175589072651261284189679678167647067832320000000000000000000000\00", align 1
@.str.97 = private unnamed_addr constant [155 x i8] c"9426890448883247745626185743057242473809693764078951663494238777294707070023223798882976159207729119823605850588608460429412647567360000000000000000000000\00", align 1
@.str.98 = private unnamed_addr constant [157 x i8] c"933262154439441526816992388562667004907159682643816214685929638952175999932299156089414639761565182862536979208272237582511852109168640000000000000000000000\00", align 1
@.str.99 = private unnamed_addr constant [159 x i8] c"93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000\00", align 1
@.str.100 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [101 x i32], align 16
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %11
%13 = call i32 @scanf(ptr noundef @.str, ptr noundef %12)
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %19
19: ; preds = %._crit_edge, %0
store i32 0, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph2, label %839
.lr.ph2: ; preds = %19
br label %23
23: ; preds = %.lr.ph2, %833
%24 = load i32, ptr %4, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %23
%30 = call i32 @printf(ptr noundef @.str.1)
br label %31
31: ; preds = %29, %23
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = icmp eq i32 %35, 1
br i1 %36, label %37, label %39
37: ; preds = %31
%38 = call i32 @printf(ptr noundef @.str.1)
br label %39
39: ; preds = %37, %31
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %41
%43 = load i32, ptr %42, align 4
%44 = icmp eq i32 %43, 2
br i1 %44, label %45, label %47
45: ; preds = %39
%46 = call i32 @printf(ptr noundef @.str.2)
br label %47
47: ; preds = %45, %39
%48 = load i32, ptr %4, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %49
%51 = load i32, ptr %50, align 4
%52 = icmp eq i32 %51, 3
br i1 %52, label %53, label %55
53: ; preds = %47
%54 = call i32 @printf(ptr noundef @.str.3)
br label %55
55: ; preds = %53, %47
%56 = load i32, ptr %4, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %57
%59 = load i32, ptr %58, align 4
%60 = icmp eq i32 %59, 4
br i1 %60, label %61, label %63
61: ; preds = %55
%62 = call i32 @printf(ptr noundef @.str.4)
br label %63
63: ; preds = %61, %55
%64 = load i32, ptr %4, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %65
%67 = load i32, ptr %66, align 4
%68 = icmp eq i32 %67, 5
br i1 %68, label %69, label %71
69: ; preds = %63
%70 = call i32 @printf(ptr noundef @.str.5)
br label %71
71: ; preds = %69, %63
%72 = load i32, ptr %4, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %73
%75 = load i32, ptr %74, align 4
%76 = icmp eq i32 %75, 6
br i1 %76, label %77, label %79
77: ; preds = %71
%78 = call i32 @printf(ptr noundef @.str.6)
br label %79
79: ; preds = %77, %71
%80 = load i32, ptr %4, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %81
%83 = load i32, ptr %82, align 4
%84 = icmp eq i32 %83, 7
br i1 %84, label %85, label %87
85: ; preds = %79
%86 = call i32 @printf(ptr noundef @.str.7)
br label %87
87: ; preds = %85, %79
%88 = load i32, ptr %4, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %89
%91 = load i32, ptr %90, align 4
%92 = icmp eq i32 %91, 8
br i1 %92, label %93, label %95
93: ; preds = %87
%94 = call i32 @printf(ptr noundef @.str.8)
br label %95
95: ; preds = %93, %87
%96 = load i32, ptr %4, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %97
%99 = load i32, ptr %98, align 4
%100 = icmp eq i32 %99, 10
br i1 %100, label %101, label %103
101: ; preds = %95
%102 = call i32 @printf(ptr noundef @.str.9)
br label %103
103: ; preds = %101, %95
%104 = load i32, ptr %4, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %105
%107 = load i32, ptr %106, align 4
%108 = icmp eq i32 %107, 9
br i1 %108, label %109, label %111
109: ; preds = %103
%110 = call i32 @printf(ptr noundef @.str.8)
br label %111
111: ; preds = %109, %103
%112 = load i32, ptr %4, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %113
%115 = load i32, ptr %114, align 4
%116 = icmp eq i32 %115, 11
br i1 %116, label %117, label %119
117: ; preds = %111
%118 = call i32 @printf(ptr noundef @.str.10)
br label %119
119: ; preds = %117, %111
%120 = load i32, ptr %4, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %121
%123 = load i32, ptr %122, align 4
%124 = icmp eq i32 %123, 12
br i1 %124, label %125, label %127
125: ; preds = %119
%126 = call i32 @printf(ptr noundef @.str.11)
br label %127
127: ; preds = %125, %119
%128 = load i32, ptr %4, align 4
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %129
%131 = load i32, ptr %130, align 4
%132 = icmp eq i32 %131, 13
br i1 %132, label %133, label %135
133: ; preds = %127
%134 = call i32 @printf(ptr noundef @.str.12)
br label %135
135: ; preds = %133, %127
%136 = load i32, ptr %4, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %137
%139 = load i32, ptr %138, align 4
%140 = icmp eq i32 %139, 14
br i1 %140, label %141, label %143
141: ; preds = %135
%142 = call i32 @printf(ptr noundef @.str.13)
br label %143
143: ; preds = %141, %135
%144 = load i32, ptr %4, align 4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %145
%147 = load i32, ptr %146, align 4
%148 = icmp eq i32 %147, 15
br i1 %148, label %149, label %151
149: ; preds = %143
%150 = call i32 @printf(ptr noundef @.str.14)
br label %151
151: ; preds = %149, %143
%152 = load i32, ptr %4, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %153
%155 = load i32, ptr %154, align 4
%156 = icmp eq i32 %155, 16
br i1 %156, label %157, label %159
157: ; preds = %151
%158 = call i32 @printf(ptr noundef @.str.15)
br label %159
159: ; preds = %157, %151
%160 = load i32, ptr %4, align 4
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %161
%163 = load i32, ptr %162, align 4
%164 = icmp eq i32 %163, 17
br i1 %164, label %165, label %167
165: ; preds = %159
%166 = call i32 @printf(ptr noundef @.str.16)
br label %167
167: ; preds = %165, %159
%168 = load i32, ptr %4, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %169
%171 = load i32, ptr %170, align 4
%172 = icmp eq i32 %171, 18
br i1 %172, label %173, label %175
173: ; preds = %167
%174 = call i32 @printf(ptr noundef @.str.17)
br label %175
175: ; preds = %173, %167
%176 = load i32, ptr %4, align 4
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %177
%179 = load i32, ptr %178, align 4
%180 = icmp eq i32 %179, 19
br i1 %180, label %181, label %183
181: ; preds = %175
%182 = call i32 @printf(ptr noundef @.str.18)
br label %183
183: ; preds = %181, %175
%184 = load i32, ptr %4, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %185
%187 = load i32, ptr %186, align 4
%188 = icmp eq i32 %187, 20
br i1 %188, label %189, label %191
189: ; preds = %183
%190 = call i32 @printf(ptr noundef @.str.19)
br label %191
191: ; preds = %189, %183
%192 = load i32, ptr %4, align 4
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %193
%195 = load i32, ptr %194, align 4
%196 = icmp eq i32 %195, 21
br i1 %196, label %197, label %199
197: ; preds = %191
%198 = call i32 @printf(ptr noundef @.str.20)
br label %199
199: ; preds = %197, %191
%200 = load i32, ptr %4, align 4
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %201
%203 = load i32, ptr %202, align 4
%204 = icmp eq i32 %203, 22
br i1 %204, label %205, label %207
205: ; preds = %199
%206 = call i32 @printf(ptr noundef @.str.21)
br label %207
207: ; preds = %205, %199
%208 = load i32, ptr %4, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %209
%211 = load i32, ptr %210, align 4
%212 = icmp eq i32 %211, 23
br i1 %212, label %213, label %215
213: ; preds = %207
%214 = call i32 @printf(ptr noundef @.str.22)
br label %215
215: ; preds = %213, %207
%216 = load i32, ptr %4, align 4
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %217
%219 = load i32, ptr %218, align 4
%220 = icmp eq i32 %219, 24
br i1 %220, label %221, label %223
221: ; preds = %215
%222 = call i32 @printf(ptr noundef @.str.23)
br label %223
223: ; preds = %221, %215
%224 = load i32, ptr %4, align 4
%225 = sext i32 %224 to i64
%226 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %225
%227 = load i32, ptr %226, align 4
%228 = icmp eq i32 %227, 25
br i1 %228, label %229, label %231
229: ; preds = %223
%230 = call i32 @printf(ptr noundef @.str.24)
br label %231
231: ; preds = %229, %223
%232 = load i32, ptr %4, align 4
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %233
%235 = load i32, ptr %234, align 4
%236 = icmp eq i32 %235, 26
br i1 %236, label %237, label %239
237: ; preds = %231
%238 = call i32 @printf(ptr noundef @.str.25)
br label %239
239: ; preds = %237, %231
%240 = load i32, ptr %4, align 4
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %241
%243 = load i32, ptr %242, align 4
%244 = icmp eq i32 %243, 27
br i1 %244, label %245, label %247
245: ; preds = %239
%246 = call i32 @printf(ptr noundef @.str.26)
br label %247
247: ; preds = %245, %239
%248 = load i32, ptr %4, align 4
%249 = sext i32 %248 to i64
%250 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %249
%251 = load i32, ptr %250, align 4
%252 = icmp eq i32 %251, 28
br i1 %252, label %253, label %255
253: ; preds = %247
%254 = call i32 @printf(ptr noundef @.str.27)
br label %255
255: ; preds = %253, %247
%256 = load i32, ptr %4, align 4
%257 = sext i32 %256 to i64
%258 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %257
%259 = load i32, ptr %258, align 4
%260 = icmp eq i32 %259, 29
br i1 %260, label %261, label %263
261: ; preds = %255
%262 = call i32 @printf(ptr noundef @.str.28)
br label %263
263: ; preds = %261, %255
%264 = load i32, ptr %4, align 4
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %265
%267 = load i32, ptr %266, align 4
%268 = icmp eq i32 %267, 30
br i1 %268, label %269, label %271
269: ; preds = %263
%270 = call i32 @printf(ptr noundef @.str.29)
br label %271
271: ; preds = %269, %263
%272 = load i32, ptr %4, align 4
%273 = sext i32 %272 to i64
%274 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %273
%275 = load i32, ptr %274, align 4
%276 = icmp eq i32 %275, 31
br i1 %276, label %277, label %279
277: ; preds = %271
%278 = call i32 @printf(ptr noundef @.str.30)
br label %279
279: ; preds = %277, %271
%280 = load i32, ptr %4, align 4
%281 = sext i32 %280 to i64
%282 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %281
%283 = load i32, ptr %282, align 4
%284 = icmp eq i32 %283, 32
br i1 %284, label %285, label %287
285: ; preds = %279
%286 = call i32 @printf(ptr noundef @.str.31)
br label %287
287: ; preds = %285, %279
%288 = load i32, ptr %4, align 4
%289 = sext i32 %288 to i64
%290 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %289
%291 = load i32, ptr %290, align 4
%292 = icmp eq i32 %291, 33
br i1 %292, label %293, label %295
293: ; preds = %287
%294 = call i32 @printf(ptr noundef @.str.32)
br label %295
295: ; preds = %293, %287
%296 = load i32, ptr %4, align 4
%297 = sext i32 %296 to i64
%298 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %297
%299 = load i32, ptr %298, align 4
%300 = icmp eq i32 %299, 34
br i1 %300, label %301, label %303
301: ; preds = %295
%302 = call i32 @printf(ptr noundef @.str.33)
br label %303
303: ; preds = %301, %295
%304 = load i32, ptr %4, align 4
%305 = sext i32 %304 to i64
%306 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %305
%307 = load i32, ptr %306, align 4
%308 = icmp eq i32 %307, 35
br i1 %308, label %309, label %311
309: ; preds = %303
%310 = call i32 @printf(ptr noundef @.str.34)
br label %311
311: ; preds = %309, %303
%312 = load i32, ptr %4, align 4
%313 = sext i32 %312 to i64
%314 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %313
%315 = load i32, ptr %314, align 4
%316 = icmp eq i32 %315, 36
br i1 %316, label %317, label %319
317: ; preds = %311
%318 = call i32 @printf(ptr noundef @.str.35)
br label %319
319: ; preds = %317, %311
%320 = load i32, ptr %4, align 4
%321 = sext i32 %320 to i64
%322 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %321
%323 = load i32, ptr %322, align 4
%324 = icmp eq i32 %323, 37
br i1 %324, label %325, label %327
325: ; preds = %319
%326 = call i32 @printf(ptr noundef @.str.36)
br label %327
327: ; preds = %325, %319
%328 = load i32, ptr %4, align 4
%329 = sext i32 %328 to i64
%330 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %329
%331 = load i32, ptr %330, align 4
%332 = icmp eq i32 %331, 38
br i1 %332, label %333, label %335
333: ; preds = %327
%334 = call i32 @printf(ptr noundef @.str.37)
br label %335
335: ; preds = %333, %327
%336 = load i32, ptr %4, align 4
%337 = sext i32 %336 to i64
%338 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %337
%339 = load i32, ptr %338, align 4
%340 = icmp eq i32 %339, 39
br i1 %340, label %341, label %343
341: ; preds = %335
%342 = call i32 @printf(ptr noundef @.str.38)
br label %343
343: ; preds = %341, %335
%344 = load i32, ptr %4, align 4
%345 = sext i32 %344 to i64
%346 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %345
%347 = load i32, ptr %346, align 4
%348 = icmp eq i32 %347, 40
br i1 %348, label %349, label %351
349: ; preds = %343
%350 = call i32 @printf(ptr noundef @.str.39)
br label %351
351: ; preds = %349, %343
%352 = load i32, ptr %4, align 4
%353 = sext i32 %352 to i64
%354 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %353
%355 = load i32, ptr %354, align 4
%356 = icmp eq i32 %355, 41
br i1 %356, label %357, label %359
357: ; preds = %351
%358 = call i32 @printf(ptr noundef @.str.40)
br label %359
359: ; preds = %357, %351
%360 = load i32, ptr %4, align 4
%361 = sext i32 %360 to i64
%362 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %361
%363 = load i32, ptr %362, align 4
%364 = icmp eq i32 %363, 42
br i1 %364, label %365, label %367
365: ; preds = %359
%366 = call i32 @printf(ptr noundef @.str.41)
br label %367
367: ; preds = %365, %359
%368 = load i32, ptr %4, align 4
%369 = sext i32 %368 to i64
%370 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %369
%371 = load i32, ptr %370, align 4
%372 = icmp eq i32 %371, 43
br i1 %372, label %373, label %375
373: ; preds = %367
%374 = call i32 @printf(ptr noundef @.str.42)
br label %375
375: ; preds = %373, %367
%376 = load i32, ptr %4, align 4
%377 = sext i32 %376 to i64
%378 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %377
%379 = load i32, ptr %378, align 4
%380 = icmp eq i32 %379, 44
br i1 %380, label %381, label %383
381: ; preds = %375
%382 = call i32 @printf(ptr noundef @.str.43)
br label %383
383: ; preds = %381, %375
%384 = load i32, ptr %4, align 4
%385 = sext i32 %384 to i64
%386 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %385
%387 = load i32, ptr %386, align 4
%388 = icmp eq i32 %387, 45
br i1 %388, label %389, label %391
389: ; preds = %383
%390 = call i32 @printf(ptr noundef @.str.44)
br label %391
391: ; preds = %389, %383
%392 = load i32, ptr %4, align 4
%393 = sext i32 %392 to i64
%394 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %393
%395 = load i32, ptr %394, align 4
%396 = icmp eq i32 %395, 46
br i1 %396, label %397, label %399
397: ; preds = %391
%398 = call i32 @printf(ptr noundef @.str.45)
br label %399
399: ; preds = %397, %391
%400 = load i32, ptr %4, align 4
%401 = sext i32 %400 to i64
%402 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %401
%403 = load i32, ptr %402, align 4
%404 = icmp eq i32 %403, 47
br i1 %404, label %405, label %407
405: ; preds = %399
%406 = call i32 @printf(ptr noundef @.str.46)
br label %407
407: ; preds = %405, %399
%408 = load i32, ptr %4, align 4
%409 = sext i32 %408 to i64
%410 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %409
%411 = load i32, ptr %410, align 4
%412 = icmp eq i32 %411, 48
br i1 %412, label %413, label %415
413: ; preds = %407
%414 = call i32 @printf(ptr noundef @.str.47)
br label %415
415: ; preds = %413, %407
%416 = load i32, ptr %4, align 4
%417 = sext i32 %416 to i64
%418 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %417
%419 = load i32, ptr %418, align 4
%420 = icmp eq i32 %419, 49
br i1 %420, label %421, label %423
421: ; preds = %415
%422 = call i32 @printf(ptr noundef @.str.48)
br label %423
423: ; preds = %421, %415
%424 = load i32, ptr %4, align 4
%425 = sext i32 %424 to i64
%426 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %425
%427 = load i32, ptr %426, align 4
%428 = icmp eq i32 %427, 50
br i1 %428, label %429, label %431
429: ; preds = %423
%430 = call i32 @printf(ptr noundef @.str.49)
br label %431
431: ; preds = %429, %423
%432 = load i32, ptr %4, align 4
%433 = sext i32 %432 to i64
%434 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %433
%435 = load i32, ptr %434, align 4
%436 = icmp eq i32 %435, 51
br i1 %436, label %437, label %439
437: ; preds = %431
%438 = call i32 @printf(ptr noundef @.str.50)
br label %439
439: ; preds = %437, %431
%440 = load i32, ptr %4, align 4
%441 = sext i32 %440 to i64
%442 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %441
%443 = load i32, ptr %442, align 4
%444 = icmp eq i32 %443, 52
br i1 %444, label %445, label %447
445: ; preds = %439
%446 = call i32 @printf(ptr noundef @.str.51)
br label %447
447: ; preds = %445, %439
%448 = load i32, ptr %4, align 4
%449 = sext i32 %448 to i64
%450 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %449
%451 = load i32, ptr %450, align 4
%452 = icmp eq i32 %451, 53
br i1 %452, label %453, label %455
453: ; preds = %447
%454 = call i32 @printf(ptr noundef @.str.52)
br label %455
455: ; preds = %453, %447
%456 = load i32, ptr %4, align 4
%457 = sext i32 %456 to i64
%458 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %457
%459 = load i32, ptr %458, align 4
%460 = icmp eq i32 %459, 54
br i1 %460, label %461, label %463
461: ; preds = %455
%462 = call i32 @printf(ptr noundef @.str.53)
br label %463
463: ; preds = %461, %455
%464 = load i32, ptr %4, align 4
%465 = sext i32 %464 to i64
%466 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %465
%467 = load i32, ptr %466, align 4
%468 = icmp eq i32 %467, 55
br i1 %468, label %469, label %471
469: ; preds = %463
%470 = call i32 @printf(ptr noundef @.str.54)
br label %471
471: ; preds = %469, %463
%472 = load i32, ptr %4, align 4
%473 = sext i32 %472 to i64
%474 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %473
%475 = load i32, ptr %474, align 4
%476 = icmp eq i32 %475, 56
br i1 %476, label %477, label %479
477: ; preds = %471
%478 = call i32 @printf(ptr noundef @.str.55)
br label %479
479: ; preds = %477, %471
%480 = load i32, ptr %4, align 4
%481 = sext i32 %480 to i64
%482 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %481
%483 = load i32, ptr %482, align 4
%484 = icmp eq i32 %483, 57
br i1 %484, label %485, label %487
485: ; preds = %479
%486 = call i32 @printf(ptr noundef @.str.56)
br label %487
487: ; preds = %485, %479
%488 = load i32, ptr %4, align 4
%489 = sext i32 %488 to i64
%490 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %489
%491 = load i32, ptr %490, align 4
%492 = icmp eq i32 %491, 58
br i1 %492, label %493, label %495
493: ; preds = %487
%494 = call i32 @printf(ptr noundef @.str.57)
br label %495
495: ; preds = %493, %487
%496 = load i32, ptr %4, align 4
%497 = sext i32 %496 to i64
%498 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %497
%499 = load i32, ptr %498, align 4
%500 = icmp eq i32 %499, 59
br i1 %500, label %501, label %503
501: ; preds = %495
%502 = call i32 @printf(ptr noundef @.str.58)
br label %503
503: ; preds = %501, %495
%504 = load i32, ptr %4, align 4
%505 = sext i32 %504 to i64
%506 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %505
%507 = load i32, ptr %506, align 4
%508 = icmp eq i32 %507, 60
br i1 %508, label %509, label %511
509: ; preds = %503
%510 = call i32 @printf(ptr noundef @.str.59)
br label %511
511: ; preds = %509, %503
%512 = load i32, ptr %4, align 4
%513 = sext i32 %512 to i64
%514 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %513
%515 = load i32, ptr %514, align 4
%516 = icmp eq i32 %515, 61
br i1 %516, label %517, label %519
517: ; preds = %511
%518 = call i32 @printf(ptr noundef @.str.60)
br label %519
519: ; preds = %517, %511
%520 = load i32, ptr %4, align 4
%521 = sext i32 %520 to i64
%522 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %521
%523 = load i32, ptr %522, align 4
%524 = icmp eq i32 %523, 62
br i1 %524, label %525, label %527
525: ; preds = %519
%526 = call i32 @printf(ptr noundef @.str.61)
br label %527
527: ; preds = %525, %519
%528 = load i32, ptr %4, align 4
%529 = sext i32 %528 to i64
%530 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %529
%531 = load i32, ptr %530, align 4
%532 = icmp eq i32 %531, 63
br i1 %532, label %533, label %535
533: ; preds = %527
%534 = call i32 @printf(ptr noundef @.str.62)
br label %535
535: ; preds = %533, %527
%536 = load i32, ptr %4, align 4
%537 = sext i32 %536 to i64
%538 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %537
%539 = load i32, ptr %538, align 4
%540 = icmp eq i32 %539, 64
br i1 %540, label %541, label %543
541: ; preds = %535
%542 = call i32 @printf(ptr noundef @.str.63)
br label %543
543: ; preds = %541, %535
%544 = load i32, ptr %4, align 4
%545 = sext i32 %544 to i64
%546 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %545
%547 = load i32, ptr %546, align 4
%548 = icmp eq i32 %547, 65
br i1 %548, label %549, label %551
549: ; preds = %543
%550 = call i32 @printf(ptr noundef @.str.64)
br label %551
551: ; preds = %549, %543
%552 = load i32, ptr %4, align 4
%553 = sext i32 %552 to i64
%554 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %553
%555 = load i32, ptr %554, align 4
%556 = icmp eq i32 %555, 66
br i1 %556, label %557, label %559
557: ; preds = %551
%558 = call i32 @printf(ptr noundef @.str.65)
br label %559
559: ; preds = %557, %551
%560 = load i32, ptr %4, align 4
%561 = sext i32 %560 to i64
%562 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %561
%563 = load i32, ptr %562, align 4
%564 = icmp eq i32 %563, 67
br i1 %564, label %565, label %567
565: ; preds = %559
%566 = call i32 @printf(ptr noundef @.str.66)
br label %567
567: ; preds = %565, %559
%568 = load i32, ptr %4, align 4
%569 = sext i32 %568 to i64
%570 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %569
%571 = load i32, ptr %570, align 4
%572 = icmp eq i32 %571, 68
br i1 %572, label %573, label %575
573: ; preds = %567
%574 = call i32 @printf(ptr noundef @.str.67)
br label %575
575: ; preds = %573, %567
%576 = load i32, ptr %4, align 4
%577 = sext i32 %576 to i64
%578 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %577
%579 = load i32, ptr %578, align 4
%580 = icmp eq i32 %579, 69
br i1 %580, label %581, label %583
581: ; preds = %575
%582 = call i32 @printf(ptr noundef @.str.68)
br label %583
583: ; preds = %581, %575
%584 = load i32, ptr %4, align 4
%585 = sext i32 %584 to i64
%586 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %585
%587 = load i32, ptr %586, align 4
%588 = icmp eq i32 %587, 70
br i1 %588, label %589, label %591
589: ; preds = %583
%590 = call i32 @printf(ptr noundef @.str.69)
br label %591
591: ; preds = %589, %583
%592 = load i32, ptr %4, align 4
%593 = sext i32 %592 to i64
%594 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %593
%595 = load i32, ptr %594, align 4
%596 = icmp eq i32 %595, 71
br i1 %596, label %597, label %599
597: ; preds = %591
%598 = call i32 @printf(ptr noundef @.str.70)
br label %599
599: ; preds = %597, %591
%600 = load i32, ptr %4, align 4
%601 = sext i32 %600 to i64
%602 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %601
%603 = load i32, ptr %602, align 4
%604 = icmp eq i32 %603, 72
br i1 %604, label %605, label %607
605: ; preds = %599
%606 = call i32 @printf(ptr noundef @.str.71)
br label %607
607: ; preds = %605, %599
%608 = load i32, ptr %4, align 4
%609 = sext i32 %608 to i64
%610 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %609
%611 = load i32, ptr %610, align 4
%612 = icmp eq i32 %611, 73
br i1 %612, label %613, label %615
613: ; preds = %607
%614 = call i32 @printf(ptr noundef @.str.72)
br label %615
615: ; preds = %613, %607
%616 = load i32, ptr %4, align 4
%617 = sext i32 %616 to i64
%618 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %617
%619 = load i32, ptr %618, align 4
%620 = icmp eq i32 %619, 74
br i1 %620, label %621, label %623
621: ; preds = %615
%622 = call i32 @printf(ptr noundef @.str.73)
br label %623
623: ; preds = %621, %615
%624 = load i32, ptr %4, align 4
%625 = sext i32 %624 to i64
%626 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %625
%627 = load i32, ptr %626, align 4
%628 = icmp eq i32 %627, 75
br i1 %628, label %629, label %631
629: ; preds = %623
%630 = call i32 @printf(ptr noundef @.str.74)
br label %631
631: ; preds = %629, %623
%632 = load i32, ptr %4, align 4
%633 = sext i32 %632 to i64
%634 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %633
%635 = load i32, ptr %634, align 4
%636 = icmp eq i32 %635, 76
br i1 %636, label %637, label %639
637: ; preds = %631
%638 = call i32 @printf(ptr noundef @.str.75)
br label %639
639: ; preds = %637, %631
%640 = load i32, ptr %4, align 4
%641 = sext i32 %640 to i64
%642 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %641
%643 = load i32, ptr %642, align 4
%644 = icmp eq i32 %643, 77
br i1 %644, label %645, label %647
645: ; preds = %639
%646 = call i32 @printf(ptr noundef @.str.76)
br label %647
647: ; preds = %645, %639
%648 = load i32, ptr %4, align 4
%649 = sext i32 %648 to i64
%650 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %649
%651 = load i32, ptr %650, align 4
%652 = icmp eq i32 %651, 78
br i1 %652, label %653, label %655
653: ; preds = %647
%654 = call i32 @printf(ptr noundef @.str.77)
br label %655
655: ; preds = %653, %647
%656 = load i32, ptr %4, align 4
%657 = sext i32 %656 to i64
%658 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %657
%659 = load i32, ptr %658, align 4
%660 = icmp eq i32 %659, 79
br i1 %660, label %661, label %663
661: ; preds = %655
%662 = call i32 @printf(ptr noundef @.str.78)
br label %663
663: ; preds = %661, %655
%664 = load i32, ptr %4, align 4
%665 = sext i32 %664 to i64
%666 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %665
%667 = load i32, ptr %666, align 4
%668 = icmp eq i32 %667, 80
br i1 %668, label %669, label %671
669: ; preds = %663
%670 = call i32 @printf(ptr noundef @.str.79)
br label %671
671: ; preds = %669, %663
%672 = load i32, ptr %4, align 4
%673 = sext i32 %672 to i64
%674 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %673
%675 = load i32, ptr %674, align 4
%676 = icmp eq i32 %675, 81
br i1 %676, label %677, label %679
677: ; preds = %671
%678 = call i32 @printf(ptr noundef @.str.80)
br label %679
679: ; preds = %677, %671
%680 = load i32, ptr %4, align 4
%681 = sext i32 %680 to i64
%682 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %681
%683 = load i32, ptr %682, align 4
%684 = icmp eq i32 %683, 82
br i1 %684, label %685, label %687
685: ; preds = %679
%686 = call i32 @printf(ptr noundef @.str.81)
br label %687
687: ; preds = %685, %679
%688 = load i32, ptr %4, align 4
%689 = sext i32 %688 to i64
%690 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %689
%691 = load i32, ptr %690, align 4
%692 = icmp eq i32 %691, 83
br i1 %692, label %693, label %695
693: ; preds = %687
%694 = call i32 @printf(ptr noundef @.str.82)
br label %695
695: ; preds = %693, %687
%696 = load i32, ptr %4, align 4
%697 = sext i32 %696 to i64
%698 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %697
%699 = load i32, ptr %698, align 4
%700 = icmp eq i32 %699, 84
br i1 %700, label %701, label %703
701: ; preds = %695
%702 = call i32 @printf(ptr noundef @.str.83)
br label %703
703: ; preds = %701, %695
%704 = load i32, ptr %4, align 4
%705 = sext i32 %704 to i64
%706 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %705
%707 = load i32, ptr %706, align 4
%708 = icmp eq i32 %707, 85
br i1 %708, label %709, label %711
709: ; preds = %703
%710 = call i32 @printf(ptr noundef @.str.84)
br label %711
711: ; preds = %709, %703
%712 = load i32, ptr %4, align 4
%713 = sext i32 %712 to i64
%714 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %713
%715 = load i32, ptr %714, align 4
%716 = icmp eq i32 %715, 86
br i1 %716, label %717, label %719
717: ; preds = %711
%718 = call i32 @printf(ptr noundef @.str.85)
br label %719
719: ; preds = %717, %711
%720 = load i32, ptr %4, align 4
%721 = sext i32 %720 to i64
%722 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %721
%723 = load i32, ptr %722, align 4
%724 = icmp eq i32 %723, 87
br i1 %724, label %725, label %727
725: ; preds = %719
%726 = call i32 @printf(ptr noundef @.str.86)
br label %727
727: ; preds = %725, %719
%728 = load i32, ptr %4, align 4
%729 = sext i32 %728 to i64
%730 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %729
%731 = load i32, ptr %730, align 4
%732 = icmp eq i32 %731, 88
br i1 %732, label %733, label %735
733: ; preds = %727
%734 = call i32 @printf(ptr noundef @.str.87)
br label %735
735: ; preds = %733, %727
%736 = load i32, ptr %4, align 4
%737 = sext i32 %736 to i64
%738 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %737
%739 = load i32, ptr %738, align 4
%740 = icmp eq i32 %739, 89
br i1 %740, label %741, label %743
741: ; preds = %735
%742 = call i32 @printf(ptr noundef @.str.88)
br label %743
743: ; preds = %741, %735
%744 = load i32, ptr %4, align 4
%745 = sext i32 %744 to i64
%746 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %745
%747 = load i32, ptr %746, align 4
%748 = icmp eq i32 %747, 90
br i1 %748, label %749, label %751
749: ; preds = %743
%750 = call i32 @printf(ptr noundef @.str.89)
br label %751
751: ; preds = %749, %743
%752 = load i32, ptr %4, align 4
%753 = sext i32 %752 to i64
%754 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %753
%755 = load i32, ptr %754, align 4
%756 = icmp eq i32 %755, 91
br i1 %756, label %757, label %759
757: ; preds = %751
%758 = call i32 @printf(ptr noundef @.str.90)
br label %759
759: ; preds = %757, %751
%760 = load i32, ptr %4, align 4
%761 = sext i32 %760 to i64
%762 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %761
%763 = load i32, ptr %762, align 4
%764 = icmp eq i32 %763, 92
br i1 %764, label %765, label %767
765: ; preds = %759
%766 = call i32 @printf(ptr noundef @.str.91)
br label %767
767: ; preds = %765, %759
%768 = load i32, ptr %4, align 4
%769 = sext i32 %768 to i64
%770 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %769
%771 = load i32, ptr %770, align 4
%772 = icmp eq i32 %771, 93
br i1 %772, label %773, label %775
773: ; preds = %767
%774 = call i32 @printf(ptr noundef @.str.92)
br label %775
775: ; preds = %773, %767
%776 = load i32, ptr %4, align 4
%777 = sext i32 %776 to i64
%778 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %777
%779 = load i32, ptr %778, align 4
%780 = icmp eq i32 %779, 94
br i1 %780, label %781, label %783
781: ; preds = %775
%782 = call i32 @printf(ptr noundef @.str.93)
br label %783
783: ; preds = %781, %775
%784 = load i32, ptr %4, align 4
%785 = sext i32 %784 to i64
%786 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %785
%787 = load i32, ptr %786, align 4
%788 = icmp eq i32 %787, 95
br i1 %788, label %789, label %791
789: ; preds = %783
%790 = call i32 @printf(ptr noundef @.str.94)
br label %791
791: ; preds = %789, %783
%792 = load i32, ptr %4, align 4
%793 = sext i32 %792 to i64
%794 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %793
%795 = load i32, ptr %794, align 4
%796 = icmp eq i32 %795, 96
br i1 %796, label %797, label %799
797: ; preds = %791
%798 = call i32 @printf(ptr noundef @.str.95)
br label %799
799: ; preds = %797, %791
%800 = load i32, ptr %4, align 4
%801 = sext i32 %800 to i64
%802 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %801
%803 = load i32, ptr %802, align 4
%804 = icmp eq i32 %803, 97
br i1 %804, label %805, label %807
805: ; preds = %799
%806 = call i32 @printf(ptr noundef @.str.96)
br label %807
807: ; preds = %805, %799
%808 = load i32, ptr %4, align 4
%809 = sext i32 %808 to i64
%810 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %809
%811 = load i32, ptr %810, align 4
%812 = icmp eq i32 %811, 98
br i1 %812, label %813, label %815
813: ; preds = %807
%814 = call i32 @printf(ptr noundef @.str.97)
br label %815
815: ; preds = %813, %807
%816 = load i32, ptr %4, align 4
%817 = sext i32 %816 to i64
%818 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %817
%819 = load i32, ptr %818, align 4
%820 = icmp eq i32 %819, 99
br i1 %820, label %821, label %823
821: ; preds = %815
%822 = call i32 @printf(ptr noundef @.str.98)
br label %823
823: ; preds = %821, %815
%824 = load i32, ptr %4, align 4
%825 = sext i32 %824 to i64
%826 = getelementptr inbounds [101 x i32], ptr %3, i64 0, i64 %825
%827 = load i32, ptr %826, align 4
%828 = icmp eq i32 %827, 100
br i1 %828, label %829, label %831
829: ; preds = %823
%830 = call i32 @printf(ptr noundef @.str.99)
br label %831
831: ; preds = %829, %823
%832 = call i32 @printf(ptr noundef @.str.100)
br label %833
833: ; preds = %831
%834 = load i32, ptr %4, align 4
%835 = add nsw i32 %834, 1
store i32 %835, ptr %4, align 4
%836 = load i32, ptr %4, align 4
%837 = load i32, ptr %2, align 4
%838 = icmp slt i32 %836, %837
br i1 %838, label %23, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %833
br label %839
839: ; preds = %._crit_edge3, %19
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqqy_trw0.c'
source_filename = "/tmp/tmpqqy_trw0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CoordModeOrigin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @DrawTriangle(ptr noundef %0, i32 noundef %1, i32 noundef %2, i16 noundef signext %3, i16 noundef signext %4, i16 noundef zeroext %5, i16 noundef zeroext %6, i16 noundef signext %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i16, align 2
%13 = alloca i16, align 2
%14 = alloca i16, align 2
%15 = alloca i16, align 2
%16 = alloca i16, align 2
%17 = alloca [4 x i32], align 16
store ptr %0, ptr %9, align 8
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store i16 %3, ptr %12, align 2
store i16 %4, ptr %13, align 2
store i16 %5, ptr %14, align 2
store i16 %6, ptr %15, align 2
store i16 %7, ptr %16, align 2
%18 = getelementptr inbounds [4 x i32], ptr %17, i64 0, i64 0
%19 = load i16, ptr %12, align 2
%20 = load i16, ptr %13, align 2
%21 = load i16, ptr %14, align 2
%22 = load i16, ptr %15, align 2
%23 = load i16, ptr %16, align 2
%24 = call i32 @CalculateTriangleCoordinates(ptr noundef %18, i16 noundef signext %19, i16 noundef signext %20, i16 noundef zeroext %21, i16 noundef zeroext %22, i16 noundef signext %23)
%25 = load ptr, ptr %9, align 8
%26 = load i32, ptr %10, align 4
%27 = load i32, ptr %11, align 4
%28 = getelementptr inbounds [4 x i32], ptr %17, i64 0, i64 0
%29 = load i32, ptr @CoordModeOrigin, align 4
%30 = call i32 @XDrawLines(ptr noundef %25, i32 noundef %26, i32 noundef %27, ptr noundef %28, i32 noundef 4, i32 noundef %29)
ret i32 %30
}
declare i32 @CalculateTriangleCoordinates(ptr noundef, i16 noundef signext, i16 noundef signext, i16 noundef zeroext, i16 noundef zeroext, i16 noundef signext) #1
declare i32 @XDrawLines(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqqy_trw0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CoordModeOrigin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @DrawTriangle(ptr noundef %0, i32 noundef %1, i32 noundef %2, i16 noundef signext %3, i16 noundef signext %4, i16 noundef zeroext %5, i16 noundef zeroext %6, i16 noundef signext %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i16, align 2
%13 = alloca i16, align 2
%14 = alloca i16, align 2
%15 = alloca i16, align 2
%16 = alloca i16, align 2
%17 = alloca [4 x i32], align 16
store ptr %0, ptr %9, align 8
store i32 %1, ptr %10, align 4
store i32 %2, ptr %11, align 4
store i16 %3, ptr %12, align 2
store i16 %4, ptr %13, align 2
store i16 %5, ptr %14, align 2
store i16 %6, ptr %15, align 2
store i16 %7, ptr %16, align 2
%18 = getelementptr inbounds [4 x i32], ptr %17, i64 0, i64 0
%19 = load i16, ptr %12, align 2
%20 = load i16, ptr %13, align 2
%21 = load i16, ptr %14, align 2
%22 = load i16, ptr %15, align 2
%23 = load i16, ptr %16, align 2
%24 = call i32 @CalculateTriangleCoordinates(ptr noundef %18, i16 noundef signext %19, i16 noundef signext %20, i16 noundef zeroext %21, i16 noundef zeroext %22, i16 noundef signext %23)
%25 = load ptr, ptr %9, align 8
%26 = load i32, ptr %10, align 4
%27 = load i32, ptr %11, align 4
%28 = getelementptr inbounds [4 x i32], ptr %17, i64 0, i64 0
%29 = load i32, ptr @CoordModeOrigin, align 4
%30 = call i32 @XDrawLines(ptr noundef %25, i32 noundef %26, i32 noundef %27, ptr noundef %28, i32 noundef 4, i32 noundef %29)
ret i32 %30
}
declare i32 @CalculateTriangleCoordinates(ptr noundef, i16 noundef signext, i16 noundef signext, i16 noundef zeroext, i16 noundef zeroext, i16 noundef signext) #1
declare i32 @XDrawLines(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9qks60p9.c'
source_filename = "/tmp/tmp9qks60p9.c"
target datalayout = "e-m:e-p270: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/tmp9qks60p9.c"
target datalayout = "e-m:e-p270: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/tmpzrt64gl8.c'
source_filename = "/tmp/tmpzrt64gl8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = 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/tmpzrt64gl8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = 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/tmpjkcz9_y_.c'
source_filename = "/tmp/tmpjkcz9_y_.c"
target datalayout = "e-m:e-p270: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 { i64 }
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"Unable to stat /\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"/dev/%s\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Setup quota dev %s\00", align 1
@S_IFBLK = dso_local global i32 0, align 4
@S_IXGRP = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [20 x i8] c"Unable to create %s\00", align 1
@.str.5 = private unnamed_addr constant [36 x i8] c"/proc/vz/vzaquota/%08lx/aquota.user\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"/aquota.user\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"Unable to create symlink %s\00", align 1
@.str.8 = private unnamed_addr constant [37 x i8] c"/proc/vz/vzaquota/%08lx/aquota.group\00", align 1
@.str.9 = private unnamed_addr constant [14 x i8] c"/aquota.group\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mk_quota_link() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.stat, align 8
%3 = alloca ptr, align 8
%4 = alloca [64 x i8], align 16
%5 = call i64 @stat(ptr noundef @.str, ptr noundef %2)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = load i32, ptr @errno, align 4
%9 = call i32 (i32, i32, ptr, ...) @logger(i32 noundef -1, i32 noundef %8, ptr noundef @.str.1)
store i32 -1, ptr %1, align 4
br label %58
10: ; preds = %0
%11 = call ptr (...) @vz_fs_get_name()
store ptr %11, ptr %3, align 8
%12 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%13 = load ptr, ptr %3, align 8
%14 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %12, i32 noundef 64, ptr noundef @.str.2, ptr noundef %13)
%15 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%16 = call i32 @unlink(ptr noundef %15)
%17 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%18 = call i32 (i32, i32, ptr, ...) @logger(i32 noundef 3, i32 noundef 0, ptr noundef @.str.3, ptr noundef %17)
%19 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%20 = load i32, ptr @S_IFBLK, align 4
%21 = load i32, ptr @S_IXGRP, align 4
%22 = or i32 %20, %21
%23 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%24 = load i64, ptr %23, align 8
%25 = call i64 @mknod(ptr noundef %19, i32 noundef %22, i64 noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %31
27: ; preds = %10
%28 = load i32, ptr @errno, align 4
%29 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%30 = call i32 (i32, i32, ptr, ...) @logger(i32 noundef -1, i32 noundef %28, ptr noundef @.str.4, ptr noundef %29)
br label %31
31: ; preds = %27, %10
%32 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%33 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%34 = load i64, ptr %33, align 8
%35 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %32, i32 noundef 64, ptr noundef @.str.5, i64 noundef %34)
%36 = call i32 @unlink(ptr noundef @.str.6)
%37 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%38 = call i64 @symlink(ptr noundef %37, ptr noundef @.str.6)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %44
40: ; preds = %31
%41 = load i32, ptr @errno, align 4
%42 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%43 = call i32 (i32, i32, ptr, ...) @logger(i32 noundef -1, i32 noundef %41, ptr noundef @.str.7, ptr noundef %42)
br label %44
44: ; preds = %40, %31
%45 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%46 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%47 = load i64, ptr %46, align 8
%48 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %45, i32 noundef 64, ptr noundef @.str.8, i64 noundef %47)
%49 = call i32 @unlink(ptr noundef @.str.9)
%50 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%51 = call i64 @symlink(ptr noundef %50, ptr noundef @.str.9)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %57
53: ; preds = %44
%54 = load i32, ptr @errno, align 4
%55 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%56 = call i32 (i32, i32, ptr, ...) @logger(i32 noundef -1, i32 noundef %54, ptr noundef @.str.7, ptr noundef %55)
br label %57
57: ; preds = %53, %44
store i32 0, ptr %1, align 4
br label %58
58: ; preds = %57, %7
%59 = load i32, ptr %1, align 4
ret i32 %59
}
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @logger(i32 noundef, i32 noundef, ptr noundef, ...) #1
declare ptr @vz_fs_get_name(...) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1
declare i32 @unlink(ptr noundef) #1
declare i64 @mknod(ptr noundef, i32 noundef, i64 noundef) #1
declare i64 @symlink(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/tmpjkcz9_y_.c"
target datalayout = "e-m:e-p270: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 { i64 }
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"Unable to stat /\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"/dev/%s\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Setup quota dev %s\00", align 1
@S_IFBLK = dso_local global i32 0, align 4
@S_IXGRP = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [20 x i8] c"Unable to create %s\00", align 1
@.str.5 = private unnamed_addr constant [36 x i8] c"/proc/vz/vzaquota/%08lx/aquota.user\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"/aquota.user\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"Unable to create symlink %s\00", align 1
@.str.8 = private unnamed_addr constant [37 x i8] c"/proc/vz/vzaquota/%08lx/aquota.group\00", align 1
@.str.9 = private unnamed_addr constant [14 x i8] c"/aquota.group\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mk_quota_link() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.stat, align 8
%3 = alloca ptr, align 8
%4 = alloca [64 x i8], align 16
%5 = call i64 @stat(ptr noundef @.str, ptr noundef %2)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = load i32, ptr @errno, align 4
%9 = call i32 (i32, i32, ptr, ...) @logger(i32 noundef -1, i32 noundef %8, ptr noundef @.str.1)
store i32 -1, ptr %1, align 4
br label %58
10: ; preds = %0
%11 = call ptr (...) @vz_fs_get_name()
store ptr %11, ptr %3, align 8
%12 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%13 = load ptr, ptr %3, align 8
%14 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %12, i32 noundef 64, ptr noundef @.str.2, ptr noundef %13)
%15 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%16 = call i32 @unlink(ptr noundef %15)
%17 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%18 = call i32 (i32, i32, ptr, ...) @logger(i32 noundef 3, i32 noundef 0, ptr noundef @.str.3, ptr noundef %17)
%19 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%20 = load i32, ptr @S_IFBLK, align 4
%21 = load i32, ptr @S_IXGRP, align 4
%22 = or i32 %20, %21
%23 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%24 = load i64, ptr %23, align 8
%25 = call i64 @mknod(ptr noundef %19, i32 noundef %22, i64 noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %31
27: ; preds = %10
%28 = load i32, ptr @errno, align 4
%29 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%30 = call i32 (i32, i32, ptr, ...) @logger(i32 noundef -1, i32 noundef %28, ptr noundef @.str.4, ptr noundef %29)
br label %31
31: ; preds = %27, %10
%32 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%33 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%34 = load i64, ptr %33, align 8
%35 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %32, i32 noundef 64, ptr noundef @.str.5, i64 noundef %34)
%36 = call i32 @unlink(ptr noundef @.str.6)
%37 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%38 = call i64 @symlink(ptr noundef %37, ptr noundef @.str.6)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %44
40: ; preds = %31
%41 = load i32, ptr @errno, align 4
%42 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%43 = call i32 (i32, i32, ptr, ...) @logger(i32 noundef -1, i32 noundef %41, ptr noundef @.str.7, ptr noundef %42)
br label %44
44: ; preds = %40, %31
%45 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%46 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0
%47 = load i64, ptr %46, align 8
%48 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %45, i32 noundef 64, ptr noundef @.str.8, i64 noundef %47)
%49 = call i32 @unlink(ptr noundef @.str.9)
%50 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%51 = call i64 @symlink(ptr noundef %50, ptr noundef @.str.9)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %57
53: ; preds = %44
%54 = load i32, ptr @errno, align 4
%55 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%56 = call i32 (i32, i32, ptr, ...) @logger(i32 noundef -1, i32 noundef %54, ptr noundef @.str.7, ptr noundef %55)
br label %57
57: ; preds = %53, %44
store i32 0, ptr %1, align 4
br label %58
58: ; preds = %57, %7
%59 = load i32, ptr %1, align 4
ret i32 %59
}
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @logger(i32 noundef, i32 noundef, ptr noundef, ...) #1
declare ptr @vz_fs_get_name(...) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1
declare i32 @unlink(ptr noundef) #1
declare i64 @mknod(ptr noundef, i32 noundef, i64 noundef) #1
declare i64 @symlink(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/tmpkskg6ot3.c'
source_filename = "/tmp/tmpkskg6ot3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkskg6ot3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnpgstu4w.c'
source_filename = "/tmp/tmpnpgstu4w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putnbr(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 @ft_itoa(i32 noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @ft_putstr(ptr noundef %6)
ret void
}
declare ptr @ft_itoa(i32 noundef) #1
declare i32 @ft_putstr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnpgstu4w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putnbr(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 @ft_itoa(i32 noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @ft_putstr(ptr noundef %6)
ret void
}
declare ptr @ft_itoa(i32 noundef) #1
declare i32 @ft_putstr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph6m_dx60.c'
source_filename = "/tmp/tmph6m_dx60.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dd_add_dd_d(ptr noundef %0, double noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store ptr %0, ptr %4, align 8
store double %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds double, ptr %9, i64 0
%11 = load double, ptr %10, align 8
%12 = load double, ptr %5, align 8
%13 = call double @dd_two_sum(double noundef %11, double noundef %12, ptr noundef %8)
store double %13, ptr %7, align 8
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds double, ptr %14, i64 1
%16 = load double, ptr %15, align 8
%17 = load double, ptr %8, align 8
%18 = fadd double %17, %16
store double %18, ptr %8, align 8
%19 = load double, ptr %7, align 8
%20 = load double, ptr %8, align 8
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds double, ptr %21, i64 1
%23 = call double @dd_quick_two_sum(double noundef %19, double noundef %20, ptr noundef %22)
%24 = load ptr, ptr %6, align 8
%25 = getelementptr inbounds double, ptr %24, i64 0
store double %23, ptr %25, align 8
ret void
}
declare double @dd_two_sum(double noundef, double noundef, ptr noundef) #1
declare double @dd_quick_two_sum(double noundef, double noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph6m_dx60.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dd_add_dd_d(ptr noundef %0, double noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store ptr %0, ptr %4, align 8
store double %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds double, ptr %9, i64 0
%11 = load double, ptr %10, align 8
%12 = load double, ptr %5, align 8
%13 = call double @dd_two_sum(double noundef %11, double noundef %12, ptr noundef %8)
store double %13, ptr %7, align 8
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds double, ptr %14, i64 1
%16 = load double, ptr %15, align 8
%17 = load double, ptr %8, align 8
%18 = fadd double %17, %16
store double %18, ptr %8, align 8
%19 = load double, ptr %7, align 8
%20 = load double, ptr %8, align 8
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds double, ptr %21, i64 1
%23 = call double @dd_quick_two_sum(double noundef %19, double noundef %20, ptr noundef %22)
%24 = load ptr, ptr %6, align 8
%25 = getelementptr inbounds double, ptr %24, i64 0
store double %23, ptr %25, align 8
ret void
}
declare double @dd_two_sum(double noundef, double noundef, ptr noundef) #1
declare double @dd_quick_two_sum(double noundef, double noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiwdj298i.c'
source_filename = "/tmp/tmpiwdj298i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %6, align 4
%17 = sub nsw i32 %15, %16
%18 = add nsw i32 %17, 1
store i32 %18, ptr %9, align 4
%19 = load i32, ptr %9, align 4
%20 = sext i32 %19 to i64
%21 = mul i64 4, %20
%22 = trunc i64 %21 to i32
%23 = call i64 @malloc(i32 noundef %22)
%24 = inttoptr i64 %23 to ptr
store ptr %24, ptr %10, align 8
store i32 0, ptr %11, align 4
br label %25
25: ; preds = %41, %4
%26 = load i32, ptr %11, align 4
%27 = load i32, ptr %9, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %44
29: ; preds = %25
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %11, align 4
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %31, %32
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %30, i64 %34
%36 = load i32, ptr %35, align 4
%37 = load ptr, ptr %10, align 8
%38 = load i32, ptr %11, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
store i32 %36, ptr %40, align 4
br label %41
41: ; preds = %29
%42 = load i32, ptr %11, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %11, align 4
br label %25, !llvm.loop !6
44: ; preds = %25
store i32 0, ptr %12, align 4
%45 = load i32, ptr %7, align 4
%46 = load i32, ptr %6, align 4
%47 = sub nsw i32 %45, %46
%48 = add nsw i32 %47, 1
store i32 %48, ptr %13, align 4
%49 = load i32, ptr %6, align 4
store i32 %49, ptr %11, align 4
br label %50
50: ; preds = %109, %44
%51 = load i32, ptr %11, align 4
%52 = load i32, ptr %8, align 4
%53 = add nsw i32 %52, 1
%54 = icmp slt i32 %51, %53
br i1 %54, label %55, label %112
55: ; preds = %50
%56 = load ptr, ptr %10, align 8
%57 = load i32, ptr %12, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
%60 = load i32, ptr %59, align 4
%61 = load ptr, ptr %10, align 8
%62 = load i32, ptr %13, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %61, i64 %63
%65 = load i32, ptr %64, align 4
%66 = icmp sgt i32 %60, %65
br i1 %66, label %67, label %79
67: ; preds = %55
%68 = load ptr, ptr %10, align 8
%69 = load i32, ptr %13, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %68, i64 %70
%72 = load i32, ptr %71, align 4
%73 = load ptr, ptr %5, align 8
%74 = load i32, ptr %11, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %73, i64 %75
store i32 %72, ptr %76, align 4
%77 = load i32, ptr %13, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %13, align 4
br label %91
79: ; preds = %55
%80 = load ptr, ptr %10, align 8
%81 = load i32, ptr %12, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %80, i64 %82
%84 = load i32, ptr %83, align 4
%85 = load ptr, ptr %5, align 8
%86 = load i32, ptr %11, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i32, ptr %85, i64 %87
store i32 %84, ptr %88, align 4
%89 = load i32, ptr %12, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %12, align 4
br label %91
91: ; preds = %79, %67
%92 = load i32, ptr %12, align 4
%93 = load i32, ptr %7, align 4
%94 = load i32, ptr %6, align 4
%95 = sub nsw i32 %93, %94
%96 = add nsw i32 %95, 1
%97 = icmp eq i32 %92, %96
br i1 %97, label %105, label %98
98: ; preds = %91
%99 = load i32, ptr %13, align 4
%100 = load i32, ptr %8, align 4
%101 = load i32, ptr %6, align 4
%102 = sub nsw i32 %100, %101
%103 = add nsw i32 %102, 1
%104 = icmp eq i32 %99, %103
br i1 %104, label %105, label %108
105: ; preds = %98, %91
%106 = load i32, ptr %11, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %11, align 4
br label %112
108: ; preds = %98
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 %50, !llvm.loop !8
112: ; preds = %105, %50
br label %113
113: ; preds = %157, %112
%114 = load i32, ptr %11, align 4
%115 = load i32, ptr %8, align 4
%116 = add nsw i32 %115, 1
%117 = icmp slt i32 %114, %116
br i1 %117, label %118, label %160
118: ; preds = %113
%119 = load i32, ptr %12, align 4
%120 = load i32, ptr %7, align 4
%121 = load i32, ptr %6, align 4
%122 = sub nsw i32 %120, %121
%123 = add nsw i32 %122, 1
%124 = icmp slt i32 %119, %123
br i1 %124, label %125, label %137
125: ; preds = %118
%126 = load ptr, ptr %10, align 8
%127 = load i32, ptr %12, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds i32, ptr %126, i64 %128
%130 = load i32, ptr %129, align 4
%131 = load ptr, ptr %5, align 8
%132 = load i32, ptr %11, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds i32, ptr %131, i64 %133
store i32 %130, ptr %134, align 4
%135 = load i32, ptr %12, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %12, align 4
br label %157
137: ; preds = %118
%138 = load i32, ptr %13, align 4
%139 = load i32, ptr %8, align 4
%140 = load i32, ptr %6, align 4
%141 = sub nsw i32 %139, %140
%142 = add nsw i32 %141, 1
%143 = icmp slt i32 %138, %142
br i1 %143, label %144, label %156
144: ; preds = %137
%145 = load ptr, ptr %10, align 8
%146 = load i32, ptr %13, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds i32, ptr %145, i64 %147
%149 = load i32, ptr %148, align 4
%150 = load ptr, ptr %5, align 8
%151 = load i32, ptr %11, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds i32, ptr %150, i64 %152
store i32 %149, ptr %153, align 4
%154 = load i32, ptr %13, align 4
%155 = add nsw i32 %154, 1
store i32 %155, ptr %13, align 4
br label %157
156: ; preds = %137
br label %157
157: ; preds = %156, %144, %125
%158 = load i32, ptr %11, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %11, align 4
br label %113, !llvm.loop !9
160: ; preds = %113
%161 = load ptr, ptr %10, align 8
%162 = call i32 @free(ptr noundef %161)
store ptr null, ptr %10, align 8
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiwdj298i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %6, align 4
%17 = sub nsw i32 %15, %16
%18 = add nsw i32 %17, 1
store i32 %18, ptr %9, align 4
%19 = load i32, ptr %9, align 4
%20 = sext i32 %19 to i64
%21 = mul i64 4, %20
%22 = trunc i64 %21 to i32
%23 = call i64 @malloc(i32 noundef %22)
%24 = inttoptr i64 %23 to ptr
store ptr %24, ptr %10, align 8
store i32 0, ptr %11, align 4
%25 = load i32, ptr %11, align 4
%26 = load i32, ptr %9, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %.lr.ph, label %46
.lr.ph: ; preds = %4
br label %28
28: ; preds = %.lr.ph, %40
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %11, align 4
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %30, %31
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %29, i64 %33
%35 = load i32, ptr %34, align 4
%36 = load ptr, ptr %10, align 8
%37 = load i32, ptr %11, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
store i32 %35, ptr %39, align 4
br label %40
40: ; preds = %28
%41 = load i32, ptr %11, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %11, align 4
%43 = load i32, ptr %11, align 4
%44 = load i32, ptr %9, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %46
46: ; preds = %._crit_edge, %4
store i32 0, ptr %12, align 4
%47 = load i32, ptr %7, align 4
%48 = load i32, ptr %6, align 4
%49 = sub nsw i32 %47, %48
%50 = add nsw i32 %49, 1
store i32 %50, ptr %13, align 4
%51 = load i32, ptr %6, align 4
store i32 %51, ptr %11, align 4
%52 = load i32, ptr %11, align 4
%53 = load i32, ptr %8, align 4
%54 = add nsw i32 %53, 1
%55 = icmp slt i32 %52, %54
br i1 %55, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %46
br label %56
56: ; preds = %.lr.ph2, %110
%57 = load ptr, ptr %10, align 8
%58 = load i32, ptr %12, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %57, i64 %59
%61 = load i32, ptr %60, align 4
%62 = load ptr, ptr %10, align 8
%63 = load i32, ptr %13, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %62, i64 %64
%66 = load i32, ptr %65, align 4
%67 = icmp sgt i32 %61, %66
br i1 %67, label %68, label %80
68: ; preds = %56
%69 = load ptr, ptr %10, align 8
%70 = load i32, ptr %13, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i32, ptr %69, i64 %71
%73 = load i32, ptr %72, align 4
%74 = load ptr, ptr %5, align 8
%75 = load i32, ptr %11, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i32, ptr %74, i64 %76
store i32 %73, ptr %77, align 4
%78 = load i32, ptr %13, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %13, align 4
br label %92
80: ; preds = %56
%81 = load ptr, ptr %10, align 8
%82 = load i32, ptr %12, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i32, ptr %81, i64 %83
%85 = load i32, ptr %84, align 4
%86 = load ptr, ptr %5, align 8
%87 = load i32, ptr %11, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %86, i64 %88
store i32 %85, ptr %89, align 4
%90 = load i32, ptr %12, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %12, align 4
br label %92
92: ; preds = %80, %68
%93 = load i32, ptr %12, align 4
%94 = load i32, ptr %7, align 4
%95 = load i32, ptr %6, align 4
%96 = sub nsw i32 %94, %95
%97 = add nsw i32 %96, 1
%98 = icmp eq i32 %93, %97
br i1 %98, label %106, label %99
99: ; preds = %92
%100 = load i32, ptr %13, align 4
%101 = load i32, ptr %8, align 4
%102 = load i32, ptr %6, align 4
%103 = sub nsw i32 %101, %102
%104 = add nsw i32 %103, 1
%105 = icmp eq i32 %100, %104
br i1 %105, label %106, label %109
106: ; preds = %99, %92
%107 = load i32, ptr %11, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %11, align 4
br label %117
109: ; preds = %99
br label %110
110: ; preds = %109
%111 = load i32, ptr %11, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %11, align 4
%113 = load i32, ptr %11, align 4
%114 = load i32, ptr %8, align 4
%115 = add nsw i32 %114, 1
%116 = icmp slt i32 %113, %115
br i1 %116, label %56, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %110
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %46
br label %117
117: ; preds = %.loopexit, %106
%118 = load i32, ptr %11, align 4
%119 = load i32, ptr %8, align 4
%120 = add nsw i32 %119, 1
%121 = icmp slt i32 %118, %120
br i1 %121, label %.lr.ph4, label %168
.lr.ph4: ; preds = %117
br label %122
122: ; preds = %.lr.ph4, %161
%123 = load i32, ptr %12, align 4
%124 = load i32, ptr %7, align 4
%125 = load i32, ptr %6, align 4
%126 = sub nsw i32 %124, %125
%127 = add nsw i32 %126, 1
%128 = icmp slt i32 %123, %127
br i1 %128, label %129, label %141
129: ; preds = %122
%130 = load ptr, ptr %10, align 8
%131 = load i32, ptr %12, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds i32, ptr %130, i64 %132
%134 = load i32, ptr %133, align 4
%135 = load ptr, ptr %5, align 8
%136 = load i32, ptr %11, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds i32, ptr %135, i64 %137
store i32 %134, ptr %138, align 4
%139 = load i32, ptr %12, align 4
%140 = add nsw i32 %139, 1
store i32 %140, ptr %12, align 4
br label %161
141: ; preds = %122
%142 = load i32, ptr %13, align 4
%143 = load i32, ptr %8, align 4
%144 = load i32, ptr %6, align 4
%145 = sub nsw i32 %143, %144
%146 = add nsw i32 %145, 1
%147 = icmp slt i32 %142, %146
br i1 %147, label %148, label %160
148: ; preds = %141
%149 = load ptr, ptr %10, align 8
%150 = load i32, ptr %13, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds i32, ptr %149, i64 %151
%153 = load i32, ptr %152, align 4
%154 = load ptr, ptr %5, align 8
%155 = load i32, ptr %11, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds i32, ptr %154, i64 %156
store i32 %153, ptr %157, align 4
%158 = load i32, ptr %13, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %13, align 4
br label %161
160: ; preds = %141
br label %161
161: ; preds = %160, %148, %129
%162 = load i32, ptr %11, align 4
%163 = add nsw i32 %162, 1
store i32 %163, ptr %11, align 4
%164 = load i32, ptr %11, align 4
%165 = load i32, ptr %8, align 4
%166 = add nsw i32 %165, 1
%167 = icmp slt i32 %164, %166
br i1 %167, label %122, label %._crit_edge5, !llvm.loop !9
._crit_edge5: ; preds = %161
br label %168
168: ; preds = %._crit_edge5, %117
%169 = load ptr, ptr %10, align 8
%170 = call i32 @free(ptr noundef %169)
store ptr null, ptr %10, align 8
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp1b76c0n0.c'
source_filename = "/tmp/tmp1b76c0n0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr_storage = type { i32 }
@__const.main.s = private unnamed_addr constant [2 x i8] c":\00", align 1
@INT_MAX = dso_local global i32 0, align 4
@PF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@AF_INET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Current minimum : %d\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c" Processus : %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 [1024 x i8], align 16
%4 = alloca %struct.sockaddr_in, align 4
%5 = alloca %struct.sockaddr_storage, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [4 x i32], align 16
%9 = alloca [2 x i8], align 1
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.main.s, i64 2, i1 false)
%15 = load i32, ptr @INT_MAX, align 4
store i32 %15, ptr %12, align 4
%16 = load i32, ptr @INT_MAX, align 4
store i32 %16, ptr %13, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %7, align 4
br label %17
17: ; preds = %25, %0
%18 = load i32, ptr %7, align 4
%19 = icmp slt i32 %18, 4
br i1 %19, label %20, label %28
20: ; preds = %17
%21 = load i32, ptr @INT_MAX, align 4
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [4 x i32], ptr %8, i64 0, i64 %23
store i32 %21, ptr %24, align 4
br label %25
25: ; preds = %20
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %7, align 4
br label %17, !llvm.loop !6
28: ; preds = %17
%29 = load i32, ptr @PF_INET, align 4
%30 = load i32, ptr @SOCK_DGRAM, align 4
%31 = call i32 @socket(i32 noundef %29, i32 noundef %30, i32 noundef 0)
store i32 %31, ptr %2, align 4
%32 = load i32, ptr @AF_INET, align 4
%33 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 3
store i32 %32, ptr %33, align 4
%34 = call i32 @htons(i32 noundef 7891)
%35 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2
store i32 %34, ptr %35, align 4
%36 = call i32 @inet_addr(ptr noundef @.str)
%37 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1
%38 = getelementptr inbounds %struct.TYPE_2__, ptr %37, i32 0, i32 0
store i32 %36, ptr %38, align 4
%39 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0
%40 = load i32, ptr %39, align 4
%41 = call i32 @memset(i32 noundef %40, i8 noundef signext 0, i32 noundef 4)
%42 = load i32, ptr %2, align 4
%43 = call i32 @bind(i32 noundef %42, ptr noundef %4, i32 noundef 16)
store i32 4, ptr %6, align 4
br label %44
44: ; preds = %28, %99
%45 = load i32, ptr @INT_MAX, align 4
store i32 %45, ptr %12, align 4
%46 = load i32, ptr %2, align 4
%47 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%48 = call i32 @recvfrom(i32 noundef %46, ptr noundef %47, i32 noundef 1024, i32 noundef 0, ptr noundef %5, ptr noundef %6)
%49 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%50 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
%51 = call ptr @strtok(ptr noundef %49, ptr noundef %50)
store ptr %51, ptr %10, align 8
%52 = load ptr, ptr %10, align 8
%53 = call i32 @atoi(ptr noundef %52)
store i32 %53, ptr %11, align 4
br label %54
54: ; preds = %68, %44
%55 = load ptr, ptr %10, align 8
%56 = icmp ne ptr %55, null
br i1 %56, label %57, label %69
57: ; preds = %54
%58 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
%59 = call ptr @strtok(ptr noundef null, ptr noundef %58)
store ptr %59, ptr %10, align 8
%60 = load ptr, ptr %10, align 8
%61 = icmp ne ptr %60, null
br i1 %61, label %62, label %68
62: ; preds = %57
%63 = load ptr, ptr %10, align 8
%64 = call i32 @atoi(ptr noundef %63)
%65 = load i32, ptr %11, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [4 x i32], ptr %8, i64 0, i64 %66
store i32 %64, ptr %67, align 4
br label %68
68: ; preds = %62, %57
br label %54, !llvm.loop !8
69: ; preds = %54
store i32 0, ptr %7, align 4
br label %70
70: ; preds = %87, %69
%71 = load i32, ptr %7, align 4
%72 = icmp slt i32 %71, 4
br i1 %72, label %73, label %90
73: ; preds = %70
%74 = load i32, ptr %7, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [4 x i32], ptr %8, i64 0, i64 %75
%77 = load i32, ptr %76, align 4
%78 = load i32, ptr %12, align 4
%79 = icmp slt i32 %77, %78
br i1 %79, label %80, label %86
80: ; preds = %73
%81 = load i32, ptr %7, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [4 x i32], ptr %8, i64 0, i64 %82
%84 = load i32, ptr %83, align 4
store i32 %84, ptr %12, align 4
%85 = load i32, ptr %7, align 4
store i32 %85, ptr %14, align 4
br label %86
86: ; preds = %80, %73
br label %87
87: ; preds = %86
%88 = load i32, ptr %7, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %7, align 4
br label %70, !llvm.loop !9
90: ; preds = %70
%91 = load i32, ptr %13, align 4
%92 = load i32, ptr %12, align 4
%93 = icmp ne i32 %91, %92
br i1 %93, label %94, label %99
94: ; preds = %90
%95 = load i32, ptr %12, align 4
%96 = call i32 @printf(ptr noundef @.str.1, i32 noundef %95)
%97 = load i32, ptr %14, align 4
%98 = call i32 @printf(ptr noundef @.str.2, i32 noundef %97)
br label %99
99: ; preds = %94, %90
%100 = load i32, ptr %12, align 4
store i32 %100, ptr %13, align 4
br label %44
}
; 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 @socket(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @htons(i32 noundef) #2
declare i32 @inet_addr(ptr noundef) #2
declare i32 @memset(i32 noundef, i8 noundef signext, i32 noundef) #2
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare ptr @strtok(ptr noundef, ptr noundef) #2
declare i32 @atoi(ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1b76c0n0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr_storage = type { i32 }
@__const.main.s = private unnamed_addr constant [2 x i8] c":\00", align 1
@INT_MAX = dso_local global i32 0, align 4
@PF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@AF_INET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Current minimum : %d\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c" Processus : %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 [1024 x i8], align 16
%4 = alloca %struct.sockaddr_in, align 4
%5 = alloca %struct.sockaddr_storage, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [4 x i32], align 16
%9 = alloca [2 x i8], align 1
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.main.s, i64 2, i1 false)
%15 = load i32, ptr @INT_MAX, align 4
store i32 %15, ptr %12, align 4
%16 = load i32, ptr @INT_MAX, align 4
store i32 %16, ptr %13, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp slt i32 %17, 4
br i1 %18, label %.lr.ph, label %29
.lr.ph: ; preds = %0
br label %19
19: ; preds = %.lr.ph, %24
%20 = load i32, ptr @INT_MAX, align 4
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [4 x i32], ptr %8, i64 0, i64 %22
store i32 %20, ptr %23, align 4
br label %24
24: ; preds = %19
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp slt i32 %27, 4
br i1 %28, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %0
%30 = load i32, ptr @PF_INET, align 4
%31 = load i32, ptr @SOCK_DGRAM, align 4
%32 = call i32 @socket(i32 noundef %30, i32 noundef %31, i32 noundef 0)
store i32 %32, ptr %2, align 4
%33 = load i32, ptr @AF_INET, align 4
%34 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 3
store i32 %33, ptr %34, align 4
%35 = call i32 @htons(i32 noundef 7891)
%36 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2
store i32 %35, ptr %36, align 4
%37 = call i32 @inet_addr(ptr noundef @.str)
%38 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1
%39 = getelementptr inbounds %struct.TYPE_2__, ptr %38, i32 0, i32 0
store i32 %37, ptr %39, align 4
%40 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0
%41 = load i32, ptr %40, align 4
%42 = call i32 @memset(i32 noundef %41, i8 noundef signext 0, i32 noundef 4)
%43 = load i32, ptr %2, align 4
%44 = call i32 @bind(i32 noundef %43, ptr noundef %4, i32 noundef 16)
store i32 4, ptr %6, align 4
br label %45
45: ; preds = %102, %29
%46 = load i32, ptr @INT_MAX, align 4
store i32 %46, ptr %12, align 4
%47 = load i32, ptr %2, align 4
%48 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%49 = call i32 @recvfrom(i32 noundef %47, ptr noundef %48, i32 noundef 1024, i32 noundef 0, ptr noundef %5, ptr noundef %6)
%50 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%51 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
%52 = call ptr @strtok(ptr noundef %50, ptr noundef %51)
store ptr %52, ptr %10, align 8
%53 = load ptr, ptr %10, align 8
%54 = call i32 @atoi(ptr noundef %53)
store i32 %54, ptr %11, align 4
%55 = load ptr, ptr %10, align 8
%56 = icmp ne ptr %55, null
br i1 %56, label %.lr.ph2, label %71
.lr.ph2: ; preds = %45
br label %57
57: ; preds = %.lr.ph2, %68
%58 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
%59 = call ptr @strtok(ptr noundef null, ptr noundef %58)
store ptr %59, ptr %10, align 8
%60 = load ptr, ptr %10, align 8
%61 = icmp ne ptr %60, null
br i1 %61, label %62, label %68
62: ; preds = %57
%63 = load ptr, ptr %10, align 8
%64 = call i32 @atoi(ptr noundef %63)
%65 = load i32, ptr %11, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [4 x i32], ptr %8, i64 0, i64 %66
store i32 %64, ptr %67, align 4
br label %68
68: ; preds = %62, %57
%69 = load ptr, ptr %10, align 8
%70 = icmp ne ptr %69, null
br i1 %70, label %57, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %68
br label %71
71: ; preds = %._crit_edge3, %45
store i32 0, ptr %7, align 4
%72 = load i32, ptr %7, align 4
%73 = icmp slt i32 %72, 4
br i1 %73, label %.lr.ph5, label %93
.lr.ph5: ; preds = %71
br label %74
74: ; preds = %.lr.ph5, %88
%75 = load i32, ptr %7, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [4 x i32], ptr %8, i64 0, i64 %76
%78 = load i32, ptr %77, align 4
%79 = load i32, ptr %12, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %81, label %87
81: ; preds = %74
%82 = load i32, ptr %7, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [4 x i32], ptr %8, i64 0, i64 %83
%85 = load i32, ptr %84, align 4
store i32 %85, ptr %12, align 4
%86 = load i32, ptr %7, align 4
store i32 %86, ptr %14, align 4
br label %87
87: ; preds = %81, %74
br label %88
88: ; preds = %87
%89 = load i32, ptr %7, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %7, align 4
%91 = load i32, ptr %7, align 4
%92 = icmp slt i32 %91, 4
br i1 %92, label %74, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %88
br label %93
93: ; preds = %._crit_edge6, %71
%94 = load i32, ptr %13, align 4
%95 = load i32, ptr %12, align 4
%96 = icmp ne i32 %94, %95
br i1 %96, label %97, label %102
97: ; preds = %93
%98 = load i32, ptr %12, align 4
%99 = call i32 @printf(ptr noundef @.str.1, i32 noundef %98)
%100 = load i32, ptr %14, align 4
%101 = call i32 @printf(ptr noundef @.str.2, i32 noundef %100)
br label %102
102: ; preds = %97, %93
%103 = load i32, ptr %12, align 4
store i32 %103, ptr %13, align 4
br label %45
}
; 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 @socket(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @htons(i32 noundef) #2
declare i32 @inet_addr(ptr noundef) #2
declare i32 @memset(i32 noundef, i8 noundef signext, i32 noundef) #2
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare ptr @strtok(ptr noundef, ptr noundef) #2
declare i32 @atoi(ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmppvkjhz7t.c'
source_filename = "/tmp/tmppvkjhz7t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"new: %ld cc: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t3264(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%5 = load i64, ptr %2, align 8
%6 = call i32 @lpgfr(i64 noundef %5, ptr noundef %4)
store i32 %6, ptr %3, align 4
%7 = load i64, ptr %4, align 8
%8 = load i32, ptr %3, align 4
%9 = call i32 @printf(ptr noundef @.str, i64 noundef %7, i32 noundef %8)
ret void
}
declare i32 @lpgfr(i64 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppvkjhz7t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"new: %ld cc: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t3264(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%5 = load i64, ptr %2, align 8
%6 = call i32 @lpgfr(i64 noundef %5, ptr noundef %4)
store i32 %6, ptr %3, align 4
%7 = load i64, ptr %4, align 8
%8 = load i32, ptr %3, align 4
%9 = call i32 @printf(ptr noundef @.str, i64 noundef %7, i32 noundef %8)
ret void
}
declare i32 @lpgfr(i64 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, 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"}
|
; ModuleID = '/tmp/tmpglg0pzgv.c'
source_filename = "/tmp/tmpglg0pzgv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"int : %ld\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"int* : %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 4)
%3 = call i32 @printf(ptr noundef @.str.1, i32 noundef 8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpglg0pzgv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"int : %ld\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"int* : %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 4)
%3 = call i32 @printf(ptr noundef @.str.1, i32 noundef 8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprt5caso8.c'
source_filename = "/tmp/tmprt5caso8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkIfAllMemoryLocationsAreValid(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
br label %4
4: ; preds = %24, %1
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %5, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %27
8: ; preds = %4
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %9, align 8
%11 = call i32 @checkIfNumber(ptr noundef %10)
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %23
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %14, align 8
%16 = call i32 @atoi(ptr noundef %15)
%17 = icmp slt i32 %16, 0
br i1 %17, label %23, label %18
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = load ptr, ptr %19, align 8
%21 = call i32 @atoi(ptr noundef %20)
%22 = icmp sge i32 %21, 65536
br i1 %22, label %23, label %24
23: ; preds = %18, %13, %8
store i32 0, ptr %2, align 4
br label %28
24: ; preds = %18
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds ptr, ptr %25, i32 1
store ptr %26, ptr %3, align 8
br label %4, !llvm.loop !6
27: ; preds = %4
store i32 1, ptr %2, align 4
br label %28
28: ; preds = %27, %23
%29 = load i32, ptr %2, align 4
ret i32 %29
}
declare i32 @checkIfNumber(ptr noundef) #1
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprt5caso8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkIfAllMemoryLocationsAreValid(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load ptr, ptr %4, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %.lr.ph, label %29
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %23
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %8, align 8
%10 = call i32 @checkIfNumber(ptr noundef %9)
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %22
12: ; preds = %7
%13 = load ptr, ptr %3, align 8
%14 = load ptr, ptr %13, align 8
%15 = call i32 @atoi(ptr noundef %14)
%16 = icmp slt i32 %15, 0
br i1 %16, label %22, label %17
17: ; preds = %12
%18 = load ptr, ptr %3, align 8
%19 = load ptr, ptr %18, align 8
%20 = call i32 @atoi(ptr noundef %19)
%21 = icmp sge i32 %20, 65536
br i1 %21, label %22, label %23
22: ; preds = %17, %12, %7
store i32 0, ptr %2, align 4
br label %30
23: ; preds = %17
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds ptr, ptr %24, i32 1
store ptr %25, ptr %3, align 8
%26 = load ptr, ptr %3, align 8
%27 = load ptr, ptr %26, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %1
store i32 1, ptr %2, align 4
br label %30
30: ; preds = %29, %22
%31 = load i32, ptr %2, align 4
ret i32 %31
}
declare i32 @checkIfNumber(ptr noundef) #1
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"}
|
; ModuleID = '/tmp/tmpr780cfhi.c'
source_filename = "/tmp/tmpr780cfhi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getgroups(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr780cfhi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getgroups(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3vi48ohs.c'
source_filename = "/tmp/tmp3vi48ohs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"getline.c\00", align 1
@O_RDONLY = 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 i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
store ptr null, ptr %2, align 8
store i64 0, ptr %3, align 8
%6 = call i32 @getline(i32 noundef -1, ptr noundef %2, ptr noundef %3)
store i32 %6, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp ne i32 %7, 0
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
%11 = load ptr, ptr %2, align 8
%12 = icmp eq ptr %11, null
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load i64, ptr %3, align 8
%16 = icmp eq i64 %15, 0
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = call i32 @getline(i32 noundef 0, ptr noundef null, ptr noundef %3)
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp ne i32 %20, 0
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
%24 = load ptr, ptr %2, align 8
%25 = icmp eq ptr %24, null
%26 = zext i1 %25 to i32
%27 = call i32 @assert(i32 noundef %26)
%28 = load i64, ptr %3, align 8
%29 = icmp eq i64 %28, 0
%30 = zext i1 %29 to i32
%31 = call i32 @assert(i32 noundef %30)
%32 = call i32 @getline(i32 noundef 0, ptr noundef %2, ptr noundef null)
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp ne i32 %33, 0
%35 = zext i1 %34 to i32
%36 = call i32 @assert(i32 noundef %35)
%37 = load ptr, ptr %2, align 8
%38 = icmp eq ptr %37, null
%39 = zext i1 %38 to i32
%40 = call i32 @assert(i32 noundef %39)
%41 = load i64, ptr %3, align 8
%42 = icmp eq i64 %41, 0
%43 = zext i1 %42 to i32
%44 = call i32 @assert(i32 noundef %43)
%45 = load i32, ptr @O_RDONLY, align 4
%46 = call i32 @open(ptr noundef @.str, i32 noundef %45)
store i32 %46, ptr %4, align 4
%47 = load i32, ptr %4, align 4
%48 = icmp sge i32 %47, 0
%49 = zext i1 %48 to i32
%50 = call i32 @assert(i32 noundef %49)
store ptr null, ptr %2, align 8
store i64 0, ptr %3, align 8
%51 = load i32, ptr %4, align 4
%52 = call i32 @getline(i32 noundef %51, ptr noundef %2, ptr noundef %3)
store i32 %52, ptr %5, align 4
%53 = load i32, ptr %5, align 4
%54 = icmp eq i32 %53, 0
%55 = zext i1 %54 to i32
%56 = call i32 @assert(i32 noundef %55)
%57 = load ptr, ptr %2, align 8
%58 = icmp ne ptr %57, null
%59 = zext i1 %58 to i32
%60 = call i32 @assert(i32 noundef %59)
%61 = load i64, ptr %3, align 8
%62 = icmp ne i64 %61, 0
%63 = zext i1 %62 to i32
%64 = call i32 @assert(i32 noundef %63)
%65 = load i64, ptr %3, align 8
%66 = icmp eq i64 %65, 65
%67 = zext i1 %66 to i32
%68 = call i32 @assert(i32 noundef %67)
%69 = load ptr, ptr %2, align 8
%70 = icmp ne ptr %69, null
br i1 %70, label %71, label %74
71: ; preds = %0
%72 = load ptr, ptr %2, align 8
%73 = call i32 @free(ptr noundef %72)
store ptr null, ptr %2, align 8
br label %74
74: ; preds = %71, %0
%75 = load i32, ptr %4, align 4
%76 = call i32 @close(i32 noundef %75)
store i32 -1, ptr %4, align 4
ret i32 0
}
declare i32 @getline(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3vi48ohs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"getline.c\00", align 1
@O_RDONLY = 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 i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
store ptr null, ptr %2, align 8
store i64 0, ptr %3, align 8
%6 = call i32 @getline(i32 noundef -1, ptr noundef %2, ptr noundef %3)
store i32 %6, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp ne i32 %7, 0
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
%11 = load ptr, ptr %2, align 8
%12 = icmp eq ptr %11, null
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load i64, ptr %3, align 8
%16 = icmp eq i64 %15, 0
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = call i32 @getline(i32 noundef 0, ptr noundef null, ptr noundef %3)
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp ne i32 %20, 0
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
%24 = load ptr, ptr %2, align 8
%25 = icmp eq ptr %24, null
%26 = zext i1 %25 to i32
%27 = call i32 @assert(i32 noundef %26)
%28 = load i64, ptr %3, align 8
%29 = icmp eq i64 %28, 0
%30 = zext i1 %29 to i32
%31 = call i32 @assert(i32 noundef %30)
%32 = call i32 @getline(i32 noundef 0, ptr noundef %2, ptr noundef null)
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp ne i32 %33, 0
%35 = zext i1 %34 to i32
%36 = call i32 @assert(i32 noundef %35)
%37 = load ptr, ptr %2, align 8
%38 = icmp eq ptr %37, null
%39 = zext i1 %38 to i32
%40 = call i32 @assert(i32 noundef %39)
%41 = load i64, ptr %3, align 8
%42 = icmp eq i64 %41, 0
%43 = zext i1 %42 to i32
%44 = call i32 @assert(i32 noundef %43)
%45 = load i32, ptr @O_RDONLY, align 4
%46 = call i32 @open(ptr noundef @.str, i32 noundef %45)
store i32 %46, ptr %4, align 4
%47 = load i32, ptr %4, align 4
%48 = icmp sge i32 %47, 0
%49 = zext i1 %48 to i32
%50 = call i32 @assert(i32 noundef %49)
store ptr null, ptr %2, align 8
store i64 0, ptr %3, align 8
%51 = load i32, ptr %4, align 4
%52 = call i32 @getline(i32 noundef %51, ptr noundef %2, ptr noundef %3)
store i32 %52, ptr %5, align 4
%53 = load i32, ptr %5, align 4
%54 = icmp eq i32 %53, 0
%55 = zext i1 %54 to i32
%56 = call i32 @assert(i32 noundef %55)
%57 = load ptr, ptr %2, align 8
%58 = icmp ne ptr %57, null
%59 = zext i1 %58 to i32
%60 = call i32 @assert(i32 noundef %59)
%61 = load i64, ptr %3, align 8
%62 = icmp ne i64 %61, 0
%63 = zext i1 %62 to i32
%64 = call i32 @assert(i32 noundef %63)
%65 = load i64, ptr %3, align 8
%66 = icmp eq i64 %65, 65
%67 = zext i1 %66 to i32
%68 = call i32 @assert(i32 noundef %67)
%69 = load ptr, ptr %2, align 8
%70 = icmp ne ptr %69, null
br i1 %70, label %71, label %74
71: ; preds = %0
%72 = load ptr, ptr %2, align 8
%73 = call i32 @free(ptr noundef %72)
store ptr null, ptr %2, align 8
br label %74
74: ; preds = %71, %0
%75 = load i32, ptr %4, align 4
%76 = call i32 @close(i32 noundef %75)
store i32 -1, ptr %4, align 4
ret i32 0
}
declare i32 @getline(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuocnlabq.c'
source_filename = "/tmp/tmpuocnlabq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @get_file()
%7 = call i32 (...) @construct_vor()
ret i32 0
}
declare i32 @get_file(...) #1
declare i32 @construct_vor(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuocnlabq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @get_file()
%7 = call i32 (...) @construct_vor()
ret i32 0
}
declare i32 @get_file(...) #1
declare i32 @construct_vor(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptha08e43.c'
source_filename = "/tmp/tmptha08e43.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tf_dx(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
br label %14
14: ; preds = %28, %5
%15 = load i32, ptr %11, align 4
%16 = load i32, ptr %7, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %31
18: ; preds = %14
%19 = load ptr, ptr %9, align 8
%20 = load i32, ptr %11, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds double, ptr %19, i64 %21
%23 = load double, ptr %22, align 8
%24 = load ptr, ptr %10, align 8
%25 = load i32, ptr %11, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, ptr %24, i64 %26
store double %23, ptr %27, align 8
br label %28
28: ; preds = %18
%29 = load i32, ptr %11, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %11, align 4
br label %14, !llvm.loop !6
31: ; preds = %14
%32 = load i32, ptr %8, align 4
%33 = icmp slt i32 %32, 1
br i1 %33, label %38, label %34
34: ; preds = %31
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %7, align 4
%37 = icmp sge i32 %35, %36
br i1 %37, label %38, label %39
38: ; preds = %34, %31
br label %145
39: ; preds = %34
store i32 0, ptr %11, align 4
br label %40
40: ; preds = %110, %39
%41 = load i32, ptr %11, align 4
%42 = load i32, ptr %8, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %113
44: ; preds = %40
%45 = load i32, ptr %11, align 4
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %81
47: ; preds = %44
%48 = load i32, ptr %11, align 4
store i32 %48, ptr %12, align 4
br label %49
49: ; preds = %77, %47
%50 = load i32, ptr %12, align 4
%51 = load i32, ptr %7, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %80
53: ; preds = %49
%54 = load ptr, ptr %10, align 8
%55 = load i32, ptr %12, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds double, ptr %54, i64 %56
%58 = load double, ptr %57, align 8
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr %12, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %59, i64 %61
%63 = load double, ptr %62, align 8
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %12, align 4
%66 = load i32, ptr %11, align 4
%67 = sub nsw i32 %65, %66
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, ptr %64, i64 %68
%70 = load double, ptr %69, align 8
%71 = fsub double %63, %70
%72 = fdiv double %58, %71
%73 = load ptr, ptr %10, align 8
%74 = load i32, ptr %12, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %73, i64 %75
store double %72, ptr %76, align 8
br label %77
77: ; preds = %53
%78 = load i32, ptr %12, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %12, align 4
br label %49, !llvm.loop !8
80: ; preds = %49
br label %81
81: ; preds = %80, %44
%82 = load i32, ptr %7, align 4
%83 = sub nsw i32 %82, 1
store i32 %83, ptr %12, align 4
br label %84
84: ; preds = %106, %81
%85 = load i32, ptr %12, align 4
%86 = load i32, ptr %11, align 4
%87 = add nsw i32 %86, 1
%88 = icmp sge i32 %85, %87
br i1 %88, label %89, label %109
89: ; preds = %84
%90 = load ptr, ptr %10, align 8
%91 = load i32, ptr %12, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds double, ptr %90, i64 %92
%94 = load double, ptr %93, align 8
%95 = load ptr, ptr %10, align 8
%96 = load i32, ptr %12, align 4
%97 = sub nsw i32 %96, 1
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds double, ptr %95, i64 %98
%100 = load double, ptr %99, align 8
%101 = fsub double %94, %100
%102 = load ptr, ptr %10, align 8
%103 = load i32, ptr %12, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds double, ptr %102, i64 %104
store double %101, ptr %105, align 8
br label %106
106: ; preds = %89
%107 = load i32, ptr %12, align 4
%108 = add nsw i32 %107, -1
store i32 %108, ptr %12, align 4
br label %84, !llvm.loop !9
109: ; preds = %84
br label %110
110: ; preds = %109
%111 = load i32, ptr %11, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %11, align 4
br label %40, !llvm.loop !10
113: ; preds = %40
%114 = load i32, ptr %8, align 4
%115 = sub nsw i32 %114, 1
%116 = call double @glmgen_factorial(i32 noundef %115)
store double %116, ptr %13, align 8
store i32 0, ptr %11, align 4
br label %117
117: ; preds = %129, %113
%118 = load i32, ptr %11, align 4
%119 = load i32, ptr %7, align 4
%120 = icmp slt i32 %118, %119
br i1 %120, label %121, label %132
121: ; preds = %117
%122 = load double, ptr %13, align 8
%123 = load ptr, ptr %10, align 8
%124 = load i32, ptr %11, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds double, ptr %123, i64 %125
%127 = load double, ptr %126, align 8
%128 = fmul double %127, %122
store double %128, ptr %126, align 8
br label %129
129: ; preds = %121
%130 = load i32, ptr %11, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %11, align 4
br label %117, !llvm.loop !11
132: ; preds = %117
%133 = load ptr, ptr %10, align 8
%134 = load ptr, ptr %10, align 8
%135 = load i32, ptr %8, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds double, ptr %134, i64 %136
%138 = load i32, ptr %7, align 4
%139 = load i32, ptr %8, align 4
%140 = sub nsw i32 %138, %139
%141 = sext i32 %140 to i64
%142 = mul i64 %141, 8
%143 = trunc i64 %142 to i32
%144 = call i32 @memmove(ptr noundef %133, ptr noundef %137, i32 noundef %143)
br label %145
145: ; preds = %132, %38
ret void
}
declare double @glmgen_factorial(i32 noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptha08e43.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tf_dx(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
%14 = load i32, ptr %11, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %33
.lr.ph: ; preds = %5
br label %17
17: ; preds = %.lr.ph, %27
%18 = load ptr, ptr %9, align 8
%19 = load i32, ptr %11, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds double, ptr %18, i64 %20
%22 = load double, ptr %21, align 8
%23 = load ptr, ptr %10, align 8
%24 = load i32, ptr %11, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %23, i64 %25
store double %22, ptr %26, align 8
br label %27
27: ; preds = %17
%28 = load i32, ptr %11, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %11, align 4
%30 = load i32, ptr %11, align 4
%31 = load i32, ptr %7, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %5
%34 = load i32, ptr %8, align 4
%35 = icmp slt i32 %34, 1
br i1 %35, label %40, label %36
36: ; preds = %33
%37 = load i32, ptr %8, align 4
%38 = load i32, ptr %7, align 4
%39 = icmp sge i32 %37, %38
br i1 %39, label %40, label %41
40: ; preds = %36, %33
br label %156
41: ; preds = %36
store i32 0, ptr %11, align 4
%42 = load i32, ptr %11, align 4
%43 = load i32, ptr %8, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %.lr.ph8, label %122
.lr.ph8: ; preds = %41
br label %45
45: ; preds = %.lr.ph8, %116
%46 = load i32, ptr %11, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %84
48: ; preds = %45
%49 = load i32, ptr %11, align 4
store i32 %49, ptr %12, align 4
%50 = load i32, ptr %12, align 4
%51 = load i32, ptr %7, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %.lr.ph2, label %83
.lr.ph2: ; preds = %48
br label %53
53: ; preds = %.lr.ph2, %77
%54 = load ptr, ptr %10, align 8
%55 = load i32, ptr %12, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds double, ptr %54, i64 %56
%58 = load double, ptr %57, align 8
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr %12, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %59, i64 %61
%63 = load double, ptr %62, align 8
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %12, align 4
%66 = load i32, ptr %11, align 4
%67 = sub nsw i32 %65, %66
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, ptr %64, i64 %68
%70 = load double, ptr %69, align 8
%71 = fsub double %63, %70
%72 = fdiv double %58, %71
%73 = load ptr, ptr %10, align 8
%74 = load i32, ptr %12, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %73, i64 %75
store double %72, ptr %76, align 8
br label %77
77: ; preds = %53
%78 = load i32, ptr %12, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %12, align 4
%80 = load i32, ptr %12, align 4
%81 = load i32, ptr %7, align 4
%82 = icmp slt i32 %80, %81
br i1 %82, label %53, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %77
br label %83
83: ; preds = %._crit_edge3, %48
br label %84
84: ; preds = %83, %45
%85 = load i32, ptr %7, align 4
%86 = sub nsw i32 %85, 1
store i32 %86, ptr %12, align 4
%87 = load i32, ptr %12, align 4
%88 = load i32, ptr %11, align 4
%89 = add nsw i32 %88, 1
%90 = icmp sge i32 %87, %89
br i1 %90, label %.lr.ph5, label %115
.lr.ph5: ; preds = %84
br label %91
91: ; preds = %.lr.ph5, %108
%92 = load ptr, ptr %10, align 8
%93 = load i32, ptr %12, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds double, ptr %92, i64 %94
%96 = load double, ptr %95, align 8
%97 = load ptr, ptr %10, align 8
%98 = load i32, ptr %12, align 4
%99 = sub nsw i32 %98, 1
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds double, ptr %97, i64 %100
%102 = load double, ptr %101, align 8
%103 = fsub double %96, %102
%104 = load ptr, ptr %10, align 8
%105 = load i32, ptr %12, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds double, ptr %104, i64 %106
store double %103, ptr %107, align 8
br label %108
108: ; preds = %91
%109 = load i32, ptr %12, align 4
%110 = add nsw i32 %109, -1
store i32 %110, ptr %12, align 4
%111 = load i32, ptr %12, align 4
%112 = load i32, ptr %11, align 4
%113 = add nsw i32 %112, 1
%114 = icmp sge i32 %111, %113
br i1 %114, label %91, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %108
br label %115
115: ; preds = %._crit_edge6, %84
br label %116
116: ; preds = %115
%117 = load i32, ptr %11, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %11, align 4
%119 = load i32, ptr %11, align 4
%120 = load i32, ptr %8, align 4
%121 = icmp slt i32 %119, %120
br i1 %121, label %45, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %116
br label %122
122: ; preds = %._crit_edge9, %41
%123 = load i32, ptr %8, align 4
%124 = sub nsw i32 %123, 1
%125 = call double @glmgen_factorial(i32 noundef %124)
store double %125, ptr %13, align 8
store i32 0, ptr %11, align 4
%126 = load i32, ptr %11, align 4
%127 = load i32, ptr %7, align 4
%128 = icmp slt i32 %126, %127
br i1 %128, label %.lr.ph11, label %143
.lr.ph11: ; preds = %122
br label %129
129: ; preds = %.lr.ph11, %137
%130 = load double, ptr %13, align 8
%131 = load ptr, ptr %10, align 8
%132 = load i32, ptr %11, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds double, ptr %131, i64 %133
%135 = load double, ptr %134, align 8
%136 = fmul double %135, %130
store double %136, ptr %134, align 8
br label %137
137: ; preds = %129
%138 = load i32, ptr %11, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %11, align 4
%140 = load i32, ptr %11, align 4
%141 = load i32, ptr %7, align 4
%142 = icmp slt i32 %140, %141
br i1 %142, label %129, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %137
br label %143
143: ; preds = %._crit_edge12, %122
%144 = load ptr, ptr %10, align 8
%145 = load ptr, ptr %10, align 8
%146 = load i32, ptr %8, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds double, ptr %145, i64 %147
%149 = load i32, ptr %7, align 4
%150 = load i32, ptr %8, align 4
%151 = sub nsw i32 %149, %150
%152 = sext i32 %151 to i64
%153 = mul i64 %152, 8
%154 = trunc i64 %153 to i32
%155 = call i32 @memmove(ptr noundef %144, ptr noundef %148, i32 noundef %154)
br label %156
156: ; preds = %143, %40
ret void
}
declare double @glmgen_factorial(i32 noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpbv1giohk.c'
source_filename = "/tmp/tmpbv1giohk.c"
target datalayout = "e-m:e-p270: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/tmpbv1giohk.c"
target datalayout = "e-m:e-p270: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/tmpi2fddw_g.c'
source_filename = "/tmp/tmpi2fddw_g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@A_UNDERLINE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Text formatting with style\0A\00", align 1
@A_BOLD = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [57 x i8] c"nCurses library is a good way to learn UNIX programming\0A\00", align 1
@.str.2 = private unnamed_addr constant [42 x i8] c"I'm working with a lot of nice functions\0A\00", align 1
@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
store i32 0, ptr %1, align 4
%2 = call i32 (...) @initscr()
%3 = load i32, ptr @A_UNDERLINE, align 4
%4 = call i32 @attron(i32 noundef %3)
%5 = call i32 @addstr(ptr noundef @.str)
%6 = load i32, ptr @A_BOLD, align 4
%7 = call i32 @attrset(i32 noundef %6)
%8 = call i32 @addstr(ptr noundef @.str.1)
%9 = call i32 @attrset(i32 noundef 0)
%10 = call i32 @addstr(ptr noundef @.str.2)
%11 = load i32, ptr @A_BOLD, align 4
%12 = call i32 @attroff(i32 noundef %11)
%13 = call i32 (...) @refresh()
%14 = call i32 (...) @getch()
%15 = call i32 (...) @endwin()
%16 = load i32, ptr @EXIT_SUCCESS, align 4
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
}
declare i32 @initscr(...) #1
declare i32 @attron(i32 noundef) #1
declare i32 @addstr(ptr noundef) #1
declare i32 @attrset(i32 noundef) #1
declare i32 @attroff(i32 noundef) #1
declare i32 @refresh(...) #1
declare i32 @getch(...) #1
declare i32 @endwin(...) #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/tmpi2fddw_g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@A_UNDERLINE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Text formatting with style\0A\00", align 1
@A_BOLD = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [57 x i8] c"nCurses library is a good way to learn UNIX programming\0A\00", align 1
@.str.2 = private unnamed_addr constant [42 x i8] c"I'm working with a lot of nice functions\0A\00", align 1
@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
store i32 0, ptr %1, align 4
%2 = call i32 (...) @initscr()
%3 = load i32, ptr @A_UNDERLINE, align 4
%4 = call i32 @attron(i32 noundef %3)
%5 = call i32 @addstr(ptr noundef @.str)
%6 = load i32, ptr @A_BOLD, align 4
%7 = call i32 @attrset(i32 noundef %6)
%8 = call i32 @addstr(ptr noundef @.str.1)
%9 = call i32 @attrset(i32 noundef 0)
%10 = call i32 @addstr(ptr noundef @.str.2)
%11 = load i32, ptr @A_BOLD, align 4
%12 = call i32 @attroff(i32 noundef %11)
%13 = call i32 (...) @refresh()
%14 = call i32 (...) @getch()
%15 = call i32 (...) @endwin()
%16 = load i32, ptr @EXIT_SUCCESS, align 4
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
}
declare i32 @initscr(...) #1
declare i32 @attron(i32 noundef) #1
declare i32 @addstr(ptr noundef) #1
declare i32 @attrset(i32 noundef) #1
declare i32 @attroff(i32 noundef) #1
declare i32 @refresh(...) #1
declare i32 @getch(...) #1
declare i32 @endwin(...) #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/tmpqzw0cydl.c'
source_filename = "/tmp/tmpqzw0cydl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"+[while] i = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"+[do] i = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 10, ptr %6, align 4
br label %7
7: ; preds = %10, %2
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 20
br i1 %9, label %10, label %15
10: ; preds = %7
%11 = load i32, ptr %6, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
%13 = load i32, ptr %6, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %6, align 4
br label %7, !llvm.loop !6
15: ; preds = %7
store i32 10, ptr %6, align 4
br label %16
16: ; preds = %21, %15
%17 = load i32, ptr %6, align 4
%18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17)
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %6, align 4
br label %21
21: ; preds = %16
%22 = load i32, ptr %6, align 4
%23 = icmp slt i32 %22, 20
br i1 %23, label %16, label %24, !llvm.loop !8
24: ; preds = %21
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqzw0cydl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"+[while] i = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"+[do] i = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 10, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = icmp slt i32 %7, 20
br i1 %8, label %.lr.ph, label %16
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i32, ptr %6, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
%12 = load i32, ptr %6, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 20
br i1 %15, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %16
16: ; preds = %._crit_edge, %2
store i32 10, ptr %6, align 4
br label %17
17: ; preds = %22, %16
%18 = load i32, ptr %6, align 4
%19 = call i32 @printf(ptr noundef @.str.1, i32 noundef %18)
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %6, align 4
br label %22
22: ; preds = %17
%23 = load i32, ptr %6, align 4
%24 = icmp slt i32 %23, 20
br i1 %24, label %17, label %25, !llvm.loop !8
25: ; preds = %22
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp35kyft3v.c'
source_filename = "/tmp/tmp35kyft3v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strstr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %7, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i32 @strlen(ptr noundef %12)
store i32 %13, ptr %8, align 4
br label %14
14: ; preds = %26, %2
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %8, align 4
%17 = icmp sge i32 %15, %16
br i1 %17, label %18, label %31
18: ; preds = %14
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %8, align 4
%22 = call i64 @strncmp(ptr noundef %19, ptr noundef %20, i32 noundef %21)
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %18
%25 = load ptr, ptr %6, align 8
store ptr %25, ptr %3, align 8
br label %32
26: ; preds = %18
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %6, align 8
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, -1
store i32 %30, ptr %7, align 4
br label %14, !llvm.loop !6
31: ; preds = %14
store ptr null, ptr %3, align 8
br label %32
32: ; preds = %31, %24
%33 = load ptr, ptr %3, align 8
ret ptr %33
}
declare i32 @strlen(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp35kyft3v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strstr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %7, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i32 @strlen(ptr noundef %12)
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp sge i32 %14, %15
br i1 %16, label %.lr.ph, label %33
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %25
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %8, align 4
%21 = call i64 @strncmp(ptr noundef %18, ptr noundef %19, i32 noundef %20)
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %17
%24 = load ptr, ptr %6, align 8
store ptr %24, ptr %3, align 8
br label %34
25: ; preds = %17
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %6, align 8
%28 = load i32, ptr %7, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %7, align 4
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %8, align 4
%32 = icmp sge i32 %30, %31
br i1 %32, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %33
33: ; preds = %._crit_edge, %2
store ptr null, ptr %3, align 8
br label %34
34: ; preds = %33, %23
%35 = load ptr, ptr %3, align 8
ret ptr %35
}
declare i32 @strlen(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpb88ap1_5.c'
source_filename = "/tmp/tmpb88ap1_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @record_its_private(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) #0 {
%7 = alloca ptr, align 8
%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
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store i64 %4, ptr %11, align 8
store i64 %5, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = load i64, ptr %9, align 8
%16 = load i64, ptr %10, align 8
%17 = load i64, ptr %11, align 8
%18 = load i64, ptr %12, align 8
%19 = call i32 @do_record_new_rule(ptr noundef %13, ptr noundef %14, i64 noundef %15, i32 noundef 1, i64 noundef %16, i64 noundef %17, i64 noundef %18)
ret void
}
declare i32 @do_record_new_rule(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb88ap1_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @record_its_private(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) #0 {
%7 = alloca ptr, align 8
%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
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store i64 %4, ptr %11, align 8
store i64 %5, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = load i64, ptr %9, align 8
%16 = load i64, ptr %10, align 8
%17 = load i64, ptr %11, align 8
%18 = load i64, ptr %12, align 8
%19 = call i32 @do_record_new_rule(ptr noundef %13, ptr noundef %14, i64 noundef %15, i32 noundef 1, i64 noundef %16, i64 noundef %17, i64 noundef %18)
ret void
}
declare i32 @do_record_new_rule(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvp_j2lkw.c'
source_filename = "/tmp/tmpvp_j2lkw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"z=%ld \0A\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"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @debug_print_layer(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%8 = call ptr (...) @kv6_points()
store ptr %8, ptr %3, align 8
%9 = call i64 (...) @kv6_xsiz()
store i64 %9, ptr %4, align 8
%10 = call i64 (...) @kv6_ysiz()
store i64 %10, ptr %5, align 8
%11 = load i64, ptr %2, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %11)
store i64 0, ptr %7, align 8
br label %13
13: ; preds = %61, %1
%14 = load i64, ptr %7, align 8
%15 = load i64, ptr %5, align 8
%16 = icmp slt i64 %14, %15
br i1 %16, label %17, label %64
17: ; preds = %13
store i64 0, ptr %6, align 8
br label %18
18: ; preds = %56, %17
%19 = load i64, ptr %6, align 8
%20 = load i64, ptr %4, align 8
%21 = icmp slt i64 %19, %20
br i1 %21, label %22, label %59
22: ; preds = %18
%23 = load ptr, ptr %3, align 8
%24 = load i64, ptr %6, align 8
%25 = getelementptr inbounds ptr, ptr %23, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = load i64, ptr %7, align 8
%28 = getelementptr inbounds ptr, ptr %26, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = load i64, ptr %2, align 8
%31 = getelementptr inbounds i16, ptr %29, i64 %30
%32 = load i16, ptr %31, align 2
%33 = zext i16 %32 to i32
%34 = icmp eq i32 %33, 1
br i1 %34, label %35, label %37
35: ; preds = %22
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %55
37: ; preds = %22
%38 = load ptr, ptr %3, align 8
%39 = load i64, ptr %6, align 8
%40 = getelementptr inbounds ptr, ptr %38, i64 %39
%41 = load ptr, ptr %40, align 8
%42 = load i64, ptr %7, align 8
%43 = getelementptr inbounds ptr, ptr %41, i64 %42
%44 = load ptr, ptr %43, align 8
%45 = load i64, ptr %2, align 8
%46 = getelementptr inbounds i16, ptr %44, i64 %45
%47 = load i16, ptr %46, align 2
%48 = zext i16 %47 to i32
%49 = icmp eq i32 %48, 2
br i1 %49, label %50, label %52
50: ; preds = %37
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %54
52: ; preds = %37
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %54
54: ; preds = %52, %50
br label %55
55: ; preds = %54, %35
br label %56
56: ; preds = %55
%57 = load i64, ptr %6, align 8
%58 = add nsw i64 %57, 1
store i64 %58, ptr %6, align 8
br label %18, !llvm.loop !6
59: ; preds = %18
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %61
61: ; preds = %59
%62 = load i64, ptr %7, align 8
%63 = add nsw i64 %62, 1
store i64 %63, ptr %7, align 8
br label %13, !llvm.loop !8
64: ; preds = %13
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret void
}
declare ptr @kv6_points(...) #1
declare i64 @kv6_xsiz(...) #1
declare i64 @kv6_ysiz(...) #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/tmpvp_j2lkw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"z=%ld \0A\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"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @debug_print_layer(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%8 = call ptr (...) @kv6_points()
store ptr %8, ptr %3, align 8
%9 = call i64 (...) @kv6_xsiz()
store i64 %9, ptr %4, align 8
%10 = call i64 (...) @kv6_ysiz()
store i64 %10, ptr %5, align 8
%11 = load i64, ptr %2, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %11)
store i64 0, ptr %7, align 8
%13 = load i64, ptr %7, align 8
%14 = load i64, ptr %5, align 8
%15 = icmp slt i64 %13, %14
br i1 %15, label %.lr.ph2, label %68
.lr.ph2: ; preds = %1
br label %16
16: ; preds = %.lr.ph2, %62
store i64 0, ptr %6, align 8
%17 = load i64, ptr %6, align 8
%18 = load i64, ptr %4, align 8
%19 = icmp slt i64 %17, %18
br i1 %19, label %.lr.ph, label %60
.lr.ph: ; preds = %16
br label %20
20: ; preds = %.lr.ph, %54
%21 = load ptr, ptr %3, align 8
%22 = load i64, ptr %6, align 8
%23 = getelementptr inbounds ptr, ptr %21, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = load i64, ptr %7, align 8
%26 = getelementptr inbounds ptr, ptr %24, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = load i64, ptr %2, align 8
%29 = getelementptr inbounds i16, ptr %27, i64 %28
%30 = load i16, ptr %29, align 2
%31 = zext i16 %30 to i32
%32 = icmp eq i32 %31, 1
br i1 %32, label %33, label %35
33: ; preds = %20
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %53
35: ; preds = %20
%36 = load ptr, ptr %3, align 8
%37 = load i64, ptr %6, align 8
%38 = getelementptr inbounds ptr, ptr %36, i64 %37
%39 = load ptr, ptr %38, align 8
%40 = load i64, ptr %7, align 8
%41 = getelementptr inbounds ptr, ptr %39, i64 %40
%42 = load ptr, ptr %41, align 8
%43 = load i64, ptr %2, align 8
%44 = getelementptr inbounds i16, ptr %42, i64 %43
%45 = load i16, ptr %44, align 2
%46 = zext i16 %45 to i32
%47 = icmp eq i32 %46, 2
br i1 %47, label %48, label %50
48: ; preds = %35
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %52
50: ; preds = %35
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %52
52: ; preds = %50, %48
br label %53
53: ; preds = %52, %33
br label %54
54: ; preds = %53
%55 = load i64, ptr %6, align 8
%56 = add nsw i64 %55, 1
store i64 %56, ptr %6, align 8
%57 = load i64, ptr %6, align 8
%58 = load i64, ptr %4, align 8
%59 = icmp slt i64 %57, %58
br i1 %59, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %60
60: ; preds = %._crit_edge, %16
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %62
62: ; preds = %60
%63 = load i64, ptr %7, align 8
%64 = add nsw i64 %63, 1
store i64 %64, ptr %7, align 8
%65 = load i64, ptr %7, align 8
%66 = load i64, ptr %5, align 8
%67 = icmp slt i64 %65, %66
br i1 %67, label %16, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %68
68: ; preds = %._crit_edge3, %1
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret void
}
declare ptr @kv6_points(...) #1
declare i64 @kv6_xsiz(...) #1
declare i64 @kv6_ysiz(...) #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/tmpjox_tt2j.c'
source_filename = "/tmp/tmpjox_tt2j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mm_realloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %6, align 8
%10 = load i64, ptr %5, align 8
%11 = call ptr @mm_malloc(i64 noundef %10)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %2
store ptr null, ptr %3, align 8
br label %32
15: ; preds = %2
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 -8
%18 = load i64, ptr %17, align 8
store i64 %18, ptr %8, align 8
%19 = load i64, ptr %5, align 8
%20 = load i64, ptr %8, align 8
%21 = icmp ult i64 %19, %20
br i1 %21, label %22, label %24
22: ; preds = %15
%23 = load i64, ptr %5, align 8
store i64 %23, ptr %8, align 8
br label %24
24: ; preds = %22, %15
%25 = load ptr, ptr %7, align 8
%26 = load ptr, ptr %6, align 8
%27 = load i64, ptr %8, align 8
%28 = call i32 @memcpy(ptr noundef %25, ptr noundef %26, i64 noundef %27)
%29 = load ptr, ptr %6, align 8
%30 = call i32 @mm_free(ptr noundef %29)
%31 = load ptr, ptr %7, align 8
store ptr %31, ptr %3, align 8
br label %32
32: ; preds = %24, %14
%33 = load ptr, ptr %3, align 8
ret ptr %33
}
declare ptr @mm_malloc(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @mm_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/tmpjox_tt2j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mm_realloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %6, align 8
%10 = load i64, ptr %5, align 8
%11 = call ptr @mm_malloc(i64 noundef %10)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %2
store ptr null, ptr %3, align 8
br label %32
15: ; preds = %2
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 -8
%18 = load i64, ptr %17, align 8
store i64 %18, ptr %8, align 8
%19 = load i64, ptr %5, align 8
%20 = load i64, ptr %8, align 8
%21 = icmp ult i64 %19, %20
br i1 %21, label %22, label %24
22: ; preds = %15
%23 = load i64, ptr %5, align 8
store i64 %23, ptr %8, align 8
br label %24
24: ; preds = %22, %15
%25 = load ptr, ptr %7, align 8
%26 = load ptr, ptr %6, align 8
%27 = load i64, ptr %8, align 8
%28 = call i32 @memcpy(ptr noundef %25, ptr noundef %26, i64 noundef %27)
%29 = load ptr, ptr %6, align 8
%30 = call i32 @mm_free(ptr noundef %29)
%31 = load ptr, ptr %7, align 8
store ptr %31, ptr %3, align 8
br label %32
32: ; preds = %24, %14
%33 = load ptr, ptr %3, align 8
ret ptr %33
}
declare ptr @mm_malloc(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @mm_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/tmpazb_usf9.c'
source_filename = "/tmp/tmpazb_usf9.c"
target datalayout = "e-m:e-p270: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/tmpazb_usf9.c"
target datalayout = "e-m:e-p270: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/tmp9xly82zi.c'
source_filename = "/tmp/tmp9xly82zi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.X = private unnamed_addr constant [5 x float] [float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00], align 16
@__const.main.Y = private unnamed_addr constant [5 x float] [float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00], align 16
@.str = private unnamed_addr constant [20 x i8] c"Promedio de X: %f\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"Promedio de Y: %f\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Promedio de X2: %f\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"Promedio de XY: %f\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"La pendiente es : %f\0A\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"La ordenada de origen es : %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x float], align 16
%3 = alloca [5 x float], align 16
%4 = alloca [5 x float], align 16
%5 = alloca [5 x float], align 16
%6 = alloca i8, align 1
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, 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.X, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.Y, i64 20, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 20, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 20, i1 false)
store i8 0, ptr %6, align 1
br label %13
13: ; preds = %42, %0
%14 = load i8, ptr %6, align 1
%15 = sext i8 %14 to i32
%16 = icmp slt i32 %15, 5
br i1 %16, label %17, label %45
17: ; preds = %13
%18 = load i8, ptr %6, align 1
%19 = sext i8 %18 to i64
%20 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %19
%21 = load float, ptr %20, align 4
%22 = load i8, ptr %6, align 1
%23 = sext i8 %22 to i64
%24 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %23
%25 = load float, ptr %24, align 4
%26 = fmul float %21, %25
%27 = load i8, ptr %6, align 1
%28 = sext i8 %27 to i64
%29 = getelementptr inbounds [5 x float], ptr %4, i64 0, i64 %28
store float %26, ptr %29, align 4
%30 = load i8, ptr %6, align 1
%31 = sext i8 %30 to i64
%32 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %31
%33 = load float, ptr %32, align 4
%34 = load i8, ptr %6, align 1
%35 = sext i8 %34 to i64
%36 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 %35
%37 = load float, ptr %36, align 4
%38 = fmul float %33, %37
%39 = load i8, ptr %6, align 1
%40 = sext i8 %39 to i64
%41 = getelementptr inbounds [5 x float], ptr %5, i64 0, i64 %40
store float %38, ptr %41, align 4
br label %42
42: ; preds = %17
%43 = load i8, ptr %6, align 1
%44 = add i8 %43, 1
store i8 %44, ptr %6, align 1
br label %13, !llvm.loop !6
45: ; preds = %13
%46 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 0
%47 = call double @promedio(ptr noundef %46, i32 noundef 5)
%48 = fptrunc double %47 to float
store float %48, ptr %7, align 4
%49 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 0
%50 = call double @promedio(ptr noundef %49, i32 noundef 5)
%51 = fptrunc double %50 to float
store float %51, ptr %8, align 4
%52 = getelementptr inbounds [5 x float], ptr %4, i64 0, i64 0
%53 = call double @promedio(ptr noundef %52, i32 noundef 5)
%54 = fptrunc double %53 to float
store float %54, ptr %9, align 4
%55 = getelementptr inbounds [5 x float], ptr %5, i64 0, i64 0
%56 = call double @promedio(ptr noundef %55, i32 noundef 5)
%57 = fptrunc double %56 to float
store float %57, ptr %10, align 4
%58 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 0
%59 = call double @promedio(ptr noundef %58, i32 noundef 5)
%60 = fptrunc double %59 to float
%61 = call i32 @printf(ptr noundef @.str, float noundef %60)
%62 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 0
%63 = call double @promedio(ptr noundef %62, i32 noundef 5)
%64 = fptrunc double %63 to float
%65 = call i32 @printf(ptr noundef @.str.1, float noundef %64)
%66 = getelementptr inbounds [5 x float], ptr %4, i64 0, i64 0
%67 = call double @promedio(ptr noundef %66, i32 noundef 5)
%68 = fptrunc double %67 to float
%69 = call i32 @printf(ptr noundef @.str.2, float noundef %68)
%70 = getelementptr inbounds [5 x float], ptr %5, i64 0, i64 0
%71 = call double @promedio(ptr noundef %70, i32 noundef 5)
%72 = fptrunc double %71 to float
%73 = call i32 @printf(ptr noundef @.str.3, float noundef %72)
%74 = load float, ptr %10, align 4
%75 = load float, ptr %8, align 4
%76 = load float, ptr %7, align 4
%77 = fmul float %75, %76
%78 = fneg float %77
%79 = call float @llvm.fmuladd.f32(float %74, float 1.000000e+00, float %78)
%80 = load float, ptr %9, align 4
%81 = load float, ptr %7, align 4
%82 = load float, ptr %7, align 4
%83 = fmul float %81, %82
%84 = fneg float %83
%85 = call float @llvm.fmuladd.f32(float %80, float 1.000000e+00, float %84)
%86 = fdiv float %79, %85
store float %86, ptr %11, align 4
%87 = load float, ptr %9, align 4
%88 = load float, ptr %8, align 4
%89 = load float, ptr %7, align 4
%90 = load float, ptr %10, align 4
%91 = fmul float %89, %90
%92 = fneg float %91
%93 = call float @llvm.fmuladd.f32(float %87, float %88, float %92)
%94 = load float, ptr %9, align 4
%95 = load float, ptr %7, align 4
%96 = load float, ptr %7, align 4
%97 = fmul float %95, %96
%98 = fneg float %97
%99 = call float @llvm.fmuladd.f32(float %94, float 1.000000e+00, float %98)
%100 = fdiv float %93, %99
store float %100, ptr %12, align 4
%101 = load float, ptr %11, align 4
%102 = call i32 @printf(ptr noundef @.str.4, float noundef %101)
%103 = load float, ptr %12, align 4
%104 = call i32 @printf(ptr noundef @.str.5, float noundef %103)
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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare double @promedio(ptr noundef, i32 noundef) #3
declare i32 @printf(ptr noundef, float noundef) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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/tmp9xly82zi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.X = private unnamed_addr constant [5 x float] [float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00], align 16
@__const.main.Y = private unnamed_addr constant [5 x float] [float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00], align 16
@.str = private unnamed_addr constant [20 x i8] c"Promedio de X: %f\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"Promedio de Y: %f\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Promedio de X2: %f\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"Promedio de XY: %f\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"La pendiente es : %f\0A\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"La ordenada de origen es : %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x float], align 16
%3 = alloca [5 x float], align 16
%4 = alloca [5 x float], align 16
%5 = alloca [5 x float], align 16
%6 = alloca i8, align 1
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, 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.X, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.Y, i64 20, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 20, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 20, i1 false)
store i8 0, ptr %6, align 1
%13 = load i8, ptr %6, align 1
%14 = sext i8 %13 to i32
%15 = icmp slt i32 %14, 5
br i1 %15, label %.lr.ph, label %47
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %41
%17 = load i8, ptr %6, align 1
%18 = sext i8 %17 to i64
%19 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %18
%20 = load float, ptr %19, align 4
%21 = load i8, ptr %6, align 1
%22 = sext i8 %21 to i64
%23 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %22
%24 = load float, ptr %23, align 4
%25 = fmul float %20, %24
%26 = load i8, ptr %6, align 1
%27 = sext i8 %26 to i64
%28 = getelementptr inbounds [5 x float], ptr %4, i64 0, i64 %27
store float %25, ptr %28, align 4
%29 = load i8, ptr %6, align 1
%30 = sext i8 %29 to i64
%31 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %30
%32 = load float, ptr %31, align 4
%33 = load i8, ptr %6, align 1
%34 = sext i8 %33 to i64
%35 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 %34
%36 = load float, ptr %35, align 4
%37 = fmul float %32, %36
%38 = load i8, ptr %6, align 1
%39 = sext i8 %38 to i64
%40 = getelementptr inbounds [5 x float], ptr %5, i64 0, i64 %39
store float %37, ptr %40, align 4
br label %41
41: ; preds = %16
%42 = load i8, ptr %6, align 1
%43 = add i8 %42, 1
store i8 %43, ptr %6, align 1
%44 = load i8, ptr %6, align 1
%45 = sext i8 %44 to i32
%46 = icmp slt i32 %45, 5
br i1 %46, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %47
47: ; preds = %._crit_edge, %0
%48 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 0
%49 = call double @promedio(ptr noundef %48, i32 noundef 5)
%50 = fptrunc double %49 to float
store float %50, ptr %7, align 4
%51 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 0
%52 = call double @promedio(ptr noundef %51, i32 noundef 5)
%53 = fptrunc double %52 to float
store float %53, ptr %8, align 4
%54 = getelementptr inbounds [5 x float], ptr %4, i64 0, i64 0
%55 = call double @promedio(ptr noundef %54, i32 noundef 5)
%56 = fptrunc double %55 to float
store float %56, ptr %9, align 4
%57 = getelementptr inbounds [5 x float], ptr %5, i64 0, i64 0
%58 = call double @promedio(ptr noundef %57, i32 noundef 5)
%59 = fptrunc double %58 to float
store float %59, ptr %10, align 4
%60 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 0
%61 = call double @promedio(ptr noundef %60, i32 noundef 5)
%62 = fptrunc double %61 to float
%63 = call i32 @printf(ptr noundef @.str, float noundef %62)
%64 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 0
%65 = call double @promedio(ptr noundef %64, i32 noundef 5)
%66 = fptrunc double %65 to float
%67 = call i32 @printf(ptr noundef @.str.1, float noundef %66)
%68 = getelementptr inbounds [5 x float], ptr %4, i64 0, i64 0
%69 = call double @promedio(ptr noundef %68, i32 noundef 5)
%70 = fptrunc double %69 to float
%71 = call i32 @printf(ptr noundef @.str.2, float noundef %70)
%72 = getelementptr inbounds [5 x float], ptr %5, i64 0, i64 0
%73 = call double @promedio(ptr noundef %72, i32 noundef 5)
%74 = fptrunc double %73 to float
%75 = call i32 @printf(ptr noundef @.str.3, float noundef %74)
%76 = load float, ptr %10, align 4
%77 = load float, ptr %8, align 4
%78 = load float, ptr %7, align 4
%79 = fmul float %77, %78
%80 = fneg float %79
%81 = call float @llvm.fmuladd.f32(float %76, float 1.000000e+00, float %80)
%82 = load float, ptr %9, align 4
%83 = load float, ptr %7, align 4
%84 = load float, ptr %7, align 4
%85 = fmul float %83, %84
%86 = fneg float %85
%87 = call float @llvm.fmuladd.f32(float %82, float 1.000000e+00, float %86)
%88 = fdiv float %81, %87
store float %88, ptr %11, align 4
%89 = load float, ptr %9, align 4
%90 = load float, ptr %8, align 4
%91 = load float, ptr %7, align 4
%92 = load float, ptr %10, align 4
%93 = fmul float %91, %92
%94 = fneg float %93
%95 = call float @llvm.fmuladd.f32(float %89, float %90, float %94)
%96 = load float, ptr %9, align 4
%97 = load float, ptr %7, align 4
%98 = load float, ptr %7, align 4
%99 = fmul float %97, %98
%100 = fneg float %99
%101 = call float @llvm.fmuladd.f32(float %96, float 1.000000e+00, float %100)
%102 = fdiv float %95, %101
store float %102, ptr %12, align 4
%103 = load float, ptr %11, align 4
%104 = call i32 @printf(ptr noundef @.str.4, float noundef %103)
%105 = load float, ptr %12, align 4
%106 = call i32 @printf(ptr noundef @.str.5, float noundef %105)
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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare double @promedio(ptr noundef, i32 noundef) #3
declare i32 @printf(ptr noundef, float noundef) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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/tmp3x22qoee.c'
source_filename = "/tmp/tmp3x22qoee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [178 x i8] c"noinitrd root=/dev/nfs nfsroot=192.168.1.110:/home/book/student/nfs_root/first_fs ip=192.168.1.11:192.168.1.110:192.168.1.1:255.255.255.0::eth0:off init=/linuxrc console=ttySAC0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call i32 (...) @uart_init()
%4 = call i32 @nand_read(i32 noundef 393280, ptr noundef inttoptr (i64 805339136 to ptr), i32 noundef 2097152)
%5 = call i32 (...) @setup_start_teg()
%6 = call i32 (...) @setup_memory_tags()
%7 = call i32 @setup_commandline_tags(ptr noundef @.str)
%8 = call i32 (...) @setup_end_tag()
store ptr inttoptr (i64 805339136 to ptr), ptr %2, align 8
%9 = load ptr, ptr %2, align 8
call void %9(i32 noundef 0, i32 noundef 362, i32 noundef 805306624)
ret i32 -1
}
declare i32 @uart_init(...) #1
declare i32 @nand_read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @setup_start_teg(...) #1
declare i32 @setup_memory_tags(...) #1
declare i32 @setup_commandline_tags(ptr noundef) #1
declare i32 @setup_end_tag(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3x22qoee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [178 x i8] c"noinitrd root=/dev/nfs nfsroot=192.168.1.110:/home/book/student/nfs_root/first_fs ip=192.168.1.11:192.168.1.110:192.168.1.1:255.255.255.0::eth0:off init=/linuxrc console=ttySAC0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call i32 (...) @uart_init()
%4 = call i32 @nand_read(i32 noundef 393280, ptr noundef inttoptr (i64 805339136 to ptr), i32 noundef 2097152)
%5 = call i32 (...) @setup_start_teg()
%6 = call i32 (...) @setup_memory_tags()
%7 = call i32 @setup_commandline_tags(ptr noundef @.str)
%8 = call i32 (...) @setup_end_tag()
store ptr inttoptr (i64 805339136 to ptr), ptr %2, align 8
%9 = load ptr, ptr %2, align 8
call void %9(i32 noundef 0, i32 noundef 362, i32 noundef 805306624)
ret i32 -1
}
declare i32 @uart_init(...) #1
declare i32 @nand_read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @setup_start_teg(...) #1
declare i32 @setup_memory_tags(...) #1
declare i32 @setup_commandline_tags(ptr noundef) #1
declare i32 @setup_end_tag(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1nvirb8v.c'
source_filename = "/tmp/tmp1nvirb8v.c"
target datalayout = "e-m:e-p270: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/tmp1nvirb8v.c"
target datalayout = "e-m:e-p270: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/tmpvdf4vcbe.c'
source_filename = "/tmp/tmpvdf4vcbe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Command List\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"\1B[33mHELP\1B[37m\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c": Open command list menu\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"\1B[32mLEARN\1B[37m\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c": Learn new skill\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"\1B[36mUPGRADE\1B[37m\00", align 1
@.str.6 = private unnamed_addr constant [33 x i8] c": Upgrade already learned skill\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"\1B[31mBACK\1B[37m\00", align 1
@.str.8 = private unnamed_addr constant [15 x i8] c": Back to map\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @HelpSkill() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
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/tmpvdf4vcbe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Command List\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"\1B[33mHELP\1B[37m\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c": Open command list menu\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"\1B[32mLEARN\1B[37m\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c": Learn new skill\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"\1B[36mUPGRADE\1B[37m\00", align 1
@.str.6 = private unnamed_addr constant [33 x i8] c": Upgrade already learned skill\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"\1B[31mBACK\1B[37m\00", align 1
@.str.8 = private unnamed_addr constant [15 x i8] c": Back to map\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @HelpSkill() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
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/tmp8t53ac1z.c'
source_filename = "/tmp/tmp8t53ac1z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ksp_get_all_grgrid_addresses(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @grg_get_all_grid_addresses(ptr noundef %5, ptr noundef %6)
ret void
}
declare i32 @grg_get_all_grid_addresses(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/tmp8t53ac1z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ksp_get_all_grgrid_addresses(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @grg_get_all_grid_addresses(ptr noundef %5, ptr noundef %6)
ret void
}
declare i32 @grg_get_all_grid_addresses(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/tmpwiwl4ic7.c'
source_filename = "/tmp/tmpwiwl4ic7.c"
target datalayout = "e-m:e-p270: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.grades = private unnamed_addr constant [28 x i8] c"AABCABCCBADDBBAAABABABAFBBBB", align 16
@.str = private unnamed_addr constant [13 x i8] c"Class Grades\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Student #%d, %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [28 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.grades, i64 28, i1 false)
%4 = call i32 @puts(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %16, %0
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 35
br i1 %7, label %8, label %19
8: ; preds = %5
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [28 x i8], ptr %2, i64 0, i64 %12
%14 = load i8, ptr %13, align 1
%15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10, i8 noundef signext %14)
br label %16
16: ; preds = %8
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
br label %5, !llvm.loop !6
19: ; preds = %5
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 @puts(ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, i8 noundef signext) #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/tmpwiwl4ic7.c"
target datalayout = "e-m:e-p270: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.grades = private unnamed_addr constant [28 x i8] c"AABCABCCBADDBBAAABABABAFBBBB", align 16
@.str = private unnamed_addr constant [13 x i8] c"Class Grades\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Student #%d, %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [28 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.grades, i64 28, i1 false)
%4 = call i32 @puts(ptr noundef @.str)
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 35
br i1 %6, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %15
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 1
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [28 x i8], ptr %2, i64 0, i64 %11
%13 = load i8, ptr %12, align 1
%14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9, i8 noundef signext %13)
br label %15
15: ; preds = %7
%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, 35
br i1 %19, label %7, 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 @puts(ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, i8 noundef signext) #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/tmpgdq0d1yu.c'
source_filename = "/tmp/tmpgdq0d1yu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LOG_ERR = dso_local global i32 0, align 4
@LOG_NOTICE = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_DIRECTORY = dso_local global i32 0, align 4
@O_EXCL = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@PATH_MAX = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IRUSR = 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/tmpgdq0d1yu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LOG_ERR = dso_local global i32 0, align 4
@LOG_NOTICE = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_DIRECTORY = dso_local global i32 0, align 4
@O_EXCL = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@PATH_MAX = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IRUSR = 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/tmpw_8j_4kf.c'
source_filename = "/tmp/tmpw_8j_4kf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Please enter your first name: \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 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [50 x i8], align 16
%5 = alloca [50 x i8], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 15, ptr %3, align 4
%6 = call i32 @printf(ptr noundef @.str)
%7 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 0
%8 = call i32 @gets(ptr noundef %7)
%9 = call i32 @printf(ptr noundef @.str.1)
%10 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 0
%11 = call i32 @puts(ptr noundef %10)
%12 = call i32 @printf(ptr noundef @.str.1)
%13 = call i32 (...) @getchar()
store i32 0, ptr %1, align 4
br label %14
14: ; preds = %33, %0
%15 = load i32, ptr %1, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %36
18: ; preds = %14
%19 = load i32, ptr %1, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 %20
%22 = load i8, ptr %21, align 1
%23 = load i32, ptr %2, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 %24
store i8 %22, ptr %25, align 1
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %2, align 4
%28 = load i32, ptr %2, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 %29
store i8 32, ptr %30, align 1
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %2, align 4
br label %33
33: ; preds = %18
%34 = load i32, ptr %1, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %1, align 4
br label %14, !llvm.loop !6
36: ; preds = %14
%37 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%38 = call i32 @puts(ptr noundef %37)
%39 = call i32 (...) @flushall()
%40 = call i32 (...) @getchar()
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @gets(ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @getchar(...) #1
declare i32 @flushall(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpw_8j_4kf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Please enter your first name: \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 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [50 x i8], align 16
%5 = alloca [50 x i8], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 15, ptr %3, align 4
%6 = call i32 @printf(ptr noundef @.str)
%7 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 0
%8 = call i32 @gets(ptr noundef %7)
%9 = call i32 @printf(ptr noundef @.str.1)
%10 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 0
%11 = call i32 @puts(ptr noundef %10)
%12 = call i32 @printf(ptr noundef @.str.1)
%13 = call i32 (...) @getchar()
store i32 0, ptr %1, align 4
%14 = load i32, ptr %1, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %38
.lr.ph: ; preds = %0
br label %17
17: ; preds = %.lr.ph, %32
%18 = load i32, ptr %1, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [50 x i8], ptr %4, i64 0, i64 %19
%21 = load i8, ptr %20, align 1
%22 = load i32, ptr %2, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 %23
store i8 %21, ptr %24, align 1
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %2, align 4
%27 = load i32, ptr %2, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 %28
store i8 32, ptr %29, align 1
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %2, align 4
br label %32
32: ; preds = %17
%33 = load i32, ptr %1, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %1, align 4
%35 = load i32, ptr %1, align 4
%36 = load i32, ptr %3, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %0
%39 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%40 = call i32 @puts(ptr noundef %39)
%41 = call i32 (...) @flushall()
%42 = call i32 (...) @getchar()
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @gets(ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @getchar(...) #1
declare i32 @flushall(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpa9lyk3q9.c'
source_filename = "/tmp/tmpa9lyk3q9.c"
target datalayout = "e-m:e-p270: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/tmpa9lyk3q9.c"
target datalayout = "e-m:e-p270: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/tmpdrg6qxgy.c'
source_filename = "/tmp/tmpdrg6qxgy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ngettext(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call ptr @libintl_ngettext(ptr noundef %7, ptr noundef %8, i64 noundef %9)
ret ptr %10
}
declare ptr @libintl_ngettext(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/tmpdrg6qxgy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ngettext(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call ptr @libintl_ngettext(ptr noundef %7, ptr noundef %8, i64 noundef %9)
ret ptr %10
}
declare ptr @libintl_ngettext(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/tmpe8wex6bv.c'
source_filename = "/tmp/tmpe8wex6bv.c"
target datalayout = "e-m:e-p270: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/tmpe8wex6bv.c"
target datalayout = "e-m:e-p270: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/tmppg4v_d5y.c'
source_filename = "/tmp/tmppg4v_d5y.c"
target datalayout = "e-m:e-p270: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
@ERANGE = dso_local global i64 0, align 8
@LONG_MAX = dso_local global i64 0, align 8
@LONG_MIN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parsenum(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 1, ptr %5, align 4
store ptr null, ptr %6, align 8
%9 = load ptr, ptr %3, align 8
%10 = icmp ne ptr %9, null
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load ptr, ptr %4, align 8
%14 = icmp ne ptr %13, null
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
br label %17
17: ; preds = %46, %2
%18 = load ptr, ptr %3, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %47
22: ; preds = %17
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 0
%25 = load i8, ptr %24, align 1
store i8 %25, ptr %7, align 1
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 1
%28 = load i8, ptr %27, align 1
store i8 %28, ptr %8, align 1
%29 = load i8, ptr %7, align 1
%30 = call i64 @isdigit(i8 noundef zeroext %29)
%31 = icmp ne i64 %30, 0
br i1 %31, label %45, label %32
32: ; preds = %22
%33 = load i8, ptr %7, align 1
%34 = zext i8 %33 to i32
%35 = icmp eq i32 %34, 45
br i1 %35, label %36, label %41
36: ; preds = %32
%37 = load i8, ptr %8, align 1
%38 = call i64 @isdigit(i8 noundef zeroext %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %36
br label %47
41: ; preds = %36, %32
%42 = load ptr, ptr %3, align 8
%43 = getelementptr inbounds i8, ptr %42, i32 1
store ptr %43, ptr %3, align 8
br label %44
44: ; preds = %41
br label %46
45: ; preds = %22
br label %47
46: ; preds = %44
br label %17, !llvm.loop !6
47: ; preds = %45, %40, %17
%48 = load ptr, ptr %3, align 8
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %86
52: ; preds = %47
store i64 0, ptr @errno, align 8
%53 = load ptr, ptr %3, align 8
%54 = call i64 @strtol(ptr noundef %53, ptr noundef %6, i32 noundef 10)
%55 = load ptr, ptr %4, align 8
store i64 %54, ptr %55, align 8
%56 = load i64, ptr @errno, align 8
%57 = load i64, ptr @ERANGE, align 8
%58 = icmp eq i64 %56, %57
br i1 %58, label %59, label %79
59: ; preds = %52
%60 = load i32, ptr %5, align 4
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %68
62: ; preds = %59
%63 = load ptr, ptr %4, align 8
%64 = load i64, ptr %63, align 8
%65 = load i64, ptr @LONG_MAX, align 8
%66 = icmp eq i64 %64, %65
br i1 %66, label %67, label %68
67: ; preds = %62
store i32 -1, ptr %5, align 4
br label %78
68: ; preds = %62, %59
%69 = load i32, ptr %5, align 4
%70 = icmp ne i32 %69, 0
br i1 %70, label %71, label %77
71: ; preds = %68
%72 = load ptr, ptr %4, align 8
%73 = load i64, ptr %72, align 8
%74 = load i64, ptr @LONG_MIN, align 8
%75 = icmp eq i64 %73, %74
br i1 %75, label %76, label %77
76: ; preds = %71
store i32 -2, ptr %5, align 4
br label %77
77: ; preds = %76, %71, %68
br label %78
78: ; preds = %77, %67
br label %85
79: ; preds = %52
%80 = load ptr, ptr %6, align 8
%81 = load ptr, ptr %3, align 8
%82 = icmp ne ptr %80, %81
br i1 %82, label %83, label %84
83: ; preds = %79
store i32 0, ptr %5, align 4
br label %84
84: ; preds = %83, %79
br label %85
85: ; preds = %84, %78
br label %86
86: ; preds = %85, %47
%87 = load i32, ptr %5, align 4
ret i32 %87
}
declare i32 @assert(i32 noundef) #1
declare i64 @isdigit(i8 noundef zeroext) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppg4v_d5y.c"
target datalayout = "e-m:e-p270: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
@ERANGE = dso_local global i64 0, align 8
@LONG_MAX = dso_local global i64 0, align 8
@LONG_MIN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parsenum(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 1, ptr %5, align 4
store ptr null, ptr %6, align 8
%9 = load ptr, ptr %3, align 8
%10 = icmp ne ptr %9, null
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load ptr, ptr %4, align 8
%14 = icmp ne ptr %13, null
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
%17 = load ptr, ptr %3, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %21
21: ; preds = %.lr.ph, %45
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 0
%24 = load i8, ptr %23, align 1
store i8 %24, ptr %7, align 1
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 1
%27 = load i8, ptr %26, align 1
store i8 %27, ptr %8, align 1
%28 = load i8, ptr %7, align 1
%29 = call i64 @isdigit(i8 noundef zeroext %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %44, label %31
31: ; preds = %21
%32 = load i8, ptr %7, align 1
%33 = zext i8 %32 to i32
%34 = icmp eq i32 %33, 45
br i1 %34, label %35, label %40
35: ; preds = %31
%36 = load i8, ptr %8, align 1
%37 = call i64 @isdigit(i8 noundef zeroext %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %35
br label %50
40: ; preds = %35, %31
%41 = load ptr, ptr %3, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %3, align 8
br label %43
43: ; preds = %40
br label %45
44: ; preds = %21
br label %50
45: ; preds = %43
%46 = load ptr, ptr %3, align 8
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 0
br i1 %49, label %21, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %45
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %50
50: ; preds = %.loopexit, %44, %39
%51 = load ptr, ptr %3, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %89
55: ; preds = %50
store i64 0, ptr @errno, align 8
%56 = load ptr, ptr %3, align 8
%57 = call i64 @strtol(ptr noundef %56, ptr noundef %6, i32 noundef 10)
%58 = load ptr, ptr %4, align 8
store i64 %57, ptr %58, align 8
%59 = load i64, ptr @errno, align 8
%60 = load i64, ptr @ERANGE, align 8
%61 = icmp eq i64 %59, %60
br i1 %61, label %62, label %82
62: ; preds = %55
%63 = load i32, ptr %5, align 4
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %71
65: ; preds = %62
%66 = load ptr, ptr %4, align 8
%67 = load i64, ptr %66, align 8
%68 = load i64, ptr @LONG_MAX, align 8
%69 = icmp eq i64 %67, %68
br i1 %69, label %70, label %71
70: ; preds = %65
store i32 -1, ptr %5, align 4
br label %81
71: ; preds = %65, %62
%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 ptr, ptr %4, align 8
%76 = load i64, ptr %75, align 8
%77 = load i64, ptr @LONG_MIN, align 8
%78 = icmp eq i64 %76, %77
br i1 %78, label %79, label %80
79: ; preds = %74
store i32 -2, ptr %5, align 4
br label %80
80: ; preds = %79, %74, %71
br label %81
81: ; preds = %80, %70
br label %88
82: ; preds = %55
%83 = load ptr, ptr %6, align 8
%84 = load ptr, ptr %3, align 8
%85 = icmp ne ptr %83, %84
br i1 %85, label %86, label %87
86: ; preds = %82
store i32 0, ptr %5, align 4
br label %87
87: ; preds = %86, %82
br label %88
88: ; preds = %87, %81
br label %89
89: ; preds = %88, %50
%90 = load i32, ptr %5, align 4
ret i32 %90
}
declare i32 @assert(i32 noundef) #1
declare i64 @isdigit(i8 noundef zeroext) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpq8vkvp7c.c'
source_filename = "/tmp/tmpq8vkvp7c.c"
target datalayout = "e-m:e-p270: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.s = private unnamed_addr constant [5 x i8] c"STOP\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1024 x i8], align 16
%3 = alloca [5 x i8], align 1
%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 1 %3, ptr align 1 @__const.main.s, i64 5, i1 false)
br label %6
6: ; preds = %46, %0
%7 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%8 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0
%9 = call i64 @strcmp(ptr noundef %7, ptr noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %49
11: ; preds = %6
%12 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%13 = call i32 @gets(ptr noundef %12)
%14 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%15 = call i32 @strlen(ptr noundef %14)
store i32 %15, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %16
16: ; preds = %43, %11
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %46
20: ; preds = %16
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp sle i32 %25, 65
br i1 %26, label %34, label %27
27: ; preds = %20
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp sge i32 %32, 90
br i1 %33, label %34, label %42
34: ; preds = %27, %20
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = sub nsw i32 %39, 32
%41 = trunc i32 %40 to i8
store i8 %41, ptr %37, align 1
br label %42
42: ; preds = %34, %27
br label %43
43: ; preds = %42
%44 = load i32, ptr %5, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %5, align 4
br label %16, !llvm.loop !6
46: ; preds = %16
%47 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%48 = call i32 @puts(ptr noundef %47)
br label %6, !llvm.loop !8
49: ; preds = %6
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @gets(ptr noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @puts(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq8vkvp7c.c"
target datalayout = "e-m:e-p270: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.s = private unnamed_addr constant [5 x i8] c"STOP\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1024 x i8], align 16
%3 = alloca [5 x i8], align 1
%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 1 %3, ptr align 1 @__const.main.s, i64 5, i1 false)
%6 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%7 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0
%8 = call i64 @strcmp(ptr noundef %6, ptr noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %.lr.ph2, label %52
.lr.ph2: ; preds = %0
br label %10
10: ; preds = %.lr.ph2, %47
%11 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%12 = call i32 @gets(ptr noundef %11)
%13 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %4, align 4
store i32 0, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %47
.lr.ph: ; preds = %10
br label %18
18: ; preds = %.lr.ph, %41
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp sle i32 %23, 65
br i1 %24, label %32, label %25
25: ; preds = %18
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp sge i32 %30, 90
br i1 %31, label %32, label %40
32: ; preds = %25, %18
%33 = load i32, ptr %5, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = sub nsw i32 %37, 32
%39 = trunc i32 %38 to i8
store i8 %39, ptr %35, align 1
br label %40
40: ; preds = %32, %25
br label %41
41: ; preds = %40
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %5, align 4
%44 = load i32, ptr %5, align 4
%45 = load i32, ptr %4, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %47
47: ; preds = %._crit_edge, %10
%48 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%49 = call i32 @puts(ptr noundef %48)
%50 = call i64 @strcmp(ptr noundef %6, ptr noundef %7)
%51 = icmp ne i64 %50, 0
br i1 %51, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %47
br label %52
52: ; preds = %._crit_edge3, %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 i64 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @gets(ptr noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @puts(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpbie7aob0.c'
source_filename = "/tmp/tmpbie7aob0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter two numbers:\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c" %u %u%*c\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Entered : %3u %3u\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"Addition Swap : %3u %3u\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"XOR Swap : %3u %3u\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 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = add i32 %9, %10
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = sub i32 %12, %13
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = sub i32 %15, %16
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %18, i32 noundef %19)
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %2, align 4
%23 = xor i32 %22, %21
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr %3, align 4
%26 = xor i32 %25, %24
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %2, align 4
%29 = xor i32 %28, %27
store i32 %29, ptr %2, align 4
%30 = load i32, ptr %2, align 4
%31 = load i32, ptr %3, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %30, i32 noundef %31)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmpbie7aob0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter two numbers:\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c" %u %u%*c\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Entered : %3u %3u\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"Addition Swap : %3u %3u\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"XOR Swap : %3u %3u\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 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = add i32 %9, %10
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = sub i32 %12, %13
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = sub i32 %15, %16
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %18, i32 noundef %19)
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %2, align 4
%23 = xor i32 %22, %21
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr %3, align 4
%26 = xor i32 %25, %24
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %2, align 4
%29 = xor i32 %28, %27
store i32 %29, ptr %2, align 4
%30 = load i32, ptr %2, align 4
%31 = load i32, ptr %3, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %30, i32 noundef %31)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmpppsgnwtg.c'
source_filename = "/tmp/tmpppsgnwtg.c"
target datalayout = "e-m:e-p270: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/tmpppsgnwtg.c"
target datalayout = "e-m:e-p270: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/tmpapkop1rw.c'
source_filename = "/tmp/tmpapkop1rw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_android_array_alloc(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = mul i64 %5, %6
%8 = call ptr @android_alloc(i64 noundef %7)
ret ptr %8
}
declare ptr @android_alloc(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/tmpapkop1rw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_android_array_alloc(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = mul i64 %5, %6
%8 = call ptr @android_alloc(i64 noundef %7)
ret ptr %8
}
declare ptr @android_alloc(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/tmpu8ppytct.c'
source_filename = "/tmp/tmpu8ppytct.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"length of array = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \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 [15 x i32], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 60, i1 false)
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 15, ptr %8, align 4
%9 = load i32, ptr %8, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
store i32 0, ptr %7, align 4
br label %11
11: ; preds = %20, %2
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %23
15: ; preds = %11
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [15 x i32], ptr %6, i64 0, i64 %18
store i32 %16, ptr %19, align 4
br label %20
20: ; preds = %15
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
br label %11, !llvm.loop !6
23: ; preds = %11
store i32 0, ptr %7, align 4
br label %24
24: ; preds = %34, %23
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %8, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %37
28: ; preds = %24
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [15 x i32], ptr %6, i64 0, i64 %30
%32 = load i32, ptr %31, align 4
%33 = call i32 @printf(ptr noundef @.str.1, i32 noundef %32)
br label %34
34: ; preds = %28
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
br label %24, !llvm.loop !8
37: ; preds = %24
%38 = call i32 @putchar(i32 noundef 10)
%39 = getelementptr inbounds [15 x i32], ptr %6, i64 0, i64 0
%40 = load i32, ptr %8, align 4
%41 = call i32 @Reverse_List(ptr noundef %39, i32 noundef %40)
store i32 0, ptr %7, align 4
br label %42
42: ; preds = %52, %37
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %8, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %55
46: ; preds = %42
%47 = load i32, ptr %7, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [15 x i32], ptr %6, i64 0, i64 %48
%50 = load i32, ptr %49, align 4
%51 = call i32 @printf(ptr noundef @.str.1, i32 noundef %50)
br label %52
52: ; preds = %46
%53 = load i32, ptr %7, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %7, align 4
br label %42, !llvm.loop !9
55: ; preds = %42
%56 = call i32 @putchar(i32 noundef 10)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @putchar(i32 noundef) #2
declare i32 @Reverse_List(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpu8ppytct.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"length of array = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \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 [15 x i32], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 60, i1 false)
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 15, ptr %8, align 4
%9 = load i32, ptr %8, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
store i32 0, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %19
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [15 x i32], ptr %6, i64 0, i64 %17
store i32 %15, ptr %18, align 4
br label %19
19: ; preds = %14
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %2
store i32 0, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = load i32, ptr %8, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph2, label %41
.lr.ph2: ; preds = %25
br label %29
29: ; preds = %.lr.ph2, %35
%30 = load i32, ptr %7, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [15 x i32], ptr %6, i64 0, i64 %31
%33 = load i32, ptr %32, align 4
%34 = call i32 @printf(ptr noundef @.str.1, i32 noundef %33)
br label %35
35: ; preds = %29
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %8, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %29, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %35
br label %41
41: ; preds = %._crit_edge3, %25
%42 = call i32 @putchar(i32 noundef 10)
%43 = getelementptr inbounds [15 x i32], ptr %6, i64 0, i64 0
%44 = load i32, ptr %8, align 4
%45 = call i32 @Reverse_List(ptr noundef %43, i32 noundef %44)
store i32 0, ptr %7, align 4
%46 = load i32, ptr %7, align 4
%47 = load i32, ptr %8, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %.lr.ph5, label %61
.lr.ph5: ; preds = %41
br label %49
49: ; preds = %.lr.ph5, %55
%50 = load i32, ptr %7, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [15 x i32], ptr %6, i64 0, i64 %51
%53 = load i32, ptr %52, align 4
%54 = call i32 @printf(ptr noundef @.str.1, i32 noundef %53)
br label %55
55: ; preds = %49
%56 = load i32, ptr %7, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %7, align 4
%58 = load i32, ptr %7, align 4
%59 = load i32, ptr %8, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %49, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %55
br label %61
61: ; preds = %._crit_edge6, %41
%62 = call i32 @putchar(i32 noundef 10)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @putchar(i32 noundef) #2
declare i32 @Reverse_List(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmptrmg59kf.c'
source_filename = "/tmp/tmptrmg59kf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%lld \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printArray(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %19, %2
%8 = load i32, ptr %5, align 4
%9 = sext i32 %8 to i64
%10 = load i64, ptr %4, align 8
%11 = icmp slt i64 %9, %10
br i1 %11, label %12, label %22
12: ; preds = %7
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i64, ptr %13, i64 %15
%17 = load i64, ptr %16, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %17)
br label %19
19: ; preds = %12
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
br label %7, !llvm.loop !6
22: ; preds = %7
%23 = call i32 (ptr, ...) @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptrmg59kf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%lld \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printArray(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = sext i32 %7 to i64
%9 = load i64, ptr %4, align 8
%10 = icmp slt i64 %8, %9
br i1 %10, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %18
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i64, ptr %12, i64 %14
%16 = load i64, ptr %15, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %16)
br label %18
18: ; preds = %11
%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 = sext i32 %21 to i64
%23 = load i64, ptr %4, align 8
%24 = icmp slt i64 %22, %23
br i1 %24, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %25
25: ; preds = %._crit_edge, %2
%26 = call i32 (ptr, ...) @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp66cxv_7x.c'
source_filename = "/tmp/tmp66cxv_7x.c"
target datalayout = "e-m:e-p270: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.rlimit = type { i64, i64 }
@RLIMIT_NOFILE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"setrlimit\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @set_nofile(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca %struct.rlimit, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%7 = load i64, ptr %4, align 8
%8 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 0
store i64 %7, ptr %8, align 8
%9 = load i64, ptr %5, align 8
%10 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 1
store i64 %9, ptr %10, align 8
%11 = load i32, ptr @RLIMIT_NOFILE, align 4
%12 = call i64 @setrlimit(i32 noundef %11, ptr noundef %6)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %17
16: ; preds = %2
store i32 0, ptr %3, align 4
br label %17
17: ; preds = %16, %14
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i64 @setrlimit(i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp66cxv_7x.c"
target datalayout = "e-m:e-p270: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.rlimit = type { i64, i64 }
@RLIMIT_NOFILE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"setrlimit\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @set_nofile(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca %struct.rlimit, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%7 = load i64, ptr %4, align 8
%8 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 0
store i64 %7, ptr %8, align 8
%9 = load i64, ptr %5, align 8
%10 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 1
store i64 %9, ptr %10, align 8
%11 = load i32, ptr @RLIMIT_NOFILE, align 4
%12 = call i64 @setrlimit(i32 noundef %11, ptr noundef %6)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %17
16: ; preds = %2
store i32 0, ptr %3, align 4
br label %17
17: ; preds = %16, %14
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i64 @setrlimit(i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3y2c013r.c'
source_filename = "/tmp/tmp3y2c013r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@INT_MAX = dso_local global i32 0, align 4
@INT_MIN = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [36 x i8] c"ERROR: Too few allocated out rows!\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [48 x i8] c"ERROR: Too few nodes to represent the outputs!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_labels(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%16 = load ptr, ptr %8, align 8
%17 = call ptr @fopen(ptr noundef %16, ptr noundef @.str)
store ptr %17, ptr %9, align 8
store i32 20, ptr %10, align 4
%18 = load i32, ptr %10, align 4
%19 = call i64 @calloc(i32 noundef %18, i32 noundef 1)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %11, align 8
store i32 0, ptr %12, align 4
%21 = load i32, ptr @INT_MAX, align 4
store i32 %21, ptr %13, align 4
%22 = load i32, ptr @INT_MIN, align 4
store i32 %22, ptr %14, align 4
br label %23
23: ; preds = %79, %4
%24 = load ptr, ptr %11, align 8
%25 = load i32, ptr %10, align 4
%26 = load ptr, ptr %9, align 8
%27 = call i64 @fgets(ptr noundef %24, i32 noundef %25, ptr noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %80
29: ; preds = %23
%30 = load ptr, ptr %11, align 8
%31 = call i32 @atoi(ptr noundef %30)
%32 = load ptr, ptr %5, align 8
%33 = load ptr, ptr %32, align 8
%34 = load i32, ptr %12, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
store i32 %31, ptr %36, align 4
%37 = load ptr, ptr %5, align 8
%38 = load ptr, ptr %37, align 8
%39 = load i32, ptr %12, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i32, ptr %41, align 4
%43 = load i32, ptr %13, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %52
45: ; preds = %29
%46 = load ptr, ptr %5, align 8
%47 = load ptr, ptr %46, align 8
%48 = load i32, ptr %12, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
%51 = load i32, ptr %50, align 4
store i32 %51, ptr %13, align 4
br label %52
52: ; preds = %45, %29
%53 = load ptr, ptr %5, align 8
%54 = load ptr, ptr %53, align 8
%55 = load i32, ptr %12, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %54, i64 %56
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %14, align 4
%60 = icmp sgt i32 %58, %59
br i1 %60, label %61, label %68
61: ; preds = %52
%62 = load ptr, ptr %5, align 8
%63 = load ptr, ptr %62, align 8
%64 = load i32, ptr %12, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %63, i64 %65
%67 = load i32, ptr %66, align 4
store i32 %67, ptr %14, align 4
br label %68
68: ; preds = %61, %52
%69 = load i32, ptr %12, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %12, align 4
%71 = load i32, ptr %12, align 4
%72 = load i32, ptr %6, align 4
%73 = icmp sgt i32 %71, %72
br i1 %73, label %74, label %79
74: ; preds = %68
%75 = load i32, ptr @stderr, align 4
%76 = call i32 @fprintf(i32 noundef %75, ptr noundef @.str.1)
%77 = load i32, ptr @EXIT_FAILURE, align 4
%78 = call i32 @exit(i32 noundef %77) #3
unreachable
79: ; preds = %68
br label %23, !llvm.loop !6
80: ; preds = %23
%81 = load i32, ptr %7, align 4
%82 = call i32 @pow(double noundef 2.000000e+00, i32 noundef %81)
%83 = load i32, ptr %14, align 4
%84 = load i32, ptr %13, align 4
%85 = sub nsw i32 %83, %84
%86 = icmp slt i32 %82, %85
br i1 %86, label %87, label %92
87: ; preds = %80
%88 = load i32, ptr @stderr, align 4
%89 = call i32 @fprintf(i32 noundef %88, ptr noundef @.str.2)
%90 = load i32, ptr @EXIT_FAILURE, align 4
%91 = call i32 @exit(i32 noundef %90) #3
unreachable
92: ; preds = %80
%93 = load i32, ptr %13, align 4
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %113
95: ; preds = %92
store i32 0, ptr %15, align 4
br label %96
96: ; preds = %109, %95
%97 = load i32, ptr %15, align 4
%98 = load i32, ptr %6, align 4
%99 = icmp slt i32 %97, %98
br i1 %99, label %100, label %112
100: ; preds = %96
%101 = load i32, ptr %13, align 4
%102 = load ptr, ptr %5, align 8
%103 = load ptr, ptr %102, align 8
%104 = load i32, ptr %15, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i32, ptr %103, i64 %105
%107 = load i32, ptr %106, align 4
%108 = sub nsw i32 %107, %101
store i32 %108, ptr %106, align 4
br label %109
109: ; preds = %100
%110 = load i32, ptr %15, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %15, align 4
br label %96, !llvm.loop !8
112: ; preds = %96
br label %113
113: ; preds = %112, %92
%114 = load ptr, ptr %11, align 8
%115 = call i32 @free(ptr noundef %114)
%116 = load ptr, ptr %9, align 8
%117 = call i32 @fclose(ptr noundef %116)
%118 = load i32, ptr %13, align 4
ret i32 %118
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @pow(double noundef, i32 noundef) #1
declare i32 @free(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" }
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/tmp3y2c013r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@INT_MAX = dso_local global i32 0, align 4
@INT_MIN = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [36 x i8] c"ERROR: Too few allocated out rows!\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [48 x i8] c"ERROR: Too few nodes to represent the outputs!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_labels(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%16 = load ptr, ptr %8, align 8
%17 = call ptr @fopen(ptr noundef %16, ptr noundef @.str)
store ptr %17, ptr %9, align 8
store i32 20, ptr %10, align 4
%18 = load i32, ptr %10, align 4
%19 = call i64 @calloc(i32 noundef %18, i32 noundef 1)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %11, align 8
store i32 0, ptr %12, align 4
%21 = load i32, ptr @INT_MAX, align 4
store i32 %21, ptr %13, align 4
%22 = load i32, ptr @INT_MIN, align 4
store i32 %22, ptr %14, align 4
%23 = load ptr, ptr %11, align 8
%24 = load i32, ptr %10, align 4
%25 = load ptr, ptr %9, align 8
%26 = call i64 @fgets(ptr noundef %23, i32 noundef %24, ptr noundef %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %.lr.ph, label %84
.lr.ph: ; preds = %4
br label %34
28: ; preds = %73
%29 = load ptr, ptr %11, align 8
%30 = load i32, ptr %10, align 4
%31 = load ptr, ptr %9, align 8
%32 = call i64 @fgets(ptr noundef %29, i32 noundef %30, ptr noundef %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %._crit_edge, !llvm.loop !6
34: ; preds = %.lr.ph, %28
%35 = load ptr, ptr %11, align 8
%36 = call i32 @atoi(ptr noundef %35)
%37 = load ptr, ptr %5, align 8
%38 = load ptr, ptr %37, align 8
%39 = load i32, ptr %12, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
store i32 %36, ptr %41, align 4
%42 = load ptr, ptr %5, align 8
%43 = load ptr, ptr %42, align 8
%44 = load i32, ptr %12, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
%47 = load i32, ptr %46, align 4
%48 = load i32, ptr %13, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %50, label %57
50: ; preds = %34
%51 = load ptr, ptr %5, align 8
%52 = load ptr, ptr %51, align 8
%53 = load i32, ptr %12, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
store i32 %56, ptr %13, align 4
br label %57
57: ; preds = %50, %34
%58 = load ptr, ptr %5, align 8
%59 = load ptr, ptr %58, align 8
%60 = load i32, ptr %12, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %59, i64 %61
%63 = load i32, ptr %62, align 4
%64 = load i32, ptr %14, align 4
%65 = icmp sgt i32 %63, %64
br i1 %65, label %66, label %73
66: ; preds = %57
%67 = load ptr, ptr %5, align 8
%68 = load ptr, ptr %67, align 8
%69 = load i32, ptr %12, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %68, i64 %70
%72 = load i32, ptr %71, align 4
store i32 %72, ptr %14, align 4
br label %73
73: ; preds = %66, %57
%74 = load i32, ptr %12, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %12, align 4
%76 = load i32, ptr %12, align 4
%77 = load i32, ptr %6, align 4
%78 = icmp sgt i32 %76, %77
br i1 %78, label %79, label %28
79: ; preds = %73
%80 = load i32, ptr @stderr, align 4
%81 = call i32 @fprintf(i32 noundef %80, ptr noundef @.str.1)
%82 = load i32, ptr @EXIT_FAILURE, align 4
%83 = call i32 @exit(i32 noundef %82) #3
unreachable
._crit_edge: ; preds = %28
br label %84
84: ; preds = %._crit_edge, %4
%85 = load i32, ptr %7, align 4
%86 = call i32 @pow(double noundef 2.000000e+00, i32 noundef %85)
%87 = load i32, ptr %14, align 4
%88 = load i32, ptr %13, align 4
%89 = sub nsw i32 %87, %88
%90 = icmp slt i32 %86, %89
br i1 %90, label %91, label %96
91: ; preds = %84
%92 = load i32, ptr @stderr, align 4
%93 = call i32 @fprintf(i32 noundef %92, ptr noundef @.str.2)
%94 = load i32, ptr @EXIT_FAILURE, align 4
%95 = call i32 @exit(i32 noundef %94) #3
unreachable
96: ; preds = %84
%97 = load i32, ptr %13, align 4
%98 = icmp ne i32 %97, 0
br i1 %98, label %99, label %119
99: ; preds = %96
store i32 0, ptr %15, align 4
%100 = load i32, ptr %15, align 4
%101 = load i32, ptr %6, align 4
%102 = icmp slt i32 %100, %101
br i1 %102, label %.lr.ph2, label %118
.lr.ph2: ; preds = %99
br label %103
103: ; preds = %.lr.ph2, %112
%104 = load i32, ptr %13, align 4
%105 = load ptr, ptr %5, align 8
%106 = load ptr, ptr %105, align 8
%107 = load i32, ptr %15, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i32, ptr %106, i64 %108
%110 = load i32, ptr %109, align 4
%111 = sub nsw i32 %110, %104
store i32 %111, ptr %109, align 4
br label %112
112: ; preds = %103
%113 = load i32, ptr %15, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %15, align 4
%115 = load i32, ptr %15, align 4
%116 = load i32, ptr %6, align 4
%117 = icmp slt i32 %115, %116
br i1 %117, label %103, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %112
br label %118
118: ; preds = %._crit_edge3, %99
br label %119
119: ; preds = %118, %96
%120 = load ptr, ptr %11, align 8
%121 = call i32 @free(ptr noundef %120)
%122 = load ptr, ptr %9, align 8
%123 = call i32 @fclose(ptr noundef %122)
%124 = load i32, ptr %13, align 4
ret i32 %124
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @pow(double noundef, i32 noundef) #1
declare i32 @free(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" }
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/tmptse33jqu.c'
source_filename = "/tmp/tmptse33jqu.c"
target datalayout = "e-m:e-p270: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/tmptse33jqu.c"
target datalayout = "e-m:e-p270: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/tmp9cvif2sd.c'
source_filename = "/tmp/tmp9cvif2sd.c"
target datalayout = "e-m:e-p270: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 [18 x i8] c"###### %d ######\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 2
br i1 %9, label %10, label %15
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @atoi(ptr noundef %13)
store i32 %14, ptr %6, align 4
br label %15
15: ; preds = %10, %2
store i32 0, ptr %7, align 4
br label %16
16: ; preds = %30, %15
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %33
20: ; preds = %16
%21 = load i32, ptr @stderr, align 4
%22 = load i32, ptr %7, align 4
%23 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str, i32 noundef %22)
%24 = call i32 (...) @singleValue()
%25 = call i32 (...) @multipleValue()
%26 = call i32 (...) @singleValueWithVariableLength()
%27 = call i32 (...) @vifCode()
%28 = call i32 (...) @difCode()
%29 = call i32 (...) @scaleForObix()
br label %30
30: ; preds = %20
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %7, align 4
br label %16, !llvm.loop !6
33: ; preds = %16
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @singleValue(...) #1
declare i32 @multipleValue(...) #1
declare i32 @singleValueWithVariableLength(...) #1
declare i32 @vifCode(...) #1
declare i32 @difCode(...) #1
declare i32 @scaleForObix(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp9cvif2sd.c"
target datalayout = "e-m:e-p270: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 [18 x i8] c"###### %d ######\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 2
br i1 %9, label %10, label %15
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @atoi(ptr noundef %13)
store i32 %14, ptr %6, align 4
br label %15
15: ; preds = %10, %2
store i32 0, ptr %7, align 4
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %35
.lr.ph: ; preds = %15
br label %19
19: ; preds = %.lr.ph, %29
%20 = load i32, ptr @stderr, align 4
%21 = load i32, ptr %7, align 4
%22 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str, i32 noundef %21)
%23 = call i32 (...) @singleValue()
%24 = call i32 (...) @multipleValue()
%25 = call i32 (...) @singleValueWithVariableLength()
%26 = call i32 (...) @vifCode()
%27 = call i32 (...) @difCode()
%28 = call i32 (...) @scaleForObix()
br label %29
29: ; preds = %19
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %7, align 4
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %15
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @singleValue(...) #1
declare i32 @multipleValue(...) #1
declare i32 @singleValueWithVariableLength(...) #1
declare i32 @vifCode(...) #1
declare i32 @difCode(...) #1
declare i32 @scaleForObix(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpc5xwmws2.c'
source_filename = "/tmp/tmpc5xwmws2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"task.c\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"dest.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @syscall(i32 noundef 326, ptr noundef @.str, ptr noundef @.str.1)
ret i32 0
}
declare i32 @syscall(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc5xwmws2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"task.c\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"dest.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @syscall(i32 noundef 326, ptr noundef @.str, ptr noundef @.str.1)
ret i32 0
}
declare i32 @syscall(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp86tbiy93.c'
source_filename = "/tmp/tmp86tbiy93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @saveInt32ToBuffer(i32 noundef %0, ptr noundef %1, i16 noundef zeroext %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i16, align 2
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i16 %2, ptr %6, align 2
%7 = load i32, ptr %4, align 4
%8 = call i32 @htonl(i32 noundef %7)
store i32 %8, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i16, ptr %6, align 2
%11 = zext i16 %10 to i32
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %9, i64 %12
%14 = call i32 @memcpy(ptr noundef %13, ptr noundef %4, i32 noundef 4)
%15 = load i16, ptr %6, align 2
%16 = zext i16 %15 to i64
%17 = add i64 %16, 4
%18 = trunc i64 %17 to i16
ret i16 %18
}
declare i32 @htonl(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp86tbiy93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @saveInt32ToBuffer(i32 noundef %0, ptr noundef %1, i16 noundef zeroext %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i16, align 2
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i16 %2, ptr %6, align 2
%7 = load i32, ptr %4, align 4
%8 = call i32 @htonl(i32 noundef %7)
store i32 %8, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i16, ptr %6, align 2
%11 = zext i16 %10 to i32
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %9, i64 %12
%14 = call i32 @memcpy(ptr noundef %13, ptr noundef %4, i32 noundef 4)
%15 = load i16, ptr %6, align 2
%16 = zext i16 %15 to i64
%17 = add i64 %16, 4
%18 = trunc i64 %17 to i16
ret i16 %18
}
declare i32 @htonl(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp19zbfagn.c'
source_filename = "/tmp/tmp19zbfagn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i64 0, align 8
@INT_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @scalblnl(x86_fp80 noundef %0, i64 noundef %1) #0 {
%3 = alloca x86_fp80, align 16
%4 = alloca x86_fp80, align 16
%5 = alloca i64, align 8
store x86_fp80 %0, ptr %4, align 16
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = load i64, ptr @INT_MIN, align 8
%8 = icmp slt i64 %6, %7
br i1 %8, label %9, label %14
9: ; preds = %2
%10 = load x86_fp80, ptr %4, align 16
%11 = load i64, ptr @INT_MIN, align 8
%12 = trunc i64 %11 to i32
%13 = call x86_fp80 @scalbnl(x86_fp80 noundef %10, i32 noundef %12) #2
store x86_fp80 %13, ptr %3, align 16
br label %28
14: ; preds = %2
%15 = load i64, ptr %5, align 8
%16 = load i64, ptr @INT_MAX, align 8
%17 = icmp sgt i64 %15, %16
br i1 %17, label %18, label %23
18: ; preds = %14
%19 = load x86_fp80, ptr %4, align 16
%20 = load i64, ptr @INT_MAX, align 8
%21 = trunc i64 %20 to i32
%22 = call x86_fp80 @scalbnl(x86_fp80 noundef %19, i32 noundef %21) #2
store x86_fp80 %22, ptr %3, align 16
br label %28
23: ; preds = %14
%24 = load x86_fp80, ptr %4, align 16
%25 = load i64, ptr %5, align 8
%26 = trunc i64 %25 to i32
%27 = call x86_fp80 @scalbnl(x86_fp80 noundef %24, i32 noundef %26) #2
store x86_fp80 %27, ptr %3, align 16
br label %28
28: ; preds = %23, %18, %9
%29 = load x86_fp80, ptr %3, align 16
ret x86_fp80 %29
}
; Function Attrs: nounwind
declare x86_fp80 @scalbnl(x86_fp80 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp19zbfagn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i64 0, align 8
@INT_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @scalblnl(x86_fp80 noundef %0, i64 noundef %1) #0 {
%3 = alloca x86_fp80, align 16
%4 = alloca x86_fp80, align 16
%5 = alloca i64, align 8
store x86_fp80 %0, ptr %4, align 16
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = load i64, ptr @INT_MIN, align 8
%8 = icmp slt i64 %6, %7
br i1 %8, label %9, label %14
9: ; preds = %2
%10 = load x86_fp80, ptr %4, align 16
%11 = load i64, ptr @INT_MIN, align 8
%12 = trunc i64 %11 to i32
%13 = call x86_fp80 @scalbnl(x86_fp80 noundef %10, i32 noundef %12) #2
store x86_fp80 %13, ptr %3, align 16
br label %28
14: ; preds = %2
%15 = load i64, ptr %5, align 8
%16 = load i64, ptr @INT_MAX, align 8
%17 = icmp sgt i64 %15, %16
br i1 %17, label %18, label %23
18: ; preds = %14
%19 = load x86_fp80, ptr %4, align 16
%20 = load i64, ptr @INT_MAX, align 8
%21 = trunc i64 %20 to i32
%22 = call x86_fp80 @scalbnl(x86_fp80 noundef %19, i32 noundef %21) #2
store x86_fp80 %22, ptr %3, align 16
br label %28
23: ; preds = %14
%24 = load x86_fp80, ptr %4, align 16
%25 = load i64, ptr %5, align 8
%26 = trunc i64 %25 to i32
%27 = call x86_fp80 @scalbnl(x86_fp80 noundef %24, i32 noundef %26) #2
store x86_fp80 %27, ptr %3, align 16
br label %28
28: ; preds = %23, %18, %9
%29 = load x86_fp80, ptr %3, align 16
ret x86_fp80 %29
}
; Function Attrs: nounwind
declare x86_fp80 @scalbnl(x86_fp80 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwnokzl4c.c'
source_filename = "/tmp/tmpwnokzl4c.c"
target datalayout = "e-m:e-p270: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/tmpwnokzl4c.c"
target datalayout = "e-m:e-p270: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/tmpg_1l9x2v.c'
source_filename = "/tmp/tmpg_1l9x2v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"%d\0A%d\0A%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, ptr noundef %3, ptr noundef %4)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %9, label %41
9: ; preds = %0
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %41
13: ; preds = %9
%14 = load i32, ptr %2, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14)
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %22
19: ; preds = %13
%20 = load i32, ptr %3, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20)
br label %25
22: ; preds = %13
%23 = load i32, ptr %4, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23)
br label %25
25: ; preds = %22, %19
%26 = load i32, ptr %3, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp sgt i32 %26, %27
br i1 %28, label %29, label %32
29: ; preds = %25
%30 = load i32, ptr %3, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30)
br label %40
32: ; preds = %25
%33 = load i32, ptr %4, align 4
%34 = load i32, ptr %3, align 4
%35 = icmp sgt i32 %33, %34
br i1 %35, label %36, label %39
36: ; preds = %32
%37 = load i32, ptr %4, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %37)
br label %39
39: ; preds = %36, %32
br label %40
40: ; preds = %39, %29
br label %102
41: ; preds = %9, %0
%42 = load i32, ptr %3, align 4
%43 = load i32, ptr %4, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %73
45: ; preds = %41
%46 = load i32, ptr %3, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %46)
%48 = load i32, ptr %2, align 4
%49 = load i32, ptr %4, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %54
51: ; preds = %45
%52 = load i32, ptr %2, align 4
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %52)
br label %57
54: ; preds = %45
%55 = load i32, ptr %4, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %55)
br label %57
57: ; preds = %54, %51
%58 = load i32, ptr %2, align 4
%59 = load i32, ptr %4, align 4
%60 = icmp sgt i32 %58, %59
br i1 %60, label %61, label %64
61: ; preds = %57
%62 = load i32, ptr %2, align 4
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %62)
br label %72
64: ; preds = %57
%65 = load i32, ptr %4, align 4
%66 = load i32, ptr %3, align 4
%67 = icmp sgt i32 %65, %66
br i1 %67, label %68, label %71
68: ; preds = %64
%69 = load i32, ptr %4, align 4
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %69)
br label %71
71: ; preds = %68, %64
br label %72
72: ; preds = %71, %61
br label %101
73: ; preds = %41
%74 = load i32, ptr %4, align 4
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %74)
%76 = load i32, ptr %3, align 4
%77 = load i32, ptr %2, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %79, label %82
79: ; preds = %73
%80 = load i32, ptr %3, align 4
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %80)
br label %85
82: ; preds = %73
%83 = load i32, ptr %2, align 4
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %83)
br label %85
85: ; preds = %82, %79
%86 = load i32, ptr %3, align 4
%87 = load i32, ptr %2, align 4
%88 = icmp sgt i32 %86, %87
br i1 %88, label %89, label %92
89: ; preds = %85
%90 = load i32, ptr %3, align 4
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %90)
br label %100
92: ; preds = %85
%93 = load i32, ptr %2, align 4
%94 = load i32, ptr %3, align 4
%95 = icmp sgt i32 %93, %94
br i1 %95, label %96, label %99
96: ; preds = %92
%97 = load i32, ptr %2, align 4
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %97)
br label %99
99: ; preds = %96, %92
br label %100
100: ; preds = %99, %89
br label %101
101: ; preds = %100, %72
br label %102
102: ; preds = %101, %40
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%104 = load i32, ptr %2, align 4
%105 = load i32, ptr %3, align 4
%106 = load i32, ptr %4, align 4
%107 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %104, i32 noundef %105, i32 noundef %106)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg_1l9x2v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"%d\0A%d\0A%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, ptr noundef %3, ptr noundef %4)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %9, label %41
9: ; preds = %0
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %41
13: ; preds = %9
%14 = load i32, ptr %2, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14)
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %22
19: ; preds = %13
%20 = load i32, ptr %3, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20)
br label %25
22: ; preds = %13
%23 = load i32, ptr %4, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23)
br label %25
25: ; preds = %22, %19
%26 = load i32, ptr %3, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp sgt i32 %26, %27
br i1 %28, label %29, label %32
29: ; preds = %25
%30 = load i32, ptr %3, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30)
br label %40
32: ; preds = %25
%33 = load i32, ptr %4, align 4
%34 = load i32, ptr %3, align 4
%35 = icmp sgt i32 %33, %34
br i1 %35, label %36, label %39
36: ; preds = %32
%37 = load i32, ptr %4, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %37)
br label %39
39: ; preds = %36, %32
br label %40
40: ; preds = %39, %29
br label %102
41: ; preds = %9, %0
%42 = load i32, ptr %3, align 4
%43 = load i32, ptr %4, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %73
45: ; preds = %41
%46 = load i32, ptr %3, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %46)
%48 = load i32, ptr %2, align 4
%49 = load i32, ptr %4, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %54
51: ; preds = %45
%52 = load i32, ptr %2, align 4
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %52)
br label %57
54: ; preds = %45
%55 = load i32, ptr %4, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %55)
br label %57
57: ; preds = %54, %51
%58 = load i32, ptr %2, align 4
%59 = load i32, ptr %4, align 4
%60 = icmp sgt i32 %58, %59
br i1 %60, label %61, label %64
61: ; preds = %57
%62 = load i32, ptr %2, align 4
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %62)
br label %72
64: ; preds = %57
%65 = load i32, ptr %4, align 4
%66 = load i32, ptr %3, align 4
%67 = icmp sgt i32 %65, %66
br i1 %67, label %68, label %71
68: ; preds = %64
%69 = load i32, ptr %4, align 4
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %69)
br label %71
71: ; preds = %68, %64
br label %72
72: ; preds = %71, %61
br label %101
73: ; preds = %41
%74 = load i32, ptr %4, align 4
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %74)
%76 = load i32, ptr %3, align 4
%77 = load i32, ptr %2, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %79, label %82
79: ; preds = %73
%80 = load i32, ptr %3, align 4
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %80)
br label %85
82: ; preds = %73
%83 = load i32, ptr %2, align 4
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %83)
br label %85
85: ; preds = %82, %79
%86 = load i32, ptr %3, align 4
%87 = load i32, ptr %2, align 4
%88 = icmp sgt i32 %86, %87
br i1 %88, label %89, label %92
89: ; preds = %85
%90 = load i32, ptr %3, align 4
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %90)
br label %100
92: ; preds = %85
%93 = load i32, ptr %2, align 4
%94 = load i32, ptr %3, align 4
%95 = icmp sgt i32 %93, %94
br i1 %95, label %96, label %99
96: ; preds = %92
%97 = load i32, ptr %2, align 4
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %97)
br label %99
99: ; preds = %96, %92
br label %100
100: ; preds = %99, %89
br label %101
101: ; preds = %100, %72
br label %102
102: ; preds = %101, %40
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%104 = load i32, ptr %2, align 4
%105 = load i32, ptr %3, align 4
%106 = load i32, ptr %4, align 4
%107 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %104, i32 noundef %105, i32 noundef %106)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2d0qy9uu.c'
source_filename = "/tmp/tmp2d0qy9uu.c"
target datalayout = "e-m:e-p270: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 }
@.str = private unnamed_addr constant [9 x i8] c"test.txt\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"fail to get stat\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [13 x i8] c"fail to open\00", align 1
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_PRIVATE = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.3 = private unnamed_addr constant [13 x i8] c"fail to mmap\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"China beijing\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"fail to munmap\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 %struct.stat, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @stat(ptr noundef @.str, ptr noundef %4)
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = call i32 @perror(ptr noundef @.str.1)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
10: ; preds = %0
%11 = load i32, ptr @O_RDWR, align 4
%12 = call i32 @open(ptr noundef @.str, i32 noundef %11)
store i32 %12, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %18
15: ; preds = %10
%16 = call i32 @perror(ptr noundef @.str.2)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %10
%19 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%20 = load i32, ptr %19, align 4
%21 = load i32, ptr @PROT_WRITE, align 4
%22 = load i32, ptr @MAP_PRIVATE, align 4
%23 = load i32, ptr %2, align 4
%24 = call i64 @mmap(ptr noundef null, i32 noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef 0)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %3, align 8
%26 = load ptr, ptr %3, align 8
%27 = load ptr, ptr @MAP_FAILED, align 8
%28 = icmp eq ptr %26, %27
br i1 %28, label %29, label %32
29: ; preds = %18
%30 = call i32 @perror(ptr noundef @.str.3)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %18
%33 = load ptr, ptr %3, align 8
%34 = call i32 @strcpy(ptr noundef %33, ptr noundef @.str.4)
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%37 = load i32, ptr %36, align 4
%38 = call i32 @munmap(ptr noundef %35, i32 noundef %37)
%39 = icmp eq i32 %38, -1
br i1 %39, label %40, label %43
40: ; preds = %32
%41 = call i32 @perror(ptr noundef @.str.5)
%42 = call i32 @exit(i32 noundef 1) #3
unreachable
43: ; preds = %32
%44 = load i32, ptr %2, align 4
%45 = call i32 @close(i32 noundef %44)
ret i32 0
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #1
declare i64 @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @munmap(ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2d0qy9uu.c"
target datalayout = "e-m:e-p270: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 }
@.str = private unnamed_addr constant [9 x i8] c"test.txt\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"fail to get stat\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [13 x i8] c"fail to open\00", align 1
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_PRIVATE = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.3 = private unnamed_addr constant [13 x i8] c"fail to mmap\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"China beijing\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"fail to munmap\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 %struct.stat, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @stat(ptr noundef @.str, ptr noundef %4)
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = call i32 @perror(ptr noundef @.str.1)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
10: ; preds = %0
%11 = load i32, ptr @O_RDWR, align 4
%12 = call i32 @open(ptr noundef @.str, i32 noundef %11)
store i32 %12, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %18
15: ; preds = %10
%16 = call i32 @perror(ptr noundef @.str.2)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %10
%19 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%20 = load i32, ptr %19, align 4
%21 = load i32, ptr @PROT_WRITE, align 4
%22 = load i32, ptr @MAP_PRIVATE, align 4
%23 = load i32, ptr %2, align 4
%24 = call i64 @mmap(ptr noundef null, i32 noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef 0)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %3, align 8
%26 = load ptr, ptr %3, align 8
%27 = load ptr, ptr @MAP_FAILED, align 8
%28 = icmp eq ptr %26, %27
br i1 %28, label %29, label %32
29: ; preds = %18
%30 = call i32 @perror(ptr noundef @.str.3)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %18
%33 = load ptr, ptr %3, align 8
%34 = call i32 @strcpy(ptr noundef %33, ptr noundef @.str.4)
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%37 = load i32, ptr %36, align 4
%38 = call i32 @munmap(ptr noundef %35, i32 noundef %37)
%39 = icmp eq i32 %38, -1
br i1 %39, label %40, label %43
40: ; preds = %32
%41 = call i32 @perror(ptr noundef @.str.5)
%42 = call i32 @exit(i32 noundef 1) #3
unreachable
43: ; preds = %32
%44 = load i32, ptr %2, align 4
%45 = call i32 @close(i32 noundef %44)
ret i32 0
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #1
declare i64 @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @munmap(ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv2kwc_ee.c'
source_filename = "/tmp/tmpv2kwc_ee.c"
target datalayout = "e-m:e-p270: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/tmpv2kwc_ee.c"
target datalayout = "e-m:e-p270: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/tmppnfciwp_.c'
source_filename = "/tmp/tmppnfciwp_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Usage: SetStamp <PE-File> <TIME-File>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @PrintUsage() #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/tmppnfciwp_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Usage: SetStamp <PE-File> <TIME-File>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @PrintUsage() #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/tmpk9ad45hv.c'
source_filename = "/tmp/tmpk9ad45hv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"/dev/mycdrv\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"open of %s failed: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"ioctl failed: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"driver's ioctl says buffer size is %ld\0A\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global i64 0, align 8
@.str.4 = private unnamed_addr constant [24 x i8] c"mmap of %s failed: %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"mmap succeeded: %p\0A\00", align 1
@.str.6 = private unnamed_addr constant [58 x i8] c"comparison of same data via read() and mmap() successful\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [62 x i8] c"comparison of modified data via read() and mmap() successful\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 i64, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = 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
store ptr @.str, ptr %11, align 8
%12 = call i32 (...) @getpid()
%13 = call i32 @srandom(i32 noundef %12)
%14 = load i32, ptr %4, align 4
%15 = icmp sgt i32 %14, 1
br i1 %15, label %16, label %20
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
store ptr %19, ptr %11, align 8
br label %20
20: ; preds = %16, %2
%21 = load ptr, ptr %11, align 8
%22 = load i32, ptr @O_RDWR, align 4
%23 = call i32 @open(ptr noundef %21, i32 noundef %22)
store i32 %23, ptr %8, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %25, label %32
25: ; preds = %20
%26 = load i32, ptr @stderr, align 4
%27 = load ptr, ptr %11, align 8
%28 = load i32, ptr @errno, align 4
%29 = call ptr @strerror(i32 noundef %28)
%30 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.1, ptr noundef %27, ptr noundef %29)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %20
%33 = load i32, ptr %8, align 4
%34 = call i64 @ioctl(i32 noundef %33, i32 noundef 1, ptr noundef %7)
%35 = icmp slt i64 %34, 0
br i1 %35, label %36, label %42
36: ; preds = %32
%37 = load i32, ptr @stderr, align 4
%38 = load i32, ptr @errno, align 4
%39 = call ptr @strerror(i32 noundef %38)
%40 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.2, ptr noundef %39)
%41 = call i32 @exit(i32 noundef 1) #3
unreachable
42: ; preds = %32
%43 = load i64, ptr %7, align 8
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %43)
%45 = load i64, ptr %7, align 8
%46 = call ptr @malloc(i64 noundef %45)
store ptr %46, ptr %9, align 8
%47 = load i64, ptr %7, align 8
%48 = load i32, ptr @PROT_READ, align 4
%49 = load i32, ptr @PROT_WRITE, align 4
%50 = or i32 %48, %49
%51 = load i32, ptr @MAP_SHARED, align 4
%52 = load i32, ptr %8, align 4
%53 = call ptr @mmap(ptr noundef null, i64 noundef %47, i32 noundef %50, i32 noundef %51, i32 noundef %52, i32 noundef 0)
store ptr %53, ptr %10, align 8
%54 = load ptr, ptr %10, align 8
%55 = load i64, ptr @MAP_FAILED, align 8
%56 = inttoptr i64 %55 to ptr
%57 = icmp eq ptr %54, %56
br i1 %57, label %58, label %65
58: ; preds = %42
%59 = load i32, ptr @stderr, align 4
%60 = load ptr, ptr %11, align 8
%61 = load i32, ptr @errno, align 4
%62 = call ptr @strerror(i32 noundef %61)
%63 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %59, ptr noundef @.str.4, ptr noundef %60, ptr noundef %62)
%64 = call i32 @exit(i32 noundef 1) #3
unreachable
65: ; preds = %42
%66 = load ptr, ptr %10, align 8
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %66)
store i64 0, ptr %6, align 8
br label %68
68: ; preds = %78, %65
%69 = load i64, ptr %6, align 8
%70 = load i64, ptr %7, align 8
%71 = icmp ult i64 %69, %70
br i1 %71, label %72, label %81
72: ; preds = %68
%73 = load i64, ptr %6, align 8
%74 = trunc i64 %73 to i8
%75 = load ptr, ptr %10, align 8
%76 = load i64, ptr %6, align 8
%77 = getelementptr inbounds i8, ptr %75, i64 %76
store i8 %74, ptr %77, align 1
br label %78
78: ; preds = %72
%79 = load i64, ptr %6, align 8
%80 = add i64 %79, 1
store i64 %80, ptr %6, align 8
br label %68, !llvm.loop !6
81: ; preds = %68
%82 = load i32, ptr %8, align 4
%83 = load ptr, ptr %9, align 8
%84 = load ptr, ptr %10, align 8
%85 = load i64, ptr %7, align 8
%86 = call i32 @read_and_compare(i32 noundef %82, ptr noundef %83, ptr noundef %84, i64 noundef %85)
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%88 = call i64 (...) @random()
%89 = load i64, ptr %7, align 8
%90 = urem i64 %88, %89
store i64 %90, ptr %6, align 8
%91 = call i64 (...) @random()
%92 = load i64, ptr %6, align 8
%93 = urem i64 %91, %92
%94 = trunc i64 %93 to i8
%95 = load ptr, ptr %10, align 8
%96 = load i64, ptr %6, align 8
%97 = getelementptr inbounds i8, ptr %95, i64 %96
store i8 %94, ptr %97, align 1
%98 = load i32, ptr %8, align 4
%99 = load i32, ptr @SEEK_SET, align 4
%100 = call i32 @lseek(i32 noundef %98, i32 noundef 0, i32 noundef %99)
%101 = load i32, ptr %8, align 4
%102 = load ptr, ptr %9, align 8
%103 = load ptr, ptr %10, align 8
%104 = load i64, ptr %7, align 8
%105 = call i32 @read_and_compare(i32 noundef %101, ptr noundef %102, ptr noundef %103, i64 noundef %104)
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
ret i32 0
}
declare i32 @srandom(i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @malloc(i64 noundef) #1
declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @read_and_compare(i32 noundef, ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @random(...) #1
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk9ad45hv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"/dev/mycdrv\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"open of %s failed: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"ioctl failed: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"driver's ioctl says buffer size is %ld\0A\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global i64 0, align 8
@.str.4 = private unnamed_addr constant [24 x i8] c"mmap of %s failed: %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"mmap succeeded: %p\0A\00", align 1
@.str.6 = private unnamed_addr constant [58 x i8] c"comparison of same data via read() and mmap() successful\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [62 x i8] c"comparison of modified data via read() and mmap() successful\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 i64, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = 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
store ptr @.str, ptr %11, align 8
%12 = call i32 (...) @getpid()
%13 = call i32 @srandom(i32 noundef %12)
%14 = load i32, ptr %4, align 4
%15 = icmp sgt i32 %14, 1
br i1 %15, label %16, label %20
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
store ptr %19, ptr %11, align 8
br label %20
20: ; preds = %16, %2
%21 = load ptr, ptr %11, align 8
%22 = load i32, ptr @O_RDWR, align 4
%23 = call i32 @open(ptr noundef %21, i32 noundef %22)
store i32 %23, ptr %8, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %25, label %32
25: ; preds = %20
%26 = load i32, ptr @stderr, align 4
%27 = load ptr, ptr %11, align 8
%28 = load i32, ptr @errno, align 4
%29 = call ptr @strerror(i32 noundef %28)
%30 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.1, ptr noundef %27, ptr noundef %29)
%31 = call i32 @exit(i32 noundef 1) #3
unreachable
32: ; preds = %20
%33 = load i32, ptr %8, align 4
%34 = call i64 @ioctl(i32 noundef %33, i32 noundef 1, ptr noundef %7)
%35 = icmp slt i64 %34, 0
br i1 %35, label %36, label %42
36: ; preds = %32
%37 = load i32, ptr @stderr, align 4
%38 = load i32, ptr @errno, align 4
%39 = call ptr @strerror(i32 noundef %38)
%40 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.2, ptr noundef %39)
%41 = call i32 @exit(i32 noundef 1) #3
unreachable
42: ; preds = %32
%43 = load i64, ptr %7, align 8
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %43)
%45 = load i64, ptr %7, align 8
%46 = call ptr @malloc(i64 noundef %45)
store ptr %46, ptr %9, align 8
%47 = load i64, ptr %7, align 8
%48 = load i32, ptr @PROT_READ, align 4
%49 = load i32, ptr @PROT_WRITE, align 4
%50 = or i32 %48, %49
%51 = load i32, ptr @MAP_SHARED, align 4
%52 = load i32, ptr %8, align 4
%53 = call ptr @mmap(ptr noundef null, i64 noundef %47, i32 noundef %50, i32 noundef %51, i32 noundef %52, i32 noundef 0)
store ptr %53, ptr %10, align 8
%54 = load ptr, ptr %10, align 8
%55 = load i64, ptr @MAP_FAILED, align 8
%56 = inttoptr i64 %55 to ptr
%57 = icmp eq ptr %54, %56
br i1 %57, label %58, label %65
58: ; preds = %42
%59 = load i32, ptr @stderr, align 4
%60 = load ptr, ptr %11, align 8
%61 = load i32, ptr @errno, align 4
%62 = call ptr @strerror(i32 noundef %61)
%63 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %59, ptr noundef @.str.4, ptr noundef %60, ptr noundef %62)
%64 = call i32 @exit(i32 noundef 1) #3
unreachable
65: ; preds = %42
%66 = load ptr, ptr %10, align 8
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %66)
store i64 0, ptr %6, align 8
%68 = load i64, ptr %6, align 8
%69 = load i64, ptr %7, align 8
%70 = icmp ult i64 %68, %69
br i1 %70, label %.lr.ph, label %83
.lr.ph: ; preds = %65
br label %71
71: ; preds = %.lr.ph, %77
%72 = load i64, ptr %6, align 8
%73 = trunc i64 %72 to i8
%74 = load ptr, ptr %10, align 8
%75 = load i64, ptr %6, align 8
%76 = getelementptr inbounds i8, ptr %74, i64 %75
store i8 %73, ptr %76, align 1
br label %77
77: ; preds = %71
%78 = load i64, ptr %6, align 8
%79 = add i64 %78, 1
store i64 %79, ptr %6, align 8
%80 = load i64, ptr %6, align 8
%81 = load i64, ptr %7, align 8
%82 = icmp ult i64 %80, %81
br i1 %82, label %71, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %77
br label %83
83: ; preds = %._crit_edge, %65
%84 = load i32, ptr %8, align 4
%85 = load ptr, ptr %9, align 8
%86 = load ptr, ptr %10, align 8
%87 = load i64, ptr %7, align 8
%88 = call i32 @read_and_compare(i32 noundef %84, ptr noundef %85, ptr noundef %86, i64 noundef %87)
%89 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%90 = call i64 (...) @random()
%91 = load i64, ptr %7, align 8
%92 = urem i64 %90, %91
store i64 %92, ptr %6, align 8
%93 = call i64 (...) @random()
%94 = load i64, ptr %6, align 8
%95 = urem i64 %93, %94
%96 = trunc i64 %95 to i8
%97 = load ptr, ptr %10, align 8
%98 = load i64, ptr %6, align 8
%99 = getelementptr inbounds i8, ptr %97, i64 %98
store i8 %96, ptr %99, align 1
%100 = load i32, ptr %8, align 4
%101 = load i32, ptr @SEEK_SET, align 4
%102 = call i32 @lseek(i32 noundef %100, i32 noundef 0, i32 noundef %101)
%103 = load i32, ptr %8, align 4
%104 = load ptr, ptr %9, align 8
%105 = load ptr, ptr %10, align 8
%106 = load i64, ptr %7, align 8
%107 = call i32 @read_and_compare(i32 noundef %103, ptr noundef %104, ptr noundef %105, i64 noundef %106)
%108 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
ret i32 0
}
declare i32 @srandom(i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @malloc(i64 noundef) #1
declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @read_and_compare(i32 noundef, ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @random(...) #1
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptvimvycp.c'
source_filename = "/tmp/tmptvimvycp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@TRUE = dso_local global i64 0, align 8
@COLOR_BLUE = dso_local global i32 0, align 4
@COLOR_BLACK = dso_local global i32 0, align 4
@COLOR_GREEN = dso_local global i32 0, align 4
@COLOR_RED = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @curses_init() #0 {
%1 = call i32 (...) @initscr()
%2 = call i32 (...) @cbreak()
%3 = call i32 (...) @noecho()
%4 = load i32, ptr @stdscr, align 4
%5 = load i64, ptr @TRUE, align 8
%6 = call i32 @keypad(i32 noundef %4, i64 noundef %5)
%7 = call i64 (...) @has_colors()
%8 = load i64, ptr @TRUE, align 8
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %21
10: ; preds = %0
%11 = call i32 (...) @start_color()
%12 = load i32, ptr @COLOR_BLUE, align 4
%13 = load i32, ptr @COLOR_BLACK, align 4
%14 = call i32 @init_pair(i32 noundef 1, i32 noundef %12, i32 noundef %13)
%15 = load i32, ptr @COLOR_GREEN, align 4
%16 = load i32, ptr @COLOR_BLACK, align 4
%17 = call i32 @init_pair(i32 noundef 2, i32 noundef %15, i32 noundef %16)
%18 = load i32, ptr @COLOR_RED, align 4
%19 = load i32, ptr @COLOR_BLACK, align 4
%20 = call i32 @init_pair(i32 noundef 3, i32 noundef %18, i32 noundef %19)
br label %21
21: ; preds = %10, %0
ret void
}
declare i32 @initscr(...) #1
declare i32 @cbreak(...) #1
declare i32 @noecho(...) #1
declare i32 @keypad(i32 noundef, i64 noundef) #1
declare i64 @has_colors(...) #1
declare i32 @start_color(...) #1
declare i32 @init_pair(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/tmptvimvycp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@TRUE = dso_local global i64 0, align 8
@COLOR_BLUE = dso_local global i32 0, align 4
@COLOR_BLACK = dso_local global i32 0, align 4
@COLOR_GREEN = dso_local global i32 0, align 4
@COLOR_RED = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @curses_init() #0 {
%1 = call i32 (...) @initscr()
%2 = call i32 (...) @cbreak()
%3 = call i32 (...) @noecho()
%4 = load i32, ptr @stdscr, align 4
%5 = load i64, ptr @TRUE, align 8
%6 = call i32 @keypad(i32 noundef %4, i64 noundef %5)
%7 = call i64 (...) @has_colors()
%8 = load i64, ptr @TRUE, align 8
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %21
10: ; preds = %0
%11 = call i32 (...) @start_color()
%12 = load i32, ptr @COLOR_BLUE, align 4
%13 = load i32, ptr @COLOR_BLACK, align 4
%14 = call i32 @init_pair(i32 noundef 1, i32 noundef %12, i32 noundef %13)
%15 = load i32, ptr @COLOR_GREEN, align 4
%16 = load i32, ptr @COLOR_BLACK, align 4
%17 = call i32 @init_pair(i32 noundef 2, i32 noundef %15, i32 noundef %16)
%18 = load i32, ptr @COLOR_RED, align 4
%19 = load i32, ptr @COLOR_BLACK, align 4
%20 = call i32 @init_pair(i32 noundef 3, i32 noundef %18, i32 noundef %19)
br label %21
21: ; preds = %10, %0
ret void
}
declare i32 @initscr(...) #1
declare i32 @cbreak(...) #1
declare i32 @noecho(...) #1
declare i32 @keypad(i32 noundef, i64 noundef) #1
declare i64 @has_colors(...) #1
declare i32 @start_color(...) #1
declare i32 @init_pair(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/tmp126wz67i.c'
source_filename = "/tmp/tmp126wz67i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_double_len(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca [2048 x i8], align 16
store double %0, ptr %2, align 8
%4 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @memset(ptr noundef %4, i8 noundef signext 0, i32 noundef 2048)
%6 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%7 = load double, ptr %2, align 8
%8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, double noundef %7)
%9 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%10 = call i32 @strlen(ptr noundef %9)
ret i32 %10
}
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, double 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/tmp126wz67i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_double_len(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca [2048 x i8], align 16
store double %0, ptr %2, align 8
%4 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @memset(ptr noundef %4, i8 noundef signext 0, i32 noundef 2048)
%6 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%7 = load double, ptr %2, align 8
%8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, double noundef %7)
%9 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%10 = call i32 @strlen(ptr noundef %9)
ret i32 %10
}
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, double 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/tmp4_bb0_fq.c'
source_filename = "/tmp/tmp4_bb0_fq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MEMGETINFO = dso_local global i32 0, align 4
@O_RDONLY = 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/tmp4_bb0_fq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MEMGETINFO = dso_local global i32 0, align 4
@O_RDONLY = 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/tmpdciiv86w.c'
source_filename = "/tmp/tmpdciiv86w.c"
target datalayout = "e-m:e-p270: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/tmpdciiv86w.c"
target datalayout = "e-m:e-p270: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/tmpnh0lcyx9.c'
source_filename = "/tmp/tmpnh0lcyx9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [65 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_hostname(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @mp_strdup(ptr noundef %8)
store ptr %9, ptr %5, align 8
store ptr %9, ptr %4, align 8
br label %10
10: ; preds = %29, %1
%11 = call ptr @strsep(ptr noundef %5, ptr noundef @.str)
store ptr %11, ptr %6, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %30
13: ; preds = %10
%14 = load ptr, ptr %6, align 8
%15 = call i64 @strlen(ptr noundef %14)
store i64 %15, ptr %7, align 8
%16 = load i64, ptr %7, align 8
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load ptr, ptr %4, align 8
%20 = call i32 @free(ptr noundef %19)
store i32 0, ptr %2, align 4
br label %33
21: ; preds = %13
%22 = load ptr, ptr %6, align 8
%23 = call i64 @strspn(ptr noundef %22, ptr noundef @.str.1)
%24 = load i64, ptr %7, align 8
%25 = icmp ne i64 %23, %24
br i1 %25, label %26, label %29
26: ; preds = %21
%27 = load ptr, ptr %4, align 8
%28 = call i32 @free(ptr noundef %27)
store i32 0, ptr %2, align 4
br label %33
29: ; preds = %21
br label %10, !llvm.loop !6
30: ; preds = %10
%31 = load ptr, ptr %4, align 8
%32 = call i32 @free(ptr noundef %31)
store i32 1, ptr %2, align 4
br label %33
33: ; preds = %30, %26, %18
%34 = load i32, ptr %2, align 4
ret i32 %34
}
declare ptr @mp_strdup(ptr noundef) #1
declare ptr @strsep(ptr noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i64 @strspn(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/tmpnh0lcyx9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [65 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_hostname(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @mp_strdup(ptr noundef %8)
store ptr %9, ptr %5, align 8
store ptr %9, ptr %4, align 8
%10 = call ptr @strsep(ptr noundef %5, ptr noundef @.str)
store ptr %10, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %.lr.ph, label %31
.lr.ph: ; preds = %1
br label %15
12: ; preds = %23
%13 = call ptr @strsep(ptr noundef %5, ptr noundef @.str)
store ptr %13, ptr %6, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %._crit_edge, !llvm.loop !6
15: ; preds = %.lr.ph, %12
%16 = load ptr, ptr %6, align 8
%17 = call i64 @strlen(ptr noundef %16)
store i64 %17, ptr %7, align 8
%18 = load i64, ptr %7, align 8
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = load ptr, ptr %4, align 8
%22 = call i32 @free(ptr noundef %21)
store i32 0, ptr %2, align 4
br label %34
23: ; preds = %15
%24 = load ptr, ptr %6, align 8
%25 = call i64 @strspn(ptr noundef %24, ptr noundef @.str.1)
%26 = load i64, ptr %7, align 8
%27 = icmp ne i64 %25, %26
br i1 %27, label %28, label %12
28: ; preds = %23
%29 = load ptr, ptr %4, align 8
%30 = call i32 @free(ptr noundef %29)
store i32 0, ptr %2, align 4
br label %34
._crit_edge: ; preds = %12
br label %31
31: ; preds = %._crit_edge, %1
%32 = load ptr, ptr %4, align 8
%33 = call i32 @free(ptr noundef %32)
store i32 1, ptr %2, align 4
br label %34
34: ; preds = %31, %28, %20
%35 = load i32, ptr %2, align 4
ret i32 %35
}
declare ptr @mp_strdup(ptr noundef) #1
declare ptr @strsep(ptr noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i64 @strspn(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/tmp6a2zfr_p.c'
source_filename = "/tmp/tmp6a2zfr_p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i64 @get_input(ptr noundef %8)
store i64 %9, ptr %6, align 8
%10 = load i64, ptr %6, align 8
%11 = call ptr @init_grid(i64 noundef %10)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i64, ptr %6, align 8
%14 = call i32 @gen_result(ptr noundef %12, i64 noundef %13)
%15 = load ptr, ptr %7, align 8
%16 = load i64, ptr %6, align 8
%17 = call i32 @display_result(ptr noundef %15, i64 noundef %16)
%18 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %18
}
declare i64 @get_input(ptr noundef) #1
declare ptr @init_grid(i64 noundef) #1
declare i32 @gen_result(ptr noundef, i64 noundef) #1
declare i32 @display_result(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/tmp6a2zfr_p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i64 @get_input(ptr noundef %8)
store i64 %9, ptr %6, align 8
%10 = load i64, ptr %6, align 8
%11 = call ptr @init_grid(i64 noundef %10)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i64, ptr %6, align 8
%14 = call i32 @gen_result(ptr noundef %12, i64 noundef %13)
%15 = load ptr, ptr %7, align 8
%16 = load i64, ptr %6, align 8
%17 = call i32 @display_result(ptr noundef %15, i64 noundef %16)
%18 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %18
}
declare i64 @get_input(ptr noundef) #1
declare ptr @init_grid(i64 noundef) #1
declare i32 @gen_result(ptr noundef, i64 noundef) #1
declare i32 @display_result(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.